]> git.sur5r.net Git - openldap/commitdiff
Use local_ssf for our fake connections
authorHoward Chu <hyc@openldap.org>
Mon, 20 Apr 2009 03:37:52 +0000 (03:37 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 20 Apr 2009 03:37:52 +0000 (03:37 +0000)
contrib/slapd-modules/nssov/nssov.c

index 1cbb28fcd483e93999c713ad8936631889f0d2b8..724c1534384679686ffcee23b1229487ad5fa112 100644 (file)
@@ -1,7 +1,7 @@
 /* nssov.c - nss-ldap overlay for slapd */
 /* $OpenLDAP$ */
 /*
- * Copyright 2008 by Howard Chu, Symas Corp.
+ * Copyright 2008-2009 by Howard Chu, Symas Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -385,6 +385,7 @@ static void *acceptconn(void *ctx, void *arg)
        }
        connection_fake_init( &conn, &opbuf, ctx );
        op=&opbuf.ob_op;
+       conn.c_ssf = conn.c_transport_ssf = local_ssf;
        op->o_bd = ni->ni_db;
        op->o_tag = LDAP_REQ_SEARCH;