[Samba] Adding LDAP Backend to Samba

J. Echter j.echter at elektro-mayer-echter.de
Thu Feb 3 16:09:58 MST 2011

Am 03.02.2011 22:12, schrieb Gaiseric Vandal:
> On 02/03/2011 02:56 PM, J. Echter wrote:
>> Am 03.02.2011 20:43, schrieb Gaiseric Vandal:
>>> Does "pbdedit -Lv" show the users, groups and machines?
>> Hi,
>> no it doesn't.
>> User Search failed!
>> Cheers.
> I don't use the ldap tools scripts, so my environment may not match
> yours exactly.  You may also want to read through the scripts to see
> if they create users, computers and groups where you think they will. 
> I don't know if the scripts check the smb.conf file -  I suspect not.
> Sounds like your scripts are putting objects in one location, but
> samba expects them in another.
> I have my users and machines under the same suffix.   You can have an
> ou below that suffix which would also get searched by samba.  I have
> this since my LDAP backend also includes the "unix" account info-  
> otherwise samba couldn't find the unix uid for my machine accounts.
> You may want to use a gui LDAP editor (e.g. apache directory studio)
> to get the entries into the correct location.  Not sure if you can
> move then directly BUT you can export LDAP entries (or entire OU's) to
> a text file, delete the entries from ldap, edit the entries in the
> text file, and then reimport.
yes, i also wondered if the accounts in the right position.

i use phpldapadmin and could easily move entrys, but i wasn't sure if
this is the right way to go...

More information about the samba mailing list