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? |
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. |
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?
|
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. . . |
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?
|
There could be many reasons - try running it direct from the command line with extra debugging options.
|
All times are GMT -5. The time now is 01:36 AM. |