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:
parent
ff0947fbed
commit
6de1b0b65b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user