Commit ef21d25e authored by Mike Hibler's avatar Mike Hibler

Proper rc.conf setup of samba in FBSD 8.3 and beyond.

parent dad2e1be
......@@ -22,8 +22,15 @@ sub Install($$$)
qq|nfs_server_enable="YES"|,
qq|nfs_server_flags="-u -t -n 16"|,
qq|mountd_flags="-r -p 900"|,
((ISFS($server) && $WINSUPPORT) ? qq|smbd_enable="YES"| : ()),
qq|syslogd_flags=""|);
if (ISFS($server) && $WINSUPPORT) {
if ($FBSD_MAJOR > 8 || ($FBSD_MAJOR == 8 && $FBSD_MINOR > 2)) {
push(@adds, qq|samba_enable="YES"|);
push(@adds, qq|nmbd_enable="NO"|);
} else {
push(@adds, qq|smbd_enable="YES"|);
}
}
if ($server eq $OPS_SERVERNAME) {
@adds = (@adds,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment