[Samba] Can't locate Net/LDAP.pm in @INC

Buchan Milne bgmilne at obsidian.co.za
Fri Aug 13 16:36:45 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Subject:
| Re: [Samba] Can't locate Net/LDAP.pm in @INC
| From:
| Paul Gienger <pgienger at ae-solutions.com>
| Date:
| Thu, 12 Aug 2004 14:36:34 -0500
| To:
| Sp0oKeR Labs <spooker at gmail.com>
| CC:
| samba at lists.samba.org, Pari <pari005 at yahoo.com>
|
| Sp0oKeR Labs wrote:
|
|> Try
|>  #perl -MCPAN -e 'install Net::LDAP'
|>
|>
| Perhaps a more universal answer for posterity...
|
| The smbldap-tools package requires that you have LDAP support in your
| perl installation.  If you are using an RPM based linux distribution
| you could try to search your RPM repository for a perl-ldap package
| (Fedora Core 2 has one, that's the only linux distro I have on hand
| ATM) since it's better to use rpm whenever you can in a rpm system.
| This will also make sure that you get the module where the system
| wants it as apparently you may be having a problem there.

If the answer wil lbe for posterity:

1)Mandrake has included the smbldap-tools as part of samba since about 2.2.5
2)perl-ldap has been in main since about Mandrake 9.1
3)samba-ldap mostly works out-the-box since 10.0 (which is when samba3
moved to main),since perl-ldap is required by samba-server. Just
uncomment the sample configurations in the provided  smb.conf, change
the values in /etc/samba/smbldap_conf.pm to your liking, run smbpasswd
- -w $password, and smbldap-populate. Look for more features in the new
version of Mandrake Corporate server ...
4)Fedora 2's perl-ldap packages seem not to have SSL support (since some
perl SSL modules are not provided), meaning a wonderful security hole
unless you install the required packages manually.

Regards,
Buchan

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBHO4drJK6UGDSBKcRAgVNAKDKStjBm57/k+fTVFFsiuAWOw2CHQCeJkzj
/Ci8giNdbXasR8fiWRrFa2Q=
=ZrgA
-----END PGP SIGNATURE-----


More information about the samba mailing list