From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922
Description of problem:
After much pulling hair out while trying to achive the impossible task
of setting up a Samba based PDC server with an LDAP backend, it has
become apparent that a separate package called "smbldap-tools" is
required before Samba is usable with an LDAP backend.
This package is included in the Samba docs directory, but certainly
not in any usable form.
I have been forced to install an externally supplied RPM of this
package to work around this problem. RHEL can hardly be called an
"enterprise" server if it does not support LDAP properly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Changing product and version.
More information, now that I am running into this problem in Fedora
Core 1 (package samba-3.0.2-7.FC1)...
Here is the error when running one of the scripts (after manually
installing them to /usr/local/sbin):
Can't locate Net/LDAP.pm in @INC (@INC
contains: /usr/local/sbin/ /usr/lib/perl5/5.8.3/i386-linux-thread-
multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-
multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /u
sr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/p
multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.
2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /u
sr/lib/perl5/vendor_perl .) at /usr/local/sbin//smbldap_tools.pm line
BEGIN failed--compilation aborted
at /usr/local/sbin//smbldap_tools.pm line 5.
Compilation failed in require at /usr/local/sbin/smbldap-usershow.pl
BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-
usershow.pl line 29.
This clearly shows that Net/LDAP.pm is missing which is part of a
perl-ldap RPM which strangely is not available for any Red Hat Linux
from what I can see. These scripts are extremely valuable to
Samba/LDAP and although you do have a choice to remove them from the
Samba package, it would be much nicer if you could provide a perl-
ldap RPM so that they work. Net/LDAP.pm is NOT THE SAME as
URI/ldap.pm which gets installed with perl.
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.