Re: use of guid instead of uuid
On Sun, 30 Sep 2007, Rudy Gevaert wrote: If people are going to upgrade from a configuration that uses sync_machineid= X and provide_uuid=1, and don't configure guid_mode=sha, what will happen? They will get NULL GUIDs. -- David Carter Email: [EMAIL PROTECTED] University Computing Service,Phone: (01223) 334502 New Museums Site, Pembroke Street, Fax: (01223) 334679 Cambridge UK. CB2 3QH.
[PATCH] cyrus-imapd: define LDAP_DEPRECATED, fixing a few warnings when building with OpenLDAP 2.3
A few functions used in ptclient/ldap.c have been deprecated in OpenLDAP 2.3 and are no longer declared unless LDAP_DEPRECATED is defined. This causes a few warnings and two conversions from int to pointer. This patch fixes it. Signed-off-by: Tomas Janousek [EMAIL PROTECTED] --- --- cyrus-imapd-2.3.9/ptclient/ldap.c.implicitdecl 2007-09-18 15:49:48.0 +0200 +++ cyrus-imapd-2.3.9/ptclient/ldap.c 2007-09-18 15:40:19.0 +0200 @@ -61,6 +61,9 @@ #include sys/un.h #include sys/uio.h +/* Functions like ldap_bind() have been deprecated in OpenLDAP 2.3 */ +#define LDAP_DEPRECATED 1 + #include ldap.h #include lber.h -- Tomas Janousek, SW Engineer, Red Hat, Inc.