<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<RTE_TEXT>hello<BR>
&nbsp;<BR>
using pmwiki at work and was able to successfully authenticate users via ldap. this is a great help!<BR>
noticed today that when i try a 'secure' page that requires a user to authenticate themselves that the name/password prompt reappears, even after correctly entering the right username/password. you would think this is perhaps a&nbsp;problem with 'talking' to the ldap server. however, the login/logout changes to logout - so this tells me (i think) that the id and password have been authenticated. the attributes on&nbsp;a random page are:<BR>
&nbsp;<BR>
read p/w: @ id:*<BR>
edit p/w: @ id:*<BR>
&nbsp;<BR>
the page siteadmin.authuser has @editors:&nbsp;id:*<BR>
&nbsp;<BR>
config has<BR>
&nbsp;<BR><FONT size=2>
ini_set('session.gc_maxlifetime', 3600);<BR>
$AuthUser['ldap'] = 'ldap://name-omitted:389/OU=MANSERV,O=abc?uid?sub';<BR>
include_once('scripts/authuser.php');<BR>
&nbsp;<BR>
and authuser.php has been amended to search the entire name directory<BR>
&nbsp;<BR><FONT size=2>
function AuthUserLDAP($pagename, $id, $pw, $pwlist) {<BR>
if (!$id) return false;<BR>
if (!$pw) return false;<BR>
if (!function_exists('ldap_connect')) return false;<BR>
$fullUser = $id."@net.name-omitted.co.uk";<BR>
&nbsp;<BR>
the only recent change was a dns entry was created so the servername during testing went from <A href="http://abc-123/xyz">http://abc-123/xyz</A> to <BR>
<A href="http://abc-xyz">http://abc-xyz</A> - the content in the folder remained static as did permissions.<BR>
&nbsp;<BR>
any clues/directions/pointers as to why the page does not display the content even with correct user id/pw? i can sign in using an admin id perfectly fine. obviously this is not desired for users!<BR>
&nbsp;<BR>
thanks for any help!<BR>
&nbsp;<BR>
david<BR></FONT>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR></FONT></RTE_TEXT></body>
</html>