I also just installed the newest version from likewise.com on my Ubuntu
10.04, and the problem seems to have been resolved.

Running sshd with LogLevel DEBUG showed that I was authenticated through 
likewise and mapped to a seemingly correct uid, but when trying to utilize the 
uid after the SSH session had been established, e.g. when displaying lastlog, 
the uid and username could not be found by the system (wtf?!).
Using "getenv passwd <uid>" showed that the user did exist on the system... 
weird.

I have attached the output from "lsassd --loglevel debug" with one login
attempt - enjoy ;-)

Anyway, this is what I did to install the newest likewise version:

Install the software:
        wget 
http://www.likewise.com/bits/6.0/8388/LikewiseOpen-6.0.0.8388-linux-amd64-deb.sh
        chmod +x LikewiseOpen-6.0.0.8388-linux-amd64-deb.sh
        sudo ./LikewiseOpen-6.0.0.8388-linux-amd64-deb.sh
Append the likewise bin-directory to PATH in /etc/environment:
        
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/likewise/bin:/opt/likewise/sbin"
To make the PATH work for sudo also, you need to set secure_path in 
/etc/sudoers:
        Defaults        env_reset
        Defaults        
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/opt/likewise/bin:/opt/likewise/sbin
(the default secure_path is described in /usr/share/doc/sudo/OPTIONS)


** Attachment added: ""lsassd --loglevel debug" with a single (failed) login 
attempt via SSH (connection closed immediately)"
   
https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/567473/+attachment/2366053/+files/lsassd.debug.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/567473

Title:
  Can't login with domain account via ssh in Lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/567473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to