I've been following this bug closely but nothings been done since my mention of it during the upgrade path to 3.0. The following also only happens when a user logs out of the computer. Problem: Failed to open group mapping database Solution to this problem: "chmod 666 group_mapping.tdb" this fixes the problem but creates another with LDAP saying not enough access: ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access) In which there is no solution at the present time... or I haven't found one. I've also got a "User has an invalid RID this should be fixed error" but I think it's related to the above error since the above error does mappings. Thanks in advance=)
Created attachment 391 [details] Log Level 10 of the the issue This is the problem in debug level 10
there's no 'failed to open group...' error in your log. I need more defaults on how to reproduce this and possibly a level 10 debug log.
Created attachment 395 [details] Log of default configuration as requested This log file has the /var/cache/samba/group_mapping.tdb chmoded 600 where the last one had it 666. Also in both cases Administrator is able to login and errors don't show up but when you login with a Power User or Domain User it spits out those errors.
need to surround get_group_from_gid() (called from get_alias_user_groups()) in a become_root() block.
Created attachment 463 [details] patch for get_alias_user_groups() surround get_group_from_gid() in become_unbecome_root() block.
changes applied to 3.0 and HEAD cvs branches.
originally reported against 3.0.3pre1. Moving back to version to 3.0.2a to remove preX and rcX versions.
originally reported against 3.0.3pre2. Moving back to version to 3.0.2a to remove preX and rcX versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup