LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-01-2005, 05:24 PM   #1
ahill
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: Disabled
Unhappy Trust relationship between WinXP Pro PC and Linux Smb


I have a Redhat Linux 9.0 server providing login services, file and print sharing via samba for a local domain. All the PC's here use Win2000 Pro except one which has WinXP Pro. I have added a machine account on the Linux machine for the XP machine and gotten the XP machine to join the domain.

However, when I try to add a user from the domain using the windows control panel (i.e. let the Linux box authenticate logins) I get the following error message.

"The user could not be added because the following error has occured: The trust relationship between this workstation and the primary domain failed."

The only help from Microsoft talks about a Windows domain controller which is useless in this situation.

Any thoughts on getting a Microsoft XP machine to trust a Redhat Linux domain controller?
 
Old 12-02-2005, 08:34 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Let me unfold the complete procedure for doing this :
Follow these steps in the very same procedure..

Setting up machine - trust - accounts :
Quote:
useradd - d /dev/null -s /bin/false <machine-name>$
* After that go to your windows xp box & change the settings from workgroup you were previous in to DOMAIN name of as specified in your smb.conf.
* After this it will ask you for a login & password.. You have to enter you linux box administrator user & pass over there.. After this it will welcome you to the domain.
* Come back to your linux box..
smbpasswd -a -e -m <machine-name>
Prior to this you can useradd your desired users to your box & samba through smbpasswd.
Also add your administrator account to samba users through smbpasswd.

Tip : Disable xp firewall.. in some cases it might generate problems in joining the domain.
Also if possible download & install the latest samba package.

..amit..
 
Old 12-02-2005, 10:15 AM   #3
ahill
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: Disabled
Cool

I have already gone through the steps as described. I tried undoing all the above and recreating the machine account, joining the domain and adding the samba machine account. Still didn't work.

Disabling the firewall (Symantec) didn't help either.

I finally started playing with WinXP local security policy and tried disabling always encrypting data transfers. This seems to have done the trick. I was able to create a domain user account on the WinXP box and login using that account.

Thanks, for your input. I hope my discover helps another.
 
Old 12-02-2005, 11:13 AM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally posted by ahill
I finally started playing with WinXP local security policy and tried disabling always encrypting data transfers. This seems to have done the trick. I was able to create a domain user account on the WinXP box and login using that account.
It means you are not using samba latest version.. coz you do not have to do this with latest samba release.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"signsecurechannel"=dword:00000000

I think you might be using samba 2 or other version. I was expecting you to have latest samba 3 version & thts y i didnt mentioned it.

..amit..
 
  


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
Trust relationship abhishek124 Linux - Networking 2 06-13-2005 03:18 AM
How to create trust relationship abhishek124 Linux - Networking 0 06-07-2005 07:56 AM
dns master slave trust relationship how? ferret_dude Linux - Networking 1 05-24-2004 07:05 AM
Trust relationship vineet_s280 Linux - Networking 2 07-24-2003 12:09 AM
Trust relationship using SAMBA in Redhat Linux 7.2 dibakar Linux - Networking 5 02-22-2003 01:36 PM

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

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