diff options
author | Timothy Pearson <[email protected]> | 2016-09-04 22:14:57 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2016-09-04 22:15:07 -0500 |
commit | 2faf4b1c40259f680a408101a72d807e9fb4a5d7 (patch) | |
tree | 33555e4c213907a26e0a72e43075c33ee2c95452 | |
parent | cc41b404ca503907062890ac10d9eb33a8147f58 (diff) | |
download | libtdeldap-2faf4b1c40259f680a408101a72d807e9fb4a5d7.tar.gz libtdeldap-2faf4b1c40259f680a408101a72d807e9fb4a5d7.zip |
Add missing object classes during user creation
-rw-r--r-- | src/libtdeldap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index 9d8cf3d..e98f362 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -1934,7 +1934,7 @@ int LDAPManager::addUserInfo(LDAPUserInfo user, TQString *errstr) { i=0; create_single_attribute_operation(mods, &i, "uidNumber", TQString("%1").arg(user.uid)); create_single_attribute_operation(mods, &i, "gidNumber", TQString("%1").arg(user.primary_gid)); - create_multiple_attributes_operation(mods, &i, "objectClass", TQStringList::split(" ", "inetOrgPerson krb5Realm krb5Principal krb5KDCEntry emsUser posixAccount")); + create_multiple_attributes_operation(mods, &i, "objectClass", TQStringList::split(" ", "inetOrgPerson krb5Realm krb5Principal krb5KDCEntry emsUser posixAccount tdeExtendedUserData tdeAccountObject")); create_single_attribute_operation(mods, &i, "uid", user.name); create_single_attribute_operation(mods, &i, "cn", user.commonName); create_single_attribute_operation(mods, &i, "sn", user.surName); |