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 need the perl LDAP libraries: http://ldap.perl.org/ -----Original Message----- From: Alex Harris [mailto:aharris@digitalraver.com] Sent: Monday, June 21, 2004 5:02 PM To: samba@samba.org Subject: [Samba] Idealx script prerequisites? 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. :-) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- this message has been intercepted
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@ae-solutions.com
Bah! So I found a copy of SmbHash and now it's back to the original error, which is to say: root@osiris:~/software/samba# /usr/local/sbin/smbldap-useradd alex 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. Is there something special about the installtion of perl-ldap that I should watch out for? alton bailey wrote:>here is the rpm version of the file you need > > >----- Original Message ----- >From: "Alex Harris" <aharris@digitalraver.com> >To: <samba@samba.org> >Sent: 06/21/2004 9:30 PM >Subject: Re: [Samba] Idealx script prerequisites? > > > > >>Thanks, I've installed those and now when I run the same command >>(/usr/local/sbin/smbldap-useradd alex) I get this output: >> >> >>Can't locate Crypt/SmbHash.pm in @INC (@INC contains: /usr/local/sbin/ >>/usr/lib/perl5/5.8.3/i486-linux /usr/lib/perl5/5.8.3 >>/usr/lib/perl5/site_perl/5.8.3/i486-linux /usr/lib/perl5/site_perl/5.8.3 >>/usr/lib/perl5/site_perl .) at /usr/local/sbin//smbldap_tools.pm line 5. >>BEGIN failed--compilation aborted at /usr/local/sbin//smbldap_tools.pm >>line 5. >>Compilation failed in require at /usr/local/sbin/smbldap-useradd line 32. >>BEGIN failed--compilation aborted at /usr/local/sbin/smbldap-useradd >>line 32. >> >>Any idea what module I need to install to fix that? >> >>Board, Clint wrote: >> >> >> >>>You need the perl LDAP libraries: http://ldap.perl.org/ >>> >>> >>> >>>-----Original Message----- >>>From: Alex Harris [mailto:aharris@digitalraver.com] >>>Sent: Monday, June 21, 2004 5:02 PM >>>To: samba@samba.org >>>Subject: [Samba] Idealx script prerequisites? >>> >>> >>> 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. :-) >>> >>> >>> >>> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: http://lists.samba.org/mailman/listinfo/samba >> >>