summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-29pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell2-0/+57
this gives access to RFC2254 encoding from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-29ldb: added a test for an invalid search expressionAndrew Tridgell1-0/+3
this tests the fix for invalid expressions in & and | expressions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-29ldb: fixed a search expression parse bugAndrew Tridgell1-1/+11
when a secondary component of a & or | expression was invalid, it was ignored rather than giving an error. For example: (|(objectclass=user)(samaccountname=foo\blah)) was treated as being: (objectclass=user) whereas it should be an error, as foo\blah is invalid Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-29s4-auth Fill in the remainder of the unix info in auth_session_infoAndrew Bartlett2-5/+45
Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 29 05:33:03 CEST 2011 on sn-devel-104
2011-07-29s4-auth Move conversion of security_token to unix_token to authAndrew Bartlett8-61/+129
This allows us to honour the AUTH_SESSION_INFO_UNIX_TOKEN flag. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29gensec: Add a way to request a unix token from GENSECAndrew Bartlett3-5/+14
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29ntvfs: Use security_unix_token from auth.idlAndrew Bartlett1-24/+16
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett2-1/+36
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: Avoid being run over by armies of the undeadAndrew Bartlett1-0/+2
Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29nbt: Add comment explaining that these responses are manually encodedAndrew Bartlett1-1/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: explain how the message command test worksAndrew Bartlett2-0/+3
2011-07-29s4-lsa Use the supplied handle in LsaLookupNames2Andrew Bartlett1-5/+5
In my rework of this function in 2006 with 459a2301a5d63f5a1a6b27996c8a0358b20f2ab2 I ignored the incoming handle, instead feching the LSA state again (dispite the commit message indicating otherwise). This means that data->access_mask is uninitialised, which doesn't matter right now, but will once we start checking that. Andrew Bartlett
2011-07-29s4-debug: Start with DEBUG_DEFAULT_STDOUT, so we can log to a file in deamonsAndrew Bartlett1-1/+1
In commit 3c9d01e3e58e2217915317406541ac8c6f6dcf92 I changed the priority order and added DEBUG_DEFAULT_STDOUT, but did not check all the callers. Andrew Bartlett
2011-07-28s3-printing: Add forward declaration for dcerpc_binding_handle.Andreas Schneider1-0/+2
This fixes a build warning. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 20:07:37 CEST 2011 on sn-devel-104
2011-07-28s3: Priorize the async echo responder over the clientVolker Lendecke1-4/+15
Without this, an active client connection can starve the echo responder. This leads to apparently "lost" SMBs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 28 18:53:38 CEST 2011 on sn-devel-104
2011-07-28tevent: Slightly simplify poll_event_loop_pollVolker Lendecke1-33/+38
No real code change. Do an early return instead of an if-statement, avoiding one level of indentation.
2011-07-28s3: Remove unused smbd_echo_reader()Volker Lendecke1-97/+0
2011-07-28s3: Use smbd_echo_read_send in the async echo handlerVolker Lendecke1-6/+68
2011-07-28s3: Add smbd_echo_read_send/recvVolker Lendecke1-0/+155
Read a SMB packet in the echo responder, giving the parent one second to step in
2011-07-28Add wait_for_read_send/recvVolker Lendecke2-0/+60
Wait for readability of a socket as a tevent_req
2011-07-28s3-rpc_server: Use talloc for pipe_rpc_fnsSimo Sorce3-22/+7
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-28s3-rpc_server: remove useless codeSimo Sorce1-3/+1
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-28s3-rpc_server: remove unnecessary talloc_freeSimo Sorce1-2/+0
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-28s3-rpc_server: Remove dead codeSimo Sorce1-16/+0
srv_str and cli_str are not used anymore.
2011-07-28s3-spoolss: Use existing handle in printer_driver_files_in_use().Andreas Schneider3-17/+4
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
2011-07-28s3-spoolss: Use existing handle in printer_driver_in_use().Andreas Schneider3-20/+5
2011-07-28s3: In the async echo test, write 65kVolker Lendecke1-1/+1
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-28s3:modules:nfs4_acls: improve fix for bug #8330Michael Adam1-4/+2
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-28s3:torture: use lp_load_global() in pdbtest - this does not need shares nor IPC$Michael Adam1-1/+1
2011-07-28s3:winbindd: use lp_load_global() - winbindd does not need shares or IPC$Michael Adam1-1/+1
2011-07-28s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!Michael Adam1-1/+1
2011-07-28s3:split_tokens: use lp_load_global(), fixing the call to lp_load()Michael Adam1-1/+1
this does not need share and it dos not need to save defaults
2011-07-28s3:split_tokens: fix a nonempty blank lineMichael Adam1-1/+1
2011-07-28s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)Michael Adam1-1/+1
2011-07-28s3:smbtree: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbpasswd: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbfilter: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcquotas: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbcontrol: use lp_load_global(): smbcontrol does not need to load the sharesMichael Adam1-1/+1
2011-07-28s3:smbcacls: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:pdbedit: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:ntlm_auth: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:nmblookup: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:net: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:eventlogadm: use lp_load_global()Michael Adam1-2/+2
2011-07-28s3:dbwrap_torture: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:dbwrap_tool: use lp_load_global()Michael Adam1-1/+1
2011-07-28s3:smbtorture: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global() in the strstr testMichael Adam1-1/+1
2011-07-28s3:torture: use lp_load_global in the strcmp testMichael Adam1-1/+1