Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-24-2005, 08:33 PM
|
#1
|
Member
Registered: May 2004
Posts: 43
Rep:
|
Samba problem
Hi all, I am running Suse Linux Enterprise Server 9 with samba verstion 3.0.4, and winxp clients.
When I attempt to join computer to my samba NT domain it prompts me for my username and password. I use root as the user, however it then says that "the username could not be found." Even though I know the root samba user exists as I added him with the
"smbpasswd -a root" command
Also, I am sure that it is checking the correct smbpasswd file, as if I try to join a computer to a domain using one of my other samba users it says "acces denied."
So, can anyone help me out with...
1. Getting root to be recognized as a samba user.
or
2. Getting another user that I add to my sama server to be able to join computers to the domain.
Any help is appreciated, thanks.
|
|
|
09-25-2005, 03:31 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Sounds like its not making the machine account for the computer that's joining, computers are added as users under samba. Are you manually adding the machine account or are you creating in on the fly through your smb.conf file?
If not you can add this line to your smb.conf which will add the machine account on the fly, only root can add a machine to the domain controller for the very first time, after that anyone can use that computer to access the domain controller.
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false
-M %u
|
|
|
09-25-2005, 12:05 PM
|
#3
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
Almost complete procedure other then configuring smb.conf
I'll tell you a simple procedure & necessary steps for precaution too :
1. First create machine account over to your samba server..
useradd -g machines -d /dev/null -s /bin/false <machine-name>$
2. Add very same machine account to smbpassword
smbpasswd -a -e -m <machine-name>
-a - add user
-e - enable user
-m - machine
So in return it wont ask you for any password.
3. Next add the user you want to run over XP clients... I guess you must have done that.. Do enable your users in smbpasswd after adding them.
4. Add root for smbpasswd & enable it.
5. Do disable the XP- internal firewall.
6. Now do it , if problem still persists, feedback.. I'll help you.
Last edited by amitsharma_26; 09-25-2005 at 12:07 PM.
|
|
|
All times are GMT -5. The time now is 03:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|