Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moodle 2.6.1 #4

Open
kirkbrje opened this issue Jan 21, 2014 · 2 comments
Open

moodle 2.6.1 #4

kirkbrje opened this issue Jan 21, 2014 · 2 comments

Comments

@kirkbrje
Copy link

Bonjour,
super plugin, fort utile.
Je l'ai installé et je souhaite l'utiliser pour synchroniser mes cohortes avec un attribut ldap multivalué (supannRoleGenerique). J'ai configuré depuis l'interface moodle l'attribut en question...

Ensuite, je lance bien le shell ./sync_moodle_cohorts_2.sh en tant que user Apache sous /var/www/html/phototheque/files/local/ldap/cli.
J'ai configuré comme précisé le SYNC_DIR et le LOG_DIR...
Sous mon répertoire sync, le fichier cohort_ldap_2_sync_2014-01-21.txt est créé, il contient la ligne "Execution took 0.042607 seconds" mais rien ne se passe...
Ce plugin est-il compatible avec moodle 2.6.1 ? Je précise qu'il s'agit d'un moodle de test que je viens d'installer...

@kirkbrje
Copy link
Author

Bonjour, je viens de retenter avec le mode verbeux d'activé...
Le contenu du fichier txt sous le répertoire SYNC_DIR contient plus d'infos :

quelques infos sont masquées par des xxxxx.

plugin configstdClass Object
(
[auth_user_create] => 0
[bind_dn] => uid=xxxxx,ou=bind,dc=xxxxxx,dc=xxxx
[bind_pw] => xxxxxxxxx
[changepasswordurl] => https://xxxxxxxxxxx
[contexts] => ou=people,dc=xxxxxx,dc=xx
[create_context] =>
[creators] =>
[expiration] => 0
[expiration_warning] => 10
[expireattr] =>
[field_lock_address] => unlocked
[field_lock_city] => unlocked
[field_lock_country] => unlocked
[field_lock_department] => unlocked
[field_lock_description] => unlocked
[field_lock_email] => unlocked
[field_lock_firstname] => unlocked
[field_lock_idnumber] => unlocked
[field_lock_institution] => unlocked
[field_lock_lang] => unlocked
[field_lock_lastname] => unlocked
[field_lock_phone1] => unlocked
[field_lock_phone2] => unlocked
[field_lock_url] => unlocked
[field_map_address] => postalAddress
[field_map_city] => l
[field_map_country] =>
[field_map_department] => supannEntiteAffectationPrincipale
[field_map_description] =>
[field_map_email] => mail
[field_map_firstname] => givenName
[field_map_idnumber] =>
[field_map_institution] =>
[field_map_lang] => preferredLanguage
[field_map_lastname] => sn
[field_map_phone1] => telephoneNumber
[field_map_phone2] =>
[field_map_url] =>
[field_updatelocal_address] => oncreate
[field_updatelocal_city] => oncreate
[field_updatelocal_country] => oncreate
[field_updatelocal_department] => onlogin
[field_updatelocal_description] => oncreate
[field_updatelocal_email] => onlogin
[field_updatelocal_firstname] => onlogin
[field_updatelocal_idnumber] => oncreate
[field_updatelocal_institution] => oncreate
[field_updatelocal_lang] => oncreate
[field_updatelocal_lastname] => onlogin
[field_updatelocal_phone1] => oncreate
[field_updatelocal_phone2] => oncreate
[field_updatelocal_url] => oncreate
[field_updateremote_address] => 0
[field_updateremote_city] => 0
[field_updateremote_country] => 0
[field_updateremote_department] => 0
[field_updateremote_description] => 0
[field_updateremote_email] => 0
[field_updateremote_firstname] => 0
[field_updateremote_idnumber] => 0
[field_updateremote_institution] => 0
[field_updateremote_lang] => 0
[field_updateremote_lastname] => 0
[field_updateremote_phone1] => 0
[field_updateremote_phone2] => 0
[field_updateremote_url] => 0
[forcechangepassword] => 0
[graceattr] =>
[gracelogins] => 0
[host_url] => ldaps://xxxxxxxxx;ldaps://xxxxxxxxxxxxx
[ldapencoding] => utf-8
[ldap_version] => 3
[memberattribute] => member
[memberattribute_isdn] => 0
[ntlmsso_enabled] => 0
[ntlmsso_ie_fastpath] => 0
[ntlmsso_remoteuserformat] =>
[ntlmsso_subnet] =>
[ntlmsso_type] => ntlm
[objectclass] => (objectClass=person)
[opt_deref] => 0
[pagesize] => 250
[passtype] => plaintext
[preventpassindb] => 1
[removeuser] => 0
[search_sub] => 1
[start_tls] => 0
[stdchangepassword] => 0
[user_attribute] => supannaliaslogin
[user_type] => default
[user_type_name] => Défaut
[debug_ldap_groupes] => 1
[group_attribute] => cn
[group_class] => groupOfUniqueNames
[process_nested_groups] => 0
[cohort_synching_ldap_attribute_attribute] => supannRoleGenerique
[cohort_synching_ldap_attribute_idnumbers] =>
[cohort_synching_ldap_groups_autocreate_cohorts] => 1
[cohort_synching_ldap_attribute_autocreate_cohorts] => 1
)
looking for (&(&(supannaliaslogin=)(objectClass=person))(supannRoleGenerique=))
cohort idnumbersArray
(
)
Execution took 0.053878 seconds

@kirkbrje
Copy link
Author

J'ai tenté d'installer le plugin (dézippe manuel) avec un moodle 2.1.10 => ECHEC d'installation depuis l'interface d'admin, le système demandait une version de moodle supérieure...
J'ai donc upgradé à la version immédiatement supérieur qui est en téléchargement, c'est à dire la version 2.2.11. Le plugin s'installe sans problème mais je retrouve exactement le même problème qu'avec Moodle 2.6 : rien ne se passe....

Avec quelle version de moodle je peux utiliser ce plugin ?

OdyX pushed a commit to liip-elearning/moodle_local_ldap that referenced this issue Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant