[Fedora-directory-devel] Fedora Directory Server Application patch
by Lillian Angel
Hello,
I have created a patch for the Netscape/Fedora Directory Server
Application. When applied to the console directory, the application
builds successfully against Classpath and the JDK.
Also, the file console.src.com.netscape.client.comm.Hanger.java should
be removed from the cvs repository. Its a problem for free VMs
since we don't implement sun.net.www.protocol.http*. I found by removing
it, it compiles fine with the JDK and Classpath.
See the attached patch.
Thanks,
Lillian Angel
18 years, 6 months
[Fedora-directory-devel] Plug-in development query
by Umasankar
Hi,
Please bear with me if this is already handled in a
bug report or something like that. I did a search on
that docs, web and bugzilla but didnt find an answer.
I am trying to write a simple post add operation
plug-in that logs the added entry to a change log
file. But I am facing an issue that even when the add
operation fails due to any reason, the post operation
plug-in logs the changes which is logically incorrect.
I am aware that a post operation plug-in will run
irrespective of whether the operation was successful
or failure. But I think there should be a way to know
the status of the operation from within the post-op
plug-in i.e. through the parameter block. I searched
through the RedHats plug-in programmers guide, but
to no avail.
I found that the Parameter block structure has an
integer variable pb_result_code (slap.h:1395: int
pb_result_code) which I believe should store the
result of the operation as set by the back end. I
would like to know if this is right and if so, how to
access this variable from the plug-in or is there a
better way of finding the status of the operation that
I am not aware of.
Any help or pointers to the right document will be
appreciated.
Thanks
Umasankar P
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
18 years, 6 months
[Fedora-directory-devel] Plug-in development query
by Umasankar Pandurangan
Hi,
Please bear with me if this is already handled in a bug report or
something like that. I did a search on that docs, web and bugzilla but
didn't find an answer.
I am trying to write a simple post add operation plug-in that logs the
added entry to a change log file. But I am facing an issue that even
when the add operation fails due to any reason, the post operation
plug-in logs the changes which is logically incorrect. I am aware that a
post operation plug-in will run irrespective of whether the operation
was successful or failure. But I think there should be a way to know the
status of the operation from within the post-op plug-in i.e. through the
parameter block. I searched through the RedHat's plug-in programmer's
guide, but to no avail.
I found that the Parameter block structure has an integer variable
'pb_result_code' (slap.h:1395: int pb_result_code) which I believe
should store the result of the operation as set by the back end. I would
like to know if this is right and if so, how to access this variable
from the plug-in or is there a better way of finding the status of the
operation that I am not aware of.
Any help or pointers to the right document will be appreciated.
Thanks
Umasankar P
18 years, 6 months