Parses Samba username maps
Author: Raphael Pinson rap@gmai l.com hink
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 |
The Test_SmbUsers file contains various examples and tests.
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)*