summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert cli_open to tevent_reqVolker Lendecke2009-04-062-50/+111
|
* Convert cli_close to tevent_reqVolker Lendecke2009-04-062-23/+74
|
* Streamline cli_push sync wrapperVolker Lendecke2009-04-061-9/+18
|
* Convert cli_write_andx to tevent_reqVolker Lendecke2009-04-063-56/+110
|
* Streamline cli_pull sync wrapperVolker Lendecke2009-04-061-9/+18
|
* Convert cli_read_andx to tevent_reqVolker Lendecke2009-04-063-121/+166
|
* Convert cli_ntcreate to tevent_reqVolker Lendecke2009-04-063-57/+88
|
* Convert cli_tcon_andx to tevent_reqVolker Lendecke2009-04-063-73/+85
|
* Convert cli_negprot to tevent_reqVolker Lendecke2009-04-063-47/+79
|
* Convert cli_session_setup_guest to tevent_reqVolker Lendecke2009-04-063-55/+86
|
* Convert cli_trans to tevent_reqVolker Lendecke2009-04-063-393/+281
|
* Convert cli_echo to tevent_reqVolker Lendecke2009-04-063-97/+71
|
* Remove the CHAIN1 test -- will come back laterVolker Lendecke2009-04-062-100/+1
|
* Add new async libsmb infrastructureVolker Lendecke2009-04-064-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().
* Add read_smb_send/recv, dumping keepalivesVolker Lendecke2009-04-062-0/+92
|
* tsocket: reduce size of dummy variableStefan Metzmacher2009-04-061-1/+1
| | | | metze
* s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett2009-04-0611-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>
* tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv()Stefan Metzmacher2009-04-061-8/+2
| | | | metze
* s3:printing Convert nt_printer_publish_ads() to use talloc betterAndrew Bartlett2009-04-061-26/+18
| | | | | | | | In particular, this removes one more user of pull_utf8_allocate() Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:smbldap Remove smbldap_get_dnAndrew Bartlett2009-04-065-58/+23
| | | | | | This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
* Make some functions static to vfs_gpfs.cVolker Lendecke2009-04-061-14/+14
|
* Add prototype for smbd_gpfs_get_realfilename_pathVolker Lendecke2009-04-061-0/+2
|
* Fix two c++ warnings in vfs_gpfs.cVolker Lendecke2009-04-061-2/+2
|
* s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner2009-04-061-1/+1
| | | | | | Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther
* Improve formatting in Python file.Jelmer Vernooij2009-04-061-0/+5
|
* Make valid_netbios_name() check a bit stricter.Jelmer Vernooij2009-04-062-2/+16
|
* Use the server config file for smbpasswd -a user in make testVolker Lendecke2009-04-051-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
* Remove a silly checkVolker Lendecke2009-04-051-7/+0
| | | | | This does not increase security, and if later error messages suck, we have to fix those.
* Remove async_req dependency from cli_pull_transVolker Lendecke2009-04-051-23/+25
|
* Fix smbd crash for close_on_completionVolker Lendecke2009-04-051-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.
* Keep the forked-smbd stdout reader around longerVolker Lendecke2009-04-051-3/+8
|
* Ensure 0-termination for the forked-smbd debug outputVolker Lendecke2009-04-051-0/+1
|
* Pass the current debuglevel down to the forked smbdVolker Lendecke2009-04-051-1/+2
|
* Use recv instead of read in read_packet_handlerVolker Lendecke2009-04-051-1/+2
| | | | This way the socket wrapper pcap file also sees the replies :-)
* s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.Günther Deschner2009-04-031-4/+53
| | | | Guenther
* s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.Günther Deschner2009-04-031-0/+1
| | | | | | Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
* Use cluster-aware procid_is_me instead of comparing pid'sVolker Lendecke2009-04-031-2/+2
|
* Use procid_str in debug messages for better cluster-debuggabilityVolker Lendecke2009-04-032-13/+15
|
* s3-nsswitch: Fix Bug #6238. Make sure logoff is bla bla.Günther Deschner2009-04-031-2/+2
| | | | | | Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
* s3-build: fix the build after tsocket changes.Günther Deschner2009-04-031-2/+0
| | | | | | Metze, please check. Guenther
* s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner2009-04-021-2/+2
| | | | Guenther
* s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner2009-04-021-2/+2
| | | | Guenther
* tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher2009-04-027-564/+0
| | | | metze
* libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher2009-04-021-45/+38
| | | | metze
* tsocket: optimize tdgram_bsd a lotStefan Metzmacher2009-04-021-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
* tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2009-04-022-0/+143
| | | | metze
* tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher2009-04-024-0/+1192
| | | | | | | The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
* s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner2009-04-021-5/+238
| | | | Guenther
* s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch2009-04-011-1/+19
| | | | | | locks before starting the test This can be useful for benchmarking as well as stress testing.
* s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2009-04-014-10/+10
|