WebMO - Computational chemistry on the WWW
Recent news

WebMO 18.0 is now available for free download!

WebMO 18.0 Pro and Enterprise have a variety of additional features and is available for purchase.

The WebMO app is now available for iOS and Android.

December 12, 2019

Excessive number of folders corrupt u... Log Out | Topics | Search
Moderators | Edit Profile

WebMO Support Forum » Bug Reports » WebMO Version 17.X » Excessive number of folders corrupt user database record « Previous Next »

Author Message
Thomas Green
Unregistered guest
Posted on Friday, December 22, 2017 - 8:06 am:   

I had a user reporting issues logging in via PAM. There was no entry in /var/log/secure so something was stopping it working early on (other users were logging in fine). Having used debug statements in the code I found that it was failing when reading the user profile and finding out whether it had External Authentication set for the user. Dumping out the contents of the users.db I could see what every entry in the user's profile after the folder entry was corrupt. I noticed there is a fixed 2048 character size for the profile so lots of folders could reduce the size available for other entries. I think the size of folders should be restricted to allow the database to be able to be consistent and all entries written.
JR Schmidt
Username: Schmidt

Post Number: 585
Registered: 11-2006
Posted on Friday, December 22, 2017 - 10:08 am:   

Thomas, could use send me an example / snippet of that entry on the users.db file? I've never seen this happen before -- at worst, I would expect a folder name to get truncated!
Thomas Green
Unregistered guest
Posted on Tuesday, January 02, 2018 - 8:15 am:   


Thanks for looking into this and happy new year!

Would you like this information posted here or sent via email somewhere?

Add Your Message Here
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration