How to add users to a Samba4 server

Andrew Bartlett abartlet at samba.org
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                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- 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 : http://lists.samba.org/archive/samba-technical/attachments/20050401/407968d6/attachment.bin


More information about the samba-technical mailing list