[Samba] sAMAccountName is Computer name

Ivan Jurišić ivan at jurisic.org
Wed Nov 17 10:05:57 UTC 2021



On Samba AD DC under Username I see EXAMPLE\pc-ijurisic but that is my 
computer name, my Username is EXAMPLE\ijurisic

When I check status my sAMAccountName is Computer name, hm... any idea 
what is wrong?

### On server : smbstatus

Samba version 4.13.13-Debian
PID     Username     Group        Machine                                
    Protocol Version  Encryption           Signing
----------------------------------------------------------------------------------------------------------------------------------------
297104  EXAMPLE\pc-ijurisic$ EXAMPLE\domain computers 192.168.22.188 
(ipv4:192.168.22.188:57676) SMB3_11           -                    
AES-128-CMAC

### On my PC net ads status

objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
objectClass: computer
userAccountControl: 4096
sAMAccountName: PC-IJURISIC$
servicePrincipalName: HOST/PC-IJURISIC.example-test.com
servicePrincipalName: RestrictedKrbHost/PC-IJURISIC.example-test.com
servicePrincipalName: HOST/PC-IJURISIC
servicePrincipalName: RestrictedKrbHost/PC-IJURISIC
dNSHostName: pc-ijurisic.example-test.com


More information about the samba mailing list