1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
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 add *.po32 to ignore list 2001-12-12 16:04:37 +00:00
blocking.c Don't put a \n on the end of the arg to exit_server() 2001-11-05 00:02:38 +00:00
build_options.c WITH_MSDFS is not define anywhere. It's built by default. 2001-11-22 05:29:04 +00:00
change_trust_pw.c A farily large commit: 2002-01-01 03:10:32 +00:00
chgpasswd.c A nice *big* change to the fundemental way we do things. 2002-01-17 08:45:58 +00:00
close.c removed unused variable 2001-12-17 11:13:03 +00:00
conn.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
connection.c Removed MAXSTATUS which was set incorrectly - thus causing tdb traversal 2002-01-14 19:34:28 +00:00
dfree.c Added NT_USER_TOKEN into server_info to fix extra groups problem. 2001-11-03 23:34:24 +00:00
dir.c Made "hide unreadable" work much more reliably (just for Volker :-). 2001-12-17 19:16:22 +00:00
dosmode.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +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
fileio.c Ensure identical between 2.2.3 and 3.0 - no need for difference here.. 2002-01-20 01:01:46 +00:00
filename.c Fixed the bug with descending into mangled directories. 2001-12-18 01:26:54 +00:00
files.c Move from timestamp to gen count file id's for finding oplocked files 2001-10-20 21:59:34 +00:00
groupname.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
ipc.c Don't put a \n on the end of the arg to exit_server() 2001-11-05 00:02:38 +00:00
lanman.c Same fix as went into 2.2 (I'm waiting for jerry to finish some code). 2002-01-11 19:10:25 +00:00
mangle.c removed unused function 2001-11-24 13:58:40 +00:00
message.c again an intrusive patch: 2001-12-06 13:09:15 +00:00
negprot.c Same fix as went into 2.2 (I'm waiting for jerry to finish some code). 2002-01-11 19:10:25 +00:00
noquotas.c The big character set handling changeover! 2001-07-04 07:15:53 +00:00
notify_hash.c smbd/notify_hash.c: Merged Herb's fix. 2001-10-27 07:17:21 +00:00
notify_kernel.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
notify.c Don't put a \n on the end of the arg to exit_server() 2001-11-05 00:02:38 +00:00
nttrans.c Re-wrote the guts of the rename_internals code to cope with a reported 2002-01-04 21:11:35 +00:00
open.c don't use O_NONBLOCK in open(). This was added erroneously for kernel 2002-01-17 00:25:13 +00:00
oplock_irix.c Move from timestamp to gen count file id's for finding oplocked files 2001-10-20 21:59:34 +00:00
oplock_linux.c Fixed unsigned / long unsigned format missmatch. 2001-11-06 22:07:04 +00:00
oplock.c Don't put a \n on the end of the arg to exit_server() 2001-11-05 00:02:38 +00:00
password.c A nice *big* change to the fundemental way we do things. 2002-01-17 08:45:58 +00:00
pipes.c Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found. 2001-12-18 02:09:57 +00:00
posix_acls.c fixed a crash in merge_aces() 2002-01-11 11:26:31 +00:00
process.c Report write fail in smb_dump. 2002-01-19 21:29:20 +00:00
quotas.c XFS quota patch for Linux. 2001-11-30 21:50:02 +00:00
reply.c Same fix as went into 2.2 (I'm waiting for jerry to finish some code). 2002-01-11 19:10:25 +00:00
sec_ctx.c Added NT_USER_TOKEN into server_info to fix extra groups problem. 2001-11-03 23:34:24 +00:00
server.c Ensure (C) message is output on startup. 2002-01-18 03:26:53 +00:00
service.c Separate out get_user_home_dir() from get_user_home_service_dir(). 2002-01-16 23:53:10 +00:00
session.c Don't resolve the hostname in smbd as we can pause for a long time while 2001-11-19 04:27:39 +00:00
sesssetup.c A nice *big* change to the fundemental way we do things. 2002-01-17 08:45:58 +00:00
srvstr.c The big character set handling changeover! 2001-07-04 07:15:53 +00:00
ssl.c merge from 2.2 2001-10-11 16:44:17 +00:00
statcache.c fixed a typo 2001-09-25 06:38:07 +00:00
trans2.c Same fix as went into 2.2 (I'm waiting for jerry to finish some code). 2002-01-11 19:10:25 +00:00
uid.c This patch makes the 'winbind use default domain' code interact better with 2002-01-20 01:24:59 +00:00
utmp.c Tidyup utmp code to cope with hostname = NULL. 2001-12-18 08:19:02 +00:00
vfs-wrap.c Getting ready to add UNIX extensions in HEAD also. 2002-01-10 00:28:09 +00:00
vfs.c Attempt to fix bugs in write cache code (yes I know it's going away :-). 2002-01-20 00:04:15 +00:00