Bug 3795 - tl-ldap-certalias doesn't handle missing homedirs when using --simulate
Summary: tl-ldap-certalias doesn't handle missing homedirs when using --simulate
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: 3.1.2
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Peter Åstrand
Depends on:
Reported: 2011-03-31 13:28 CEST by Aaron Sowry
Modified: 2017-06-07 11:08 CEST (History)
0 users

See Also:
Acceptance Criteria:


Description Aaron Sowry cendio 2011-03-31 13:28:34 CEST
If not using --simulate, tl-ldap-certalias skips missing home directories. This should be the behaviour when performing a dry-run too, instead of crashing.
Comment 1 Aaron Sowry cendio 2011-03-31 13:34:08 CEST

Working on cn=tl01,ou=thinlinc,o=NRK_KOM
Traceback (most recent call last):
  File "/opt/thinlinc/sbin/tl-ldap-certalias", line 280, in <module>
    iIiiI1 ( )
  File "/opt/thinlinc/sbin/tl-ldap-certalias", line 177, in iIiiI1
    Oo0oO0oo0oO00 ( lockfilename )
  File "/opt/thinlinc/sbin/tl-ldap-certalias", line 42, in Oo0oO0oo0oO00
    lock = open ( filename , "w+" )
IOError: [Errno 2] No such file or directory: '/home/tl01/.ssh/authorized_keys.lock'

Note You need to log in before you can comment on or make changes to this bug.