![]() įor organization and config file readability it might also be helpful to order these commands as suggested above. This approach works fine in every install I have tried (across various distros to include recent versions of Mint, Ubuntu and Debian) where I have edited the Webmin Samba config file. ![]() The correct implementation for all modern Debian distributions should be as follows: You are actually a little closer to using Samba's new service commands - this version uses "service smbd restart" - UNFORTUNATELY, this is used at the start_cmd line (in /etc/webmin/samba/config) Once again, this has broken Samba restart and stop control within Webmin. I recently upgraded Webmin on a couple LinuxMint 16 machines to version 1.690 Is this the reason you do not call it thusly? It occurs to me that non-Ubuntu based distros may not have the "service smbd restart" command. [There is also a samba service start command which would be appropriate to wire to a "start samba servers" button if you wish to have it (as before, though certainly not neccessary). I still think that a button marked "restart" should invoke the Samba service restart command (even if it is itself calling two scripts, stop ans start). semantic correctnes will makes it easier to understand Webmin. One concern I have (which I must not have explained clearly before) is that a button labled "restart samba servers" does not actually "restart" the samba daemon - it stops it and then starts it. ![]() Once again, I changed the command being invoked to "start_cmd=service smbd restart" and the restart once again works. "Failed to restart Samba servers : /etc/init.d/samba start || (/etc/init.d/nmbd start /etc/init.d/smbd start) failed" The "restart samba servers" button unfortunately still fails, with the same error message: next version since I started this thread) I just set up a new Linux Mint 16 machine, also with Webmin, this time 1.670 (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |