smbpasswd from www...
danch at str.com
Thu May 20 21:43:41 GMT 1999
You can get around that with the -U (pretend i'm this other person)
parameter. In perl, you can do things like (paraphrased, anyway, I can
send you a cgi i've written if you like):
#put my real uid and gid into my effective pair, so smbpasswd won't
($EUID, $EGID) = ($UID, $GID)
open "|smbpasswd -r $MY_PDC -U $user"
this sort of thing has worked for me.
Todd Stiers wrote:
> I am building an entire network password synchronization method that
> needs to use smbpasswd to change the SAMBA password.
> The problem is smbpasswd won't run suid, and it fails to run
> suid from another script, putting a huge wrench in my scheme.
> Thank you
> [--- [--- [--- [--- [--- [--- [--- [--- [--- [---
> Todd Stiers
> Director of Systems Administration
> The MicroDisplay Corporation
> http://www.microdisplay.com (510)243-9515x129
> ---] ---] ---] ---] ---] ---] ---] ---] ---] ---]
More information about the samba-ntdom