src/server/daemon/ldap_auth.c

changeset 91
fac51f87def0
parent 89
5eecce5314d6
child 97
09fbefc0e6a9
equal deleted inserted replaced
90:279f343bbf6c 91:fac51f87def0
38 38
39 static void ws_ldap_close(LDAP *ldap) { 39 static void ws_ldap_close(LDAP *ldap) {
40 #ifdef SOLARIS 40 #ifdef SOLARIS
41 ldap_unbind(ldap); 41 ldap_unbind(ldap);
42 #else 42 #else
43 ldap_unbind_ext_s(ld, NULL, NULL); 43 ldap_unbind_ext_s(ldap, NULL, NULL);
44 #endif 44 #endif
45 } 45 }
46 46
47 AuthDB* create_ldap_authdb(char *name, LDAPConfig *conf) { 47 AuthDB* create_ldap_authdb(char *name, LDAPConfig *conf) {
48 LDAPAuthDB *authdb = malloc(sizeof(LDAPAuthDB)); 48 LDAPAuthDB *authdb = malloc(sizeof(LDAPAuthDB));

mercurial