Your message dated Fri, 2 Jan 2009 19:37:23 GMT
with message-id <[email protected]>
and subject line directory-administrator has been removed from Debian, closing 
#463372
has caused the Debian Bug report #463372,
regarding directory-administrator: ldap_init, ldap_get_values implicitly 
converted to pointers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
463372: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463372
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: directory-administrator
Version: 1.7.1-1
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.
For more information, see [2].

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions

  Function `ldap_init' implicitly converted to pointer at profile.c:277
  Function `ldap_get_values' implicitly converted to pointer at users.c:454
  Function `ldap_get_values' implicitly converted to pointer at 
appfunctions.c:179
  Function `ldap_get_values' implicitly converted to pointer at 
usergrouplists.c:722

The libldap API has been updated and many functions used by the ldap
plugin are now deprecated. This package should either update to the
new API or define LDAP_DEPRECATED to continue using the deprecated
interfaces.

This patch implements the lazy solution.

diff -urpN directory-administrator-1.7.1.orig/src/appglobals.h 
directory-administrator-1.7.1/src/appglobals.h
--- directory-administrator-1.7.1.orig/src/appglobals.h 2005-08-04 
14:24:09.000000000 -0600
+++ directory-administrator-1.7.1/src/appglobals.h      2008-01-31 
00:04:25.000000000 -0700
@@ -15,6 +15,7 @@
 
 #include <errno.h>
 #include <lber.h>
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 #include <gnome.h>
 #include "profile.h"
diff -urpN directory-administrator-1.7.1.orig/src/profile.h 
directory-administrator-1.7.1/src/profile.h
--- directory-administrator-1.7.1.orig/src/profile.h    2005-08-04 
14:24:09.000000000 -0600
+++ directory-administrator-1.7.1/src/profile.h 2008-01-31 00:17:09.000000000 
-0700
@@ -16,6 +16,7 @@
 #include <string.h>
 #include <glib.h>
 #include <lber.h>
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 
 #ifndef __profile_h_defined
diff -urpN directory-administrator-1.7.1.orig/src/users.h 
directory-administrator-1.7.1/src/users.h
--- directory-administrator-1.7.1.orig/src/users.h      2005-08-04 
14:24:09.000000000 -0600
+++ directory-administrator-1.7.1/src/users.h   2008-01-31 00:16:22.000000000 
-0700
@@ -18,6 +18,7 @@
 
 #include <glib.h>
 #include <lber.h>
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 #include "profile.h"
 #include "pairs.h"



--- End Message ---
--- Begin Message ---
Version: 1.7.1-1+rm

The directory-administrator package has been removed from Debian testing, 
unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/507037 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues
http://Marco.Tondela.org


--- End Message ---

Reply via email to