X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-ldbm%2Fbind.c;h=5c523a3cb220e80d6f5b74a78f05e73784634358;hb=324431062bff39a1bd3969bd37d4913526dd583f;hp=dce317876a1ff38e561713b5a045f244f8f78f0c;hpb=6f2ffa30ed7f8007fdac6d798005f86a76870107;p=openldap diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index dce317876a..5c523a3cb2 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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 @@ -72,7 +72,7 @@ ldbm_back_bind( } /* check for deleted */ -#ifdef LDBM_SUBENTRIES + if ( is_entry_subentry( e ) ) { /* entry is an subentry, don't allow bind */ Debug( LDAP_DEBUG_TRACE, @@ -80,7 +80,6 @@ ldbm_back_bind( rc = LDAP_INVALID_CREDENTIALS; goto return_results; } -#endif if ( is_entry_alias( e ) ) { /* entry is an alias, don't allow bind */