]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ndb/search.cpp
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / back-ndb / search.cpp
index 7631cb798cc0c3c7a054f229e3808d3242378254..fe9c5e691ecf8c6e4a9d877797ff446b57cf8754 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2008-2011 The OpenLDAP Foundation.
+ * Copyright 2008-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -447,7 +447,7 @@ static int ndb_oc_search( Operation *op, SlapReply *rs, Ndb *ndb, NdbTransaction
                {
 #if 1  /* NDBapi was broken here but seems to work now */
                        Ndb::Key_part_ptr keys[2];
-                       char xbuf[32];
+                       char xbuf[512];
                        keys[0].ptr = &eid;
                        keys[0].len = sizeof(eid);
                        keys[1].ptr = NULL;