Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Joe Linoff
etr Vobornik; freeipa-users@redhat.com Subject: Re: [Freeipa-users] How can I change my password from a python script? Joe Linoff wrote: > Hi Petr: > > I implemented what you suggested and everything worked pretty well but > I ran into three issues that you might be able to help me with. >

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Rob Crittenden
Joe Linoff wrote: Hi Petr: I implemented what you suggested and everything worked pretty well but I ran into three issues that you might be able to help me with. ISSUE #1 The first issue (and the most important) is that the password is only temporary. I am prompted to reset it the first time th

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Alexander Bokovoy
On Fri, 29 Jun 2012, Joe Linoff wrote: Hi Alexander: Thank you. I appreciate the feedback. Is it safe to upgrade to 2.2 on a CentOS 6.2 system? I used 2.1.3 because it was in the rpm distribution. I haven't used CentOS 6.2 so I cannot suggest anything on this front. -- / Alexander Bokovoy __

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Joe Linoff
29, 2012 12:38 AM To: Joe Linoff Cc: Alexander Bokovoy; freeipa-users@redhat.com Subject: Re: [Freeipa-users] How can I change my password from a python script? IMHO, 2.1.3 -> 2.2 upgrade should be safe, although I don't know if something was changed in CentOS compared to RHEL where this

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Joe Linoff
: Martin Kosek Cc: Joe Linoff; freeipa-users@redhat.com Subject: Re: [Freeipa-users] How can I change my password from a python script? On Fri, 29 Jun 2012, Martin Kosek wrote: >On Thu, 2012-06-28 at 16:42 -0700, Joe Linoff wrote: >> Hi Petr: >> >> I implemented what you sug

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Martin Kosek
n. > > Regards, > > Joe > > -Original Message- > From: Alexander Bokovoy [mailto:aboko...@redhat.com] > Sent: Friday, June 29, 2012 12:31 AM > To: Martin Kosek > Cc: Joe Linoff; freeipa-users@redhat.com > Subject: Re: [Freeipa-users] How can I change my

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Alexander Bokovoy
On Fri, 29 Jun 2012, Martin Kosek wrote: On Thu, 2012-06-28 at 16:42 -0700, Joe Linoff wrote: Hi Petr: I implemented what you suggested and everything worked pretty well but I ran into three issues that you might be able to help me with. ISSUE #1 The first issue (and the most important) is tha

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Joe Linoff
Subject: Re: [Freeipa-users] How can I change my password from a python script? On Thu, 2012-06-28 at 16:42 -0700, Joe Linoff wrote: > Hi Petr: > > I implemented what you suggested and everything worked pretty well but > I ran into three issues that you might be able to help me with. &

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-29 Thread Martin Kosek
On Thu, 2012-06-28 at 16:42 -0700, Joe Linoff wrote: > Hi Petr: > > I implemented what you suggested and everything worked pretty well but I > ran into three issues that you might be able to help me with. > > ISSUE #1 > The first issue (and the most important) is that the password is only > tempo

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-28 Thread Joe Linoff
x27;sn': (u'last',), 'homedirectory': (u'/home/user5',), 'mail': (u'us...@example.com',), 'krbprincipalname': (u'us...@example.com',), 'givenname': (u'first',), 'cn': (u'first last',),

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-28 Thread Joe Linoff
Subject: Re: [Freeipa-users] How can I change my password from a python script? On 06/28/2012 03:34 AM, Joe Linoff wrote: > Hi Everybody: > > > > I need to add a lot of users to an LDAP system for testing and I would > like to do it in batch mode. For my small tests have been do

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-28 Thread Joe Linoff
: Joe Linoff Cc: freeipa-users@redhat.com Subject: Re: [Freeipa-users] How can I change my password from a python script? On 06/28/2012 03:34 AM, Joe Linoff wrote: > Hi Everybody: > > > > I need to add a lot of users to an LDAP system for testing and I would > like to do it in

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-28 Thread Martin Kosek
On 06/28/2012 03:34 AM, Joe Linoff wrote: > Hi Everybody: > > > > I need to add a lot of users to an LDAP system for testing and I would like to > do it in batch mode. For my small tests have been doing something like this: > > > > #!/bin/bash > > # Script to create a new user. > > ipa us

Re: [Freeipa-users] How can I change my password from a python script?

2012-06-28 Thread Petr Vobornik
On 06/28/2012 03:34 AM, Joe Linoff wrote: Hi Everybody: I need to add a lot of users to an LDAP system for testing and I would like to do it in batch mode. For my small tests have been doing something like this: A batch command might be useful for this case. Example (note that I'm not a pyt

[Freeipa-users] How can I change my password from a python script?

2012-06-27 Thread Joe Linoff
Hi Everybody: I need to add a lot of users to an LDAP system for testing and I would like to do it in batch mode. For my small tests have been doing something like this: #!/bin/bash # Script to create a new user. ipa user-add bigbob \ --email=b...@bigbobsemporium.com \ --first