I am using webmin to manage my samba server. When I originally set it up, I didn't pay any attention to logging. A few months after I set it up, I have a samba log folder filled up with over 10Meg of logs. I can of course stop logging all together, but I would like to know what these logs mean. Here is a small snipet of what the .log file looks like:
Code:
[root@Secretariat samba]# more 12.215.96.12.log
[2004/12/03 18:59:57, 3] smbd/oplock.c:init_oplocks(1302)
open_oplock_ipc: opening loopback UDP socket.
[2004/12/03 18:59:57, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2004/12/03 18:59:57, 3] smbd/oplock.c:init_oplocks(1333)
open_oplock ipc: pid = 3254, global_oplock_port = 35193
[2004/12/03 18:59:57, 4] lib/time.c:get_serverzone(122)
Serverzone is 0
[2004/12/03 18:59:58, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2004/12/03 18:59:58, 0] lib/access.c:check_access(328)
Denied connection from (12.215.96.12)
[2004/12/03 18:59:58, 1] smbd/process.c:process_smb(1085)
Connection denied from 12.215.96.12
[2004/12/03 18:59:58, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/03 18:59:58, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/03 18:59:58, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/12/03 18:59:58, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)