On 07/06/2016 02:12 PM, Mitja Mihelič wrote:
Hi!
We would like to connect our services to 389DS. Each user would have
an attribute that would determine their quota for each service.
We have a registered space within the OID tree for our organization
and the attributes would go there.
For for the quota attribute I was thinking multivalue. Something like
(numbers and names are arbitrary):
userQuota:
mail:500
ftp:20
webapp1:30
webapp2:35
The service would request the attribute and then parse out its own
value. All nice and good for our in-house apps.
There is a problem, when a service like dovecot expects the value to
be a number. Then, as we tested, the multivalue idea does not work.
Is there a way to use the filters so a query returns only the number
(500 from mail:500)?
which attribute does dovecat request ? if it requests userQuota you
would have to return all values, and if you strip the qualifier and only
return (500,20,30,35) how would the app know what is what ?
and if you write a plugin to return a single value, how would it know to
return the number for mail and not ftp ?
I think the closet you could get is using tags:
userQuota;mail: 500
userQuota; ftp: 20
userQuota;webapp1: 30
userQuota;webapp2: 35
Could it be done with 389DS plugins?
Kind regards,
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99
--
389-users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx
--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander
--
389-users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx