LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-10-2004, 12:17 PM   #31
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30

You're back! I think the uky.edu one is ok. However, I have a samba domain set up on one of our machines and the weird thing is that I can join the domain with an XP SP2 client as is without making the registry changes. But I would try the uky.edu one first of the two.

Travis
 
Old 08-10-2004, 09:06 PM   #32
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
You're back! I think the uky.edu one is ok. However, I have a samba domain set up on one of our machines and the weird thing is that I can join the domain with an XP SP2 client as is without making the registry changes. But I would try the uky.edu one first of the two.

Travis
cool.

I will try joining without doing the registry hack first.

So basically, the editing of the registry is to allow xp client to join a samba domain? What are the error messages we would get if we did not edit the registry first?

Update...

I tried joining the samba server. Got an error saying "The specified user does not exist".
I followed the guide from the uky.edu but I can't find 1 of the entry.

Code:
b) Use the Registry Editor and edit the
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\CompatibleRUPSecurity to have the DWORD value of 1
I can see that the xp machine name has automatically been added as an user account.

Code:
add machine script = /usr/sbin/useradd -d /dev/beep -g 100 -s /bin/false -M %u

Last edited by subaruwrx; 08-10-2004 at 10:07 PM.
 
Old 08-10-2004, 11:03 PM   #33
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Are you trying to add the machine with the root username and password? I don't know about the missing registry key though. Perhaps if you add it?

Travis
 
Old 08-10-2004, 11:14 PM   #34
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Are you trying to add the machine with the root username and password? I don't know about the missing registry key though. Perhaps if you add it?

Travis
Yes, I'm adding with root username and password. Isn't that the way to be?

Regarding the registry, I only have up till HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\


Last edited by subaruwrx; 08-10-2004 at 11:15 PM.
 
Old 08-10-2004, 11:45 PM   #35
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
sheesh, I remove the machinename from smbpasswd and passwd and tried re-join the domain. It works...

 
Old 08-11-2004, 10:27 AM   #36
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Perfect! As long as your up and running and happy, I'm happy. Let me know if you need anything else!

Travis
 
Old 08-11-2004, 10:43 AM   #37
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Perfect! As long as your up and running and happy, I'm happy. Let me know if you need anything else!

Travis
yea thanx for your patient and helpfulness man.

btw, anyone had any idea what winxp files does the roaming profile function store? Those that are in C:\document & settings\accountname ?

The reason I find that my roaming profile isn't working is that when logging out, "Saving your settings" seems too fast that it isn't storing the profile at the server. And I can't find any windows related files at the roaming profile folder which I specified.
 
Old 08-11-2004, 11:08 AM   #38
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Always welcome my friend. I think that roaming profiles would be saved under the C:\documents and settings\username folder, but I might be wrong. However, I did a little bit of searching and I found a post that may help:

Link Here

Travis
 
Old 08-11-2004, 11:24 AM   #39
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Always welcome my friend. I think that roaming profiles would be saved under the C:\documents and settings\username folder, but I might be wrong. However, I did a little bit of searching and I found a post that may help:

Link Here

Travis
This is really strange.

I wonder if its due to the "logon home" command which I never put in my smb.conf. But what I understand is that "logon home" is meant for win9x right?
 
Old 08-11-2004, 12:06 PM   #40
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
I wouldn't know off the top of my head, but I would imagine that you'd need the "logon" lines in your smb.conf file to set up profiles on the machine. I'd add those 3 lines like the guy had on his and see what it does for you. Of course, you'll have to edit the \\$whatever to your particular machine name and share, but I think it might work for you. Also, when you set up that share, remember your permissions! I've had a bunch of problems because I didn't check my permissions way back when.

Travis
 
Old 09-10-2004, 11:06 AM   #41
Damian-MLA.com
LQ Newbie
 
Registered: Sep 2004
Location: Buenos Aires - Argentina
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Hi, I'm having trouble to join a samba domain.
I've tried all the steps that are on this posts, but I keep getting the "the user name could not be foud" mesage when I try
to join my domain with a Win2k workstation.
I'm running a Fedora Core 2 with samba 3.0.6

here is a part of my smb.conf

[global]
workgroup = MERCADOLIBRE
server string = MercadoLibre Samba Server
log level = 1
encrypt paswords = yes
time server = yes
domain admin group = @smb
logon script = mapping.bat
domain logons = yes
os level = 64
preferred master = yes
domain master = yes
plocal master = yes
security = user
add machine script = /usr/sbin/useradd -n -g machines -c Machine -d /dev/null -s /bin/false %u
logon drive = m:
 
Old 09-10-2004, 12:57 PM   #42
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Have you tried adding the machine to the domain using the user root?

Travis
 
Old 09-10-2004, 01:11 PM   #43
Damian-MLA.com
LQ Newbie
 
Registered: Sep 2004
Location: Buenos Aires - Argentina
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
Yes, I've tried as root.
I have created root user in smbpasswd also...

This workstation has installed the secure remote/client software, for a connection to a VPN, can this be giving me trouble?
 
Old 09-10-2004, 05:23 PM   #44
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Possible. Try disabling it and trying it again.

Travis
 
Old 09-11-2004, 04:01 AM   #45
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
I had similar problem on a machine I rebuilt recently - although I deleted the machine account in linux before rejoining the domain it wouldn't let me join the domain with the same error message as you get. Checked to make sure that the Samba root password I was using was correct (it was) and the Windows user was also good (it was) so only thing left was the machine account. Edited the Samba password file (/etc/samba/smbpasswd on my machine) and manually deleted the line for the machine account. Rejoined the domain and it all worked first time.

Hope this works for you.
 
  


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 - Cannot join domain m4rk Linux - Software 6 06-27-2007 08:40 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Cannot join Samba domain. codedv Linux - Networking 0 10-12-2004 05:33 PM
join samba domain! egyptian Linux - Networking 1 07-29-2004 10:18 AM
Join Domain in SAMBA Server radixiz Linux - Software 3 11-28-2003 02:09 PM

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

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