[Samba] samba 3 with LDAP

Craig White craigwhite at azapple.com
Wed Dec 14 14:56:54 GMT 2005


On Wed, 2005-12-14 at 19:33 +0530, GMAIL wrote:
> Hi all
> 
> I am setting up Samba Primary Domain controller with LDAP in Redhat 
> Enterprise Linux ES 4.0 .
> The open Ldap version is _*OpenLDAP 2.2.3*_ and samba version 
> _*3.0.10-1.4E .*_ i used smbldap-tools which
> comes default in RHEL ES 4.0 .
----
You need to get the latest smbldap-tools

up2date smbldap-tools
or
up2date -u

should do this for you but note that once you do this, the configuration
stuff is in /etc/smbldap
----
> After configuring samba and Ldap ie slapd.conf, and configuring 
> smbldap-conf.pm
> and populate it through smbldap-populate.pl
> i get the following error
> ############################################################################
> 
> > Global symbol "$ldapsearch" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 236.
> > Global symbol "$ldapsearchnobind" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 237.
> > Global symbol "$ldappasswd" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 239.
> > Global symbol "$ldapadd" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 240.
> > Global symbol "$ldapdelete" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 241.
> > Global symbol "$ldapmodrdn" requires explicit package name at 
> > /usr/local/sbin///smbldap_conf.pm line 242.
> > Compilation failed in require at /usr/local/sbin///smbldap_tools.pm 
> > line 4.
> > BEGIN failed--compilation aborted at 
> > /usr/local/sbin///smbldap_tools.pm line 4.
> > Compilation failed in require at ./smbldap-populate.pl line 34.
> > BEGIN failed--compilation aborted at ./smbldap-populate.pl line 34.
> 
> ############################################################################
> 
> and when i type *net getlocalsid* command
> i get the following error
> #############################################################################
> 
> > [2005/12/14 18:49:49, 0] lib/smbldap.c:smbldap_search_suffix(1155)
> >   smbldap_search_suffix: Problem during the LDAP search:  (No such 
> > object)
> > SID for domain TDC17 is: S-1-5-21-664927944-2827829345-1370909811
> 
> #############################################################################
> 
> Please guide me
> 
> Regards
> Niranjan



More information about the samba mailing list