LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2008, 03:12 AM   #1
xKintaro
LQ Newbie
 
Registered: Sep 2005
Location: Australia.
Distribution: CentOS
Posts: 25

Rep: Reputation: 15
SAMBA on a Windows Active Directory


LinuxQuestions SAMBA Gurus,

I have a question about SAMBA, and I am not entirely sure if what I want to be done can be done.

My family and I have taken advantage of Active Directory so we can share our PCs easily with a central location for accounts and authentication. We use Windows Server 2003 to do this and this isn't really negotiable by me because I am the only one who uses Linux. The question is basic: Can I get SAMBA to do its authentication with Active Directory?

John.

Last edited by xKintaro; 11-15-2008 at 05:20 AM.
 
Old 11-16-2008, 03:36 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Almost uniquely, a google search on
Quote:
samba active directory
looks to give a whole page full of useful results.
 
Old 11-16-2008, 07:31 PM   #3
xKintaro
LQ Newbie
 
Registered: Sep 2005
Location: Australia.
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 15
I just figured someone here could answer and yes or no question so I'd know if Googleing the SAMBA howtos was a waste of time or not.

I've been using Linux for 9 bloody years now, I don't need documentation even, I just couldn't find it clearly stated on samba.org if they have caught up with ActiveDirectory which is something I know and use as a black box.

Last edited by xKintaro; 11-16-2008 at 07:36 PM.
 
Old 11-23-2008, 05:44 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
xKintaro;

I can't help you with the substance, but salasi was not doing anything wrong. If I don't know something, but the question piques my curiousity, I will often do some Googling and then report that the results looked promising.

Reporting salasi's post was not appropriate.
 
Old 11-23-2008, 05:21 PM   #5
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Yes it is possible, i have setup a connection between a samba server and a AD network in 2001.
 
Old 11-23-2008, 11:30 PM   #6
devan1p
LQ Newbie
 
Registered: May 2006
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by xKintaro View Post
LinuxQuestions SAMBA Gurus,

I have a question about SAMBA, and I am not entirely sure if what I want to be done can be done.

My family and I have taken advantage of Active Directory so we can share our PCs easily with a central location for accounts and authentication. We use Windows Server 2003 to do this and this isn't really negotiable by me because I am the only one who uses Linux. The question is basic: Can I get SAMBA to do its authentication with Active Directory?

John.
Definitely this is possible although you have to work really hard to achieve the result. I have setup Windows 2003 Active Directory (With kerberos authentication) samba and squid. (This is in test mode). Now I can control users accessing internet through squid proxy using their login names instead of ipaddress. (Because of centralized authentication, the user can login from any machine in the lan)

Good Luck...!!!
 
Old 12-18-2008, 09:24 AM   #7
TechnoBod
LQ Newbie
 
Registered: Jan 2003
Distribution: Fedora 14, Centos 6
Posts: 26

Rep: Reputation: 15
Quote:
Definitely this is possible although you have to work really hard to achieve the result. I have setup Windows 2003 Active Directory (With kerberos authentication) samba and squid. (This is in test mode). Now I can control users accessing internet through squid proxy using their login names instead of ipaddress. (Because of centralized authentication, the user can login from any machine in the lan)

Good Luck...!!!
Could you possibly post a any notes you made whilst doing this ??

I've tried googling this exact type of set up but I'm stuck at a certain point.

I can do a kinit username@domain and get a password request. I enter the password, and all suceeds.

When I try to run the "net ads join -S servername.domain.name -U administrator" I get and error saying the kerberos failed to lookup DC for domain whilst trying to obtain credentials, trying to connect via RPC.
 
Old 12-20-2008, 10:22 PM   #8
devan1p
LQ Newbie
 
Registered: May 2006
Posts: 12

Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by TechnoBod View Post
Could you possibly post a any notes you made whilst doing this ??

I've tried googling this exact type of set up but I'm stuck at a certain point.

I can do a kinit username@domain and get a password request. I enter the password, and all suceeds.

When I try to run the "net ads join -S servername.domain.name -U administrator" I get and error saying the kerberos failed to lookup DC for domain whilst trying to obtain credentials, trying to connect via RPC.
I'm sorry for being took this much time to reply. Was a little busy this week. I have the notes I made whilst configuring. How can i attach a pdf file to this thread? Is it possible? if not pm me. I'll send u the doc I have.
 
  


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
LXer: How to Integrate windows Active Directory and Samba in Ubuntu LXer Syndicated Linux News 0 11-12-2008 09:40 AM
Yet another Samba authentication problem with Windows 2003 Active Directory StAlphonzo Linux - Security 1 05-23-2008 02:16 PM
Yet another Samba authentication problem with Windows 2003 Active Directory StAlphonzo Linux - Server 0 05-23-2008 12:36 PM
connecting samba to a windows 2003 active directory domain Jcrofton Linux - Networking 8 09-17-2006 06:07 PM
SAMBA, WINBIND and KERBEROS against Windows 2000 Active Directory mago Linux - Networking 2 07-28-2006 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:12 AM.

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
Open Source Consulting | Domain Registration