[Samba] How to exit samba gracefully from within the smbd code

2008-03-27 Thread Shirish Pargaonkar
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

Re: [Samba] How to exit samba gracefully from within the smbd code

2008-03-27 Thread Gerald (Jerry) Carter
-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