Re: [Samba] net ads user add: Can we prompt for a password?

2012-08-21 Thread TAKAHASHI Motonobu
From: steve Date: Fri, 17 Aug 2012 09:10:01 +0200 On 17/08/12 08:47, steve wrote: > In a script I have this: > > net ads user add $1 > net ads password $1 some-pwd -UAdministrator%admin-pwd > > 1. Can I get net ads to prompt for a new password? Simply "net ads password user@REALM.LOCAL -UAdminis

Re: [Samba] net ads user add: Can we prompt for a password?

2012-08-17 Thread steve
On 17/08/12 08:47, steve wrote: Hi In a script I have this: net ads user add $1 net ads password $1 some-pwd -UAdministrator%admin-pwd 1. Can I get net ads to prompt for a new password? 2. Is there any way I can avoid having the admin-pwd in the script? Administrator has a ticket but still it

[Samba] net ads user add: Can we prompt for a password?

2012-08-16 Thread steve
Hi In a script I have this: net ads user add $1 net ads password $1 some-pwd -UAdministrator%admin-pwd 1. Can I get net ads to prompt for a new password? 2. Is there any way I can avoid having the admin-pwd in the script? Administrator has a ticket but still it fails if I do not supply the pwd