[pmwiki-users] AD Authentication...again.

David Johnson david.johnson at caldwellfunding.com
Wed Aug 6 09:37:22 CDT 2008


Hi, everyone.

 

I'm brand new here and I've searched through the archives for
assistance.  I found the topic of AD authentication in the archives but
couldn't really get anything working right.

I feel bad asking more about it but I really want to get this working
for my company.  Basically, I'm running MS Server 2003 with PmWiki,
Apache, php, etc. installed and we have an Active Directory Server that
I want to use to authenticate employees at the company.  Until this
point, since the wiki is being used for documentation, I've had a
default password for both reading and editing that only IT knows here.
But I want to expand the wiki so that employees can use a general
section of it too.  The best way is definitely AD since we already have
this set up here.  I've tried the steps listed here:
http://www.pmwiki.org/wiki/PmWiki/AuthUser and I can login through our
Administrator AD account, but not my personal one (and I assume no other
accounts either).  So, it is indeed authenticating but only for one
account?  So weird.  

Here's the php code I'm using for this:

 

 

#Security Variables set login for edit & history page

    # to let anyone edit that has an ldap entry:

    $HandleAuth['diff'] = 'edit';

    $DefaultPasswords['read'] = 'id:*';

    $DefaultPasswords['edit'] = 'id:*';

    $Author = $AuthId;

 

$AuthLDAPBindDN = "caldwellfunding\\one of our usernames";

 

$AuthLDAPBindPassword = "the password for that username"; 

 

$AuthUser['ldap'] =
'ldap://cfc-ct-ad01.caldwellfunding.com/dc=caldwellfunding,dc=com?mailNi
ckname?sub'; 

 

include_once("$FarmD/scripts/authuser.php");

 

 

Again, this is based on the Pmwiki documentation.

Anyway, does anyone have a successful setup with a remote AD server that
can help out?  Thanks so much!

 

David Johnson
Caldwell Funding Corporation 
1055 Washington Boulevard, 8th Floor
Stamford, CT 06901 
david.johnson at caldwellfunding.com
<mailto:david.johnson at caldwellfunding.com> 

T: (203) 517 0100 (Office)
T: (203) 517 0034 (Direct)
Fax: (203) 517 0109

 


The information contained in this message, including any attachment hereto, may contain confidential and/or privileged material. 
This message is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient, please be advised 
that any review, use, dissemination, forwarding or copying of this message is strictly prohibited. If you received this
message in error, please notify the sender immediately and delete it from your system. E-mail transmissions are not secure, 
and we accept no liability for errors in transmission, delayed transmission, changes made to this message after it was originally sent, 
or other transmission-related issues. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the 
responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments 
will not adversely affect its systems or data. No responsibility is accepted by Caldwell Funding Corporation and its affiliates in this 
regard and the recipient should carry out such virus and other checks as it considers appropriate. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080806/670f4a7d/attachment-0001.html 


More information about the pmwiki-users mailing list