Chris
2005-Sep-08 15:42 UTC
[Samba] log files created for both the hostname and the IP address?
At a new account where they run Samba 3.0.14a on a Debian server I'm seeing log files being created for both the hostname and the IP address. The log files, however, are not identical. But the timestamps are close. None of my installations have this quirk. If the hostname is resolvable the log is made using it, if not resolvable then the log is made with the IP address but not both. Any ideas on what could cause this? Thanks. Chris
Chris
2005-Sep-08 15:46 UTC
[Samba] log files created for both the hostname and the IP address?
Adding a couple of log excerpts: The IP address log: [2005/09/08 10:37:18, 2] smbd/reply.c:reply_special(236) netbios connect: name1=RESTORATION name2=FRONTOFFICE [2005/09/08 10:37:18, 2] smbd/reply.c:reply_special(243) netbios connect: local=restoration remote=frontoffice, name type = 0 [2005/09/08 11:09:18, 2] smbd/reply.c:reply_special(236) netbios connect: name1=RESTORATION name2=FRONTOFFICE [2005/09/08 11:09:18, 2] smbd/reply.c:reply_special(243) netbios connect: local=restoration remote=frontoffice, name type = 0 [2005/09/08 11:41:18, 2] smbd/reply.c:reply_special(236) netbios connect: name1=RESTORATION name2=FRONTOFFICE [2005/09/08 11:41:18, 2] smbd/reply.c:reply_special(243) netbios connect: local=restoration remote=frontoffice, name type = 0 The hostname log: [2005/09/08 10:37:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 10:37:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 10:37:18, 2] smbd/server.c:exit_server(609) Closing connections [2005/09/08 11:09:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 11:09:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 11:09:18, 2] smbd/server.c:exit_server(609) Closing connections [2005/09/08 11:41:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 11:41:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/09/08 11:41:18, 2] smbd/server.c:exit_server(609) Closing connections
Chris
2005-Sep-08 16:09 UTC
[Samba] log files created for both the hostname and the IP address?
PS. Would also like to know what these logs mean. Are they error messages? On Thursday 08 September 2005 11:46 am, Chris wrote:> Adding a couple of log excerpts: > > The IP address log: > > [2005/09/08 10:37:18, 2] smbd/reply.c:reply_special(236) > netbios connect: name1=RESTORATION name2=FRONTOFFICE > [2005/09/08 10:37:18, 2] smbd/reply.c:reply_special(243) > netbios connect: local=restoration remote=frontoffice, name type > 0 [2005/09/08 11:09:18, 2] smbd/reply.c:reply_special(236) > netbios connect: name1=RESTORATION name2=FRONTOFFICE > [2005/09/08 11:09:18, 2] smbd/reply.c:reply_special(243) > netbios connect: local=restoration remote=frontoffice, name type > 0 [2005/09/08 11:41:18, 2] smbd/reply.c:reply_special(236) > netbios connect: name1=RESTORATION name2=FRONTOFFICE > [2005/09/08 11:41:18, 2] smbd/reply.c:reply_special(243) > netbios connect: local=restoration remote=frontoffice, name type > 0 > > The hostname log: > > [2005/09/08 10:37:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 10:37:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 10:37:18, 2] smbd/server.c:exit_server(609) > Closing connections > [2005/09/08 11:09:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 11:09:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 11:09:18, 2] smbd/server.c:exit_server(609) > Closing connections > [2005/09/08 11:41:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 11:41:18, 2] smbd/sesssetup.c:setup_new_vc_session(608) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would > close all old resources. > [2005/09/08 11:41:18, 2] smbd/server.c:exit_server(609) > Closing connections
Chris
2005-Sep-09 15:08 UTC
[Samba] log files created for both the hostname and the IP address?
Reiterating the help request. On Thursday 08 September 2005 11:41 am, Chris wrote:> At a new account where they run Samba 3.0.14a on a Debian server I'm > seeing log files being created for both the hostname and the IP > address. The log files, however, are not identical. But the > timestamps are close. > > None of my installations have this quirk. If the hostname is > resolvable the log is made using it, if not resolvable then the log > is made with the IP address but not both. > > Any ideas on what could cause this? > > Thanks. > > Chris