LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-13-2003, 10:39 AM   #1
bmckenz1
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
smbclient issue with AD


I am attempting to get my redhat 8 server to authenticate to Active Directory. I can do a kinit and it appears it authenticates well but when I use smbclient //adserver/test (test is a share) -k it get prompted for a password and then the following returns:

OS=[Windows Server 2003 3790] Server=[Windows Server 2003 5.2] tree connect failed: NT_STATUS_ACCESS_DENIED

Does this mean I haven't configured my samba or kerberos correctly? I have validated my account id and password works and currently has domain admin rights.

Any ideas? Any thoughts, links, pointers would be greatly appreciated.

Thanks.
Brian
 
Old 06-13-2003, 01:13 PM   #2
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
What user are you logged in as on the linux machine? is it the same username as the one on the windows server?
 
Old 06-13-2003, 01:20 PM   #3
bmckenz1
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Yes. I am logging in as user id test with the password being the same on both systems. "test" has domain admin rights in AD and is a root users on the linux side.
 
Old 06-13-2003, 01:34 PM   #4
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
do you not have a gui? have you tried to type smb:\\adserver into konqueror?
 
Old 06-13-2003, 02:25 PM   #5
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Did you create a machine account for the Linux computer on the Windows server?

I normally join Windows domains in two steps.


Create a computer account for the Linux machine on the domain controller.

Go to a command prompt on the Linux machine and type "smbpassword -j domain_name"

Replace domain_name with the name of your domain

Let me know if this works.
 
Old 06-13-2003, 02:47 PM   #6
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
I think you need to do this:
vi /etc/samba/smbusers
type i for insert
type your local unix user name, then = then the user name you want to attach as.
type <esc><caps lock><z><z>

then type:
smbpasswd <windows user name>
type the password twice
then type service smb start
then try to connect to the windows machine
 
  


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
no smbclient wildbob Fedora 2 04-24-2005 12:49 PM
smbclient help m0nk3yb0y Linux - Networking 5 03-15-2005 12:12 AM
How to use SMBclient? cathodion Linux - Networking 4 12-22-2004 03:48 AM
smbclient subaruwrx Linux - Networking 7 09-02-2004 08:43 AM
still got the smbclient problem! e1000 Linux - Networking 1 01-03-2004 04:37 AM

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

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