vocab vcard (urgent)

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:508366fedeb564732f09b28d450a2898' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">\n<p>Bonjour,&nbsp;<br />En v1.5, j\'avais parametr&eacute; le<br />\nldapVocabulary.xml de fa&ccedil;on &agrave; remonter dans le champ ORG les<br />\nchamps &quot;o&quot; et &quot;ou&quot; qui sont pr&eacute;sents dans<br />\nl\'enregistrement ldap d\'une personne (ainsi que le champ<br />\n&quot;mail&quot;)\n</div>\n', created = 1507746893, expire = 1507833293, headers = '', serialized = 0 WHERE cid = '4:508366fedeb564732f09b28d450a2898' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:508366fedeb564732f09b28d450a2898' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">\n<p>Bonjour,&nbsp;<br />En v1.5, j\'avais parametr&eacute; le<br />\nldapVocabulary.xml de fa&ccedil;on &agrave; remonter dans le champ ORG les<br />\nchamps &quot;o&quot; et &quot;ou&quot; qui sont pr&eacute;sents dans<br />\nl\'enregistrement ldap d\'une personne (ainsi que le champ<br />\n&quot;mail&quot;)\n</div>\n', created = 1507746893, expire = 1507833293, headers = '', serialized = 0 WHERE cid = '4:508366fedeb564732f09b28d450a2898' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:a544c84b1871893591e1ecebf6b93215' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Je me permets d\'insister suite au message que j\'ai<br />\npost&eacute; vendredi dernier et pour lequel (vacances zone B obligent ?<br />\nzone C pas encore en vacances ;-() je n\'ai pas eu de r&eacute;ponse.<br<br />\n/><br />Je r&eacute;sume donc mon probl&egrave;me :<br />je cherche<br />\n&agrave; initialiser,&nbsp;dans un formulaire,&nbsp;la vcard d\'une<br />\npersonne, selectionn&eacute;e dans le ldap (en cliquant sur recherche de<br />\nvcard).&nbsp;<br />Plus pr&eacute;cis&eacute;ment je cherche &agrave;<br />\nremplir le champ ORG de la vcard avec les attributs &quot;o&quot; et<br />\n&quot;ou&quot;, concat&eacute;n&eacute;s.<br />Pour ce faire, j\'ai<br />\nmodifi&eacute; le fichier ldapVocabulary.xml, comme je l\'avais fait avec<br />\nsucc&egrave;s en v1.4 et en v1.5<br />Or, en v1.6, ca ne marche<br />\npas&nbsp;du fait que&nbsp;le vocabulaire des vcards (people_vcard) n\'est<br />\npas complet.</p>\n<p>Dans les logs du vocabulary (mis en mode debug),<br />\nj\'ai&nbsp;:</p>\n<p>754856 avr./12 15:14:30 DEBUG<br />\nsupport.LdapContextSource setupAuthenticatedEnvironment[126]&nbsp; -<br />\nPrincipal: \'cn=admcri,dc=u-psud,dc=fr\'<br />754857 avr./12 15:14:30 DEBUG<br />\nsupport.LdapContextSource createContext[198]&nbsp; - Got Ldap context on<br />\nserver \'ldap://ldap.u-psud.fr:389/dc=u-psud,dc=fr\'<br />754860 avr./12<br />\n15:14:30 DEBUG ldap.LdapVCARDVocabularyProvider getEntityInfos[111]&nbsp;<br />\n- attribute displayName not found for userid francoise.schortin<br<br />\n/>754860 avr./12 15:14:30 DEBUG ldap.LdapVCARDVocabularyProvider<br />\ngetEntityInfos[111]&nbsp; - attribute o not found for userid<br />\nfrancoise.schortin<br />754860 avr./12 15:14:30 DEBUG<br />\nldap.LdapVCARDVocabularyProvider getEntityInfos[111]&nbsp; - attribute ou<br />\nnot found for userid francoise.schortin</p>\n<p>J\'en d&eacute;duis que<br />\nles champs &quot;o&quot; et &quot;ou&quot;, ainsi que<br />\n&quot;displayName&quot;, ne sont pas &quot;trouv&eacute;s&quot; ...<br<br />\n/>(pourtant ils existent bien)</p>\n<p>J\'ai creus&eacute; un peu en<br />\nmettant des impressions de controle dans les fichiers<br />\nLdapVCARDVocabularyProvider.java;&nbsp;(dans lequel se trouve le<br />\ngetEntityInfos())</p>\n<p>Ce que j\'obtiens semble&nbsp;signifier que la<br />\nliste des attributs ldap que je demande est effectivement bien :<br />[cn,<br />\nsn, givenName, displayName, uid, mail, o, ou]<br />mais que&nbsp;une<br />\nrequete ldap, dans laquelle ces attributs sont recherch&eacute;s, ne<br />\nremonte pas ces attributs, mais d\'autres :<br />[uid, mail, sn, cn,<br />\ntelephoneNumber, postalAddress, givenName]<br />parmi lesquels certains<br />\nattributs communs sont pr&eacute;sents, mais pas o, ou, displayName.<br<br />\n/><br />2916 avr./12 19:12:46 DEBUG ldap.LdapVCARDVocabularyProvider<br />\nsetupLdapServiceAttributes[53]&nbsp; - hhhhhhhhhhhhhhhhhh requestedList :<br />\n[sn, givenName, displayName, uid, mail, o, ou]<br />2916 avr./12 19:12:46<br />\nDEBUG ldap.LdapVCARDVocabularyProvider<br />\nsetupLdapServiceAttributes[64]&nbsp; - hhhhhhhhhhhhhhhhhh ldapAttributes :<br />\n[cn, sn, givenName, displayName, uid, mail, o, ou]</p>\n<p>13731<br />\navr./12 19:12:57 DEBUG ldap.LdapVCARDVocabularyProvider<br />\ngetEntityInfos[126]&nbsp; - hhhhhhhhhhhhhhhhhh entity :<br />\nLdapUserImpl#12944434[id=[francoise.schortin], attributeNames=[uid, mail,<br />\nsn, cn, telephoneNumber, postalAddress, givenName],<br />\nattributes={uid=[francoise.schortin], mail=[<span id=\"919301b5c518c9ff00d1a59ebc883be5\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'919301b5c518c9ff00d1a59ebc883be5\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#115;&#99;&#104;&#111;&#114;&#116;&#105;&#110;&#64;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\'+\'\">\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#115;&#99;&#104;&#111;&#114;&#116;&#105;&#110;&#64;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>,<br />\n<a<br />\nhref=\"mailto:francoise.rousseau@u-psud.fr\"><span id=\"a3d5e92c57484df32761ceb295829e87\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'a3d5e92c57484df32761ceb295829e87\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#114;&#111;&#117;&#115;&#115;&#101;&#97;&#117;&#64;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\'+\'\">\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#114;&#111;&#117;&#115;&#115;&#101;&#97;&#117;&#64;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script></a>,<br />\n<a<br />\nhref=\"mailto:francoise.schortin@cri.u-psud.fr\"><span id=\"e390b2fbe7141abbf400b0017fdabd65\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'e390b2fbe7141abbf400b0017fdabd65\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#115;&#99;&#104;&#111;&#114;&#116;&#105;&#110;&#64;&#99;&#114;&#105;&#46;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\'+\'\">\'+\'&#102;&#114;&#97;&#110;&#99;&#111;&#105;&#115;&#101;&#46;&#115;&#99;&#104;&#111;&#114;&#116;&#105;&#110;&#64;&#99;&#114;&#105;&#46;&#117;&#45;&#112;&#115;&#117;&#100;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script></a>],<br />\nsn=[Schortin], cn=[Schortin Fran&ccedil;oise],<br />\ntelephoneNumber=[0169157621], postalAddress=[15, rue Georges<br />\nClemenceau$91405$Orsay Cedex], givenName=[Fran&ccedil;oise]}]<br /><br<br />\n/><br />QUESTION :<br />En v1.6, faut il parametrer un autre fichier que<br />\nle ldapVocabulary.xml ?<br />Ai je mal interpr&eacute;t&eacute; ? ou fait<br />\nune erreur ?</p>\n<p>Merci pour votre aide.<br /><br<br />\n/>Fran&ccedil;oise.<br />--<br />\n<br />This message has been scanned for viruses and<br />\n<br />dangerous content by<br />\n<a href=\"http://www.mailscanner.info/\"></b><b>MailScanner</a>, and is<br />\n<br />believed to be clean.</p>\n</div>\n', created = 1507746893, expire = 1507833293, headers = '', serialized = 0 WHERE cid = '4:a544c84b1871893591e1ecebf6b93215' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
francoise.schortin
vocab vcard (urgent)
Bonjour,

Je me permets d'insister suite au message que j'ai
posté vendredi dernier et pour lequel (vacances zone B obligent ?
zone C pas encore en vacances ;-() je n'ai pas eu de réponse. />
Je résume donc mon problème :
je cherche
à initialiser, dans un formulaire, la vcard d'une
personne, selectionnée dans le ldap (en cliquant sur recherche de
vcard). 
Plus précisément je cherche à
remplir le champ ORG de la vcard avec les attributs "o" et
"ou", concaténés.
Pour ce faire, j'ai
modifié le fichier ldapVocabulary.xml, comme je l'avais fait avec
succès en v1.4 et en v1.5
Or, en v1.6, ca ne marche
pas du fait que le vocabulaire des vcards (people_vcard) n'est
pas complet.

Dans les logs du vocabulary (mis en mode debug),
j'ai :

754856 avr./12 15:14:30 DEBUG
support.LdapContextSource setupAuthenticatedEnvironment[126]  -
Principal: 'cn=admcri,dc=u-psud,dc=fr'
754857 avr./12 15:14:30 DEBUG
support.LdapContextSource createContext[198]  - Got Ldap context on
server 'ldap://ldap.u-psud.fr:389/dc=u-psud,dc=fr'
754860 avr./12
15:14:30 DEBUG ldap.LdapVCARDVocabularyProvider getEntityInfos[111] 
- attribute displayName not found for userid francoise.schortin />754860 avr./12 15:14:30 DEBUG ldap.LdapVCARDVocabularyProvider
getEntityInfos[111]  - attribute o not found for userid
francoise.schortin
754860 avr./12 15:14:30 DEBUG
ldap.LdapVCARDVocabularyProvider getEntityInfos[111]  - attribute ou
not found for userid francoise.schortin

J'en déduis que
les champs "o" et "ou", ainsi que
"displayName", ne sont pas "trouvés" ... />(pourtant ils existent bien)

J'ai creusé un peu en
mettant des impressions de controle dans les fichiers
LdapVCARDVocabularyProvider.java; (dans lequel se trouve le
getEntityInfos())

Ce que j'obtiens semble signifier que la
liste des attributs ldap que je demande est effectivement bien :
[cn,
sn, givenName, displayName, uid, mail, o, ou]
mais que une
requete ldap, dans laquelle ces attributs sont recherchés, ne
remonte pas ces attributs, mais d'autres :
[uid, mail, sn, cn,
telephoneNumber, postalAddress, givenName]
parmi lesquels certains
attributs communs sont présents, mais pas o, ou, displayName. />
2916 avr./12 19:12:46 DEBUG ldap.LdapVCARDVocabularyProvider
setupLdapServiceAttributes[53]  - hhhhhhhhhhhhhhhhhh requestedList :
[sn, givenName, displayName, uid, mail, o, ou]
2916 avr./12 19:12:46
DEBUG ldap.LdapVCARDVocabularyProvider
setupLdapServiceAttributes[64]  - hhhhhhhhhhhhhhhhhh ldapAttributes :
[cn, sn, givenName, displayName, uid, mail, o, ou]

13731
avr./12 19:12:57 DEBUG ldap.LdapVCARDVocabularyProvider
getEntityInfos[126]  - hhhhhhhhhhhhhhhhhh entity :
LdapUserImpl#12944434[id=[francoise.schortin], attributeNames=[uid, mail,
sn, cn, telephoneNumber, postalAddress, givenName],
attributes={uid=[francoise.schortin], mail=[ ,
href="mailto:francoise.rousseau@u-psud.fr"> ,
href="mailto:francoise.schortin@cri.u-psud.fr"> ],
sn=[Schortin], cn=[Schortin Françoise],
telephoneNumber=[0169157621], postalAddress=[15, rue Georges
Clemenceau$91405$Orsay Cedex], givenName=[Françoise]}]
/>
QUESTION :
En v1.6, faut il parametrer un autre fichier que
le ldapVocabulary.xml ?
Ai je mal interprété ? ou fait
une erreur ?

Merci pour votre aide.
/>Françoise.
--

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.