Linuxconf: SAMBA Global Share Configuration: Auto-accounts

Next Previous Contents

## 7. Auto-accounts

Samba may create and delete user accounts on the fly under some condition. This can be used to create administration free file and print servers.

User account will be created if:

- A connection is established with the samba server.
- Authentication mode is set to either "server" or "domain".
- The password server authenticate the user.
- The corresponding user account does not exist on the samba server.

User account will be deleted if:

- A connection is established with the samba server.
- Authentication mode is set to "domain".
- The password server confirm that the user account does not exist.
- The corresponding user account do exist on the samba server.

## 7.1 Add user script

You must specify a command used to create user accounts. This command must not be interactive. A help list provides one suitable command. It creates an email account suitable for file/print usage.

## 7.2 Delete user script

You must specify a command used to delete a user accounts. This command must not be interactive. A help list provides one suitable example.

Next Previous Contents