jca
cba377ac48
Backport usage warning for smbstatus(1), picked from upstream.
...
Problem noticed and different patch proposed by giovanni@.
ok giovanni@ Ian McWilliam
2015-09-30 18:16:14 +00:00
jca
dfec945430
Use -Wl,--no-undefined just like other platforms, -Wl,--as-needed works fine now.
...
Tested earlier on powerpc (sthen@), and on i386/amd64. ok Ian McWilliam.
2015-09-30 18:14:07 +00:00
jca
11f801ff63
Back in May, miod gave nm(1) a -D flag.
2015-09-28 22:51:25 +00:00
jca
fe52d5d1d9
gc leftover from samba3
2015-09-28 22:48:06 +00:00
jca
43c2e95697
Fix two tests to allow building on hppa/mips64.
...
Those tests (for __sync_fetch_and_add and atomic_add_32) were broken,
yet waf thinks they succeed.
...
2015-09-28 22:46:06 +00:00
jca
203324e9ed
Update to samba-4.1.20; ok sthen@
2015-09-11 11:35:09 +00:00
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
ajacoutot
0176f4ec4e
No need to explicitely list textproc/libxslt; the dependency on
...
docbook-xsl is enough.
ok jca@ (maintainer)
2015-08-25 12:03:21 +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
cb12b0e70a
Ian McWilliam and I will co-maintain this.
2015-08-25 11:10:41 +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
jca
61d1768e72
SECURITY update for CVE-2015-0240
...
talloc free on uninitialized stack pointer in netlogon server could lead
to remote-code execution.
https://www.samba.org/samba/security/CVE-2015-0240
https://bugzilla.samba.org/show_bug.cgi?id=11077
ok sthen@ naddy@ Ian McWilliam (MAINTAINER)
2015-02-25 01:37:49 +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
20b5a675ba
Backport fixes to samba from 3.6.24, from Ian McWilliam (maintainer)
...
CVE-2014-0244: malformed packet can nmbd to loop, preventing further
NetBIOS name service
CVE-2014-3493: smbd "crash involving overwriting memory on an
authenticated connection" (just classed as a DoS in release notes,
but that may be optimistic)
2014-06-26 11:43:54 +00:00
sthen
243ede5192
remove ads flavour, it requires krb5
2014-04-21 22:24:17 +00:00
brad
89efb251c6
Fix a security issue with Samba..
...
Password lockout not enforced for SAMR password changes. CVE-2013-4496
ok sthen@
2014-04-10 00:50:58 +00:00
brad
852c78a4dc
Fix 2 security issues with Samba...
...
DCE-RPC fragment length field is incorrectly checked. CVE-2013-4408
ACLs are not checked on opening an alternate data stream on a file or directory. CVE-2013-4475
ok sthen@
2014-02-06 04:33:24 +00:00
espie
d70a43e9bb
fix configure logic, prevent hidden header dependencies.
...
okay nigel@
2014-01-05 16:54:04 +00:00
nigel
d952928b21
Fix WANTLIB/LDEP sysutils/e2fsprogs for ads FLAVOR
...
Ok sthen@
2013-12-05 13:08:50 +00:00
brad
b89cb537c1
Add a DoS fix.. Missing integer wrap protection in EA list reading can cause
...
server to loop with DoS. CVE-2013-4124
ok sthen@
2013-10-06 22:00:48 +00:00
kirby
acf5fcd3ae
fix MASTER_SITES
...
with permission from maintainer
2013-09-18 04:48:52 +00:00
ajacoutot
25b3041f91
Unbreak after hx509 and ntlm removal from Kerberos.
2013-06-20 06:54:36 +00:00
ajacoutot
9920238d6f
Unbreak with new Heimdal; get rid of self-cooked krb5-config since we
...
have it in base now.
2013-06-17 19:30:22 +00:00
brad
4c0a2ec0d0
Update to Samba 3.6.15.
...
ok MAINTAINER
2013-05-21 18:08:58 +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
brad
14c8cffcc9
Update to Samba 3.6.14.
...
From MAINTAINER
ok giovanni@
2013-05-03 03:06:08 +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
espie
eae66e4a7b
PERMIT_* / REGRESS->TEST sweep
2013-03-11 11:35:43 +00:00
sthen
f5a323c546
Don't use ${FLAVOR:L}, we only support lower-case flavours now.
...
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
brad
3f8bdb2f69
Update to Samba 3.6.12. Fixes two security issues with SWAT. CVE-2013-0213, CVE-2013-0214
2013-01-30 23:22:05 +00:00
sthen
ed4560228c
bugfix update to Samba 3.6.11, from maintainer Ian McWilliam
2013-01-23 13:34:41 +00:00
ajacoutot
366c549a02
Explicitely compile --without-pam.
2013-01-05 12:45:45 +00:00
brad
d41a634896
Update to Samba 3.6.10. Also add a patch from naddy@ to make use
...
of posix_openpt().
From MAINTAINER
ok sthen@
2012-12-17 00:52:58 +00:00
brad
86100309e3
Update to Samba 3.6.9.
...
ok MAINTAINER
2012-11-04 00:22:50 +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
sthen
fd14b138bb
update to Samba 3.6.7, from Ian McWilliam (maintainer)
...
- sync md5 patch to configure.in with ticket 9037 upstream, suggested by Brad
ok maintainer
2012-09-04 10:00:20 +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