[Samba] Cannot import users

Lionel Beard lionel.beard at oktal.fr
Mon Aug 23 07:23:03 GMT 2004


Thiagasundaram, PariX P a écrit :

> 
>
>Im running Openldap 2.2.15 and samba 3.0.5 on a RedHat 9.0 machine.
>
>(My NT Domain name is : DOMIAN1, Redhat Server name is REDHATPC)
>
>I have domain master = no on the Redhat Linux machine.
>
> 
>
>Objective is to migrate the users from NT 4 to samba.
>
> 
>
>When I run the command, 
>
> 
>
>Net rpc vampire -S NT_SERVER_NAME -Uadministrator%password
>
> 
>
>I get the error,
>
> 
>
>Cannot import users from DOMAIN1 at this time, as the current domain:
>
>    REDHATPC: S-1-5-21-22....................
>
>Conflicts with the remote domain 
>
>     DOMAIN1: S-1-5-21-09.............
>
> 
>
>Perhaps you need to set:
>
>  Security=user
>
>  Workgroup=DOMAIN1
>
>In your smb.conf
>
>  
>
You have to set the SID of your Windows domain to your RedHat server :
 > 'net getlocalsid DOMAIN1' to get your NT4 domain SID
 > 'net setlocalsid <SID>' to set it

Also, you're probably using IDEALX scripts to update your LDAP server 
from Samba (smbldap-useradd, ...), so you need to put your NT4 SID at 
the beginning on the configuration file 'smbldap.conf'

Regards,

-- 
Lionel Beard





More information about the samba mailing list