View Single Post
  #1  
Old 25th November 2009, 02:39
erpeterson erpeterson is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help needed Integrating Active Directory with Ubuntu 9.04 Server

I have a Ubuntu 9.04 Samba server that needs to provide shares to XP users via Active Directory credentials.
So far I've worked through all the steps outlined in the tutorial
Ubuntu 9.04 Samba Sever Integrated with Active Directory
but have hit a snag at the end.
All attempts to login to the Samba server via ssh with AD credentials fail.
From my other research (the O'Reilly book "Using Samba") it seems there are some additional steps needed to configure PAM and Domains, but I'm having trouble figuring out what changes need to be made. The winbind authentication modules are not getting called.
My application would have users logon to the server just to create their directory structure there, then access the shares from XP.

Any help would be appreciated.
Thanks,
Eric

=========What works:===========
ntpdate <server>
net ads testjoin
klist
wbinfo -p
wbinfo -t
wbinfo -a "<domain>\erpeterson%<password>"
getent passwd "<domain>\erpeterson"

=========What does not work:===========
$ ssh -l '<domain>\erpeterson' 192.168.1.106
<domain>\erpeterson@192.168.1.106's password:
Permission denied, please try again.
<domain>\erpeterson@192.168.1.106's password:
Permission denied, please try again.
<domain>\erpeterson@192.168.1.106's password:
Permission denied (publickey,password).

**/var/log/auth.log***
Nov 24 19:27:45 tedstestsvr sshd[2754]: pam_unix(sshd:auth):authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.1.
102 user=<domain>\erpeterson
Nov 24 19:27:48 <server> sshd[2754]: Failed password for <domain>\\erpeterson from 192.168.1.102 port 2238 ssh2
Reply With Quote
Sponsored Links