Back to index

openldap  2.4.31
compare.c
Go to the documentation of this file.
00001 /* compare.c - DNS SRV backend compare function */
00002 /* $OpenLDAP$ */
00003 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
00004  *
00005  * Copyright 2000-2012 The OpenLDAP Foundation.
00006  * Portions Copyright 2000-2003 Kurt D. Zeilenga.
00007  * All rights reserved.
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted only as authorized by the OpenLDAP
00011  * Public License.
00012  *
00013  * A copy of this license is available in the file LICENSE in the
00014  * top-level directory of the distribution or, alternatively, at
00015  * <http://www.OpenLDAP.org/license.html>.
00016  */
00017 /* ACKNOWLEDGEMENTS:
00018  * This work was originally developed by Kurt D. Zeilenga for inclusion
00019  * in OpenLDAP Software.
00020  */
00021 
00022 #include "portable.h"
00023 
00024 #include <stdio.h>
00025 
00026 #include <ac/string.h>
00027 #include <ac/socket.h>
00028 
00029 #include "slap.h"
00030 #include "proto-dnssrv.h"
00031 
00032 int
00033 dnssrv_back_compare(
00034        Operation     *op,
00035        SlapReply     *rs
00036 )
00037 {
00038 #if 0
00039        assert( get_manageDSAit( op ) );
00040 #endif
00041        send_ldap_error( op, rs, LDAP_OTHER,
00042               "Operation not supported within naming context" );
00043 
00044        /* not implemented */
00045        return 1;
00046 }