[Samba] User in Samba 4

Michael Wood esiotrot at gmail.com
Thu May 27 02:36:57 MDT 2010


2010/5/27 Viatte Frédéric <Frederic.Viatte at rpn.ch>:
> Another small question
>
> At what time the database is it create? What command to create it?

It is created by setup/provision.

> -----Message d'origine-----
> De : Michael Wood [mailto:esiotrot at gmail.com]
> Envoyé : mercredi, 26. mai 2010 14:46
> À : Viatte Frédéric
> Cc : samba at lists.samba.org
> Objet : Re: [Samba] User in Samba 4
>
> 2010/5/26 Viatte Frédéric <Frederic.Viatte at rpn.ch>:
>> Hello
>>
>> Do you know where its users stored on the server Samba 4 ?
>>
>> Are they in a database?
> Yes, they are in /usr/local/samba/private/sam.ldb.
>
> e.g. try:
>
> ldbsearch -H /usr/local/samba/private/sam.ldb '(objectClass=user)'
>
> You can also access the information via LDAP over the network.  e.g.:
>
> $ sudo apt-get install ldap-utils libsasl2-modules-gssapi-heimdal
> $ kinit administrator
> $ ldapsearch -h localhost -Y GSSAPI '(objectClass=user)' cn

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list