1 /* $NetBSD: compare.c,v 1.2 2020/08/11 13:15:40 christos 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-2020 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 <sys/cdefs.h> 25 __RCSID("$NetBSD: compare.c,v 1.2 2020/08/11 13:15:40 christos Exp $"); 26 27 #include "portable.h" 28 29 #include <stdio.h> 30 31 #include <ac/string.h> 32 #include <ac/socket.h> 33 34 #include "slap.h" 35 #include "proto-dnssrv.h" 36 37 int 38 dnssrv_back_compare( 39 Operation *op, 40 SlapReply *rs 41 ) 42 { 43 #if 0 44 assert( get_manageDSAit( op ) ); 45 #endif 46 send_ldap_error( op, rs, LDAP_OTHER, 47 "Operation not supported within naming context" ); 48 49 /* not implemented */ 50 return 1; 51 } 52