[Samba] Vampire fails

hwa at luukku.com hwa at luukku.com
Wed Jun 30 07:16:40 GMT 2004


All,

I'm trying to migrate to samba3 from nt4. Unsuccesfully so far :-(. Instructions are from idealx how-to v1.6. Enviroment is RHFC2/Samba 3.0.3-5/OpenLDAP 2.1.29

Membership to the domain is ok
----------------
# net rpc testjoin
Join to 'NT-DOM' is OK
----------------

The next step would be vampire but it fails with reference to smbtest2-domain. I can't figure out wherefrom this domain comes from. The host is smbtest2, but samba is configured to be member of domain, security is user and there is no mention of smbtest2 in /etc/samba/secrets.tdb BEFORE vampire:
----------------
# tdbdump /etc/samba/secrets.tdb
{
key = "SECRETS/SID/NT-DOM"
data = ...
}
{
key = "SECRETS/MACHINE_SEC_CHANNEL_TYPE/NT-DOM"
etc...

# net rpc vampire -S NT11 -W NT-DOM -U Administrator
Cannot import users from NT-DOM at this time, as the current domain:
        SMBTEST2: S-1-5-21-556393699-1626238699-3207665321
conflicts with the remote domain
        NT-DOM: S-1-5-21-188316152-1458124316-1939875897
Perhaps you need to set:

        security=user
        workgroup=NT-DOM

 in your smb.conf?
# tdbdump /etc/samba/secrets.tdb
{
key = "SECRETS/SID/NT-DOM"
data = ...
}
{
key = "SECRETS/SID/SMBTEST2"
data = ...
}
etc...
----------------

Where does samba get this other SID (smbtest2)?
Also I'm confused with all these passwords and accounts. Which password should be in /etc/ldap.secret? Should NT-DOM\Administrstor accounts password be in any file? Should password for "cn=Manager,dc=mydomain,dc=com" match any of existing accounts like root or NT-DOM\Administrator?

I hope somebody can show me some light here...

-- 
Harri

..............................................................
 MTV3 Laajakaista - Hauskemman elämän puolesta.
 http://www.mtv3.fi/liittyma/hankinta/laajakaista/


More information about the samba mailing list