summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-29s3:winbind: Rename wbint_GroupMember to wbint_PrincipalVolker Lendecke7-45/+44
2009-08-29tevent: Fix a segfault upon the first signalVolker Lendecke1-0/+6
When the first signal arrives, tevent_common_signal_handler() crashed: "ev" is initialized to NULL, so the first "write(ev->pipe_fds[1], &c, 1);" dereferences NULL. Rusty, Tridge, please check. Also, can you tell me a bit more about the environment you tested this in? I'd be curious to see where this survived. Thanks, Volker
2009-08-28s3: Add catia to the list of modules compiled by defaultAravind Srinivasan1-1/+1
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3: Major revamp for catia vfs moduleAravind Srinivasan1-145/+837
This patch builds out catia to allow fully configurable mappings, including mappings from single byte to multi-byte characters. Additionally, a much more complete list of vfs operations are now covered. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAMEAravind Srinivasan11-26/+138
This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s4:ldb Don't sleep(100) in this error case, but debug the LDIFAndrew Bartlett1-6/+6
2009-08-28s4: Create helpers functions related to provisionMatthieu Patou1-17/+34
One for getting attributes with DN syntax, one for getting forward linked attributes and one for getting the list of partition
2009-08-28s4-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam1-6/+5
Michael
2009-08-28s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam1-6/+9
This also removes build warnings of redefined macros since it uses the embracing "#ifndef _DLINKLIST_H ... #endif". Michael
2009-08-28s4: include ntlmssp header in auth/ntlmssp/ntlmssp.h.Günther Deschner1-0/+1
Guenther
2009-08-28s3-ntlmssp: use generated ntlmssp code for debugging purpose.Günther Deschner2-1/+75
Guenther
2009-08-28s3-ntlmssp: add NDR helper routines for ntlmssp.Günther Deschner2-0/+189
Guenther
2009-08-28s4: fix the build after ntlmssp header change.Günther Deschner1-0/+1
Guenther
2009-08-28libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.Günther Deschner2-8/+3
Guenther
2009-08-28s4-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner1-5/+5
Guenther
2009-08-28s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner5-50/+21
Guenther
2009-08-28s3-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner1-5/+5
Guenther
2009-08-28s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner4-48/+15
Guenther
2009-08-28ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function.Günther Deschner2-0/+64
Guenther
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