tag:blogger.com,1999:blog-5606554702970304361.comments2023-05-03T12:59:12.396+03:00Roeften's thoughtsPanoshttp://www.blogger.com/profile/17092487368034284293noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-5606554702970304361.post-72903346715483312842022-09-29T11:47:40.075+03:002022-09-29T11:47:40.075+03:00Great poost thank youGreat poost thank youFurnace Service Kentuckyhttps://www.furnace-experts.com/us/furnace-service-kentucky/noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-42214284022206311752022-07-14T16:20:59.039+03:002022-07-14T16:20:59.039+03:00Great reading youur blogGreat reading youur blogJoyce Bhttps://www.joyceburke.com/noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-40759037626060392752020-10-11T19:37:09.122+03:002020-10-11T19:37:09.122+03:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/06344159280573907231noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-61591020543797599882019-07-03T17:30:53.688+03:002019-07-03T17:30:53.688+03:00You are right, there are some formatting errors du...You are right, there are some formatting errors due to the blog markup + me being lazy.Panoshttps://www.blogger.com/profile/17092487368034284293noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-24863186859526600422019-07-03T16:51:20.206+03:002019-07-03T16:51:20.206+03:00Actually, I just used this article to guide me on ...Actually, I just used this article to guide me on a setup. I got the same error and found that there are some cut and paste formatting errors. There must be a blank line between dn's in the ldif. Also, I think there were some hidden characters.<br /><br />This loads for me, without error. Also, slapd sometimes won't start under systemd, throwing a bind error on the ldapi socket. It'll run just fine from the command line, but systemd screws it up. I've fixed that by cleaning everything out of /tmp and rebooting. There's a stray socket file lying around someplace. Haven't looked in detail for it.<br /><br /><a rel="nofollow"><br /># https://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html<br /># slapadd -v -F /etc/openldap/slapd.d -n 0 -l slapd.ldif<br /><br />#global configuration<br />dn: cn=config<br />objectClass: olcGlobal<br />cn: config<br />olcArgsFile: /var/run/openldap/slapd.args<br />olcPidFile: /var/run/openldap/slapd.pid<br /># You *need* olcTLSCACertificatePath<br />olcTLSCACertificatePath: /etc/openldap/certs<br />olcTLSCACertificateFile: /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt<br />olcTLSCertificateFile: /etc/openldap/certs/cert.pem<br />olcTLSCertificateKeyFile: /etc/openldap/certs/priv.pem<br />structuralObjectClass: olcGlobal<br /><br /># Load the mdb backend<br /># back_mdb is built-in<br /># slapd -VVV will show built-in modules.<br />#dn: cn=module,cn=config<br />#objectClass: olcModuleList<br />#cn: module<br />#olcModulepath: /usr/lib64/openldap<br />#olcModuleload: back_mdb<br /><br /># Load external definitions<br />dn: cn=schema,cn=config<br />objectClass: olcSchemaConfig<br />cn: schema<br /><br /># You may want to add more, make sure to satisfy any dependencies though<br />include: file:///etc/openldap/schema/core.ldif<br />include: file:///etc/openldap/schema/cosine.ldif<br />include: file:///etc/openldap/schema/nis.ldif<br />include: file:///etc/openldap/schema/inetorgperson.ldif<br />include: file:///etc/openldap/schema/openldap.ldif<br /><br /># front end db<br />dn: olcDatabase=frontend,cn=config<br />objectClass: olcDatabaseConfig<br />objectClass: olcFrontendConfig<br />olcDatabase: frontend<br />olcAccess: to * by * read<br />olcSizelimit: size.soft=10000 size.hard=1000000<br />olcTimelimit: time.soft=300 time.hard=3600<br /><br /># configuration db, we define a separate RootDN and passwd, use this one to change the config<br />dn: olcDatabase=config,cn=config<br />objectClass: olcDatabaseConfig<br />olcDatabase: config<br />olcRootDN: cn=Manager,cn=config<br /># generate a password by running slappasswd<br />olcRootPW: {SSHA}ZWijrBYJXnotarealpasswdIlfoZgIzI<br />olcMonitoring: FALSE<br />olcAccess: to * by * none<br /><br />dn: olcDatabase=monitor,cn=config<br />objectClass: olcDatabaseConfig<br />olcDatabase: monitor<br />olcAddContentAcl: FALSE<br />olcLastMod: TRUE<br />olcMaxDerefDepth: 15<br />olcReadOnly: FALSE<br />olcSyncUseSubentry: FALSE<br />olcMonitoring: FALSE<br />olcAccess: to dn.subtree="cn=monitor"<br /> by dn.exact="cn=Manager,cn=config" read<br /> by dn.exact="cn=Manager,dc=mydomain" read<br /> by * none<br /><br />dn: olcDatabase=mdb,cn=config<br />objectClass: olcDatabaseConfig<br />objectClass: olcMdbConfig<br />olcDatabase: mdb<br />olcMonitoring: TRUE<br /># In bytes. Needs to be enough room on disk to back this.<br />olcDbMaxSize: 5368709120<br />olcSuffix: dc=mydomain<br />olcDbDirectory: /var/lib/ldap<br />olcRootDN: cn=Manager,dc=mydomain<br /># generate a password by running slappasswd<br />olcRootPW: {SSHA}uQk4notarealpasswd4KQtY2xkqq7<br />olcDbIndex: uid pres,eq<br />olcDbIndex: cn,sn pres,eq,approx,sub<br />olcDbIndex: mail pres,eq,sub<br />olcDbIndex: objectClass pres,eq<br />olcDbIndex: loginShell pres,eq<br /># Tuning, not sure what these do maybe test them<br />#olcDbConfig: set_cachesize 0 2097152 0<br />#olcDbConfig: set_lk_max_objects 1500<br />#olcDbConfig: set_lk_max_locks 1500<br />#olcDbConfig: set_lk_max_lockers 1500<br />#olcLastMod: TRUE<br />#olcMonitoring: TRUE<br />#olcDbCheckpoint: 512 30<br />olcAccess: to attrs=userPassword<br /> by self write<br /> by anonymous auth<br /> by dn.base="cn=Manager,dc=mydomain" write<br /> by * none<br />olcAccess: to attrs=shadowLastChange<br /> by self write<br /> by * read<br />olcAccess: to *<br /> by dn.exact="cn=Manager,dc=mydomain" write<br /> by * read<br /></a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-71816081203504887602019-07-02T18:46:13.569+03:002019-07-02T18:46:13.569+03:00Hey all, sorry this is a kind of old article, you ...Hey all, sorry this is a kind of old article, you should really check the OpenLdap Docs for newer versions. For the issue you have, it sounds like you are not rm -rf /etc/openldap/slapd.d/* each time you're cating the ldif. Panoshttps://www.blogger.com/profile/17092487368034284293noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-55086454507771628852019-07-02T18:37:33.171+03:002019-07-02T18:37:33.171+03:00I'm having the problem. I came here because I ...I'm having the problem. I came here because I wanted to use the MDB Backend.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-19979301840369539752019-04-20T23:52:41.481+03:002019-04-20T23:52:41.481+03:00Hello,
can you help me why i got this error when ...Hello, <br />can you help me why i got this error when i try to import it?<br /><br />[root@localhost ~]# cat main.ldif | slapadd -v -F /etc/openldap/slapd.d -n 0<br />5cbb8639 str2entry: entry -1 has multiple DNs "cn=config" and "cn=module,cn=config"<br />slapadd: could not parse entry (line=1)Anonymoushttps://www.blogger.com/profile/12158249220669916600noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-59539153887111986302012-05-17T15:42:07.503+03:002012-05-17T15:42:07.503+03:00this was exactly what i needed to solve this probl...this was exactly what i needed to solve this problem with the fonts. i had tried alot of suggestions found on the web and only your hint helped.<br /><br />just a note: I use Centos 5.8 and my files where not pfa, but pfb, so this worked:<br /><br />%/Courier /NimbusMonL-Regu ;<br />/Courier (n022003l.pfb) ;<br />% /Courier-Bold /NimbusMonL-Bold ;<br />/Courier-Bold (n022004l.pfb) ;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-52728090794190100272011-03-03T11:33:01.306+02:002011-03-03T11:33:01.306+02:00Well as far as I remember the bug was affecting on...Well as far as I remember the bug was affecting only the web method. It would surface only if the modem or web server would not respond so it could surface once every 2 or more months! <br /><br />I believe that the patch is included in the current release of ddclient.<br /><br />Glad it worked for you.Panoshttps://www.blogger.com/profile/17092487368034284293noreply@blogger.comtag:blogger.com,1999:blog-5606554702970304361.post-80689746122037859542011-03-03T09:43:44.819+02:002011-03-03T09:43:44.819+02:00Great thanks for a patch. It works for me very wee...Great thanks for a patch. It works for me very weell. And it solved the problem with ddclient You are writing about and witch appeared for me after about two or three years of using ddclient. I dont't know what has changed, but it caused ddclient to hang every few days when trying to retrive new ip adress - now it works for a few days like it should. Once again thank You !Anonymousnoreply@blogger.com