Hi
More info: The log.smbd shows the following lines when tryied to login
as Administrator
----------------------------------------------------------------------------------------------------------------
[2016/05/11 08:09:36.411968, 2]
../source3/param/loadparm.c:2686(lp_do_section)
Processing section "[netlogon]"
[2016/05/11 08:09:36.412108, 2]
../source3/param/loadparm.c:2686(lp_do_section)
Processing section "[sysvol]"
[2016/05/11 08:09:36.412743, 2]
../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=192.168.0.18 bcast=192.168.0.255
netmask=255.255.255.0
[2016/05/11 08:09:36.418379, 2]
../lib/util/modules.c:196(do_smb_load_module)
Module 'samba4' loaded
[2016/05/11 08:09:36.444927, 0]
../source4/auth/unix_token.c:93(security_token_to_unix_token)
Unable to convert second SID
(S-1-5-21-508106755-2976483754-4106360514-513) in user token to a GID.
Conversion was returned as type 0, full token:
[2016/05/11 08:09:36.445462, 0]
../libcli/security/security_token.c:63(security_token_debug)
Security token SIDs (13):
SID[ 0]: S-1-5-21-508106755-2976483754-4106360514-500
SID[ 1]: S-1-5-21-508106755-2976483754-4106360514-513
SID[ 2]: S-1-5-21-508106755-2976483754-4106360514-512
SID[ 3]: S-1-5-21-508106755-2976483754-4106360514-572
SID[ 4]: S-1-5-21-508106755-2976483754-4106360514-520
SID[ 5]: S-1-5-21-508106755-2976483754-4106360514-519
SID[ 6]: S-1-5-21-508106755-2976483754-4106360514-518
SID[ 7]: S-1-1-0
SID[ 8]: S-1-5-2
SID[ 9]: S-1-5-11
SID[ 10]: S-1-5-32-544
SID[ 11]: S-1-5-32-545
SID[ 12]: S-1-5-32-554
Privileges (0x 1FFFFF00):
Privilege[ 0]: SeTakeOwnershipPrivilege
Privilege[ 1]: SeBackupPrivilege
Privilege[ 2]: SeRestorePrivilege
Privilege[ 3]: SeRemoteShutdownPrivilege
Privilege[ 4]: SeSecurityPrivilege
Privilege[ 5]: SeSystemtimePrivilege
Privilege[ 6]: SeShutdownPrivilege
Privilege[ 7]: SeDebugPrivilege
Privilege[ 8]: SeSystemEnvironmentPrivilege
Privilege[ 9]: SeSystemProfilePrivilege
Privilege[ 10]: SeProfileSingleProcessPrivilege
Privilege[ 11]: SeIncreaseBasePriorityPrivilege
Privilege[ 12]: SeLoadDriverPrivilege
Privilege[ 13]: SeCreatePagefilePrivilege
Privilege[ 14]: SeIncreaseQuotaPrivilege
Privilege[ 15]: SeChangeNotifyPrivilege
Privilege[ 16]: SeUndockPrivilege
Privilege[ 17]: SeManageVolumePrivilege
Privilege[ 18]: SeImpersonatePrivilege
Privilege[ 19]: SeCreateGlobalPrivilege
Privilege[ 20]: SeEnableDelegationPrivilege
Rights (0x 403):
Right[ 0]: SeInteractiveLogonRight
Right[ 1]: SeNetworkLogonRight
Right[ 2]: SeRemoteInteractiveLogonRight
[2016/05/11 08:09:36.450569, 1]
../source3/smbd/sesssetup.c:281(reply_sesssetup_and_X_spnego)
Failed to generate session_info (user and group token) for session
setup: NT_STATUS_INVALID_SID
----------------------------------------------------------------------------------------------------------------
Or when tryied to login as a common user
----------------------------------------------------------------------------------------------------------------
[2016/05/11 08:15:44.784439, 2]
../source3/param/loadparm.c:2686(lp_do_section)
Processing section "[netlogon]"
[2016/05/11 08:15:44.784710, 2]
../source3/param/loadparm.c:2686(lp_do_section)
Processing section "[sysvol]"
[2016/05/11 08:15:44.785399, 2]
../source3/lib/interface.c:341(add_interface)
added interface eth0 ip=192.168.0.18 bcast=192.168.0.255
netmask=255.255.255.0
[2016/05/11 08:15:44.790623, 2]
../lib/util/modules.c:196(do_smb_load_module)
Module 'samba4' loaded
[2016/05/11 08:15:44.812343, 0]
../source4/auth/unix_token.c:79(security_token_to_unix_token)
Unable to convert first SID
(S-1-5-21-508106755-2976483754-4106360514-1188) in user token to a UID.
Conversion was returned as type 0, full token:
[2016/05/11 08:15:44.812690, 0]
../libcli/security/security_token.c:63(security_token_debug)
Security token SIDs (7):
SID[ 0]: S-1-5-21-508106755-2976483754-4106360514-1188
SID[ 1]: S-1-5-21-508106755-2976483754-4106360514-513
SID[ 2]: S-1-1-0
SID[ 3]: S-1-5-2
SID[ 4]: S-1-5-11
SID[ 5]: S-1-5-32-545
SID[ 6]: S-1-5-32-554
Privileges (0x 800000):
Privilege[ 0]: SeChangeNotifyPrivilege
Rights (0x 400):
Right[ 0]: SeRemoteInteractiveLogonRight
[2016/05/11 08:15:44.814382, 1]
../source3/smbd/sesssetup.c:281(reply_sesssetup_and_X_spnego)
Failed to generate session_info (user and group token) for session
setup: NT_STATUS_INVALID_SID
[2016/05/11 08:16:53.830440, 2]
../source3/smbd/server.c:467(remove_child_pid)
Could not find child 20805 -- ignoring
----------------------------------------------------------------------------------------------------------------
Something similar was solved on 4.2
https://bugzilla.samba.org/show_bug.cgi?id=10720
Cheers
Kasandra
El 11/05/16 a las 07:12, Kasandra Padisha escribió: