PAM_XAUTHDATA and PAM_XDISPLAY not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I don't see PAM_XAUTHDATA and PAM_XDISPLAY available on NetBSD or with openpam.
As a workaround I am using:
--- src/session-
+++ src/session-child.c 2012-05-14 19:05:18.000000000 -0500
@@ -255,11 +255,14 @@
}
if (xdisplay)
{
+#ifdef PAM_XDISPLAY
+#endif
}
else if (tty)
+#ifdef PAM_XAUTHDATA
if (xauthority)
{
struct pam_xauth_data value;
@@ -270,6 +273,7 @@
}
+#endif
/* Authenticate */
if (do_authenticate)
Workaround seems valid (these are Linux PAM extensions). Fixed for 1.3.1