projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a519e
)
restore behavior from the 1.4 branch... manager users created via users.conf should...
author
Kevin P. Fleming
<kpfleming@digium.com>
Thu, 29 Nov 2007 13:30:50 +0000
(13:30 +0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Thu, 29 Nov 2007 13:30:50 +0000
(13:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90149
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/manager.c
patch
|
blob
|
history
diff --git
a/main/manager.c
b/main/manager.c
index
7e637ff
..
d146196
100644
(file)
--- a/
main/manager.c
+++ b/
main/manager.c
@@
-1049,6
+1049,10
@@
static int authenticate(struct mansession *s, const struct message *m)
ast_log(LOG_NOTICE, "%s tried to authenticate with nonexistent user '%s'\n", ast_inet_ntoa(s->sin.sin_addr), user);
return -1;
}
+ if (!readperm)
+ readperm = -1;
+ if (!writeperm)
+ writeperm = -1;
}
}