LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi!
I've successfully joined my 8.04 LTS samba file server to the windows domain. I've read many tutorials like http://www.howtoforge.com/ubuntu-9.0...tive-directory.
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
windomain\ADuser
ADuser@windomain
ADuser


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

Thank you all in advance for your advice.
 
Old 03-15-2010, 06:46 AM   #2
bret381
Member
 
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, 08:38 AM   #3
newk
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 http://anothersysadmin.wordpress.com...n-with-ubuntu/.

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

Login as: ADuser
ADuser@10.0.0.10'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.
 
  


Reply


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 05:21 AM
ADS login with Samba file server ksri07091983 Linux - Server 4 01-22-2008 03:03 AM
how can i login with samba server satishpatel Linux - Software 1 04-25-2004 09:57 AM
nothing can login to Samba server c0c0deuz Linux - Networking 4 11-13-2002 08:50 AM
w2ksp2 login to SAMBA server problem emilio Linux - Networking 0 09-07-2002 05:26 PM


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

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