[Samba] Problems with MySQL backend.

Mario Lipinski mario at taz.gymszbad.de
Tue Dec 27 17:22:54 GMT 2005


Hello,

i just set up Samba 3.0.20b on a new machine as PDC with the MySQL
passdb backend and experiencing problems with the connection to the
SQL-Server. The connection gets lost and is not created again. So i have
to restart Samba for authentication and so on to work again...

[2005/12/27 18:19:46, 2] smbd/server.c:exit_server(612)
  Closing connections
[2005/12/27 18:19:46, 2] smbd/sesssetup.c:setup_new_vc_session(704)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2005/12/27 18:19:46, 2] smbd/sesssetup.c:setup_new_vc_session(704)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2005/12/27 18:19:46, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user
[]\[]@[GARGAMEL] with the new password interface
[2005/12/27 18:19:46, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [GSB]\[]@[GARGAMEL]
[2005/12/27 18:19:46, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: guest authentication for user [] succeeded
[2005/12/27 18:19:46, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(981)
  Attempt to bind using schannel without successful serverauth2
[2005/12/27 18:19:46, 0]
passdb/pdb_mysql.c:mysqlsam_select_by_field(248)
  Error while executing MySQL query MySQL server has gone away
[2005/12/27 18:19:46, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
  get_md4pw: Workstation GARGAMEL$: no account in domain
[2005/12/27 18:19:46, 0]
passdb/pdb_mysql.c:mysqlsam_select_by_field(248)
  Error while executing MySQL query MySQL server has gone away
[2005/12/27 18:19:46, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
  get_md4pw: Workstation GARGAMEL$: no account in domain
[2005/12/27 18:19:47, 2] smbd/server.c:exit_server(612)
  Closing connections

After restarting Samba everthing is fine - for a while.
I think Samba must try to recreate the connection. Is there some switch
for that?

Thanks,

Mario



More information about the samba mailing list