Hello:

I am attepting to script the Samba 3 net command to create a web
interface for changing Active Directory passwords.  I am having problems
with the net commands PASSWORD directive.  Using net to change a users
password seems to prompt for the user's old password & I have not been
successful at suppressing the prompt.   The prompt is not inducive to
scripting.  

Here is my setup:

Red Hat Linux Enterprise AS 2.
Version 3.0.2a

This command is successful from the command line (meaning it works), but
prompts the user for a password on a second line.  I would like to
suppress that prompt or provide the password for that prompt within the
original command, so I can then script the command.

/usr/local/samba/bin/net -w cuc -I ads.mydomain.com --user=test PASSWORD
test football soccer01

Is there something I am doing incorrectly?

Thank you,
-dkw

Reply via email to