I figured it out, the 'inetOrgPerson was set to account on mine for whatever
reason, now it all works :)

 my $add = $ldap->add ( "uid=$user,$config{computersdn}",
                                                                  attr => [

'objectclass' => ['top','inetOrgPerson', 'posixAccount'],

'cn'   => "$user",

'sn'   => "$user",

'uid'   => "$user",

'uidNumber'   => "$uid",

'gidNumber'   => "$gid",

'homeDirectory'   => '/dev/null',

'loginShell'   => '/bin/false',

'description'   => 'Computer',

'gecos'   => 'Computer',

]
                                                                );


On Tue, Jan 11, 2011 at 10:53 AM, Daniel Llewellyn <[email protected]>wrote:

> On Tue, Jan 11, 2011 at 15:44, Chris Beach <[email protected]> wrote:
> > [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.
>
> that error suggests that smbldap_tools.pm is incomplete, with EOF
> meaning "End of File".
>



-- 
Chris Beach
IT Analyst
_______________________________________________
Smbldap-tools-tech mailing list
[email protected]
https://mail.gna.org/listinfo/smbldap-tools-tech

Reply via email to