Good Morning everyone (in my timezone any how).
When I try and add a machine to my Domain (just upgraded the domain
controller to samba 3.3.14, with openLDAP 2.3.43 as back-end, and
smbldap-tools-0.9.5-2.el5) it crashes LDAP, and brings down my domain :\
I've tried typing the command, and am getting closer to the error:
[r...@happiness log]# */usr/sbin/smbldap-useradd -W "fs5c1l1$"*
failed to add entry: Unexpected EOF at /usr/sbin//smbldap_tools.pm line 616.
failed to add entry: Can't contact LDAP server at /usr/sbin/smbldap-useradd
line 386.
When I look at line 616 of smbldap_tools.pm it's blank, so I assume it's
the code just before it:
# bind to a directory with dn and password
my $add = $ldap->add(
"uid=$user,$config{
computersdn}",
attr => [
#'objectclass' => ['top', 'person', 'organizationalPerson', 'inetOrgPerson',
'posixAccount'],
'objectclass' => [ 'top', 'account', 'posixAccount' ],
'cn' => "$user",
#'sn' => "$user",
'uid' => "$user",
'uidNumber' => "$uid",
'gidNumber' => "$gid",
'homeDirectory' => '/dev/null',
'loginShell' => '/bin/false',
'description' => 'Computer',
'gecos' => 'Computer',
]
);
line 616 is here (blank).
I'm not quite sure where to go from here, I've got a new user who's waiting
for their PC, but I can't join it to the domain :(
Any help is greatly appreciated. Thanks.
_______________________________________________
Smbldap-tools-tech mailing list
[email protected]
https://mail.gna.org/listinfo/smbldap-tools-tech