summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-28ntlmssp: re-run make samba3-idl and add generated files.Günther Deschner3-0/+2441
Guenther
2009-08-28ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.Günther Deschner1-0/+18
Guenther
2009-08-28ntlmssp: add AUTHENTICATE_MESSAGE to idl.Günther Deschner1-0/+75
Guenther
2009-08-28ntlmssp: add CHALLENGE_MESSAGE to IDL.Günther Deschner3-1/+132
Guenther
2009-08-28ntlmssp: add NEGOTIATE_MESSAGE to IDL.Günther Deschner1-0/+20
Guenther
2009-08-28ntlmssp: add string helper functions to handle OEM and UNICODE charset.Günther Deschner2-0/+30
Guenther
2009-08-28ntlmssp: add ntlmssp helper skeleton.Günther Deschner3-1/+45
Guenther
2009-08-28ntlmssp: add IDL.Günther Deschner1-0/+89
Guenther
2009-08-28lib/tevent: close pipe_fds on event_context destructionRusty Russell1-0/+2
The "hack_fds" were never closed before; now they're inside event_context they should be closed when that is destroyed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-28lib/tevent: handle tevent_common_add_signal on different event contexts.Rusty Russell2-14/+31
I don't know if this is a problem in real life. The code assumes there's only one tevent_context; all signals will notify the first event context. That's counter-intuitive if you ever use more than one, and there's nothing else in this code which prevents it AFAICT. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-28lib/tevent: fix race with signals and tevent_common_add_signalRusty Russell1-20/+20
We carefully preserve the old signal handler, but we replace it before we've set up everything; in particular, if we fail setting up the pipe_hack we could write a NUL char to stdout (fd 0), instead of calling the old signal handler. Replace the signal handler as the very last thing we do. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-28lib/tdb: don't overwrite TDBs with different version numbers.Rusty Russell1-5/+7
In future, this may happen, and we don't want to clobber them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-28lib/tevent: remove spectacularly complicated manual subtractionRusty Russell1-4/+1
To be completely honest, I don't quite know whether to laugh or cry at this one: 1 + (0xFFFFFFFF & ~(s.seen - s.count)) == 1 + (~(s.seen - s.count)) # s.seen, s.count are uint32_t == s.count - s.seen # -A == ~A + 1 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-27util: fix comment and clarify argument name in DLIST_DEMOTE()Michael Adam1-3/+3
Michael
2009-08-27s3:smbd: teach filename_convert() about fake files (2nd fix for bug #6642)Stefan Metzmacher1-0/+11
metze
2009-08-27s3:smbd: add is_fake_file_path() that takes only the raw path as stringStefan Metzmacher2-14/+23
metze
2009-08-27s3:streams: check for :$DATA only in the backend (fix bug #6642)Stefan Metzmacher3-5/+11
We need to allow "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION" to pass check_path(), so that the Quota Dialog works. metze
2009-08-27s3:error_map: make NTSTATUS -> errno -> NTSTATUS mapping consistent for ↵Stefan Metzmacher1-1/+1
NT_STATUS_INVALID_PARAMETER Why have we mapped EINVAL -> NT_STATUS_INVALID_HANDLE before? metze
2009-08-27s3-ntlmssp: remove trailing whitespace.Günther Deschner3-137/+137
Guenther
2009-08-27libcli/auth: add netlogon_creds_step_crypt() and netlogon_creds_first_step()Stefan Metzmacher1-10/+21
This abstracts the usage of crypto functions instead of directly calling des_crypt112(). metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27libcli/auth: remove some useless linesStefan Metzmacher1-3/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27libcli/auth: remember schannel type in netlogon_creds_server_init()Stefan Metzmacher1-0/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27s3-schannel: remove remaining code that was using "struct dcinfo".Günther Deschner3-192/+0
Guenther
2009-08-27s3-credentials: remove unused code.Günther Deschner4-314/+1
Guenther
2009-08-27s3-schannel: upgrade old format schannel_store.tdb.Günther Deschner1-4/+9
Guenther
2009-08-27s3-netlogon: use shared credential and schannel storage infrastructure for ↵Günther Deschner3-196/+146
netlogon server. Guenther
2009-08-27s3-netlogon: add netr_creds_server_step_check() convenience wrapper.Günther Deschner1-0/+34
Guenther
2009-08-27s3-schannel: add simple wrappers to fetch and store schannel auth info.Günther Deschner4-1/+79
Guenther
2009-08-27s3-schannel: make open_schannel_session_store() public.Günther Deschner2-1/+2
Guenther
2009-08-27libcli/auth: add tdb backend for schannel state.Günther Deschner4-1/+242
Guenther
2009-08-27libcli/auth: move netlogon_creds_CredentialState out of libcli.Günther Deschner2-13/+1
Guenther
2009-08-27schannel: add netlogon_creds_CredentialState to IDL.Günther Deschner4-0/+142
Guenther
2009-08-27s4-schannel: add ldb suffix to schannel functions.Günther Deschner4-43/+43
Guenther
2009-08-27libcli/auth: rename schannel_state.c to schannel_state_ldb.c.Günther Deschner2-14/+14
Guenther
2009-08-27s3-build: add SCHANNEL_OBJ to Makefile.in.Günther Deschner1-2/+5
Guenther
2009-08-27s3:winbind: Convert WINBINDD_GETUSERSIDS to the new APIVolker Lendecke6-255/+130
2009-08-27s3:winbind: Fix a typoVolker Lendecke1-1/+1
2009-08-27s3:winbind: Remove the manual caching for the async wb_ functionsVolker Lendecke6-80/+15
The generic NDR-based cache in winbindd_dual_ndr.c replaces this.
2009-08-27s3:winbind: Some calls are not cacheableVolker Lendecke1-0/+19
2009-08-27s3:winbind: Factor out wcache_store_seqnum()Volker Lendecke2-19/+34
2009-08-27s3:winbind: Add a generic cache for NDR based parent-child requestsVolker Lendecke7-21/+157
2009-08-27s3:winbind: Factor out wcache_fetch_seqnumVolker Lendecke1-14/+39
2009-08-27s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.Günther Deschner1-9/+12
Guenther
2009-08-27s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.Günther Deschner1-0/+101
Guenther
2009-08-27s4:python Add helper to get at the domain SIDAndrew Bartlett2-0/+33
2009-08-26s3/smbd: open the share_info.tdb on startup instead of tconxSteven Danneman3-1/+11
This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system.
2009-08-26s3/debug: make SPENGO OID list appear under one debug headerSteven Danneman1-1/+4
2009-08-26s3/winbindd: Remove unnecessary check for NULL SIDSteven Danneman2-8/+7
There's a known bug in some Windows implementations of DsEnumerateDomainTrusts() where domain SIDs are not returned for transitively trusted domains within the same forest. Jerry originally worked around this in the winbindd parent by checking for S-0-0 and converting it to S-1-0 in 8b0fce0b. Guenter later moved these checks into the child process in commit 3bdfcbac making the initial patch unecessary. I've removed it and added a clarifying comment to the child process. If ever this SID is needed we could add an extra DsEnumerateDomainTrusts() call in trusted_domains() as suggested by the Microsoft KB.
2009-08-26s3-selftest: enable running RPC-NETLOGON-S3 against samba3.Günther Deschner1-1/+1
Guenther
2009-08-26s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.Günther Deschner2-0/+19
Guenther