-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shirish Pargaonkar wrote: > What is the best way for smbd to shutdown for whatever reason? > > For example, I want samba to shutdown whenever it receives a trans2 > setfsinfo smb/cifs command with say an invalid info level, instead of > returning an error. > > Not sure whether putting exit call in default case would > suffice, because I did so and smbd was still running.
Add an SMB_ASSERT and compile with --enable-developer. cheers, jerry - -- ===================================================================== Samba ------- http://www.samba.org Likewise Software --------- http://www.likewisesoftware.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH6+2HIR7qMdg1EfYRAnTbAKDIqY7DwLsRJMvLwF7+8n0klxBIUQCdHZG+ cG2jnrtYYt3RmBcnaws/v0s= =MyfU -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba