Re: [Samba] Samba4.6 - Groups creation/import fails
- Date: Fri, 8 Jun 2018 16:14:59 +0200
- From: Julien TEHERY via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Samba4.6 - Groups creation/import fails
Le 08/06/2018 à 15:44, Arnaud FLORENT via samba a écrit :
another object (not a group) ie user / computer with the name mygroup
can also exist and prevent group creation...
Prevent failure due to common user/group names
If you have any usernames that are the same as a groupname, you will
have to rename one of them. Otherwise the provisioning will fail
(„ProvisioningError: Please remove common user/group names before
upgrade.“). Also, if you have unique groups that, for whatever
historical reason, share the same displayName, they will have to be
edited so that all the displayNames are different.
Le 08/06/2018 à 15:36, Julien TEHERY via samba a écrit :
Actually migrating users/groups from samba3 to samba4 (in a separate
domaine), i succeeded in importing users/gruops and their attributes.
But For a reason i don't know some (a few) groups are not being
created, and i get this error:
"Failed to create group "MYGROUP" - samldb: Account name
(sAMAccountName) 'MYGROUP' already in use! "
Searching in ADUC no such group exists.
Searching with "wbinfo -g" either
I also tried a dbcheck in case something was corrupt, but had 0
errors to fix.
I also restarted samba/winbind just to see if there were any kind of
cache or not. Nothing changed.
Has any of you ever experienced such problems in creating objects
that are told to already exist ?
My env: Samba 4.6.4
@Rowland : you're right getent shows me a user exists with this name.
@Arnaud: Thanks for your link, i didn't knew that.
To unsubscribe from this list go to the following URL and read the