diff options
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r-- | src/libtdeldap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h index ee70ad2..9905eb6 100644 --- a/src/libtdeldap.h +++ b/src/libtdeldap.h @@ -25,6 +25,7 @@ #include <unistd.h> #include <sys/stat.h> #include <ldap.h> +#include <kadm5/admin.h> #include <tqobject.h> #include <tqstring.h> @@ -588,6 +589,8 @@ class LDAPManager : public TQObject { static int unbondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr=0); private: + int bindKAdmin(LDAPUserInfo user, TQString *errstr=0); + int unbindKAdmin(TQString *errstr=0); LDAPUserInfo parseLDAPUserRecord(LDAPMessage* entry); LDAPGroupInfo parseLDAPGroupRecord(LDAPMessage* entry); LDAPMachineInfo parseLDAPMachineRecord(LDAPMessage* entry); @@ -604,6 +607,11 @@ class LDAPManager : public TQObject { TQString m_basedc; LDAPCredentials* m_creds; LDAP *m_ldap; + + // kadmin interface + krb5_context m_krb5admContext; + void* m_krb5admHandle; + char* m_krb5admKeytabFilename; }; #endif // _LIBTDELDAP_H_ |