Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
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.
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.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.