How to add users to a Samba4 server

Simo Sorce idra at samba.org
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

Simo.

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]richardsharpe.com, rsharpe[at]samba.org,
> sharpe[at]ethereal.com, http://www.richardsharpe.com

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it


More information about the samba-technical mailing list