diff options
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r-- | src/libtdeldap.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h index a1369a1..208a43e 100644 --- a/src/libtdeldap.h +++ b/src/libtdeldap.h @@ -186,12 +186,13 @@ class LDAPManager : public TQObject { public: LDAPManager(TQString realm, TQString host, TQObject *parent=0, const char *name=0); + LDAPManager(TQString realm, TQString host, LDAPCredentials* creds, TQObject *parent=0, const char *name=0); ~LDAPManager(); TQString realm(); TQString basedn(); - int bind(); - int unbind(bool force); + int bind(TQString* errstr=0); + int unbind(bool force, TQString* errstr=0); LDAPUserInfoList users(); LDAPGroupInfoList groups(); LDAPMachineInfoList machines(); @@ -207,6 +208,8 @@ class LDAPManager : public TQObject { LDAPCredentials currentLDAPCredentials(); + int moveKerberosEntries(TQString newSuffix, TQString* errstr=0); + private: LDAPUserInfo parseLDAPUserRecord(LDAPMessage* entry); LDAPGroupInfo parseLDAPGroupRecord(LDAPMessage* entry); |