1 /* $NetBSD: compare.c,v 1.1.1.4 2014/05/28 09:58:49 tron Exp $ */ 2 3 /* compare.c - DNS SRV backend compare function */ 4 /* $OpenLDAP$ */ 5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>. 6 * 7 * Copyright 2000-2014 The OpenLDAP Foundation. 8 * Portions Copyright 2000-2003 Kurt D. Zeilenga. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted only as authorized by the OpenLDAP 13 * Public License. 14 * 15 * A copy of this license is available in the file LICENSE in the 16 * top-level directory of the distribution or, alternatively, at 17 * <http://www.OpenLDAP.org/license.html>. 18 */ 19 /* ACKNOWLEDGEMENTS: 20 * This work was originally developed by Kurt D. Zeilenga for inclusion 21 * in OpenLDAP Software. 22 */ 23 24 #include "portable.h" 25 26 #include <stdio.h> 27 28 #include <ac/string.h> 29 #include <ac/socket.h> 30 31 #include "slap.h" 32 #include "proto-dnssrv.h" 33 34 int 35 dnssrv_back_compare( 36 Operation *op, 37 SlapReply *rs 38 ) 39 { 40 #if 0 41 assert( get_manageDSAit( op ) ); 42 #endif 43 send_ldap_error( op, rs, LDAP_OTHER, 44 "Operation not supported within naming context" ); 45 46 /* not implemented */ 47 return 1; 48 } 49