Created attachment 8523 [details] AD Error Screenshot Centos 6.3 backend (selinux disabled) Samba 4.0.2 - Upon username creation using AD tools on Windows with similar names, but different usernames, for example if two users share the same name such as John Doe and another user is also John Doe and create usernames: jdoe & jdoe1 respectively AD will state that "Windows cannot create the object (User's Name) because: Not enough storage is available to complete this operation." Although it does work when the names are not the same for example if the user's real name is James or Jane Doe and creating jdoe[x] (x = some number) it works. My creation setup John Doe = jdoe James Doe = jdoe1 Jane Doe = jdoe2 ### Trying to Create ### (2nd person sharing same name) Jane Doe = jdoe3 (2nd person sharing same name) John Doe = jdoe4 (2nd person sharing same name) James Doe = jdoe5 If creating via command line - samba-tools it creates the usernames, although when trying to sign in to the domain in a Windows Client it gives error that it cannot find the user's roaming profile (even if one mandatory profile is the universal profile) and that the username/password is incorrect yet signs on with a "temporary profile."
creating a new user with an already existing DN with ldbedit on Samba 4.12: failed to modify CN=Angela Almond,OU=officers,DC=azdom,DC=private - LDAP error 53 LDAP_UNWILLING_TO_PERFORM - <00002035: samldb: objectSid must not be specified!> <> on w2k16: failed to modify CN=John Doe,CN=Users,DC=wdom2,DC=site - LDAP error 53 LDAP_UNWILLING_TO_PERFORM - <0000209A: SvcErr: DSID-031A107A, problem 5003 (WILL_NOT_PERFORM), data 0
PS: the wrong ldap error code that samba is retrning here is causing ADUC MMC to issue a weird error message saying "Not enough storage is available to complete this operation". In German locale "Für diesen Vorgang ist nicht genügend Speicher verfügbar". With the ldap error of a Windows DC, it correctly says that the used name already exists.