Cannot join PC to Domain on my new samba server
I just setup a Samba 3.3.14, with an ldap back-end.
Every thing is working fine (I migrated the ldap back end/settings from my old samba server), except adding a machine (WinXP) to the domain, when I try to add it like I used to I get:
The following error occurred attempting to join the domain "Blah.com":
A device attached to the system is not functioning.
in my /var/log/messages I have:
Dec 30 09:40:24 hap smbd: [2010/12/30 09:40:24, 0] passdb/pdb_get_set.c:pdb_get_group_sid(210)
Dec 30 09:40:24 hap smbd: pdb_get_group_sid: Failed to find Unix account for OAKRND02$
repeated about 6 times.
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add user script = /usr/sbin/smbldap-useradd -m -a "%u"
delete user script = /usr/sbin/smbldap-userdel -r "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
ldap passwd sync = yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new password*" %n\n"
What's most annoying is I tested joining a Windows 7 machine to the domain before I went live, and it was successful, so I've no clue why this isn't working now :(
Can anyone PLEASE give me any info on what this might be, thanks!
EDIT: Also, when trying to type in the command to add it to the domain I get:
/usr/sbin/smbldap-useradd -w OAKRND02
failed to add entry: Unexpected EOF at /usr/sbin//smbldap_tools.pm line 616.
And then my slapd dies out... this same behaviour happens when trying to use USRMGR.exe to add a new user (but doing it manually via smbldap DOES work for adding a new user).