From: John C. <joh...@ua...> - 2004-03-01 15:03:54
|
--- Reini Urban <ru...@x-...> wrote: > John Cole schrieb: > > > Reini, > > Here is the patch and the lines needed for AD in > the > > index.php. Both are zipped so hopefully they will > be > > readable. > > > > Note: you will need to rename the extension to > zip, > > as SF is blocking all zip files. > > > Can you live with the most recent WikiUserNew > constants? > > I don't think that you need the 2nd port argument to > ldap_connect > "ldap://server:port" should be enough, can you > verify? > Reini, You are correct, the ldap port does not need to be specified. I cleaned up some of the code so it doesn't throw php warnings about undefined constants: $LDAP_SET_OPTION = array(LDAP_OPT_PROTOCOL_VERSION => 3, LDAP_OPT_REFERRALS, 0); if (!defined('LDAP_AUTH_USER')) define('LDAP_AUTH_USER', "CN=a ldap user,CN=Users,DC=company,DC=com"); if (!defined('LDAP_AUTH_PASSWORD')) define('LDAP_AUTH_PASSWORD', 'your password'); if (!defined('LDAP_SEARCH_FIELD')) define('LDAP_SEARCH_FIELD', 'sAMAccountName'); // might be different from uid, I have a fresh copy from CVS this morning and things seem to look very good. Here is a small list of things I have noticed so far: * Line 121 of themes\default\templates\editpage.tmpl causes PHP 4.3.4 on windows to core apache when you attempt to edit a page. Removing this line fixes this. * RichTable plugin is not working correctly (it does not parse plugins or wiki words) and it throws a dozen warnings at the bottom of the page like: C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\plugin\RichTable.php (In template 'browse') (In template 'body') (In template 'html'):139: Notice[8]: Undefined offset: 1 I really like the themes your freinds had. It would be great if the artistic folk could increase the number of default themes included with phpWiki. The project really does look like its reaching critical mass. Great work. John Cole ------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. |