dbus and LDAP woes resolvedTuesday, May 29. 2007Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I'm not clear on what you disabled and enabled. Could you please clarify?
Thanks! This is driving me nuts.
Sorry for not being clear.
All the enabled comments are in the second paragraph from the listing of /etc/ldap.conf, hence, by placing a # in front of the following lines I disabled them: nss_reconnect_tries 4 # number of times to double the sleep time nss_reconnect_sleeptime 1 # initial sleep value nss_reconnect_maxsleeptime 16 # max sleep value to cap at nss_reconnect_maxconntries 2 # how many tries before sleeping I then enabled the equivalent lines in the third paragraph , i.e. the following lines were enabled by deleting the # at the start of each line: #nss_reconnect_tries 1 # number of times to double the sleep time #nss_reconnect_sleeptime 1 # initial sleep value #nss_reconnect_maxsleeptime 1 # max sleep value to cap at #nss_reconnect_maxconntries 3 # how many tries before sleeping I hope that helps!
I just had one of these events myself. Another step to take is to make sure nsswitch.conf has "files ldap" and not ldap first.
The root cause for this problem is that dbus-daemon uses getgrouplist(2) to retrieve a list of groups for all the users in the policy files. This is nonsense: groups are not needed at this time at all, so the should not be retrieved in the first place. They can be retrieved later, when they are needed for authorization decisions. That would also take care of the fact that group memberships change as naming services become available during boot or when LDAP contents change. So someone really has to fix the logic of dbus-daemon.
|
Calendar
Blog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||