userdir-ldap (0.3.87) UNRELEASED; urgency=medium
+ [ Peter Palfrader ]
* remove dnsZoneEntry from restricted attributes to match config on db.d.o
* ssh keys: Also accept ed25519 keys. RSA keys must be at least 2k.
* ud-useradd: now does usergroups by default.
* ud-guest-upgrade: add.
+ [ Paul Wise ]
+ * Update ud-ldapshow and cleanup cruft around the usergroups changes
+
-- Peter Palfrader <weasel@debian.org> Wed, 28 Oct 2015 22:03:42 +0100
userdir-ldap (0.3.86) unstable; urgency=medium
return False
-#def IsGidDebian(account):
-# return account['gidNumber'] == 800
-
# See if this user is in the group list
def IsInGroup(account, allowed, current_host):
# See if the primary group is in the list
accounts_disabled = GenDisabledAccounts(accounts, global_dir + "disabled-accounts")
accounts = filter(lambda x: not IsRetired(x), accounts)
- #accounts_DDs = filter(lambda x: IsGidDebian(x), accounts)
CheckForward(accounts)
print "%s: %s" % (EmailAddress(x),I);
if arguments[0] == "devcount":
- Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,"(&(keyFingerPrint=*)(gidNumber=800))",\
+ Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,"(&(keyFingerPrint=*)(supplementaryGid=Debian))",\
["uid"]);
Count = 0;
for x in Attrs:
if arguments[0] == "echelon":
Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,\
- "(&(|(activity-pgp=*)(activity-from=*))(&(keyFingerPrint=*)(gidNumber=800)))",\
+ "(&(|(activity-pgp=*)(activity-from=*))(&(keyFingerPrint=*)(supplementaryGid=Debian)))",\
["activity-pgp","activity-from"]);
Count = 0;
PGPCount = 0;
if arguments[0] == "missing":
Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,\
- "(&(!(|(activity-pgp=*)(activity-from=*)))(&(keyFingerPrint=*)(gidNumber=800)))",\
+ "(&(!(|(activity-pgp=*)(activity-from=*)))(&(keyFingerPrint=*)(supplementaryGid=Debian)))",\
["uid","cn","sn","mn"]);
Attrs.sort();
for x in Attrs:
ech_errorlog = "/org/db.debian.org/mail/Log/ech-errors.log"
ech_mainlog = "/org/db.debian.org/mail/Log/ech.log"
-# User properties
-defaultgid = 800;
-
# For the output generator
generatedir = "/var/cache/userdir-ldap/hosts/";
passdir = "/etc/userdir-ldap/";
GenerateDir = ConfModule.generatedir;
AllowedGroupsPreload = ConfModule.allowedgroupspreload;
HomePrefix = ConfModule.homeprefix;
-DefaultGID = ConfModule.defaultgid;
TemplatesDir = ConfModule.templatesdir;
PassDir = ConfModule.passdir;
Ech_ErrorLog = ConfModule.ech_errorlog;