The Samba-Bugzilla – Bug 9115
secrets.ldb: missing attribute after joining with "net ads join" (causing winbind error)
Last modified: 2012-08-22 20:08:55 UTC
The winbind service lookups secret entries in secrets.ldb using a filter similar to "(&(objectClass=blabla)(flatname=myfastmachine))". The problem is that although "flatname" is present in the DN, it is not set in the actual record.
Setting it solves the issue.