LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba start up questions...Setting up share files and smb.conf file (https://www.linuxquestions.org/questions/linux-newbie-8/samba-start-up-questions-setting-up-share-files-and-smb-conf-file-55599/)

Xeroku 04-17-2003 08:28 PM

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. :)

iceman47 04-17-2003 10:10 PM

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.


All times are GMT -5. The time now is 12:43 PM.