SmbUsers - Augeas Documentation

# SmbUsers

Parses Samba username maps

Author: Raphael Pinson rap.nosp@m.hink@gmai.nosp@m.l.com

Summary

SmbUsers | Parses Samba username maps
License | This file is licenced under the LGPL v2+, like the rest of Augeas.
Lens Usage | To be documented
Examples | The Test_SmbUsers file contains various examples and tests.
Augeas Lenses |
entry |
lns |
Augeas Variables |
filter |

### License

This file is licenced under the LGPL v2+, like the rest of Augeas.

### Lens Usage

To be documented

### Examples

The Test_SmbUsers file contains various examples and tests.

### Augeas Lenses

### entry

> let entry = let username = [ label "username" . store Rx.no_spaces ] in let usernames = Build.opt_list username Sep.space in Build.key_value_line Rx.word Sep.space_equal usernames

### lns

> let lns = (Util.empty | (Util.comment_generic /[ \t]*[#;][ \t]*/ "# ") | entry)*

### Augeas Variables

### filter

Provides unit tests and examples for the SmbUsers lens.

> let entry = let username = [ label "username" . store Rx.no_spaces ] in let usernames = Build.opt_list username Sep.space in Build.key_value_line Rx.word Sep.space_equal usernames

> let lns = (Util.empty | (Util.comment_generic /[ \t]*[#;][ \t]*/ "# ") | entry)*

Close