diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-10-19 22:34:21 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-10-19 22:34:21 +0200 |
commit | 8cc09cd0cfb7dfba4a6262bb7839c934102ef3fe (patch) | |
tree | 92e708a31ac1d12a1144b982eb882890f793cd63 /common | |
parent | e3d4472321a5376421d9930bd47171837d6eb1e4 (diff) |
allow attribute options in attribute mapping expressions
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1803 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common')
-rw-r--r-- | common/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/expr.c b/common/expr.c index 7fa4f84..33f9820 100644 --- a/common/expr.c +++ b/common/expr.c @@ -51,7 +51,7 @@ MUST_USE static const char *parse_name(const char *str,int *ptr,char *buffer,siz /* look for an alpha+alphanumeric* string */ if (!my_isalpha(str[*ptr])) return NULL; - while (my_isalphanum(str[*ptr])) + while (my_isalphanum(str[*ptr])||(str[*ptr]==';')) { if ((size_t)i>=buflen) return NULL; |