Hi Günther,

I've added you to the community project (let me know if you would
prefer to use a different Google account).

Let us know what scripts you contribute!

Thanks,

-alex

On Jan 19, 7:26 am, "Günther Fischer" <[EMAIL PROTECTED]
chemnitz.de> wrote:
> Hi Alex,
> I have looked at the 2 links - I think the first link is a good place.
> To join the project as a member I have to ask one of the project owners as 
> you.
>
> On Jan 19, 2008 8:26 AM, Alex (Google) <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi Guenther,
>
> > First of all, thanks for the idea of having a collection of small
> > scripts.  I think that's a great idea, that many admins would benefit
> > from  One place to add these would be here:
>
> >http://code.google.com/p/googleappsapi-community/
>
> > Or if you want, you can create your own project on:
>
> >http://code.google.com/hosting
>
> > About the error, can you catch and inspect the error?  The technique
> > is described here:
>
> >http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_referenc...
>
> > I'm guessing the error is InvalidPassword(1402).
>
> > For the SHA-1 case, you would also need to set the hash function name,
> > e.g.
>
> >   user_entry.login.hash_function_name = 'SHA-1'
>
> > -alex
>
> > On Jan 17, 10:54 am, "guenther.s.fischer" <[EMAIL PROTECTED]
>
> > chemnitz.de> wrote:
> > > Hi,
> > > we have setup a installation for our university with SSO. We register
> > > the willing users with a python script addUser.py and
> > > give them a generated passwd. For using Google Apps with a Webbrowser
> > > SSO works fine - users are using their SSO
> > > once a day authetificated  for all services at university or for
> > > Google Apps.
>
> > > But some want tu use mobiles ore other special application, so they
> > > need also the google account/passwd. This is running with the
> > > generated passwd well but naturally users want to change this
> > > password.
> > > I dont find an example for changing password via python API.
>
> > > I have tried
> > > ...
> > >    user_entry=service.RetrieveUser(user_name)
> > >    user_entry.login.password=user_password)
> > >    service.UpdateUser(user_name, user_entry)
>
> > > and got an error in UpdateUser call ...
> > > Then I found the passwd has to be in SHA-1 and tries next
>
> > >    user_entry=service.RetrieveUser(user_name)
> > >    user_entry.login.password=sha.new(user_password).hexdigest()
> > >    service.UpdateUser(user_name, user_entry)
>
> > > This call work well, but the setting passwd fails.
> > > To correct this I can use the adopted php-demo but this is not the
> > > soluition for us.
>
> > > Can anybody help? What I miss is a collection of small scripts like
>
> > > addUser.py, changePassword.py, changeUserName.py, etc.
>
> > > We could give our working scripts into such a collection ...
>
> > > Regards
> > > Guenther
>
> --
> Mit freundlichen Grüßen / Regards
> Günther Fischer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to