LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-20-2004, 10:13 AM   #16
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30

You're smb.conf looks good, however, what's the error message you get when you try to join the domain? Did you restart the smb service when you made your changes? Also, did you try joining the domain with the root user? I assume you've added root to samba with the smbpasswd command? Let me know and we'll squash this bug dead for ya.

Travis
 
Old 07-20-2004, 11:26 AM   #17
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by andrewdodsworth
When joining the domain on the Windows machine - when asked for the name of the administrator user that had permissions to join the domain, what user name did you use?
Root.
 
Old 07-20-2004, 11:27 AM   #18
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
I assume you're doing it in all lower case letters? Also, what's the error message you get when you try to add a machine to the domain?

Travis
 
Old 07-20-2004, 08:41 PM   #19
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
I assume you're doing it in all lower case letters? Also, what's the error message you get when you try to add a machine to the domain?

Travis
If beforehand I never add the machine manually ( Wanting to test the add machine script ), I could not join the domain. Error message was user name not found or doesn't exist, something like that.

So, I tried adding it manually, then I can join the domain. But roaming profile still doesn't work.
 
Old 07-20-2004, 11:34 PM   #20
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Was it "the specified user does not exist?" I got that error to. What I did was remove the machine name (it's probably something like machinename$. With the dollar sign. And when I went to re-add the machine, it automatically worked for me. I banged my head on the desk for hours about that one. Try that out and let me know! Also, if you have webmin installed, it can make your life WAY easier (web based control application for linux) It has a module to help you configure samba. Keep me posted! I want this problem licked.

Travis
 
Old 07-20-2004, 11:51 PM   #21
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Was it "the specified user does not exist?" I got that error to. What I did was remove the machine name (it's probably something like machinename$. With the dollar sign. And when I went to re-add the machine, it automatically worked for me. I banged my head on the desk for hours about that one. Try that out and let me know! Also, if you have webmin installed, it can make your life WAY easier (web based control application for linux) It has a module to help you configure samba. Keep me posted! I want this problem licked.

Travis
Ok I removed the machine account from passwd and smbpasswd. Then I try joining the domain again, it say "The user name cannot be found".

P.S Any idea about the roaming profile?

btw, what are the tweaks to do for winxp pro to join samba domain? Below is my gpedit.msc and registry.

http://revenant.qsurf.org/gpedit.jpg

http://revenant.qsurf.org/regedit.jpg

Last edited by subaruwrx; 07-20-2004 at 11:56 PM.
 
Old 07-21-2004, 11:41 AM   #22
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
I don't know about the roaming profile, but the user name cannot be found. Hmm... And if you readd the root user with smbpasswd then try to join the domain it still doesn't work? If it automatically added the machine name to your system, then the line is working. Your smb.conf file is looking right, it's adding the machine name, so it's working up to that point. Tell you what, if you'd like, I can ssh into your system and we can both work on it at the same time if you'd like and then you can change your root password back once we're done. If you want to try that, email me @ travis at thebeehlers.com I'm grasping at straws here. Then I can call ya up and we can work on it together if you'd like. Just a thought.

Travis
 
Old 07-21-2004, 09:05 PM   #23
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
I appreciate your help, really. But unfortunately I'm at my office now with some really shitty firewall that I can't even vnc out.

Furthermore, I'm from the East.

Thanx for your help, I will see if my best friend can help, google
 
Old 07-22-2004, 12:03 AM   #24
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Alrighty. Let me know if I can help you out in any way! I'll keep researching it and see what we can find.

Travis
 
Old 07-23-2004, 08:52 PM   #25
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
This will walk you through the configuration of Roaming Profiles.
http://us2.samba.org/samba/docs/using_samba/ch04.html
 
Old 07-27-2004, 09:46 PM   #26
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
sigh, still couldn't get my roaming profile to work.

However, the add machine script is working now.

Another strange thing, my netlogon script sometimes is working, sometimes its not.

Code:
net use E: \\servername\share
Error msg was "Network Path not found". But my home folder is successfully mapped.

Code:
        
        logon script = Start.bat
        logon path = \\%L\profiles\%u
        logon drive = H:
[homes]
	read only = No
	browseable = No
	create mask = 0777
	directory mask = 0777

[profiles]
	path = /home/samba/profiles
	read only = no
 
Old 07-28-2004, 10:22 AM   #27
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Hey you're back! I'd check permissions first. Also, did you edit the netlogon script in windows or linux? The reason I ask is because I ran into a problem when I would edit it in linux, it would add it's own text encoding to the script, so when a windows user would run that script, it got these weird boxes at the end of the script line and wouldn't run. So what I do is edit the script in windows and copy over the file to linux. Or you can set up an editor in webmin for the file. Just a thought. Hope that helps ya out!

Travis
 
Old 07-28-2004, 10:55 AM   #28
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Hey you're back! I'd check permissions first. Also, did you edit the netlogon script in windows or linux? The reason I ask is because I ran into a problem when I would edit it in linux, it would add it's own text encoding to the script, so when a windows user would run that script, it got these weird boxes at the end of the script line and wouldn't run. So what I do is edit the script in windows and copy over the file to linux. Or you can set up an editor in webmin for the file. Just a thought. Hope that helps ya out!

Travis
Yea I did just that.

Its like sometimes it work, sometimes it doesn't.

Tried mapping manually, network path not found. Tried using the map network drive function, it works.
 
Old 07-28-2004, 11:12 AM   #29
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Is it trying to map using a different username perhaps? Windows will try a specific username and password for the share. ?? Just a thought.

Travis
 
Old 08-10-2004, 03:05 AM   #30
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by tbeehler
Is it trying to map using a different username perhaps? Windows will try a specific username and password for the share. ?? Just a thought.

Travis
The strange problem is working fine now AS AT NOW.

Anyway, wanna format my WinXP machine soon. I googled out a few web pages regarding editing the registry to join a samba server but getting a bit confused as which one to follow.

http://www.ccs.uky.edu/docs/samba.htm
http://www-jerry.oit.duke.edu/linux/..._registry_edit

Which is the correct one actually?

Using Samba Version 3.0.3-5 and WinXP Pro SP2.

Thanks.
 
  


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
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 11:52 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