[Samba] Migration from NT4 to Samba PDC : NT_STATUS_INVALID_NETWORK_RESPONSE

Gérard Guével gguevel at interfaceconcept.com
Wed Dec 17 19:02:41 GMT 2008


I want to migrate from an old NT4 PDC to a Samba version 3.0.26a.

My BDC configuration for migration is
        workgroup = DOMAIN
        server string = %h server Samba %v
        interfaces = eth0,, lo
        bind interfaces only = Yes
        security = DOMAIN
        map to guest = Bad User
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n
*passwd:*password\supdated\ssuccessfully* .
        unix password sync = Yes
        log level = 4
        syslog = 0
        log file = /var/log/samba.log
        max log size = 1000
        name resolve order = lmhosts hosts wins bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/sbin/useradd -g users -c 'SMB Users
Account' -d /dev/null -s /bin/false '%u'
        delete user script = /usr/sbin/userdel -r '%u'
        add group script = /usr/sbin/groupadd '%g'
        delete group script = /usr/sbin/groupdel '%g'
        add user to group script = /usr/bin/gpasswd -a '%u' '%g'
        delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c 'SMB Machine
Account' -d /dev/null -s /bin/false '%u'
        domain logons = Yes
        os level = 33
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server =
        panic action = /usr/share/samba/panic-action %d
        admin users = root

I can join the NT4 PDC as BDC
net rpc join BDC -S NTSERVER -w DOMAIN -U admin%pwd
Joined domain DOMAIN.

But when I want to vampire or samdup the NT server, I have the following
net rpc samdump -S NTSERVER -w DOMAIN -U admin%pwd
[2008/12/17 19:38:39, 0]
  cli_rpc_pipe_open_schannel: failed to get schannel session key from server
[2008/12/17 19:38:39, 0] utils/net_rpc.c:run_rpc_command(151)
  Could not initialise schannel netlogon pipe. Error was

I have already read many recommended web tuto about NT4 migration.

Any tip would be welcome

More information about the samba mailing list