1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
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 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
build
client util/rfc1738_unescape(): return end pointer or NULL on error 2018-02-22 01:04:18 +01:00
exports
groupdb Correct "errror" typos. 2017-02-22 08:26:22 +01:00
include s3:auth: remove unused auth_serversupplied_info->system 2018-03-15 21:54:16 +01:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib s3:lib: Add FALL_THROUGH statements in util_sd.c 2018-03-01 04:37:42 +01:00
libads s3:libads: 'net ads keytab create' shouldn't write SPN(s) 2018-03-02 14:07:15 +01:00
libgpo/gpext gpo: fix the building of gpext to only once 2017-11-20 21:41:14 +01:00
libnet s3:libnet: Add FALL_THROUGH statements in libnet_join.c 2018-03-01 04:37:43 +01:00
librpc smbd: remove "id" from share_mode_entry 2018-02-13 05:01:38 +01:00
libsmb libsmb: Use smb2 tcon if conn_protocol >= SMB2_02 2018-03-02 00:39:58 +01:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking smbd: remove "id" from share_mode_entry 2018-02-13 05:01:38 +01:00
modules s3: vfs_fruit. Change check_ms_nfs() to remove the virtual ACE's generated by fruit_fget_nt_acl(). 2018-03-08 04:09:38 +01:00
nmbd libnmb: Move "read_packet" to nmbd 2018-01-24 05:48:19 +01:00
param s3/smbd: fix handling of delete-on-close on directories 2018-02-03 23:42:16 +01:00
passdb s3:passdb: handle dom_sid=NULL in create_builtin_{users,administrators}() 2018-03-15 21:54:16 +01:00
printing lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
rpc_client s3:cli_lsarpc: use talloc_zero_array() in dcerpc_lsa_lookup_names_generic() 2018-02-21 14:19:17 +01:00
rpc_server CVE-2018-1050: s3: RPC: spoolss server. Protect against null pointer derefs. 2018-03-13 16:06:10 +01:00
rpcclient s3:rpcclient: Add FALL_THROUGH statements in rpcclient.c 2018-03-01 04:37:43 +01:00
script s3:tests: Skip smbd error test if we do not log to stdout 2018-03-03 00:01:23 +01:00
selftest s3:selftest: run SMB2-ANONYMOUS 2018-03-15 21:54:16 +01:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3: Fix max indentation and max column 2018-03-12 20:39:16 +01:00
torture s3:torture: add SMB2-ANONYMOUS which asserts no GUEST bit for anonymous 2018-03-15 21:54:16 +01:00
utils winbind: Add smbcontrol disconnect-dc 2018-03-15 15:46:09 +01:00
web
winbindd winbindd: add retry to _winbind_SendToSam 2018-03-15 20:57:43 +01:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript build: fix libceph-common detection 2018-02-22 19:30:12 +01:00
wscript_build s3:utils: add new 'net ads setspn list' subcommand 2018-03-02 14:07:14 +01:00
wscript_configure_system_ncurses