https://bugzilla.wikimedia.org/show_bug.cgi?id=37818

       Web browser: ---
             Bug #: 37818
           Summary: Can't add ssh key for LDAP user who already had
                    developer access
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Subversion
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


I am trying to give SVN commit access to Krenair, who already had an LDAP
listing (made via labsconsole).  I tried to add his ssh key on formey and got
this error:

sumanah@formey:~$ sudo modify-ldap-user --addkeys=/tmp/krenair.txt krenair
There was a general error, this is unexpected; see traceback.
Traceback (most recent call last):
  File "/usr/local/sbin/modify-ldap-user", line 110, in main
    hdm.writeKeys(username, NewPosixData['sshPublicKey'])
  File "/usr/local/lib/user-management/homedirectorymanager.py", line 238, in
writeKeys
    self.writeFile(self.basedir + user + '/.ssh/authorized_keys',
"\n".join(keys) + "\n")
  File "/usr/local/lib/user-management/homedirectorymanager.py", line 408, in
writeFile
    f = open(path, 'w')
IOError: [Errno 2] No such file or directory:
'/home/krenair/.ssh/authorized_keys'

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to