How to add users to a Samba4 server

Andrew Bartlett abartlet at
Fri Apr 1 08:34:41 GMT 2005

On Fri, 2005-04-01 at 10:04 +0200, Simo Sorce wrote:
> 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

I suppose you might also wish to add a unicodePassword: password 

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Student Network Administrator, Hawker College
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list