1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/auth
Andrew Bartlett 1c3c5e2156 s3-smbd: Create a shortcut for building the token of a user by SID for posix_acls
When a user owns a file, but does not have specific permissions on that file, we need to
make up the user permissions.  This change ensures that the first thing that we do
is to look up the SID, and confirm it is a user.  Then, we avoid the getpwnam()
and directly create the token via the SID.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
2012-08-10 14:38:47 -07:00
..
auth_builtin.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
auth_domain.c s3-auth Remove unused global_machine_account_needs_changing 2012-07-13 07:52:40 +02:00
auth_generic.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
auth_ntlmssp.c auth: Remove .get_challenge (only used for security=server) 2012-07-03 08:13:01 +10:00
auth_sam.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_samba4.c s3-auth_samba4: Explain that check_samba4_security is actually unused 2012-07-13 10:04:05 +02:00
auth_script.c More strlcat/strlcpy truncate checks. 2012-03-30 21:26:07 +02:00
auth_unix.c s3-auth: Fix account check over ncalrpc. 2011-07-13 14:09:35 +02:00
auth_util.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
auth_wbc.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_winbind.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth.c auth: Remove .get_challenge (only used for security=server) 2012-07-03 08:13:01 +10:00
check_samsec.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
pampass.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
pass_check.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
proto.h s3-smbd: Create a shortcut for building the token of a user by SID for posix_acls 2012-08-10 14:38:47 -07:00
server_info_sam.c s3-auth remove sanitized_username from auth_serversupplied_info 2011-08-03 18:48:04 +10:00
server_info.c s3:auth/server_info: the primary rid should be in the groups rid array (bug #8798) 2012-05-09 19:36:01 +02:00
token_util.c s3-smbd: Create a shortcut for building the token of a user by SID for posix_acls 2012-08-10 14:38:47 -07:00
user_info.c s3-auth: Pass the remote_address down to user_info. 2011-07-04 18:28:02 +10:00
user_krb5.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
user_util.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
wscript_build s3-auth: Remove auth_netlogond 2012-06-16 10:13:20 +02:00