Hello Paul, Thank you for the help. Now I am back to my original question: I cannot add NT4 machine to the samba domain!
I tried to use the "Identification changes" from NT4 system to sign into the domain, it said "The machine account for this computer does not exist or is anaccessible. The log file said: [2004/07/20 21:46:47, 0] passdb/pdb_ldap.c:ldapsam_update_sam_account(1512) ldapsam_update_sam_account: failed to modify user with uid = king$, error: modify/delete: sambaPrimaryGroupSID: no such value (Success) [2004/07/20 21:46:49, 0] passdb/pdb_ldap.c:ldapsam_delete_entry(271) ldapsam_delete_entry: Entry must exist exactly once! I tried 'smbldap-useradd -w King$'. It does not seem to add the SambaSID. # smbldap-useradd -w king$ # smbldap-usershow king$ dn: uid=king$,ou=Computers,dc=sunix,dc=com objectClass: top,inetOrgPerson,posixAccount cn: king$ sn: king$ uid: king$ uidNumber: 1023 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer Forcing creating a Samba account with option -a give me an error: # smbldap-useradd -a -w king$ Can't call method "get_value" on an undefined value at /usr/sbin/smbldap-useradd line 152, <DATA> line 283. Using pdbedit also has problems: # pdbedit -a -m -u king ldapsam_add_sam_account: failed to modify/add user with uid = king$ (dn = uid=king$,ou=Computers,dc=sunix,dc=com) Unable to add machine! (does it already exist?) I started to think the add machine script must be wrong or something. -- Kang -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
