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.
Ron1n no need to get your head in a mess if you look at my repley it stated that I got it from a post I thought the idea of these posts was to swap info ,you talk about useless info someone else had to supply you with the answer so who is the smartass when you know it all you can slag the rest of us off
regarding the xp and samba pdc issues I had exactly the same problems - it was a nightmare trying to find any solution to the problem - I got blasted for posting samba questions without folk realising this was an xp prob and not an smb.conf prob.
Hopefully samba will overcome these problems in the near future.
revisiting an old subject
can anybody tell me if there is a version or higher of samba that should be used with XP as I have a customer who just installed xp machine on a network and can't connect to PDC.
I am going on site to try and attach but don't want a wasted trip if its never going to work because of software versions
He is using redhat 6.2 and samba version 2.2.14
Don't want to upgrade as it is working perfectly for years
Originally posted by lmillis RON1 I GOT IT!!!
Finally! Here are the mistakes i made and how i fixed them. First mistake was adding the machine account incorrectly. I needed to add it from the command line, not the gui. Here's the exact syntax i used:
/usr/sbin/useradd -d /dev/null -c "machine id" - s /bin/false machine_name$
Next passwd -l machine_name$
Make certain you have an entry for Root in the smbpasswd with the correct password. ( you probably already have done this).
Then restart the smb service.
On the XP Box: Go to control panel> Administrative Tools> Local Security Policy > Local Policies > Security Options > Then disable the six or seven items that have to do with "DOmain Member."
Then do the regedit > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters
"RequireSignOrSeal"=dword:00000000
Then go to join the domain. I almost cried when I got the message "Welcome the Student Domain"
If I forgot anything, email me and I'll be glad to help!!!
i tried all that and i still get an error "specified network password is not correct" i am using the root account that i created.
ps im still stuck at the enter domain option when i right-clicked on "my computer" i havent rebooted yet
Everything everyone on here said has helped my company and I a ton.. however 1 thing was left off that made our lives miserable for 2 days until I found this somewhere else. I will just post the new procedure manual I have made for our department that includes this final step that might be causing some of you the same problem....
When you change to another domain and it prompts you for a username and pass.. you HAVE to logon as root the first time... That crap threw us off for 2 days.
Adding a WinXP Box to a Samba Domain.
0. Add a Machines Group for the Machine Accounts.
groupadd –r machines
2. Add User Accounts Using Josh’s Shell Script:
#!/bin/bash
clear
echo "--==Josh's User Adding Script v1.0==--"
echo "Enter the username:"
read username
adduser $username
passwd $username
echo "Now adding to smbpasswd file..."
smbpasswd -a $username
echo "Done."
3. Put Root in the smbpasswd with the correct password.
smbpasswd –a root
4. Restart the smb service.
5. On the XP Box: Go to control panel> Administrative Tools> Local Security Policy > Local Policies > Security Options > Then disable the six or seven items that have to do with "Domain Member."
Check out these links. Go to the section on client configuration.
XP needs some additional steps before it will join a Samba domain. Make sure to reboot XP after making the changes.
still not able to join an XP computer to a Samba domain
Hi all,
I've read all the postings in this thread carefully and considered all suggestions. Samba is working fine. I can access the shares from XP and I have added a Linux client to the domain. Still I can't join my XP client. I always get "access denied", no matter which user I try (including root). I have added machine accounts and disabled the domain security options on XP. I have also disabled the firewall.
The strange thing about it is, that in /var/logs/samba/ I get no error messages. The user is authenticated successfully and so on and then at the end it says something like: "timeout_processing: End of file from client (client has disconnected)" and then a few lines later "server exit (normal exit)". But all entries in the lock file from the beginning of the transaction until these messages appear within 2 seconds. Any help would be appreciated.
Regards
René
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.