UDLdap.py: more useful exception if our array assumptions are violated
PEP-8-ify a bit Not done yet, but this is much better already. Should be no functional changes
Typo
Fix crash in ud-generate Traceback (most recent call last): File "/usr/bin/ud-generate", line 1498, in <module> 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)
Fix is_guest_account for the usergroups transition Prevents guest accounts from using debian-private and debian.net
disable dnsZoneEntry and privateSub for guest accounts Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
UDLdap.py: make a cache for __getitem__() decisions.
Handle capital {CRYPT} in userpasswd
no userpassword means locked.
Teach ud-generate about host ACLs that expire
A class shouldn't write to stderr on error, it should throw an exception
Get rid of global variable PasswdAttrs
GenDNS
GenPasswd
GenShadow
Do not forget that passwords start with {crypt}
GenShadowSudo
GenSSHShadow
fix not-array-value-but-multiple-values check
GenGroup partially