LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2004, 02:31 AM   #1
alypius
Member
 
Registered: Apr 2003
Location: Washington DC
Distribution: Slackware 9.0(file/web server), Redhat 6.0(Stereo/mp3 player), Redhat 9.0(Work)
Posts: 47

Rep: Reputation: 15
smbldap_tools.pm problem. . .


I'm trying to setup a samba pdc with an openldap backend and I think I've got openldap installed properly, but when I run the command smbldap-useradd I get this output:

Linux 2.4.20.
root@osiris:~# /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.

I'm running Slackware 9.0. . . I tried installing the perl module package perl-ldap to fix this, but it hasn't worked. What would be causing this?
 
Old 06-27-2004, 07:47 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Try installing with CPAN. As root run:
perl -eshell -MCPAN

If you haven't done this before you will need to go through the configuration - the defaults should be fine, just pick mirrors near you.

Then to install Net::LDAP run:
install Net::LDAP

To exit out of CPAN type "exit" then retry the script.
 
Old 06-27-2004, 03:26 PM   #3
alypius
Member
 
Registered: Apr 2003
Location: Washington DC
Distribution: Slackware 9.0(file/web server), Redhat 6.0(Stereo/mp3 player), Redhat 9.0(Work)
Posts: 47

Original Poster
Rep: Reputation: 15
I've tried that and I get the same error. Is there a way that I can uninstall the old perl-ldap and try this again?
 
Old 06-27-2004, 03:40 PM   #4
alypius
Member
 
Registered: Apr 2003
Location: Washington DC
Distribution: Slackware 9.0(file/web server), Redhat 6.0(Stereo/mp3 player), Redhat 9.0(Work)
Posts: 47

Original Poster
Rep: Reputation: 15
When the test scripts for the install file run the last eight tests are skipped with the error: all skipped: No server.

What kind of server is it looking for? I would assume it's looking for an ldap server, but slapd is running. . .
 
Old 06-27-2004, 03:43 PM   #5
alypius
Member
 
Registered: Apr 2003
Location: Washington DC
Distribution: Slackware 9.0(file/web server), Redhat 6.0(Stereo/mp3 player), Redhat 9.0(Work)
Posts: 47

Original Poster
Rep: Reputation: 15
But this might also be a problem: slapd will run without any errors, but it will not stay running as it should. What would cause that to happen?
 
Old 06-27-2004, 04:04 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
There could be many reasons - try running it direct from the command line with extra debugging options.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration