Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_sssd.aug
1 (*
2 Module: Test_sssd
3   Test cases for the sssd lense
4
5 Author: Erinn Looney-Triggs
6
7 About: License
8   This file is licensed under the LGPLv2+, like the rest of Augeas.
9 *)
10 module Test_sssd =
11
12 let conf = "[domain/example.com]
13 #Comment here
14 ; another comment
15 cache_credentials = True
16 krb5_store_password_if_offline = True
17 ipa_server = _srv_, ipa.example.com
18 [sssd]
19 services = nss, pam
20 config_file_version = 2
21
22 domains = example.com
23 [nss]
24
25 [pam]
26 "
27
28 test Sssd.lns get conf =
29     { "target" = "domain/example.com" 
30         { "#comment" = "Comment here" }
31         { "#comment" = "another comment" }
32         { "cache_credentials" = "True" }
33         { "krb5_store_password_if_offline" = "True" }
34         { "ipa_server" = "_srv_, ipa.example.com" }
35     }
36     { "target" = "sssd"
37         { "services" = "nss, pam" }
38         { "config_file_version" = "2" }
39         {       }
40         { "domains" = "example.com" }
41     }
42     { "target" = "nss" 
43         {       }
44     }
45     { "target" = "pam" }