You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important that you register the first user of the default auth in order to have an admin ( see :ref:`Register a User <register-user>` ) without this you don't have any deis admin because LDAP users haven't this permission, you will need to set this later.
135
+
After this you need to disable the registration ( see :ref:`disable_user_registration` ) avoiding that "ghost" users register and access your Deis. The auth model of controller by default allows multiple source auths so LDAP and non-LDAP users will be able to login.
136
+
137
+
138
+
.. code-block:: console
139
+
140
+
$ deisctl config controller set auth/ldap/endpoint=<ldap-endpoint>
141
+
$ deisctl config controller set auth/ldap/bind/dn=<bind-dn-full-user>
142
+
$ deisctl config controller set auth/ldap/bind/password=<bind-dn-user-password>
143
+
$ deisctl config controller set auth/ldap/user/basedn=<user-base-dn>
144
+
$ deisctl config controller set auth/ldap/user/filter=<user-filter>
145
+
$ deisctl config controller set auth/ldap/group/basedn=<group-base-dn>
146
+
$ deisctl config controller set auth/ldap/group/filter=<group-filter>
147
+
$ deisctl config controller set auth/ldap/group/type=<group-type>
148
+
149
+
.. note::
150
+
151
+
You can set a LDAP user as admin by using ``deis perms:create <LDAP User> --admin`` with the admin created before.
152
+
153
+
.. note::
154
+
155
+
LDAP support was contributed by community member Pedro Spagiari (`@phspagiari <http://github.com/phspagiari/>`_) and is unsupported by the Deis core team.
0 commit comments