|
%!s(int64=11) %!d(string=hai) anos | |
---|---|---|
include | %!s(int64=11) %!d(string=hai) anos | |
priv | %!s(int64=11) %!d(string=hai) anos | |
src | %!s(int64=11) %!d(string=hai) anos | |
test | %!s(int64=11) %!d(string=hai) anos | |
.gitignore | %!s(int64=11) %!d(string=hai) anos | |
LICENSE | %!s(int64=11) %!d(string=hai) anos | |
README.md | %!s(int64=11) %!d(string=hai) anos | |
rebar.config | %!s(int64=11) %!d(string=hai) anos |
cookie_authentication_handler
First, check out the source and cd
into it.
rebar clean compile
rebar test
# Create module folder
mkdir /usr/local/lib/couchdb/erlang/lib/ldap-auth
# Copy binaries
cp -R ebin /usr/local/lib/couchdb/erlang/lib/ldap-auth/
# Copy/overwrite the default config
cp -f priv/default.d/* /usr/local/etc/couchdb/default.d/
# Copy (but don't overwrite!) the custom config
cp -n priv/local.d/* /usr/local/etc/couchdb/local.d/
See ldap_auth.ini for details.