Users in Samba 4
abartlet at samba.org
Mon Jun 9 01:41:18 GMT 2008
On Mon, 2008-06-09 at 03:35 +0200, Jelmer Vernooij wrote:
> aAm Montag, den 09.06.2008, 09:55 +1000 schrieb Andrew Bartlett:
> > On Mon, 2008-06-09 at 01:32 +0200, Jelmer Vernooij wrote:
> > > sebek wrote:
> > > > Hi,
> > > > is it possible import users from Samba 3 to Samba 4?
> > > Yeah, we do have code for importing users from Samba 3 to Samba 4 but
> > > it's only run as part of the full upgrade at the moment. To upgrade a
> > > full samba3 installation, run ./setup/upgrade.
> > Sadly it is critically missing the importing users part...
> Uhm, it does have that. It will import from tdbsam or smbpasswd files.
> See scripting/python/samba/upgrade.py and
passdb = samba3.get_sam_db()
for name in passdb:
user = passdb[name]
#FIXME: import_sam_account(result.samdb, user, domaindn,
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080609/7042459d/attachment.bin
More information about the samba-technical