Re: script wrapper for smbpasswd?
- From: The Natural Philosopher <a@xxx>
- Date: Fri, 31 Aug 2007 12:08:17 +0100
Davide Bianchi wrote:
On 2007-08-31, The Natural Philosopher <a@xxx> wrote:Oh been ther, done that, just wondered if smbpasswd would work the same in a rooted script as it does in a root console session.file - instead it is all munged up in a passwd.tdb format, so it seems that executing smbpasswd is the best approach: However when executed by (essentially) the web server, - user www-data - it won't have sufficient permissions to utilize smbpasswd..
This is where you have to start reading up no suexec and how to run
scripts with a different user.
Now that IS a thought. I didn't know you could...Anyone done this sort of stuff?
Yes, and is a very lame way of doing it, better to use a different
authentication system for samba (ldap/sql/wathever).
SQL would be ideal..I'll go and research that..
Davide.
- References:
- script wrapper for smbpasswd?
- From: The Natural Philosopher
- script wrapper for smbpasswd?
- Prev by Date: Shop2003.Com online sale iPod
- Next by Date: hot sell nike jordan adidas puma prada jeans sony
- Previous by thread: script wrapper for smbpasswd?
- Next by thread: Re: script wrapper for smbpasswd?
- Index(es):