How to add users to a Samba4 server

Richard Sharpe rsharpe at richardsharpe.com
Fri Apr 1 16:30:26 GMT 2005


On Fri, 1 Apr 2005, Andrew Bartlett wrote:

> 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

This is great, but I think there is a need for an sampasswd command to
allow us to change passwords!

Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com


More information about the samba-technical mailing list