smbldap-useradd error on rhel 3, openldap 2.0.27, smbldap-tools-0.9.5, samba 3.0.9
I have installed a rhel 3 server, with samba 3.0.9 and openldap 2.0.27. I also intalled smbldap-tools-0.9.5.
now I try to ad a new user using smbldap-useradd. When I do that I get the following error: smbldap-useradd testuser
Could not find base dn, to get next uidNumber at /usr/sbin//smbldap_tools.pm line 1179, <DATA> line 283.
line 1179:
$next_uid_mesg->code
&& die "Error looking for next uid in "
. $config{sambaUnixIdPooldn} . ":"
. $next_uid_mesg->error;
if ( $next_uid_mesg->count != 1 ) {
die "Could not find base dn, to get next $attribute";
}
my $entry = $next_uid_mesg->entry(0);
line 283:
# next uidNumber and gidNumber available are stored in sambaDomainName object
if ( !defined $config{sambaUnixIdPooldn} ) {
$config{sambaUnixIdPooldn} =
"sambaDomainName=$config{sambaDomain},$config{suffix}";
}
I have no idea what i could do to fix this. i think that ik have everything configured right.
I would really appreciate some help with this.
If you need any further information pleas ask and i will provide it.
Already thanks
|