create user S4

Henry GM gtoems at gmail.com
Wed Jan 19 22:40:53 MST 2011


Andrew,

importing from openldap 2.3 with samba 3 to ldif file, so i got ldif file
now,
using ldif file i want to import to samba4.

Rgds
Henry GM


On Thu, Jan 20, 2011 at 3:46 AM, Andrew Bartlett <abartlet at samba.org> wrote:

> 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/<http://samba.org/%7Eabartlet/>
> Authentication Developer, Samba Team           http://samba.org
> Samba Developer, Cisco Inc.
>
>


More information about the samba-technical mailing list