smbpasswd from www...
Dan Christopherson
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):
use English;
#put my real uid and gid into my effective pair, so smbpasswd won't
whine.
($EUID, $EGID) = ($UID, $GID)
open "|smbpasswd -r $MY_PDC -U $user"
this sort of thing has worked for me.
danch
Todd Stiers wrote:
>
> Hi,
>
> 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
>
> --
> [--- [--- [--- [--- [--- [--- [--- [--- [--- [---
> Todd Stiers
> Director of Systems Administration
> The MicroDisplay Corporation
> http://www.microdisplay.com (510)243-9515x129
> ---] ---] ---] ---] ---] ---] ---] ---] ---] ---]
More information about the samba-ntdom
mailing list