Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@841bcd3161d4:/etc/ldap# cat /etc/odbc.ini
- [example]
- Description = Example for OpenLDAP's back-sql
- Driver = Firebird
- Dbname = 172.19.20.112:FZ.FDB
- User = sysdba
- Password = masterkey
- Role =
- CharacterSet = UTF8
- ReadOnly = No
- NoWait = No
- [example2]
- Driver = PostgreSQL Unicode
- Description = PostgreSQL Data Source
- Servername = 172.19.20.112
- Port = 5432
- Protocol = 10
- UserName = postgres
- Password = masterkey
- Database = postgres
- root@841bcd3161d4:/etc/ldap# cat /etc/odbcinst.ini
- [Firebird]
- Description=InterBase/Firebird ODBC Driver
- Driver=/libOdbcFb.so
- Setup=/libOdbcFb.so
- Threading=1
- FileUsage=1
- CPTimeout=
- CPReuse=
- [PostgreSQL ANSI]
- Description=PostgreSQL ODBC driver (ANSI version)
- Driver=psqlodbca.so
- Setup=libodbcpsqlS.so
- Debug=0
- CommLog=1
- UsageCount=1
- [PostgreSQL Unicode]
- Description=PostgreSQL ODBC driver (Unicode version)
- Driver=psqlodbcw.so
- Setup=libodbcpsqlS.so
- Debug=0
- CommLog=1
- UsageCount=1
- root@841bcd3161d4:/etc/ldap# cat slapd.conf
- # This is the main slapd configuration file. See slapd.conf(5) for more
- # info on the configuration options.
- #######################################################################
- # Global Directives:
- # Schema and objectClass definitions
- include /etc/ldap/schema/core.schema
- include /etc/ldap/schema/cosine.schema
- # include /etc/ldap/schema/nis.schema
- include /etc/ldap/schema/inetorgperson.schema
- # Where the pid file is put. The init.d script
- # will not stop the server if you change this.
- pidfile /var/run/slapd/slapd.pid
- # List of arguments that were passed to the server
- argsfile /var/run/slapd/slapd.args
- # Read slapd.conf(5) for possible values
- loglevel none
- # Where the dynamically loaded modules are stored
- #modulepath /usr/lib/ldap
- modulepath /root/back-sql2/openldap-2.4.45+dfsg/debian/build/servers/slapd/back-sql/.libs/
- moduleload back_sql
- # The maximum number of entries that is returned for a search operation
- sizelimit 500
- # The tool-threads parameter sets the actual amount of cpu's that is used
- # for indexing.
- tool-threads 1
- #
- # sql database definitions
- #
- database sql
- suffix "o=sql,c=RU"
- rootdn "cn=root,o=sql,c=RU"
- rootpw secret
- dbname example2
- dbuser postgres
- #dbuser sysdba
- dbpasswd masterkey
- upper_func "upper"
- concat_pattern "?||?"
- has_ldapinfo_dn_ru no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement