smbldap_open: cannot access LDAP when not root.. + patch

Дейтер Александр Валерьевич tiamat at komi.mts.ru
Wed Oct 8 08:28:35 GMT 2003


here is a small patch for "smbldap_open: cannot access LDAP when not root.."
error.
Apply to CVS SAMBA_3_0

P.S. Howto reproduce this error:

login to domain member workstation as Domain User (not administrator or
member Domain Admins group!). Open properties any file/folder, select
security, add any domain group and click OK. This take error: "Group not
found". In samba logs:

[2003/10/06 17:55:01, 0, effective(2019, 2513), real(0, 0)]
lib/smbldap.c:smbldap_open(799)
  smbldap_open: cannot access LDAP when not root..
[2003/10/06 17:55:01, 1, effective(2019, 2513), real(0, 0)]
lib/smbldap.c:smbldap_retry_open(888)
  Connection to LDAP Server failed for the 1 try!
[2003/10/06 17:55:01, 0, effective(2019, 2513), real(0, 0)]
passdb/pdb_ldap.c:ldapsam_setsamgrent(2066)
  ldapsam_setsamgrent: LDAP search failed: Insufficient access
[2003/10/06 17:55:01, 0, effective(2019, 2513), real(0, 0)]
passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2131)
  ldapsam_enum_group_mapping: Unable to open passdb

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-aa
Type: application/octet-stream
Size: 2196 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20031008/c93a4c57/patch-aa.obj


More information about the samba-technical mailing list