openldap24.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Index: servers/slapd/slapd.conf
  2. --- servers/slapd/slapd.conf.orig 2004-06-18 04:49:08 +0200
  3. +++ servers/slapd/slapd.conf 2005-06-18 12:26:38 +0200
  4. @@ -65,3 +65,19 @@
  5. directory %LOCALSTATEDIR%/openldap-data
  6. # Indices to maintain
  7. index objectClass eq
  8. +
  9. +#######################################################################
  10. +# replication via slurpd(8)
  11. +#######################################################################
  12. +
  13. +# master server configuration
  14. +#replogfile %LOCALSTATEDIR%/openldap-slurp
  15. +#replica-pidfile %LOCALSTATEDIR%/slurpd.pid
  16. +#replica host=slave.example.com:389
  17. +# binddn="cn=admin,dc=example,dc=org"
  18. +# bindmethod=simple credentials=secret
  19. +
  20. +# slave server(s) configuration
  21. +#updatedn "cn=admin,dc=example,dc=org"
  22. +#updateref ldap://master.example.org
  23. +
  24. Index: include/ac/fdset.h
  25. --- include/ac/fdset.h.orig 2005-01-20 19:03:49 +0100
  26. +++ include/ac/fdset.h 2005-10-07 10:07:52 +0200
  27. @@ -22,6 +22,13 @@
  28. #ifndef _AC_FDSET_H
  29. #define _AC_FDSET_H
  30. +#if defined(HAVE_SYS_TYPES_H)
  31. +#include <sys/types.h>
  32. +#endif
  33. +#if defined(HAVE_SYS_SELECT_H)
  34. +#include <sys/select.h>
  35. +#endif
  36. +
  37. #if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE )
  38. # define OPENLDAP_FD_SETSIZE 4096
  39. #endif