Volker Lendecke
4281967990
Add wait_for_read_send/recv
...
Wait for readability of a socket as a tevent_req
2011-07-28 17:42:22 +02:00
Simo Sorce
e84c7a2e26
s3-rpc_server: Use talloc for pipe_rpc_fns
...
Everything uses talloc in the rpc server nowadays, remove this ancient use of
malloc. This also allows us to remove the free fucntion and let talloc handle
it properly.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Jul 28 17:41:08 CEST 2011 on sn-devel-104
2011-07-28 17:41:08 +02:00
Simo Sorce
48a71664f2
s3-rpc_server: remove useless code
...
We do not reuse pies_struct so there is no reason to SERO_STRUCT() it when we
are freeing it as we are done using it anyways.
2011-07-28 10:27:58 -04:00
Simo Sorce
262af4713e
s3-rpc_server: remove unnecessary talloc_free
...
The auth_ctx is a child of pipes_struct, and this function is a used only as a
destructor on pipes_struct. So it is not really necessary to free this struct
in the destructor as it will be freed soon enough anyway.
2011-07-28 10:27:52 -04:00
Simo Sorce
0a72744dd2
s3-rpc_server: Remove dead code
...
srv_str and cli_str are not used anymore.
2011-07-28 10:27:45 -04:00
Andreas Schneider
a97fef36bc
s3-spoolss: Use existing handle in printer_driver_files_in_use().
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
2011-07-28 16:20:11 +02:00
Andreas Schneider
5fa9fe39ea
s3-spoolss: Use existing handle in printer_driver_in_use().
2011-07-28 15:08:42 +02:00
Volker Lendecke
553124a663
s3: In the async echo test, write 65k
...
This leads to the writev from echo responder child to parent to only deliver a
partial blob and thus excercises the retry code.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Jul 28 15:07:40 CEST 2011 on sn-devel-104
2011-07-28 15:07:40 +02:00
Michael Adam
0ad8c12d48
s3:modules:nfs4_acls: improve fix for bug #8330
...
simplify the check insmbacl4_find_equal_special()
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Jul 28 13:20:38 CEST 2011 on sn-devel-104
2011-07-28 13:20:38 +02:00
Michael Adam
7b7c6c85f1
s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$
2011-07-28 11:17:42 +02:00
Michael Adam
a6fe4d20f1
s3:winbindd: use lp_load_global() - winbindd does not need shares or IPC$
2011-07-28 11:17:42 +02:00
Michael Adam
b793e02c6b
s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!
2011-07-28 11:17:42 +02:00
Michael Adam
7c41dda1b3
s3:split_tokens: use lp_load_global(), fixing the call to lp_load()
...
this does not need share and it dos not need to save defaults
2011-07-28 11:17:41 +02:00
Michael Adam
d696beefb1
s3:split_tokens: fix a nonempty blank line
2011-07-28 11:17:41 +02:00
Michael Adam
d29be7d263
s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)
2011-07-28 11:17:40 +02:00
Michael Adam
b9fdfbad2e
s3:smbtree: use lp_load_global()
2011-07-28 11:17:40 +02:00
Michael Adam
7e2deb94dc
s3:smbpasswd: use lp_load_global()
2011-07-28 11:17:40 +02:00
Michael Adam
039ae12dbb
s3:smbfilter: use lp_load_global()
2011-07-28 11:17:39 +02:00
Michael Adam
e6176d597a
s3:smbcquotas: use lp_load_global()
2011-07-28 11:17:39 +02:00
Michael Adam
ce8beb5133
s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the shares
2011-07-28 11:17:38 +02:00
Michael Adam
b608cfc8ec
s3:smbcacls: use lp_load_global()
2011-07-28 11:17:38 +02:00
Michael Adam
d4abfcc04b
s3:pdbedit: use lp_load_global()
2011-07-28 11:17:38 +02:00
Michael Adam
2a98ee0f83
s3:ntlm_auth: use lp_load_global()
2011-07-28 11:17:37 +02:00
Michael Adam
ac9a61bda8
s3:nmblookup: use lp_load_global()
2011-07-28 11:17:37 +02:00
Michael Adam
82202f99b3
s3:net: use lp_load_global()
2011-07-28 11:17:36 +02:00
Michael Adam
7557ba1eb2
s3:eventlogadm: use lp_load_global()
2011-07-28 11:17:36 +02:00
Michael Adam
1679fe5ca9
s3:dbwrap_torture: use lp_load_global()
2011-07-28 11:17:35 +02:00
Michael Adam
59a2f3d707
s3:dbwrap_tool: use lp_load_global()
2011-07-28 11:17:35 +02:00
Michael Adam
ae752ec3a5
s3:smbtorture: use the lp_load_global() wrapper of lp_load()
2011-07-28 11:17:35 +02:00
Michael Adam
c32479f584
s3:torture: use lp_load_global() in the strstr test
2011-07-28 11:17:34 +02:00
Michael Adam
ecc487e026
s3:torture: use lp_load_global in the strcmp test
2011-07-28 11:17:34 +02:00
Michael Adam
426ae350ee
s3:torture: use lp_load_global() in the push_ucs2 test
2011-07-28 11:17:33 +02:00
Michael Adam
bfde6fa535
s3:torture: use lp_load_global() in the msgtest
2011-07-28 11:17:33 +02:00
Michael Adam
d6b4c693be
s3:torture: use lp_load_global() in the masktest
2011-07-28 11:17:33 +02:00
Michael Adam
ee495ab5c3
s3:torture: use lp_load_global() in locktest2
2011-07-28 11:17:32 +02:00
Michael Adam
407a514f8b
s3:torture: use lp_load_global() in the locktest
2011-07-28 11:17:32 +02:00
Michael Adam
4a21e50474
s3:rpcclient: use the lp_load_global() wrapper of lp_load()
2011-07-28 11:17:31 +02:00
Michael Adam
a7e9219002
s3:nmbd: use the lp_load_global() wrapper of lp_load()
2011-07-28 11:17:31 +02:00
Michael Adam
74b806c888
s3:libnet_join: use lp_load_global() wrapper of lp_load()
2011-07-28 11:17:31 +02:00
Michael Adam
88ee6973f0
s3:libsmbconf: use lp_load_global() in the testsuite
2011-07-28 11:17:30 +02:00
Michael Adam
2c3a1f44fa
s3:libnetapi: use lp_load_global()
2011-07-28 11:17:30 +02:00
Michael Adam
c2aa8e5d63
s3:loadparm: make lp_set_in_client() static - only used in wrappers in loadparm now.
2011-07-28 11:17:29 +02:00
Michael Adam
c9efe307cb
s3:pam_smbpass: use lp_load_client() in pam_smbpass
2011-07-28 11:17:29 +02:00
Michael Adam
f764de64e3
s3:libsmb: use lp_load_client() and lp_load_client_no_reinit() in libsmb_context
2011-07-28 11:17:29 +02:00
Michael Adam
4e41d38df3
s3:loadparm: add wrapper lp_load_client_no_reinit()
2011-07-28 11:17:28 +02:00
Michael Adam
5676fbb399
s3:loadparm: add wrapper lp_load_globals_no_reinit()
2011-07-28 11:17:28 +02:00
Michael Adam
fbf254c19a
s3:libsmb: fix a call to lp_load to reinit the globals in any case
...
The potential previous lp_load of $HOME/.smb/smb.conf might have failed
halfway through and might have left globals initialized in an unwanted state.
So we should make sure to clean up before loading the dyn_CONFIGFILE()
2011-07-28 11:17:27 +02:00
Michael Adam
bff217cf4a
s3:smbspool: use lp_load_client()
2011-07-28 11:17:27 +02:00
Michael Adam
0c55a7606f
s3:smbclient: use lp_load_client()
2011-07-28 11:17:27 +02:00
Michael Adam
0b21c7750f
s3:loadparm: make lp_is_in_client() static - only used inside loadparm
2011-07-28 11:17:26 +02:00