[Samba] NT4 PDC Account transfer

Collen collen at hermanjordan.nl
Thu Jan 22 07:43:27 GMT 2004


Hmm, dunno about the users ( maybe a faulty add user script ??)

but the problem i had with the vampire, was that
when syncing and making the MACHINE$ account's
samba used the add user script, and not the machine add script ??
also samba passed the MACHINE$ name in capital's

there for a simple useradd failed (coz of the capital's)
(i did the sync with 301 version, dunno whether it was fixed later on ??)

that's all the info i can give you..

L8r.
Collen

At 07:04 22/01/2004, you wrote:
>On Wed, 2004-01-21 at 22:31, Sohail Hasan wrote:
> > Beast wrote:
> >
> > >* Sohail Hasan <samba at etilizepak.com> nulis:
> > >
> > >
> > >
> > >>Hi All,
> > >>
> > >>I am following the procedure given in Samba-HOWTO for the migration to
> > >>samba from NT4 PDC,  however in the account transfer from the PDC step I
> > >
> > >net rpc getsid -S "NTname" -Uadministrator%passwd
> > >
> > >
> > >--beast
> > >
> >
> > Now when I run rpc vampire I get this:
> >
> > Fetching DOMAIN database
> > SAM_DELTA_DOMAIN_INFO not handled
> > Creating unix group: 'Domain Admins'
> > Creating unix group: 'Domain Users'
> > Creating unix group: 'Domain Guests'
> > Creating unix group: 'PROGRAMMER'
> > Creating unix group: 'Mohicans'
> > Creating unix group: 'NDA'
> > Creating account: Administrator
> > Could not create posix account info for 'Administrator'
> > Creating account: Guest
> > Could not create posix account info for 'Guest'
> > Creating account: testuser
> > Could not create posix account info for 'testuser'
> > [2004/01/22 10:08:04, 0] passdb/pdb_smbpasswd.c:build_smb_pass(1146)
> >   build_sam_pass: Failing attempt to store user with non-uid based user 
> RID.
> > .
> > .
> > .
> > Could not create posix account info for 'lab1$'
> > Creating account: SABBASI$
> > Could not create posix account info for 'lab2$'
> > Creating account: SIDDIQUI$
> > Could not create posix account info for 'john$'
> > Creating account: MAMAN$
> > Could not create posix account info for 'peter$'
> > [2004/01/22 10:08:06, 0] utils/net_rpc_samsync.c:fetch_group_mem_info(591)
> >   Could not find global group 512
> > [2004/01/22 10:08:06, 0] utils/net_rpc_samsync.c:fetch_group_mem_info(591)
> >   Could not find global group 513
> > [2004/01/22 10:08:06, 0] utils/net_rpc_samsync.c:fetch_group_mem_info(591)
> >   Could not find global group 514
> > .
> > .
> > .
> > Creating unix group: 'Debugger Users'
> > Fetching BUILTIN database
> > SAM_DELTA_DOMAIN_INFO not handled
> > Creating unix group: 'Account Operators'
> > Creating unix group: 'Administrators'
> > Creating unix group: 'Backup Operators'
> > Creating unix group: 'Guests'
> > Creating unix group: 'Print Operators'
> > Creating unix group: 'Replicator'
> > Creating unix group: 'Server Operators'
> > Creating unix group: 'Users'
> >
> > The question is that where has it created the users and groups because
> > there are no new entries in /etc/passwd and /etc/group files. Do I need
> > to run mapping between NT groups and UNIX before running "vampire" command.
>---
>where is a very good question since you give us absolutely no clues as
>to the type of backend passdb you are using.
>
>Clearly, it's not properly set up to create users - if LDAP, you need to
>make that work first, get the SID, set it, put it into the
>smbldap_conf.pm file and fix that file to retain your users properly
>(also - you will need to check your nsswitch.conf and ldap.conf) and set
>your binddn password with the command smbpasswd -w BINDDN_PASSWORD
>
>If you are using some other backend passdb, you will need to follow
>those directions.
>
>Craig
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list