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

Re: problem creating user(s) with wlus 1.3-7



On Sat, May 29, 2004 at 10:22:13PM +0200, Frank Weißer wrote:
> Hi folks!
> Got a problem creating user(s) with wlus 1.3-7.
> I installed skolelinux rc2 (at home and at work), then did daily apt-get
> update/upgrade.for about a week.
> Then i wanted to get me a user-account (yes, i logged in as root that week)
> and tried adding an admin-user Frank Weißer, Secret2U, with wlus, using the
> root-password to create. Result:
> 
> <p>Failed to update ldap admin passwd in samba.<br>This function is turned off
> for security reasons.</p><p>Please set the password for your samba -'ldap
> admin dn' via 'smbpasswd -w yourpassword'"</p>

hmm, I think that is a bug, I think what's missing is the samba root
account password, or more specific, the account for the samba root
account. 

> Error; User account not created
> Then tried 'smbpasswd -w other4SMB', and tried again, same user-data, using
> other4SMB to create. Result:
> Could not bind to ldap server! LDAP_INVALID_CREDENTIALS: The wrong password
> was supplied or the SASL credentials could not be processed

What I suggest, as you have yet failed to add any users to you ldap, is do an
 apt-get update
 apt-get dist-upgrade

then stop your ldap-server with 
 /etc/init.d/slapd stop

then remove your old ldap tree
 rm /var/lib/ldap/*

then set up your ldap again, with: 
 /usr/bin/ldap-debian-edu-install

then you should be able to add users to your ldap tree

oh btw, if you plan to add samba clients, (win2k, winXP) to your
installation, you will have to set the samba root account password with 
 smbpasswd root

-- 
Finn-Arne Johansen 
faj@bzz.no
http://bzz.no/



Reply to: