---
name: "auth_smb"
section: "8"
platform: "linux"
package: "inn2"
version: "2.4.5-5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/auth_smb"
---

# auth\_smb(8)

nnrpd Samba authenticator

## NAME

auth\_smb - nnrpd Samba authenticator

## SYNOPSIS

**auth\_smb** **server** \[**backup\_server**\] **domain**

## DESCRIPTION

This program does authentication for **nnrpd** against an SMB server.  It passes the received username and password to **server** for validation in the specified SMB **domain**.  A backup server may optionally be supplied; if it is missing, only **server** is used.

If authentication is successful, the original username is returned as the authentication identity.  Brief errors, including incorrect password and failure contacting the server, are logged.

## EXAMPLE

The following [*readers.conf*(5)](/readers.conf/5.md) fragment grants access to users who can authenticate against an SMB server:

```
    auth windows {
        auth: "auth_smb pdc.example.com bdc.example.com USERS"
        default-domain: "users.example.com"
    }
```

```
    access internal {
        users: "*@users.example.com"
        newsgroups: example.*
    }
```

Access is granted to the example.\* groups after successful authentication.

## BUGS

We should link against an external SMB library rather than maintain one within the INN source tree.

## HISTORY

Originally written October 2000 by Krischan Jodies \<krischan@jodies.cx\>, based heavily on pam\_smb v1.1.6 by David Airlie \<airlied@samba.org\>. This documentation was written by Jeffrey M. Vinocur \<jeff@litech.org\>.

$Id: auth\_smb.8 7880 2008-06-16 20:37:13Z iulius $

## SEE ALSO

[*nnrpd*(8)](/nnrpd/8.md), [*readers.conf*(5)](/readers.conf/5.md)
