1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/auth
Stefan Metzmacher e8402ec048 s3:auth: base make_new_session_info_system() on auth_system_user_info_dc() and auth3_create_session_info()
The changes in the resulting token look like this:

           unix_token               : *
               unix_token: struct security_unix_token
                   uid                      : 0x0000000000000000 (0)
                   gid                      : 0x0000000000000000 (0)
-                  ngroups                  : 0x00000000 (0)
-                  groups: ARRAY(0)
+                  ngroups                  : 0x00000001 (1)
+                  groups: ARRAY(1)
+                      groups                   : 0x0000000000000000 (0)

...

                   domain_name              : *
                       domain_name              : 'NT AUTHORITY'
                   dns_domain_name          : NULL
-                  full_name                : NULL
-                  logon_script             : NULL
-                  profile_path             : NULL
-                  home_directory           : NULL
-                  home_drive               : NULL
-                  logon_server             : NULL
+                  full_name                : *
+                      full_name                : 'System'
+                  logon_script             : *
+                      logon_script             : ''
+                  profile_path             : *
+                      profile_path             : ''
+                  home_directory           : *
+                      home_directory           : ''
+                  home_drive               : *
+                      home_drive               : ''
+                  logon_server             : *
+                      logon_server             : 'SLOWSERVER'
                   last_logon               : NTTIME(0)
                   last_logoff              : NTTIME(0)
                   acct_expiry              : NTTIME(0)
                   last_password_change     : NTTIME(0)
                   allow_password_change    : NTTIME(0)
                   force_password_change    : NTTIME(0)
                   logon_count              : 0x0000 (0)
                   bad_password_count       : 0x0000 (0)
-                  acct_flags               : 0x00000000 (0)
+                  acct_flags               : 0x00000010 (16)
                   authenticated            : 0x01 (1)
           unix_info                : *

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2018-03-15 21:54:17 +01:00
..
auth_builtin.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_generic.c auth/common: add support for auth4_ctx->check_ntlm_password_send/recv() 2017-08-07 15:20:03 +02:00
auth_ntlmssp.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
auth_sam.c s3:auth: Add FALL_THROUGH statements in auth_sam.c 2018-03-01 04:37:42 +01:00
auth_samba4.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_script.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_unix.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_util.c s3:auth: base make_new_session_info_system() on auth_system_user_info_dc() and auth3_create_session_info() 2018-03-15 21:54:17 +01:00
auth_winbind.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth.c s3:auth: remove lp_auth_methods() handling 2017-12-13 20:34:24 +01:00
check_samsec.c auth: Use "all_zero" where appropriate 2017-01-03 16:04:28 +01:00
pampass.c s3:auth: Add FALL_THROUGH statements in pampass.c 2018-03-01 04:37:42 +01:00
pass_check.c auth: Remove support for HAVE_TRUNCATED_SALT from pass_check.c 2014-04-15 12:32:09 +02:00
proto.h s3:auth: add auth3_user_info_dc_add_hints() and auth3_session_info_create() 2018-03-15 21:54:17 +01:00
server_info_sam.c s3-auth: Steal the memory to avoid duplication. 2014-03-13 15:08:26 +01:00
server_info.c s3/auth: add create_info6_from_pac() 2018-02-10 08:35:17 +01:00
token_util.c s3:auth: remove static from finalize_local_nt_token() 2018-03-15 21:54:17 +01:00
user_info.c rpc: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:27 +02:00
user_krb5.c Correct "perfom" typos. 2017-02-22 08:26:22 +01:00
user_util.c include: Create system/nis.h in libreplace 2018-01-22 12:26:20 +01:00
wscript_build build: deal with recent glibc sunrpc header removal 2018-01-22 12:26:20 +01:00