smb.conf 파일에서

log level = [0..100]

으로 설정하면 된다.
(소스 상에서는 100까지 존재한다.)

[링크 : http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/bugreport.html]


Option

Parameters

Function

Default

Scope

log file

string (fully-qualified filename)

Sets the name and location of the log file that Samba is to use. Uses standard variables.

Specified in Samba makefile

Global

log level

(debug level)

numerical (0-10)

Sets the amount of log/debug messages that are sent to the log file. 0 is none, 3 is considerable.

1

Global

max log size

numerical (size in KB)

Sets the maximum size of log file. After the log exceeds this size, the file will be renamed to .bak and a new log file started.

5000

Global


이 문서에 의하면 [0...10] 그리고 기본은 1이라고 한다.
[링크 : http://oreilly.com/catalog/samba/chapter/book/ch04_08.html#ch04-92838]



참고로 10 level로 하면 로그파일의 용량이 대책이 서지않는다.
디버깅 용도라며나 max log size를 기본값으로 사용하거나, 적절하게 키워주는 것이 좋을듯 하다.
(단지 브라우징하고, 파일 하나 복사하는데 1.5MB의 로그 파일이 생성되었다.)
Posted by 구차니

deadtime (G)


The value of the parameter (a decimal integer) represents the number of minutes of inactivity before a connection is considered dead, and it is disconnected. The deadtime only takes effect if the number of open files is zero.

This is useful to stop a server's resources being exhausted by a large number of inactive connections.

Most clients have an auto-reconnect feature when a connection is broken so in most cases this parameter should be transparent to users.

Using this parameter with a timeout of a few minutes is recommended for most systems.

A deadtime of zero indicates that no auto-disconnection should be performed.

Default: deadtime = 0

Example: deadtime = 15



keepalive (G)


The value of the parameter (an integer) represents the number of seconds between keepalive packets. If this parameter is zero, no keepalive packets will be sent. Keepalive packets, if sent, allow the server to tell whether a client is still present and responding.

Keepalives should, in general, not be needed if the socket has the SO_KEEPALIVE attribute set on it by default. (see socket options). Basically you should only use this option if you strike difficulties.

Default: keepalive = 300

Example: keepalive = 600



[링크 : http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html]

아래의 문서에서 keepalive 와 deadtime 발견
[링크 : http://xbmc.org/forum/showthread.php?t=312]

deadtime은 분단위로,
keepalive는 초단위로 설정한다.


Posted by 구차니
비슷비슷한 내용 -ㅁ-
anonymous / secure 설정에 대한 smb.conf의 예제들이 있다.

[링크 : http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html]
[링크 : http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-samba-servers.html]

2009.12.24 추가
삼바 공식 smb.conf man page
[링크 : http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html]

smb.conf 한글 번역 내용 - oops.org
[링크 : http://sec.tistory.com/entry/smbconf-%EC%84%A4%EC%A0%95]
Posted by 구차니
서버 설정후 localhost에서 접속을 시도하려고
smbclient -L localhost 하는데 에러가 발생했다.

Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled

일단 찾아봐도 딱히 답은 없지만..

아마도 security = SHARE 를 선택했을 경우, smb.conf에
client lanman auth = yes
lanman auth = yes
가 빠져 있으면 생기는 에러로 생각된다.

[링크 : http://sidux.com/PNphpBB2-viewtopic-t-14163.html]
Posted by 구차니