Skip to Content.
Sympa Menu

grouper-users - [grouper-users] PSP sync, clearing an attribute value in ldap

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] PSP sync, clearing an attribute value in ldap


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: <>
  • Cc: <>
  • Subject: [grouper-users] PSP sync, clearing an attribute value in ldap
  • Date: Fri, 22 Feb 2013 16:03:27 -0500
  • Authentication-results: sfpop-ironport07.merit.edu; dkim=neutral (message not signed) header.i=none

Hi again,

I have another question (again) : how do you clear an attribute value in ldap ? My tests shows that if I define an attribute with an empty value I get the error “'{attribute name}' has no values.” (see below).

 

I’m using a script where if an attribute has value “Y” set a value in the attribute, otherwise set an empty value. This is an important use case in our distribution group integration since we want users to be able to mail-disable groups and that requires us to clear some ldap attributes (mail, mailNickname, proxyAdresses, etc.)

 

Is there a way to do that ?

I tried setting replaceValues=”true” but it didn’t work and there doesn’t seem that there’s any parameters to set that.

 

Thanks

 

Error message :

<psp:syncResponse xmlns:psp='http://grouper.internet2.edu/psp' status='failure' requestID='2013/02/22-15:43:02.039' error='customError'>

  <modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='failure' requestID='2013/02/22-15:43:02.279' error='customError'>

    <errorMessage>'description' has no values.</errorMessage>

  </modifyResponse>

  <errorMessage>'description' has no values.</errorMessage>

  <psp:id ID='acad:testGroup'/>

</psp:syncResponse>

 

Sébastien Gagné,     | Analyste en informatique

514-343-6111 x33844  | Université de Montréal,

                     | Pavillon Roger-Gaudry, local X-100-11

 




Archive powered by MHonArc 2.6.16.

Top of Page