Help needed Integrating Active Directory with Ubuntu 9.04 Server

Discussion in 'Server Operation' started by erpeterson, Nov 25, 2009.

  1. erpeterson

    erpeterson New Member

    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.

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

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

    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 port 2238 ssh2

Share This Page