[Date Prev][Date Next] [Chronological] [Thread] [Top]

multiple LDAP directories on the same host



Hello,

I thought it was possible to run multiple LDAP directories one the same
host but on different ports, but I tried, and it doesn't run. I can run
the LDAP server, but when I want to connect on it with a Java API, it
failed.

I already have a server on the same machine and I took the same
parmeters for th slapd.conf file except for th database directory. And I
don't understand why it fails.

the attached is my debug file when I launch the server and I try to
connect with my Java API.

If I could have some help, please.

Emmanuel.

--
---------------------------------
 Emmanuel JEGOU
 mailto:Emmanuel.Jegou@naonet.fr
 ICQ# 43987579
---------------------------------
 Naonet => Internet - Intranet
 http://www.naonet.fr
---------------------------------

slapd 1.2.3-Release (lun jun 28 12:06:37 CEST 1999)
	root@localhost.localdomain:/usr/local/src/ldap/servers/slapd
reading config file ./slapd.conf
line 5 (include		/usr/local/etc/openldap/slapd.at.conf)
reading config file /usr/local/etc/openldap/slapd.at.conf
line 1 (attribute	photo					bin)
line 2 (attribute	personalsignature			bin)
line 3 (attribute	jpegphoto				bin)
line 4 (attribute	audio					bin)
line 5 (attribute	labeledurl				ces)
line 6 (attribute	userpassword				ces)
line 7 (attribute	telephonenumber				tel)
line 8 (attribute	facsimiletelephonenumber	fax	tel)
line 9 (attribute	pagertelephonenumber		pager	tel)
line 10 (attribute	homephone				tel)
line 11 (attribute	mobiletelephonenumber		mobile	tel)
line 12 (attribute	aliasedObjectName			dn)
line 13 (attribute	member					dn)
line 14 (attribute	owner					dn)
line 15 (attribute	seealso					dn)
line 16 (attribute	manager					dn)
line 17 (attribute	documentauthor				dn)
line 18 (attribute	secretary				dn)
line 19 (attribute	lastmodifiedby				dn)
line 20 (attribute	associatedname				dn)
line 21 (attribute	naminglink				dn)
line 22 (attribute	reciprocalnaminglink			dn)
line 23 (attribute	dn					dn)
line 24 (attribute	firstDate				cis)
line 25 (attribute	lastDate				cis)
line 26 (attribute	lastUse					cis)
line 27 (attribute	origin					cis)
line 28 (attribute	flag					cis)
line 29 (attribute	flow					cis)
line 30 (attribute	type					cis)
line 31 (attribute	birthDay				cis)
line 32 (attribute	personnalInterest			cis)
line 33 (attribute	skill					cis)
line 34 (attribute	experience				cis)
line 35 (attribute	diploma					cis)
line 36 (attribute	sport					cis)
line 37 (attribute	forward					cis)
line 6 (include		/usr/local/etc/openldap/slapd.oc.conf)
reading config file /usr/local/etc/openldap/slapd.oc.conf
line 3 (objectclass top	requires		objectClass)
line 8 (objectclass alias	requires		aliasedObjectName,		objectClass)
line 16 (objectclass country	requires		objectClass,		c	allows		searchGuide,		description)
line 27 (objectclass locality	requires		objectClass	allows		description,		l,		searchGuide,		seeAlso,		st,		streetAddress)
line 54 (objectclass organization	requires		objectClass,		o	allows		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 62 (objectclass mailAliases	requires		objectclass,		alias	allows		forward,		userpassword)
line 76 (objectclass connectionAccounts	requires		objectclass,		uid	allows		userpassword,		type,		owner,		flag,		origin,		firstDate,		lastDate,		lastUse)
line 103 (objectclass organizationalUnit	requires		objectClass,		ou	allows		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 114 (objectclass person	requires		objectClass,		sn,		cn	allows		description,		seeAlso,		telephoneNumber,		userPassword)
line 142 (objectclass organizationalPerson	requires		objectClass,		sn,		cn	allows		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		ou,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		title,		userPassword,		x121Address)
line 170 (objectclass newPerson	requires		objectClass,		sn,		cn	allows		description,		facsimileTelephoneNumber,		l,		ou,		homePostalAddress,		postalCode,		seeAlso,		telephoneNumber,		userPassword,		businessCategory,		mail,		mobile,		pager,		personalSignature,		uid,		ou,		l,		birthday,		telephonenumber,		jpegphoto,		givenName)
line 182 (objectclass CurriculumVitae	requires		objectclass,		cn,		uid	allows		sport,		skill,		experience,		personnalInterest,		diploma)
line 208 (objectclass organizationalRole	requires		objectClass,		cn	allows		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		ou,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		roleOccupant,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		x121Address)
line 221 (objectclass groupOfNames	requires		objectClass,		member,		cn	allows		businessCategory,		description,		o,		ou,		owner,		seeAlso)
line 249 (objectclass residentialPerson	requires		objectClass,		sn,		cn,		l	allows		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 259 (objectclass applicationProcess	requires		objectClass,		cn	allows		description,		l,		ou,		seeAlso)
line 272 (objectclass applicationEntity	requires		objectClass,		presentationAddress,		cn	allows		description,		l,		o,		ou,		seeAlso,		supportedApplicationContext)
line 280 (objectclass dSA	requires		objectClass,		presentationAddress,		cn	allows		knowledgeInformation)
line 293 (objectclass device	requires		objectClass,		cn	allows		description,		l,		o,		ou,		owner,		seeAlso,		serialNumber)
line 298 (objectclass strongAuthenticationUser	requires		objectClass,		userCertificate)
line 307 (objectclass certificationAuthority	requires		objectClass,		authorityRevocationList,		certificateRevocationList,		cACertificate	allows		crossCertificatePair)
line 321 (objectclass pilotObject	requires		objectClass	allows		audio,		dITRedirect,		info,		jpegPhoto,		lastModifiedBy,		lastModifiedTime,		manager,		photo,		uniqueIdentifier)
line 351 (objectclass newPilotPerson	requires		objectClass,		sn,		cn	allows		businessCategory,		description,		drink,		homePhone,		homePostalAddress,		janetMailbox,		mail,		mailPreferenceOption,		mobile,		organizationalStatus,		otherMailbox,		pager,		personalSignature,		personalTitle,		preferredDeliveryMethod,		roomNumber,		secretary,		seeAlso,		telephoneNumber,		textEncodedORaddress,		uid,		userClass,		userPassword)
line 363 (objectclass account	requires		objectClass,		uid	allows		description,		host,		l,		o,		ou,		seeAlso)
line 399 (objectclass document	requires		objectClass,		documentIdentifier	allows		abstract,		audio,		authorCN,		authorSN,		cn,		dITRedirect,		description,		documentAuthor,		documentLocation,		documentPublisher,		documentStore,		documentTitle,		documentVersion,		info,		jpegPhoto,		keywords,		l,		lastModifiedBy,		lastModifiedTime,		manager,		o,		obsoletedByDocument,		obsoletesDocument,		ou,		photo,		seeAlso,		subject,		uniqueIdentifier,		updatedByDocument,		updatesDocument)
line 409 (objectclass room	requires		objectClass,		cn	allows		description,		roomNumber,		seeAlso,		telephoneNumber)
line 421 (objectclass documentSeries	requires		objectClass,		cn	allows		description,		l,		o,		ou,		seeAlso,		telephoneNumber)
line 450 (objectclass domain	requires		objectClass,		dc	allows		associatedName,		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		o,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 481 (objectclass rFC822localPart	requires		objectClass,		dc	allows		associatedName,		businessCategory,		cn,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		o,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		sn,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 511 (objectclass dNSDomain	requires		objectClass,		dc	allows		associatedName,		businessCategory,		dNSRecord,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		o,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 516 (objectclass domainRelatedObject	requires		objectClass,		associatedDomain)
line 525 (objectclass friendlyCountry	requires		objectClass,		c,		co	allows		description,		searchGuide)
line 530 (objectclass simpleSecurityObject	requires		objectClass,		userPassword)
line 559 (objectclass pilotOrganization	requires		objectClass,		ou,		o	allows		buildingName,		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 567 (objectclass nadfObject	requires		objectClass	allows		lastModifiedTime,		nadfSearchGuide,		supplementaryInformation)
line 583 (objectclass usStateOrEquivalent	requires		objectClass,		st,		fipsStateAlphaCode,		fipsStateNumericCode,		l	allows		description,		lastModifiedTime,		nadfSearchGuide,		searchGuide,		seeAlso,		streetAddress,		supplementaryInformation)
line 598 (objectclass usPlace	requires		objectClass,		fips55,		l	allows		description,		lastModifiedTime,		nadfSearchGuide,		searchGuide,		seeAlso,		st,		streetAddress,		supplementaryInformation)
line 614 (objectclass usCountyOrEquivalent	requires		objectClass,		fipsCountyNumericCode,		fips55,		l	allows		description,		lastModifiedTime,		nadfSearchGuide,		searchGuide,		seeAlso,		st,		streetAddress,		supplementaryInformation)
line 619 (objectclass ansiOrgObject	requires		objectClass,		ansiOrgNumericCode)
line 633 (objectclass nadfApplicationEntity	requires		objectClass,		supportedApplicationContext,		presentationAddress,		cn	allows		description,		l,		o,		ou,		seeAlso,		supportedApplicationContext)
line 664 (objectclass nadfADDMD	requires		objectClass,		ad	allows		businessCategory,		description,		destinationIndicator,		facsimileTelephoneNumber,		internationaliSDNNumber,		l,		lastModifiedTime,		nadfSearchGuide,		o,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		searchGuide,		seeAlso,		st,		streetAddress,		supplementaryInformation,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address)
line 669 (objectclass publicObject	requires		objectClass,		namingLink)
line 674 (objectclass providerObject	requires		objectClass,		reciprocalNamingLink)
line 679 (objectclass nationalObject	requires		objectClass,		c)
line 686 (objectclass fips55Object	requires		objectClass,		fips55	allows		st)
line 718 (objectclass restaurant	requires		objectClass,		description,		telephoneNumber,		streetAddress	allows		Ambiance,		Appearance,		Average-price,		Closed,		CreditCardsAccepted,		Kosher,		Max-price,		MaximumInParty,		Min-price,		Music,		NotRecommended,		OutdoorSeating,		Parking,		QualityOfService,		QualityPriceRatio,		Recommended,		RecommendedBy,		Reservation,		ServiceSpeed,		Specialty,		Taux-de-frequentation,		TransportationMeans,		facsimileTelephoneNumber,		postalAddress)
line 723 (objectclass kerberosSecurityObject	requires		objectClass,		krbName)
line 793 (objectclass umichPerson	requires		objectClass,		sn,		cn,		universityID	allows		affiliationCode,		audio,		businessCategory,		classStanding,		description,		destinationIndicator,		doNotDelete,		doNotMove,		drink,		expire,		facsimileTelephoneNumber,		homePhone,		homePostalAddress,		internationaliSDNNumber,		janetMailbox,		jpegPhoto,		keepNames,		krbName,		l,		labeledURL,		mail,		mailPreferenceOption,		memberOfGroup,		mobile,		multiLineDescription,		noBatchUpdates,		notRegistered,		notice,		onVacation,		organizationalStatus,		otherMailbox,		ou,		pager,		personalSignature,		personalTitle,		photo,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		proxy,		registeredAddress,		registrationStatus,		roomNumber,		secretary,		seeAlso,		st,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		textEncodedORaddress,		title,		uid,		updateSource,		userCertificate,		userClass,		userPassword,		vacationMessage,		x121Address,		xacl)
line 834 (objectclass rfc822MailGroup	requires		objectClass,		owner,		cn	allows		associatedDomain,		autoMgt,		description,		destinationIndicator,		errorsTo,		facsimileTelephoneNumber,		internationaliSDNNumber,		joinable,		krbName,		labeledURL,		mail,		member,		memberOfGroup,		moderator,		multiLineDescription,		notice,		physicalDeliveryOfficeName,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		registeredAddress,		requestsTo,		rfc822ErrorsTo,		rfc822RequestsTo,		seeAlso,		streetAddress,		suppressNoEmailError,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		userPassword,		x121Address,		xacl)
line 848 (objectclass image	requires		objectClass,		cn	allows		citation,		copyright,		imageFiles,		jpegPhoto,		keywords,		multiLineDescription,		owner,		predominantColor)
line 862 (objectclass imageFile	requires		objectClass,		cn	allows		colorDepth,		documentLocation,		fileFormat,		fileSize,		height,		resolution,		seeAlso,		width)
line 899 (objectclass service	requires		objectClass,		cn	allows		category,		dependentUpon,		destinationIndicator,		facsimileTelephoneNumber,		hoursOfOperation,		internationaliSDNNumber,		jpegPhoto,		keywords,		labeledURL,		mail,		multiLineDescription,		owner,		physicalDeliveryOfficeName,		platform,		postOfficeBox,		postalAddress,		postalCode,		preferredDeliveryMethod,		product,		provider,		ratingDescription,		ratingTime,		registeredAddress,		seeAlso,		serviceArea,		serviceRating,		streetAddress,		telephoneNumber,		teletexTerminalIdentifier,		telexNumber,		x121Address)
line 944 (objectclass umichDocument	requires		objectClass,		documentIdentifier	allows		abstract,		audio,		authorCN,		authorSN,		category,		cn,		dITRedirect,		description,		documentAuthor,		documentAvailable,		documentLocation,		documentPublisher,		documentSeriesTitle,		documentStore,		documentTitle,		documentVersion,		info,		jpegPhoto,		keywords,		l,		labeledURL,		lastModifiedBy,		lastModifiedTime,		manager,		multiLineAbstract,		o,		obsoletedByDocument,		obsoletesDocument,		ou,		owner,		photo,		platform,		product,		seeAlso,		serviceArea,		subject,		uniqueIdentifier,		updatedByDocument,		updatesDocument)
line 953 (objectclass documentDescription	requires		objectClass,		cn	allows		labeledURL,		multiLineDescription,		owner)
line 959 (objectclass labeledURLObject	requires		objectClass	allows		labeledURL)
line 965 (objectclass cacheObject	requires		objectClass	allows		ttl)
line 974 (objectclass mailAliases	requires		objectClass,		alias	allows		forward,		lastModifiedBy,		lastModifiedTime)
line 7 (schemacheck	on)
line 10 (pidfile		/usr/local/var/slapd.gescap.pid)
line 11 (argsfile	/usr/local/var/slapd.gescap.args)
line 12 (loglevel 4095)
line 18 (database	ldbm)
line 20 (suffix		"o=Gescap, c=fr")
line 21 (directory	/opt/var/ldap)
line 23 (rootdn		"cn=root, o=Gescap, c=fr")
line 24 (rootpw		secret)
line 27 (index		cn,sn,uid	pres,eq,approx)
line 28 (index		default		none)
line 30 (defaultaccess write )
slapd starting
listening for connections on 6, activity on:
before select active_threads 0
select activity on 1 descriptors
new connection on 7
activity on:
listening for connections on 6, activity on: 7r
before select active_threads 0
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next: tag 0x30 len 39 contents:
ber_dump: buf 0x80881d0, ptr 0x80881d0, end 0x80881f7
          current len 39, contents:
	02 01 01  `  " 02 01 02 04 15  c  n  =  r  o  o
	 t  ,  o  =  G  e  s  c  a  p  ,  c  =  f  r 80
	06  s  e  c  r  e  t 
do_bind
do_bind: version 2 dn (cn=root,o=Gescap,c=fr) method 128
==> ldbm_back_bind: dn: CN=ROOT,O=GESCAP,C=FR
dn2entry_r: dn: "CN=ROOT,O=GESCAP,C=FR"
=> dn2id( "CN=ROOT,O=GESCAP,C=FR" )
listening for connections on 6, activity on:=> ldbm_cache_open( "/opt/var/ldap/dn2id.dbb", 7, 600 )
 7rldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 4)

<= ldbm_cache_open (opened 0)
before select active_threads 1
<= dn2id NOID
dn2entry_r: dn: "O=GESCAP,C=FR"
=> dn2id( "O=GESCAP,C=FR" )
=> ldbm_cache_open( "/opt/var/ldap/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
do_bind: bound "cn=root,o=Gescap,c=fr" to "cn=root, o=Gescap, c=fr"
send_ldap_result 0::
ber_flush: 14 bytes to sd 7
	 0 0c 02 01 01  a 07 0a 01 00 04 00 04 00 
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next: tag 0x30 len 63 contents:
ber_dump: buf 0x8088458, ptr 0x8088458, end 0x8088497
          current len 63, contents:
	02 01 02  c  : 04 0d  o  =  G  e  s  c  a  p  ,
	 c  =  f  r 0a 01 01 0a 01 03 02 01 00 02 01 00
	01 01 00 87 0b  o  b  j  e  c  t  c  l  a  s  s
	 0 0d 04 0b  o  b  j  e  c  t  c  l  a  s  s 
listening for connections on 6, activity on: 7r
before select active_threads 1
do_search
SRCH "O=GESCAP,C=FR" 1 3    0 0 0
begin get_filter
PRESENT
end get_filter 0
    filter: (objectclass=*)
    attrs: objectclass
=> ldbm_back_search
<= dereferencing dn: "O=GESCAP,C=FR"
dn2entry_r: dn: "O=GESCAP,C=FR"
=> dn2id( "O=GESCAP,C=FR" )
=> ldbm_cache_open( "/opt/var/ldap/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: "O=GESCAP,C=FR"
=> dn2id( "O=GESCAP,C=FR" )
=> ldbm_cache_open( "/opt/var/ldap/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
<= returning deref DN of "O=GESCAP,C=FR"
using base "O=GESCAP,C=FR"
onelevel_candidates: base: "O=GESCAP,C=FR"
dn2entry_r: dn: "O=GESCAP,C=FR"
=> dn2id( "O=GESCAP,C=FR" )
=> ldbm_cache_open( "/opt/var/ldap/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result 32::
ber_flush: 14 bytes to sd 7
	 0 0c 02 01 02  e 07 0a 01 20 04 00 04 00