RE: objectRenamed with JNDI persistent search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rich,

I am using the listener that takes a dn and a scope.

For example:

Dn: uid=bob,ou=people
Scope: SUB_TREE scope

I am going to be monitoring lots different users and groups in the directory. I was hoping to have specific monitors for each one. But you are right if this is intended behavior I will have to have a more generic search and inspect the results to see if it is an object I am interested in.

Thanks for your time,

Mike
-----Original Message-----
From: fedora-directory-users-bounces@xxxxxxxxxx [mailto:fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Rich Megginson
Sent: Wednesday, May 06, 2009 10:21 AM
To: General discussion list for the Fedora Directory server project.
Subject: Re:  objectRenamed with JNDI persistent search

Michael A. Epstein wrote:
> Hi Rich,
>
> Thank you for the response to answer your questions:
>
>   
>> Does renaming the entry make it out of scope/filter of your original search? 
>>     
>
> Yes
>
>   
>> Does renaming it back put it back in the scope/filter of your search result set?
>>     
>
> Yes.
>
> Once it is renamed I lose it and renaming it back its fine again.
>   
Then I think you'll have to come up with some sort of persistent search 
scope and filter that includes both the before and after.   What search 
base, scope, and filter are you using?
> -Mike
>
> -----Original Message-----
> From: fedora-directory-users-bounces@xxxxxxxxxx 
> [mailto:fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Rich 
> Megginson
> Sent: Wednesday, May 06, 2009 5:50 AM
> To: General discussion list for the Fedora Directory server project.
> Subject: Re:  objectRenamed with JNDI 
> persistent search
>
> Michael A. Epstein wrote:
>   
>> Hi All,
>>
>>  
>>
>> I am trying to implement persistent search in a Java application. I 
>> have setup Fedora Directory to test this and it all seems to really 
>> work well except the objectRenamed event. When I remove, add or 
>> change an object I get the correct event; but renaming does not seem 
>> to work the way I expect it to. When I rename an object I do not get 
>> the event. However if I then I name it back to its original name get 
>> the objectRenamed event.
>>
>>  
>>
>> I need to know if is this the intended behavior and my expectations 
>> are wrong or if I am possibly doing something wrong?
>>
>>  
>>
>> Thank you for your time any help would be greatly appreciated.
>>
>>     
> Does renaming the entry make it out of scope/filter of your original search?  Does renaming it back put it back in the scope/filter of your search result set?
>   
>>  
>>
>> Thanks,
>>
>> Mike
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> --
>> Fedora-directory-users mailing list
>> Fedora-directory-users@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>   
>>     
>
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   


--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux