projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e88487
)
Ensure group RID is valid
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 7 Jan 2008 05:21:32 +0000
(
05:21
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 7 Jan 2008 05:21:32 +0000
(
05:21
+0000)
samba/samba-lib.pl
patch
|
blob
|
history
diff --git
a/samba/samba-lib.pl
b/samba/samba-lib.pl
index
11c18d0
..
edd2ee0
100644
(file)
--- a/
samba/samba-lib.pl
+++ b/
samba/samba-lib.pl
@@
-861,6
+861,7
@@
else {
$out =~ /rid:\s+(\d+)/ ||
&error("$config{'net'} failed : <pre>$out</pre>");
local $maxrid = $1 + 1;
+ $maxrid = 512 if ($maxrid < 512); # Must be >511
$out = &backquote_logged(
"$config{'net'} -s $config{'smb_conf'} groupmap add".
" rid=$maxrid".