Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
a9331ce4
Commit
a9331ce4
authored
6 years ago
by
Goik Martin
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.mi.hdm-stuttgart.de:goik/GoikLectures
parents
d8eca575
a4f77aad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Sdi/ldap.xml
+38
-21
38 additions, 21 deletions
Doc/Sdi/ldap.xml
with
38 additions
and
21 deletions
Doc/Sdi/ldap.xml
+
38
−
21
View file @
a9331ce4
...
...
@@ -726,31 +726,48 @@ olcModulePath: /usr/lib/ldap</programlisting>
<para>
Configure your second VM (the one without
<xref
linkend=
"glo_LDAP"
/>
Server) to allow for user login purely based on
<xref
linkend=
"glo_LDAP"
/>
. Activation of OS level
<xref
linkend=
"glo_LDAP"
/>
user and group support is being outlined in
<link
xlink:href=
"https://wiki.debian.org/LDAP/PAM"
>
Configuring LDAP
Authentication
</link>
.
</para>
<xref
linkend=
"glo_LDAP"
/>
.
</para>
<tip>
<para>
All user information (
<property>
uid
</property>
, common name,
numerical id, group information ...) will reside on your
<xref
linkend=
"glo_LDAP"
/>
Server rather than locally in
<filename>
/etc/passwd
</filename>
,
<filename>
/etc/group
</filename>
and
<filename>
/etc/shadow
</filename>
. Create the required user home
directory manually.
</para>
<para>
On successful configuration corresponding to a
<xref
linkend=
"glo_LDAP"
/>
user
<property>
ldaptest
</property>
you should see
the following
</para>
<screen>
$ id ldaptest
<itemizedlist>
<listitem>
<para>
Activation of OS level
<xref
linkend=
"glo_LDAP"
/>
user and
group support is being outlined in
<link
xlink:href=
"https://wiki.debian.org/LDAP/PAM"
>
Configuring LDAP
Authentication
</link>
.
</para>
</listitem>
<listitem>
<para>
Follow the »newer«
<link
xlink:href=
"https://wiki.debian.org/LDAP/PAM#PAM_Setup_with_libpam-ldapd"
>
PAM
Setup with libpam-ldapd approach
</link>
rather than using the older
<package>
libpam-ldap
</package>
package.
</para>
</listitem>
<listitem>
<para>
First step will allow for viewing user meta data on the client
side:
</para>
<screen>
$ id ldaptest
uid=1001(ldaptest) gid=1001(ldaptest) groups=1001(ldaptest)
</screen>
<para>
A
<quote>
id: ‘ldaptest’: no such user
</quote>
message indicates
your
<xref
linkend=
"glo_LDAP"
/>
setup does not yet work.
</para>
<para>
A
<quote>
id: ‘ldaptest’: no such user
</quote>
message
indicates your
<xref
linkend=
"glo_LDAP"
/>
setup does not yet
work.
</para>
</listitem>
<listitem>
<para>
Create the required user home directory manually and change
owner and group accordingly.
</para>
</listitem>
</itemizedlist>
<para>
After this continue to configure password based user login based
on
<xref
linkend=
"glo_LDAP"
/>
credentials.
</para>
<tip>
<para><xref
linkend=
"glo_LDAP"
/>
user information
(
<property>
uid
</property>
, common name, numerical id, group
information ...) will reside on your
<xref
linkend=
"glo_LDAP"
/>
Server
rather than locally in
<filename>
/etc/passwd
</filename>
,
<filename>
/etc/group
</filename>
and
<filename>
/etc/shadow
</filename>
.
</para>
</tip>
</section>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment