Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] plugin help

Subject: COmanage Users List

List archive

Re: [comanage-users] plugin help


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Mike Manske <>
  • Cc:
  • Subject: Re: [comanage-users] plugin help
  • Date: Fri, 16 Jun 2017 17:35:55 -0400
  • Ironport-phdr: 9a23:uU3HEBF4EPgkgDljSnByJJ1GYnF86YWxBRYc798ds5kLTJ7zpciwAkXT6L1XgUPTWs2DsrQf2rWQ4/irATFIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbF/IA+1oAnNucUanYtvIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1kyoMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOmd4YBEvQPPehYoYf+qVUBoxSxCguwC+3g0TJImn370Lcm3+g9HwzL3gotFM8OvnTOq9X1Mb8fXP2rw6nOyzXIcupY2Sz96IjScxAhp+yHULVrfsXPz0kvEQTFg06RqYzjIzOayP4Ns26F4Op8S+6jkXAopBxsojW2wMonl4rHhpoNx1za6Sl0w5w5KNm6RUJhfNKpHoVcuzuEO4dqQc4uW3xktDo5x7Ect5O3YDIGxIo6yxLBcfCLbYeF7xDlWe2MOzl3nmhld6i6hxuq8Uiv1On8Vs6s3VZKqSpFl9jMuW4I1xPJ68iHTuJx8V281TuAzQzT5ftILl0ulaXFMZEhx74wlp0IsUTfBCP5hEL2jKqOekUl/Oin9fjnb634qpOANIJ4kAXzP6Y0lsCiD+k0LBICU3aH9em/zLHj+Ff2QLROjv04iKnZt5XaKNwAqaGnBQ9V1IEj5g2+DzegzNQXg2MHLFRbdxKbkYTlIU/BL+3lDfunmVSjjC9rx+zaPr3mGpjCMn/DkLL7crZ78UFcxxQ8wclC55JPFL4BOunzV1T1tNzZFR85Lxe0z/j9BNV80IMeRXyAArWfMKzMrV+E+PgjLPeRa48I637BLK0A5v3jxVown0QecOH92J4ebmu7E65OLECQYH6qidAERzQkpA07GcbnjlvKdiVTfXe0F/Y26zc9D6qnC5vOXIagnObH0SumSM4FLltaA0yBRC+7P76PXO0BPWfLepds

Are there any errors in the LDAP server log files? For example with
OpenLDAP there is typically a message indicating what the object class
violation was. That might help us pin down what exactly the provisioner
is trying to do.

Also, is Unconfigured Attribute Mode set to "Ignore" or "Remove"?

Thanks,

-Benn-

On 6/16/17 5:25 PM, Mike Manske wrote:
> Version 2.
>
> We wrote an ldap plugin to use the qmailUser object class, attribute
> 'mailAlternateAddress'. As per the schema, this value should be
> optional, and allow multiple values. In the configuration, we did not
> specify any additional person object classes, as qmailUser is already
> included.
>
> I have the model attributes defined as:
> // using qmail
> public $attributes = array(
> 'qmailUser' => array(
> 'objectclass' => array(
> 'required' => true
> ),
> 'attributes' => array(
> 'mailAlternateAddress' => array(
> 'required' => false,
> 'multiple' => true,
> 'extendedtype' => 'email_address_types',
> 'defaulttype' => 'altListSub'
> )
> )
> )
> );
>
> All of this works fine, EXCEPT when there is no alternate
> mailAlternateAddress defined. My sense is that COmanage is trying to
> add a mailAlternateAddress with a blank value, which violates the
> schema.
>
> When I try to provision a user that does not have a
> mailAlternateAddress, the following msg is displayed: Provisioning
> failed: Protocol error (500).
>
> I validated that my assemblePluginAttributes function returns an empty
> array when there is no value found in the provisioning data. I even
> tried to force a return of null and the same problem occurred.
>
> Any advice is appreciated.
>



Archive powered by MHonArc 2.6.19.

Top of Page