LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2003, 07:51 PM   #1
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
xp login to samba


when i try to join the domain provided my my linux box, from an xp pro machine, i get the error "the user name could not be found" i know root is in the smb.passwd file, i checked it manually. what do i do?
 
Old 10-10-2003, 08:04 AM   #2
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
There are aa few things you must keep an eye on it when doing such things.

1. Deactivate in WiinXP the option that encrypts the connection to the domain controller. samba 2 wont deal with it.
2. You need to add a machine trust account to the domain controller
3. you must then logon with the user "root" to the domain controller
4. forget the account "root" you cant use it after adding the machine to the domain. use some other user.

greetz

raven
 
Old 10-12-2003, 08:13 PM   #3
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Original Poster
Rep: Reputation: 15
noob mistake... for all the other noobs out there, i will explain how i fixed the problem

you must first create a machine account using useradd ( i knew this much ) in the /etc/passwd and shadow files, find the machine account. some versions of linux will put a $ behind the name. if there is not one, you must put one there. ex if the machine is named beta change beta to beta$... in the passwd and shadow files.

useradd -d /dev/null -s /bin/false %computer name% ...i think that was the command...

once that is done, type smbpasswd -am %computer name%

this will tell samba that the user you are adding is a machine, not a normal user.

if you skip the first step, you will get something like

can not write to file bla bla beta$
can not create user beta$

that's not exactly what it does, but just to know what to look for. once that is done, go to the box you wish to log in with, change the domain name, use root for the user and whatever password you told samba to use... you have to have set up root as a user and supplied it with a password.

good luck to everyone else...
 
  


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
Root login but no user login on samba Cybercool Linux - Newbie 3 07-13-2011 05:36 AM
Samba Login Sabicas Linux - Networking 2 09-28-2005 05:03 AM
samba login doralsoral Linux - Software 3 01-19-2004 12:46 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM
Win2k Login wont work for samba login hellertech Linux - Networking 2 07-24-2003 09:12 AM

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

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