Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba ldap scripts: can't make them work.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Mar 06, 2005 1:21 am    Post subject: Samba ldap scripts: can't make them work. Reply with quote

I'm trying to follow the samba-3+ldap howto, but the scripts don't work.

Code:
# ./smbldap-passwd administrator Can't locate Net/SSLeay.pm in @INC (@INC contains: /usr/share/samba/scripts/ /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.4/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.4/IO/Socket/SSL.pm line 17.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.4/Net/LDAP.pm line 920.

Should not they be working out of the box? Is it normal that they are not in the path? Did I missed a step somewhere? :?
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Adamal
Apprentice
Apprentice


Joined: 05 Dec 2003
Posts: 264
Location: California

PostPosted: Sun Mar 06, 2005 3:04 am    Post subject: Reply with quote

Turn your ldap flag on in your /etc/make.conf and then

Code:
emerge --newuse world

_________________
Cry Havoc and Let Slip the dogs of War!
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Mar 06, 2005 12:25 pm    Post subject: Reply with quote

But, but, :( it had already been done.
Code:
# emerge -pv samba

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-fs/samba-3.0.10  +acl +cups -debug -doc -kerberos +ldap -libclamav -mysql +oav +pam -postgres -python +quotas +readline (-selinux) +winbind -xml +xml2 0 kB

Total size of downloads: 0 kB

_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
sandcrawler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2003
Posts: 149
Location: SaintLouis, MO

PostPosted: Wed Jul 06, 2005 10:09 pm    Post subject: Reply with quote

there should be a log file for emerge messages that are important, like this one....



Code:

* You have had multiple versions of perl. It is recommended
 * that you run perl-cleaner now. perl-cleaner will
 * assist with this transition. This script is capable
 * of cleaning out old .ph files, rebuilding modules for
 * your new version of perl, as well as re-emerging
 * applications that compiled against your old libperl.so
 *
 * PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT.
 * Part of the rebuilding of applications compiled against
 * your old libperl involves temporarily unmerging
 * them - interruptions could leave you with unmerged
 * packages before they can be remerged.
 *
 * If you have run perl-cleaner and a package still gives
 * you trouble, and re-emerging it fails to correct
 * the problem, please check http://bugs.gentoo.org/
 * for more information or to report a bug.
 *
 *



perhaps that will fix it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum