/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
}
/* check for deleted */
-#ifdef LDBM_SUBENTRIES
+
if ( is_entry_subentry( e ) ) {
/* entry is an subentry, don't allow bind */
Debug( LDAP_DEBUG_TRACE,
rc = LDAP_INVALID_CREDENTIALS;
goto return_results;
}
-#endif
if ( is_entry_alias( e ) ) {
/* entry is an alias, don't allow bind */