Hi all, I am having a problem getting samba ldap tools to work. I am running Mandrake 10.0 community and have installed ldap and samba to use to work in conjuction as a samba domain server. It has automatically install the smbldap tools for user and group creation and modifications. The error's that I am getting however are something like this: failed to perform search; invalid DN at /usr/share/samba/scripts//smbldap_tools.pm line 154, <DATA> line 283. Can't call method "get_value" on an undefined value at /usr/bin/smbldap-useradd line 152, <DATA> line 283. The line of code in this config file is: $mesg->code && warn "failed to perform search; ", $mesg->error; Any idea's? Brendon.
Brendon Standing schrieb:> I am having a problem getting samba ldap tools to work. > > I am running Mandrake 10.0 community and have installed ldap and samba > to use to work in conjuction as a samba domain server. It has > automatically install the smbldap tools for user and group creation and > modifications. The error's that I am getting however are something like > this: > failed to perform search; invalid DN at > /usr/share/samba/scripts//smbldap_tools.pm line 154, <DATA> line 283. > Can't call method "get_value" on an undefined value at > /usr/bin/smbldap-useradd line 152, <DATA> line 283. > > The line of code in this config file is: > $mesg->code && warn "failed to perform search; ", $mesg->error; > > Any idea's?Did you configure LDAP and the ldap-Scripts? matz
Le Mon, Apr 05, 2004 at 11:57:40AM +0200, Brendon Standing a ecrit:> failed to perform search; invalid DN at > /usr/share/samba/scripts//smbldap_tools.pm line 154, <DATA> line 283. > Can't call method "get_value" on an undefined value at > /usr/bin/smbldap-useradd line 152, <DATA> line 283.. does the default group defined in smbldap.conf exist (defaultUserGid="513") ? . does the NT "Domain Users" group mapped to a unix group of rid 513 (see option -r of smbldap-groupadd and smbldap-groupmod to set a rid) ? -- J?r?me