diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 66bc8a0266..94cd496df1 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -340,6 +340,10 @@ slap_auxprop_lookup( } } + /* we don't know anything about this, ignore it */ + if ( !conn ) + return SASL_OK; + /* Now see what else needs to be fetched */ for( i = 0; sl.list[i].name; i++ ) { const char *name = sl.list[i].name;