]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/at.c
uses URL extensions to set socket permissions other than default
[openldap] / servers / slapd / at.c
index 3bffc75ac54ccda13769c71ab1c98806ce13b9e9..ed8fd6ef79c67a3a9debf83650f2e3750c717ed6 100644 (file)
@@ -332,18 +332,15 @@ at_add(
        }
 
        if ( at->at_collective ) {
-#ifdef SLAP_COLLECTIVE
                if( at->at_usage ) {
                        /* collective attributes cannot be operational */
                        return SLAP_SCHERR_NOT_SUPPORTED;
                }
+
                if( at->at_single_value ) {
                        /* collective attributes cannot be single-valued */
                        return SLAP_SCHERR_NOT_SUPPORTED;
                }
-#else
-               return SLAP_SCHERR_NOT_SUPPORTED;
-#endif
        }
 
        sat = (AttributeType *) ch_calloc( 1, sizeof(AttributeType) );