From: Paul Wise Date: Tue, 14 Jun 2016 02:29:48 +0000 (+0800) Subject: Fix crash in ud-generate X-Git-Tag: userdir-ldap-0.3.88~8 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ff28c2951f4c1cb84ae8835c917db65f2fe7270f;hp=ff28c2951f4c1cb84ae8835c917db65f2fe7270f;p=mirror%2Fuserdir-ldap.git Fix crash in ud-generate Traceback (most recent call last): File "/usr/bin/ud-generate", line 1498, in ud_generate() File "/usr/bin/ud-generate", line 1481, in ud_generate generate_all(generate_dir, l) File "/usr/bin/ud-generate", line 1229, in generate_all GenDNS(accounts, global_dir + "dns-zone") File "/usr/bin/ud-generate", line 820, in GenDNS if a.is_guest_account(): continue File "/usr/lib/pymodules/python2.7/UDLdap.py", line 91, in is_guest_account return 'guest' in self['supplementaryGid'] File "/usr/lib/pymodules/python2.7/UDLdap.py", line 48, in __getitem__ raise IndexError, "No such key: %s (dn: %s)"%(key, self.dn) IndexError: No such key: supplementaryGid (dn: uid=debtags,ou=users,dc=debian,dc=org) ---