[Samba] Idealx script prerequisites?

Paul Gienger pgienger at ae-solutions.com
Mon Jun 21 21:58:29 GMT 2004



Alex Harris wrote:

>    I'm trying to setup a PDC (and later on a BDC as well) using samba 
> 3.02a and openLDAP 2.2.13 and I'm having some trouble with the idealx 
> scripts. When I run the command /usr/local/sbin/smbldap-useradd alex I 
> get the message:
>
> Can't locate object method "new" via package "Net::LDAP" (perhaps you 
> forgot to load "Net::LDAP"?) at /usr/local/sbin//smbldap_tools.pm line 
> 176.
>
> What does this mean? Presumably it's looking for some perl module that 
> isn't installed, but I have no idea which one, or how to install it. 
> Let me know if there's any other information that might be pertinent, 
> thanks. :-)

You may want to start someplace such as 
http://www.unix.org.ua/orelly/perl/prog3/ch22_02.htm for a how-to on 
installing the proper module.  It's telling you that you need to install 
Net::LDAP.  Check your distro's rpm directory and make sure that they 
didn't package a perl-LDAP for you already.  I know Fedora did, in Core2 
some others may have as well.

-- 
Paul Gienger                     Office:		701-281-1884
Applied Engineering Inc.         Cell:			701-306-6254
Information Systems Consultant   Fax:			701-281-1322
URL: www.ae-solutions.com        mailto:pgienger at ae-solutions.com




More information about the samba mailing list