create user S4

Andrew Bartlett abartlet at samba.org
Wed Jan 19 13:46:15 MST 2011


On Wed, 2011-01-19 at 23:37 +0700, Henry GM wrote:
> All,
> 
> i have 1000 username and setup S4, how to import all user without create one
> by one using net newuser USERNAME ?

Where are you importing them from?

The samba-tool newuser command is just a python script, in
scriping/python/samba/netcmd/newuser.py.  Feel free to just copy out the
guts of that into your own batch-processing script, or script the
invocation of samba-tool. 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list