1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

55732 Commits

Author SHA1 Message Date
Volker Lendecke
129562206a s3:winbind: add a fake NDR winbind cache validator 2009-08-29 19:42:27 +02:00
Volker Lendecke
e47491e83c s3:winbind: Convert the getgrent functions to the new API 2009-08-29 19:42:27 +02:00
Volker Lendecke
e71714830e s3:winbind: Add a comment about fill_grent_mem_domusers... 2009-08-29 19:42:27 +02:00
Volker Lendecke
9b5ad55de1 s3:winbind: Add some missing error checks 2009-08-29 19:42:27 +02:00
Volker Lendecke
8b9085472d s3:winbind: Fix a typo 2009-08-29 19:42:27 +02:00
Volker Lendecke
10e9df2975 s3:winbind: Add async wb_next_grent 2009-08-29 19:42:27 +02:00
Volker Lendecke
2555c12bce s3:winbind: Add async QueryGroupList 2009-08-29 19:42:27 +02:00
Volker Lendecke
50d9fb42fc w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API 2009-08-29 19:42:26 +02:00
Volker Lendecke
425239caee s3:winbind: Convert the GETDCNAME routines to the new API 2009-08-29 19:42:26 +02:00
Volker Lendecke
15312e7310 s3:winbind: Add async wb_dsgetdcname 2009-08-29 19:42:26 +02:00
Volker Lendecke
244bb7f163 s3:winbind: Convert winbindd_dsgetdcname to the new API 2009-08-29 19:42:26 +02:00
Volker Lendecke
7579f0fb17 s3:winbind: Add an async dsgetdcname call 2009-08-29 19:42:26 +02:00
Volker Lendecke
9c30a8dc6f s3:winbind: Convert the GETPWENT routines to the new API 2009-08-29 19:42:26 +02:00
Volker Lendecke
6e2bf7e234 s3:winbind: Add async next_pwent 2009-08-29 19:42:26 +02:00
Volker Lendecke
91588e6e8f s3:winbind: Add async fill_pwent 2009-08-29 19:42:26 +02:00
Volker Lendecke
c325ba89cf s3:winbind: Add async query_user_list 2009-08-29 19:42:26 +02:00
Volker Lendecke
9ef2c70963 s3:winbind: simplify wb_seqnums_done a bit 2009-08-29 19:42:26 +02:00
Volker Lendecke
ae6a6690d5 s3:winbind: Make wb_seqnums.c update the winbind cache seqnums 2009-08-29 19:42:25 +02:00
Volker Lendecke
99cf696150 s3:winbind: Fix a bug found by RPC-SAMR
We need to enumerate passdb alias members

Thanks to gd for bugging me :-)
2009-08-29 10:44:13 +02:00
Volker Lendecke
ccc18d4d5d s3:winbind: Fix a typo 2009-08-29 10:44:13 +02:00
Volker Lendecke
58feaa7947 s3:winbind: Rename wbint_GroupMembers to wbint_Principals 2009-08-29 10:44:13 +02:00
Volker Lendecke
ffd9d41be9 s3:winbind: Rename wbint_GroupMember to wbint_Principal 2009-08-29 10:44:12 +02:00
Volker Lendecke
23abcd2318 tevent: Fix a segfault upon the first signal
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-29 09:49:08 +02:00
Aravind Srinivasan
c1b8eb884b s3: Add catia to the list of modules compiled by default
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28 16:38:57 -07:00
Aravind Srinivasan
ad88284038 s3: Major revamp for catia vfs module
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-28 16:38:57 -07:00
Aravind Srinivasan
e046b382f2 s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME
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-28 16:38:57 -07:00
Andrew Bartlett
77e2403f13 s4:ldb Don't sleep(100) in this error case, but debug the LDIF 2009-08-28 22:41:54 +10:00
Matthieu Patou
72fb26e9a4 s4: Create helpers functions related to provision
One for getting attributes with DN syntax, one for getting forward
linked attributes and one for getting the list of partition
2009-08-28 22:41:49 +10:00
Michael Adam
e3c7e9e81e s4-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)
Michael
2009-08-28 14:25:40 +02:00
Michael Adam
9f1c162e33 s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)
This also removes build warnings of redefined macros
since it uses the embracing "#ifndef _DLINKLIST_H ... #endif".

Michael
2009-08-28 14:25:40 +02:00
Günther Deschner
074c6d4214 s4: include ntlmssp header in auth/ntlmssp/ntlmssp.h.
Guenther
2009-08-28 13:43:35 +02:00
Günther Deschner
9afd44d03c s3-ntlmssp: use generated ntlmssp code for debugging purpose.
Guenther
2009-08-28 13:03:17 +02:00
Günther Deschner
91df77d2cf s3-ntlmssp: add NDR helper routines for ntlmssp.
Guenther
2009-08-28 13:03:05 +02:00
Günther Deschner
2287849074 s4: fix the build after ntlmssp header change.
Guenther
2009-08-28 11:37:44 +02:00
Günther Deschner
b7a5e7a5d6 libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.
Guenther
2009-08-28 10:09:19 +02:00
Günther Deschner
38d677bdf2 s4-ntlmssp: use interface constants in TargetInfo blob.
Guenther
2009-08-28 10:09:13 +02:00
Günther Deschner
e8c19f31b3 s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.
Guenther
2009-08-28 10:09:06 +02:00
Günther Deschner
82469deeac s3-ntlmssp: use interface constants in TargetInfo blob.
Guenther
2009-08-28 10:08:59 +02:00
Günther Deschner
25d6c0a518 s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.
Guenther
2009-08-28 10:08:52 +02:00
Günther Deschner
3a519fac8a ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function.
Guenther
2009-08-28 10:08:43 +02:00
Günther Deschner
4d1c881239 ntlmssp: re-run make samba3-idl and add generated files.
Guenther
2009-08-28 10:08:00 +02:00
Günther Deschner
9b844e7ff3 ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.
Guenther
2009-08-28 10:05:26 +02:00
Günther Deschner
b4a860ba81 ntlmssp: add AUTHENTICATE_MESSAGE to idl.
Guenther
2009-08-28 10:05:19 +02:00
Günther Deschner
e65a3cb0db ntlmssp: add CHALLENGE_MESSAGE to IDL.
Guenther
2009-08-28 10:05:13 +02:00
Günther Deschner
c3a6f28847 ntlmssp: add NEGOTIATE_MESSAGE to IDL.
Guenther
2009-08-28 10:05:06 +02:00
Günther Deschner
4e7edc7906 ntlmssp: add string helper functions to handle OEM and UNICODE charset.
Guenther
2009-08-28 10:05:00 +02:00
Günther Deschner
d4d2b42a92 ntlmssp: add ntlmssp helper skeleton.
Guenther
2009-08-28 10:04:52 +02:00
Günther Deschner
ff7958394c ntlmssp: add IDL.
Guenther
2009-08-28 10:04:43 +02:00
Rusty Russell
76d91156c8 lib/tevent: close pipe_fds on event_context destruction
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-28 14:10:22 +10:00
Rusty Russell
be4ac22784 lib/tevent: handle tevent_common_add_signal on different event contexts.
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-28 14:09:09 +10:00