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

RE: OpenLDAP not listening on port 389



I've installed BDB 4.2.52 and OpenLDAP 2.3.19. The problem I have now is: 

/usr/local/openldap/sbin/slapadd -l
/usr/local/openxchange/share/init_ldap.ldif
bdb_db_open: Warning - No DB_CONFIG file found in directory
/usr/local/openldap/var/openldap-data: (2)
Expect poor performance for suffix dc=ukstokes,dc=com.
str2entry: invalid value for attributeType OpenLDAPaci #0 (syntax
1.3.6.1.4.1.4203.666.2.1)
slapadd: could not parse entry (line=145)

Line 145 in init_ldap.ldif is blank, but it follows this section which uses
ACI's:

objectClass: shadowAccount
objectClass: posixAccount
objectClass: person
objectClass: inetOrgPerson
objectClass: OXUserObject
OpenLDAPaci:1#entry#grant;r,w,s,c;cn,initials,mail,title,ou,l,birthday,descr
iption,street,postalcode,st,c,oxtimezone,homephone,mobile,pager,facsimiletel
ephonenumber,telephonenumber,labeleduri,jpegphoto,loginDestination,sn,givenn
ame,;r,s,c;[all]#self#
uidNumber: 501
homeDirectory: /home/mailadmin/
loginShell: /bin/bash
mailEnabled: OK
gidNumber: 500
mailDomain: ukstokes.com
ou: Administration
uid: mailadmin
sn: Admin
preferredLanguage: EN
mail: mailadmin@ukstokes.com
o: UKStokes Network
smtpServer: localhost
imapServer: localhost
alias: postmaster@ukstokes.com
alias: root@ukstokes.com
givenName: Admin
cn: Admin Admin
shadowMin: 0
shadowMax: 9999
shadowWarning: 7
shadowExpire: 0
userPassword: {CRYPT}KYMLkc4NHqWeM
OXAppointmentDays: 5
OXGroupID: 500
OXTaskDays: 5
OXTimeZone: Europe/Berlin

If I comment out the line starting with OpenLDAPaci then slapadd works, but
I am unable to add any new users in Open Exchange. I feel I have made some
small progress though, as at least slapd is running now. Any ideas how I can
overcome this? Is there a syntax error in the OpenLDAPaci line?

str2entry: invalid value for attributeType OpenLDAPaci #0 (syntax
1.3.6.1.4.1.4203.666.2.1)
slapadd: could not parse entry (line=145)

Thanks,
Ben

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Andreas
Sent: 24 February 2006 20:33
To: openldap-software@OpenLDAP.org
Subject: Re: OpenLDAP not listening on port 389

Quanah Gibson-Mount wrote:
> As for LDAP, it is a protocol... If it can speak LDAPv3 to OpenLDAP 2.2,
then 
> it can speak LDAPv3 to OpenLDAP 2.3, too. ;)  Not to say that they might
not 
> have some absolutely bizarre patch they want you to apply to OpenLDAP to
do 
> odd things like NTLM authentication, which is not part of OpenLDAP.  If
that 
> is the case, then that might need work.  If they are not having you patch 
> OpenLDAP, then it should work just fine.

OE uses ACIs, for example, and won't work with certain versions of 
openldap-2.3 because of changes in that area. I know, ACIs are 
experimental, but they don't seem to know it.