1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/smbd
Andrew Bartlett 2e28f8ff0e I've decided to move the auth code around a bit more...
The auth_authsupplied_info typedef is now just a plain struct - auth_context,
but it has been modified to contain the function pointers to the rest
of the auth subsystem's components.

(Who needs non-static functions anyway?)

In working all this mess out, I fixed a number of memory leaks and moved the
entire auth subsystem over to talloc().

Note that the TALLOC_CTX attached to the auth_context can be rather long-lived,
it is provided for things that are intended to live as long.  (The
global_negprot_auth_context lasts the whole life of the smbd).

I've also adjusted a few things in auth_domain.c, mainly passing the domain as
a paramater to a few functions instead of looking up lp_workgroup().  I'm
hopign to make this entire thing a bit more trusted domains (as PDC) freindly
in the near future.

Other than that, I moved a bit of the code around, hence the rather messy diff.

Andrew Bartlett
(This used to be commit 12f5515f55)
2002-01-05 04:55:41 +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 Merge from 2.2 2001-12-04 22:24:17 +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 Fix for connectinos.tdb error message from "Richard Bollinger" <rabollinger@home.com> 2001-10-16 08:39:43 +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 Restored old Bmpx code - actually used by OS/2. 2001-10-19 00:56:03 +00:00
fileio.c #ifdefed DMF fix so not compiled by default. We need to look at this... 2001-11-25 08:26:37 +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 Add an output parameter to message_send_all that says how many 2001-12-21 00:37:49 +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 I've decided to move the auth code around a bit more... 2002-01-05 04:55:41 +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 Moved fchown_acl change to the point where we *really* know if we 2001-12-16 23:44:38 +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 Actually enforce the passdb API. 2002-01-02 07:41:54 +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 Allow ACL set to fail gracefully on HP HFS filesystems. 2001-12-19 17:47:19 +00:00
process.c I've decided to move the auth code around a bit more... 2002-01-05 04:55:41 +00:00
quotas.c XFS quota patch for Linux. 2001-11-30 21:50:02 +00:00
reply.c Missed error return is can_rename fails. 2002-01-04 22:30:00 +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 I've decided to move the auth code around a bit more... 2002-01-05 04:55:41 +00:00
service.c Added NT_USER_TOKEN into server_info to fix extra groups problem. 2001-11-03 23:34:24 +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 I've decided to move the auth code around a bit more... 2002-01-05 04:55:41 +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 fixed long filenames on win98 2001-12-20 06:52:45 +00:00
uid.c added a boolean to the group mapping functions to specify if we need or 2001-12-04 21:53:47 +00:00
utmp.c Tidyup utmp code to cope with hostname = NULL. 2001-12-18 08:19:02 +00:00
vfs-wrap.c merge profile data changes from 2.2 2001-09-05 18:43:55 +00:00
vfs.c Re-wrote the guts of the rename_internals code to cope with a reported 2002-01-04 21:11:35 +00:00