LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2014, 09:43 AM   #1
nlange
LQ Newbie
 
Registered: Sep 2014
Location: Madison, WI
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
“This base cannot be created with PLA.” PHPLDAPadmin error on login.


First of all, I'd like to apologize if I'm being dense at any point during the proceedings. I'm a front-end / web dev by training, and have no server administration experience or experience using LDAP.

I've ended up being in charge of installing OpenLDAP with a MySQL backend on an Ubuntu box, in order to get something working with Drupal and the LDAP module. I'm having an issue with PHPLDAPAdmin that, while I believe I may know the problem, I have been unable to find a solution for. I'm working on Ubuntu 14.04.1 with OpenLDAP 2.4.39, MySQL 5.5 and PHPLDAPAdmin 1.2.2.

I followed the instructions on this site up through the point where the writer suggested I create the test data (I had done it earlier and started fresh). So, after installing LDAP, I ran it, and it ran without problems. Then I opened PHPLDAPAdmin (which I configured to match the dn's and dc's and cn's of our OpenLDAP install), logged in with the root account, and was greeted with the error "This base cannot be created with PLA."

I searched everywhere for information relating to this, and found two helpful sources. One on StackOverflow indicated that perhaps PHPLDAPAdmin was misconfigured. I've double and triple-checked, it is not. The other, here at linuxquestions, suggested that it was due to not having set up the base RDN.

Since I have not done that, I figure that is the source of my problem. So, I've attempted to create an .ldif file per those instructions and those on the ldap quickstart guide, and came up with something like this (not sso.example.com, but with the same format).

Code:
dn: dc=sso,dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: ExampleOrg
dc: example

dn: cn=manager,dc=sso,dc=example,dc=com
objectclass: organizationalRole
cn: Manager

dn: ou=People,dc=sso,dc=example,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit

dn: ou=addressbook,dc=sso,dc=example,dc=com
ou: addressbook
objectClass: top
objectClass: organizationalUnit
However LDAP, via PHPLDAPAdmin's import feature, has refused to add this (unwilling to perform, etc.). I believe it might have something to do with the multiple dcs, but I have been unable to find the proper syntax for adding more where it's listed on the fifth line. (Another dc entry? Comma delimiter?)

Any help would be greatly appreciated. Thank you so much.

Last edited by nlange; 09-09-2014 at 01:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to login to phpldapadmin - Linux itz4vj Linux - Newbie 3 05-25-2012 04:14 PM
phpldapadmin issue on login johnsonkv91 Linux - Server 7 04-23-2012 11:52 PM
phpldapadmin: This base entry does not exist.Create it? jonaskellens Linux - Newbie 0 12-07-2010 09:43 AM
[SOLVED] OO Base to MYSQL login error jfraymondpa Linux - Software 4 11-26-2010 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration