[Bug 1332203] Re: autofs5-ldap regularly crashes after long periods of time
Paul Kilgo
paulkilgo at gmail.com
Thu Jun 26 14:21:21 UTC 2014
Just to make sure all the information is together, I noticed earlier
there was a piece of a log message in that stack trace I posted. I tried
to see what I could do to piece together part of it:
"%s: lookup(ldap): query failed for search dn %s: %s"
became
"Invalid DN syntax: lookup(ldap): query failed for search dn %s: %s"
I was unable to get the other two substitutions since it's difficult to
pull information out of the va_list. I have a suspicion that one of them
may be an empty string or NULL. That may all be site-specific problems,
but I grepped through the autofs5 code and saw that message corresponds
to line 396 of `modules/lookup_ldap.c`:
395 error(logopt,
396 MODPREFIX "query failed for search dn %s: %s",
397 this->basedn, ldap_err2string(rv));
which is the error handling side of an ldap_search_s call:
374 rv = ldap_search_s(ldap, this->basedn,
375 scope, query, attrs, 0, &result);
I don't have the debug symbols for lookup_ldap.so so I'm unable to go
much further than this.
In the meantime we are also running automount through strace (per bug
Bug #593603 but with `strace -f`) to see if we can figure out what that
log message is.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/1332203
Title:
autofs5-ldap regularly crashes after long periods of time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/1332203/+subscriptions
More information about the Ubuntu-server-bugs
mailing list