adrian sender
2005-Oct-17 03:52 UTC
[Samba] Redhat 9 Samba + LDAP PDC ./smbldap-populate issue
Hello Guys, I have configured samba & ldap as a domain controller before, but never on a redhat 9 system. I have updated samba & ldap as far as i can tell to the latest. Firstly I have a smaller issue (I think) I get this error when trying to restart ldap, as usual I have followed the samba howto; however it's not the documentation that is the problem more so an unusal problem or missing packages on my system. ERROR1: [root@Tini-Svr1 sbin]# service ldap restart Stopping slapd: [FAILED] Starting slapd: Unrecognized database type (bdb) [FAILED] ERROR2: [root@Tini-Svr1 sbin]# ./smbldap-populate -a root -k 0 -m 0 Can't locate Convert/ASN1.pm in @INC (@INC contains: /opt/IDEALX/sbin/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.0/Net/LDAP.pm line 12. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.0/Net/LDAP.pm line 12. Compilation failed in require at /opt/IDEALX/sbin//smbldap_tools.pm line 4. BEGIN failed--compilation aborted at /opt/IDEALX/sbin//smbldap_tools.pm line 4. Compilation failed in require at ./smbldap-populate line 35. BEGIN failed--compilation aborted at ./smbldap-populate line 35. [root@Tini-Svr1 sbin]# As I have said, I don't think this is a configuration problem, more so missing modules or something. Your help & time is appreciated. As well as emailing the lists, can you please send me a personal email to > adrian_au1@hotmail.com Many Thanks, Adrian Sender
paul kölle
2005-Oct-17 10:59 UTC
[Samba] Re: Redhat 9 Samba + LDAP PDC ./smbldap-populate issue
adrian sender wrote:> ERROR1: > > [root@Tini-Svr1 sbin]# service ldap restart > Stopping slapd: [FAILED] > Starting slapd: Unrecognized database type (bdb)So that speaks for itself does it? Your slapd is lacking bdb support, you'll have to bite the bullet and use ldbm.> > ERROR2: > > [root@Tini-Svr1 sbin]# ./smbldap-populate -a root -k 0 -m 0 > Can't locate Convert/ASN1.pm in @INC (@INC contains: /opt/IDEALX/sbin/Install the ASN1 perl module.> > Adrian Sender > >