Search found 6 matches

by jelie
Fri Dec 21, 2012 3:21 pm
Forum: General discussions
Topic: search - partial matches do not display
Replies: 1
Views: 2247

search - partial matches do not display

We'd like to be able to search using partial matches even if an exact match is found. How do we do this?

For example:

If we search on 3 letters or less, the phpMyFAQ returns results of everything that contains those letters. If we search on 4 letters or more, it will return search results of ONLY ...
by jelie
Thu Dec 20, 2012 6:36 pm
Forum: General discussions
Topic: Active Directory LDAP Example
Replies: 11
Views: 19353

Re: Active Directory LDAP Example

Turned on the phpMyFAQ debug (thanks for that!), plus had one of our php guys take a look using xdebug and we figured out (long story) that we needed the following configuration:

./config/ldap.php
<?php
$PMF_LDAP["ldap_server"] = 'domain.com';
$PMF_LDAP["ldap_port"] = 389;
$PMF_LDAP["ldap_user ...
by jelie
Wed Dec 19, 2012 10:38 pm
Forum: General discussions
Topic: Active Directory LDAP Example
Replies: 11
Views: 19353

Re: Active Directory LDAP Example

Yes, Enable LDAP Support? is checked in the UI configuration.

I tried to log in using an LDAP user

username
password

I also tried:

domain\username
password

and I tried

username@domain.com
password

Error is always: Wrong username or password.
by jelie
Wed Dec 19, 2012 8:01 pm
Forum: General discussions
Topic: Active Directory LDAP Example
Replies: 11
Views: 19353

Re: Active Directory LDAP Example

I have no logs on my AD server that shows any login attempts.

Is there a log that shows if phpmyfaq is trying to connect to our active directory server and being rejected?
by jelie
Wed Dec 19, 2012 7:28 pm
Forum: General discussions
Topic: Active Directory LDAP Example
Replies: 11
Views: 19353

Re: Active Directory LDAP Example

So, is ldap_server looking for servername.domain.com or just domain.com?

I'm guessing it is looking for domain.com.
by jelie
Wed Dec 19, 2012 3:32 pm
Forum: General discussions
Topic: Active Directory LDAP Example
Replies: 11
Views: 19353

Active Directory LDAP Example

I have what I hope is a very quick question. Trying to test the phpMyFAQ to see if we want to use it and would like to get the LDAP enabled. In the file:

/var/www/faq/config/ldap.php

we have the following:

<?php
$PMF_LDAP["ldap_server"] = 'domain.com';
$PMF_LDAP["ldap_port"] = 389;
$PMF_LDAP ...