aankit / google-apps-shell

Automatically exported from code.google.com/p/google-apps-shell
0 stars 0 forks source link

change_password=true seems to only work when new user being created #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. gas update_user user_name=username change_password=true
2.
3.

What is the expected output? What do you see instead?
output shows no error, normal "Updating username"

What version of the product are you using? On what operating system?
1.1.7 both command line and gui on linux

Please provide any additional information below.
update_user works with changing password but the change_password=true to force 
password change on next login does not.
Just created 41,000 accounts using gas so the function as a whole is fine.

Original issue reported on code.google.com by the.wolf...@gmail.com on 13 Oct 2011 at 6:24

GoogleCodeExporter commented 8 years ago
Hi the.wolfanger,

I couldn't reproduce this. When I update a user and then log in again, I get 
prompted for the password change. The user had already been created, so I'm not 
sure why it didn't work for you.

Had the user in question logged in before? I.e., did you create the user, and 
then update it -- or create the user, log in, and then update?

In this instance GASI is just passing the parameters on to the Apps API, so 
this is probably an API issue, but just trying to figure out what's going on.

Cheers,
- David

Original comment by dha...@google.com on 15 Nov 2011 at 7:44