Some users have problem for save a excel file or connect to home directory.
Sometimes the problem occur on profile download from server !!
In log file, we can found the horrible messages :
[2006/09/13 07:45:09, 0] lib/smbldap.c:smbldap_open(1009)
smbldap_open: cannot access LDAP when not root..
Created attachment 2134 [details]
the samba log file of a user which have the problem
This is a log level 10 of a log file when a user try to open a document
The previous version of samba is 3.0.21c.
ldap configuration has been upgraded (sambaSid eq -> sambaSid sub).
Not using winbind, I use nss_ldap and pam_ldap for unix auth.
openLDAP version 2.3
Ok, looks like there are a bunch of pdb_XXX calls in passdb/lookup_sid.c that ar enot correctly wrapped in become_root()/unbecome_root() pairs. I'll fix this.
Created attachment 2135 [details]
Please try this patch. Should apply cleanly to 3.0.23c.
It's seems to work fine.
You can close this bug