---
name: "sasl_auxprop_request"
section: "3"
platform: "linux"
package: "libsasl2-dev"
version: "2.1.28+dfsg1-9"
release: "Debian 13 (Trixie)"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_auxprop_request"
---

# sasl\_auxprop\_request(3)

Cyrus SASL documentation

## NAME

sasl\_auxprop\_request - Cyrus SASL documentation

## SYNOPSIS

```
#include <sasl/sasl.h>
int sasl_auxprop_request(sasl_conn_t *conn, const char ** propnames)
```

## DESCRIPTION

- **int sasl\_auxprop\_request(*sasl\_conn\_t* \*conn, const char \*\*propnames)**

  **sasl\_auxprop\_request** will request that the SASL library obtain properties from any auxiliary property plugins that might be installed (such as the user’s home directory from an LDAP server for example). Such lookup occurs just after username canonicalization is complete. Therefore, the request should be made before the call to *[sasl\_server\_start(3)](/sasl_server_start/3.md)*, but after the call to *[sasl\_server\_new(3)](/sasl_server_new/3.md)*.

  - **Parameters**

    - •

      **conn** – the *sasl\_conn\_t* for which the request is being made.

    - •

      **propnames** – a NULL-terminated array of property names to request.  Note that this array must persist until a call to *[sasl\_dispose(3)](/sasl_dispose/3.md)* on the *sasl\_conn\_t*.

  - **Returns**

    Returns  *SASL\_OK* on success. See *[sasl\_errors(3)](/sasl_errors/3.md)* for meanings of other return codes.

## CONFORMING TO

*RFC 4422*

## SEE ALSO

*[sasl(3)](/sasl/3.md)*, *[sasl\_errors(3)](/sasl_errors/3.md)*, *[sasl\_auxprop(3)](/sasl_auxprop/3.md)*, *[sasl\_auxprop\_getctx(3)](/sasl_auxprop_getctx/3.md)*, *[sasl\_server\_new(3)](/sasl_server_new/3.md)*, *[sasl\_server\_start(3)](/sasl_server_start/3.md)*

## AUTHOR

The Cyrus Team

## COPYRIGHT

1993-2016, The Cyrus Team
