[Samba] smbpasswd -w not working

Adi Nugraha adi at westindo.co.id
Tue Dec 28 04:57:12 GMT 2004


already solved that, seems the smbpasswd file I copied from other samba
version needs to be directed to the smb.conf , now the smbldap-populate
scripts doesn't work, with an error message like this :

[root at unicorn sbin]# ./smbldap-populate.pl
Can't locate Convert/ASN1.pm in @INC (@INC contains: /var/lib/samba/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 11.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.0/Net/LDAP.pm line 11.
Compilation failed in require at /var/lib/samba/sbin//smbldap_tools.pm line
5.
BEGIN failed--compilation aborted at /var/lib/samba/sbin//smbldap_tools.pm
line 5.
Compilation failed in require at ./smbldap-populate.pl line 34.
BEGIN failed--compilation aborted at ./smbldap-populate.pl line 34.

anyone know what to do about this????
----- Original Message -----
From: "Adi Nugraha" <adi at westindo.co.id>
To: <samba at lists.samba.org>
Sent: Tuesday, December 28, 2004 8:39 AM
Subject: Re: [Samba] smbpasswd -w not working


>
> ----- Original Message -----
> From: "Adi Nugraha" <adi at westindo.co.id>
> To: <samba at lists.samba.org>
> Sent: Tuesday, December 28, 2004 8:29 AM
> Subject: [Samba] smbpasswd -w not working
>
>
> > Hi,
> >
> > I'm tyrying to set up a Samba PDC with LDAP backend, i followed the
> > excellent samba guide on the chapter making users happy, the problem is
> > according to the guide when I execute the smbpasswd -w "secret" command,
> the
> > expected outcome is
> > Setting stored password for "cn=Manager,dc=abmas,dc=biz" in secrets.tdb
> >
> > but what i get is
> >
> > Setting stored password for "" in secrets.tdb
> >
> > can anyone tell me what's wrong, I checked and rechecked the smb.conf
and
> > slapd.conf and ldap.conf, there is nothing wrong, (at least according to
> the
> > guide), please help me with this, I've been stuck trying to solve this
for
> > weeks now any hint is greatly appreciated, thanks in advance
> >
> >
>
> sorry forgot my specs info,
> Mandrake Linuc 9.1
> samba 3.0.9
> openldap2.2.17 stable
>
> also there is no pam_unix2.so module in my linux installation, there is
> pam_unix.so though,  can anyone help me,
>
>
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list