When using the option -s to specify /path/smb.conf in swat, start smbd/nmbd/winbind button(s) could not work in swat/status page for 3.0.25. The following patch works to me to fix the problem. diff -C3 web/startstop.c web/startstop.c_new *** web/startstop.c Tue Jun 26 14:15:22 2007 --- web/startstop.c_new Tue Jun 26 14:15:02 2007 *************** *** 38,44 **** become_daemon(True, False); ! execl(binfile, binfile, "-D", NULL); exit(0); } --- 38,44 ---- become_daemon(True, False); ! execl(binfile, binfile, "-D", "-s", dyn_CONFIGFILE, NULL); exit(0); } *************** *** 58,64 **** become_daemon(True, False); ! execl(binfile, binfile, "-D", NULL); exit(0); } --- 58,64 ---- become_daemon(True, False); ! execl(binfile, binfile, "-D", "-s", dyn_CONFIGFILE, NULL); exit(0); } *************** *** 78,84 **** become_daemon(True, False); ! execl(binfile, binfile, NULL); exit(0); } --- 78,84 ---- become_daemon(True, False); ! execl(binfile, binfile, "-s", dyn_CONFIGFILE, NULL); exit(0); } Thanks. -Ying
swat is removed in 4.1