return ROSA stuff, drop Mageia parts

This commit is contained in:
akdengi 2012-11-22 08:29:03 +04:00
parent c1fe298b5f
commit 52479fce04
2 changed files with 19 additions and 4 deletions

View file

@ -1,6 +1,6 @@
%define pkg_name samba
%define version 3.6.9
%define rel 1
%define rel 2
#define subrel 1
%define vscanver 0.1.3
%define libsmbmajor 0
@ -1565,6 +1565,10 @@ rm -f %{buildroot}%{_mandir}/man1/vfstest.1*
rm -rf %{buildroot}
%post server
#add additional directory for support filesharing through 'net' command
mkdir /var/cache/samba/usershares
chmod 1770 /var/cache/samba/usershares
chown root:users /var/cache/samba/usershares
%_post_service smb%{samba_major}
#%_post_service wrepld%{samba_major}

View file

@ -1,4 +1,3 @@
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
@ -17,11 +16,11 @@
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MGAGROUP
workgroup = WORKGROUP
# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
# netbios name = <name_of_this_server>
# netbios name = <computer name>
# server string is the equivalent of the NT Description field
server string = %h
@ -343,6 +342,18 @@
# dos charset = 850
# unix charset = ISO8859-1
# 9. Allow usershares through 'net' command:
usershare max shares = 100
# 10. Guest mode support for usershares. This is need for properly browsing machine through
# "Network neighborhood" in Windows.
usershare allow guests = Yes
# 11.
usershare owner only = False
#============================ Share Definitions ==============================
[homes]