rianto isaac's Weblog

rianto utomo isaac sahala utomo

linux, suse 11.4 samba fix problem

with one comment

openSUSE Samba Server

How to configure Samba Server in openSUSE 11.4

Two ways to configure Samba Server in openSUSE, using YaST (easy way) or manual (more options).

#############################################################

Samba Server using YaST:

Run yast at Terminal or GUI
# yast

YaST Control Center
Network Services -> Samba Server

Enter Workgroup or Domain Name, Next

Samba Server Type
Select: (x) Not a Domain Controller, Next

Under Samba Configuration screen
configure Start-Up, Shares, and Identity.

Start-Up
Service Start
Select: (x) During Boot

under Share
Add the share directory
Under Identification
Give it a share name that MS Windows can map, Share Name
Share Path, browse to share diretory.
Select Allow Users to Share Their Directories
OK

#############################################################

Configure Samba Server by Editing smb.conf

Here’s a screen shot of smb.conf with its default settings in openSUSE 11.4, some of the share directories were cut off. The main sections is the [global], the others in brackets are optional.

smb.conf default settings

The share directories are in brackets.

To create a samba share directory (ex: share) with everyone access, edit smb.conf
# vi /etc/samba/smb.conf

append smb.conf with the following:
[myShare]
inherit acls = Yes
path = /srv/share
read only = No

Create a share directory under /srv
# mkdir /srv/share

Change file permission (unsecure)
# chmod 777 /srv/share

Note: In openSUSE 11.4, Novell AppArmor needs to be configure for smbd and nmbd to be permitted.

Run Yast

From Novell AppArmor Screen, select “AppAmor Control Panel

Under “Configure Profile Modes“, select “Set profile modes [Configure]

In the Profile Mode Configuration screen, set the Mode to complain for:
usr.sbin.nmbd and usr.sbin.smbd

 

In Windows system, map the network share using NET USE:
Syntax: net use [drive letter] [\\samba ip address\sharename] /user:user@samba_ip_address
Ex: net use s: \\192.168.1.20\sambashare /user:root@192.168.1.20
It will prompt for the password

rianto utomo bole nyontek dari http://www.confignotes.com/2011/03/opensuse-samba-server/

Written by isaaconi

November 1, 2011 pada 10:04 am

Satu Tanggapan

Subscribe to comments with RSS.

  1. If you should be acquiring online-which is clearly difficult to actually feel it,
    next question the provider or see the cloth information present in their website.

    Miquel

    Maret 15, 2019 at 1:42 am


Tinggalkan komentar