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
c3287b92
Commit
c3287b92
authored
8 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Moving LDAP OS support from Samba to LDAP section
parent
f15ec35f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Doc/Sdi/ldap.xml
+34
-1
34 additions, 1 deletion
Doc/Sdi/ldap.xml
Doc/Sdi/samba.xml
+14
-16
14 additions, 16 deletions
Doc/Sdi/samba.xml
with
48 additions
and
17 deletions
Doc/Sdi/ldap.xml
+
34
−
1
View file @
c3287b92
...
...
@@ -659,7 +659,7 @@ modifying entry "olcDatabase={0}config,cn=config"</programlisting>
</orderedlist>
</section>
<section
xml:id=
"ldapReplication"
>
<section
xml:id=
"
sdiSect
ldapReplication"
>
<title>
Replication
</title>
<para><link
...
...
@@ -720,6 +720,39 @@ olcModulePath: /usr/lib/ldap</programlisting>
</note>
</section>
<section
xml:id=
"sdiSectLdapOsSupport"
>
<title><xref
linkend=
"glo_LDAP"
/>
based user login
</title>
<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>
<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>
<programlisting
language=
"none"
>
$ id ldaptest
uid=1001(ldaptest) gid=1001(ldaptest) groups=1001(ldaptest)
</programlisting>
<para>
A
<quote>
id: ‘ldaptest’: no such user
</quote>
message indicates
your
<xref
linkend=
"glo_LDAP"
/>
setup does not yet work.
</para>
<para>
After this continue to configure password based user login based
on
<xref
linkend=
"glo_LDAP"
/>
credentials.
</para>
</tip>
</section>
<section
xml:id=
"sdiSectLdapByJava"
>
<title>
Accessing
<xref
linkend=
"glo_LDAP"
/>
by a
<xref
linkend=
"glo_Java"
/>
application.
</title>
...
...
This diff is collapsed.
Click to expand it.
Doc/Sdi/samba.xml
+
14
−
16
View file @
c3287b92
...
...
@@ -106,23 +106,21 @@ Filesystem 1K-blocks Used Available Use% Mounted on
database.
</para>
<tip>
<itemizedlist>
<listitem>
<para>
Before you start make sure your OS does have
<xref
linkend=
"glo_LDAP"
/>
user support. Choose a user e.g.
<quote>
ldaptest
</quote>
which exists on your
<xref
linkend=
"glo_LDAP"
/>
server but not as a local user provided by
<filename>
/etc/passwd
</filename>
. The following should
work:
</para>
<programlisting
language=
"none"
>
$ id ldaptest
uid=1001(ldaptest) gid=1001(ldaptest) groups=1001(ldaptest)
</programlisting>
<para>
A
<quote>
id: ‘ldaptest’: no such user
</quote>
message
indicates your
<xref
linkend=
"glo_LDAP"
/>
setup does not yet
work.
</para>
</listitem>
<para>
Prerequisite: Before you start make sure your OS does indeed
have
<xref
linkend=
"glo_LDAP"
/>
user and group support as being
described in
<xref
linkend=
"sdiSectLdapOsSupport"
/>
.
</para>
</tip>
<tip>
<para>
As being mentioned in
<uri
xlink:href=
"https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/997172"
>
https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/997172
</uri>
the
<command>
smbldap-config.pl
</command>
command my be missing.
Following
<link
xlink:href=
"https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/997172/comments/7"
>
comment
no. 7
</link>
from the same bug report the following steps create a
replacement:
</para>
<itemizedlist>
<listitem
xml:id=
"sdiHintBugMissingSmbldapPackage"
>
<para>
As being mentioned in
<uri
xlink:href=
"https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/997172"
>
https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/997172
</uri>
...
...
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