* ud-host: use subprocess.Popen instead of os.popen.
* Use ldap.initialize instead of ldap.open for compatibility with python-ldap 3.2.0.
* ud-fingerserv: fix logging when using ipv6 and inetd
+ * ud-generate: deal with users without loginShell
-- Peter Palfrader <weasel@debian.org> Sat, 06 Apr 2019 22:04:34 +0200
userlist = {}
i = 0
for a in accounts:
+ if 'loginShell' not in a:
+ continue
# Do not let people try to buffer overflow some busted passwd parser.
if len(a['gecos']) > 100 or len(a['loginShell']) > 50: continue