> > > > Hi, > > > > since we are creating a plugin interface, we should use custom > > > > data > > > > type in _recv instead of struct ares_srv_reply. > > > > > > makes sense. Then I would suggest that a list ordered according > > > to RFC > > > 2782 of hostname, port pairs is returned, where the elements then > > > can be > > > fed directly to create_fo_server(). Do you agree? > > > > For SRV records the RFC 2782 makes sense for sure, but is it also > > applicable > > to the AD site discovery? > > yes, since it is alse a SRV request. But there might be other > environments where this is different, that's why I think it make > sense > to let the plugin return the list in a appropriate order.
Maybe we should use an opaque structure private to the plugin and then provide getters and setters ? Simo. -- Simo Sorce * Red Hat, Inc. * New York _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel