VPAC/django-placard — Issue #3: gen_shadow fails when no password present
Author: sorrison
Created: 2012-02-15 22:17:26+00:00
State: open

help:~# kg-manage gen_shadow
...
Good output
...
Traceback (most recent call last):
File "/usr/sbin/kg-manage", line 8, in
execute_manager(settings)
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/usr/lib/pymodules/python2.6/placard/management/commands/gen_shadow.py", line 31, in handle
p = u.userPassword
AttributeError: 'LDAPUser' object has no attribute 'userPassword'