summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06Remove the CHAIN1 test -- will come back laterVolker Lendecke2-100/+1
2009-04-06Add new async libsmb infrastructureVolker Lendecke4-0/+807
I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy().
2009-04-06Add read_smb_send/recv, dumping keepalivesVolker Lendecke2-0/+92
2009-04-06tsocket: reduce size of dummy variableStefan Metzmacher1-1/+1
metze
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett11-71/+58
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv()Stefan Metzmacher1-8/+2
metze
2009-04-06s3:printing Convert nt_printer_publish_ads() to use talloc betterAndrew Bartlett1-26/+18
In particular, this removes one more user of pull_utf8_allocate() Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:smbldap Remove smbldap_get_dnAndrew Bartlett5-58/+23
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Make some functions static to vfs_gpfs.cVolker Lendecke1-14/+14
2009-04-06Add prototype for smbd_gpfs_get_realfilename_pathVolker Lendecke1-0/+2
2009-04-06Fix two c++ warnings in vfs_gpfs.cVolker Lendecke1-2/+2
2009-04-06s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner1-1/+1
Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther
2009-04-06Improve formatting in Python file.Jelmer Vernooij1-0/+5
2009-04-06Make valid_netbios_name() check a bit stricter.Jelmer Vernooij2-2/+16
2009-04-05Use the server config file for smbpasswd -a user in make testVolker Lendecke1-1/+1
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID somehow ended up in the user's token for quite a number of tests, leading to NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but with this patch I could not reproduce the ACCESS_DENIED anymore. It might be coincidence and this patch does not fix anything, but for me it does not really hurt either. Metze, please check! Volker
2009-04-05Remove a silly checkVolker Lendecke1-7/+0
This does not increase security, and if later error messages suck, we have to fix those.
2009-04-05Remove async_req dependency from cli_pull_transVolker Lendecke1-23/+25
2009-04-05Fix smbd crash for close_on_completionVolker Lendecke1-0/+4
handle_trans() can talloc_free "conn" if the client requests close_on_completion. "state" is a talloc_child of conn, so it will be gone when we later free state->data et al.
2009-04-05Keep the forked-smbd stdout reader around longerVolker Lendecke1-3/+8
2009-04-05Ensure 0-termination for the forked-smbd debug outputVolker Lendecke1-0/+1
2009-04-05Pass the current debuglevel down to the forked smbdVolker Lendecke1-1/+2
2009-04-05Use recv instead of read in read_packet_handlerVolker Lendecke1-1/+2
This way the socket wrapper pcap file also sees the replies :-)
2009-04-03s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.Günther Deschner1-4/+53
Guenther
2009-04-03s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.Günther Deschner1-0/+1
Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-04-03Use cluster-aware procid_is_me instead of comparing pid'sVolker Lendecke1-2/+2
2009-04-03Use procid_str in debug messages for better cluster-debuggabilityVolker Lendecke2-13/+15
2009-04-03s3-nsswitch: Fix Bug #6238. Make sure logoff is bla bla.Günther Deschner1-2/+2
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
2009-04-03s3-build: fix the build after tsocket changes.Günther Deschner1-2/+0
Metze, please check. Guenther
2009-04-02s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner1-2/+2
Guenther
2009-04-02s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner1-2/+2
Guenther
2009-04-02tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher7-564/+0
metze
2009-04-02libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher1-45/+38
metze
2009-04-02tsocket: optimize tdgram_bsd a lotStefan Metzmacher1-27/+54
The desire is to do as less syscalls during the tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv() operations. 1. we first try the sendto()/recvfrom() syscall and only use a fd event if we got EAGAIN. 2. we cache the fd event and only change it's flags if really needed. For the highload case we do almost no epoll_ctl() and epoll_wait()/select() syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test by more than 20%. (With a modified version of this test which let the server skip any ldb calls and just return success I'm getting about 8000 requests per second, while I'm getting just about 6000 requests per second without optimization) metze
2009-04-02tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2-0/+143
metze
2009-04-02tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher4-0/+1192
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
2009-04-02s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner1-5/+238
Guenther
2009-04-01s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch1-1/+19
locks before starting the test This can be useful for benchmarking as well as stress testing.
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman4-10/+10
2009-04-01Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵Jeremy Allison1-3/+57
Zagrebin <alexz@visp.ru>. Jeremy.
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison4-46/+210
2009-04-01s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty1-21/+16
2009-04-01s4 torture: Remove unused parameterTim Prouty1-14/+7
2009-04-01s4 torture: Add new streams oplock testTim Prouty1-0/+176
2009-04-02s3:net conf: don't store share names as lower case, but as given.Michael Adam1-11/+11
Michael
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison12-232/+1297
2009-04-01s3-auth: rename static smb_create_user(). Sorry...Günther Deschner1-2/+2
Guenther
2009-04-01s3-libnet-samsync: return appropriate error code in fetch_sam_entry().Günther Deschner1-22/+25
Guenther
2009-04-01s3-libnet-samsync: use smb_create_user().Günther Deschner1-46/+6
Guenther
2009-04-01s3-passdb: add smb_create_user().Günther Deschner2-0/+63
Guenther
2009-04-01s3-libnet-samsync: some pure cosmetics.Günther Deschner1-0/+30
Guenther