Re: [Freeipa-users] What is the best way to make batch changes to the LDAP?

2012-06-27 Thread Joe Linoff
oe Linoff Sent: Wednesday, June 27, 2012 11:02 AM To: Martin Kosek Cc: freeipa-users@redhat.com; Joe Linoff Subject: RE: [Freeipa-users] What is the best way to make batch changes to the LDAP? Hi Martin: Excellent! Thank you. Regards, Joe -Original Message- From: Martin Kosek [mailto

Re: [Freeipa-users] What is the best way to make batch changes to the LDAP?

2012-06-27 Thread Joe Linoff
Hi Martin: Excellent! Thank you. Regards, Joe -Original Message- From: Martin Kosek [mailto:mko...@redhat.com] Sent: Tuesday, June 26, 2012 11:34 PM To: Joe Linoff Cc: freeipa-users@redhat.com Subject: Re: [Freeipa-users] What is the best way to make batch changes to the LDAP? On 06

Re: [Freeipa-users] What is the best way to make batch changes to the LDAP?

2012-06-26 Thread Martin Kosek
On 06/27/2012 01:56 AM, Joe Linoff wrote: > Hi Everybody: > > > > Here is a python approach that I am experimenting with based on reading the > source code. It seems to work but it is re-entrant? Does this make sense? Is > there a better way (like ldapmodify)? > > > > #!/usr/bin/env python

Re: [Freeipa-users] What is the best way to make batch changes to the LDAP?

2012-06-26 Thread Joe Linoff
Hi Everybody: Here is a python approach that I am experimenting with based on reading the source code. It seems to work but it is re-entrant? Does this make sense? Is there a better way (like ldapmodify)? #!/usr/bin/env python # # Emulate the ipa command line interface in a script so that

[Freeipa-users] What is the best way to make batch changes to the LDAP?

2012-06-26 Thread Joe Linoff
Hi Everybody: I need to change the mailing address information for a group of employees in the FreeIPA LDAP and would like to do it in a script. I know that I can do it using "ipa user-mod" in a shell script but I was wondering whether I could use python. Does using python make sense?