1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/lib
Andrew Bartlett 93a8358910 This patch makes the 'winbind use default domain' code interact better with
smbd, and also makes it much cleaner inside winbindd.

It is mostly my code, with a few changes and testing performed by Alexander
Bokovoy <a.bokovoy@sam-solutions.net>.  ab has tested it in security=domain and
security=ads, but more testing is always appricatiated.

The idea is that we no longer cart around a 'domain\user' string, we keep them
seperate until the last moment - when we push that string into a pwent on onto
the socket.

This removes the need to be constantly parsing that string - the domain prefix
is almost always already provided, (only a couple of functions actually changed
arguments in all this).

Some consequential changes to the RPC client code, to stop it concatonating the
two strings (it now passes them both back as params).

I havn't changed the cache code, however the usernames will no longer have a
double domain prefix in the key string.  The actual structures are unchanged
 - but the meaning of 'username' in the 'rid' will have changed.  (The cache is
invalidated at startup, so on-disk formats are not an issue here).

Andrew Bartlett
(This used to be commit e870f0e727)
2002-01-20 01:24:59 +00:00
..
.cvsignore - fixed cast warnings 1998-10-05 12:35:30 +00:00
access.c If 127.0.0.1 matches both allow & deny then allow. Patch from Steve Langasek vorlon@netexpress.net 2002-01-18 03:08:40 +00:00
account_pol.c Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian 2002-01-09 04:13:30 +00:00
bitmap.c More spelling and grammer from Vance. <vance@digital-host.net> 2001-10-29 08:26:45 +00:00
charcnv.c more irix -64 portability fixes 2001-12-31 14:05:22 +00:00
crc32.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
debug.c merge changes from 2.2 branch to prevent smb.conf from changing debug level 2002-01-07 21:32:22 +00:00
dmallocmsg.c #ifdef variable that's not used without dmalloc 2002-01-15 01:49:06 +00:00
domain_namemap.c Unicode conversion fix in Japanese environment from Motonobu TAKAHASHI. 1999-12-13 19:17:40 +00:00
dprintf.c More spelling and grammer from Vance. <vance@digital-host.net> 2001-10-29 08:26:45 +00:00
error.c Fixup error mapping so we have only one table containing errno -> dos error -> NT STATUS 2002-01-16 21:27:57 +00:00
fault.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
fsusage.c split fsusage() into a separate module (to fix linking problems with 2000-04-19 08:23:13 +00:00
genrand.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
getsmbpass.c Small tidyups for gcc in 'preen' mode.... 1998-10-17 17:41:13 +00:00
hash.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
hmacmd5.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
iconv.c much better auto-init of valid_table[]. This should just about remove 2001-12-20 06:18:52 +00:00
interface.c merge from APPLIANCE_HEAD 2001-11-28 21:51:11 +00:00
interfaces.c fix interfaces.c for aix 3.2.5 2001-05-07 03:21:23 +00:00
md4.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
md5.c Add backend encryption support for NTLMv2. 2001-07-07 07:00:15 +00:00
messages.c If we receive a message that is not handled then emit a gentle warning 2002-01-03 03:42:33 +00:00
ms_fnmatch.c a bunch of fixes from the sflight to seattle 2001-08-20 05:15:26 +00:00
netatalk.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
pidfile.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
readline.c Readline has problems on non tty fd's. Use readline replacement to in cases 2002-01-19 22:54:13 +00:00
replace.c added strlcpy() and strlcat() 2001-11-20 08:50:57 +00:00
select.c Spelling fix. 2002-01-10 06:05:37 +00:00
signal.c fixed a bug in BlockSignals() for systems that don't have 2000-06-12 06:09:39 +00:00
smbpasswd.c Started a cleanup of smbpasswd related stuff. I've created a new file 2001-09-06 09:10:26 +00:00
smbrun.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
snprintf.c fixes (asprintf) from 2.2 2002-01-19 17:29:32 +00:00
substitute.c A nice *big* change to the fundemental way we do things. 2002-01-17 08:45:58 +00:00
sysacls.c Added HPUX ACL code. 2001-12-15 02:40:16 +00:00
system.c Getting ready to add UNIX extensions in HEAD also. 2002-01-10 00:28:09 +00:00
talloc.c FIXME We should turn the global list off when using Insure++, 2002-01-14 06:51:34 +00:00
tallocmsg.c Add UNUSED(paramname) macro to be used in parameter lists, to quieten 2002-01-09 05:27:27 +00:00
talloctort.c Make talloctort call talloc_describe_all before exiting 2002-01-03 05:57:02 +00:00
time.c Round and round we go.... 2002-01-11 23:33:12 +00:00
ufc.c Fixed warnings and made const-safe so it has the correct prototype. 2001-07-03 21:07:26 +00:00
username.c This is the 'winbind default domain' patch from Alexander Bokovoy 2002-01-18 02:37:55 +00:00
util_file.c obey "use mmap" on case tables 2001-12-17 11:13:57 +00:00
util_getent.c This patch makes the 'winbind use default domain' code interact better with 2002-01-20 01:24:59 +00:00
util_pw.c A nice *big* change to the fundemental way we do things. 2002-01-17 08:45:58 +00:00
util_seaccess.c tidy up debug 2001-12-17 22:57:06 +00:00
util_sec.c Parionia to ensure people don't install libsmb based programs setuid root. 2001-10-31 01:52:34 +00:00
util_sid.c freeing the wrong pointer, sorry my mistake. 2001-12-30 22:55:04 +00:00
util_sock.c Added #ifdef for FreeBSD TCP bug. 2002-01-19 21:37:38 +00:00
util_str.c Roll back PSTRING_SANCTIFY patch; just leave non-controversial type 2002-01-16 02:42:07 +00:00
util_unistr.c fixed warnings on irix and crash bug on big endian machines 2001-12-20 10:02:30 +00:00
util.c Add constness to filenames passed to functions. 2002-01-15 01:37:12 +00:00
wins_srv.c Got medieval on another pointless extern. Removed extern struct ipzero 2001-11-26 03:11:44 +00:00
xfile.c Added NT_USER_TOKEN into server_info to fix extra groups problem. 2001-11-03 23:34:24 +00:00