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.6.
Who is allowed to access what files is still limited by ordinary Linux file permissions, so that has to be set up carefully. Your users must login to Samba as users allowed to access the right files, and Samba must create their files with permissions which allow them to be used later.
A globally anonymous "everyone else" user is tricky. If you have any control over windows account names, I'd make the anonymous ones all "student" or something (and renaming a Windows account after it's created does NOT actually change the username!) and give more proper logins, names without capital letters or spaces, to people who authenticate with a real username and password.
Getting permissions right means deciding what Linux filesystem permissions you want the files to end up with and configuring Samba to enforce that. If you want one group of users to have read-write access and another to have read-only access, you want the files to be created with rw-rw-r-- permissions and to all belong to a group you create, perhaps share or the like.
You also want the directories to be rwxrwsr-x and belong to the share group, so that files created in it belong to the group.
As a start, perhaps append something like this to your smb.conf :
Then add a user by these shell commands:
The password you give Samba must match their Windows login password. Then restart Samba and see if they can browse to \\servername\share, and see what permissions any files and folders they create become with ls -l in Linux.
I'm researching how to do the anonymous/guest user without password.
Post the smb.conf you already have so we can tell what else needs to be changed.
Last edited by Corona688; 09-23-2015 at 12:35 PM..
Hi,
I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf.
I used below to configure both settings:
# svccfg -s dns/client
svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
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)
hi
is it possible ?
explain tome about below items
StartServers 8
MinSpareServers 10
MaxSpareServers 20
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 4000
this is my servers 8gig ram & cpu 12 core...
what cann i putting in order this ?
tnx (1 Reply)
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
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)
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:
;
;comment =... (0 Replies)
HI,
I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP)
for receiving
TRAPS in my networks. I am using RHEL4.0 OS.
Please tell me How I can configure above two files in a proper way and at an
advanced level.
Especially I am getting... (2 Replies)
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)