03-11-2011
Thanks a lot. It worked
10 More Discussions You Might Find Interesting
1. Linux
I set up Samba so Windows can Access Linux, but how can I access my windows machine from linux (preferably using samba).? (6 Replies)
Discussion started by: erhan_j
6 Replies
2. Solaris
hi all ,
i have noticed lately the following message in my /var/adm/messages log :
May 10 15:40:56 inetd: netbios-ns/udp server failing (looping), service terminated
May 10 15:51:37 inetd: netbios-ns/udp server failing (looping), service terminated
i did some search on that and found... (1 Reply)
Discussion started by: ppass
1 Replies
3. Linux
Hello everybody.
The problem deals with a schoolserver with linux running on it.
Samba is running so that everybody has his own homedirectory on the server.
Now the Problem:
A directory should be created on which one everybody can write, but not read the files.
We are at the point that... (1 Reply)
Discussion started by: JP_II
1 Replies
4. Linux
hello friend i m new on linux please anyone send me a step by step configuraton about samba server and mail server.
bye (1 Reply)
Discussion started by: IRFAN
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using Enterprise Linux Server release 5.2, now i am configuring Samba server, i want to access linux directories from Windows xp/2003 desktops. I installed and configured but i am unable to access them, could you please give me suggestion about configurations.
Thanks. (2 Replies)
Discussion started by: marmam
2 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
Hope this forum is adapted to my question. I have :
+ 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes).
+ 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Discussion started by: chebarbudo
2 Replies
7. UNIX for Dummies Questions & Answers
Today I have configured samba server on my linux machine .I thought it would be better if i share it here and get feedback from an experienced users.
This configuration is based on Redhat release 5.
# lsb_release -a
LSB Version: ... (0 Replies)
Discussion started by: pinga123
0 Replies
8. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
9. Shell Programming and Scripting
I'm creating a ubuntu samba server that sends out email notifications when a file a new file is created in the monitored directory.
Currently im using inotifywait to monitor a directory and send out a email notification. Inotify wait works great but it gets triggered whenever any file including... (2 Replies)
Discussion started by: binary-ninja
2 Replies
10. Solaris
Hi guys,
I have also here a Sol-10 with samba configured all is working out but just want to know if i set a password server pointing to a windows domain with Active Directory... do i still have to create a samba user on my Sol-10 or all username/pass authentication will be done on the windows... (2 Replies)
Discussion started by: batas
2 Replies
LEARN ABOUT LINUX
samba_selinux
samba_selinux(8) Samba Selinux Policy documentation samba_selinux(8)
NAME
samba_selinux - Security Enhanced Linux Policy for Samba
DESCRIPTION
Security-Enhanced Linux secures the Samba server via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If
you want to share files other than home directories, those files must be labeled samba_share_t. So if you created a special directory
/var/eng, you would need to label the directory with the chcon tool.
chcon -t samba_share_t /var/eng
To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration:
semanage fcontext -a -t samba_share_t "/var/eng(/.*)?"
This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local:
/var/eng(/.*)? system_u:object_r:samba_share_t:s0
Run the restorecon command to apply the changes:
restorecon -R -v /var/eng/
SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub-
lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub-
lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for samba you would execute:
setsebool -P allow_smbd_anon_write=1
BOOLEANS
SELinux policy is customizable based on least access required. So by default SELinux policy turns off SELinux sharing of home directories
and the use of Samba shares from a remote machine as a home directory.
If you are setting up this machine as a Samba server and wish to share the home directories, you need to set the samba_enable_home_dirs
boolean.
setsebool -P samba_enable_home_dirs 1
If you want to use a remote Samba server for the home directories on this machine, you must set the use_samba_home_dirs boolean.
setsebool -P use_samba_home_dirs 1
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), samba(7), chcon(1), setsebool(8), semanage(8)
dwalsh@redhat.com 17 Jan 2005 samba_selinux(8)