[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Problem with wlus after installing sarge-rc1



> -----Original Message-----
> From: RalfGesellensetter [mailto:rgx@gmx.de] 
> Sent: Monday, February 13, 2006 10:26 PM
> To: debian-edu@lists.debian.org
> Subject: Re: Problem with wlus after installing sarge-rc1
> 
> 
> Am Montag 13 Februar 2006 21:10 schrieb Jürgen Leibner:
> > Would you please be so kind and give me a step by step example for
> > doing it right?
> 
> Hello Juergen,
> 
> question: Did you try to create a samba-password for root with 
> 
> smbpasswd -w? This is said to be buggy, 
> http://www.skolelinux.de/postinstall.html recommends to use
> 
> smbpasswd root.
> 

First I tried it in wlus.
Then I used smbpasswd -w with no errors but wlus doesn't accept the user
creation.

After reading the page you pointed to above, I tried:

#tdbdump /var/lib/samba/secrets.tdb
{
key = "SECRETS/SID/TJENER"
data =
"\01\04\00\00\00\00\00\05\15\00\00\00\A4\A7\B7\D7\8F\FA\EE\10@z\1E%\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\
00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
}
{
key = "SECRETS/SID/SKOLELINUX"
data =
"\01\04\00\00\00\00\00\05\15\00\00\00\A4\A7\B7\D7\8F\FA\EE\10@z\1E%\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\
00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
}
{
key =
"SECRETS/LDAP_BIND_PW/cn=smbadmin,ou=People,dc=skole,dc=skolelinux,dc=no"
data = "root\00"
} 
tjener:/etc/samba# mv /var/lib/samba/secrets.tdb
/var/lib/samba/secrets.tdb.old
tjener:/etc/samba# smbpasswd root
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP server failed for the 1 try!
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb

Ok, thats ok because there is no secrets.tdb anymore ;-)

tjener:/etc/samba# smbpasswd root
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP server failed for the 1 try!
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP server failed for the 2 try!
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP server failed for the 3 try!
....

At least I set my hope on:

tjener:/etc/samba# ldappasswd -x -ZZ -D
cn=admin,ou=people,dc=skole,dc=skolelinux,dc=no -W \
>  cn=smbadmin,ou=people,dc=skole,dc=skolelinux,dc=no -s compaq
Enter LDAP Password:
Result: Success (0)

Then I used wlus to create my first user: It works!

Please give comments!

Regards
Jürgen




Reply to: