From: Jamie C. <jca...@we...> - 2005-09-29 06:11:26
|
Ok, I think I know what the problem is now.. The module is attempting to also update the MySQL and mailbox passwords for the user, but this fails because it is calling the Usermin MySQL and Read Mail modules, which assume the user has a home directory! You may be able to solve this by editing /etc/usermin/changepass/config and changing the mysql=1 line to mysql=0 . - Jamie On Wed, 2005-09-28 at 22:59, Rob Thomas wrote: > Please ignore the orginal error message as I've edited some of the > messages for my domain. But the real default usermin error message is > .... > > Failed to change password : Failed to create /home/{user id}/.usermin > : No such file or directory > > Now even though our users don't have home directories they do have > them set under their account. Confusing I know and not very tidy but > thats the way it used to work. Also, just to highlight again, the > password does in fact get changed even though this message is > displayed. I've set the change password module to use pam instead of > direct file manipulation if that makes any difference. > Cheers > Rob > > On 28 Sep 2005 22:40:23 +1000, Jamie Cameron <jca...@we...> wrote: > > Thanks ... > > Could you tell me what the exact error message that you are seeing is? I > > want to track down where it is coming from, so the wording is > > important.. > > > > - Jamie > > > > On Wed, 2005-09-28 at 22:37, Rob Thomas wrote: > > > Hi Jamie, > > > Yes I'm using the standard Change Passwords module in 1.160. I can > > > also confirm that it happens in 1.150 too but as my colleague didn't > > > tell me users were getting this failure message it could also be > > > happening in previous releases. > > > > > > Cheers for your help on this and the effort you put into Webmin and > > > Usermin, they are really great tools. > > > > > > Rob > > > > > > On 9/28/05, Jamie Cameron <jca...@we...> wrote: > > > > Hi Rob, > > > > This may be a bug that has crept into the 1.160 release of Usermin.. > > > > Are you using the Change Passwords module to do the password change, > > > > or some other module? > > > > > > > > - Jamie > > > > > > > > On 28/Sep/2005 21:00 Rob Thomas wrote .. > > > > > Hi, > > > > > Been using Usermin for a few years now to allow users to change their > > > > > password on our Linux-Samba domain and its been working perfectly. > > > > > However I've just noticed that when using the latest version 1.160 > > > > > that we are getting a failed message .... > > > > > Failed to change {domain name} domain password : Failed to create > > > > > /home/{userid}/.usermin : No such file or directory > > > > > The password is changed ok. I've tracked this down to the fact that > > > > > our users don't have home directories. It looks as though Usermin > > > > > wants to create a .usermin/mailbox in their home directory. Is this > > > > > behaviour by design and can we disable it in some way? I'm also not > > > > > sure which version of Usermin this started happening as someone else > > > > > has been managing the box and the upgrades and didn't notice it. > > > > > If this can't be configured then I guess my option is create the > > users > > > > > home directories. > > > > > Cheers > > > > > Rob > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: > > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > > - > > > > > Forwarded by the Webmin mailing list at > > > > web...@li... > > > > > To remove yourself from this list, go to > > > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > - > > > > Forwarded by the Webmin mailing list at > > web...@li... > > > > To remove yourself from this list, go to > > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > - > > > Forwarded by the Webmin mailing list at > > web...@li... > > > To remove yourself from this list, go to > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > - > > Forwarded by the Webmin mailing list at web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |