Fix self granting privileges in security=ads.
[samba.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 3.4.17
3                            April 30, 2012
4                    ==============================
5
6
7 This is a security release in order to address
8 CVE-2012-2111 (Incorrect permission checks when granting/removing
9 privileges can compromise file server security).
10
11 o  CVE-2012-2111:
12    Samba 3.4.x to 3.6.4 are affected by a
13    vulnerability that allows arbitrary users
14    to modify privileges on a file server.
15
16
17 Changes since 3.4.16
18 --------------------
19
20
21 o   Jeremy Allison <jra@samba.org>
22     * Fix  incorrect permission checks when granting/removing
23       privileges (CVE-2012-2111).
24
25
26 ######################################################################
27 Reporting bugs & Development Discussion
28 #######################################
29
30 Please discuss this release on the samba-technical mailing list or by
31 joining the #samba-technical IRC channel on irc.freenode.net.
32
33 If you do report problems then please try to send high quality
34 feedback. If you don't provide vital information to help us track down
35 the problem then you will probably be ignored.  All bug reports should
36 be filed under the Samba 3.4 product in the project's Bugzilla
37 database (https://bugzilla.samba.org/).
38
39
40 ======================================================================
41 == Our Code, Our Bugs, Our Responsibility.
42 == The Samba Team
43 ======================================================================
44
45
46 Release notes for older versions follow:
47 ----------------------------------------
48
49                    ==============================
50                    Release Notes for Samba 3.4.16
51                            April 10, 2012
52                    ==============================
53
54
55 This is a security release in order to address
56 CVE-2012-1182 ("root" credential remote code execution).
57
58 o  CVE-2012-1182:
59    Samba 3.0.x to 3.6.3 are affected by a
60    vulnerability that allows remote code
61    execution as the "root" user.
62
63
64 Changes since 3.4.15
65 --------------------
66
67
68 o   Stefan Metzmacher <metze@samba.org>
69     *BUG 8815: PIDL based autogenerated code allows overwriting beyond of
70      allocated array (CVE-2012-1182).
71
72
73 ######################################################################
74 Reporting bugs & Development Discussion
75 #######################################
76
77 Please discuss this release on the samba-technical mailing list or by
78 joining the #samba-technical IRC channel on irc.freenode.net.
79
80 If you do report problems then please try to send high quality
81 feedback. If you don't provide vital information to help us track down
82 the problem then you will probably be ignored.  All bug reports should
83 be filed under the Samba 3.4 product in the project's Bugzilla
84 database (https://bugzilla.samba.org/).
85
86
87 ======================================================================
88 == Our Code, Our Bugs, Our Responsibility.
89 == The Samba Team
90 ======================================================================
91
92
93 ----------------------------------------------------------------------
94
95
96                    ==============================
97                    Release Notes for Samba 3.4.15
98                            August 23, 2011
99                    ==============================
100
101
102 This is the latest stable release of Samba 3.4.
103
104
105 Changes since 3.4.14
106 --------------------
107
108
109 o   David Disseldorp <ddiss@suse.de>
110     * BUG 7836: Make newly added printers visible to clients,
111     * BUG 7994: Make cups async printcap retrieval notify parent smbd of error        status.
112     * BUG 8269: Stop spamming log with "Could not find child X -- ignoring"
113       messages.
114
115
116 o   Björn Jacke <bj@sernet.de>
117     * BUG 8362: Fix build issue on old glibc systems.
118
119
120 o   Jim McDonough <jmcd@samba.org>
121     * BUG 6364: Pull realm from supplied username on libnet join.
122
123
124 o   Stefan Metzmacher <metze@samba.org>
125     * BUG 8276: Return the used number of sockets in create_listen_fdset().
126     * BUG 8347: Fix CVE-2011-2522 regression for HP-UX, AIX and OSF.
127
128
129 ######################################################################
130 Reporting bugs & Development Discussion
131 #######################################
132
133 Please discuss this release on the samba-technical mailing list or by
134 joining the #samba-technical IRC channel on irc.freenode.net.
135
136 If you do report problems then please try to send high quality
137 feedback. If you don't provide vital information to help us track down
138 the problem then you will probably be ignored.  All bug reports should
139 be filed under the Samba 3.4 product in the project's Bugzilla
140 database (https://bugzilla.samba.org/).
141
142
143 ======================================================================
144 == Our Code, Our Bugs, Our Responsibility.
145 == The Samba Team
146 ======================================================================
147
148
149 ----------------------------------------------------------------------
150
151
152                    ==============================
153                    Release Notes for Samba 3.4.14
154                            July 26, 2011
155                    ==============================
156
157
158 This is a security release in order to address
159 CVE-2011-2522 (Cross-Site Request Forgery in SWAT) and
160 CVE-2011-2694 (Cross-Site Scripting vulnerability in SWAT).
161
162
163 o  CVE-2011-2522:
164    The Samba Web Administration Tool (SWAT) in Samba versions
165    3.0.x to 3.5.9 are affected by a cross-site request forgery.
166
167
168 o  CVE-2011-2694:
169    The Samba Web Administration Tool (SWAT) in Samba versions
170    3.0.x to 3.5.9 are affected by a cross-site scripting
171    vulnerability.
172
173 Please note that SWAT must be enabled in order for these
174 vulnerabilities to be exploitable. By default, SWAT
175 is *not* enabled on a Samba install.
176
177
178 Changes since 3.4.13
179 --------------------
180
181
182 o   Kai Blin <kai@samba.org>
183     * BUG 8289: SWAT contains a cross-site scripting vulnerability.
184     * BUG 8290: CSRF vulnerability in SWAT.
185
186
187 ######################################################################
188 Reporting bugs & Development Discussion
189 #######################################
190
191 Please discuss this release on the samba-technical mailing list or by
192 joining the #samba-technical IRC channel on irc.freenode.net.
193
194 If you do report problems then please try to send high quality
195 feedback. If you don't provide vital information to help us track down
196 the problem then you will probably be ignored.  All bug reports should
197 be filed under the Samba 3.4 product in the project's Bugzilla
198 database (https://bugzilla.samba.org/).
199
200
201 ======================================================================
202 == Our Code, Our Bugs, Our Responsibility.
203 == The Samba Team
204 ======================================================================
205
206
207 ----------------------------------------------------------------------
208
209
210                    ==============================
211                    Release Notes for Samba 3.4.13
212                           April 21, 2011
213                    ==============================
214
215
216 This is the latest stable release of Samba 3.4.
217
218 Major enhancements in Samba 3.4.13 include:
219
220 o  Fix Winbind crash caused by null pointer reference (bug #8086).
221 o  Fix incorrect timeout handling in ncacn_ip_tcp client code (bug #8085).
222
223
224 Changes since 3.4.12
225 --------------------
226
227
228 o   Günther Deschner <gd@samba.org>
229     * BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code.
230
231
232 o   Volker Lendecke <vl@samba.org>
233     * BUG 8086: Fix Winbind crash caused by null pointer reference.
234
235
236 o   Sergey Korsak <skif@1plus1.net>
237     * BUG 8099: setpwent() actually does endpwent() on FreeBSD.
238
239
240 ######################################################################
241 Reporting bugs & Development Discussion
242 #######################################
243
244 Please discuss this release on the samba-technical mailing list or by
245 joining the #samba-technical IRC channel on irc.freenode.net.
246
247 If you do report problems then please try to send high quality
248 feedback. If you don't provide vital information to help us track down
249 the problem then you will probably be ignored.  All bug reports should
250 be filed under the Samba 3.4 product in the project's Bugzilla
251 database (https://bugzilla.samba.org/).
252
253
254 ======================================================================
255 == Our Code, Our Bugs, Our Responsibility.
256 == The Samba Team
257 ======================================================================
258
259
260 ----------------------------------------------------------------------
261
262
263                    ==============================
264                    Release Notes for Samba 3.4.12
265                          February 28, 2011
266                    ==============================
267
268
269 This is a security release in order to address CVE-2011-0719.
270
271
272 o  CVE-2011-0719:
273    All current released versions of Samba are vulnerable to
274    a denial of service caused by memory corruption. Range
275    checks on file descriptors being used in the FD_SET macro
276    were not present allowing stack corruption. This can cause
277    the Samba code to crash or to loop attempting to select
278    on a bad file descriptor set.
279
280
281 Changes since 3.4.11
282 --------------------
283
284
285 o   Jeremy Allison <jra@samba.org>
286     * BUG 7949: Fix DoS in Winbind and smbd with many file descriptors open.
287
288
289 ######################################################################
290 Reporting bugs & Development Discussion
291 #######################################
292
293 Please discuss this release on the samba-technical mailing list or by
294 joining the #samba-technical IRC channel on irc.freenode.net.
295
296 If you do report problems then please try to send high quality
297 feedback. If you don't provide vital information to help us track down
298 the problem then you will probably be ignored.  All bug reports should
299 be filed under the Samba 3.4 product in the project's Bugzilla
300 database (https://bugzilla.samba.org/).
301
302
303 ======================================================================
304 == Our Code, Our Bugs, Our Responsibility.
305 == The Samba Team
306 ======================================================================
307
308
309 ----------------------------------------------------------------------
310
311
312                    ==============================
313                    Release Notes for Samba 3.4.11
314                           January 23 2011
315                    ==============================
316
317
318 This is the latest stable release of Samba 3.4. It addresses the following
319 issue introduced with Samba 3.4.10:
320
321    o Fix connecting to port-139 only servers (bug 7881).
322
323
324 Changes since 3.4.10
325 --------------------
326
327 o   Volker Lendecke <vl@samba.org>
328     * BUG 7881: Fix connecting to port-139 only servers.
329
330
331 ######################################################################
332 Reporting bugs & Development Discussion
333 #######################################
334
335 Please discuss this release on the samba-technical mailing list or by
336 joining the #samba-technical IRC channel on irc.freenode.net.
337
338 If you do report problems then please try to send high quality
339 feedback. If you don't provide vital information to help us track down
340 the problem then you will probably be ignored.  All bug reports should
341 be filed under the Samba 3.4 product in the project's Bugzilla
342 database (https://bugzilla.samba.org/).
343
344
345 ======================================================================
346 == Our Code, Our Bugs, Our Responsibility.
347 == The Samba Team
348 ======================================================================
349
350
351 ----------------------------------------------------------------------
352
353
354                    ==============================
355                    Release Notes for Samba 3.4.10
356                           January 22, 2011
357                    ==============================
358
359
360 This is the latest stable release of Samba 3.4.
361
362 Major enhancements in Samba 3.4.10 include:
363
364    o Fix smbd coredump (bug #7617).
365    o Fix Winbind internal error (bug #7636).
366    o Fix flaky Winbind against w2k8 (bug #7881).
367
368
369 Changes since 3.4.9
370 -------------------
371
372 o   Michael Adam <obnox@samba.org>
373     * BUG 7507: init_sam_from_ldap stores group in sid2uid cache.
374
375
376 o   Jeremy Allison <jra@samba.org>
377     * BUG 7577: Fix SPNEGO auth when contacting Win7 system using Microsoft Live
378       Sign-in Assistant.
379     * BUG 7590: Fix offline login in Winbind.
380     * BUG 7617: Fix smbd coredump.
381     * BUG 7636: Fix Winbind internal error.
382     * BUG 7892: Fix stale lock in open_file_fchmod().
383
384
385 o   Andrew Bartlett <abartlet@samba.org>
386     * BUG 7356: Fix 'net ads dns register' in Win 2008 R2 domains.
387
388
389 o   Björn Baumbach <bb@sernet.de>
390     * BUG 7875: Fix 'nmbd --port'.
391     * BUG 7880: Make 'rpcclient deldriver' delete drivers for all architectures.
392
393
394 o   Günther Deschner <gd@samba.org>
395     * BUG 7341: Fix Winbind over IPv6.
396     * BUG 7417: Fix 'net rpc user password' command.
397     * BUG 7418: Fix 'net rpc printer list' command.
398     * BUG 7500: Fix 'not a string literal' warning in netdomjoin-gui.
399     * BUG 7541: Fix smbd crash caused by "%D" in "printer admin" option.
400     * BUG 7568: Make sure cm_connect_lsa_tcp does not reset the secure channel.
401
402
403 o   Olaf Flebbe <o.flebbe@science-computing.de>
404     * BUG 7421: Fix build on AIX 6.1.
405
406
407 o   Björn Jacke <bj@sernet.de>
408     * BUG 7821: Set Tru64 cc's PIC switch right.
409
410
411 o   Volker Lendecke <vl@samba.org>
412     * BUG 7066: Fix "Your Password expires today" message for users from trusted
413       domains.
414     * BUG 7262: Fix EnumDomainAliases when no aliases are in LDAP.
415     * BUG 7336: Enable idmap_passdb module build as shared.
416     * BUG 7715: Stop using the write cache after an oplock break: Stop using the
417       write cache after an oplock break.
418     * BUG 7800: Make winbind recover from a signing error.
419     * BUG 7881: Fix flaky Winbind against w2k8.
420
421
422 o   Jim McDonough <jmcd@samba.org>
423     * BUG 7280: Fix loading of auto printers with registry config.
424
425
426 o   Stefan Metzmacher <metze@samba.org>
427     * BUG 7607: Fix buffer over-read in pidl generated client code.
428     * BUG 7896: Fix 'net rpc user rename'.
429
430
431 o   Andreas Schneider <asn@samba.org>
432     * BUG 7423: Add EN ISO 216, A0 and A1 to builtin forms.
433     * BUG 7538: Backport fixes for GUID_from_data_blob.
434
435
436 o   Andrew Tridgell <tridge@samba.org>
437     * BUG 7538: Backport fixes for GUID_from_data_blob.
438
439
440 ######################################################################
441 Reporting bugs & Development Discussion
442 #######################################
443
444 Please discuss this release on the samba-technical mailing list or by
445 joining the #samba-technical IRC channel on irc.freenode.net.
446
447 If you do report problems then please try to send high quality
448 feedback. If you don't provide vital information to help us track down
449 the problem then you will probably be ignored.  All bug reports should
450 be filed under the Samba 3.4 product in the project's Bugzilla
451 database (https://bugzilla.samba.org/).
452
453
454 ======================================================================
455 == Our Code, Our Bugs, Our Responsibility.
456 == The Samba Team
457 ======================================================================
458
459
460 ----------------------------------------------------------------------
461
462
463                    =============================
464                    Release Notes for Samba 3.4.9
465                          September 14, 2010
466                    =============================
467
468
469 This is a security release in order to address CVE-2010-3069.
470
471
472 o  CVE-2010-3069:
473    All current released versions of Samba are vulnerable to
474    a buffer overrun vulnerability. The sid_parse() function
475    (and related dom_sid_parse() function in the source4 code)
476    do not correctly check their input lengths when reading a
477    binary representation of a Windows SID (Security ID). This
478    allows a malicious client to send a sid that can overflow
479    the stack variable that is being used to store the SID in the
480    Samba smbd server.
481
482
483 Changes since 3.4.8
484 -------------------
485
486
487 o   Jeremy Allison <jra@samba.org>
488     * BUG 7669: Fix for CVE-2010-3069.
489
490
491 o   Andrew Bartlett <abartlet@samba.org>
492     * BUG 7669: Fix for CVE-2010-3069.
493
494
495 ######################################################################
496 Reporting bugs & Development Discussion
497 #######################################
498
499 Please discuss this release on the samba-technical mailing list or by
500 joining the #samba-technical IRC channel on irc.freenode.net.
501
502 If you do report problems then please try to send high quality
503 feedback. If you don't provide vital information to help us track down
504 the problem then you will probably be ignored.  All bug reports should
505 be filed under the Samba 3.4 product in the project's Bugzilla
506 database (https://bugzilla.samba.org/).
507
508
509 ======================================================================
510 == Our Code, Our Bugs, Our Responsibility.
511 == The Samba Team
512 ======================================================================
513
514
515 ----------------------------------------------------------------------
516
517
518                    =============================
519                    Release Notes for Samba 3.4.8
520                            May 11, 2010
521                    =============================
522
523
524 This is the latest stable release of Samba 3.4.
525
526 Major enhancements in Samba 3.4.8 include:
527
528    o Fix Winbind reconnection to it's own domain (bug #7295).
529    o Fix an uninitialized variable read in smbd (bug #7254).
530    o Fix smbd crash with CUPS printers and no [printers] share defined
531      (bug #7297).
532    o Fix NULL pointer dereference in smbd (bug #7229).
533
534
535 Changes since 3.4.7
536 -------------------
537
538
539 o   Michael Adam <obnox@samba.org>
540     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
541       present.
542
543
544 o   Jeremy Allison <jra@samba.org>
545     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
546     * BUG 7255: Fix "printer admin" functionality.
547     * BUG 7288: Fix SMB job IDs in CUPS job names.
548     * BUG 7297: Fix smbd crash with CUPS printers and no [printers] share
549       defined.
550     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
551
552
553 o   Kai Blin <kai@samba.org>
554     * BUG 7290: Fix core dump in 'ntlm_auth'.
555
556
557 o   Günther Deschner <gd@samba.org>
558     * BUG 6727: Fix printing issues.
559     * BUG 7176: Fix incorrect format of device mode strings.
560     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
561     * BUG 7277: Fix exporting printers via 'cupsaddsmb' command.
562
563
564 o   Björn Jacke <bj@sernet.de>
565     * BUG 7352: Fix different definitions of TIME_T_MAX.
566
567
568 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
569     * BUG 7269: Fix job management commands for CUPS queues.
570
571
572 o   Jeff Layton <jlayton@redhat.com>
573     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
574       mountpoint with a symlink.
575
576
577 o   Volker Lendecke <vl@samba.org>
578     * BUG 5198: Fix parsing of the gecos field.
579     * BUG 5626: Fix build on AIX.
580     * BUG 7229: Fix NULL pointer dereference in smbd.
581     * BUG 7254: Fix an uninitialized variable read in smbd found by Laurent
582       Gaffié from Stratsec.
583     * BUG 7326: Fix writing with vfs_full_audit.
584
585
586 o   Derrell Lipman <derrell@dworkin.(none)>
587     * BUG 7345: Fix incomplete description of function return values in
588       libsmbclient.h.
589
590
591 o   Jim McDonough <jmcd@samba.org>
592     * BUG 7378:  Display an error on 'net conf import' failures.
593
594
595 o   Roel van Meer <rolek@alt001.com>
596     * BUG 6814: Fix valgrind warning.
597
598
599 o   Stefan Metzmacher <metze@samba.org>
600     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
601     * BUG 7170: Never mark external domains as internal.
602     * BUG 7295: Fix Winbind reconnection to it's own domain.
603     * BUG 7316: Make sure we don't try rpc requests against unaccessable
604       domains.
605     * BUG 7317: Fix problems with SIGCHLD handling in Winbind.
606
607
608 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
609     * BUG 1206: Fix segfault in vfs_netatalk.
610
611
612 o   Bo Yang <boyang@samba.org>
613     * BUG 7206: Fix duplicate signal handler.
614
615
616 ######################################################################
617 Reporting bugs & Development Discussion
618 #######################################
619
620 Please discuss this release on the samba-technical mailing list or by
621 joining the #samba-technical IRC channel on irc.freenode.net.
622
623 If you do report problems then please try to send high quality
624 feedback. If you don't provide vital information to help us track down
625 the problem then you will probably be ignored.  All bug reports should
626 be filed under the Samba 3.4 product in the project's Bugzilla
627 database (https://bugzilla.samba.org/).
628
629
630 ======================================================================
631 == Our Code, Our Bugs, Our Responsibility.
632 == The Samba Team
633 ======================================================================
634
635
636 ----------------------------------------------------------------------
637
638
639                    =============================
640                    Release Notes for Samba 3.4.7
641                             March 8, 2010
642                    =============================
643
644
645 This is a security release in order to address CVE-2010-0728.
646
647
648 o  CVE-2010-0728:
649    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
650    was added to fix a problem with Linux asynchronous IO handling.
651    This code introduced a bad security flaw on Linux platforms if the
652    binaries were built on Linux platforms with libcap support.
653    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
654    capabilities, allowing all file system access to be allowed
655    even when permissions should have denied access.
656
657
658 Changes since 3.4.6
659 -------------------
660
661
662 o   Jeremy Allison <jra@samba.org>
663     * BUG 7222: Fix for CVE-2010-0728.
664
665
666 ######################################################################
667 Reporting bugs & Development Discussion
668 #######################################
669
670 Please discuss this release on the samba-technical mailing list or by
671 joining the #samba-technical IRC channel on irc.freenode.net.
672
673 If you do report problems then please try to send high quality
674 feedback. If you don't provide vital information to help us track down
675 the problem then you will probably be ignored.  All bug reports should
676 be filed under the Samba 3.4 product in the project's Bugzilla
677 database (https://bugzilla.samba.org/).
678
679
680 ======================================================================
681 == Our Code, Our Bugs, Our Responsibility.
682 == The Samba Team
683 ======================================================================
684
685
686 ----------------------------------------------------------------------
687
688
689                    =============================
690                    Release Notes for Samba 3.4.6
691                          February 24, 2010
692                    =============================
693
694
695 This is the latest stable release of Samba 3.4.
696
697 Major enhancements in Samba 3.4.6 include:
698
699    o "wide links" and "unix extensions" are incompatible (bug #7104).
700    o Fix printing with 64 bit clients (bug #6888).
701    o Fix core dump on Ubuntu 8.04 64 bit (bug #7063).
702    o Fix failing of smbd to respond to a read or a write caused by
703      Linux asynchronous IO (aio) (bug #7067).
704    o Fix string buffer overflow causing heap corruption in smbd (bug #7096).
705
706
707 ######################################################################
708 Changes
709 #######
710
711 Changes since 3.4.5
712 -------------------
713
714
715 o   Michael Adam <obnox@samba.org>
716     * Make idmap cache persistent for "ldapsam:trusted".
717     * Also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() not
718       only the persistent idmap cache.
719     * Shortcut uid_to_sid when "ldapsam:trusted = yes".
720
721
722 o   Jeremy Allison <jra@samba.org>
723     * BUG 6557: Fix vfs_full_audit.
724     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
725     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
726       Linux asynchronous IO (aio).
727     * BUG 7072: Fix unlocking of accounts from ldap.
728     * BUG 7081: Fix vfs_expand_msdfs.
729     * BUG 7104: "wide links" and "unix extensions" are incompatible.
730     * BUG 7122: Fix reading of large browselist.
731     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
732     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
733       value(s) error when "mangling method = hash".
734
735
736 o   Steven Danneman <steven.danneman@isilon.com>
737     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
738
739
740 o   Günther Deschner <gd@samba.org>
741     * BUG 6888: Fix printing with 64 bit clients.
742     * BUG 7130: Fix listing of printjobs in Windows 7.
743     * BUG 7136: Spoolss getprinterdriver2 level 101 marshalling is bad.
744
745
746 o   William Jojo <w.jojo@hvcc.edu>
747     * BUG 7052: Fix DFS on AIX (maybe others).
748
749
750 o   Jeff Layton <jlayton@redhat.com>
751     * BUG 6868: Fix crash bug in 'cifs.upcall'.
752
753
754 o   Volker Lendecke <vl@samba.org>
755     * BUG 5885: Fix bogus ip address in SWAT.
756     * BUG 6981: Fix large paged search with DirX LDAP servers.
757     * BUG 7068: Fix pdb_search crash as non-root user.
758     * Make pdb_copy_sam_account also copy the group sid.
759
760
761 o   Stefan Metzmacher <metze@samba.org>
762     * BUG 6157: Use the first "uid" value.
763     * BUG 6888: Fix printing with 64 bit clients.
764     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
765     * Shortcut gid_to_sid when "ldapsam:trusted = yes".
766     * Speed up pdb_get_group_sid().
767     * Try to build the full unix_pw structure with ldapsam:trusted support.
768     * Optimize ldapsam_alias_memberships() and cache ldap searches.
769
770
771 o   Lars Müller <lars@samba.org>
772     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
773     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
774
775
776 o   Bo Yang <boyang@samba.org>
777     * BUG 7106: Fix malformed require_membership_of_sid.
778
779
780 ######################################################################
781 Reporting bugs & Development Discussion
782 #######################################
783
784 Please discuss this release on the samba-technical mailing list or by
785 joining the #samba-technical IRC channel on irc.freenode.net.
786
787 If you do report problems then please try to send high quality
788 feedback. If you don't provide vital information to help us track down
789 the problem then you will probably be ignored.  All bug reports should
790 be filed under the Samba 3.4 product in the project's Bugzilla
791 database (https://bugzilla.samba.org/).
792
793
794 ======================================================================
795 == Our Code, Our Bugs, Our Responsibility.
796 == The Samba Team
797 ======================================================================
798
799
800 ----------------------------------------------------------------------
801
802
803                    =============================
804                    Release Notes for Samba 3.4.5
805                          January 19, 2010
806                    =============================
807
808
809 This is the latest stable release of Samba 3.4.
810
811 Major enhancements in Samba 3.4.5 include:
812
813    o Fix memory in leak in smbd (bug #7020).
814    o Fix changing of ACLs on writable files with "dos filemode=yes" (bug #5202).
815
816
817 ######################################################################
818 Changes
819 #######
820
821 Changes since 3.4.4
822 -------------------
823
824
825 o   Jeremy Allison <jra@samba.org>
826     * BUG 5202: Fix changing of ACLs on writable files with "dos filemode=yes".
827     * BUG 7020: Fix memory leak in smbd.
828     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
829     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
830
831
832 o   Günther Deschner <gd@samba.org>
833     * BUG 7043: Fix crash bug in "SMBC_parse_path".
834
835
836 o   Volker Lendecke <vl@samba.org>
837     * BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS
838       server.
839
840
841 o   Stefan Metzmacher <metze@samba.org>
842     * BUG 6642: Fix opening the quota magic file.
843     * BUG 6919: Fix remote quota management.
844
845
846 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
847     * BUG 7034: Fix internal error caused by vfs_cap.
848
849
850 ######################################################################
851 Reporting bugs & Development Discussion
852 #######################################
853
854 Please discuss this release on the samba-technical mailing list or by
855 joining the #samba-technical IRC channel on irc.freenode.net.
856
857 If you do report problems then please try to send high quality
858 feedback. If you don't provide vital information to help us track down
859 the problem then you will probably be ignored.  All bug reports should
860 be filed under the Samba 3.4 product in the project's Bugzilla
861 database (https://bugzilla.samba.org/).
862
863
864 ======================================================================
865 == Our Code, Our Bugs, Our Responsibility.
866 == The Samba Team
867 ======================================================================
868
869
870 ----------------------------------------------------------------------
871
872
873                    =============================
874                    Release Notes for Samba 3.4.4
875                          January 7, 2009
876                    =============================
877
878
879 This is the latest stable release of Samba 3.4.
880
881 Major enhancements in Samba 3.4.4 include:
882
883    o Fix interdomain trust relationships with Win2008R2 (bug #6697).
884    o Fix Winbind crashes when queried from nss (bug #6889).
885    o Fix Winbind crash when retrieving empty group members (bug #7014).
886    o Fix "UID range full" error in Winbind (bug #6901).
887    o Fix multiple LDAP servers in "idmap backend" and "idmap alloc
888      backend" (bug #6910).
889
890
891 ######################################################################
892 Changes
893 #######
894
895 Changes since 3.4.3
896 -------------------
897
898 o   Michael Adam <obnox@samba.org>
899     * BUG 6851: Add pdbedit --kickoff-time/-K to set the user's kickoff time.
900     * BUG 6901: Fix "UID range full" error in Winbind.
901     * BUG 6910: Fix multiple LDAP servers in "idmap backend" and "idmap alloc
902       backend".
903
904
905 o   Jeremy Allison <jra@samba.org>
906     * BUG 6828: Fix infinite timeout when byte lock held outside of samba.
907     * BUG 6837: Fix "Too many open files" message when trying to access a large
908       number of files with Windows 7.
909     * BUG 6841: Fix "map acl inherit = yes".
910     * BUG 6867: Fix listing of directories with a lot of files.
911     * BUG 6875: Fix DOS attributes on OS/2 clients.
912     * BUG 6880: Fix listing of workgroup servers in libsmbclient.
913     * BUG 6898: Samba duplicates file content on appending.
914     * BUG 6939: Fix long filenames with "mangling method = hash".
915     * BUG 7005: Fix "mangle method = hash" truncates files with dot "."
916       character.
917
918
919 o   Kai Blin <kai@samba.org>
920     * BUG 4832: Fix iconv checks.
921
922
923 o   Günther Deschner <gd@samba.org>
924     * BUG 6697: Fix interdomain trust relationships with Win2008R2.
925     * BUG 6868: Support building with Heimdal we well as with MIT.
926     * BUG 6889: Fix Winbind crashes when queried from nss.
927     * BUG 6929: Fix build with recent heimdal.
928     * Fix the build of the winbind krb5 locator plugin.
929     * Fix enumprinter key client and server.
930
931
932 o   Volker Lendecke <vl@samba.org>
933     * BUG 6338: Do not always display "none" in 'net rpc trustdom list'.
934     * BUG 6850: Fix shadow copy display on Windows 7.
935     * BUG 6981: Fix paged search with DirX LDAP server.
936     * BUG 6982: Remove erroneous out of memory error path in lookup_sid.
937     * BUG 6997: Fix _samr_GetAliasMembership for results with 0 rids.
938
939
940 o   Jim McDonough <jmcd@samba.org>
941     * BUG 6967: Fix 'net ads join' with OU.
942     * BUG 7014: Fix Winbind crash when retrieving empty group members.
943
944
945 o   Andrew Tridgell <tridge@samba.org>
946     * BUG 6918: Fix krb5 build problem on Ubuntu karmic.
947
948
949 ######################################################################
950 Reporting bugs & Development Discussion
951 #######################################
952
953 Please discuss this release on the samba-technical mailing list or by
954 joining the #samba-technical IRC channel on irc.freenode.net.
955
956 If you do report problems then please try to send high quality
957 feedback. If you don't provide vital information to help us track down
958 the problem then you will probably be ignored.  All bug reports should
959 be filed under the Samba 3.4 product in the project's Bugzilla
960 database (https://bugzilla.samba.org/).
961
962
963 ======================================================================
964 == Our Code, Our Bugs, Our Responsibility.
965 == The Samba Team
966 ======================================================================
967
968
969 ----------------------------------------------------------------------
970
971
972                    =============================
973                    Release Notes for Samba 3.4.3
974                          October 29, 2009
975                    =============================
976
977
978 This is the latest stable release of Samba 3.4.
979
980 Major enhancements in Samba 3.4.3 include:
981
982    o Fix trust relationships to windows 2008 (2008 r2) (bug #6711).
983    o Fix file corruption using smbclient with NT4 server (bug #6606).
984    o Fix Windows 7 share access (which defaults to NTLMv2) (bug #6680).
985
986
987 ######################################################################
988 Changes
989 #######
990
991 Changes since 3.4.2
992 -------------------
993
994
995 o   Jeremy Allison <jra@samba.org>
996     * BUG 6529: Offline files conflict with Vista and Office 2003.
997     * BUG 6726: SIVAL should have been an SVAL.
998     * BUG 6769: Fix symlink unlink.
999     * BUG 6774: smbd crashes if "aio write behind" is set.
1000     * BUG 6776: Fix core dump caused by running overlapping Byte Lock test.
1001     * BUG 6781: Fix renaming subfolders in Explorer view.
1002     * BUG 6793: Fix Winbind crash with "INTERNAL ERROR: Signal 6".
1003     * BUG 6796: Deleting an event context on shutdown can cause smbd to crash.
1004     * BUG 6828: Fix infinite timeout when byte lock held outside of Samba.
1005     * BUG 6829: Fix displaying of multibyte characters in smbclient.
1006
1007
1008 o   Günther Deschner <gd@samba.org>
1009     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
1010     * BUG 6815: Fix Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
1011
1012
1013 o   Olaf Flebbe <o.flebbe@science-computing.de>
1014     * BUG 6772: Allow outstanding_aio_calls to be decremented.
1015     * BUG 6804: Fix hpux compiler issue.
1016     * BUG 6805: Correctly handle aio_error() and errno.
1017
1018
1019 o   Björn Jacke <bj@sernet.de>
1020     * BUG 6704: Fix syntax error in avahi configure test.
1021     * BUG 6728: BSD needs sys/sysctl.h included to build properly.
1022     * BUG 6824: Fix avahi activation.
1023     * QNX doesn't know uint - replace with uint_t.
1024
1025
1026 o   Andrew Klosterman <andrew.klosterman+samba_bugzilla@gmail.com>
1027     * BUG 6690: Fix wrong error check in profile.
1028
1029
1030 o   Marc Aurele La France <tsi@ualberta.ca>
1031     * BUG 6707: Fix an occasional segfault in config file parsing.
1032
1033
1034 o   Jeff Layton <jlayton@redhat.com>
1035     * BUG 6810: Add support for finding alternate credcaches to cifs.upcall.
1036
1037
1038 o   Volker Lendecke <vl@samba.org>
1039     * BUG 6606: Fix file corruption using smbclient with NT4 server.
1040     * BUG 6703: Allow smbstatus as non-root.
1041     * BUG 6731: Fix reading beyond the end of a named stream in xattr_streams.
1042     * BUG 6765: Add a "hidden" parameter "share:fake_fscaps".
1043     * BUG 6793: Fix segfault in winbindd_pam_auth.
1044     * BUG 6797: Fix a memleak in libwbclient.
1045     * BUG 6807: Fix a segfault in "net rpc trustdom list" for long domain names.
1046     * Fix an uninitialized variable.
1047     * Only ever handle one event after a select call.
1048
1049
1050 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
1051     * BUG 6532: Fix domain enumeration if master browser has space in name.
1052
1053
1054 o   Stefan Metzmacher <metze@samba.org>
1055     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
1056
1057
1058 o   Buchan Milne <bgmilne@mandriva.org>
1059     * BUG 6791: Fix linking order in cifs.upcall.
1060
1061
1062 o   Lars Müller <lars@samba.org>
1063     * BUG 6710: Adjust regex to match variable names including underscores.
1064     * Conditional install of the cifs.upcall man page.
1065
1066
1067 o   Shirish Pargaonkar <shirishpargaonkar@gmail.com>
1068     * BUG 4675: mount.cifs: Do not attempt to update /etc/mtab if it is
1069       a symbolic link.
1070
1071
1072 o   Karolin Seeger <kseeger@samba.org>
1073     * Fix warning occuring when building the manpages.
1074
1075
1076 o   Simo Sorce <ssorce@redhat.com>
1077     * BUG 6764: Fix timeval calculation.
1078
1079
1080 o   Bo Yang <boyang@samba.org>
1081     * BUG 6735: Don't overwrite password in pam_winbind, subsequent pam modules
1082       might use the old password and new password.
1083     * BUG 6811: Fix reference to freed memory in pam_winbind.
1084     * BUG 6826: Don't fail authentication when one or some group of
1085       require-membership-of is invalid.
1086     * BUG 6840: Fix crash in pam_winbind.
1087
1088
1089 ######################################################################
1090 Reporting bugs & Development Discussion
1091 #######################################
1092
1093 Please discuss this release on the samba-technical mailing list or by
1094 joining the #samba-technical IRC channel on irc.freenode.net.
1095
1096 If you do report problems then please try to send high quality
1097 feedback. If you don't provide vital information to help us track down
1098 the problem then you will probably be ignored.  All bug reports should
1099 be filed under the Samba 3.4 product in the project's Bugzilla
1100 database (https://bugzilla.samba.org/).
1101
1102
1103 ======================================================================
1104 == Our Code, Our Bugs, Our Responsibility.
1105 == The Samba Team
1106 ======================================================================
1107
1108
1109 ----------------------------------------------------------------------
1110
1111
1112                    =============================
1113                    Release Notes for Samba 3.4.2
1114                           October 1, 2009
1115                    =============================
1116
1117
1118 This is a security release in order to address CVE-2009-2813, CVE-2009-2948
1119 and CVE-2009-2906.
1120
1121    o CVE-2009-2813:
1122      In all versions of Samba later than 3.0.11, connecting to the home
1123      share of a user will use the root of the filesystem
1124      as the home directory if this user is misconfigured to have
1125      an empty home directory in /etc/passwd.
1126
1127    o CVE-2009-2948:
1128      If mount.cifs is installed as a setuid program, a user can pass it a
1129      credential or password path to which he or she does not have access and
1130      then use the --verbose option to view the first line of that file.
1131      All known Samba versions are affected.
1132
1133    o CVE-2009-2906:
1134      Specially crafted SMB requests on authenticated SMB connections can
1135      send smbd into a 100% CPU loop, causing a DoS on the Samba server.
1136
1137
1138 ######################################################################
1139 Changes
1140 #######
1141
1142 Changes since 3.4.1
1143 -------------------
1144
1145
1146 o   Jeremy Allison <jra@samba.org>
1147     * BUG 6763: Fix for CVE-2009-2813.
1148     * BUG 6768: Fix for CVE-2009-2906.
1149
1150
1151 o   Jeff Layton <jlayton@redhat.com>
1152     * Fix for CVE-2009-2948.
1153
1154
1155 ######################################################################
1156 Reporting bugs & Development Discussion
1157 #######################################
1158
1159 Please discuss this release on the samba-technical mailing list or by
1160 joining the #samba-technical IRC channel on irc.freenode.net.
1161
1162 If you do report problems then please try to send high quality
1163 feedback. If you don't provide vital information to help us track down
1164 the problem then you will probably be ignored.  All bug reports should
1165 be filed under the Samba 3.4 product in the project's Bugzilla
1166 database (https://bugzilla.samba.org/).
1167
1168
1169 ======================================================================
1170 == Our Code, Our Bugs, Our Responsibility.
1171 == The Samba Team
1172 ======================================================================
1173
1174
1175 ----------------------------------------------------------------------
1176
1177
1178                    =============================
1179                    Release Notes for Samba 3.4.1
1180                          September 9, 2009
1181                    =============================
1182
1183
1184 This is the latest stable release of Samba 3.4.
1185
1186
1187 Major enhancements in Samba 3.4.1 include:
1188
1189    o Fix authentication on member servers without Winbind (bug #6650).
1190    o Nautilus fails to copy files from an SMB share (bug #6649).
1191    o Fix connections of Win98 clients (bug #6551).
1192    o Fix interdomain trusts with Windows 2008 R2 DCs (bug #6697).
1193    o Fix Winbind authentication issue (bug #6646).
1194
1195
1196 ######################################################################
1197 Changes
1198 #######
1199
1200 Changes since 3.4.0
1201 -------------------
1202
1203
1204 o   Michael Adam <obnox@samba.org>
1205     * BUG 6650: Fix authentication on member servers without Winbind.
1206
1207
1208 o   Jeremy Allison <jra@samba.org>
1209     * BUG 6437: Make open_udp_socket() IPv6 clean.
1210     * BUG 6506: Smbd server doesn't set EAs when a file is overwritten in
1211       NT_TRANSACT_CREATE.
1212     * BUG 6551: Fix connections of Win98 clients.
1213     * BUG 6564: SetPrinter fails (panics) as non root.
1214     * BUG 6593: Correctly implement SMB_INFO_STANDARD setfileinfo.
1215     * BUG 6649: Nautilus fails to copy files from an SMB share.
1216     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
1217     * BUG 6673: Fix 'smbpasswd' with "unix password sync = yes".
1218
1219
1220 o   Yannick Bergeron <burgergold@hotmail.com>
1221     * Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to
1222       allow AIX to call sys_getgrouplist only once.
1223
1224
1225 o   Günther Deschner <gd@samba.org>
1226     * BUG 6568: Fix _spoolss_GetPrintProcessorDirectory() implementation.
1227     * BUG 6607: Fix crash bug in spoolss_addprinterex_level_2.
1228     * BUG 6680: Fix authentication failure from Windows 7 when domain joined.
1229     * BUG 6697: Fix interdomain trusts with Windows 2008 R2 DCs.
1230
1231
1232 o   Olaf Flebbe <flebbe@nix.science-computing.de>
1233     * BUG 6655: Fix 'smbcontrol smbd ping'.
1234
1235
1236 o   Björn Jacke <bj@sernet.de>
1237     * BUG 6105: Make linking of rpcclient --as-needed safe.
1238
1239
1240 o   Matt Kraai <mkraai@beckman.com>
1241     * BUG 6630: Fix opening of sockets on QNX.
1242
1243
1244 o   Robert LeBlanc <robert@leblancnet.us>
1245     * BUG 6700: Use dns domain name when needing to guess server principal.
1246
1247
1248 o   Volker Lendecke <vl@samba.org>
1249     * BUG 5886: Fix password change propagation with ldapsam.
1250     * BUG 6585: Fix unqualified "net join".
1251     * BUG 6611: Fix a valgrind error in chain_reply.
1252     * BUG 6646: Fix Winbind authentication issue.
1253     * Fix linking on Solaris.
1254
1255
1256 o   Stefan Metzmacher <metze@samba.org>
1257     * BUG 6222: Default to DRSUAPI replication for net rpc vampire keytab.
1258     * BUG 6532: Fix the build with external talloc.
1259     * BUG 6538: Cancel all locks that are made before the first failure.
1260     * BUG 6627: Raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
1261     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
1262     * BUG 6664: Fix truncation of the session key.
1263
1264
1265 o   Tim Prouty <tprouty@samba.org>
1266     * BUG 6620: Fix a bug in renames of directories.
1267
1268
1269 o   Rusty Russell <rusty@rustcorp.com.au>
1270     * BUG 6601: Avoid global fd limits.
1271
1272
1273 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1274     * BUG 6496: MS-DFS cannot follow multibyte char link name in libsmbclient.
1275
1276
1277 o   Simo Sorce <idra@samba.org>
1278     * BUG 6693: Check we read off the complete event from inotify.
1279
1280
1281 o   Peter Volkov <pva@gentoo.org>
1282     * BUG 6105: Make linking of cifs.upcall --as-needed safe.
1283
1284
1285 o   TAKEDA Yasuma <yasuma@osstech.co.jp>
1286     * BUG 5879: Update LDAP schema for Netscape DS 5.
1287
1288
1289 o   Bo Yang <boyang@samba.org>
1290     * BUG 6560: Fix lookupname.
1291     * BUG 6615: Fix browsing of DFS when using kerberos in libsmbclient.
1292     * BUG 6688: Fix crash in 'net usershare list'.
1293
1294
1295 ######################################################################
1296 Reporting bugs & Development Discussion
1297 #######################################
1298
1299 Please discuss this release on the samba-technical mailing list or by
1300 joining the #samba-technical IRC channel on irc.freenode.net.
1301
1302 If you do report problems then please try to send high quality
1303 feedback. If you don't provide vital information to help us track down
1304 the problem then you will probably be ignored.  All bug reports should
1305 be filed under the Samba 3.4 product in the project's Bugzilla
1306 database (https://bugzilla.samba.org/).
1307
1308
1309 ======================================================================
1310 == Our Code, Our Bugs, Our Responsibility.
1311 == The Samba Team
1312 ======================================================================
1313
1314 ----------------------------------------------------------------------
1315
1316                    =============================
1317                    Release Notes for Samba 3.4.0
1318                            July 3, 2009
1319                    =============================
1320
1321
1322 This is the first stable release of Samba 3.4.
1323
1324
1325 Major enhancements in Samba 3.4.0 include:
1326 ------------------------------------------
1327
1328 Configuration changes:
1329 o The default passdb backend has been changed to 'tdbsam'!
1330
1331 General changes:
1332 o Samba4 and Samba3 sources are included in the tarball
1333
1334 Authentication Changes:
1335 o Changed the way smbd handles untrusted domain names given during user
1336   authentication.
1337
1338 Printing Changes:
1339 o Various fixes including printer change notificiation for Samba spoolss
1340   print servers.
1341
1342 Internal changes:
1343 o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog
1344   and spoolss) were replaced by autogenerated code based on PIDL.
1345 o Samba3 and Samba4 do now share a common tevent library.
1346 o The code has been cleaned up and the major basic interfaces are shared with
1347   Samba4 now.
1348 o An asynchronous API has been added.
1349
1350
1351 Configuration changes
1352 =====================
1353
1354 !!! ATTENTION !!!
1355 The default passdb backend has been changed to 'tdbsam'! That breaks existing
1356 setups using the 'smbpasswd' backend without explicit declaration! Please use
1357 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1358 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
1359 tdbsam'.
1360
1361 The 'tdbsam' backend is much more flexible concerning per user settings
1362 like 'profile path' or 'home directory' and there are some commands which do not
1363 work with the 'smbpasswd' backend at all.
1364
1365
1366 General Changes
1367 ===============
1368
1369 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
1370 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
1371 are included in the tarball. The merged build is possible in Samba 3.4.0, but
1372 disabled by default. To learn more about the merged build,
1373 please see http://wiki.samba.org/index.php/Franky.
1374
1375 According to this one, there is no "source" directory included in the tarball at
1376 all. Samba3 sources are located in "source3", Samba4 sources are located in
1377 "source4". The libraries have been moved to the toplevel directory.
1378
1379 To build plain Samba3, please change to "source3" and start the build as usual.
1380 To build Samba4 as well, please use the "--enable-merged-build" configure
1381 option.
1382
1383
1384 Authentication Changes
1385 ======================
1386
1387 Previously, when Samba was a domain member and a client was connecting using an
1388 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
1389 domain to the primary domain smbd was a member of and attempt authentication
1390 using that DOMAIN\user name.  This differed from how a Windows member server
1391 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
1392 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
1393 where smbd is acting as a domain member server this will be WORKSTATION\user.
1394 Thus, smbd will never assume that an incoming user name which is not qualified
1395 with the same primary domain, is part of smbd's primary domain.
1396
1397 While this behavior matches Windows, it may break some workflows which depended
1398 on smbd to always pass through bogus names to the DC for verification.  A new
1399 parameter "map untrusted to domain" can be enabled to revert to the legacy
1400 behavior.
1401
1402
1403 Printing Changes
1404 ================
1405
1406 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
1407 several printing issues including printer change notificiation on Samba print
1408 servers and will stabilize the printing functionality generally.
1409 The support for spoolss printing with Windows Vista has been improved.
1410
1411
1412 Internal Changes
1413 ================
1414
1415 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
1416 spoolss) were replaced by autogenerated code based on PIDL.
1417 So Günther Deschner finally corrected one of the biggest mistakes in the
1418 development of Samba: Hand-marshalled RPC stubs.
1419
1420 Thanks a lot! :-)
1421
1422 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
1423
1424 The code has been cleaned up and Samba3 and Samba4 do share the major basic
1425 interfaces now. That is why the libraries were moved to the toplevel directory.
1426 That is one of the first steps to share code and minimize the gap between
1427 these two versions.
1428
1429 An asynchronous API has been added.
1430
1431
1432 ######################################################################
1433 Changes
1434 #######
1435
1436 smb.conf changes
1437 ----------------
1438
1439    Parameter Name                      Description     Default
1440    --------------                      -----------     -------
1441
1442    access based share enum             New             No
1443    dedicated keytab file               New             ""
1444    kerberos method                     New             default
1445    map untrusted to domain             New             No
1446    max open files                      Changed Default auto detected
1447    passdb backend                      Changed Default tdbsam
1448    perfcount module                    New             ""
1449    use kerberos keytab                 Removed
1450
1451
1452 New [sub]commands
1453 -----------------
1454
1455    net eventlog                 Import/dump/export native win32 eventlog files.
1456    net rpc service create       Create a new service.
1457    net rpc service delete       Delete an existing service.
1458
1459
1460 New configure options
1461 ---------------------
1462
1463 --enable-external-libtalloc     Enable external talloc
1464 --enable-merged-build           Build Samba 4 as well
1465 --enable-gnutls                 Turn on gnutls support
1466 --with-statedir=DIR             Where to put persistent state files
1467 --with-cachedir=DIR             Where to put temporary cache files
1468 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
1469 --with-selftest-shrdir=DIR      The share directory that make test will be run
1470                                 against
1471 --with-selftest-custom-conf=PATH
1472                                 An optional custom smb.conf that is included in
1473                                 the server smb.conf during make test
1474 --with-wbclient                 Use external wbclient
1475 --with-included-popt            Use bundled popt library, not from system
1476 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
1477 --with-sqlite3                  SQLITE3 backend support
1478 --with-pthreads                 Include pthreads
1479 --with-setproctitle             Search for setproctitle support
1480
1481
1482 Commit Highlights
1483 =================
1484
1485
1486 o   Steven Danneman <steven.danneman@isilon.com>
1487     * Change the way smbd handles untrusted domain names given during user
1488       authentication.
1489
1490
1491 o   Guenther Deschner <gd@samba.org>
1492     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
1493       and spoolss by autogenerated code based on PIDL.
1494     * Fix several printing issues and improve support for printer change
1495       notificiations.
1496     * Add 'net eventlog'.
1497
1498
1499 o   Volker Lendecke <vl@samba.org>
1500     * Add asynchronous API.
1501
1502
1503 o   Stefan Metzmacher <metze@samba.org>
1504     * Make Samba3 and Samba4 share a tevent library.
1505
1506
1507 o   Dan Sledz <dsledz@isilon.com>
1508     * Add two new parameters to control how we verify kerberos tickets.
1509
1510
1511 o   Danny Tylman <danny.tylman@insightix.com>
1512     * Add 'net rpc service' subcommands 'create' and 'delete'.
1513
1514
1515 o   Jelmer Vernooij <jelmer@samba.org>
1516     * Make merged build possible.
1517     * Move common libraries to the shared lib/ directory.
1518
1519
1520 Changes since 3.4.0rc1
1521 ----------------------
1522
1523
1524 o    Jeremy Allison <jra@samba.org>
1525      * BUG 6520: Fix time stamps when "unix extensions = yes".
1526
1527
1528 o    Michael Adam <obnox@samba.org>
1529      * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
1530      * BUG 6521: Fix building tevent_ntstatus without config.h.
1531      * BUG 6531: Fix pid file name.
1532
1533
1534 o    Guenther Deschner <gd@samba.org>
1535      * BUG 6512: Fix support for enumerating user forms.
1536
1537
1538 o    Bjoern Jacke <bj@sernet.de>
1539      * BUG 6497: Fix calling of 'test' in configure.
1540      * BUG 6459: Fix build of pam_smbpass on some distributions.
1541
1542
1543 o    Volker Lendecke <vl@samba.org>
1544      * BUG 6431: Local groups from 3.0 setups no longer found.
1545      * BUG 6498: Add workaround for MS KB932762.
1546
1547
1548 o    David Markey <admin@dmarkey.com>
1549      * BUG 6514: Improve error message in 'net' when smb.conf is not available.
1550
1551
1552 o    Jim McDonough <jmcd@samba.org>
1553      * BUG 6481: 'net ads leave' needs to try account deletion, NetUnjoinDomain
1554        not.
1555
1556
1557 o    Stefan Metzmacher <metze@samba.org>
1558      * BUG 6526: Fix notifies in the share root directory.
1559
1560
1561 o    Bo Yang <boyang@samba.org>
1562      * BUG 6499: Fix building of pam_smbpass.
1563
1564
1565 Changes since 3.4.0pre2
1566 -----------------------
1567
1568
1569 o   Jeremy Allison <jra@samba.org>
1570     * BUG 6297: Owner of sticky directory cannot delete files created by
1571       others.
1572     * BUG 6476: Fix smbd-zombies in memory when using [x]inetd.
1573     * BUG 6487: Add missing DFS call in trans2 mkdir call.
1574     * BUG 6488: acl_group_override() call in posix acls references an
1575       uninitialized variable.
1576
1577
1578 o   Günther Deschner <gd@samba.org>
1579     * BUG 4296: Clean up group membership while deleting a user.
1580     * BUG 5456: Fix "net ads testjoin".
1581     * BUG 6253: Use correct value for password expiry calculation in
1582       pam_winbind.
1583     * BUG 6305: Correctly prompt for a password when a username was given.
1584     * BUG 6451: net/libnetapi user rename using wrong access bits.
1585     * BUG 6458: Fix uninitialized variable in local_password_change().
1586     * BUG 6465: Fix enumeration of empty aliases.
1587
1588
1589 o   Volker Lendecke <vl@samba.org>
1590     * BUG 4699: Remove pidfile on clean shutdown.
1591     * BUG 6349: Initialize domain info struct.
1592     * BUG 6449: 'net rap user add' crashes without -C option.
1593
1594
1595 o   David Markey <admin@dmarkey.com>
1596     * BUG 6328: Add support for multiple rights to
1597       "net sam rights grant/revoke".
1598
1599
1600 o   Andreas Schneider <mail@cynapses.org>
1601     * Improve pam_winbind documentation.
1602
1603
1604 o   Simo Sorce <idra@samba.org>
1605     * BUG 6081: Make it possible to change machine account sids.
1606     * BUG 6333: Consolidate create/delete account paths in pdbedit.
1607     * BUG 6584: Allow DOM\user when changing passwords remotely.
1608
1609
1610 o   Jelmer Vernooij <jelmer@samba.org>
1611     * Remove outdated Debian package sources.
1612
1613
1614 Changes since 3.4.0pre1
1615 -----------------------
1616
1617
1618 o   Jeremy Allison <jra@samba.org>
1619     * BUG 6291: Fix 'force user'.
1620     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
1621       malloced memory.
1622     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
1623     * BUG 6330: Fix DFS on AIX.
1624     * Fix a bunch of compiler warnings about wrong format types.
1625     * Fix the core of the SAMR access functions.
1626     * Fix SAMR server for winbindd access.
1627
1628
1629 o   Michael Adam <obnox@samba.org>
1630     * BUG 4271: testparm should not print includes.
1631     * BUG 6292: Update config.guess from gnu.org.
1632     * BUG 6320: Handle registry config source in file_list.
1633     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
1634     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
1635     * BUG 6415: Filter out of range mappings in default idmap config
1636       (idmap_tdb).
1637     * BUG 6416: Filter out of range mappings in default idmap config
1638       (idmap_tdb2).
1639     * BUG 6417: Filter out of range mappings in default idmap config
1640       (idmap_ldap).
1641     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
1642     * Hide "config backend" from swat.
1643     * Fix linking with --disable-shared-libs.
1644
1645
1646 o   Steven Danneman <steven.danneman@isilon.com>
1647     * Fix issue with missing entries when enumerating directories.
1648     * Map NULL domains to our global sam name.
1649
1650
1651 o   Günther Deschner <gd@samba.org>
1652     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
1653       access checks.
1654     * BUG 6099: Fix NETLOGON credential chain.
1655     * BUG 6253: Use correct value for password expiry calculation.
1656     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
1657     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
1658       retrieved.
1659     * BUG 6372: usermanager only displaying 1024 groups and aliases.
1660     * Fix driver upload for Xerox 4110 PS printer driver.
1661     * Add "net dom renamecomputer" to rename machines in a domain.
1662     * Inspect the correct computername string before enabling/disabling the
1663       change button in netdomjoin-gui.
1664     * Fix join prompt dialog test in netdomjoin-gui.
1665     * Only gray out labels when not root and not connecting to remote
1666       machines (netdomjoin-gui).
1667     * Allow to switch between workgroups/domains with the same name
1668       (netdomjoin-gui).
1669     * Add NetShutdownInit and NetShutdownAbort.
1670     * Fix samr access checks.
1671     * Add a security model to LSA.
1672     * Fix nss_wrapper build for Solaris.
1673
1674
1675 o   Geza Gemes <geza@kzsdabas.hu>
1676     * BUG 6136: New AFS syscall conventions.
1677
1678
1679 o   Ole Hansen <ole@redvw.com>
1680     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
1681       and IPv6 addresses
1682
1683
1684 o   Björn Jacke <bj@sernet.de>
1685     * Also handle DirX return codes.
1686
1687
1688 o   Steve Langasek <vorlon@debian.org>
1689     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
1690
1691
1692 o   Volker Lendecke <vl@samba.org>
1693     * BUG 5681: Do not limit the number of network interfaces.
1694     * BUG 6157: Fix handling of multi-value attribute "uid".
1695     * BUG 6302: Give the VFS a chance to read from 0-byte files.
1696     * BUG 6336: Fix segfault in 'net groupmap set'.
1697     * BUG 6361: Make --rcfile work in smbget.
1698     * Do not crash in ctdbd_traverse if ctdbd is not around.
1699     * Fix Coverity ID 897.
1700     * Fix a race condition in vfs_aio_fork with gpfs share modes.
1701     * Fix bug disclosed by lock8 torture test.
1702     * Fix a race condition in winbind leading to a panic.
1703     * Attempt to fix a Debian build problem.
1704
1705
1706 o   Jim McDonough <jmcd@samba.org>
1707     * Detect tight loop in tdb_find().
1708
1709
1710 o   Stefan Metzmacher <metze@samba.org>
1711     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
1712       owner.
1713
1714
1715 o   Tim Prouty <tprouty@samba.org>
1716     * Fix chained sesssetupAndX/tconn messages.
1717     * Fix strict locking with chained reads.
1718     * Fix two bugs in sendfile.
1719
1720
1721 o   Slava Semushin <php-coder@altlinux.ru>
1722     * Fix memory leak.
1723     * Fix file descriptor leak.
1724
1725
1726 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
1727     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
1728     * Always allocate memory in dptr_ReadDirName.
1729
1730
1731 o   Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
1732     * Fix 'net' crash during domain join.
1733
1734
1735 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
1736     * Zero an uninitialized array.
1737     * Allow child processes to exit gracefully if we are out of fds.
1738
1739
1740 ######################################################################
1741 Reporting bugs & Development Discussion
1742 #######################################
1743
1744 Please discuss this release on the samba-technical mailing list or by
1745 joining the #samba-technical IRC channel on irc.freenode.net.
1746
1747 If you do report problems then please try to send high quality
1748 feedback. If you don't provide vital information to help us track down
1749 the problem then you will probably be ignored.  All bug reports should
1750 be filed under the Samba 3.4 product in the project's Bugzilla
1751 database (https://bugzilla.samba.org/).
1752
1753
1754 ======================================================================
1755 == Our Code, Our Bugs, Our Responsibility.
1756 == The Samba Team
1757 ======================================================================
1758