LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 01-30-2006, 01:23 PM   #1
Ziggie
Member
 
Registered: Nov 2005
Distribution: Red Hat AS 3
Posts: 49

Rep: Reputation: 15
Samba errors with ADS authentication


Hi.

I've configured samba to use LDAP authentication to an Active Directory Domain Controller. The eventual goal is to be able to authenticate users through the domain controller and have them be able to access the Samba shares, but only once they've authenticated.

Whenever I try to access the samba share, however, I get a box that pops up asking for a username and password. The error I get in the samba log is:

Quote:
[2006/01/30 14:21:03, 2] smbd/reply.c:reply_special(235)
netbios connect: name1=CRASH name2=CJOHNSON
[2006/01/30 14:21:03, 2] smbd/reply.c:reply_special(242)
netbios connect: local=crash remote=cjohnson, name type = 0
[2006/01/30 14:21:03, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/30 14:21:03, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username AMCOLOR\chad is invalid on this system
[2006/01/30 14:21:03, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/30 14:21:03, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username AMCOLOR\chad is invalid on this system
[2006/01/30 14:21:03, 2] smbd/server.c:exit_server(571)
Closing connections
[2006/01/30 14:21:03, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/30 14:21:04, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username AMCOLOR\chad is invalid on this system
[2006/01/30 14:21:04, 2] smbd/server.c:exit_server(571)
Closing connections
[2006/01/30 14:21:04, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/30 14:21:04, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username AMCOLOR\chad is invalid on this system
[2006/01/30 14:21:04, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/30 14:21:04, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username AMCOLOR\chad is invalid on this system
[2006/01/30 14:21:04, 2] smbd/server.c:exit_server(571)
Closing connections
Yet the username exists both on the DC and using a wbinfo -u

Did I miss a flag somewhere? I'm not able to access the share even if I put in my user name and password.

The global section of my smb.conf:

Quote:
[global]
log file = /var/samba/log/log.%m
socket options = TCP_NODELAY IPTOS_LOWDELAY
debug timestamp = yes
log level = 2
unix charset = LOCALE
workgroup = AMCOLOR
realm = AMCOLOR.DOITBESTCORP.COM
security = ADS
ldap ssl = no
idmap uid = 15000-20000
idmap gid = 15000-20000
template primary group = "Domain Users"
template shell = /bin/bash
winbind separator = \\
netbios name = crash
server string = File Server
 
Old 01-30-2006, 11:37 PM   #2
paintcheck200
Member
 
Registered: Sep 2003
Location: Michigan
Distribution: Gentoo, Knoppix
Posts: 69

Rep: Reputation: 15
N/m should have read ur log
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
joining RHEL to ADS errors? paul_mat Linux - Networking 1 01-16-2006 08:24 AM
Samba Authentication Errors. goliathlibrary Linux - Networking 17 09-29-2005 10:41 PM
Samba against ADS Daniboy Linux - Software 3 09-13-2005 04:49 AM
Fedora 2, samba and ADS pylagan Linux - Networking 3 10-26-2004 04:58 PM
Samba and ADS domain authentication Linux_Newbie_se Linux - Networking 1 05-19-2004 06:34 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration