This specifies a user name that all connections to this service should be made as. This may be useful for sharing files. You should also use it carefully as using it incorrectly can cause security problems.
This user name only gets used once a connection is established. Thus clients still need to connect as a valid user and supply a valid password. Once connected, all file operations will be performed as the "forced user", not matter what username the client connected as.
Default: No forced user.
Example: auser
This specifies a group name that all connections to this service should be made as. This may be useful for sharing files.
Default: No forced group.
Example: agroup
There are certain directories on some systems (eg., the /proc tree under Linux) that are either not of interest to clients or are infinitely deep (recursive). This parameter allows you to specify a comma-delimited list of directories that the server should always show as empty.
Note that Samba can be very fussy about the exact format of the Don't descend entries. For example you may need "./proc" instead of just "/proc". Experimentation is the best policy :-)
Default: None (i.e., all directories are OK to descend)
Example: /proc,/dev
This is a username which will be used for access to services which are specified as Public Access (see above). Whatever privileges this user has will be available to any client connecting to the guest service. Typically this user will exist in the password file, but will not have a valid login. If a username is specified in a given service, the specified username overrides this one.
One some systems the account "nobody" may not be able to print. Use another account in this case. You should test this by trying to log in as your guest user (perhaps by using the "su -" command) and trying to print using lpr.
Note that as of version 1.9 of Samba this option may be set differently for each service.
Default: specified at compile time (usually nobody)
Example: nobody
このパラメータはマジック・スクリプト(上記)が生成する出力結果を 含むファイルの名前を指定します。
警告: 2つのクライアントが同じディレクトリで同じマジッ ク・スクリプトを利用した場合、出力ファイルの内容は不明になりま す。
デフォルト: <マジック・スクリプト名>.out
例: myfile.txt
このオプションでサービスへ同時に接続できる数を制限することがで きます。最大接続数を0より大きい数字にした場合、既にこの数だけ サービスへの接続が開かれていても、接続は拒否されます。
この機能の実装は、ロックファイルの記録内容を参照しています。ロッ クファイルは、『ロック・ディレクトリ』オプションによって指定さ れたディレクトリへ記録されます。
デフォルト: 0
例: 10