]> git.sur5r.net Git - openldap/blob - servers/slapd/back-dnssrv/compare.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / back-dnssrv / compare.c
1 /* compare.c - DNS SRV backend compare function */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4  *
5  * Copyright 2000-2013 The OpenLDAP Foundation.
6  * Portions Copyright 2000-2003 Kurt D. Zeilenga.
7  * All rights reserved.
8  *
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.
12  *
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>.
16  */
17 /* ACKNOWLEDGEMENTS:
18  * This work was originally developed by Kurt D. Zeilenga for inclusion
19  * in OpenLDAP Software.
20  */
21
22 #include "portable.h"
23
24 #include <stdio.h>
25
26 #include <ac/string.h>
27 #include <ac/socket.h>
28
29 #include "slap.h"
30 #include "proto-dnssrv.h"
31
32 int
33 dnssrv_back_compare(
34         Operation       *op,
35         SlapReply       *rs
36 )
37 {
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" );
43
44         /* not implemented */
45         return 1;
46 }