nethserver-samba¶
File and print server for a MS-Windows network based on Samba.
Configuration database¶
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
Accounts database¶
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