how to call smbpasswd from setuid program?

2003-02-16 Thread Martin Rasp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I'm developing a samba frontend which is called "Take a Joint" (Project page: http://www.linux-fuer-alle.de/mr/taj/). To allow users to share directories which should be protected by a password I need to call smbpasswd from my installed setuid

reload smb.conf & terminate connections

2002-11-22 Thread Martin Rasp
Hi. I'm developing a command line tool (a GUI is following) for easily sharing local directories as an unprivileged user. I've almost finished it, but there is one thing that's still bothering me. After adding shares smbd reloads its config file (via SIGHUP). Under Windows new shares appear im