1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r24951: Warn if "os level" > 255

Thanks to Karolin Seeger <ks@sernet.de>
(This used to be commit 3abf06efc1)
This commit is contained in:
Volker Lendecke 2007-09-04 13:21:24 +00:00 committed by Gerald (Jerry) Carter
parent ff0947fbed
commit 6de1b0b65b

View File

@ -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;
}