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
LIBSMBCLIENT(7) 							 7							   LIBSMBCLIENT(7)

NAME
libsmbclient - An extension library for browsers and that can be used as a generic browsing API. SYNOPSIS
Browser URL: smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options] DESCRIPTION
This tool is part of the samba(7) suite. libsmbclient is a library toolset that permits applications to manipulate CIFS/SMB network resources using many of the standards POSIX functions available for manipulating local UNIX/Linux files. It permits much more than just browsing, files can be opened and read or written, permissions changed, file times modified, attributes and ACL's can be manipulated, and so on. Of course, its functionality includes all the capabilities commonly called browsing. libsmbclient can not be used directly from the command line, instead it provides an extension of the capabilities of tools such as file managers and browsers. This man page describes the configuration options for this tool so that the user may obtain greatest utility of use. OPTIONS
What the URLs mean: smb:// Shows all workgroups or domains that are visible in the network. The behavior matches that of the Microsoft Windows Explorer. The method of locating the list of workgroups (domains also) varies depending on the setting of the context variable (context->options.browse_max_lmb_count). It is the responsibility of the application that calls this library to set this to a sensible value. This is a compile-time option. This value determines the maximum number of local master browsers to query for the list of workgroups. In order to ensure that the list is complete for those present on the network, all master browsers must be querried. If there are a large number of workgroups on the network, the time spent querying will be significant. For small networks (just a few workgroups), it is suggested to set this value to 0, instructing libsmbclient to query all local master browsers. In an environment that has many workgroups a more reasonable setting may be around 3. smb://name/ This command causes libsmbclient to perform a name look-up. If the NAME<1D> or NAME<1B> exists (workgroup name), libsmbclient will list all servers in the workgroup (or domain). Otherwise, a name look-up for the NAME<20> (machine name) will be performed, and the list of shared resources on the server will be displayed. When libsmbclient is invoked by an application it searches for a directory called .smb in the $HOME directory that is specified in the users shell environment. It then searches for a file called smb.conf which, if present, will fully over-ride the system /etc/samba/smb.conf file. If instead libsmbclient finds a file called ~/.smb/smb.conf.append, it will read the system /etc/samba/smb.conf and then append the contents of the ~/.smb/smb.conf.append to it. libsmbclient will check the users shell environment for the USER parameter and will use its value when if the user parameter was not included in the URL. PROGRAMMERS GUIDE
Watch this space for future updates. VERSION
This man page is correct for version 3 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The libsmbclient manpage page was written by John H Terpstra. Samba 3.5 06/18/2010 LIBSMBCLIENT(7)