diff -Naur config.h.in config.h.in --- config.h.in 2004-06-24 18:55:19.000000000 -0400 +++ config.h.in 2005-06-30 09:54:27.000000000 -0400 @@ -420,6 +420,9 @@ /* Define to 1 if you want to use Berkeley DB for auth/reg/storage. */ #undef STORAGE_DB +/* Define to 1 if you want to use LDAP for vCard storage. */ +#undef STORAGE_LDAPVCARD + /* Define to 1 if you want to use the filesystem for storage. */ #undef STORAGE_FS diff -Naur configure configure --- configure 2004-06-24 18:53:57.000000000 -0400 +++ configure 2005-06-30 10:18:46.000000000 -0400 @@ -21076,6 +21076,7 @@ cat >>confdefs.h <<\_ACEOF #define STORAGE_LDAP 1 +#define STORAGE_LDAPVCARD 1 _ACEOF fi diff -Naur configure.in configure.in --- configure.in 2004-06-24 18:50:26.000000000 -0400 +++ configure.in 2005-06-30 09:54:27.000000000 -0400 @@ -260,6 +260,7 @@ AC_MSG_ERROR([OpenLDAP client libraries >= 2.1.0 not found]) else AC_DEFINE(STORAGE_LDAP,1,[Define to 1 if you want to use OpenLDAP for auth/reg.]) + AC_DEFINE(STORAGE_LDAPVCARD,1,[Define to 1 if you want to use OpenLDAP for storage.]) fi fi diff -Naur etc/sm.xml.dist.in etc/sm.xml.dist.in --- etc/sm.xml.dist.in 2004-04-01 23:32:31.000000000 -0500 +++ etc/sm.xml.dist.in 2005-06-30 10:09:40.000000000 -0400 @@ -74,6 +74,46 @@ + + + + + + + ldap://localhost/ ldaps://ldap.example.com/ + + + + + + uid + + inetOrgPerson + + departmentNumber + + jabberPublishedItem + + + o=Example Corp. + + @@ -274,6 +314,7 @@ active roster + roster-publish privacy disco-publish vacation @@ -373,6 +414,50 @@