smb.conf question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers smb.conf question
# 1  
Old 10-29-2008
Power smb.conf question

Folks;
I know this might sounds stupid, but please help with this:

I have share in my smb.conf on my SUSE 10 box.

How can i make this share accessible to outside IP range or a specific IP address without need for user/pass?

Here's the share as it's written in smb.conf:

;[xyz]
;comment = Filesystem Gate
;writable = yes
;browseable = yes
;public = yes
;path = /xyz

include = /etc/samba/includes/cifs-share.inc


and here's cifs-share.inc:

[share1]
writable = no
path = /xyz/share1
valid users = katkota
write list = katkota
force user = user1
force group = nogroup
browseable = no
public = no
printable = no
security mask = 0777
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

2. UNIX for Dummies Questions & Answers

Smb.conf config help

So what i am trying to accomplish is the following: a share that is browse-able by every one on the network with a group of people that can write to it with out ownership problems. I am extremely new to samba/linux and any help would be greatly appreciated. It is a stand alone server running samba... (3 Replies)
Discussion started by: dcs
3 Replies

3. UNIX for Dummies Questions & Answers

How to configure smb.conf for read and copy access only

Hi there, I want to give access with samba to a folder but with read and copy rights but no write. I don't want somebody to be able to delete the files. I found the read only parameter but this doesn't allow the users to copy the files. Is there an option for this? The configuration looks... (2 Replies)
Discussion started by: sickboy
2 Replies

4. Red Hat

Question about nsswitch.conf

Hi, I was told to add the "nis" in front of "files" for below lines in /etc/nsswitch.conf was not in a good practise. I tried to search in google and man page for nsswitch.conf and can't find the answer. could someone please help me? passwd: nis files shadow: nis files group: nis files... (2 Replies)
Discussion started by: beeloo
2 Replies

5. UNIX for Dummies Questions & Answers

Solaris 10 question on syslog.conf file

Hi, I have a question on /etc/syslog.conf file in Solaris 10. Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how do I find out what the output file name format is going to be and which directory it gets outputted... (1 Reply)
Discussion started by: stevefox
1 Replies

6. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

7. Solaris

ipf.conf question

OK I am running solaris 10. I made some changes to my ipf.conf file and issued the command: ipf -Fa -f /etc/ipf/ipf.conf to flush out the old and bring in the new changes. When I ran ipfstat -ioh to verify it had brought in the new rule set I saw something I wasn't expecting to see. I... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies

8. Solaris

Quick question about resolv.conf

Hey all! I'm working on Solaris10 right now and I was fiddling around with a fresh install and was wondering about the service that uses resolv.conf? I know prior to Sol10 (SMF) it was /etc/init.d/inetsvc stop and start to reload resolv.conf changes but I can't seem to find the correct SMF... (5 Replies)
Discussion started by: Keepcase
5 Replies

9. UNIX for Dummies Questions & Answers

swat's smb.conf file?

i am running samba 3 on solaris 9 i have a question where is the smb.conf located is it in /usr/local/samba/lib or private (6 Replies)
Discussion started by: rmuhammad
6 Replies

10. UNIX for Advanced & Expert Users

Samba 2.2.5 smb.conf for noobies

Is there a generic smb.conf file that should work on all systems? Right now I am running Red Hat 7.3 and also have 3XP machines and 1 2000 pro. (1 Reply)
Discussion started by: GJC
1 Replies
Login or Register to Ask a Question
sharing(1)						    BSD General Commands Manual 						sharing(1)

NAME
sharing -- create share points for afp, ftp and smb services. SYNOPSIS
sharing [-a <path> [options]] [-e <share point name> [options]] [-r <share point name>] [-l] DESCRIPTION
A list of flags and their descriptions: -a <path> add a new share point for the directory specified by <path>. -e <share point name> edit the share point record specified by <share point name>. -r <share point name> delete the share point record specified by <share point name>. -l list all existing share point records. Description of options The following options modify share point record attributes -A <afp name> use customized name <afp name> when using share point with afp. -F <ftp name> use customized name <ftp name> when using share point with ftp. -S <smb name> use customized name <smb name> when using share points with smb. -s <flags> use this option to modify individually, the sharing attribute for afp, ftp and smb. By default a share point record is enabled for afp, ftp and smb. To modify the indiviual attributes AND the following flags as required: 100 (enable sharing for afp only), 010 (enable sharing for ftp only), 001 (enable sharing for smb only). Specify 000 to turn off sharing of a share point all together. use customized name <smb name> when using share points with smb. -g <guest flag> use this option to modify individually, the "guest" attribute for afp, ftp and smb. The "guest" attribute specifies whether a ser- vice will allow guest access to this share point record. By default a "guest" is enabled for afp, ftp and smb. To modify the attribute, AND the following <guest flags> as required: 100 (enable guest access for afp only), 010 (enable guest access for ftp only), 001 (enable guest access for smb only). Specify 000 to turn off guest access for the share point all together. -i <inherit privileges flag> use this option to modify the "inherit privileges" attribute for afp. The "inherit privileges" attribute specifies whether afp will apply the classic privilege model to operations within this share point. By default "inherit privileges" is disabled for afp. To modify the "inherit privileges", AND the following <guest flags> as required: 10 (enable "inherit privileges" for afp only). Spec- ify 00 to turn off "inherit privileges" for the share point all together. -n <customized record name> Specify a <customized record name> to be used as the share point record name. By default the record name is the name of the direc- tory pointed to by the share point record. This directory is specified bt the <path> when the record is created. EXAMPLES
/usr/sbin/sharing -a /SomePath/ShareThisDirectory This example shows how create a share point record for the directory "/SomePath/ShareThisDirectory". /usr/sbin/sharing -e ShareThisDirectory -A SP1 -g 101 This example shows how to edit the share point record created above, adding a customized name "SP1" for afp servies, and enabling guest access only for afp and smb. FILES
/usr/sbin/sharing location of tool Mac OS X Server June 2, 2019 Mac OS X Server