/opt/local/var/macports/build/augeas-9bb98f7d/work/augeas-1.12.0/lenses/tests/test_slapd.aug - Augeas Documentation

# test_slapd.aug

Summary

test_slapd.aug |
Augeas Tests |
Slapd.lns | Full access test with who/access/control
Slapd.lns | access test with who
Slapd.lns | access test with who/access
Slapd.lns | access test with who/control

### Augeas Tests

### Slapd.lns

> test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\" by self write stop\n" = { "access to" = "dn.subtree=\"dc=example,dc=com\"" { "by" = "self" { "access" = "write" } { "control" = "stop" } } }

Full access test with who/access/control

### Slapd.lns

> test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\" by self\n" = { "access to" = "dn.subtree=\"dc=example,dc=com\"" { "by" = "self" } }

access test with who

### Slapd.lns

> test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\" by self write\n" = { "access to" = "dn.subtree=\"dc=example,dc=com\"" { "by" = "self" { "access" = "write" } } }

access test with who/access

### Slapd.lns

> test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\" by self stop\n" = { "access to" = "dn.subtree=\"dc=example,dc=com\"" { "by" = "self" { "control" = "stop" } } }

access test with who/control

> test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\" by self write stop\n" = { "access to" = "dn.subtree=\"dc=example,dc=com\"" { "by" = "self" { "access" = "write" } { "control" = "stop" } } }

Full access test with who/access/control
Close