100 Commits

Author SHA1 Message Date
jca
1dcc435ff4 Do not mention SWAT, it has been removed. 2015-08-26 18:05:31 +00:00
jca
fa14e12281 Stray @sample /var/run/samba, noticed earlier by ajacoutot@
/var/run gets cleaned at boot time.  The samba daemons create this
directory at startup.
2015-08-25 15:38:16 +00:00
jca
48d3e06ff7 Add a note about nmbd being broken in AD DC setups, and bump.
Requested by giovanni@, putting it here instead of current.html so that
new users will be aware too.
2015-08-25 11:41:15 +00:00
jca
67d00b96ba Add an rc script for samba in AD DC mode. 2015-08-25 11:39:25 +00:00
jca
87847498b4 Tweak rc scripts and README. Tests, input from and ok sthen@ 2015-08-25 11:07:45 +00:00
jca
4b1d388711 Move samba4 to samba, and tweak the ports tree to use it.
ok ajacoutot@

Upcoming commits will add additional tweaks.

Many thanks to Vadim Zhukov (who did most of the work), Ian McWilliam
(co-maintainer), Stuart Henderson who provided lots of support and
feedback, Antoine Jacoutot who patiently dealt with my broken diffs,
and more generally all the people involved.  Most of the recent work was
done during p2k15 and c2k15.
2015-08-25 11:04:38 +00:00
ajacoutot
d9c1207e4f Move some obvious sudo -> '#' (root) in READMEs. 2015-07-07 14:43:36 +00:00
sthen
e56d2db445 Adjust the "meta" rc-scripts (these are used in ports with multiple daemons
which should all be started/stopped together), previously "restart" would
restart each sub-daemon in turn, but actually it should stop all daemons
and only then start them again. Additionally, as suggested by ajacoutot,
stop the procedure and return an error if stopping one of the rc scripts
failed.  ok ajacoutot@ rpe@
2015-02-17 22:08:36 +00:00
jca
e769be4eba Repair conflict between -main and -docs, introduced in previous.
The intended diff had this conflict resolved, but I ended up committing
the previous diff...  Problem spotted by Markus Lude.
2015-02-05 02:04:00 +00:00
jca
f7a904b485 Move the ldap files from the -docs to the -main samba package.
Requested by Marcus Merighi, patch by Ian McWilliam (MAINTAINER),
input from sthen@ and tweaks by me.

ok sthen@
2015-02-04 11:50:21 +00:00
ajacoutot
bca617be62 Make all meta rc.d scripts consistent.
While here, unbreak when options are passed (e.g. /etc/rc.d/foobar -df start)

ok sthen@
2014-12-08 10:57:08 +00:00
ajacoutot
dcb291c190 services(5) already contains what we need. 2014-07-11 16:20:37 +00:00
ajacoutot
497984ddf0 rc.conf.local is in man(1) section 8, at least for now. 2014-07-10 13:09:06 +00:00
sthen
243ede5192 remove ads flavour, it requires krb5 2014-04-21 22:24:17 +00:00
sthen
4a7a77a640 extra sanity checking, ensure that the rc.d scripts run by the meta script
are executable, I needed it for the bacula script which runs daemons split
between two packages, ajacoutot suggested applying to other similar scripts.
2013-05-03 18:43:26 +00:00
ajacoutot
a673865760 Tweak MESSAGEs/READMEs now that inetd(8) is off by default. 2013-04-27 15:44:20 +00:00
ajacoutot
194550b8c1 Install the pkgconfig files.
ok sthen@
2013-03-29 18:13:31 +00:00
brad
c5c4c0f07e Update to Samba 3.6.13.
ok MAINTAINER sthen@
2013-03-28 15:26:47 +00:00
brad
8aa757b05d Update to Samba 3.6.8 and fix potential fd leaks upon error with the utmp code.
ok sthen@ MAINTAINER
2012-09-25 20:11:11 +00:00
ajacoutot
06241e4236 Simplify how the order of the _pkg_scripts entries get reversed on stop.
from rpe, ok sthen@
2012-08-25 10:14:37 +00:00
ajacoutot
5787f3b87c Set rc_usercheck to NO. 2012-08-04 15:28:14 +00:00
ajacoutot
9824017b25 Remove the cups FLAVOR and depends on cups,-libs.
Fix to build with cups >= 1.6.
2012-08-04 14:45:34 +00:00
ajacoutot
771ed9034f Add comment that daemon_flags, daemon_user and daemon_class are not passed
to the child scripts.
2012-07-04 13:00:46 +00:00
sthen
cf0fe9c493 Update to Samba 3.6.6, from maintainer Ian McWilliam.
o  Fix possible memory leaks in the Samba master process (bug #8970).
o  Fix uninitialized memory read in talloc_free().
o  Fix joining of XP Pro workstations to 3.6 DCs (bug #8373).
2012-06-27 07:29:17 +00:00
ajacoutot
3231d150e9 /etc/rc.d -> RCDIR 2012-04-22 13:44:09 +00:00
sthen
02b481b58a *NASTY* security update to samba 3.6.4: remote code execution as root by
anonymous user.  https://www.samba.org/samba/security/CVE-2012-1182

Note when MFC'ing: do not sync the new entries in PLIST-main back to
stable, they depend on dirfd being a function.
2012-04-10 22:37:02 +00:00
sthen
91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00
sthen
f3fcca9da2 update to samba 3.6.1; lots of bugfixes.
similar diff / ok Ian McWilliam (maintainer).
also tested by dhill, thanks!
2011-10-21 20:10:51 +00:00
sthen
49ee02f207 update to samba 3.6.0, from Ian McWilliam / Stefan Rinkes
tweaks/testing from me and nigel@
2011-09-26 09:32:12 +00:00
sthen
3f4b7ec902 don't install manpages for non-existing programs; from Pascal Stumpf, feedback
from nigel@ espie@, earlier version ok maintainer.
2011-09-13 10:54:15 +00:00
sthen
75699dfd96 Add missing directory in PLIST-main (share/doc/samba/), pointed out by fgsch@ 2011-07-14 08:42:02 +00:00
ajacoutot
70ac96c395 rc_scripts -> pkg_scripts 2011-07-08 02:14:58 +00:00
sthen
340ee33451 Change the sample cap_mkdb command so it only runs if login.conf.db is present.
ok Ian McWilliam, aja@, landry@
2011-06-03 10:21:54 +00:00
ajacoutot
f982995f2b Add a consistent header that substitutes FULLPKGNAME for the READMEs.
ok jasper@ sthen@
2011-06-02 13:41:36 +00:00
gsoares
cf9171530b - use TRUEPREFIX instead of hardcoding it; ok aja@ sthen@ 2011-05-19 20:44:51 +00:00
ajacoutot
72c5e6c88d Rewrite samba.rc and make it a wrapper script that calls the provided
rc.d(8) script. This is much more simple, makes much more sense and
allow for proper debugging.

discussed with robert@
2011-04-03 18:07:52 +00:00
sthen
318f27f121 - remove workaround for old groff
- remove MESSAGE-main referring to a config change, people upgrading
have had plenty of time to adapt

ok Ian McWilliam (maintainer)
2011-03-21 09:20:35 +00:00
ajacoutot
1ffbcaa750 Remove all redirections -- rc.subr(8) now takes care of it. 2011-03-17 16:49:27 +00:00
ajacoutot
073e9e6b72 These aren't needed either. 2011-03-09 19:37:47 +00:00
ajacoutot
242a7d4483 Add rc scripts.
While here, fix the LOCALBASE vs PREFIX and SYSCONFDIR vs /etc mess.

ok robert@
2011-01-17 17:58:03 +00:00
ajacoutot
e89b9beb0f Cosmetic, be consistent with how we set the rcs id in other files. 2010-11-06 07:56:48 +00:00
ajacoutot
9bb8edc168 Add RCS IDs and remove useless MESSAGEs. 2010-10-29 12:41:58 +00:00
espie
ef750600b5 convert to new pkg-readmes. This one keeps a MESSAGE because it says
something.
(wanted to check multi-packages...)
2010-10-29 09:40:41 +00:00
sthen
5d58acd6ba Samba uses modules; mark it SHARED_ONLY and collapse PFRAG.shared-main
into PLIST-main. From Brad.
2010-04-28 08:02:38 +00:00
sthen
77128a8fa6 update Samba to 3.5.2, most of the work done by Ian McWilliam
Note that the default passdb backend has been changed to 'tdbsam'.
See /usr/local/share/doc/samba/README.OpenBSD (or files/README.OpenBSD)
for more information and instructions for people who wish to convert an
existing smbpasswd-based installation.
2010-04-26 17:31:57 +00:00
giovanni
6ee031f589 Fix man pages (spotted by Charles Smith)
Remove unused configure args
Regen plist
ok jasper@
2010-03-05 09:01:45 +00:00
espie
3f21da355d fix FULLPKGPATH (ports is locked) 2010-02-26 18:13:25 +00:00
sthen
78368fdc7f SECURITY update to Samba 3.0.37. From Brad.
This is a security release to address CVE-2009-2813, CVE-2009-2948
and CVE-2009-2906.
2009-10-11 19:45:46 +00:00
giovanni
ddd0f40f2a Update to 3.0.34
"fine with me to commit it" jasper@
2009-05-14 17:05:46 +00:00
brad
5472fd04ce Update to Samba 3.0.33. A security release to address CVE-2008-4314.
ok mbalmer@
2008-12-07 03:52:56 +00:00