1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/auth
Andrew Tridgell fd43e0ee09 added a uid_wrapper library
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.

The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:

 - no emulation of setreuid, setresuid or saved uids. These would be
   needed for use in Samba3

 - no emulation of ruid changing. That would also be needed for Samba3

 - no attempt to emulate file ownership changing, so code that (for
   example) tests whether st.st_uid matches geteuid() needs special
   handling
2009-08-05 10:51:00 +10:00
..
credentials pycredentials: Raise MemoryError when unable to create objects. 2009-06-17 20:45:38 +02:00
gensec s4:gensec/spnego: only generate the mechListMic when the server expects it 2009-07-28 12:16:13 +02:00
kerberos s4:kerberos Add 'net export keytab' command for wireshark decryption 2009-07-28 08:52:43 +10:00
ntlm added a uid_wrapper library 2009-08-05 10:51:00 +10:00
ntlmssp s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't work 2009-07-08 13:15:22 +02:00
tests Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
auth_sam_reply.c Return infinite time for last last logoff when last logoff = 0 2009-08-03 14:08:15 +10:00
auth.h s4:kdc Rework KDC to pull in less attributes for krbtgt lookups 2009-07-17 08:26:49 +10:00
config.m4 Strip /usr/include from include flags, so we don't end up including 2009-03-15 18:10:20 +01:00
config.mk python: Move helper functions for using param into a separate file rather 2009-06-02 18:05:40 +02:00
pyauth.c another case that should use py_talloc_reference 2009-07-01 15:15:37 +10:00
pyauth.h s4:pyauth: fix compiler warnings 2009-02-05 17:48:13 +01:00
sam.c s4: Change my nested groups patch to don't include user's SID itself in the "groupSID"s structure 2009-08-04 17:21:39 +02:00
samba_server_gensec.c removed a redundent talloc_steal 2009-07-01 15:15:36 +10:00
session.c s4:auth: move make_server_info_netlogon_validation() function arround 2009-01-21 13:36:11 +01:00
session.h s4:auth: move make_server_info_netlogon_validation() function arround 2009-01-21 13:36:11 +01:00
system_session.c Fix the build. 2008-11-02 05:49:36 +01:00