]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/operational.c
Preliminary ldapAdd support
[openldap] / servers / slapd / back-ldbm / operational.c
index e3070e5e19611a41f0b4ae34ab35b529a96ea952..b62c84bada086be09eabcd098c62493f1e59aa76 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -60,7 +60,7 @@ ldbm_back_operational(
        for ( ap = &rs->sr_operational_attrs; *ap; ap = &(*ap)->a_next )
                /* just count */ ;
 
-       if ( rs->sr_opattrs == SLAP_OPATTRS ||
+       if ( SLAP_OPATTRS( rs->sr_attr_flags ) ||
                        ad_inlist( slap_schema.si_ad_hasSubordinates, rs->sr_attrs ) )
        {
                int     hs;