File and print server for a MS-Windows network based on Samba.
Example: :
smb=service
...
NetbiosAliasList=
DeadTime=10080
WinsServerStatus=disabled
WinsServerIP=
UseCups=enabled
UseClientDriver=yes
HomeAdmStatus=disabled
ShareAdmStatus=disabled
InheritOwner=yes
NetbiosAliasList
Seenetbios aliases
parameter in smb.conf(5) manpage.DeadTime
(days) Seedeadtime
parameter in smb.conf(5) manpage.WinsServerStatus
ifenabled
act as a WINS server.WinsServerIP
ipaddress ifWinsServerStatus
isdisabled
,nmbd
will register with the given WINS server. Seewins server
,remote announce
,remote browse sync
parameters in smb.conf(5) manpage.UseCups {enabled,disabled}
Use cups as printing server.UseClientDriver {yes,no}
Seeuse client driver
parameter in smb.conf(5) manpage.HomeAdmStatus {enabled,disabled}
Enable home$ hidden, administrative shareShareAdmStatus {enabled,disabled}
Setadmin users = "@domain admins"
on every shared folderInheritOwner {yes,no}
Mapped toinherit owner
property of smb.conf
Only records with type ibay
.
Properties:
SmbStatus
ifenabled
, activates ibay sharing through SMB protocolSmbProfileType
select the profile template to apply to the share (optional).The template path must be placed into
/etc/e-smith/templates/etc/smb.conf/
and prefixed byibay-
. Eg:default
profile is located at/etc/e-smith/templates/etc/smb.conf/ibay-default
.
SmbRecycleBinStatus
: enable or disable the recycle bin; when a file is deleted it is moved inside the recycle bin.SmbShareBrowseable
: controls the visibility of the shared folder, default isenabled
.
Example: :
iba1=ibay
AclRead=domadmins,admin
AclWrite=domadmins,admin
Description=test
GroupAccess=rw
OtherAccess=r
OwningGroup=locals
SmbGuestAccessType=none
SmbRecycleBinStatus=disabled
SmbShareBrowseable=enabled
SmbStatus=enabled
Note
Shared folder profile is not related to "Roaming profiles"!
Ibays serve different purposes and smb.conf
provides a lot of parameters to configure a Samba share. It's difficult to find a combination of parameters that can fit all the possible requirements. Thus an ibay configuration adheres to a profile.
An ibay profile is a smb.conf
sub-template that expands a cohesive set of share parameters. Each ibay has SmbProfileType
prop that selects the template to apply to the ibay. The template path must be placed into /etc/e-smith/templates/etc/smb.conf/
and prefixed by ibay-
. Eg: default
profile is located at /etc/e-smith/templates/etc/smb.conf/ibay-default
.
The default
profile is applied if the given custom profile is not found.