From 94daca1054ff149228a914e095739433deb6e175 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 25 Dec 2007 13:09:22 +0100 Subject: [PATCH] ud-roleadd: fix role account creation. ud-roleadd tried to put the new ldap entry - among other objectClasses - into inetOrgPerson, which caused it to be rejected by openldap. --- debian/changelog | 4 +++- ud-roleadd | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index e4c8bc7..fd610c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,10 @@ userdir-ldap (0.3.15+xxx) XXunstable; urgency=low * Change the build dependency on debhelper to be versioned >= 5. * Change Build-Depends-Indep to Build-Depends. * Change the build dependency on python-support to be versioned >= 0.3. + * ud-roleadd: Do not try to make role accounts of objectClass + inetOrgPerson, that doesn't work. - -- Peter Palfrader Tue, 25 Dec 2007 11:35:19 +0100 + -- Peter Palfrader Tue, 25 Dec 2007 13:08:50 +0100 userdir-ldap (0.3.15) unstable; urgency=low diff --git a/ud-roleadd b/ud-roleadd index b04bba8..5dea2dc 100755 --- a/ud-roleadd +++ b/ud-roleadd @@ -96,7 +96,7 @@ sys.stdout.flush() Details = [("uid",account), ("objectClass", - ("top","inetOrgPerson","debianAccount","shadowAccount","debianRoleAccount")), + ("top","debianAccount","shadowAccount","debianRoleAccount")), ("uidNumber",str(uidNumber)), ("gidNumber",str(gidNumber)), ("gecos",cn+",,,,"), -- 2.20.1