Results 1 to 2 of 2
Hi all, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-30-2010 #1
- Join Date
- Jun 2008
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.cdb_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).
Last edited by Neostim; 12-30-2010 at 04:10 PM.
- 12-30-2010 #2
- Join Date
- Jun 2008
Something else I've noticed:
ldapsearch -b "dc=mydomain,dc=com" -x "(uid=oakrnd01$)"
# filter: (uid=oakrnd01$)
# requesting: ALL
# OAKRND01$, Computers, mydomain, com
sambaAcctFlags: [W ]
# search result
result: 0 Success
# numResponses: 2
# numEntries: 1
So it does add the machine to LDAP.. but samba isn't seeing it (pdbedit -v doesn't find anything).