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
On Tue, 2005-12-27 at 18:22 +0100, Mario Lipinski wrote:> 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...Is there a reason why you chose to use the MySQL backend? If this is a new setup, then I strongly suggest using the LDAP backend. It is more mature (has spent more time in critical environments) and is maintained.> After restarting Samba everthing is fine - for a while. > I think Samba must try to recreate the connection. Is there some switch > for that?I don't think the code was expecting the connections to be dropped. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051230/9037b979/attachment.bin
Skipped content of type multipart/signed
On Fri, Dec 30, 2005 at 02:27:37PM +0100, Mario Lipinski wrote:> After all i want to stay with MySQL now. Are there any reasons from the > point of database structure and SQL itself not to use it as a backend, > apart from the status of the backend itself now?It needs a maintainer who will support it and fix bugs. Without that it is always in danger of breaking and being removed from the tree. We *really* need someone to step up to this, none of the regular Team have time available at the moment to do this. Jeremy.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Allison wrote:> It needs a maintainer who will support it and fix bugs. > Without that it is always in danger of breaking and being > removed from the tree. We *really* need someone to step up > to this, none of the regular Team have time available at > the moment to do this.gahhh....the maintainers are all at the samba-pdbsql@samba.org alias which gets all bugs assigned to the pdb_sql component in bugzilla. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDu+pGIR7qMdg1EfYRAvjKAKDVz7XxEyGW8Ym1gSTuoYGHKa0r1gCg4DYr H8eTXUs9JGRLstElp/yfmAE=8n+w -----END PGP SIGNATURE-----
On Wed, Jan 04, 2006 at 09:31:18AM -0600, Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jeremy Allison wrote: > > > It needs a maintainer who will support it and fix bugs. > > Without that it is always in danger of breaking and being > > removed from the tree. We *really* need someone to step up > > to this, none of the regular Team have time available at > > the moment to do this. > > gahhh....the maintainers are all at the samba-pdbsql@samba.org > alias which gets all bugs assigned to the pdb_sql component > in bugzilla.Yes, but none of them *responded*, did they..... Jeremy.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Allison wrote:>> gahhh....the maintainers are all at the samba-pdbsql@samba.org >> alias which gets all bugs assigned to the pdb_sql component >> in bugzilla. > > > Yes, but none of them *responded*, did they.....Did anyone file a bug ? Or just post to the list? Mail them and light a fire. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDu+y6IR7qMdg1EfYRAmVFAKDf288jQu6SrOua3DDhtgeE5tqXLgCcCrp7 89REVjT2O4Xy3N/ts/lVkSY=z12x -----END PGP SIGNATURE-----