Код: Выделить всё
2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME 'caseIgnoreListMatch' APPLIES ( postalAddress $ registeredAddress $ homePostalAddress ) )
2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME 'numericStringMatch' APPLIES ( x121Address $ internationaliSDNNumber ) )
2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: ( 2.5.13.7 NAME 'caseExactSubstringsMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier ) )
2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: ( 2.5.13.6 NAME 'caseExactOrderingMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier ) )
2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ olcSpCheckpoint $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ personalTitle $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
2.5.13.4 (caseIgnoreSubstringsMatch): matchingRuleUse: ( 2.5.13.4 NAME 'caseIgnoreSubstringsMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier ) )
2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME 'caseIgnoreOrderingMatch' APPLIES ( serialNumber $ destinationIndicator $ dnQualifier ) )
2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME 'caseIgnoreMatch' APPLIES ( supportedSASLMechanisms $ vendorName $ vendorVersion $ ref $ name $ cn $ uid $ labeledURI $ description $ olcConfigFile $ olcConfigDir $ olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ olcAttributeTypes $ olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ olcBackend $ olcDatabase $ olcDisallows $ olcDitContentRules $ olcInclude $ olcLdapSyntaxes $ olcLimits $ olcLogFile $ olcLogLevel $ olcModuleLoad $ olcModulePath $ olcObjectClasses $ olcObjectIdentifier $ olcOverlay $ olcPasswordCryptSaltFormat $ olcPasswordHash $ olcPidFile $ olcPlugin $ olcPluginLogFile $ olcReferral $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDSE $ olcRootPW $ olcSaslAuxprops $ olcSaslHost $ olcSaslRealm $ olcSaslSecProps $ olcSecurity $ olcServerID $ olcSizeLimit $ olcSortVals $ olcSubordinate $ olcSyncrepl $ olcTCPBuffer $ olcTimeLimit $ olcTLSCACertificateFile $ olcTLSCACertificatePath $ olcTLSCertificateFile $ olcTLSCertificateKeyFile $ olcTLSCipherSuite $ olcTLSCRLCheck $ olcTLSCRLFile $ olcTLSRandFile $ olcTLSVerifyClient $ olcTLSDHParamFile $ olcTLSProtocolMin $ olcUpdateRef $ olcDbDirectory $ olcSpCheckpoint $ knowledgeInformation $ sn $ serialNumber $ c $ l $ st $ street $ o $ ou $ title $ businessCategory $ postalCode $ postOfficeBox $ physicalDeliveryOfficeName $ destinationIndicator $ givenName $ initials $ generationQualifier $ dnQualifier $ houseIdentifier $ dmdName $ pseudonym $ textEncodedORAddress $ info $ drink $ roomNumber $ userClass $ host $ documentIdentifier $ documentTitle $ documentVersion $ documentLocation $ personalTitle $ co $ uniqueIdentifier $ organizationalStatus $ buildingName $ documentPublisher $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ preferredLanguage ) )
1.2.36.79672281.1.13.3 (rdnMatch): 2.5.13.1 (distinguishedNameMatch): matchingRuleUse: ( 2.5.13.1 NAME 'distinguishedNameMatch' APPLIES ( creatorsName $ modifiersName $ subschemaSubentry $ entryDN $ namingContexts $ aliasedObjectName $ dynamicSubtrees $ distinguishedName $ seeAlso $ olcDefaultSearchBase $ olcRootDN $ olcSchemaDN $ olcSuffix $ olcUpdateDN $ olcRelay $ member $ owner $ roleOccupant $ manager $ documentAuthor $ secretary $ associatedName $ dITRedirect ) )
2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures $ supportedApplicationContext ) )
slaptest startup: initiated.
backend_startup_one: starting "cn=config"
config_back_db_open
config_build_entry: "cn=config"
config_build_entry: "cn=module{0}"
config_build_entry: "cn=schema"
config_build_entry: "cn={0}core"
config_build_entry: "cn={1}cosine"
config_build_entry: "cn={2}inetorgperson"
config_build_entry: "cn={3}openldap"
config_build_entry: "olcDatabase={-1}frontend"
config_build_entry: "olcDatabase={0}config"
WARNING: No dynamic config support for database sql.
config_build_entry: "olcDatabase={1}sql"
backend_startup_one: starting "dc=sdb,dc=ru"
==>backsql_db_open(): testing RDBMS connection
backsql_db_open(): subtree search SQL condition not specified (use "subtree_cond" directive in slapd.conf); preparing default
backsql_db_open(): setting "upper(ldap_entries.dn) LIKE upper('%'||?)" as default "subtree_cond"
backsql_db_open(): children search SQL condition not specified (use "children_cond" directive in slapd.conf); preparing default
backsql_db_open(): setting "upper(ldap_entries.dn) LIKE upper('%,'||?)" as default "children_cond"
backsql_db_open(): DN match search SQL condition not specified (use "dn_match_cond" directive in slapd.conf); preparing default
backsql_db_open(): setting "upper(ldap_entries.dn)=upper(?)" as default "dn_match_cond"
backsql_db_open(): objectclass mapping SQL statement not specified (use "oc_query" directive in slapd.conf)
backsql_db_open(): setting "SELECT id,name,keytbl,keycol,create_proc,delete_proc,expect_return FROM ldap_oc_mappings" by default
backsql_db_open(): attribute mapping SQL statement not specified (use "at_query" directive in slapd.conf)
backsql_db_open(): setting "SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u FROM ldap_attr_mappings WHERE oc_map_id=?" by default
backsql_db_open(): entry deletion SQL statement not specified (use "delentry_stmt" directive in slapd.conf)
backsql_db_open(): setting "DELETE FROM ldap_entries WHERE id=?" by default
backsql_db_open(): entry deletion SQL statement not specified (use "renentry_stmt" directive in slapd.conf)
backsql_db_open(): setting "UPDATE ldap_entries SET dn=?,parent=?,keyval=? WHERE id=?" by default
backsql_db_open(): objclasses deletion SQL statement not specified (use "delobjclasses_stmt" directive in slapd.conf)
backsql_db_open(): setting "DELETE FROM ldap_entry_objclasses WHERE entry_id=?" by default
==>backsql_get_db_conn()
==>backsql_open_db_handle()
<==backsql_open_db_handle()
<==backsql_get_db_conn()
==>backsql_load_schema_map()
backsql_load_schema_map(): oc_query "SELECT id,name,keytbl,keycol,create_proc,delete_proc,expect_return FROM ldap_oc_mappings"
objectClass: id="1" name="organization" keytbl="org" keycol="id" create_proc="select create_org()" create_keyval="" delete_proc="select delete_org(?)" expect_return="0"create_hint=""
backsql_load_schema_map(): objectClass "organization":
keytbl="org" keycol="id"
create_proc="select create_org()"
delete_proc="select delete_org(?)"
expect_return: add=0, del=0; attributes:
objectClass: id="2" name="organizationalUnit" keytbl="ou" keycol="id" create_proc="SELECT create_ou()" create_keyval="" delete_proc="select delete_ou(?)" expect_return="0"create_hint=""
backsql_load_schema_map(): objectClass "organizationalUnit":
keytbl="ou" keycol="id"
create_proc="SELECT create_ou()"
delete_proc="select delete_ou(?)"
expect_return: add=0, del=0; attributes:
objectClass: id="3" name="inetorgperson" keytbl="address_book" keycol="id" create_proc="SELECT create_address()" create_keyval="" delete_proc="DELETE FROM address_book WHERE id=?" expect_return="0"create_hint=""
backsql_load_schema_map(): objectClass "inetOrgPerson":
keytbl="address_book" keycol="id"
create_proc="SELECT create_address()"
delete_proc="DELETE FROM address_book WHERE id=?"
expect_return: add=0, del=0; attributes:
backsql_load_schema_map(): at_query "SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u FROM ldap_attr_mappings WHERE oc_map_id=?"
backsql_oc_get_attr_mapping(): executing at_query
"SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u FROM ldap_attr_mappings WHERE oc_map_id=?"
for objectClass "organization"
with param oc_id="1"
attributeType: name="o" sel_expr="org" from="org" join_where="" add_proc="SELECT set_org(?,?)" delete_proc="SELECT del_org(?,?)" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT org AS o FROM org WHERE org.id=? ORDER BY o"
backsql_load_schema_map("organization"): autoadding 'objectClass' and 'ref' mappings
backsql_oc_get_attr_mapping(): executing at_query
"SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u FROM ldap_attr_mappings WHERE oc_map_id=?"
for objectClass "inetOrgPerson"
with param oc_id="3"
attributeType: name="cn" sel_expr="text(address_book.name||' '||address_book.surname)" from="address_book" join_where="" add_proc="SELECT update_address_cn(?,?)" delete_proc="SELECT 1 FROM address_book WHERE address_book.name=? AND address_book.id=? AND 1
backsql_oc_get_attr_mapping(): preconstructed query "SELECT text(address_book.name||' '||address_book.surname) AS cn FROM address_book WHERE address_book.id=? ORDER BY cn"
attributeType: name="givenName" sel_expr="address_book.name" from="address_book" join_where="" add_proc="UPDATE address_book SET name=? WHERE id=?" delete_proc="UPDATE address_book SET name='' WHERE (name=? OR name='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.name AS givenName FROM address_book WHERE address_book.id=? ORDER BY givenName"
attributeType: name="sn" sel_expr="address_book.surname" from="address_book" join_where="" add_proc="UPDATE address_book SET surname=? WHERE id=?" delete_proc="UPDATE address_book SET surname='' WHERE (surname=? OR surname='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.surname AS sn FROM address_book WHERE address_book.id=? ORDER BY sn"
attributeType: name="mail" sel_expr="address_book.mail" from="address_book" join_where="" add_proc="UPDATE address_book SET mail=? WHERE id=?" delete_proc="UPDATE address_book SET mail='' WHERE (mail=? OR mail='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.mail AS mail FROM address_book WHERE address_book.id=? ORDER BY mail"
attributeType: name="telephoneNumber" sel_expr="address_book.workphone" from="address_book" join_where="" add_proc="UPDATE address_book SET workphone=? WHERE id=?" delete_proc="UPDATE address_book SET workphone='' WHERE (workphone=? OR workphone='') AND i
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.workphone AS telephoneNumber FROM address_book WHERE address_book.id=? ORDER BY telephoneNumber"
attributeType: name="homePhone" sel_expr="address_book.homephone" from="address_book" join_where="" add_proc="UPDATE address_book SET homephone=? WHERE id=?" delete_proc="UPDATE address_book SET homephone='' WHERE (homephone=? OR homephone='') AND id=?" s
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.homephone AS homePhone FROM address_book WHERE address_book.id=? ORDER BY homePhone"
attributeType: name="mobile" sel_expr="address_book.mobile" from="address_book" join_where="" add_proc="UPDATE address_book SET mobile=? WHERE id=?" delete_proc="UPDATE address_book SET mobile='' WHERE (mobile=? OR mobile='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.mobile AS mobile FROM address_book WHERE address_book.id=? ORDER BY mobile"
attributeType: name="title" sel_expr="address_book.title" from="address_book" join_where="" add_proc="UPDATE address_book SET title=? WHERE id=?" delete_proc="UPDATE address_book SET title='' WHERE (title=? OR title='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.title AS title FROM address_book WHERE address_book.id=? ORDER BY title"
attributeType: name="ou" sel_expr="address_book.department" from="address_book" join_where="" add_proc="UPDATE address_book SET department=? WHERE id=?" delete_proc="UPDATE address_book SET department='' WHERE (department=? OR department='') AND id=?" sel
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.department AS ou FROM address_book WHERE address_book.id=? ORDER BY ou"
attributeType: name="o" sel_expr="address_book.organization" from="address_book" join_where="" add_proc="UPDATE address_book SET organization=? WHERE id=?" delete_proc="UPDATE address_book SET organization='' WHERE (organization=? OR organization='') AND
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.organization AS o FROM address_book WHERE address_book.id=? ORDER BY o"
attributeType: name="facsimileTelephoneNumber" sel_expr="address_book.fax" from="address_book" join_where="" add_proc="UPDATE address_book SET fax=? WHERE id=?" delete_proc="UPDATE address_book SET fax='' WHERE (fax=? OR fax='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.fax AS facsimileTelephoneNumber FROM address_book WHERE address_book.id=? ORDER BY facsimileTelephoneNumber"
attributeType: name="pager" sel_expr="address_book.pager" from="address_book" join_where="" add_proc="UPDATE address_book SET pager=? WHERE id=?" delete_proc="UPDATE address_book SET pager='' WHERE (pager=? OR pager='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.pager AS pager FROM address_book WHERE address_book.id=? ORDER BY pager"
attributeType: name="homePostalAddress" sel_expr="address_book.homeaddress" from="address_book" join_where="" add_proc="UPDATE address_book SET homeaddress=? WHERE id=?" delete_proc="UPDATE address_book SET homeaddress='' WHERE (homeaddress=? OR homeaddre
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.homeaddress AS homePostalAddress FROM address_book WHERE address_book.id=? ORDER BY homePostalAddress"
attributeType: name="street" sel_expr="address_book.workaddress" from="address_book" join_where="" add_proc="UPDATE address_book SET workaddress=? WHERE id=?" delete_proc="UPDATE address_book SET workaddress='' WHERE (workaddress=? OR workaddress='') AND
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.workaddress AS street FROM address_book WHERE address_book.id=? ORDER BY street"
attributeType: name="l" sel_expr="address_book.city" from="address_book" join_where="" add_proc="UPDATE address_book SET city=? WHERE id=?" delete_proc="UPDATE address_book SET city='' WHERE (city=? OR city='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.city AS l FROM address_book WHERE address_book.id=? ORDER BY l"
attributeType: name="st" sel_expr="address_book.state" from="address_book" join_where="" add_proc="UPDATE address_book SET state=? WHERE id=?" delete_proc="UPDATE address_book SET state='' WHERE (state=? OR state='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.state AS st FROM address_book WHERE address_book.id=? ORDER BY st"
attributeType: name="postalCode" sel_expr="address_book.postal_code" from="address_book" join_where="" add_proc="UPDATE address_book SET postal_code=? WHERE id=?" delete_proc="UPDATE address_book SET postal_code='' WHERE (postal_code=? OR postal_code='')
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.postal_code AS postalCode FROM address_book WHERE address_book.id=? ORDER BY postalCode"
attributeType: name="userPassword" sel_expr="address_book.userpassword" from="address_book" join_where="" add_proc="UPDATE address_book SET userpassword=? WHERE id=?" delete_proc="UPDATE address_book SET userpassword='' WHERE (userpassword=? OR userpasswo
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.userpassword AS userPassword FROM address_book WHERE address_book.id=? ORDER BY userPassword"
attributeType: name="uid" sel_expr="address_book.uid" from="address_book" join_where="" add_proc="UPDATE address_book SET uid=? WHERE id=?" delete_proc="UPDATE address_book SET uid='' WHERE (uid=? OR uid='') AND id=?" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT address_book.uid AS uid FROM address_book WHERE address_book.id=? ORDER BY uid"
backsql_load_schema_map("inetOrgPerson"): autoadding 'objectClass' and 'ref' mappings
backsql_oc_get_attr_mapping(): executing at_query
"SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u FROM ldap_attr_mappings WHERE oc_map_id=?"
for objectClass "organizationalUnit"
with param oc_id="2"
attributeType: name="ou" sel_expr="ou" from="ou" join_where="" add_proc="SELECT set_ou(?,?)" delete_proc="SELECT del_ou(?,?)" sel_expr_u=""
backsql_oc_get_attr_mapping(): preconstructed query "SELECT ou AS ou FROM ou WHERE ou.id=? ORDER BY ou"
backsql_load_schema_map("organizationalUnit"): autoadding 'objectClass' and 'ref' mappings
<==backsql_load_schema_map()
==>backsql_free_db_conn()
==>backsql_close_db_handle(0x2874a580)
<==backsql_close_db_handle(0x2874a580)
<==backsql_free_db_conn()
<==backsql_db_open(): test succeeded, schema map loaded
config file testing succeeded
slaptest shutdown: initiated
==>backsql_db_close()
<==backsql_db_close()
slaptest destroy: freeing system resources.
==>backsql_db_destroy()
==>backsql_free_db_env()
<==backsql_free_db_env()
==>destroy_schema_map()
==>free_oc(): "organization"
==>free_attr(): "objectClass"
<==free_attr()
==>free_attr(): "o"
<==free_attr()
<==free_oc()
==>free_oc(): "inetOrgPerson"
==>free_attr(): "l"
<==free_attr()
==>free_attr(): "o"
<==free_attr()
==>free_attr(): "ou"
<==free_attr()
==>free_attr(): "cn"
<==free_attr()
==>free_attr(): "uid"
<==free_attr()
==>free_attr(): "st"
<==free_attr()
==>free_attr(): "pager"
<==free_attr()
==>free_attr(): "mail"
<==free_attr()
==>free_attr(): "sn"
<==free_attr()
==>free_attr(): "street"
<==free_attr()
==>free_attr(): "mobile"
<==free_attr()
==>free_attr(): "homePhone"
<==free_attr()
==>free_attr(): "givenName"
<==free_attr()
==>free_attr(): "objectClass"
<==free_attr()
==>free_attr(): "userPassword"
<==free_attr()
==>free_attr(): "homePostalAddress"
<==free_attr()
==>free_attr(): "facsimileTelephoneNumber"
<==free_attr()
==>free_attr(): "telephoneNumber"
<==free_attr()
==>free_attr(): "postalCode"
<==free_attr()
==>free_attr(): "title"
<==free_attr()
<==free_oc()
==>free_oc(): "organizationalUnit"
==>free_attr(): "objectClass"
<==free_attr()
==>free_attr(): "ou"
<==free_attr()
<==free_oc()
<==destroy_schema_map()
<==backsql_db_destroy()