]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/frontend.c
don't return entry if requested attr is not present (ITS#5650)
[openldap] / servers / slapd / frontend.c
index 475e171f9b239599d2774cc0fa16b6041a9372e1..4ab36e5a2a3ba8c57856ce5b9dac7d6a671c0138 100644 (file)
@@ -1,7 +1,8 @@
 /* frontend.c - routines for dealing with frontend */
+/* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2007 The OpenLDAP Foundation.
+ * Copyright 1998-2008 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -92,6 +93,7 @@ frontend_init( void )
 {
        /* data */
        frontendDB = &slap_frontendDB;
+       frontendDB->bd_self = frontendDB;
 
        /* ACLs */
        frontendDB->be_dfltaccess = ACL_READ;