diff options
| author | Mark Eichin <eichin@mit.edu> | 1996-04-09 22:43:21 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1996-04-09 22:43:21 +0000 |
| commit | be819eef159fbbf2982d6cc37def03d3ee87b8df (patch) | |
| tree | b88bf08f05deab4854141821d794aa589166c823 /src/kadmin/v5server/srv_acl.c | |
| parent | f18120aacc7a00828c9efa905df65a2dfc5ca4a5 (diff) | |
Ken's acl and hangup fixes
AFS3 salt support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7764 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/v5server/srv_acl.c')
| -rw-r--r-- | src/kadmin/v5server/srv_acl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kadmin/v5server/srv_acl.c b/src/kadmin/v5server/srv_acl.c index a3ead0f114..4055d356e4 100644 --- a/src/kadmin/v5server/srv_acl.c +++ b/src/kadmin/v5server/srv_acl.c @@ -74,7 +74,7 @@ static int acl_debug_level = 0; * the case where the ACL file is not present, this entry controls what can * be done. The default is that everybody can change their own password. */ -static const char *acl_catchall_entry = "* o"; +static const char *acl_catchall_entry = "* o "; static const char *acl_line2long_msg = "%s: line %d too long, truncated\n"; static const char *acl_op_bad_msg = "Unrecognized ACL operation '%c' in %s\n"; @@ -235,6 +235,7 @@ acl_free_entries() static int acl_load_acl_file() { +char tmpbuf[10]; FILE *afp; char *alinep; aent_t **aentpp; @@ -261,7 +262,8 @@ acl_load_acl_file() acl_list_tail = *aentpp; aentpp = &(*aentpp)->ae_next; } - if (*aentpp = acl_parse_line(acl_catchall_entry)) { +strcpy(tmpbuf, acl_catchall_entry); + if (*aentpp = acl_parse_line(tmpbuf)) { acl_list_tail = *aentpp; } else { |
