git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0947f
)
r24951: Warn if "os level" > 255
author
Volker Lendecke
<vlendec@samba.org>
Tue, 4 Sep 2007 13:21:24 +0000
(13:21 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:29 +0000
(12:30 -0500)
Thanks to Karolin Seeger <ks@sernet.de>
(This used to be commit
3abf06efc1286090caf380eb685e90ba7f412748
)
source3/utils/testparm.c
patch
|
blob
|
history
diff --git
a/source3/utils/testparm.c
b/source3/utils/testparm.c
index 8c45f0837f5f7379e495e4f500dbded05b50f860..19c7ee16231c34712f4fdb803ad6cb73bc5df9b1 100644
(file)
--- a/
source3/utils/testparm.c
+++ b/
source3/utils/testparm.c
@@
-187,6
+187,10
@@
via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
if (!lp_passdb_backend()) {
fprintf(stderr,"ERROR: passdb backend must have a value or be left out\n");
}
+
+ if (lp_os_level() > 255) {
+ fprintf(stderr,"WARNING: Maximum value for 'os level' is 255!\n");
+ }
return ret;
}