summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06Add async oplock waiterVolker Lendecke2-1/+108
2009-04-06Never hand out 0xffff as a midVolker Lendecke1-1/+1
This is used for oplock replies
2009-04-06Remove async_req based async libsmb infrastructureVolker Lendecke3-1006/+0
2009-04-06Re-add the CHAIN1 testVolker Lendecke2-1/+82
2009-04-06Convert cli_open to tevent_reqVolker Lendecke2-50/+111
2009-04-06Convert cli_close to tevent_reqVolker Lendecke2-23/+74
2009-04-06Streamline cli_push sync wrapperVolker Lendecke1-9/+18
2009-04-06Convert cli_write_andx to tevent_reqVolker Lendecke3-56/+110
2009-04-06Streamline cli_pull sync wrapperVolker Lendecke1-9/+18
2009-04-06Convert cli_read_andx to tevent_reqVolker Lendecke3-121/+166
2009-04-06Convert cli_ntcreate to tevent_reqVolker Lendecke3-57/+88
2009-04-06Convert cli_tcon_andx to tevent_reqVolker Lendecke3-73/+85
2009-04-06Convert cli_negprot to tevent_reqVolker Lendecke3-47/+79
2009-04-06Convert cli_session_setup_guest to tevent_reqVolker Lendecke3-55/+86
2009-04-06Convert cli_trans to tevent_reqVolker Lendecke3-393/+281
2009-04-06Convert cli_echo to tevent_reqVolker Lendecke3-97/+71
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