Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / openldap / dist / servers / slapd / back-dnssrv / compare.c
bloba36829c2d5ca146eb597258d905d5130825d8821
1 /* compare.c - DNS SRV backend compare function */
2 /* $OpenLDAP: pkg/ldap/servers/slapd/back-dnssrv/compare.c,v 1.18.2.3 2008/02/11 23:26:46 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2000-2008 The OpenLDAP Foundation.
6 * Portions Copyright 2000-2003 Kurt D. Zeilenga.
7 * All rights reserved.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted only as authorized by the OpenLDAP
11 * Public License.
13 * A copy of this license is available in the file LICENSE in the
14 * top-level directory of the distribution or, alternatively, at
15 * <http://www.OpenLDAP.org/license.html>.
17 /* ACKNOWLEDGEMENTS:
18 * This work was originally developed by Kurt D. Zeilenga for inclusion
19 * in OpenLDAP Software.
22 #include "portable.h"
24 #include <stdio.h>
26 #include <ac/string.h>
27 #include <ac/socket.h>
29 #include "slap.h"
30 #include "proto-dnssrv.h"
32 int
33 dnssrv_back_compare(
34 Operation *op,
35 SlapReply *rs
38 #if 0
39 assert( get_manageDSAit( op ) );
40 #endif
41 send_ldap_error( op, rs, LDAP_OTHER,
42 "Operation not supported within naming context" );
44 /* not implemented */
45 return 1;