Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-15-2010, 03:39 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 20

Rep: Reputation: 0
Can't login on samba server with AD account

I've successfully joined my 8.04 LTS samba file server to the windows domain. I've read many tutorials like
I used krb5 and winbind and not modern likewise-open.
I had successfully got the ticket for the user under whom I was able to join to AD.
I'm able to get domain controller information with net ads info.

But I can't login to that server through ssh (I'm using Putty at windows XP) with any ADuser credentials.
I've tried

I only get user@'password prompt and access denied.

Thank you all in advance for your advice.
Old 03-15-2010, 07:46 AM   #2
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 78
ssh has nothing to do with Samba. You will have to use a Linux username and password that has been set up on the system.
Old 03-15-2010, 09:38 AM   #3
LQ Newbie
Registered: Sep 2009
Posts: 20

Original Poster
Rep: Reputation: 0
thank you bret381,

but I'm not sure you're right.

What do you mean under linux user name and password for the AD user who is only going to log in on the server for the first time? Do you mean I need to add unix user before logging as active directory user?

But while looking today for a solution I found the following article

After configuring PAM conf files I'm now able to login from XP through ssh (using putty) as below:

Login as: ADuser
ADuser@'s password: active_directory_password

Unfortunately for now I have another questions after joining that server to AD:

1) Where can I find Domain users group. This group is absent from /etc/group.

2) Why did ls -l and sudo (only local unix users are sudoers and Ubuntu doesn't need to look through AD for credentials, as I think ) become very very slow after joining domain?

Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Eee PC 1000 Linux Laptop - Just setup a login account for privacy, now can't login!!! martinkettle Linux - Laptop and Netbook 3 10-28-2008 06:21 AM
ADS login with Samba file server ksri07091983 Linux - Server 4 01-22-2008 04:03 AM
how can i login with samba server satishpatel Linux - Software 1 04-25-2004 10:57 AM
nothing can login to Samba server c0c0deuz Linux - Networking 4 11-13-2002 09:50 AM
w2ksp2 login to SAMBA server problem emilio Linux - Networking 0 09-07-2002 06:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration