summaryrefslogtreecommitdiffstats
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-09 00:17:14 +0000
committerJeremy Allison <jra@samba.org>2004-03-09 00:17:14 +0000
commitc9b7cbbfa572512cd0348817965b99fd1df01285 (patch)
tree9705a925b947e8a354250b8538c6a1be440aa5bf /source3/utils/testparm.c
parent3f14e8eb9dd9893ed195853dd7cf46ee5c2d5133 (diff)
downloadsamba-c9b7cbbfa572512cd0348817965b99fd1df01285.tar.gz
samba-c9b7cbbfa572512cd0348817965b99fd1df01285.tar.xz
samba-c9b7cbbfa572512cd0348817965b99fd1df01285.zip
Added strstr_m() function. Use in all places where we might run into mb
(should fix the mb service name problem, can't remember the bugid). Jeremy. (This used to be commit 94a272b9a881ec0004c5da2a7242b0a818da5630)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index a74c2eaa973..9db6d538d24 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -150,7 +150,7 @@ parameter.\n");
*/
if(lp_encrypted_passwords()) {
- if(strstr( lp_passwd_chat(), "%o")!=NULL) {
+ if(strstr_m( lp_passwd_chat(), "%o")!=NULL) {
fprintf(stderr, "ERROR: the 'passwd chat' script [%s] expects to use the old plaintext password \
via the %%o substitution. With encrypted passwords this is not possible.\n", lp_passwd_chat() );
ret = 1;