From: Peter Palfrader Date: Tue, 25 Dec 2007 12:09:22 +0000 (+0100) Subject: ud-roleadd: fix role account creation. X-Git-Tag: userdir-ldap-0.3.16~33 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=94daca1054ff149228a914e095739433deb6e175 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. --- 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+",,,,"),