Effecting changes read from an LDIF

2006-04-29 Thread Ed Miller
Hello All, May I just start by saying thank heavens this the LDAP bundle exists!!! It holds the promise of greatly simplifying a lot of my directory administration. That said, I don't appear to fully understand the Net::LDAP update() method's calling convention. I have an LDIF file which contai

Re: Effecting changes read from an LDIF

2006-05-02 Thread Ed Miller
ng in the directory gets changed. I'm uncertain why that's the case. I have stepped through it using ptkdb, but I'm not following the action very well. I'm still looking for suggestions... :( Ed Christopher A Bongaarts wrote: > In the immortal words of Ed Miller: > >

Re: Effecting changes read from an LDIF

2006-05-02 Thread Ed Miller
Let me generalize this question a bit more...perhaps that would help. When I read all of the entries in from the LDIF (and they have changetypes included), I get $entry objects that have values correctly populated in $entry->{"changes"}. But doing $entry->update($ldap) appears to do nothing to th

Re: Effecting changes read from an LDIF

2006-05-02 Thread Ed Miller
Thank you to everyone who has helped me to figure this out. I'm reminded that the problem is usually occurring in a location other than where you're looking. If you're watching the stove to make sure the pot doesn't boil over, the sink is probably backing up behind you. In this case, I was loadi

Re: Effecting changes read from an LDIF

2006-05-02 Thread Ed Miller
Thanks to all who have tried to help me here. I just checked the server logs (duh) and there are errors when the $ldap client is attempting to make the changes. It's an error 65 on a Sun ONE Directory Server. I'll look at what's going on and report here. Clearly, the $entry->update method shoul