Latest LQ Deal: Latest LQ Deals
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 12-06-2011, 12:25 PM   #1
LQ Newbie
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Active Directory authentication not working with Samba shares

I have a minimal install of centos and I am trying to set up a few Samba shares with active directory authentication. I joined to the domain without a problem but when I try to access the shares from a domain windows vista box I basically get an access denied. I open up windows explorer and punch in the path "\\computername\testshare" and it pops up with a username and password window that never accepts my credentials. I am able to obtain a kerberos ticket from the domain. A former employee had setup our current Samba server so I have had a working samba server to go off. I have basically mirrored the smb.conf, nsswitch.conf, krb5.conf and anything else I can get my hands on from the working Samba box. I feel like I am close just missing one little step. It is acting like the Samba box isnt authenticating domain credentials like it should be. I should be able to open up windows explorer and type "\\computername\" and it should return all of the shares available but it asks me for my credentials instead.

Has anybody ran into this before?


I figured out my problem, I removed the Samba server from the domain and added it back. Now it is working as advertised.

Last edited by PICKLES22; 12-06-2011 at 01:22 PM. Reason: Solved my own issue
Old 12-07-2011, 12:07 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Glad to see you have figured it out! Replying to take this off of the zero reply list.




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
PAM Active Directory user authentication for Samba shares in RHEL 4 rockfx01 Linux - Server 3 12-02-2008 01:02 PM
Getting pam working with samba (with active directory authentication) kcorupe Linux - Server 3 05-02-2008 10:04 AM
Active Directory integration on Samba shares Ziggie Linux - Enterprise 7 10-22-2007 07:58 AM
Samba with Active Directory authentication Ziggie Linux - Enterprise 5 02-02-2006 07:43 AM
Samba Active Directory Authentication zenix Linux - Networking 1 09-17-2005 04:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 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