|
From: Murray T. <mtr...@ce...> - 2005-11-23 09:17:34
|
Hi Jamie, The module itself works fine when I add a new LDAP user but the script it runs to configure the new user's Linux account after the user is created, broke a few days ago. I am not aware of anything being changed so I'm not sure what caused this problem. The shell script does an "su - $USERADMIN_USER" to become the new user to run gconftool2 and other things. For some reason I started getting an error that the new user I'm su'ing doesn't exist. It appears to be something to do with the name service cache daemon nscd. I have hacked my script to restart nscd from my script before I su to the new user - that fixes the problem for now. As a proper fix, shouldn't the webmin LDAP Users module do a flush of the NSCD cache whenever it adds or removes users to make sure everything is immediately in sync? Thanks Murray |