Changeset 228 for branches/samba-3.2.x/source/lib/smbldap.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/lib/smbldap.c
r141 r228 1024 1024 bool reopen = False; 1025 1025 SMB_ASSERT(ldap_state); 1026 1027 #ifndef NO_LDAP_SECURITY1028 if (geteuid() != 0) {1029 DEBUG(0, ("smbldap_open: cannot access LDAP when not root\n"));1030 return LDAP_INSUFFICIENT_ACCESS;1031 }1032 #endif1033 1026 1034 1027 if ((ldap_state->ldap_struct != NULL) && ((ldap_state->last_ping + SMBLDAP_DONT_PING_TIME) < time(NULL))) {
Note:
See TracChangeset
for help on using the changeset viewer.