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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-24-2014, 11:07 AM
|
#1
|
LQ Newbie
Registered: Jul 2014
Posts: 2
Rep: 
|
Openldap config modify tls error
Hello All,
I have two servers, a master and a slave.
I am trying to get them to replicate over tls. I have followed everything in this guide 'https://help.ubuntu.com/14.04/serverguide/openldap-server.html#openldap-server-replication' but when I attempt to run the sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f consumer_sync_tls.ldif command I get the following error:
modifying entry "olcDatabase={1}hdb,cn=config" ldap_modify: Other (e.g., implementation specific) error (80) additional info: Error: parse_syncrepl_line: unable to parse "bindmethod=simplebinddn=cn=admin,dc=master,dc=com "
Here is a copy of my .ldif
dn: olcDatabase={1}hdb,cn=config replace: olcSyncRepl olcSyncRepl: rid=001 provider=ldap://master:389 bindmethod=simple binddn="cn=admin,dc=master,dc=com" credentials=123456 searchbase="dc=master,dc=com" logbase="cn=accesslog" logfilter="(&(objectClass=auditWriteObject)(reqRes ult=0))" schemachecking=on type=refreshAndPersist retry="60 +" syncdata=accesslog starttls=critical tls_reqcert=demand
Any help will be greatly appreciated!
|
|
|
07-24-2014, 06:19 PM
|
#2
|
Member
Registered: Feb 2006
Distribution: distrohopper
Posts: 58
Rep:
|
You are way ahead of me. I did try to look at the command vs the man page and compare;
-H ldapi:///
-H ldapuri
Specify URI(s) referring to the ldap server(s); only the proto-
col/host/port fields are allowed; a list of URI, separated by
whitespace or commas is expected.
Now you maybe hiding whats really here for security reasons or something isn't quite right.
Error: parse_syncrepl_line: unable to parse "bindmethod=simplebinddn=cn=admin,dc=master,dc=com "
*^
there is a space here that doesn't appear in the .ldif (maybe nothing important)
As quickly as this fails, it looks an awful lot like it can't find the uri you have given it.
Lastly, what happens if you do this as root, not, sudo.
Figure another pair of eyes sometimes helps........
Kevin
|
|
|
07-25-2014, 07:56 AM
|
#3
|
LQ Newbie
Registered: Jul 2014
Posts: 2
Original Poster
Rep: 
|
I figured out what the problem was,
'modifying entry "olcDatabase={1}hdb,cn=config" ldap_modify: Other (e.g., implementation specific) error (80) additional info: Error: parse_syncrepl_line: unable to parse "bindmethod=simplebinddn=cn=admin,dc=master,dc=com "'
There needed to be a space between "bindmethod=simple binddn=cn=admin,dc=master,dc=com ". The documentation may be fixed now as I reporte this as a bug to ubuntu. Thank you for the comment.
|
|
|
All times are GMT -5. The time now is 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|