[Samba] An attempt was made to add an object to the directory with a name that is already in use when Adding users and groups

steve steve at steve-ss.com
Tue Aug 19 05:23:24 MDT 2014


On Tue, 2014-08-19 at 19:02 +0800, Chan Min Wai wrote:
> Dear All,
> 
> I've a AD DC on
> 4.1.5 which have the error above and after upgrade to 4.1.11 also with the
> same issue.
> 
> I was still adding users a few week before and it happen just recently...
> 
> Need your advise on this.
> I'm quite sure that name is not use as it happen to any name I've type in.
> 
> Please advise what information should I provide.
> As I believes this might be a ldb issue than configuration issue.
> 
> Thank for the help in advance.
> 
> Thank You.

Hi Chan
Before you add the name (e.g. chan) check it's not already there:

ldbsearch --url=/usr/local/samba/private/sam.ldb cn=chan

If you want another domain user, choose something like chan2
HTH,
Steve




More information about the samba mailing list