Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Using Samba
Prev Home Next

8.6 Miscellaneous Options

Many Samba options are present to deal with operating system issues on either Unix or Windows. The options shown in Table 8.10 deal specifically with some of these known problems. We usually don't change these and we recommend the same to you.


Table 8.10: Miscellaneous Options

Option

Parameters

Function

Default

Scope

deadtime

numerical (number of minutes)

Specifies the number of minutes of inactivity before a connection should be terminated.

0

Global

dfree command

string (command)

Used to provide a command that returns disk free space in a format recognized by Samba.

None

Global

fstype

NTFS, FAT, or Samba

Sets the filesystem type reported by the server to the client.

NTFS

Global

keep alive

seconds

Sets the number of seconds between checks for an inoperative client.

0 (none)

Global

max disk size

numerical (size in MB)

Sets the largest disk size to return to a client, some of which have limits. Does not affect actual operations on the disk.

0 (infinity)

Global

max mux

numerical

Sets the maximum number of simultaneous SMB operations that clients may make.

50

Global

max open files

numerical

Limits number of open files to be below Unix limits.

10,000

Global

max xmit

numerical

Specifies the maximum packet size that Samba will send.

65,535

Global

nt pipe support

boolean

Turns off an experimental NT feature, for benchmarking or in case of an error.

yes

Global

nt smb support

boolean

Turns off an experimental NT feature, for benchmarking or in case of an error.

yes

Global

ole locking compatib-ility

boolean

Remaps out-of-range lock requests used on Windows to fit in allowable range on Unix. Turning it off causes Unix lock errors.

yes

Global

panic action

command

Program to run if Samba server fails; for debugging.

None

Global

set directory

boolean

If yes, allows VMS clients to issue set dir commands.

no

Global

smbrun

string (fully-qualified command)

Sets the command Samba uses as a wrapper for shell commands.

None

Global

status

boolean

If yes, allows Samba to monitor status for smbstatus command.

yes

Global

strict sync

boolean

If no, ignores Windows applications requests to perform a sync-to-disk.

no

Global

sync always

boolean

If yes, forces all client writes to be committed to disk before returning from the call.

no

Global

strip dot

boolean

If yes, strips trailing dots from Unix filenames.

no

Global

Using Samba
Prev Home Next

 
 
  Published under the terms of the Creative Commons License Design by Interspire