Advertisement
Guest User

Untitled

a guest
Nov 25th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. root@841bcd3161d4:/etc/ldap# cat /etc/odbc.ini
  2. [example]
  3. Description = Example for OpenLDAP's back-sql
  4. Driver = Firebird
  5. Dbname = 172.19.20.112:FZ.FDB
  6. User = sysdba
  7. Password = masterkey
  8. Role =
  9. CharacterSet = UTF8
  10. ReadOnly = No
  11. NoWait = No
  12.  
  13. [example2]
  14. Driver = PostgreSQL Unicode
  15. Description = PostgreSQL Data Source
  16. Servername = 172.19.20.112
  17. Port = 5432
  18. Protocol = 10
  19. UserName = postgres
  20. Password = masterkey
  21. Database = postgres
  22. root@841bcd3161d4:/etc/ldap# cat /etc/odbcinst.ini
  23. [Firebird]
  24. Description=InterBase/Firebird ODBC Driver
  25. Driver=/libOdbcFb.so
  26. Setup=/libOdbcFb.so
  27. Threading=1
  28. FileUsage=1
  29. CPTimeout=
  30. CPReuse=
  31.  
  32. [PostgreSQL ANSI]
  33. Description=PostgreSQL ODBC driver (ANSI version)
  34. Driver=psqlodbca.so
  35. Setup=libodbcpsqlS.so
  36. Debug=0
  37. CommLog=1
  38. UsageCount=1
  39.  
  40. [PostgreSQL Unicode]
  41. Description=PostgreSQL ODBC driver (Unicode version)
  42. Driver=psqlodbcw.so
  43. Setup=libodbcpsqlS.so
  44. Debug=0
  45. CommLog=1
  46. UsageCount=1
  47.  
  48. root@841bcd3161d4:/etc/ldap# cat slapd.conf
  49. # This is the main slapd configuration file. See slapd.conf(5) for more
  50. # info on the configuration options.
  51.  
  52. #######################################################################
  53. # Global Directives:
  54.  
  55. # Schema and objectClass definitions
  56. include /etc/ldap/schema/core.schema
  57. include /etc/ldap/schema/cosine.schema
  58. # include /etc/ldap/schema/nis.schema
  59. include /etc/ldap/schema/inetorgperson.schema
  60.  
  61. # Where the pid file is put. The init.d script
  62. # will not stop the server if you change this.
  63. pidfile /var/run/slapd/slapd.pid
  64.  
  65. # List of arguments that were passed to the server
  66. argsfile /var/run/slapd/slapd.args
  67.  
  68. # Read slapd.conf(5) for possible values
  69. loglevel none
  70.  
  71. # Where the dynamically loaded modules are stored
  72. #modulepath /usr/lib/ldap
  73. modulepath /root/back-sql2/openldap-2.4.45+dfsg/debian/build/servers/slapd/back-sql/.libs/
  74. moduleload back_sql
  75.  
  76. # The maximum number of entries that is returned for a search operation
  77. sizelimit 500
  78.  
  79. # The tool-threads parameter sets the actual amount of cpu's that is used
  80. # for indexing.
  81. tool-threads 1
  82.  
  83. #
  84. # sql database definitions
  85. #
  86.  
  87. database sql
  88. suffix "o=sql,c=RU"
  89. rootdn "cn=root,o=sql,c=RU"
  90. rootpw secret
  91. dbname example2
  92. dbuser postgres
  93. #dbuser sysdba
  94. dbpasswd masterkey
  95. upper_func "upper"
  96. concat_pattern "?||?"
  97. has_ldapinfo_dn_ru no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement