{"id":99,"date":"2002-12-19T00:00:00","date_gmt":"2002-12-18T23:00:00","guid":{"rendered":"https:\/\/wwwneu.strehle.de\/tim\/weblog\/archives\/2002\/12\/19\/32\/"},"modified":"2002-12-19T00:00:00","modified_gmt":"2002-12-18T23:00:00","slug":"32","status":"publish","type":"post","link":"https:\/\/www.strehle.de\/tim\/weblog\/archives\/2002\/12\/19\/32\/","title":{"rendered":"OpenLDAP"},"content":{"rendered":"<p>OpenLDAP setup takes a while&#8230;<\/p>\n<p>Configuration files are in <code>\/usr\/local\/etc\/openldap<\/code>.<\/p>\n<p>List all entries:<\/p>\n<pre><code>ldapsearch -x -b 'dc=tim,dc=digicol,dc=de' '(objectclass=*)'\n<\/code><\/pre>\n<p>Create a new entry using a text file like the following:<\/p>\n<pre><code>dn: cn=Tim Strehle,dc=tim,dc=digicol,dc=de\nobjectclass: inetOrgPerson\njpegPhoto:&lt; file:\/\/\/data\/00\/00\/00\/616.jpg\nsn: Strehle\ngivenname: Tim\nuid: tim\nuserPassword: secret\nmail: tim@strehle.de\nmail: tim@digicol.de\nlabeledURI: http:\/\/tim.digicol.de\/data\/00\/00\/00\/616.jpg\n<\/code><\/pre>\n<p>Then run:<\/p>\n<pre><code>ldapadd -x -D \"cn=Manager,dc=tim,dc=digicol,dc=de\" -w secret -f \/tmp\/newentry\n<\/code><\/pre>\n<p>or<\/p>\n<pre><code>ldapmodify -x -D \"cn=Manager,dc=tim,dc=digicol,dc=de\" -w secret -f \/tmp\/newentry\n<\/code><\/pre>\n<p>Helpful web pages: <a href=\"http:\/\/www.openldap.org\/doc\/admin\/index.html\">http:\/\/www.openldap.org\/doc\/admin\/index.html<\/a> <a href=\"http:\/\/www.heise.de\/ix\/artikel\/2001\/02\/147\/\">http:\/\/www.heise.de\/ix\/artikel\/2001\/02\/147\/<\/a> <a href=\"http:\/\/www.yolinux.com\/TUTORIALS\/LinuxTutorialLDAP-GILSchemaExtension.html\">http:\/\/www.yolinux.com\/TUTORIALS\/LinuxTutorialLDAP-GILSchemaExtension.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenLDAP setup takes a while&#8230; Configuration files are in \/usr\/local\/etc\/openldap. List all entries: ldapsearch -x -b &#8218;dc=tim,dc=digicol,dc=de&#8216; &#8218;(objectclass=*)&#8216; Create a new entry using a text file like the following: dn: cn=Tim Strehle,dc=tim,dc=digicol,dc=de objectclass: inetOrgPerson jpegPhoto:&lt; file:\/\/\/data\/00\/00\/00\/616.jpg sn: Strehle givenname: Tim uid: tim userPassword: secret mail: tim@strehle.de mail: tim@digicol.de labeledURI: http:\/\/tim.digicol.de\/data\/00\/00\/00\/616.jpg Then run: ldapadd -x -D [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[1],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-weblog"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":0,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}