summaryrefslogtreecommitdiffstats
path: root/src/libtdeldap.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-04 17:04:33 -0500
committerTimothy Pearson <[email protected]>2012-06-04 17:04:33 -0500
commit57baf9d81118cef9131f8a0ba2aab9b9fccfeb3c (patch)
tree0baa1a4b1c0bf6850763c8b75ff8b43a7a9d1ab0 /src/libtdeldap.h
parent50a7026e7f9c5ab6738e0ed0445a9aaef7141d68 (diff)
downloadlibtdeldap-57baf9d81118cef9131f8a0ba2aab9b9fccfeb3c.tar.gz
libtdeldap-57baf9d81118cef9131f8a0ba2aab9b9fccfeb3c.zip
Update library for CLI use
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r--src/libtdeldap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h
index f501f29..eb9aceb 100644
--- a/src/libtdeldap.h
+++ b/src/libtdeldap.h
@@ -29,6 +29,8 @@
#include <tqdatetime.h>
#include <tqvaluelist.h>
+#include <ksimpleconfig.h>
+
#define DEFAULT_IGNORED_USERS_LIST "avahi,avahi-autoipd,backup,bin,colord,daemon,games,gnats,haldaemon,hplip,irc,klog,landscape,libuuid,list,lp,mail,man,messagebus,news,ntp,polkituser,postfix,proxy,pulse,root,rtkit,saned,sshd,statd,sync,sys,syslog,timidity,usbmux,uucp,www-data"
// Values from hdb.asn1
@@ -220,7 +222,7 @@ class LDAPManager : public TQObject {
LDAPGroupInfoList groups();
LDAPMachineInfoList machines();
LDAPUserInfo getUserByDistinguishedName(TQString dn);
- LDAPGroupInfo getGroupByDistinguishedName(TQString dn);
+ LDAPGroupInfo getGroupByDistinguishedName(TQString dn, TQString *errstr=0);
int updateUserInfo(LDAPUserInfo user);
int updateGroupInfo(LDAPGroupInfo group);
int addUserInfo(LDAPUserInfo user);