diff options
Diffstat (limited to 'modules/pam_group')
-rw-r--r-- | modules/pam_group/group.conf.5.xml | 6 | ||||
-rw-r--r-- | modules/pam_group/pam_group.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/modules/pam_group/group.conf.5.xml b/modules/pam_group/group.conf.5.xml index fc5370f5..5f3bb793 100644 --- a/modules/pam_group/group.conf.5.xml +++ b/modules/pam_group/group.conf.5.xml @@ -58,6 +58,12 @@ </para> <para> + A logic list namely means individual tokens that are optionally prefixed + with '!' (logical not) and separated with '&' (logical and) and '|' + (logical or). + </para> + + <para> For these items the simple wildcard '*' may be used only once. With UNIX groups or netgroups no wildcards or logic operators are allowed. diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c index 66252c78..2172a0b5 100644 --- a/modules/pam_group/pam_group.c +++ b/modules/pam_group/pam_group.c @@ -298,6 +298,7 @@ logic_field (const pam_handle_t *pamh, const void *me, return FALSE; } next = VAL; + not = FALSE; } at += l; } |