[Init] Move ldap configuration to main init file
This commit is contained in:
parent
2ff15f9f34
commit
eda2f6ff50
7
gnus.el
7
gnus.el
|
@ -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.
|
||||
|
||||
|
|
6
init.el
6
init.el
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue