1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Help needed with ldap server.and gdm.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%20needed%20with%20ldap%20server.and%20gdm.&In-Reply-To=%3Cop.wue2ftvun7mcit%40hodgins.homeip.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="023809.html">
<LINK REL="Next" HREF="023772.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Help needed with ldap server.and gdm.</H1>
<B>David W. Hodgins</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%20needed%20with%20ldap%20server.and%20gdm.&In-Reply-To=%3Cop.wue2ftvun7mcit%40hodgins.homeip.net%3E"
TITLE="[Mageia-dev] Help needed with ldap server.and gdm.">davidwhodgins at gmail.com
</A><BR>
<I>Sat Mar 23 21:41:43 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="023809.html">[Mageia-dev] ANN: Upgrading from Mageia 2 via urpmi
</A></li>
<LI>Next message: <A HREF="023772.html">[Mageia-dev] Help needed with ldap server.and gdm.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23757">[ date ]</a>
<a href="thread.html#23757">[ thread ]</a>
<a href="subject.html#23757">[ subject ]</a>
<a href="author.html#23757">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
I've been working on getting an ldap server working in Mageia 2,
and have a strange error, that I'm not sure how to debug.
I have two users. The user dave existed before adding the ldap
server, and is defined in both /etc/passwd (group and shadow too),
as well as in the ldap database. The user qatest is only defined
in the ldap database.
I've been using the instructions from
<A HREF="http://linsec.ca/Using_OpenLDAP_for_User_Authentication#Configuring_PAM_to_use_LDAP">http://linsec.ca/Using_OpenLDAP_for_User_Authentication#Configuring_PAM_to_use_LDAP</A>
In the auth section of /etc/pam.d/system-auth, if I use
auth sufficient /lib/security/pam_pwdb.so likeauth nullok
both users are listed by gdm, but only the qatest user can login,
and the "su -" command fails with "unknown pam error". The user
dave can login ok in run level 3, and startx, but also cannot use
the "su -" command, or login via gdm
If I use the line
auth sufficient /lib/security/pam_unix.so likeauth nullok
both users can login with run level 3, startx, and use "su -", but
the qatest user is not listed by gdm, so can't login with a normal
run level 5 startup, while the user dave can.
So it looks like I should be using pam_unix, but need something to
get gdm to list the ldap only user.
Any suggestions?
Thanks, Dave Hodgins
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="023809.html">[Mageia-dev] ANN: Upgrading from Mageia 2 via urpmi
</A></li>
<LI>Next message: <A HREF="023772.html">[Mageia-dev] Help needed with ldap server.and gdm.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23757">[ date ]</a>
<a href="thread.html#23757">[ thread ]</a>
<a href="subject.html#23757">[ subject ]</a>
<a href="author.html#23757">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|