---
name: "sasl_auxprop_request"
section: "3"
platform: "macos"
package: "passwordserver_sasl"
version: "215"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_auxprop_request"
---

# sasl\_auxprop\_request(3)

Request Auxiliary Properties from SASL

## NAME

sasl\_auxprop\_request - Request Auxiliary Properties from SASL

## SYNOPSIS

```
#include <sasl/sasl.h>

int sasl_auxprop_request(sasl_conn_t *conn,
		              const char ** propnames)
```

## DESCRIPTION

**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).

*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 on the sasl\_conn\_t.

## RETURN VALUE

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)
