Samba PDC with LDAP backend

Olivier Nicole on at
Mon Jul 20 10:17:46 UTC 2009

> #smbldap-populate -u 10000 -g 10000 -r 10000
> Populating LDAP directory for domain MYDOMAIN
> (S-1-5-21-2772587264-3389604304-3649373591)
> (using builtin directory structure)
> adding new entry: dc=mydomain,dc=local
> failed to add entry: modifications require authentication at

In fact the script smbldap-populate hangs here, see, it mentions the
authentication error at the begining.

I never used smbldap-populate, but I beleive that to have it wiork,
you must configure/edit that script and define a password somewhere.

I beleive you would also have to configure the domain name, unless you
want to keep MYDOMAIN (see line number two).

As I suggested few days ago, you should try to do a ldapsearch and get
a result from it first.

Samba is not something simple to configure. LDAP neither, so you
better go step by step.

Good luck,


More information about the freebsd-questions mailing list