LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2003, 02:51 AM   #1
FireWolf
Member
 
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
Unhappy need help with Samba


Greetings

I have read the how to and many other helps on configuring samba one thing they say is that I have to have the same log on name. On both the windows and linux, is there a way I can have the log on names deferent. There 4 computers in my house and each of them have different log on names (I think on windows it is the name of the owner). Or do I have to have all 4 computers with the same log on name.

thank you
 
Old 03-31-2003, 08:55 PM   #2
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
There 4 computers in my house and each of them have different log on names (I think on windows it is the name of the owner
Please clarify. What do you mean by logon name?

Do you mean the name of the computer or the name of the users who have accounts on the machine?
 
Old 04-02-2003, 04:23 PM   #3
FireWolf
Member
 
Registered: Dec 2002
Posts: 36

Original Poster
Rep: Reputation: 15
both, the name of the owner of the computer and the name of the computer are different on all of them.

(log on name is the name of the owner on windows)

In windows 2000 all I need to do is set up a user privilege so that windows 98 can log to 2000 XP can log on by it self to 2000 and 98 no need for user privilege.

But what I have seen in the books It seems that I have to log on 3 deferent names to access the other three computers like this.

Lets say that owners name for one comp is “name one”
The other is “name two”
And the last is “name three”

what it seem to me is that the books on samba state that I have to log on each of those three names 3 deferent times to access each computer

Note some of the names have titles like Dr. “first name” then “second name” with spaces and the period.
 
Old 04-03-2003, 05:30 AM   #4
markgdiesel
LQ Newbie
 
Registered: Mar 2003
Location: Zeewolde, Holland
Distribution: Debian Woody, Gentoo
Posts: 24

Rep: Reputation: 15
there is a difference between the name you use in Samba and the one in Linux. You can add users in Samba without adding them in Linux, so the other way around is also possible.

All you have to do is let Samba know all of your id's and tell Samba in smb.conf wich priveleges every id has. You cal let all the ideas point to the same directorys etc. Check the manual in Samba on how to add users, give them passwords and how to issue priveleges and maps in smb.conf.
 
Old 04-03-2003, 01:07 PM   #5
FireWolf
Member
 
Registered: Dec 2002
Posts: 36

Original Poster
Rep: Reputation: 15
one of the computers is windows 2000. I have read in servel places that I have to set a password for windows 2000 by typing this

smbpasswd

I have tryed it with the name after smbpasswd like so

smbpasswd XX. XXX XXXXXX

the name of the owner of the compuer is in three parts
Dr. 1st name 2nd name

I also tried smbpasswd with -a, password and username

and nothing seems to happen.
am I supposed to not have spaces in the names
is there another way to get the user name and password

I have samba 3.0
red hat 8.0
 
Old 04-03-2003, 06:40 PM   #6
FireWolf
Member
 
Registered: Dec 2002
Posts: 36

Original Poster
Rep: Reputation: 15
here is a quote frome a web page taking about geting win 2000 to access linux files

"Samba, however, will not accept any users until the smbpasswd file has been initialized."

I have edited the samba.conf file to allow the user like so

[myhome]
comment = Dr. xxx xxxxxx
path = /home/myhome
public = yes
printable = no
create mask = 0765
first does this give Dr. xxx xxxxxx access and second how do I get smbpasswd initialized
 
Old 04-03-2003, 10:31 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
"Samba, however, will not accept any users until the smbpasswd file has been initialized."
There is an exception. Guest are not required to enter a password if they are accessing the LINUX computer from Windows.


Since Win95 SE and higher has encrypted passwords. You need to specify encrypted passwords in the global section in smb.conf file. Samba defaults to non-ecrypted passwords. Samba comes with reg files so you can use non-encrypted passwords on the Windows computers instead.

If you want to test your shared directory structure, you can change security = user to security = share. You may want to add guest ok = yes and guest only = yes in sections that you want guest to access.

Don't forget to add ' large readwrite = yes ' in the global section just in case any of your users are reading or writing huge files.
 
Old 04-04-2003, 04:19 AM   #8
FireWolf
Member
 
Registered: Dec 2002
Posts: 36

Original Poster
Rep: Reputation: 15
ok good so far after implementing what you just stated I was able to get into the (localhost) that is my linux computer name that appears on My Network Places on windows 2000 anyway after I got in there was three folders (homes), (public), and (xxxx)<----the name of my logon folder under homes like so home/xxxxx. When I try to access these folders it ask for a user name and password how do I get through this [note I am using windows 2000 and 98]

thank for your help
 
Old 04-04-2003, 11:07 AM   #9
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
useradd -d /home/testuser -g users -s /bin/false -m testuser
smbpasswd -a testuser

logon from windows as testuser/password
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 02:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration