Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36158

Samba 3.6.6

$
0
0
Hi
I was running samba 2.0 on fedora 12 and everything was going fine for about 4 years then my hard drive died and I i figured its time to get fedora 17.0 kde 32 bt spin version , after installing that version of linux and going to samba.org and getting the most stable version in a rpm package and installing it with yum all went well.

now trying to follow my old instructions below in stuck I have not done any linux worrk in 4 years and need help with editing the cfg file ,susie cfg and nmb files, can any one help me please?
listed be low is my old directions and i can get them to work wwhen editing


SHARE INSTRUCTIONS
------------------------
1) Allow samba via firewall [fedora only]
2) Allow samba via selinux [fedora only]
(See: DISABLING SEILNUX)

3) Install samba-server ( su -c 'yum install samba-server' )
4) Mount drive with umask=0000 (fat32/ntfs only!, "see /etc/fstab" )
5) In smb.conf set SECURITY=SHARE (this is the ONLY THING THAT WILL WORK)
(See: security = share;)
6) Set up share as outlined in smb.conf. browesable = yes; guest = ok;
7) Set up NMB (see NMB)
8) Restart samba, enjoy!


NMB
---
SENDS NETBIOS NAME
Open: /etc/nsswitch.conf
Change: "hosts: files dns" to "hosts: files dns wins"
run "chkconfig nmb on"
restart


DISABLING SELINUX
-----------------
1) Open terminal
2) Type: su
(Enter root password)
3) Type: vi /etc/selinux/config
4) Change the line that says "SELINUX=enforcing" to "SELINUX=disabled"
5) Reboot the machine
6) Continue setting up the share

/ETC/FSTAB
-----------------
This file automatically mounts the drives, every time you install Linux, it will give drives different unique identifiers.
The FSTAB file I have backed up is specific to the Fedora 13 installation.

You will *need* the last two lines:
/dev/sdb1 /media/STORAGE1 ntfs-3g auto,nouser,uid=000 0 0
/dev/sdc1 /media/STORAGE2 ntfs-3g auto,nouser,uid=000 0 0

However "/dev/sdb1" and "/dev/sdc1" may not point to the right place, you can run: "su -c 'fdisk -l'"
This lists all disks in the system, you can figure out which drive is which based on its size.
The rest of that line can stay the same.
You will have to run:
"su -c 'mkdir /media/STORAGE1'"
and
"su -c 'mkdir /media/STORAGE2'"
Otherwise Fedora will give you errors that it can't find the mount end-point.

Viewing all articles
Browse latest Browse all 36158

Trending Articles