On Wed, Feb 02, 2005 at 05:38:00PM +0100, Martin Kurz wrote: > Hello, > We use in our school Skolelinux 1.0, I have regularly updated the server > with apt-get upgrade. > Quite a long time everything works fine, we could create new users, change > passwords (with webmin and the "Skolelinux User administration"). > No I can not create an user account. The error message is: > -- > <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> > > Error; User account not created > --
You need to have debian-edu-config version 0.394-1.desa2004021 or later and you should have samba 3.0.10-0.backports.1 (THis is taken from memory, as I dont have this on my laptop here now). The problems comes because samba expect a new schema for samba. The schema is there if you have added the updated debian-edu-config, but we have not enforced a restart of the ldap server. restarting the ldap server should solve the problem. It may also be necesarry to update some index file, but I dont think so.I would have to investigate if this is needed, But I dont think I needed this when I tested this last time. I will try to find time to test this at a later point. > The package education-main-server has the Version number > 0.764.skolelinux.156, > The package slapd the version 2.0.27.skolelinux.6 > > What can I do? I have tried the following steps: > > I have changed with ldapppasswd the smbadmin-account and changed with > smbpasswd -w the Samba-Admin-Account: > > 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 > > Then: > smbpasswd -w [generated password] > > The result: Nothing changed! The error message is the same. > > My question is: what should I do now? > I thought I can remove slapd and education-main-server and then reinstall > it, but what configuration-files should I save? Have you tried to restart slapd ? If not, please check that the line after # Access to samba attributs ends with: .... sambaAcctFlags,sambaGroupType,sambaPasswordHistory If not the I guess I have to look into this further. -- Finn-Arne Johansen [EMAIL PROTECTED] http://bzz.no/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

