LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-17-2003, 08:28 PM   #1
Xeroku
LQ Newbie
 
Registered: Apr 2003
Location: Phoenix
Distribution: RH, ManDrake, SuSe
Posts: 6

Rep: Reputation: 0
Unhappy Samba start up questions...Setting up share files and smb.conf file


Hi all I would say that I am pretty new to the linux world as far as a user goes, though I have read up on it for a while now and have a few distros running but no big usage. I am trying to setup a samba share on my machine(s) and I am not sure if I even have the darn thing running, can someone help with the smb.conf? I have been trying to use the samba how to guide, though it assumes I know all already. Thanks in advance.
 
Old 04-17-2003, 10:10 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
You may want to use the users & passwords currently on your system in samba:
Code:
cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd
restart smb after this:
Code:
service smb restart
If you want to know if samba's running:
Code:
service smb status
if not:
Code:
service smb start.
In smb.conf:
You should set "workgroup=<insert workgroupname here>

If you want your samba to be a domain controller (or something like that ) look for "domain logons"

If you're going to work with windoze95 clients, make sure "encrypt passwords" is set to no, if you have windoze95 & others (95 OSR2 and up), don't forget to go into the windoze registry and add this: (on every win95 OSR2 and up):
Code:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
"EnablePlainTextPassword"=dword:00000001
Remeber, this is only when you don't want to have encrypted passwords on your network, or if you're using Win95 in combination with newer win versions.

The rest of the default settings in smb.conf are generally ok, so that's it for editing it.

After changing smb.conf, restart smb again and it should be working.
If you encounter errors,don't be afraid to use the search button on this site; many samba questions have been asked before and many problems have been solved.

Hope this will help you just a little bit further.
 
  


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
smb.conf to share with Mac OS X? thegnu Linux - Networking 3 11-17-2005 02:14 PM
Setting up samba to share files and printer linuxmandrake Linux - Software 9 10-14-2005 12:31 PM
Samba Share SMB.CONF Access Denied mikeaustn Linux - Software 1 09-28-2004 03:14 PM
SAMBA share txt file editing questions LinuxRam Linux - Software 14 09-10-2004 08:37 AM
guest access to a share in smb.conf ?? ludeKing Linux - Networking 1 10-27-2003 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 PM.

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