Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : LDAP Issue (and a query about question conditions)

LDAP Issue (and a query about question conditions) il y a 11 mois 3 semaines #95222

  • TarkiB
  • Portrait de TarkiB
  • Hors ligne
  • Fresh Lemon
  • Messages : 7
  • Karma: 0
Hi there,

I have two somewhat unrelated questions. I'm running version 2.00+ Build 130406, on Windows with Apache/MySQL.

1) Question conditions: Each question can have a condition applied to it to determine when it is visible. Can conditions be applied to a question group, instead of having to apply conditions for each individual question? This way, a question group could be visible/invisible, depending on a previous answer.

2) I'm setting up LDAP with AD to import tokens. I can successfully bind to the LDAP server, but it gives me the following results:
1 Results from LDAP Query.
0 records met minimum requirements
0 Records imported.
0 Duplicate records removed
0 records with invalid email address removed

I'm running the following query, which should only return 1 user. I know for a fact that this user is in AD:
$query_id=0;
$ldap_queries[$query_id]['ldapServerId'] = 0;
$ldap_queries[$query_id]['name'] = 'Staff with with Bh in name';
$ldap_queries[$query_id]['userbase'] = 'cn=users,dc=development,dc=local';
$ldap_queries[$query_id]['userfilter'] = '(&(objectCategory=person)(objectClass=user)(name=Bh*))';
$ldap_queries[$query_id]['userscope'] = 'sub';
$ldap_queries[$query_id]['firstname_attr'] = 'name';

It finds one user, which is right, but it apparently it doesn't meet 'minimum requirements'. I'm not sure why that is. All it should be doing is finding names that begin with 'Bh'.

Any help would be appreciated.

Cheers.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.160 secondes
Donation Image