[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
setting up ldap
Hi , I am trying to set up my OpenLDAP on Windows 2003 Server. When trying
to connect to my server using client tolls and when trying to use ldap's
commands I get an error "no such object". Whats wrong?
this is how my server looks:
<= ldap_dn2bv(dc=supportx,dc=com)=0 Success
<<< dnPrettyNormal: <dc=supportx,dc=com>, <dc=supportx,dc=com>
dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>
=> ldap_bv2dn(cn=Manager,dc=supportx,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=supportx,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>,
<cn=manager,dc=supportx,dc=
com>
matching_rule_use_init
1.2.840.113556.1.4.804 (integerBitOrMatch): matchingRuleUse: (
1.2.840.11355
6.1.4.804 NAME 'integerBitOrMatch' APPLIES ( sambaAlgorithmicRidBase $
sambaNext
Rid $ sambaNextGroupRid $ sambaNextUserRid $ sambaGroupType $
sambaKickoffTime $
sambaLogoffTime $ sambaLogonTime $ sambaPwdMustChange $ sambaPwdCanChange $
sam
baPwdLastSet $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag
$ sh
adowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $
shadowLast
Change $ gidNumber $ uidNumber $ mailPreferenceOption $
supportedLDAPVersion ) )
1.2.840.113556.1.4.803 (integerBitAndMatch): matchingRuleUse: (
1.2.840.1135
56.1.4.803 NAME 'integerBitAndMatch' APPLIES ( sambaAlgorithmicRidBase $
sambaNe
xtRid $ sambaNextGroupRid $ sambaNextUserRid $ sambaGroupType $
sambaKickoffTime
$ sambaLogoffTime $ sambaLogonTime $ sambaPwdMustChange $ sambaPwdCanChange
$ s
ambaPwdLastSet $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $
shadowFlag $
shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $
shadowLa
stChange $ gidNumber $ uidNumber $ mailPreferenceOption $
supportedLDAPVersion )
)
1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match): matchingRuleUse: (
1.3.6.1.
4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES ( sambaPrimaryGroupSID
$ sa
mbaSID $ sambaHomeDrive $ sambaAcctFlags $ sambaNTPassword $ sambaLMPassword
$ n
isMapEntry $ bootFile $ macAddress $ ipNetmaskNumber $ ipNetworkNumber $
ipHostN
umber $ memberNisNetgroup $ memberUid $ loginShell $ homeDirectory $ gecos $
moz
illaWorkUrl $ mozillaHomeUrl $ mozillaSecondEmail $ janetMailbox $
cNAMERecord $
sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $
associatedDomain
$ dc $ mail $ altServer ) )
1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match): matchingRuleUse: (
1.3.6.1.4
.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES ( sambaPrimaryGroupSID $
samb
aSID $ sambaHomeDrive $ sambaAcctFlags $ sambaNTPassword $ sambaLMPassword $
nis
MapEntry $ bootFile $ macAddress $ ipNetmaskNumber $ ipNetworkNumber $
ipHostNum
ber $ memberNisNetgroup $ memberUid $ loginShell $ homeDirectory $ gecos $
mozil
laWorkUrl $ mozillaHomeUrl $ mozillaSecondEmail $ janetMailbox $ cNAMERecord
$ s
OARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $
associatedDomain $
dc $ mail $ altServer ) )
2.5.13.35 (certificateMatch): matchingRuleUse: ( 2.5.13.35 NAME
'certificate
Match' APPLIES ( cACertificate $ userCertificate ) )
2.5.13.34 (certificateExactMatch): matchingRuleUse: ( 2.5.13.34 NAME
'certif
icateExactMatch' APPLIES ( cACertificate $ userCertificate ) )
2.5.13.30 (objectIdentifierFirstComponentMatch): matchingRuleUse: (
2.5.13.3
0 NAME 'objectIdentifierFirstComponentMatch' APPLIES (
supportedApplicationConte
xt $ ldapSyntaxes $ supportedFeatures $ supportedExtension $
supportedControl )
)
2.5.13.29 (integerFirstComponentMatch): matchingRuleUse: ( 2.5.13.29
NAME 'i
ntegerFirstComponentMatch' APPLIES ( sambaAlgorithmicRidBase $ sambaNextRid
$ sa
mbaNextGroupRid $ sambaNextUserRid $ sambaGroupType $ sambaKickoffTime $
sambaLo
goffTime $ sambaLogonTime $ sambaPwdMustChange $ sambaPwdCanChange $
sambaPwdLas
tSet $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $
shadowExpi
re $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $
shadowLastChange $
gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
2.5.13.27 (generalizedTimeMatch): matchingRuleUse: ( 2.5.13.27 NAME
'general
izedTimeMatch' APPLIES ( modifyTimestamp $ createTimestamp ) )
2.5.13.24 (protocolInformationMatch): matchingRuleUse: ( 2.5.13.24 NAME
'pro
tocolInformationMatch' APPLIES protocolInformation )
2.5.13.23 (uniqueMemberMatch): matchingRuleUse: ( 2.5.13.23 NAME
'uniqueMemb
erMatch' APPLIES uniqueMember )
2.5.13.22 (presentationAddressMatch): matchingRuleUse: ( 2.5.13.22 NAME
'pre
sentationAddressMatch' APPLIES presentationAddress )
2.5.13.20 (telephoneNumberMatch): matchingRuleUse: ( 2.5.13.20 NAME
'telepho
neNumberMatch' APPLIES ( nsAIMid $ pager $ mobile $ homePhone $
telephoneNumber
) )
2.5.13.17 (octetStringMatch): matchingRuleUse: ( 2.5.13.17 NAME
'octetString
Match' APPLIES userPassword )
2.5.13.16 (bitStringMatch): matchingRuleUse: ( 2.5.13.16 NAME
'bitStringMatc
h' APPLIES x500UniqueIdentifier )
2.5.13.14 (integerMatch): matchingRuleUse: ( 2.5.13.14 NAME
'integerMatch' A
PPLIES ( sambaAlgorithmicRidBase $ sambaNextRid $ sambaNextGroupRid $
sambaNextU
serRid $ sambaGroupType $ sambaKickoffTime $ sambaLogoffTime $
sambaLogonTime $
sambaPwdMustChange $ sambaPwdCanChange $ sambaPwdLastSet $ oncRpcNumber $
ipProt
ocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $
shadow
Warning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $
mai
lPreferenceOption $ supportedLDAPVersion ) )
2.5.13.13 (booleanMatch): matchingRuleUse: ( 2.5.13.13 NAME
'booleanMatch' A
PPLIES ( mozillaUseHtmlMail $ hasSubordinates ) )
2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME
'caseIgno
reListMatch' APPLIES ( mozillaHomePostalAddress2 $ mozillaPostalAddress2 $
homeP
ostalAddress $ registeredAddress $ postalAddress ) )
2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME
'numericStri
ngMatch' APPLIES ( internationaliSDNNumber $ x121Address ) )
2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: ( 2.5.13.7 NAME
'caseE
xactSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber
) )
2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: ( 2.5.13.6 NAME
'caseExa
ctOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber ) )
2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5 NAME
'caseExactMatch'
APPLIES ( sambaDomainName $ sambaHomePath $ sambaUserWorkstations $
sambaProfil
ePath $ sambaLogonScript $ nisMapName $ ipServiceProtocol $ mozillaCustom4 $
moz
illaCustom3 $ mozillaCustom2 $ mozillaCustom1 $
mozillaHomeFriendlyCountryName $
mozillaHomeCountryName $ mozillaHomePostalCode $ mozillaHomeState $
mozillaHome
LocalityName $ mozillaNickname $ preferredLanguage $ employeeType $
employeeNumb
er $ displayName $ departmentNumber $ carLicense $ documentPublisher $
buildingN
ame $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle $
documentLoc
ation $ documentVersion $ documentTitle $ documentIdentifier $ host $
userClass
$ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ dmdName $
houseIdenti
fier $ dnQualifier $ generationQualifier $ initials $ givenName $
destinationInd
icator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $
businessCateg
ory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $ sn
$ k
nowledgeInformation $ labeledURI $ cn $ name $ ref $ vendorVersion $
vendorName
$ supportedSASLMechanisms ) )
2.5.13.4 (caseIgnoreSubstringsMatch): matchingRuleUse: ( 2.5.13.4 NAME
'case
IgnoreSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumb
er ) )
2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME
'caseIg
noreOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber )
)
2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME
'caseIgnoreMatc
h' APPLIES ( sambaDomainName $ sambaHomePath $ sambaUserWorkstations $
sambaProf
ilePath $ sambaLogonScript $ nisMapName $ ipServiceProtocol $ mozillaCustom4
$ m
ozillaCustom3 $ mozillaCustom2 $ mozillaCustom1 $
mozillaHomeFriendlyCountryName
$ mozillaHomeCountryName $ mozillaHomePostalCode $ mozillaHomeState $
mozillaHo
meLocalityName $ mozillaNickname $ preferredLanguage $ employeeType $
employeeNu
mber $ displayName $ departmentNumber $ carLicense $ documentPublisher $
buildin
gName $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle $
documentL
ocation $ documentVersion $ documentTitle $ documentIdentifier $ host $
userClas
s $ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ dmdName $
houseIden
tifier $ dnQualifier $ generationQualifier $ initials $ givenName $
destinationI
ndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $
businessCat
egory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $
sn $
knowledgeInformation $ labeledURI $ cn $ name $ ref $ vendorVersion $
vendorNam
e $ supportedSASLMechanisms ) )
2.5.13.1 (distinguishedNameMatch): matchingRuleUse: ( 2.5.13.1 NAME
'disting
uishedNameMatch' APPLIES ( dITRedirect $ associatedName $ secretary $
documentAu
thor $ manager $ seeAlso $ roleOccupant $ owner $ member $ distinguishedName
$ a
liasedObjectName $ namingContexts $ subschemaSubentry $ modifiersName $
creators
Name ) )
2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME
'objectId
entifierMatch' APPLIES ( supportedApplicationContext $ supportedFeatures $
suppo
rtedExtension $ supportedControl ) )
slapd startup: initiated.
backend_startup: starting "dc=supportx,dc=com"
bdb_db_open: dbenv_open(D:/openldap/var/openldap-data)
slapd starting
connection_get(764): got connid=0
connection_read(764): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 50 contents:
ber_get_next
ber_get_next on fd 764 failed errno=10035 (WSAEWOULDBLOCK)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>
=> ldap_bv2dn(cn=Manager,dc=supportx,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=supportx,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>,
<cn=manager,dc=supportx,dc=
com>
do_bind: version=3 dn="cn=Manager,dc=supportx,dc=com" method=128
do_bind: v3 bind: "cn=Manager,dc=supportx,dc=com" to
"cn=Manager,dc=supportx,dc=
com"
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 764
connection_get(764): got connid=0
connection_read(764): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 329 contents:
ber_get_next
ber_get_next on fd 764 failed errno=10035 (WSAEWOULDBLOCK)
do_add
ber_scanf fmt ({m) ber:
dnPrettyNormal: <cn=alon@aharoni.homeip.net,dc=supportx,dc=com>
=> ldap_bv2dn(cn=alon@aharoni.homeip.net,dc=supportx,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=alon@aharoni.homeip.net,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=alon@aharoni.homeip.net,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=alon@aharoni.homeip.net,dc=supportx,dc=com)=0 Success
<<< dnPrettyNormal: <cn=alon@aharoni.homeip.net,dc=supportx,dc=com>,
<cn=alon@ah
aroni.homeip.net,dc=supportx,dc=com>
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
bdb_dn2entry("cn=alon@aharoni.homeip.net,dc=supportx,dc=com")
=> bdb_dn2id( "dc=supportx,dc=com" )
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30990)
oc_check_required entry (cn=alon@aharoni.homeip.net,dc=supportx,dc=com),
objectC
lass "inetOrgPerson"
oc_check_required entry (cn=alon@aharoni.homeip.net,dc=supportx,dc=com),
objectC
lass "mozillaOrgPerson"
oc_check_allowed type "sn"
oc_check_allowed type "cn"
oc_check_allowed type "objectClass"
oc_check_allowed type "mozillaCustom2"
oc_check_allowed type "mozillaCustom1"
oc_check_allowed type "mozillaCustom3"
oc_check_allowed type "mail"
oc_check_allowed type "userPassword"
oc_check_allowed type "structuralObjectClass"
oc_check_allowed type "entryUUID"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "entryCSN"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
bdb_dn2entry("cn=alon@aharoni.homeip.net,dc=supportx,dc=com")
=> bdb_dn2id( "dc=supportx,dc=com" )
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30990)
bdb_add: entry at root denied
send_ldap_result: conn=0 op=1 p=3
send_ldap_response: msgid=2 tag=105 err=32
ber_flush: 14 bytes to sd 764
connection_get(764): got connid=0
connection_read(764): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 764 failed errno=0 (unknown WSA error)
connection_read(764): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=764 for close
connection_close: deferring conn=0 sd=764
connection_resched: attempting closing conn=0 sd=764
connection_close: deferring conn=0 sd=764
do_unbind
connection_resched: attempting closing conn=0 sd=764
connection_close: conn=0 sd=764
connection_get(764): got connid=1
connection_read(764): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 50 contents:
ber_get_next
ber_get_next on fd 764 failed errno=10035 (WSAEWOULDBLOCK)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>
=> ldap_bv2dn(cn=Manager,dc=supportx,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=supportx,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=supportx,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc=supportx,dc=com>,
<cn=manager,dc=supportx,dc=
com>
do_bind: version=3 dn="cn=Manager,dc=supportx,dc=com" method=128
do_bind: v3 bind: "cn=Manager,dc=supportx,dc=com" to
"cn=Manager,dc=supportx,dc=
com"
send_ldap_result: conn=1 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 764
connection_get(764): got connid=1
connection_read(764): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 37 contents:
do_search
ber_scanf fmt ({miiiib) ber:
dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
send_ldap_result: conn=1 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=32
ber_get_next
ber_get_next on fd 764 failed errno=10035 (WSAEWOULDBLOCK)
ber_flush: 14 bytes to sd 764
connection_get(764): got connid=1
connection_read(764): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
do_unbind
ber_get_next
ber_get_next on fd 764 failed errno=0 (unknown WSA error)
connection_read(764): input error=-2 id=1, closing.
connection_closing: readying conn=1 sd=764 for close
connection_close: deferring conn=1 sd=764
connection_resched: reaquiring locks conn=1 sd=764
connection_resched: attempting closing conn=1 sd=764
connection_close: conn=1 sd=764