1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

r24951: Warn if "os level" > 255

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

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