[Da-tools-commits] r349 .: ud-roleadd: fix role account creation.

Peter Palfrader peter at palfrader.org
Tue Dec 25 12:09:22 UTC 2007


------------------------------------------------------------
revno: 349
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Tue 2007-12-25 13:09:22 +0100
message:
  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.
modified:
  debian/changelog
  ud-roleadd
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-12-25 10:36:47 +0000
+++ b/debian/changelog	2007-12-25 12:09:22 +0000
@@ -8,8 +8,10 @@
   * 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 <weasel at debian.org>  Tue, 25 Dec 2007 11:35:19 +0100
+ -- Peter Palfrader <weasel at debian.org>  Tue, 25 Dec 2007 13:08:50 +0100
 
 userdir-ldap (0.3.15) unstable; urgency=low
 

=== modified file 'ud-roleadd'
--- a/ud-roleadd	2007-08-11 18:18:34 +0000
+++ b/ud-roleadd	2007-12-25 12:09:22 +0000
@@ -96,7 +96,7 @@
 
 Details = [("uid",account),
            ("objectClass",
-            ("top","inetOrgPerson","debianAccount","shadowAccount","debianRoleAccount")),
+            ("top","debianAccount","shadowAccount","debianRoleAccount")),
            ("uidNumber",str(uidNumber)),
            ("gidNumber",str(gidNumber)),
            ("gecos",cn+",,,,"),



More information about the Da-tools-commits mailing list