[Init] Move ldap configuration to main init file

This commit is contained in:
Daniel - 2019-01-01 13:03:08 +01:00
parent 2ff15f9f34
commit eda2f6ff50
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
2 changed files with 6 additions and 7 deletions

View File

@ -421,13 +421,6 @@ METHOD specifies the encrypt method used. Can be either
;; inspired by https://www.emacswiki.org/emacs/ExtendSMIME
(use-package ldap
:commands (ldap-search)
:config (progn
(setq ldap-default-host "")
(setq ldap-default-base "O=DFN-Verein,C=DE"
ldap-ldapsearch-args '("-x" "-tt" "-H ldaps://ldap.pca.dfn.de"))))
(defun db/lookup-smime-key (mail)
"Look up `MAIL' on ldap-server of the DFN.

View File

@ -2122,6 +2122,12 @@
(key-chord-define-global "''" "")
(key-chord-define-global ",," "")))
(use-package ldap
:commands (ldap-search)
:init (setq ldap-default-host ""
ldap-default-base "O=DFN-Verein,C=DE"
ldap-ldapsearch-args '("-x" "-tt" "-H ldaps://ldap.pca.dfn.de")))
(use-package mastodon
:commands (mastodon))