blob: 0b1a096c25ad17e76a402821b56a41e17d30b4da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "ldap1.h"
class LDAPUser : public CLDAP {
public:
inline LDAPUser( const std::list<mystring>& host, FILE *fp, const mystring& binddn, const mystring& bindpasswd) :
CLDAP( host, fp, binddn, bindpasswd) {};
mystring getGidByUserName( const mystring &str);
stringSet getGroupsByUserName( const mystring &str, const mystring &gid);
mystring getGroupByGid( const mystring &str);
stringMap getAttribsByUserName( const mystring &userName, const stringSet attribs);
stringSet getUserNames();
stringSet getGroupNames();
};
|