94 |
94 |
95 AuthDB* create_ldap_authdb(ServerConfiguration *cfg, const char *name, LDAPConfig *conf); |
95 AuthDB* create_ldap_authdb(ServerConfiguration *cfg, const char *name, LDAPConfig *conf); |
96 |
96 |
97 LDAP* get_ldap_session(LDAPAuthDB *authdb); |
97 LDAP* get_ldap_session(LDAPAuthDB *authdb); |
98 |
98 |
99 User* ldap_get_user(AuthDB *sb, char *username); |
99 User* ldap_get_user(AuthDB *sb, const char *username); |
100 |
100 |
101 LDAPGroup* ldap_get_group(LDAPAuthDB *authdb, char *group); |
101 LDAPGroup* ldap_get_group(LDAPAuthDB *authdb, const char *group); |
102 |
102 |
103 int ldap_user_verify_password(User *user, char *password); |
103 int ldap_user_verify_password(User *user, const char *password); |
104 int ldap_user_check_group(User *user, char *group); |
104 int ldap_user_check_group(User *user, const char *group); |
105 void ldap_user_free(User *user); |
105 void ldap_user_free(User *user); |
106 |
106 |
107 #ifdef __cplusplus |
107 #ifdef __cplusplus |
108 } |
108 } |
109 #endif |
109 #endif |