You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
544 B

#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();
};