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

WLUS status



everyone's favourit testcase, WLUS, was taken to a pit-stop,
after it displayed obnoxious behaviour, especially since i
had activated the samba integration code which had been untested
and dead for a while.

now i found the coulpit which often lead to "bad header" or
"Error: missing content type" messages. the Name Service Cache
Daemon had helpfully printed out start and stop messanges, which
webmin confused with the http header of the coming webpage.

now, that i after two unhappy days of bug hunting, understood the
problem and fixed it, i will look for potential similar problems
in the quite involved user creation process. but i hope to be
able to release a new and better wlus tomorrow afternoon.

If you look for a challange in the mean time you can look for old
skolelinux installations and try to get hold of an ldif of its
ldap directory. the upgrade_ldap_backend seems to work well so
far, as long as no old backups are left in
/var/backups/ldap/Webmin-Ldap-Upgrade/ directory. In the current
cvs version a little hack avoids that situation alltogether. But
the correctness of the generated ldap database with differnt old
databases as startingpoints could be verified allready.

the manpage describes how the command is used during normal
operation. to test if a given ldif is treated correctly, you can
do this:
/usr/share/webmin/ldap-users/fix_ldif -n -f -o skole.skolelinux.no < /tmp/old.ldif > /tmp/fixed.ldif

/etc/init.d/slapd stop; 
rm -rf /var/lib/ldap/*;     # this will wipe out your old ldap db!
slapadd -v -l /tmp/fixed.ldif;
/etc/init.d/slapd start



Reply to: