/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2000-2006 The OpenLDAP Foundation.
+ * Copyright 2000-2014 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
}
rs->sr_text = "not supported within naming context";
- return LDAP_UNWILLING_TO_PERFORM;
+ return rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
}