LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2005, 04:28 AM   #1
Daniboy
Member
 
Registered: May 2005
Posts: 64

Rep: Reputation: 15
Samba auth problem


Hello all

Im currently experiencing problems with checktin user/pass against an ADS...

smbclient -U'user' -L DOMAIN

have no problems at all and works perfectly... I think
Same goes for

smbclient -U'user' -L LOCALHOST

however if i try from a normal windows XP client which already have been authenticated as a proper user for this resource I can read the following in the samba log...

[2005/09/19 11:22:11, 0] auth/auth_util.c:make_server_info_info3(1195)
make_server_info_info3: pdb_init_sam failed!
[2005/09/19 11:22:11, 5] auth/auth.c:check_ntlm_password(271)
check_ntlm_password: winbind authentication for user [edb] FAILED with error NT_STATUS_NO_SUCH_USER
[2005/09/19 11:22:11, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [edb] -> [edb] FAILED with error NT_STATUS_NO_SUCH_USER

If anyone got any suggestions or clues plz post witg replys or questions
 
Old 09-19-2005, 06:19 AM   #2
Daniboy
Member
 
Registered: May 2005
Posts: 64

Original Poster
Rep: Reputation: 15
Problem solved...

it seamed I joined the domain the wrong way...
Security was set to ADS and I used "net rpc join bla bla" after I tryid "net ads join -S server -U blabla" everything seamed to work perfectly...
 
Old 09-19-2005, 10:41 AM   #3
mrog
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Debian, Ubuntu
Posts: 39

Rep: Reputation: 15
With windows XP, the computer name also needs to be added to Samba.

Try:

smbpasswd -a -m [computer name]

Then set up XP to join the domain. You will need to join the domain as root when prompted.

If successful, you should get a message that says something like "Welcome to [domain name]".
 
Old 09-19-2005, 10:58 AM   #4
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
As an added feature, I've put the line below in my smb.conf file to automatically add the machine name whenever I try to join the domain from an XP machine. It will put the machines in a group called Machines. Hope this helps!

add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u


Travis
 
Old 09-19-2005, 01:19 PM   #5
Daniboy
Member
 
Registered: May 2005
Posts: 64

Original Poster
Rep: Reputation: 15
The server was running as a Domain member server...

now everything seams to work perfect... ty all
 
Old 09-19-2005, 02:50 PM   #6
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Ahh. Okie dokey. Well you're welcome from all of us. (Even though I didn't do much. ) Come back whenever you need anything else!

Travis
 
  


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
Samba 3.0.10 getting Auth failure chrisjasp Linux - Networking 0 10-11-2005 05:02 PM
Samba intermitted auth problems Bilb Linux - Networking 3 09-20-2005 02:08 AM
samba - auth problems from local and MS Workstations lappen Linux - Software 2 08-03-2005 04:59 PM
Samba Intermitted Auth Problems Bilb Linux - Networking 3 07-07-2005 03:25 AM
Need help w/Samba & PAM Auth DocJones Linux - Software 3 05-14-2003 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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