LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-05-2007, 11:44 AM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Samba Authentication problem?!?!?!


Hiya

I Have configured my samba machine as a member i of Windows AD (win2k3 Machine). All the configuration went on successfully when i execute net ads testjoin i get output as "OK" and i can see my samba machine in AD computers n users. also i get a proper output from wbinfo -u -g. My kerberos tickets are valid. Now the problem im facing

Case1: When i enter the machine name of my samba server in Run Box Of Winxp it is popping up for a user name n pass like Samba/<username> (where Samba = my samba server name) when i enter a valid ADS domain user name it doesnt validate it but when i enter a valid linux user/pass it gets authenticated

Now in Case 2: when im entering the ip address of my samba server in "Run" Box it is asking for TIPTON1/<username (where TIPTON1=my ads name) when i enter a valid user n pass of windows it doesnt authenticate also when i enter a valid user n pass of linux it doesnt authenticate.

The Only Condition when im able to access the samba shares is when i log into winxp with my ADS Domain Profile n try to access teh Samba share from My Network Places><ADS DOMAIN>Samba Domain.

I would like to use all the ADS accounts to authenticate the users and i dont want to use my linux users n passes.

Here is my winbind log >> http://pastebin.ca/726764
my smb.conf >> http://pastebin.ca/728953
my smbd.log >> http://pastebin.ca/726762

Please help me out. Thanks

Last edited by kool_kid; 10-07-2007 at 10:01 AM.
 
Old 10-05-2007, 11:45 PM   #2
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
I can't see your smb.conf.
 
Old 10-07-2007, 09:59 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
i will re re uploading it now
 
Old 10-07-2007, 10:00 AM   #4
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
My Smb.conf file>> http://pastebin.ca/728953
 
Old 10-07-2007, 10:32 PM   #5
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
Ummmm...I think you are supposed to use the ads server option instead of the password server option...
 
Old 10-08-2007, 10:23 AM   #6
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
u want me to comment out password server option? yes im using security = ads
 
Old 10-08-2007, 11:32 AM   #7
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
no...replace "password server" with "ads server"
 
Old 10-08-2007, 04:43 PM   #8
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Thanks for help I did that, now i can login to samba when I enter the the ip of samba machine in the "run" box of Winxp when the username n password window pops up i have to enter the username this way >> "TIPTON1\Manager1" and password where TIPTON1 is my ads server and Manager1 is my ADS user i can login but i would lilke to know why i cannot directly login i.e when the username n password window pops up and i enter the user name n pass (in regular without this way TIPTON1/Manager1), why does it says login unsuccessfull; Am i mssing any option in smb.conf?
 
Old 10-09-2007, 12:06 AM   #9
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
You have to type TIPTON1 because TIPTON1 is your domain... TIPTON1 is part of the username.

In fact, if you just put Manager1, your computer will turn it into COMPUTERNAME\Manager1 which isn't right...it has to be TIPTON1\Manager1...

I hope that makes sense...
 
Old 10-09-2007, 09:47 AM   #10
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Yep got it bro thank you very Much
 
Old 11-06-2007, 10:42 PM   #11
arikamir
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
What version of XP are you using, XP home addition does not support loggin to a domain controller which will cause this prompt.
Windows XP Professional will allow you to authenticate to your ADS (Domain) and pass the credentials to the samba server.
there is a work around for XP home though it require some registry changes
 
  


Reply



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
SAMBA PDC + LDAP Authentication problem gokulnath Linux - Networking 2 02-17-2007 10:06 AM
Samba authentication problem buzzybee73 *BSD 3 11-26-2006 12:53 AM
Samba client authentication problem with konqueror (Only). sadha_123 Linux - Networking 0 03-13-2006 03:45 AM
Samba Authentication Problem Sloppyunderfoot Linux - Networking 0 01-25-2005 10:51 AM
Samba Login/Authentication Problem kenchix1 Linux - Networking 5 10-22-2004 02:29 AM

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

All times are GMT -5. The time now is 06:23 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
Open Source Consulting | Domain Registration