diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-02 17:03:13 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-02 17:03:13 -0500 |
commit | fb7be0231c63a621beab13d893ce587c8cdc82fb (patch) | |
tree | c21ddb96181603a99b7098953df8e1cb5f64bea4 /src/libtdeldap.h | |
parent | 732baa0f27c3ee4bc641491d602f849fda2d687c (diff) | |
download | libtdeldap-fb7be0231c63a621beab13d893ce587c8cdc82fb.tar.gz libtdeldap-fb7be0231c63a621beab13d893ce587c8cdc82fb.zip |
Add kerberos rename method for RC setup
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); |