How to add users to a Samba4 server

Simo Sorce idra at
Fri Apr 1 08:04:25 GMT 2005

With the latest samba4 code samldb comes to help, the ldif necessary to
create an account is v. simple:

dn: cn=username,cn=Users,dc=domain,dc=domain,dc=domain
objectclass: user
sAMAccountName: username

write this to a file and do an ldbadd


On Thu, 2005-03-31 at 21:51 -0800, Richard Sharpe wrote:
> Hi,
> I am trying to switch to Samba 4 on my personal workstation ...
> What are the simplest ways to add new users? Edit the LDIF and reload the
> SAM?
> Regards
> -----
> Richard Sharpe, rsharpe[at], rsharpe[at],
> sharpe[at],

Simo Sorce    -  idra at
Samba Team    -
Italian Site  -

More information about the samba-technical mailing list