[Samba] net rpc vampire still not working

Chew, Darren darrenc at vicscouts.asn.au
Sat Jan 3 05:04:31 GMT 2004


Hi Craig,

smbd & nmbd not running and domain master = no. I have included the rest 
of the smb.conf for troubleshooting. Joined domain ok. 'net rpc testjoin' 
returns OK. Still receive same errors when migrating users. Groups migrate 
ok.

Can't call method "get_value" on an undefined value at 
/opt/local/samba/sbin/smbldap-useradd.pl line 152, <DATA> line 283.
[2004/01/03 15:51:47, 1] utils/net_rpc_samsync.c:fetch_account_info(445)
  fetch_account: Running the command 
`/opt/local/samba/sbin/smbldap-useradd.pl -a -m "Administrator"' gave 29

Thanks for the suggestions and help received.

Darren

[global]
        workgroup = SAMBA
        security = DOMAIN
        passdb backend = ldapsam
        add user script = /sbin/smbldap-useradd.pl -a -m "%u"
        delete user script = /sbin/smbldap-userdel.pl -r "%u"
        add user to group script = /sbin/smbldap-groupmod.pl -m "%u" "%g"
        delete user from group script = /sbin/smbldap-groupmod.pl -x "%u" "%g"
        set primary group script = /sbin/smbldap-usermod.pl -g "%g" "%u"
        add group script = /sbin/smbldap-groupadd.pl -a -p "%g"
        delete group script = /sbin/smbldap-userdel.pl "%g"
        add machine script = /sbin/smbldap-useradd.pl -w -d /dev/null -g nobody -c "Machine Account" -s /bin/false "%u"
        domain logons = Yes
        preferred master = No
        local master = No
        domain master = No
        wins support = Yes
        ldap suffix = dc=samba,dc=org
        ldap machine suffix = ou=Computers
        ldap user suffix = ou=People
        ldap group suffix = ou=Groups
        ldap idmap suffix = ou=Idmap
        ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
        ldap admin dn = cn=root,ou=People,dc=samba,dc=org
        ldap ssl = no
        ldap passwd sync = Yes
        idmap backend = ldap:ldap://localhost
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes
        template shell = /usr/bin/bash
        printer admin = ntadmin

[netlogon]
        path = /opt/local/samba/lib/netlogon
        write list = ntadmin
        locking = No



More information about the samba mailing list