projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1adf1c0
)
Use min of 1000 for RID
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 8 Jan 2008 20:58:41 +0000
(20:58 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 8 Jan 2008 20:58:41 +0000
(20:58 +0000)
samba/samba-lib.pl
patch
|
blob
|
history
diff --git
a/samba/samba-lib.pl
b/samba/samba-lib.pl
index
edd2ee0
..
8e3a65f
100644
(file)
--- a/
samba/samba-lib.pl
+++ b/
samba/samba-lib.pl
@@
-861,7
+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
+ $maxrid =
1000 if ($maxrid < 1000); # Should be >1000
$out = &backquote_logged(
"$config{'net'} -s $config{'smb_conf'} groupmap add".
" rid=$maxrid".