1 ===============================
2 Release Notes for Samba 3.0.31
4 ===============================
6 This is a bug fix release of the Samba 3.0 production series
7 and is the version that servers should be run for all current
10 User visible bug fixes in this release include:
12 o Correct issues with running Winbind runing on a Samba PDC.
13 o Problems with trusted Windows 2008 domains.
14 o Difficulty joining an NT4 or Windows 2000 AD domain.
17 ######################################################################
24 o Jeremy Allison <jra@samba.org>
25 * BUG 5504: Fix SIGTERM handling in Winbind children so that they
26 do not remove the unix domain socket used to field client requests.
27 * Split the winbindd_passdb backend into a 'builtin' and a 'sam'
29 * When allocating client buffers for large read/write - make sure we
30 take account of the large read/write SMB headers as well as the buffer
32 * Memory leak fixes in DC location code.
33 * BUG 5533: Winbindd fails to cope correctly with a workgroup name
35 * BUG 5555: Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine
37 * BUG 5551: smbd recursing back into winbindd from a winbindd call.
38 * Fix usage message for "net rpc trustdom add".
39 * Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.
40 * BUG 5578: Bad (non-Samba) use of strlcat gives error.
41 * Canonicalize servername in the printer functions to remove leading '\\'
45 o Alexander Bokovoy <ab@samba.org>
46 * Documentation build fixes.
47 * [DOCS] Fix use of smbconfoption in samba.entities.
50 o Gerald (Jerry) Carter <jerry@samba.org>
51 * Return NULL in sitename_fetch() if gencache_init() fails.
54 o Steven Danneman <steven.danneman@isilon.com>
55 * Use machine account and machine password from our domain when
56 contacting trusted domains.
57 * SPNEGO SPN fix when contacting trusted domains.
60 o Guenther Deschner <gd@samba.org>
61 * BUG 5285: Fix libcap header mismatch.
62 * Fix joining NT4 domains.
63 * Don't let winbind getgroups crash when we have no gids in the
65 * Fallback to level 24 pwd set while joining.
66 * Fix joining w2k domains in "security = ads".
67 * Fix pam_sm_chauthtok for storing modified cached creds.
70 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
71 * BUG 5202: Re-activate "acl group control" parameter and make it
72 only apply to owning group.
75 o <hkurma@datadomain.com>
76 * BUG 5531: Fix conversion of ns units when converting from
80 o Volker Lendecke <vl@samba.org>
81 * BUG 4974: Map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT in libsmbclient.
82 * Fix a segfault in base64_encode_data_blob.
85 o William Jojo <jojowil@hvcc.edu>
89 o Herb Lewis <herb@samba.org>
90 * ENODATA is not defined in freeBSD 4.6.2.
93 o Jim McDonough <jmcd@samba.org>
94 * Don't reset password last set time just because the expired flag
98 o Karolin Seeger <kseeger@samba.org>
99 * Fix usage message for 'net idmap dump'.
100 * Miscellaneous man page fixes.
101 * BUG 4203: Samba3-HOWTO: Add improvements/fixes submitted by Pete Boyd.
104 o John H Terpstra <jht@samba.org>
105 * Fixes to man pages.
106 * Add tdb file documentation.
109 o Bo Yang <boyang@novell.com>
110 * Ensure that winbindd trusted domain children keep primary domain online
112 * Update cached creds during password change.
113 * Ensure that Winbind always uses set_domain_offline() to mark a domain
115 * Allow authentication and memory credential refresh after password change
119 o Chere Zhou <czhou@isilon.com>
124 Release notes for older releases follow:
126 --------------------------------------------------
127 ===============================
128 Release Notes for Samba 3.0.30
130 ===============================
132 This is a security release in order to address CVE-2008-1105 ("Boundary
133 failure when parsing SMB responses can result in a buffer overrun").
136 Specifically crafted SMB responses can result in a heap overflow
137 in the Samba client code. Because the server process, smbd, can
138 itself act as a client during operations such as printer notification
139 and domain authentication, this issue affects both Samba client
140 and server installations.
142 The original security announcement for this and past advisories can
143 be found http://www.samba.org/samba/security/
146 ######################################################################
153 o Jeremy Allison <jra@samba.org>
154 * Fix for CVE-2008-1105.
157 o Karolin Seeger <kseeger@samba.org>
158 * Remove man pages for ldb tools not included in Samba 3.0.
160 --------------------------------------------------
162 ===============================
163 Release Notes for Samba 3.0.29
165 ===============================
167 Major bug fixes included in Samba 3.0.29 are:
169 o Problems following domain trusts on a Samba DC.
170 o SMB Signing errors.
171 o Interoperability issues with Windows 2008 domains.
174 ######################################################################
178 Changes since 3.0.28a
179 ---------------------
181 o Michael Adam <obnox@samba.org>
182 * Fix build for pam_smbpass.
183 * Fix a crash in tdb_wrap_log().
186 o Jeremy Allison <jra@samba.org>
187 * BUG 5267: Fix for nmbd termination problems when no interfaces
189 * BUG 5326: OS/2 servers give strange "high word" replies for
191 * Remove MS-DFS check that required the target host be ourself.
192 * BUG 5372: Fix high CPU usage of cupsd on large print servers
193 by using more efficient CUPS queries in smbd.
194 * Rewrite integer wrap checks to deal with gcc 4.x optimizations.
195 * BUG 5095: Fix the enforcement of the "Manage Documents" access right.
196 * Don't free memory from getpass() in mount.cifs.
197 * BUG 5460: Fix MS-DFS referral problem in server code.
198 * Fix bug in Winbind that caused the parent to ignore dead children.
199 * Fix compile warnings.
202 o Alexander Bokovoy <ab@samba.org>
203 * Fix build for pam_smbpass.
204 * Document build fixes.
207 o Kai Blin <kai@samba.org>
208 * BUG 4235: Improve compliance to the Squid helper protocol.
209 Original patch from Pawel Worach <pawel.worach@gmail.com>.
212 o Gerald (Jerry) Carter <jerry@samba.org>
213 * BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
216 o Glenn Curtis <gcurtis@likewisesoftware.com>
217 * Prevent cycle in Winbind's list of children when reaping dead processes.
220 o Steven Danneman <steven.danneman@isilon.com>
221 * BUG 5419: Fix memory leak in ads_do_search_all_args() (merge from v3-2).
224 o Guenther Deschner <gd@samba.org>
225 * Fix winbind NETLOGON credential chain on a samba dc for w2k8 trusts.
226 * Fix client connections and negotiation with Windows 2008 DCs
227 in member server code.
228 * Add NT_STATUS_DOWNGRADE_DETECTED error code (merge from v3-2).
229 * BUG 5430: Fix pam_winbind.so on Solaris (requires -lsocket).
230 * Re-add samr getdispinfoindex parsing which got lost in the glue commit.
231 * BUG 5461: Implement a very basic _samr_GetDisplayEnumerationIndex().
232 Corrects interop problem between Citrix PM and a Samba DC.
235 o Bryan Kolodziej <bryan.kolodziej@allenlund.com>
236 * BUG 3840: Fix smbclient connecting to NetApp filers when using
237 whitespace in the user's password.
240 o Volker Lendecke <vl@samba.org>
241 * BUG 4901: Fix behavior of "ldap passwd sync = only".
242 * BUG 5317: Fix debug output from domain_client_validate().
243 * BUG 5338: Fix format string bug in rpcclient.
244 * Ensure that "wbinfo -a trusted\\user%password" works correctly
245 on a Samba DC with trusts.
246 * BUG 5336: Fix SetUsetrInfo(level 25) to update the pwdLastSet
248 * BUG 5350: Fallback to anonymous sessions if not trust password
249 could be obtained on Samba DCs and member servers.
250 * BUG 5366: Fix password chat on Sun OpenSolaris (Nevada).
251 * Fix signing problem in the client with trans requests.
254 o Björn Jacke <bj@sernet.de>
255 * Fix alignment bug hitting Solaris with "reset in zero vc" activated.
258 o Jim McDonough <jmcd@samba.org>
259 * Fix build with glibc 2.8.
260 * Enable winbind child processes to do something with signals, in
261 particular closing and reopening logs on SIGHUP.
264 o Karolin Seeger <kseeger@samba.org>
265 * Documentation cleanup after merging docs from svn to git and
266 back-porting from the v3-2 branch.
269 o Rafal Szczesniak <mimir@samba.org>
270 * Add implementation of machine-authenticated connection to netlogon
271 pipe used when connecting to win2k and newer domain controllers.
274 o Simo Sorce <idra@samba.org>
275 * Fix trusted users on a DC that uses the old idmap syntax.
278 o Bo Yang <boyang@novell.com>
279 * Only have Winbind cache domain password policies that were
280 successfully retrieved.
283 o Martin Zielinski <mz@seh.de>
284 * Fix alignment bug when marshalling printer data replies.
285 * Fix DeleteDriverDriverEx() checks to prevent removing in use files.
289 --------------------------------------------------
291 ===============================
292 Release Notes for Samba 3.0.28a
294 ===============================
296 Major bug fixes included in Samba 3.0.28a are:
298 o Failure to join Windows 2008 domains
299 o Windows Vista (including SP1 RC) interop issues
303 ######################################################################
310 Parameter Name Description Default
311 -------------- ----------- -------
312 administrative share New No
313 ldap debug level New 0
314 ldap debug threshold New 10
320 o Michael Adam <obnox@samba.org>
321 * Fix bug in version string's vendor tag.
322 * Prevent net getdomainsid from crashing when called as non-root.
323 * BUG 4801: Correctly implement LSA lookup levels for LookupNames.
324 * Fixes for internal LookupNames() calls for unqualified users and
326 * Remove unnecessary functions when managing domain trust
328 * Fix winbindd on a Samba DC talking to a trusted domain DC
330 * Consolidate the detection of the machine_account_name when
331 obtaining trust credentials from the local database.
332 * Refactor trust account database routines and session key
334 * Fix retrieval of trusted domain password policies when
335 authenticating a user (only when WBFLAG_PAM_GET_PWD is config
337 * Refactor Winbind's cm_connect_sam().
338 * Enable building the notify_fam module.
339 * Add "ldap debug level" and "ldap debug threshold" smb.conf options.
342 o Jeremy Allison <jra@samba.org>
343 * Fix cut-n-paste bug when filling in form values for Printer
345 * Fix SMB signing bug found by Volker.
346 * Create locking.tdb when running smbstatus before smbd to avoid
347 confusing error messages.
348 * Add a portable version of strlcpy and strlcat.
349 * BUG 4780: Cause user mounts to inherit uid= and gid= from the
350 calling user when called as non-root, except when overridden on
351 the command line. Original patch by Steve Langasek.
352 * BUG 5802: Recent versions of Linux-PAM support localization of
353 user prompts, so Samba must use the C locale when invoking PAM
354 * Merge Vista principal detection changes by Andreas Schneider
356 * BUG 5121: Fix problems running unix passwd sync on streams based
358 * BUG 4612: Fix smbd crash when connecting from an OS/2 client.
359 * Back port Volker's ACL fixes on newly create files form 3.2.
360 * Ensure that send_getdc_request() matches the 3.2 code base.
361 * BUG 3617: Fix crash in nmbd caused by referencing freed memory.
362 * Fixes for issues reported by IBM checker.
363 * Fixes for issues reported by Coverity.
364 * Back port Volker's fix for nlink count.
365 * Back port SAMR flag fixes from Matt Geddes
366 <musicalcarrion@gmail.com>.
367 * BUG 4929: Cope with protected ACL set correctly (based on work
369 * Fix ACL set bug when group being set is the primary group.
370 * Ensure NDR wire-reads of string types are always null
372 * BUG 5247: Fix mget wildcard expansion in smbclient.
373 * Fix bug in SPNEGO negotiation.
374 * BUG 3617: Fix "Invalid read of size 4" errors.
375 * BUG 5267: Prevent nmbd from shutting down when no network
376 interfaces can be located.
379 o Kai Blin <kai@samba.org>
380 * libsmb: Do not upper-case target name on NTLMv2 hash generation.
381 * Fix an incompatible pointer type warning.
384 o Gerald Carter <jerry@samba.org>
385 * Restrict the enctypes in the generated krb5.conf files to
389 o Steven Danneman <steven.danneman@isilon.com>
390 * Error path memory leak fixes.
393 o Guenther Deschner <gd@samba.org>
394 * Fix PAC decoding from Vista SP1 client.
395 * Fix get_trust_creds() to return always an upper-cased krb5
397 * Back port additional fixes necessary for support Windows 2008
398 domain joins from the 3.2 branch.
401 o Mathias Gug <mathiaz@ubuntu.com>
402 * BUG 5802: Recent versions of Linux-PAM support localization of
403 user prompts, so Samba must use the C locale when invoking PAM
406 o Steve Langasek <vorlon@debian.org>
407 * BUG 3727: Fix smbpasswd abort when called by non-root user.
408 * BUG 4784: Prevent umount.cifs from allowing all users to unmount shares.
409 * BUG 5802: Recent versions of Linux-PAM support localization of
410 user prompts, so Samba must use the C locale when invoking PAM
413 o Volker Lendecke <vl@samba.org>
414 * When allocating a new vuid, also avoid partial ones. Also
415 fully invalidate intermediate ones.
416 * Fix error path exit in create_local_nt_token() to correctly roll
417 back security contexts.
418 * Fix valgrind warnings in nmbd.
419 * Pointer initialization fixes in notify_marshall_changes().
420 * BUG 5208: Fix uninitialized variables in vfs_hpuxacl.c (reported
421 by David Leonard <David.Leonard@quest.com>).
422 * Copy the 3.2 version of string_replace to 3.0.
423 * Port SMB_FS_OBJECTID_INFORMATION from 3.2 (Patch by Corinna
426 * Fix error code propagation from cli_session_setup_kerberos().
427 * BUG 5217: Fix inotify detection.
428 * BUG 5279: Correctly check return of rename().
429 * BUG 5252: Fix confusing error messages in mount.cifs.
430 * BUG 5307: Respect FAMChanged (Thanks to Ricardo Santos).
431 * Work around a handle leak in XP 64 bit.
434 o Guenter Kukkukk <linux@kukkukk.com>
435 * OS/2 returns eclass == ERRDOS && ecode == ERRnofiles for a zero
436 entry directory listing.
439 o Tom Maher <tmaher@watson.org>
440 * BUG 5175: Support krb5 auth in smbcacls.
443 o Hans Mayer <hans.mayer@ages.at>
444 * BUG 5141: Solaris 9 compile fix.
447 o Stefan Metzmacher <metze@samba.org>
448 * Fix default printing system detection in libreplace.
451 o Laurent Pinchart <pinchart@skynet.be>
452 * BUG 5163: Return better error codes when a password cannot be
453 set in and LDAP directory.
456 o Jiri Sasek <Jiri.Sasek@Sun.COM>
457 * BUG 4866: Correct password routine detection on Solaris.
460 o Andreas Schneider <anschneider@suse.de>
461 * Remove trailing slashes on server names when parsing input from
463 * Support Windows 2008 domain joins (variant of Todd Stecher's
465 * Add "administrative share" service parameter for defining hidden
466 administrative shares that cannot be managed from Windows.
469 o Karolin Seeger <kseeger@samba.org>
470 * Use the "ldap user suffix" when enumerating a users group
474 o Simo Sorce <idra@samba.org>
475 * Don't assume NULL termination when copying the principal name
476 in kerberos_get_default_realm_from_ccache().
477 * Fix winbindd running on a Samba DC (again).
480 o Bo Yang <boyang@novell.com>
481 * Fix bad private_data pointer in winbindd_lookupname_async().
485 Release notes for older releases follow:
487 --------------------------------------------------
489 ==============================
490 Release Notes for Samba 3.0.28
492 ==============================
494 Samba 3.0.28 is a security release in order to address the following
498 Boundary failure in GETDC mailslot processing can result in
501 The original security announcement for this and past advisories can
502 be found http://www.samba.org/samba/security/
504 ######################################################################
508 Changes since 3.0.27a
509 ---------------------
511 o Jeremy Allison <jra@samba.org>
512 * Fix for CVE-2007-6015.
514 o Volker Lendecke <vl@samba.org>
515 * Fix for CVE-2007-6015.
516 * Add missing unbecome_root() calls in error path processing
517 when failing to add local groups in create_local_nt_token().
520 --------------------------------------------------
522 ===============================
523 Release Notes for Samba 3.0.27a
525 ===============================
527 Samba 3.0.27a is a bug fix release and is the current release
528 for production servers running the Samba 3.0 series.
530 Important fixes in 3.0.27a include:
532 o A crash bug regression experienced by smbfs clients caused
533 by the fix for CVE-2007-4572.
537 ######################################################################
544 o Michael Adam <obnox@samba.org>
545 * BUG 4308: Add missing become_root/unbecome_root around calls of
546 add_aliases. Add same changes in create_token_from_username()
547 surrounding the call to getsampwsid().
548 * BUG 5083: Make solarisacl_sys_acl_get_fd() return a result when
549 there is one (thereby fixing a memleak).
550 * BUG 5023: Fix smbd's interaction with NFSv4 ACL compatible VFS
551 plugins such as GPFS and ZFS.
554 o Jeremy Allison <jra@samba.org>
555 * BUG 4978: Ensure that DOS attributes are copied with folders.
556 * Fix bug where tdb lock call interrupted with an alarm sig would
557 not terminate and could lead to runaway smbd processes.
558 * Fix smbd crash bug which resulted from a regression in the patch
559 for CVE-2007-4572 patch.
560 * Prevent nmbd from adding non-initialized name to IP address
561 mappings to it's WINS database.
564 o Dmitry Butskoy <buc@odusz.so-cdu.ru>
565 * Properly catch errors in the query_user() callback to avoid
566 generated struct passwd replies with zero length usernames.
569 o Gerald (Jerry) Carter <jerry@samba.org>
570 * Prevent segv in winbindd running on a DC using the "idmap
574 o Steve Langasek <vorlon@debian.org>
575 * BUG 4781: Allow cleaning of /etc/mtab by canonicalizing mountpoint.
578 o Volker Lendecke <vl@samba.org>
579 * BUG 4028: Fix message popup sent via "smbclient -M".
580 * BUG 4984: Filename unix_convert() fixes for WinNT 4.0 clients.
583 o Stefan Metzmacher <metze@samba.org>
584 * Fix crash bug in pidl generated client code caused by
585 [in,out,unique] pointers.
586 * Fix crash bug in the group mapping code.
589 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
590 * Fixes for AIX quota support.
593 o Tomasz Ostrowski <tometzky@batory.org.pl>
594 * BUG 4393: Prevent smbclient from dropping 0 bytes files from tar
598 o Simo Sorce <idra@samba.org>
599 * Fixes for internal idmap domain list when "winbind trusted
600 domains only" is enabled.
601 * Fix 32/64-bit compatibility issues in the winbind request/response
605 o Martin Zielinski <mz@seh.de>
606 * Error code path fix for get_mydnsdomname().
610 --------------------------------------------------
612 ==============================
613 Release Notes for Samba 3.0.27
615 ==============================
617 Samba 3.0.27 is a security release in order to address the following
621 Stack buffer overflow in nmbd's logon request processing.
624 Remote code execution in Samba's WINS server daemon (nmbd)
625 when processing name registration followed name query requests.
627 The original security announcement for this and past advisories can
628 be found http://www.samba.org/samba/security/
630 ######################################################################
634 Changes since 3.0.26a
635 ---------------------
637 o Jeremy Allison <jra@samba.org>
638 * Fix for CVE-2007-4572.
639 * Fix for CVE-2007-5398.
642 o Simo Sorce <idra@samba.org>
643 * Additional fixes for CVE-2007-4572.
646 --------------------------------------------------
647 ===============================
648 Release Notes for Samba 3.0.26a
650 ===============================
652 Major bug fixes included in Samba 3.0.26a are:
654 o Memory leaks in Winbind's IDMap manager.
657 ######################################################################
664 o Michael Adam <obnox@samba.org>
665 * Fix read_sock() semantics in wb_common.c to address "invalid
666 request size" errors in winbindd logs.
667 * Fix use of pwrite() in tdb IO code paths.
670 o Jeremy Allison <jra@samba.org>
671 * Fix logic error in timeout of blocking lock processing.
674 o Guenther Deschner <gd@samba.org>
675 * Fix error code in the msrpc EnumerateDomainGroups() Winbind
676 method when a memory allocation fails.
677 * Fix Winbind initialization storms when contacting an older Samba DC.
680 o Volker Lendecke <vl@samba.org>
681 * Fix compile failure in NFSv4 VFS module.
682 * Fix compile failures on True64.
683 * Fix compile failure in unmaintained python bindings.
684 * BUG 4917: Fix memory leaks in Winbind's idmap_ldap and
685 idmap_cache backends.
686 * Coverity fixes in the group mapping code.
689 o Derrell Lipman <derrell@samba.org>
690 * Remove NetBIOS keepalives from libsmbclient and consolidate on
691 the use of getpeername() when checking connection health.
692 * Use formal syntax for invoking function pointers in
696 o Lars Mueller <lars@samba.org>
697 * Fixes for Winbind's AD site support when the host is not
698 configured in any site or nor DC's are present within the host's
702 o Simo Sorce <idra@samba.org>
703 * Debian packaging updates for 3.0.25c.
704 * Add sanity checks for "smb ports" values.
705 * Fix compile issues related to the VFS "open" method and newer
706 glibc implementations.
707 * Fix a segv in smbldap_set_creds() when using an anonymous
709 * BUG 4772: Fix us of ldap_base_dn for the idmap_ldap plugin.
712 Release notes for older releases follow:
714 --------------------------------------------------
715 ==============================
716 Release Notes for Samba 3.0.26
718 ==============================
720 This is a security release of Samba 3.0 to address
723 Versions: All Samba 3.0.25 releases
724 Incorrect primary group assignment for
725 domain users using the rfc2307 or sfu
726 winbind nss info plugin.
728 The original security announcement for this and past advisories
729 can be found http://www.samba.org/samba/security/
731 ######################################################################
735 Changes since 3.0.25c
736 ---------------------
738 o Gerald (Jerry) Carter <jerry@samba.org>
739 * Fix CVE-2007-4138 in the "winbind nss info = {sfu | rfc2307}"
743 --------------------------------------------------
744 ===============================
745 Release Notes for Samba 3.0.25c
747 ===============================
749 Major bug fixes included in Samba 3.0.25c are:
751 o File sharing with Widows 9x clients.
752 o Winbind running out of file descriptors due to stalled
754 o MS-DFS inter-operability issues.
757 ######################################################################
761 Changes since 3.0.25b
762 ---------------------
764 o Michael Adam <obnox@samba.org>
765 * Fix incorrect log messages in tdbbackup.
766 * Fix a bug in pwrite error detection in tdb_expand_file().
769 o Jeremy Allison <jra@samba.org>
770 * BUG 4711: Make cli_connect() return NT_STATUS codes.
771 * Ensure we obey Unicode consortium restrictions. Based on
772 patch from MORIYAMA Masayuki.
773 * BUG 3204: Cope with stalled winbindd child processes and
774 prevent the parent winbindd process from running out of file
776 * Fix realloc leak on failure case from Jim Meyering.
777 * BUG 4759: Fix crash in ber_printf() caused invalid tag.
778 * BUG 4763: Limit notify responses to client max buf size.
779 * BUG 4777: Doing a DFS traverse through a deep link could fail
780 (not using explorer).
781 * BUG 4779: Setting the allocation size updates the modified
782 time as a write does.
783 * BUG 4308: Fix interaction with MS Excel and POSIX ACLs.
784 * Fix POSIX unlink bug found by the Linux CIFS fs client.
785 * Stop counting locks if we get a POSIX lock request.
786 * Fix interaction between Linux CIFS fs client and Windows
787 clients when the former tries to remove a file opened by the
789 * Fix incorrect mapping of invalid resume names in FindNext
791 * Cope with dead entries in the locking database tied to
792 non-existent processes (merge from 3.2-ctdb).
793 * Fix MS-DFS related renaming bug in smbclient.
794 * Fix for write cache corruption bug.
795 * Fix invalid vuid from being returned by a failed call to
796 cli_session_setup_spnego.().
797 * Fixes for error mappings from NT_STATUS to the appropriate DOS
798 error codes in reply_opeNXXX() calls.
801 o Ofir Azoulay <Ofir.Azoulay@expand.com>
802 * Only look at errno set by SMB_VFS_CLOSE() if the call actually
806 o Alexander Bokovoy <ab@samba.org>
807 * Fix vfs_readahead: transparent modules should always pass
811 o David S. Collier-Brown <davecb@spamcop.net>
812 * BUG 4897: Fix Solaris xattr misdeclarations.
815 o Guenther Deschner <gd@samba.org>
816 * Remove redundant pointer checks when freeing memory in winbindd.
817 * BUG 4408: Remove last traces of Heimdal KCM support.
818 * Fix bug in user Krb5 ticket refresh feature in winbindd.
819 * Fix Heimdal path in the krb5 renew routine.
820 * Unused code cleanup in winbindd.
823 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
824 * BUG 4750: smbc_telldir_ctx() was not returning a value useful
825 to smbc_lseekdir_ctx().
828 o Bjoern Jacke <bj@sernet.de>
829 * Add support for Extended Attributes on Solaris.
832 o Matthijs Kooijman <matthijs@stdin.nl>
833 * BUG 4836: Fix incorrect log message in the nss_info
835 * BUG 4849: Fix "net ads dns register" usage text.
838 o Volker Lendecke <vl@samba.org>
839 * Port cli_connect() NT_STATUS fixes to smbmount.
840 * Add notes about smbfs/cifs to usage() in smb[u]mount.
841 * BUG 4792: Fix pidfile name bug.
842 * Fix missing END_PROFILE() call in the SMBunlink reply.
844 * Correct logic error in change notify code that would result in
846 * Fix uninitialized reads in the spoolss GetPrinterData() replies.
847 * Fix file overwrites from Windows 9x clients.
850 o Herb Lewis <herb@samba.org>
851 * Unused code cleanup.
852 * Avoid a crash in "net rpc info" when no username has
854 * Remove biconv detection on *BSD.
857 o Derrell Lipman <derrell@samba.org>
858 * Get/Set ACL fixes in libsmbclient.
861 o Jan Martin <Jan.Martin@rwedea.com>
862 * BUG 4860: Patches for fixing MS-DFS links with trailing
866 o Jim McDonough <jmcd@us.ibm.com>
867 * BUG 4719: "Must change password" is not set from usrmgr.exe.
870 o Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
871 * Ensure proper exit when nmbd is unable to reopen the wins.tdb.
872 * Fix error path memleaks in the messaging subsystem.
874 --------------------------------------------------
875 ===============================
876 Release Notes for Samba 3.0.25b
878 ===============================
880 Major bug fixes included in Samba 3.0.25b are:
882 o Offline caching of files with Windows XP/Vista clients.
883 o Improper cleanup of expired or invalid byte range locks
885 o Crashes is idmap_ldap and idmap_rid.
888 Changes to 'net idmap dump'
889 ===========================
891 A change in command line syntax and behavior was introduced in the
892 3.0.25 release series where the command
894 $ net idmap dump /.../path/to/idmap.tdb
896 would overwrite the tdb instead of dumping its contents to standard
897 output as was the case in releases prior to Samba 3.0.25. The
898 changed has been reverted in 3.0.25b and the semantics from 3.0.24
899 and earlier releases have been restored.
902 ######################################################################
906 Changes since 3.0.25a
907 ---------------------
909 o Jeremy Allison <jra@samba.org>
910 * BUG 4655: Fix client parsing bug in spoolss EnumPrinterDataEx().
911 * Ensure that proper oplock break requests occur during file open
912 and performing internal checks for compatible open modes.
913 * Fix offline file caching with Windows XP/Vista clients.
915 * Ensure that winbindd reports the correct client connection
916 details in response to a SIGUSR2.
917 * Fix timespec_current() to return the correct nano-second time.
918 * Fix lock logic inconsistencies in tdb_traverse().
919 * Remove restriction on string length for rpcclient commands.
920 * BUG 4683: Fix LSA crash bug.
921 * BUG 3204: Fix file descriptor leak in the parent winbindd when
922 child processes hang.
923 * Avoid calling rename_open_files() when the old and new names
925 * BUG 4689: Fix bug in new change notify code caused by not
926 ignoring the max_params_return value and as a resulting
927 returning truncated names.
928 * Fix sync_file() to return NTSTATUS and return this on failure in
929 the write reply path.
930 * BUG 4678,4697: Fix token creation for clear text logins.
931 * BUG 4725: Don't crash when no eventlog names are defined in
933 * Ensure we will always release any timeout handler on fsp close
934 or removal of oplock.
937 o Jacob Berkman <jberkman@novell.com>
938 * BUG 4566: Pass password data to krb5_prompter.
941 o Gerald (Jerry) Carter <jerry@samba.org>
942 * BUG 4579: Fix "wbinfo -t" when running winbindd on a Samba DC.
945 o Guenther Deschner <gd@samba.org>
946 * BUG 4657: Fix compilation and linking of pam_smbpass.so.
947 * Add more netlogon GetDcName() client calls.
948 * Fix event based krb5 ticket refreshing in winbindd.
950 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
951 * BUG 4720: Fix smbclient connections to share names containing
952 multibyte characters.
955 o Steve Langasek <vorlon@debian.org>
956 * Allow SIGTERM to cause nmbd to exit on awaiting an interface
960 o Volker Lendecke <vl@samba.org>
961 * Fix record state check error when reviewing entries in nmbd's
963 * Revert 'net idmap dump' behavior to 3.0.24 behavior to fix change
964 in command line syntax that would overwrite winbindd_idmap.tdb.
967 o Justin Maggard <jmaggard@infrant.com>
968 * Don't expire a password if it's explicitly set as ACB_PWNOTREQ.
972 * Fix old old bug in cli_smbwrite() (not incrementing data
976 o Jens Nissen <jens.nissen@gmx.net>
977 * BUG 4537: Fix smbtorture deny test2.
980 o James Peach <jpeach@apple.com>
981 * Fix structure types in the vfs_catia NT_ACL operations.
984 o Doug Rudoff <doug_rudoff@isilon.com>
985 * Ensure that the the lck struct for invalid locks are correctly
986 saved and therefore cleaned up.
989 o Simo Sorce <idra@samba.org>
990 * Updates for the packaging/Debian directory.
991 * Add missing 'c' character to the list of shell safe characters.
992 * BUG 4667 (partial): Fix crash bug in idmap_ldap.c.
993 * Fix inconsistencies between creating machine and user accounts.
994 * Fix bug deleting LDAP user accounts that used the account
995 objectclass as its structural basis.
996 * BUG 2319: Ensure that smbspool correctly decodes %-encoded
998 * BUG 4624: Fix crashes in idmap_rid.
1001 Release notes for older releases follow:
1003 --------------------------------------------------
1004 ===============================
1005 Release Notes for Samba 3.0.25a
1007 ===============================
1009 Major bug fixes included in Samba 3.0.25a are:
1011 o Missing supplementary Unix group membership when using "force
1013 o Premature expiration of domain user passwords when using a
1014 Samba domain controller.
1015 o Failure to open the Windows object picker against a server
1016 configured to use "security = domain".
1017 * Authentication failures when using security = server.
1020 Changes to MS-DFS Root Share Behavior
1021 =====================================
1023 Please be aware that the initial value for the "msdfs root" share
1024 parameter was changed in the 3.0.25 release series and that this
1025 option is now disabled by default. Windows clients frequently require
1026 a reboot in order to clear any cached information about MS-DFS
1027 root shares on a server and you may experience failures accessing
1028 file services on Samba 3.0.25 servers until the client reboot
1029 is performed. Alternately, you may explicitly re-enable the
1030 parameter in smb.conf. Please refer to the smb.conf(5) man page
1035 ######################################################################
1039 Changes since 3.0.25
1040 --------------------
1042 o Michael Adam <obnox@samba.org>
1043 * Fix logic in detection of the need to replace dlopen, et. al.
1044 * Add HP-UX ACL VFS module.
1045 * Fix build of Tru64 ACL VFS module.
1048 o Jeremy Allison <jra@samba.org>
1049 * BUG 4622: Fix authentication failures in security = server.
1050 * Fix pointer marshalling in srvsvc parsing code.
1051 * BUG 4630: Fix conversion of 8 byte time_t and NT_TIME values.
1052 * Ensure that if we're blocked on a POSIX lock we know nothing
1053 about that we retry the lock every 10 seconds instead of waiting
1054 for the standard select timeout.
1055 * BUG 4637: Fix samlogon reply regression that broke domain logons.
1056 * Fix rename on open files and improved delete-on-close semantics.
1057 * Fix POSIX setfilepathinfo to use lstat.
1060 o Alexander Bokovoy <ab@samba.org>
1061 * Add -pie support to Python's setup.py.
1062 * Strip STYPE_TEMPORARY and STYPE_HIDDEN when printing share
1063 listing from 'net rap shares".
1064 * Fix argument parsing in "net rap server domain".
1067 o Gerald (Jerry) Carter <jerry@samba.org>
1068 * BUG 4616: Don't return a dns or forest name when replying to the
1069 DsGetPrimaryRoleInfo() and configured for security = domain.
1070 * Trim noise by removing redundant WARNING log message that would
1071 flood at log level 2.
1072 * Fix truncation of supplementary Unix groups when using "force group".
1075 o Guenther Deschner <gd@samba.org>
1076 * Always fallback to NTLM authentication in pam_winbind when the
1077 user's account has UF_DONT_REQUIRE_PREAUTH set.
1080 o Steve French <sfrench@us.ibm.com>
1081 * Valgrind fixes in mount.cifs.
1084 o Volker Lendecke <vl@samba.org>
1085 * Fix crash bug in the Solaria ACL VFS module caused by
1086 uninitialized variables.
1089 o Herb Lewis <herb@samba.org>
1090 * Update connection structure definition for tdbtool display
1094 o Derrell Lipman <derrell@samba.org>
1095 * BUG 4601: Fix smbc_getxattr() to properly return the required
1096 size of the buffer needed to contain the extended attributes.
1097 * BUG 4599: Fix failure when setting attributes.
1098 * BUG 4634: Type of the size parameter to getpeername in
1099 libsmbclient code was wrong.
1100 * Fix libsmbclient interaction with links on Vista and properly
1101 detect non-NTSTATUS errors.
1104 o Jim McDonough <jmcd@us.ibm.com>
1105 * BUG 4630: Fix special case of unix_to_nt_time() for TIME_T_MAX
1106 and the output from http_timestring().
1109 o Stefan Metzmacher <metze@samba.org>
1110 * Merge gdb_backtrace script changes form SAMBA_4_0.
1113 o Lars Mueller <lars@samba.org>
1114 * Allow idmap_ldap to be built as a shared lib.
1117 o James Peach <jpeach@apple.com>
1118 * BUG 4426: Move FAM libraries from smbd to vfs_fam_notify.
1119 * BUG 2287: Replace unnecessary AC_TRY_RUN with AC_TRY_LINK.
1120 * BUG 4589: Fix typo in pdbedit output.
1123 o Simo Sorce <idra@samba.org>
1124 * Short circuit Unix Users and Unix Groups Domain SID checks
1125 in smbd to avoid unnecessary calls to winbindd.
1127 --------------------------------------------------
1128 ==============================
1129 Release Notes for Samba 3.0.25
1131 ==============================
1133 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24
1134 series which means that a substantial amount of development has
1135 occurred and many new features have been added since the last
1136 Samba production release. We would like to thank everyone in
1137 the Samba community that help to test the preview snapshots and
1138 release candidates. We believe that the this production release
1139 is in much better shape due to your help.
1141 Major features included in the 3.0.25 code base include:
1143 o Significant improvements in the winbind off-line logon support.
1144 o Support for secure DDNS updates as part of the 'net ads join'
1146 o Rewritten IdMap interface which allows for TTL based caching and
1147 per domain backends.
1148 o New plug-in interface for the "winbind nss info" parameter.
1149 o New file change notify subsystem which is able to make use of
1151 o Support for passing Windows security descriptors to a VFS
1152 plug-in allowing for multiple Unix ACL implements to running side
1153 by side on the Same server.
1154 o Improved compatibility with Windows Vista clients including
1155 improved read performance with Linux servers.
1156 o Man pages for IdMap and VFS plug-ins.
1158 Security Fixes included in the Samba 3.0.25 release are:
1161 Versions: Samba 3.0.23d - 3.0.25pre2
1162 Local SID/Name translation bug can result in
1163 user privilege elevation
1166 Versions: Samba 3.0.0 - 3.0.24
1167 Multiple heap overflows allow remote code execution
1170 Versions: Samba 3.0.0 - 3.0.24
1171 Unescaped user input parameters are passed as
1172 arguments to /bin/sh allowing for remote command
1176 Off-line Logons and AD Site Support
1177 ===================================
1179 Winbind's capability to support offline logons has been greatly
1180 improved with the 3.0.25 release including support for locating
1181 domain controllers asynchronously using Active Directory Site
1185 New IdMap Interface for Winbindd
1186 ================================
1188 The 3.0.25 release of Samba includes a rewritten IdMap interface
1189 for winbindd which replaces the "idmap backend" parameter. Please
1190 refer to the "idmap domains" description in the smb.conf(5) man
1191 page for more details.
1197 The "net ads join" command is now able to register the host's DNS A
1198 records with Windows 2000 SP4 and 2003 DNS servers. This
1199 feature must be enabled at compile time using the --with-dnsupdate
1200 when running the ./configure script. There is also a related "net ads
1201 dns" command for refreshing a host's records which could be launched
1202 from a dhcp client script when a new IP address is obtained.
1205 Support for Additional ACL Modules
1206 ==================================
1208 Samba's POSIX ACL support has been moved inside of the VFS layer
1209 which means it is now possible to support multiple ACL implementations
1210 on the same server including NFSv4 and GPFS ACLs.
1213 VFS ReadAhead Plugin
1214 ====================
1216 Windows Vista introduces pipe-lined read support for improved
1217 performance when transferring files. The new vfs_readahead plugin
1218 allows Linux file servers to utilize additional Kernel buffers
1219 for caching files in order to avoid Disk I/O wait time when serving
1220 Vista clients. If you experience poor read performance between
1221 Linux servers and Vista clients, please test the vfs_readahead
1222 module by adding the following lines to the share definition
1226 vfs objects = readahead
1228 Note that this plugin will result in additional RAM requirements
1229 due to the increased amount of kernel buffer caches used by smbd.
1230 Please refer to vfs_readahead(8) for more information.
1233 Windows Vista, Office 2007, and Offline Files
1234 =============================================
1236 Research surrounding offline files, Windows Vista, and Microsoft
1237 Office 2007 has revealed a incompatibility between these
1238 applications and the "map acl inherit = no" setting in smb.conf.
1239 Users requiring support client side caching (csc) and offline
1240 files are encouraged to enable the "map acl inherit" for any
1241 affected share definitions in the server's configuration.
1242 Future versions of Samba will enable this setting by default.
1244 Please refer to the smb.conf(5) man page for more details on
1248 ######################################################################
1255 Parameter Name Description Default
1256 -------------- ----------- -------
1257 change notify timeout Removed n/a
1258 change notify New Yes
1259 debug prefix timestamp New No
1260 fam change notify Removed n/a
1261 idmap domains New ""
1262 idmap alloc backend New ""
1263 idmap cache time New 900
1264 idmap negative cache time New 120
1265 kernel change notify Per share Yes
1266 lock spin count Removed n/a
1267 max stat cache size Modified 1024KB
1268 msdfs root Modified no
1269 printjob username New %U
1270 winbind normalize names New no
1275 Changes since 3.0.25rc3
1276 -----------------------
1279 o Jeremy Allison <jra@samba.org>
1280 * Fix memory corruption bug during string processing.
1281 * Instantiate idiom that malloc/tallocs of array of 0 elements
1283 * Fix marshalling bugs in samr code based on incorrect
1285 * Fix DFS MS-RPC enumeration reply when we have no DFS shares.
1286 * Fix memory corruption when enumerating accounts in the
1287 LsaPrivilege database.
1288 * Fixes for CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447.
1291 o Gerald (Jerry) Carter <jerry@samba.org>
1292 * Fix memory corruption when adding/removing members from Local
1296 o Guenther Deschner <gd@samba.org>
1297 * Prevent leaking on full NET_USER_INFO_3 structure memory on each
1299 * Plug memory leak in client SPNEGO session setup code.
1300 * Don't clear cached U/SID and UG/SID entries when we want to
1304 o Steve French <sfrench@us.ibm.com>
1305 * Allow prepaths in mount.cifs.
1306 * Don't prompt for a password in mount.cifs when sec=none has been
1310 o Steve Langasek <vorlon@debian.org>
1311 * BUG 4600: Fix compilation of --with-python.
1314 o Volker Lendecke <vl@samba.org>
1315 * Fix memory corruption bug in string_replace().
1316 * Fix valgrind error in parse_domain_user().
1317 * Fix compilation of explicit --without-winbind.
1318 * Fix an uninitialized variable and other compiler warnings.
1319 * Fix memory leak in smbd's claim session code.
1320 * BUG 4613: Fix incorrect password expiration caused by stomping on
1321 the time values in the NET_USER_INFO_3 for remote users.
1322 * Fixes for CVE-2007-2446.
1325 o Stefan Metzmacher <metze@samba.org>
1326 * Add AC_GNU_SOURCE macro in libreplace for systems which don't have it.
1327 * Fix libreplace compiler warnings.
1330 o Jens Nissen <jens.nissen@gmx.net>
1331 * Fix memory leak on the file/directory ACL processing code.
1334 o Simo Sorce <idra@samba.org>
1335 * Memory allocation cleanups and sanity checks after the malloc(0)
1337 * Fix socket leak in idmap_ldap.c.
1338 * Fix failure in "net idmap restore".
1339 * Fix crash bug in idmap_ldap's get_credentials() code.
1340 * Fixes for CVE-2007-2446.
1343 o Alison Winters <alisonw@sgi.com>
1344 * Add missing return calls in sendfilereadbraw.
1347 Changes since 3.0.24
1348 --------------------
1354 o Michael Adam <ma@sernet.de>
1355 * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.
1356 This makes the difference between the get and set calls for
1357 SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE.
1358 * Prevent collision from config.h created by stand alone component
1362 o Jeremy Allison <jra@samba.org>
1363 * Fix CIFS POSIX unlink behavior.
1364 * Change POSIX_UNLINK to allow clients to differentiate between
1366 * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
1367 * Refactor MS-DFS server and client code.
1368 * Support deep MS-DFS referrals in Samba client applications.
1369 * Change the VFS interface to use struct timespec for utimes.
1370 * Fix build failures on *BSD platforms caused by introduction of
1372 * Optimize exit path in the byte-range locking code in smbd to
1373 only read the locking db if there are outstanding lock requests.
1374 * Fix long-standing bug in our chain processing code.
1375 * BUG 4384: Fix bug in old search code.
1376 * Add support for the UNIX_INFO2 info level.
1377 * Add in the "create info" field to the reply from POSIX_OPEN
1379 * Refactor the sessionsetupX code a little to allow us to return
1380 a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
1381 * Fix memory leaks in the LDAP sasl bind code.
1382 * Fix crash in vfs audit/full audit modules caused by API changes.
1383 * Fix connection problem between pre-3.0.25 smbclient and new DFS
1385 * Fix valgrind errors in credentials.c.
1386 * Fix logic error in CIFS POSIX extensions for open() and mkdir().
1387 * Fix if logic error when checking for password resets of machine
1388 trust accounts in Samba's passdb.
1389 * Ensure we use the same technique to pull the share mode data out
1390 that locking.c does.
1391 * Fixes buffer parsing in the server side Lanman and RAP calls.
1392 * Fix GetPrinter() info level 3 to fix displaying and setting
1393 security descriptors on printers from WinXP x86_64 clients.
1394 * Return correct error code to the trans2 GetDfsReferral() request
1395 from Vista clients (fixes listing share contents in the Vista
1397 * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
1399 * Consolidate the become_root_uid_only() calls to only use
1401 * Add vfs_readahead module to deal with the pipe-lined reads
1403 * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
1404 clients trying to utilize offline file support.
1405 * BUG 4494: Make sure to fail immediately if sendfile fails and
1406 don't continue on to call chain_reply() (based on report from
1408 * Remove tdb.h from the libsmbsharemodes.so header file.
1409 * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
1411 * Add initial version to winbindd_cache.tdb file. Automatically
1412 delete existing non-versioned cache files.
1413 * Fix the storage size of time_t in winbindd_cache.tdb to be 8
1415 * Cope with signature errors on sessionsetupX logins where the
1416 server just reflects our signature back to us. Allow the upper
1417 layer to see the real error.
1418 * BUG 4512: Limit the volume label for a share to 32 UNICODE
1420 * Allow arbitrary bases in int and ulong parsing in smb.conf.
1421 * Fix off-by-one error in tconX parsing.
1422 * Winbind off-line logon fixes.
1423 * Support for AD sites when locating domain controllers.
1424 * Fix libsmbclient bug with Konqueror and NetApp filers that need
1425 a leading / in OpenAndX calls.
1426 * BUG 4187: Possible crash in signing on/off code.
1427 * Fix memory leaks in pam_winbind.c.
1428 * Fix a bug in the sequence number store/fetch routines in
1430 * Fix the problem with Linux clients requesting O_WRONLY on write-only
1432 * Fix a class of memory allocation bugs in the handling of user tokens.
1433 * Fix crash bug in winbindd caused by a bug in the messaging dispatch
1435 * Fix memory bloat in trans calls caused by talloc()'ing memory off the
1437 * Fix wildcard renames with SMBmv.
1438 * Fixes for pathname handling code.
1439 * Add in the wdel smbclient command to perform wildcard deletes.
1440 * Fix a bug that causes smbd to 'hang' intermittently while updating
1441 the trusted domain cache.
1442 * Cleanup error path processing in reduce_name().
1443 * Fixes for smbtorture tests (BASE-DELETE, ...)
1444 * Delete on close fixes ("I completely understand it this time").
1445 * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
1447 * More fixes for Unix Extensions include support for POSIX locking.
1448 * NTLMv2 fixes for Vista clients.
1449 * Add an optimized lookup for Domain Users and only report the current
1450 user (which is generally what the calling application wants to know
1452 * Fixes for supporting the Vista backup utility based on work by Joe
1453 Meadows <jameadows@webopolis.com>.
1454 * Fix 4377: Fix rename of "foo" -> "Foo".
1455 * BUG 4188: Fix for Vista delete directory bug.
1456 * BUG 4400: Add support for processing large Krb5 tickets in SMB
1457 sesssetup&X. Based on work by <todd.stecher@isilon.com>.
1458 * Fix trans2 file size reporting for Linux CIFS client.
1459 * Allow Well-Known and Local Groups to be stored in POSIX ACLs
1460 as long as there is a SID/gid mapping entry available.
1461 * Fix memory corruption bug in the CIFS POSIX open/mkdir.
1462 * BUG 4536: Correctly delete symlinks pointing to a directory.
1465 o Danilo Almeida <dalmeida@centeris.com>
1466 * Add additional debug support for pam_winbind.
1467 * Add support for listing multiple groups in pam_winbind's
1468 require-membership-of option which act as a logical OR.
1471 o Andrew Bartlett <abartlet@samba.org>
1472 * Ensure debug messages from tools print the correct config file
1473 location if the file was defined as a command line option.
1476 o Andrew Benham <andrew.benham@thus.net>
1477 * BUG 4290: Properly compute time to password expiration in message
1481 o Alexander Bokovoy <ab@samba.org>
1482 * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
1483 * Add GPFS-provided DMAPI support
1486 o Kai Blin <kai.blin@gmail.com>
1487 * Match Windows NTLMSSP flags.
1490 o Gerald (Jerry) Carter <jerry@samba.org>
1491 * Implement pluggable "winbind nss info" interface.
1492 * Removal of unmaintained smbwrapper utility.
1493 * Fix server affinity bugs in the 'net ads join' code to include
1494 support for AD sites.
1495 * Implement DDNS update client code.
1496 * Upper case the host/sAMAccountName in the keytab file.
1497 * Fix lookupname call in winbindd when joined to a child domain and
1498 trying to resolve a SID in a sibling domain.
1499 * Fix password changes against a Windows 2000 DC using pam_winbind.
1500 * Fix crash in "pdbedit -L -w"
1501 * Add "winbind normalize names" option.
1502 * BUG 4093: Make %a resolve correctly for Windows Vista and Windows
1504 * Printing fixes for Windows Vista.
1505 * Protect the sasl bind against a NULL principal string in the
1507 * Fix some "cannot access LDAP when no root" bugs.
1508 * NSS and PAM fixes on AIX.
1509 * Cached credentials and Krb5 ticket renewal fixes in winbindd.
1510 * Fix server affinity bug in Winbind's ADS connection handling.
1511 * Fix crash when enumerating local group membership in usrmgr.exe
1513 * Rework parsing for NetFileEnum() and NetSessionEnum()
1514 * Add server stub for NetFileClose()
1515 * Return correct information for sessions and open files
1516 including session duration, number of open files, and open pipes.
1517 * Fixes for "winbind normalize names" functionality:
1518 - Fix getgroups() call called using a normalized name
1519 - Fix some more name mappings that could cause for example
1520 a user to be unable to unlock the screen as the username
1521 would not match in the PAM authenticate call.
1522 * Blacklist BUILTIN and MACHINE domains from the idmap domains as
1523 these should only be handled by the winbindd_passdb.c backend.
1524 * Allow the alloc init to fail for backwards compatible
1525 configurations such as with idmap_ad.
1526 * Remove the deprecated flags from idmap backend, et. al. These
1527 are mutually exclusive with the "idmap domains".
1528 * Add the osname and osver options to 'net ads join'
1529 * Ensure winbindd honors the "idmap domains" option and not
1530 default to idmap_tdb.
1531 * Fix memory corruption caused by calling free() on talloc()'d
1532 memory when adding and removing users from local groups.
1533 * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
1534 the schema_mode option when using "winbind nss info = template".
1535 * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
1536 idmap alloc backend has been defined. Do not defined a default
1538 * Fix "make install" to include creating the links between
1539 idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
1540 * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
1542 * BUG 4508: Remove potential loops in the idmap API by requiring
1543 the caller defined the SID type rather than having the idmap layer
1544 call back up to determine the SID type when allocating
1546 * Don't inherit the offline flag for winbindd_domains that have
1547 not been initialized yet.
1548 * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
1549 * Fix deadlock and timeout conditions in idmap_rid.
1552 o Steven Danneman <steven.danneman@isilon.com>
1553 * Memory leak fixes.
1554 * Fix core dump when config file in same directory.
1557 o Mathias Dietz <mdietz@de.ibm.com>
1558 * Initial implementation of the GPFS VFS module.
1559 * Work on NFSv4 ACL VFS plugin.
1560 * Add support for share modes to the GPFS VFS plugin.
1563 o Guenther Deschner <gd@samba.org>
1564 * Winbind off-line logon fixes.
1565 * Support for AD sites when locating domain controllers.
1566 * Various fixes for 'net ads' user management functions.
1567 * Add an CLDAP client written in Perl.
1568 * Cleanups to the Krb5 ticket refresh code in winbindd.
1569 * Fixes for various error messages from pam_winbind when password
1570 policies are being enforced.
1571 * Implement grace logons for offline authentications in pam_winbind.
1572 * Fixes for idmap_ad.
1573 * Memory leak fixes.
1574 * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
1575 with short lived service tickets
1576 * Implement basic AD group policy library
1577 * Adding experimental krb5 lib locator plugin.
1578 * Ensure that Samba clients are correctly reported by the %a
1579 smb.conf as "Samba" and not "Vista".
1580 * Prevent a user from issuing a PAM_DELETE_CREDS request in
1581 pam_close_session() for another user.
1582 * Fix tdb keynames in netsamlogon_clear_cached_user().
1583 * Add missing proto_exists dependency for the Winbind NSS target
1585 * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
1586 * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
1587 * Memory allocation error checks in libgpo.
1590 o Steve French <sfrench@us.ibm.com>
1591 * Fix mount.cifs compile on old libc missing bind mount #define.
1594 o SATOH Fumiyasu <fumiyas@osstech.co.jp>
1595 * Fix memory leaks in the error paths used by winbindd's credential
1597 * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
1598 * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
1601 o Krishna Ganugapati <krishnag@centeris.com>
1602 * Implement DDNS update client code.
1605 o YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
1606 * BUG 4346: Fix type reported for hidden shares via MS-RPC.
1609 o David Hu <david.hu@hp.com>
1610 * BUG 4267: Fix memory leaks in ldapsam.
1613 o Bjoern Jacke <bj@sernet.de>
1614 * BUG 4244: Limit stat cache to a default of 1MB.
1617 o William Jojo <jojowil@hvcc.edu>
1618 * BUG 3713: Re-add reporting what the profiles tool does (-v).
1619 * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
1620 * BUG 4447: Fix compile failure on AIX 5.2.
1623 o Taj Khattra <taj.khattra@gmail.com>
1624 * Fix missing lock count release in transaction cancel.
1627 o Zack Kirsch <zack.kirsch@isilon.com>
1628 * Fix memory leaks on some error paths.
1629 * Memory leak fixes on error paths in various places.
1632 o Derrell Lipman <derrell@samba.org>
1633 * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
1634 * BUG 4309: Prevent netbios keepalive on port 445 which causes
1635 Vista to disconnect Samba clients.
1636 * Ensure that the libsmbclient example programs link with the
1637 libsmbclient library that's part of the current tree.
1640 o Volker Lendecke <vl@samba.org>
1641 * Replace snum references with a structure based array.
1642 * Allow changing of the hashsize when running tdbbackup.
1643 * Implement secure DDNS update code
1644 * Klocwork, Coverity, and IBM Checker fixes.
1645 * BUG 4273: Fix crash in 'net rpc vampire'
1646 * Refactor older SMB file serving code.
1647 * Refactor open directory file serving code.
1648 * Implement support for inotify when serving CIFS change notification
1649 requests (includes merge work from SAMBA_4_0).
1650 * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
1651 RAW-UNLINK, RAW-CLOSE, ...)
1652 * Refactor delete on close file server code.
1653 * MS-DFS fixes for Vista clients.
1654 * BUG 4372: Long timeout in LDAP setup when accessing files after
1656 * Change the static array for the in-memory mirrors of the hash chain
1657 locks to a dynamically allocated one.
1658 * Use inotify for file change notification on Linux.
1659 * Revert "msdfs root" to default to "no".
1660 * Refactor AIO code.
1661 * Fix memory leaks when returning user lists to clients via SAMR calls.
1662 * BUG 4365: Fix NTLMv2 implementation on Samba member servers not
1664 * Reduce contention on the tdb free list by periodic reclamation
1665 of dead tdb records into groups
1666 * Split tdb free lists per hash chain.
1668 * Add winbindd_priv_request_response() request that kills the
1669 existing winbind pipe connection if it's not privileged to prevent
1670 race conditions during the challenge/response authentication sequence.
1671 * BUG 4460: Fix compile error in winbind_nss_irix.c.
1672 * Fix Coverity bug reports.
1673 * Fixes buffer parsing in the server side Lanman and RAP calls.
1676 o David Leonard <dleonard@vintela.com>.
1677 * Fix file descriptor leak from an error path in winbindd.
1678 * BUG 4369: Fix smbclient's showacls on files in subdirectories.
1681 o Herb Lewis <herb@samba.org>
1682 * Cleanups to sharesec utility.
1683 * Compiler warning cleanups.
1684 * Compiler warning fixes.
1685 * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
1687 * Add "debug prefix timestamp" to allow syslog type timestamps to be
1688 added in the Samba log files.
1689 * Fix compile error in nmbd_incomingdgrams.c.
1690 * Allow profiling level to be set on startup.
1693 o Ying Li <ying.li2@hp.com>
1694 * Use the default tdb idmap plugin when neither idmap domains
1695 nor idmap backend have been defined.
1698 o Jason Mader <jason@ncac.gwu.edu>
1699 * Various compile warning fixes.
1700 * Initial patch set for strptime() in libreplace.
1703 o Don McCall <don.mccall@hp.com>
1704 * Fix compile bug in vfs_default on platforms without utimes().
1705 * HP-UX compile fixes.
1708 o Jim McDonough <jmcd@us.ibm.com>
1709 * Bug fixes for GPFS VFS module.
1710 * Fix "password never expires" policy which would be incorrectly
1711 require all users to change their password at login time.
1712 * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
1714 * Fix crate_user() access checks when setting the "User Cannot
1715 Change Password" flag.
1718 o Stefan Metzmacher <metze@samba.org>
1719 * POSIX ACL compile warning fixes.
1720 * Fix --with-fhs, where confdir is set to \${sysconfdir} but
1721 sysconfdir wasn't defined in the Makefile.
1722 * Add localstatedir to configure.in for completeness.
1723 * BUG 4496: Fix libreplace failure on ulibc systems.
1724 * Merge numerous libreplace fixes from the SAMBA_4_0 code base
1725 (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
1726 * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
1727 * Portability fixes for dlopen() (merge from SAMBA_4_0)
1728 * Sync libreplace (merge from SAMBA_4_0)
1731 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
1735 o Gomati Mohanan <gomati.mohanan@in.ibm.com>
1736 * Work on NFSv4 ACL VFS plugin.
1739 o Lars Mueller <lars@samba.org>
1740 * Provide better feedback about deprecated use of multiple passdb
1741 backends. Use the first backend to have at least this one working.
1742 * Fix make install to include smbmount, et. al. docs.
1743 * Merge more proto_exists dependency fixes from SAMBA_3_0.
1744 * Makefile cleanups.
1745 * Log the reason for failures when not creating a core file on a
1746 crash due to restrictive permissions on the log file directory.
1749 o James Peach <jpeach@apple.com>
1750 * Replace exit_server with exit_server_cleanly where appropriate.
1751 * Add docs for VFS modules.
1752 * Portability fixes for autoconf and character set modules on
1754 * Only attempt to reload the config file after the fork point
1755 if we are in daemon mode.
1756 * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
1757 * Changing the FindFirst response for the UNIX_INFO2 level to
1758 include a length field before the name.
1759 * Add call to chflags(2) in the default VFS module.
1762 o Andy Polyakov <appro@fy.chalmers.se>
1763 * Pull the CUPS comment and location attributes when not overridden
1764 by values stored in Samba's ntprinters.tdb.
1765 * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF
1766 header parsing code in smbd.
1769 o J Raynor <raynorj@mn.rr.com>
1770 * Make sure we are privileged when doing DMAPI operations on systems
1771 that don't have capability support.
1774 o Jorge Santos <jorge_a_santos@hotmail.com>
1775 * BUG 4500: Fix compile bug in quota.c.
1778 o Jiri Sasek <jiri.sasek@sun.com>
1779 * Fix incorrect Krb5 linking on Solaris.
1780 * Fix possible NULL dereference in adt_tree.c
1783 o Karolin Seeger <ks@sernet.de>
1784 * Fix a compile problem in shadow_copy_test.c.
1785 * Add 'net sam policy' commands.
1786 * Fixes for "net usershare" and "guest_ok=y"
1789 o Robert Shearman <rob@codeweavers.com>
1790 * Allow NULL domain and username in the form of user@domain to be
1791 interpreted correctly by ntlm_auth for use by Wine applications.
1794 o Simo Sorce <idra@samba.org>
1795 * Remove redundant log messages from idmap_ad.c.
1796 * BUG 3974: Fix ambiguity between the -N option and the -T
1798 * Fix linking flags used when creating shared libraries.
1799 * Offline logon fixes in the idmap backend manager.
1800 * Cleanup initialization code in the sfu and rfc2307 nss_info
1801 plugins to protect against a crash if called before the idmap_ad
1802 module has been initialized.
1803 * Protect against crashes in get_dc_name() in the idmap_ad code
1804 when we are working offline.
1805 * BUG 4438, 4440: Fix bugs in "net sam provision".
1806 * Initial implementation of new IdMap interface.
1807 * Fix crash in pam_winbind caused by referencing a pointer after the
1808 memory had been freed.
1809 * Implement escaping function for ldap RDN values.
1812 o Peter Somogyi <SOMOGYI@de.ibm.com>
1813 * Work on NFSv4 ACL VFS plugin.
1816 o Andrew Tridgell <tridge@samba.org>
1817 * Fix an integer overflow in the ndr library code used by PIDL.
1820 o Jelmer Vernooij <jelmer@samba.org>
1821 * Implement support for IDL autogenerated code to
1822 handle the MS-RPC parsing functions.
1825 o Don Watson <dwwatson@us.ibm.com>
1826 * Fixes for 'net rpc vampire' and the guest account
1829 o Martin Zielinski <mz@seh.de>
1830 * Printing fixes for Windows Vista clients.
1833 --------------------------------------------------
1834 ==============================
1835 Release Notes for Samba 3.0.24
1837 ==============================
1840 Important issues addressed in 3.0.24 include:
1842 o Fixes for the following security advisories:
1843 - CVE-2007-0452 (Potential Denial of Service bug in smbd)
1844 - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
1845 NSS library on Solaris)
1846 - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
1849 ######################################################################
1853 Changes since 3.0.23d
1854 ---------------------
1859 o Jeremy Allison <jra@samba.org>
1860 * Fix for CVE-2007-0452 & CVE-2007-0454
1863 o Olivier Gay <ouah@ouah.org>
1864 * Fix for CVE-2007-0453
1867 o Volker Lendecke <vl@samba.org>
1868 * Fix for CVE-2007-0452
1871 --------------------------------------------------
1872 ===============================
1873 Release Notes for Samba 3.0.23d
1875 ===============================
1877 This is the latest stable release of Samba. This is the version
1878 that production Samba servers should be running for all current
1879 bug-fixes. Please read the changes in this section and for the
1880 original 3.0.23 release regarding new features and difference
1881 in behavior from previous releases.
1883 Important issues addressed in 3.0.23d include:
1885 o Stability fixes for winbindd
1886 o Portability fixes on FreeBSD and Solaris operating systems.
1888 ######################################################################
1892 Changes since 3.0.23c
1893 ---------------------
1898 o Jeremy Allison <jra@samba.org>
1899 * Changes to ntlm_auth to better support Firefox's NTLM
1901 * Make the "max usershares" parameter an advisory limit.
1902 * BUG 4095: Cleanup bad substitution causing the username
1903 to be translated to domain\user twice in spnego path.
1904 * BUG 4097: Ensure all pdb_XXX calls are wrapped in
1905 [un]become_root() pairs.
1906 * Ensure we always return the canonicalized name
1907 * Add in fixes to mangling dir code.
1908 * Do not assume that gencache can always be opened for RW access.
1910 * Always initialize variables in winbindd request/response
1912 * Fix libsmbclient bug with Konqueror and NetApp filers that
1913 need a leading / in OpenAndX calls.
1914 * Added showacls toggle in the smbclient code.
1915 * Add a suffix to the pidfile's program name if this is a process
1916 with a non-default configuration file name.
1917 * Fix protection from invalid struct tm values.
1918 * BUG 4187: Possible crash in signing on/off code.
1919 * BUG 4214: Fix crash bug in find_forced_group().
1920 * BUG 4224: Fix enforcement of the deadtime parameter.
1923 o Timur Bakeyev <timur@com.bat.ru>
1924 * BUG 3856: Set the nss soname version on FreeBSD.
1925 * BUG 4109: Fix bug causing smbd to turn off winbindd and
1926 fail to disable the _NO_WINBIND environment.
1927 * BUG 3868: Prevent --with-aio-support from trimming the
1928 $LIBS variable in configure.in.
1931 o Dmitry Butskoy <dmitry@butskoy.name>
1932 * BUG 4075: Allow smbd to use winbindd to lookup uids/gids
1933 outside the idmap range if 'winbind trusted domains
1937 o Gerald (Jerry) Carter <jerry@samba.org>
1938 * Fix primary group lookup failures. Use the Get_Pwnam_alloc()
1939 call to ensure it finds the Unix user first.
1940 * Only grant privs to Administrators if privileges are enabled
1941 to avoid bogus error messages in the logs.
1944 o Alex Deiter <tiamat@komi.mts.ru>
1945 * BUG 3524: Fix for quota support on Solaris.
1948 o Guenther Deschner <gd@samba.org>
1949 * Close socket when the CLDAP request has failed.
1950 * Memory leak fixes in the libads/ldap.c code.
1951 * Printer publishing fixes for "net ads".
1952 * Fix error code returns in the CLDAP client code.
1953 * Do not anonymously query for AD schema items in winbindd.
1954 * Protect against storing null-sids in the winbind cache.
1955 * Fallback to non-paging LDAP searches for anonymous bound
1957 * More workarounds when nscd.
1958 * Fix error code typoe in the GetDcName() netlogon call
1959 (including two new error codes).
1960 * Fix valgrind warnings in pam_winbind
1961 * Add two missing refresh_sequence_number calls where they are
1962 missing just before writing to the winbind cache tdb.
1963 * Attempt to locate a valid domain controller before prompting
1964 for credentials in "net ads".
1965 * Set 35 second timeout in winbindd's netlogon code when sending
1967 * Stop "net ads {user,group} delete" from doing funny things.
1968 * Fix container handling for "net ads user" and "net ads group"
1970 * Fix various memleaks and seg faults in "net ads {user,group}".
1973 o Udo Eberhardt <udo.eberhardt@thesycon.de>
1974 * BUG 4100: Fix crash in the server spooler code by initializing
1975 values for smb_io_notify_info_data_strings.
1978 o Olaf Flebbe <o.flebbe@science-computing.de>
1979 * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
1982 o David Hu <david.hu@hp.com>
1983 * BUG 4212: Fix memleak in the default_ou_string handling.
1986 o Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
1987 * BUG 4229: Compile fix for systems without kerberos.
1990 o Volker Lendecke <vl@samba.org>
1991 * NTLMSSP LanMan session key fixes.
1992 * Various potential seg fault fixes.
1993 * Extra logic in share access checks for bad smb.conf parameter
1995 * Fixes to allow smbclient to connect to Vista RC1 workstations.
1996 * Fix bad search filter in ldapsam when enumerating group
2000 o Jim McDonough <jmcd@us.ibm.com>
2001 * Correctly handle the password expiration policy on Samba DCs.
2004 o Nils Nordman <nils.nordman@nordman.org>
2005 * BUG 4085: Allow smbpasswd to change expired passwords on
2009 o Simo Sorce <idra@samba.org>
2010 * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
2011 * Better fqdn handling when parsing the /etc/hosts file.
2012 * Fix crash bug in pam_winbind.
2014 o Andrew Tridgell <tridge@samba.org>
2015 * Fix string alignment problem in password change code.
2019 * BUG 4211: Logic error when enforcing "acl group control"
2023 Release Notes for older release follow:
2025 --------------------------------------------------
2026 ===============================
2027 Release Notes for Samba 3.0.23c
2029 ===============================
2031 We would like to thank the developers of the Saturn code analysis
2032 tool from Stanford University (http://glide.stanford.edu/saturn).
2033 This release includes several code fixes based on its reports.
2035 Common bugs fixed in 3.0.23c include:
2037 o Authentication failures in pam_winbind when the AD domain
2038 policy is set to not expire passwords.
2039 o Authorization failures when using smb.conf options such
2040 as "valid users" with the smbpasswd passdb backend.
2043 RID Algorithms & Passdb
2044 =======================
2046 Starting with the 3.0.23c release, the officially supported passdb
2047 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
2048 with regards to the historical RID algorithm for unmapped users
2049 and groups (i.e. accounts not in the passdb or group mapping table).
2050 The resulting behavior is that all unmapped users are resolved
2051 to a SID in the S-1-22-1 domain and all unmapped groups resolve
2052 to a SID in the S-1-22-2 domain. Previously, when using the
2053 smbpasswd passdb, such users and groups would resolve to an
2054 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
2055 However, the smbpasswd backend still utilizes the RID algorithm
2056 when creating new user accounts or allocating a RID for a new
2057 group mapping entry.
2059 With the changes in the 3.0.23c release, it is now possible to
2060 resolve a uid/gid, name, or SID in any direction and always obtain
2061 a symmetric mapping. This is important so that values for smb.conf
2062 parameters such as "valid users" resolve to the same SIDs as those
2063 included in the local user's initial token.
2065 Most installations will notice no change. However, because
2066 an unmapped account's SID will now change even when using
2067 smbpasswd it is possible that any security descriptors on files
2068 previously copied from a Samba host to a Windows NTFS partition
2069 may now fail to give access. The workaround is to either manually
2070 map all affect groups (or add impacted users to the server's
2071 passdb) or to manually reset the file's ACL.
2074 ######################################################################
2078 Changes since 3.0.23b
2079 ---------------------
2083 o Michael Adam <ma@sernet.de>
2084 * Fix incorrect logic in internal_resolve_name() caused by if
2088 o Jeremy Allison <jra@samba.org>
2089 * Don't store a NULL SID in winbindd's offline cache.
2090 * Ensure we store the offline password hash in the correct format.
2091 * OS/2 fixes for large Extended Attributes data.
2092 * Fix nmbd crashes caused by miscalculation in pushing
2094 * Handle times consistently across all client utils including
2096 * Fix a file descriptor leak in nmbd sync DNS lookup code.
2097 * Fix inconsistency found in checking for NULL in DLIST_REMOVE
2099 * Pointer dereference fixes based on the Saturn analysis tool.
2100 * Fix memory leak in the AD DC lookup code.
2103 o Gerald (Jerry) Carter <jerry@samba.org>
2104 * RHEL4 and Fedora packaging updates.
2105 * Remove RID algorithm support for unmapped users and groups
2106 when using an smbpasswd backend.
2107 * Extend the NT token for local users' with the S-1-22-2
2108 SID for each supplementary group
2109 * BUG 3969: Fix unsigned time comparison with expiration
2111 * Merge Guenther's fixes from the SuSE SLES10 tree to ensure
2112 that winbindd talks to the correct DC when servicing PAM
2113 authentication requests.
2114 * Do not use the generic IP address sort routines for AD DCs
2115 since the SRV lookup include a sorting algorithm based
2116 on priority and weight.
2117 * Fix our DNS SRV lookup code to deal with multi-homed hosts.
2118 * More changes to ensure that the primary group SID for
2119 a local user is based on the primary Unix group and not the
2120 primaryGroupSID passdb attribute.
2121 * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain
2122 to the SID<->uid/gid cache.
2125 o Guenther Deschner <gd@samba.org>
2126 * Fix msdfs RPC client and server management RPCs.
2127 * Align idmap_ad with the current idmap_methods interface.
2130 o Volker Lendecke <vl@samba.org>
2131 * Re-add support for "username level" when looking up the
2132 matching Unix user for an smbpasswd entry.
2136 o Simo Sorce <idra@samba.org>
2137 * Let innetgr() work without binding its use to a
2138 NIS domain to support netgroups in local files.
2141 o Ben Winslow <rain@bluecherry.net>
2142 * Allow client smb signing to be turned off correctly.
2145 --------------------------------------------------
2146 ===============================
2147 Release Notes for Samba 3.0.23b
2149 ===============================
2151 Common bugs fixed in 3.0.23b include:
2153 o Ambiguity with unqualified names in smb.conf parameters
2154 such as "force user" and "valid users".
2155 o Errors in 'net ads join' caused by bad IP address in the list
2156 of domain controllers.
2157 o SMB signing errors in the client and server code.
2158 o Domain join failures when using smbpasswd on a Samba PDC.
2161 Member servers, domain accounts, and smb.conf
2162 =============================================
2164 Since Samba 3.0.8, it has been recommended that all domain accounts
2165 listed in smb.conf on a member server be fully qualified with the
2166 domain name. This is now a requirement. All unqualified names are
2167 assumed to be local to the Unix host, either as part of the server's
2168 local passdb or in the local system list of accounts (e.g. /etc/passwd
2171 The reason for this change is that smbd has transitioned from
2172 access checks based on string comparisons to token based
2173 authorization. All names are resolved to a SID and then verified
2174 against the logged on user's NT user token. Local names will
2175 resolve to a local SID, while qualified domain names will resolve
2176 to the appropriate domain SID.
2178 If the member server is not running winbindd at all, domain
2179 accounts will be implicitly mapped to local accounts and their
2180 tokens will be modified appropriately to reflect the local
2181 SID and group membership.
2183 For example, the following share will restrict access to the
2184 domain group "Linux Admins" and the local group srvadmin.
2188 valid users = +"DOMAIN\Linux Admins" +srvadmin
2190 Note that to restrict the [homes] share on a member server to the
2191 owner of that directory, it is necessary to prefix the %S value
2195 security = {domain,ads}
2197 winbind separator = +
2199 valid users = DOM+%S
2203 ######################################################################
2207 Changes since 3.0.23a
2208 ---------------------
2212 o Michael Adams <ma@sernet.de>
2213 * Fix memory leaks on error paths in 'net ads join'.
2216 o Jeremy Allison <jra@samba.org>
2217 * BUG 3962: Fix memory leak when enumerating print jobs.
2218 * Fix file access flags for the Linux CIFS fs client.
2219 * Fix memory leaks in the smbclient DFS code.
2220 * BUG 3967: Fix SMB signing client bug in trans calls.
2221 * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
2222 * Added lookup_name_smbconf() to be called when looking up names
2223 from smb.conf. Unqualified names are assumed to be local.
2224 * BUG 4003: Fix SMB signing server error in NTcancel reply.
2227 o Gerald (Jerry) Carter <jerry@samba.org>
2228 * Fix a few "smbldap_open(): Cannot open when not root" bugs when
2229 viewing or modifying local group membership.
2230 * Make LsaLookupSids() reply include the full SID of unresolved
2232 * BUG 3957: Prevent returning strange DC IP addresses by zeroing
2233 memory in the SRV hostlist in case there is not an A record for
2235 * BUG 3964: normalize the case of usernames prior to getpwnam()
2236 call in the smbpasswd backend.
2237 * Cleanup the 'net ads help join' output and document createupn
2238 and createcomputer options.
2239 * Fix a regression in the ldapsam URI syntax. Allow multiple
2240 LDAP URIs to be grouped by "".
2243 o William Charles <william@charles.name>
2244 * BUG 3959: Remove rand() from SRV RR comparison to fix crashes
2248 o Guenther Deschner <gd@samba.org>
2249 * Fix memory leaks in pam_winbind.
2250 * Save the logon script path from the info3 in the PAM session
2251 allowing other PAM modules to pick it up from there.
2254 o Volker Lendecke <vl@samba.org>
2255 * BUG 3991: Fix problem with user tokens on standalone systems
2256 configured to use a username map.
2257 * Fix bug where qualified user or group names in smb.conf
2258 were assumed to use the '\' character as the winbind separator.
2260 --------------------------------------------------
2261 ===============================
2262 Release Notes for Samba 3.0.23a
2264 ===============================
2266 Common bugs fixed in 3.0.23a include:
2268 o Failure to strip the domain name from groups when 'winbind
2269 use default domain = yes'
2270 o Failure in pam_winbind to correctly parse arguments.
2271 o Bad token creation of local users on member servers not
2273 o Failure to add users or groups to ACLs using the Windows
2275 o Failure in file serving code when 'kernel oplocks = yes'.
2277 New features in 3.0.23a include:
2279 o New "createupn" option to "net ads join"
2280 o Rewritten Kerberos keytab generation when 'use kerberos
2285 ######################################################################
2289 Changes since 3.0.23
2290 --------------------
2294 o Jeremy Allison <jra@samba.org>
2295 * Fix memory leaks in the POSIX locking for for the Linux CIFS fs
2297 * Fix memory leaks in the AD schema parsing code.
2298 * Fixed bug in interaction with Linux kernel oplocks.
2301 o Gerald (Jerry) Carter <jerry@samba.org>
2302 * Rewrite the detection of the correct DES salting principal name
2303 when joining an Active Directory Domain.
2304 * Rewrite the keytab generation code based on existing SPN,
2305 UPN, and sAMAccountName attributes in the AD machine object.
2306 * Cleanup of dead code from idmap_ad.
2307 * Fix Winbind 32bit/64bit portability issues.
2308 * Fail 'net ads join' and disable the machine account if we cannot
2309 set any SPNs for ourselves.
2310 * Make sure to lower case all usernames before calling the create,
2311 delete, or rename hooks.
2312 * Preserve case for usernames in passdb
2313 * Flush the getpwnam cache after renaming a user
2314 * Add become/unbecome root block in _samr_delete_dom_user() when
2315 trying to verify the account's existence.
2316 * Changed 'net ads join' syntax for specifying an alternate
2317 OU. New syntax is createcomputer=<ou path top to bottom>.
2318 * Add createupn=[UPN] option to 'net ads join' for setting the
2319 userPrincipalName attribute.
2320 * Bug 3920: Restore winbind use default domain behavior for domain
2321 groups. This break local users and 'winbind nested groups' on
2325 o Guenther Deschner <gd@samba.org>
2326 * Don't clear the cache when starting winbindd in off line mode.
2327 * Fix errno reporting in pam_winbind debug messages.
2328 * BUG 3937: Fix segv in libnss_wins.so.
2331 o Volker Lendecke <vl@samba.org>
2332 * Fix memory leaks in the in error paths out of the CLDAP
2334 * AIX portability fixes for DNS client code.
2335 * BUG 3811, 3948: Fix alignment bug in on lsaquery.
2336 * BUG 3949: Fixed authorization issue on domain member
2337 servers not running winbindd.
2340 o Andrew Tridgell <tridge@samba.org>
2341 * Fixed a bug which caused resolve_ads() to spin forever if
2342 one of the DCs isn't resolvable in DNS.
2345 o Simo Sorce <idra@samba.org>
2346 * Debian packaging fixes.
2349 o Dietrich Streifert <dietrich.streifert@visionet.de>
2350 * BUG 3916: Fix error parsing pam_winbind config arguments.
2353 Release Notes for older release follow:
2355 --------------------------------------------------
2357 ==============================
2358 Release Notes for Samba 3.0.23
2360 ==============================
2362 There has been a substantial amount of cleanup work done during
2363 this development cycle. We would like to thank both Coverity
2364 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
2365 for analyzing the Samba source code. As a result, this release
2366 includes fixes for over 400 defects. The coverage was approximately
2367 even with over 200 defects reported by each tool.
2369 Thanks very much to those people who spent time testing the
2370 release candidates and reported their findings. We would like to
2371 especially thank Thomas Bork <tombork@web.de> for his numerous
2372 reports. We believe that the final release is in much better shape
2373 in large part due to his efforts.
2375 New features in 3.0.23 include:
2377 o Improved 'make test'
2378 o New offline mode in winbindd.
2379 o New Kerberos support for pam_winbind.so.
2380 o New handling of unmapped users and groups.
2381 o New non-root share management tools.
2382 o Improved support for local and BUILTIN groups.
2383 o Winbind IDMAP integration with RFC2307 schema objects supported
2385 o Rewritten 'net ads join' to mimic Windows XP without requiring
2386 administrative rights to join a domain.
2389 User and Group changes
2390 ======================
2392 The user and group internal management routines have been
2393 rewritten to prevent overlaps of assigned Relative Identifiers
2394 (RIDs). In the past the has been a potential problem when either
2395 manually mapping Unix groups with the 'net groupmap' command or
2396 when migrating a Windows domain to a Samba domain using 'net rpc
2399 Unmapped users are now assigned a SID in the S-1-22-1 domain and
2400 unmapped groups are assigned a SID in the S-1-22-2 domain.
2401 Previously they were assign a RID within the SAM on the Samba
2402 server. For a DC this would have been under the authority of the
2403 domain SID where as on a member server or standalone host, this
2404 would have been under the authority of the local SAM (hint: net
2407 The result is that any unmapped users or groups on an upgraded
2408 Samba domain controller may be assigned a new SID. Because the
2409 SID rather than a name is stored in Windows security descriptors,
2410 this can cause a user to no longer have access to a resource for
2411 example if a file was copied from a Samba file server to a local
2412 NTFS partition. Any files stored on the Samba server itself will
2413 continue to be accessible because Unix stores the Unix gid and not
2414 the SID for authorization checks.
2416 A further example will help illustrate the change. Assume that a
2417 group named 'developers' exists with a Unix gid of 782 but this
2418 user does not exist in Samba's group mapping table. it would be
2419 perfectly normal for this group to be appear in an ACL editor.
2420 Prior to 3.0.23, the group SID might appear as
2421 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the
2422 group SID would be reported as S-1-22-2-782. Any security
2423 descriptors associated with files stored on an NTFS disk partition
2424 would not allow access based on the group permissions if the user
2425 was not a member of the
2426 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this
2427 group SID not reported in a user's token is S-1-22-2-782, Windows
2428 would fail the authorization check even though both SIDs in some
2429 respect referred to the same Unix group.
2431 The current workaround is to create a manual domain group mapping
2432 entry for the group 'developers' to point at the
2433 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
2439 The "passdb backend" parameter no long accepts multiple backends
2440 in a chaining configuration. Also be aware that the SQL and XML
2441 based passdb modules have been removed in this release. More
2442 information of external support for a SQL passdb module can be
2443 found at http://pdbsql.sourceforge.net/.
2446 Group Mapping Changes
2447 =====================
2449 The default mapping entries for groups such as "Domain Admins" are
2450 no longer created when using an smbpasswd file or a tdbsam passdb
2451 backend. This means that it is necessary to use 'net groupmap
2452 add' rather than 'net groupmap modify' to set these entries.
2453 This change has no effect on winbindd's IDmap functionality for
2460 There has also been a minor update the Samba LDAP schema file. A
2461 substring matching rule has been added to the sambaSID attribute
2462 definition. For OpenLDAP servers, this will require the addition
2463 of 'index sambaSID sub' to the slapd.conf configuration file. It
2464 will be necessary to run slapindex after making this change. There
2465 has been no change to actual data storage schema.
2468 ######################################################################
2475 Parameter Name Description Default
2476 -------------- ----------- -------
2477 acl group control Deprecated No
2478 add port command New ""
2479 change notify timeout Changed Scope
2480 dmapi support New No
2481 dos filemode Modified No
2482 enable asu support Changed default No
2483 enable core files New Yes
2484 enable privileges Changed default Yes
2485 enable rid algorithm Removed
2486 fam change notify New Yes
2488 host msdfs Changed default Yes
2489 msdfs root Changed default Yes
2490 open files database hash size New 10007
2491 passdb expand explicit Changed default No
2492 strict locking Changed default auto
2493 usershare allow guests New No
2494 usershare max shares New 0
2495 usershare owner only New Yes
2496 usershare path New ${lockdir}
2497 usershare prefix allow list New ""
2498 usershare prefix deny list New ""
2499 usershare template share New ""
2500 winbind enum users Changed default No
2501 winbind enum groups Changed default No
2502 winbind nested groups Changed default Yes
2503 winbind offline logon New No
2504 winbind refresh tickets New No
2505 winbind max idle children Removed
2506 wins partners Removed
2509 Changes since 3.0.22
2510 --------------------
2514 o Jeremy Allison <jra@samba.org>
2515 * Fixes for various Klocwork defect reports.
2516 * Cleanup pdb_get_XXX() methods and ensure that a failure
2517 to allocate memory for a samu user structure is reported
2518 as a failure to the calling function.
2519 * Fix memleak in printing gencache contents.
2520 * Fix warnings reported by gcc4 -O6 on 64-bit systems
2521 * Fix naming conflicts with 'net usershare' structures and
2522 Solaris header files.
2523 * Fix memleaks on error paths from the ASN.1 parsing code.
2524 * Add uid to share_mode_entry structure so we can report who
2526 * Ensure we use sys_write in password chats so we're not
2528 * Ensure all new rid allocation goes through the same pdb_ldap
2530 * BUG 3308: Stop us returning duplicate mid replies on path
2531 based set-EOF trans2 calls.
2532 * Pass RAW-OPLOCK with kernel oplocks off.
2533 * Fix bug in OS/2 Warp - it doesn't set the ff_last offset
2534 correctly when doing info level 1 directory scans.
2535 * Add Samba4 replacement for timegm() to work on Solaris.
2536 * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
2537 * BUG 3592: Ignore a file in the tar output from smbclient if the
2538 read failed (e.g. due to ACCESS_DENIED). (Based on ideas from
2539 Justin Best <justinb@pdxmission.org>).
2540 * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
2541 * Push/Pull Kerberos principal and realm names to/from UTF-8.
2542 * Fix incorrect boolean in assert to make POSIX lock tests
2544 * Don't ever set O_SYNC on open unless "strict sync = yes".
2545 * Remove dead printing code.
2546 * Allow configurable guest access to Samba's usershare functionality.
2547 * BUG 3587: Make byte-range locking tdb self-cleaning.
2548 * Ensure every exit error path in the session setup code calls
2550 * Use portable wrapper functions instead of seteuid directly in
2552 * Make "change notify timeout" a per-share parameter.
2553 * Fix regression in SAMBA_4_0's smbtorture DENY tests.
2554 * Fix valgrind-spotted issue in BASE-DELETE test.
2555 * Fix early termination condition in winbindd when trying to
2556 connect to a remote DC.
2557 * Instruct winbindd to ignore fd_set when select() returns -1.
2558 * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
2559 with select returning true but no data being available.
2560 * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by
2562 * BUG 3467: Fix delete on close semantics needed by WinXP Media
2563 Center Ed. for simultaneous recording and playback (thanks to
2564 Jason Qian for the debugging assistance).
2565 * BUG 3347: Save the Unix user token used to set the
2566 delete-on-close flag.
2567 * Fix parsing of SAMR_Q_CONNECT_ANON.
2568 * Add in support for userinfo26 structure and re-enable
2570 * Schannel server fixes. Fix the credentials chaining across
2571 \netlogon pipe disconnects.
2572 * Replace ubqix code in nmbd with an internal tdb.
2573 * Fix struct timespec checks in configure.in.
2574 * Add in server support for the NetSamLogonEx().
2575 * Add support for LsaLookupSids2() and LsaLookupSids3().
2576 * Add LsaLookupNames[2-4]().
2577 * Add support for 'net usershare'.
2578 * BUG 3522: Fix error code return on SMBmkdir(foo) when foo
2579 already exists (thanks to Sandeep Tamhankar).
2580 * BUG 3510: Fix 'net rpc join' against a server when
2581 schannel is disabled.
2582 * Get rid of poor errno mapping table. Bounce through NTSTATUS
2584 * Check for SeMachineAccountPrivilege when deleting machine
2586 * Fix a logic bug with multiple oplock contention.
2587 * Add the replacements for opendir/readdir etc from SAMBA_4_0.
2588 Attempt to fix the broken directory handling in the *BSD.
2589 * Allow run time tuning of the locking tdb hash size for
2591 * BUG 3642: Ensure we don't call FD_SET on read with
2593 * BUG 3569: Work around linear posix locking issue on AIX
2594 which was causing high loads due to the tdb CLEAR_IF_FIRST
2595 flag (based on work from William JoJo).
2596 * Fix OS/2 directory delete bug found by kukks.
2597 * Match the Windows 2003 NTLMSSP signature.
2598 * Performance tuning work in core read & write file serving
2600 * Change default to 'strict locking' to better reflect
2602 * Fix error return on session setup. Ensure no data blob is
2603 added if the logon call failed so that Windows clients
2604 interpret the NT_STATUS code correctly.
2605 * Teach Samba the difference between exclusive and batch
2607 * BUG 3592: Ignore a file in a smbtar output if the first
2608 read fails (inspired by Justin Best).
2609 * BUG 3668: Workaround Windows bug with LARGE_READX where if
2610 you ask for exactly 64k bytes it returns 0.
2611 * BUG 3858: Ensure that all files are removed by a wildcard
2612 delete when 'hide unreadable = yes'.
2613 * Fix various issues raised by the Klocwork code analyzer.
2614 * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b>
2615 query reply ("enhanced browsing = yes").
2616 * Fix SMB signing failures in client tools.
2617 * BUG 3909: Avoid EA lookups on MS-DFS links.
2620 o Andrew Bartlett <abartlet@samba.org>
2621 * Work around abort() in the OpenLDAP client libs caused by a NULL
2625 o Timur Bakeyev <timur@com.bat.ru>
2626 * BUG 2961: Fix compile warnings for pam_smbpass.
2627 * BUG 2746, 3763: Fix compile warnings in pam_winbind.
2630 o Alexander Bokovoy <ab@samba.org>
2631 * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
2632 * Fix absolute symlinks in the installbin.sh script.
2635 o Max N. Boyarov <m.boyarov@sam-solutions.net>
2636 * Fix crash bug in perfmon daemon example code.
2639 o Nicholas Brealey <nick@brealey.org>
2640 * Compile fix for pam_winbind.
2643 o Gerald (Jerry) Carter <jerry@samba.org>
2644 * Fix 'make install' problem when building outside source/.
2645 * Fix 'net ads join' when the workgroup is set incorrectly in
2647 * Re-add code to include the BUILTIN\Administrators SID when
2648 winbindd is not running, but the user's token includes the
2649 Domain Admin SID. Fixes access problem for managing Services.
2650 * Only call the printer publishing calls if 'security = ads'.
2651 * Normalize printing keys when deleting.
2652 * Only store LANMAN passwords on a change if 'lanman auth = yes'.
2653 * Look at the NT password (not lanman one) when determining if 'smbpasswd
2654 -e' should probably for a password.
2655 * Default eventlog tdbs to mode 0660 to allow easier access by
2656 BUILTIN\Administrators.
2657 * Remove extra call to create_user on member servers without winbindd.
2658 * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating
2659 AD DC's with out own DNS SRV queries.
2660 * Fix compile error on HP-UX reported by Ryan Novosielski.
2661 * Rewrite 'net ads join' to share common code with 'net rpc join'
2662 and behave more like a Windows XP client.
2663 * Remove --with-ldapsam option from configure (only used for
2664 backwards compatibility for 2.2 smb.conf files).
2665 * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
2666 * Remove rhosts authentication module.
2667 * Reimplement 'net ads leave' to disable the machine account in the
2668 domain rather than removing it.
2669 * Rewrite of tdbsam file descriptor handling.
2670 * Add server affinity support when selecting a remote
2672 * Remove chaining of passdb modules.
2673 * Generate a local users primary group SID based on his
2674 or her primary Unix group rather than storing the attribute
2675 in the passdb entry.
2676 * Default primary group SID to 'Domain Users' if the real Unix
2677 primary group maps to the S-1-22-2 domain.
2678 * Refactor memory management in passdb user objects.
2679 * RHEL and Fedora packaging fixes.
2680 * Implement XcvDataPort() spooler call and supporting 'add
2682 * BUG 3534: Ignore lines in the username map file with no right
2684 * Add support for the experimental %(DomainSID) smb.conf
2686 * Add support for parsing SIDs in smb.conf value lists.
2687 * Fix vuid allocation in Kerberos SMBsesssetup reply.
2688 * Ensure that local group membership is included in the
2689 getgroups() NSS reply.
2690 * Automatically create a BUILTIN\{Administrators,Users} if
2691 winbindd is running.
2692 * Automatically grant all privileges to members of the local
2693 Administrators group.
2694 * Protect against NULL cli_state* pointers in
2695 cli_rpc_pipe_open().
2696 * Add a SUBSTR matching rule the the Samba LDAP schema
2697 file for the sambaSID attribute. This will allow for
2698 Searching group mapping entries within a given domain
2699 without reorganizing the directory namespace. Also
2700 requires 'index sambaSID sub' in slapd.conf.
2701 * Fix parsing of 'idmap uid/gid' values that broke when
2702 the range included any whitespace.
2703 * Support renaming local groups (protect against renaming
2705 * Do not allow the root account to be deleted via MS-RPC.
2706 * Fix RID allocation to skip over RIDs that resolve in our
2707 own domain (work around upgraded users and groups).
2708 * Store the name/ip address combination when we do a reverse
2709 look up in case future forward lookups would fail.
2710 Fixes cases where a DC name could not be resolved via
2712 * Allow winbindd to run on standalone servers in order to
2713 provide support for local groups.
2714 * Deprecate 'acl group control' and replace it with added
2715 functionality to 'dos filemode'.
2716 * Ensure that all global memory is freed from pam_winbind
2717 when unloading the shared library (based on work from Arkady
2719 * Fix 32-bit/64-bit portability issues between PAM & NSS winbind
2720 libraries and winbindd.
2721 * Add defensive checks about create local accounts (i.e. calling
2722 'add user script') on domain member servers when winbindd
2723 is running but having problems.
2724 * Use system provided killproc() in RedHat init scripts for
2725 more robust shutdown.
2726 * Fix a crash in the printer publishing code when adding a
2727 new printer via the APW.
2728 * Fix broken compile of unsupported smbwrapper utility.
2729 * BUG 3905: Fix smbd startup failure caused by a failure to
2730 create an NT token for the guest account.
2731 * BUG 3908: Fix RPC bind authentication failure which broke
2732 user password changes.
2733 * Ensure that "net ads join" reports failure correctly if
2734 it cannot set the machine account password.
2737 o Mathias Dietz <MDIETZ@de.ibm.com>
2738 * EPERM can be a valid return from getting an xattr.
2739 Don't disable if we get it.
2742 o Guenther Deschner <gd@samba.org>
2743 * Fix memleaks in winbindd ads searches.
2744 * Fix timestamp bug in pam_winbindd which forced users to change
2745 passwords prematurely.
2746 * Small debug message cleanups.
2747 * Small fixes for 'net ads password'.
2748 * BUG 3843: Allow to set passwords directly when creating users
2749 via "net rpc user add"
2750 * Add "rpc shell" to the usage text for the net command.
2751 * Winbindd user aliases lookup fixes for large domains.
2752 * Fix memleak in the CLDAP processing code.
2753 * Enable AD features in winbindd's PAM support only when
2754 communicating with an AD domain controller.
2755 * Set our internal domains to "online" by default in winbindd.
2756 * BUG 3800: Fill the password_policy method in winbindd for
2758 * Fix memory leak when LDAP POSIX attribute queries fail.
2759 * Honor the krb5 principal name change (of the new ads join code)
2760 in the kerberized winbind pam_auth.
2761 * Correctly handle the case when there is no configuration file
2763 * Adding "own-domain" switch to wbinfo which is handy from time
2765 * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
2766 * Fix winbindd group enumeration for groups with no members.
2767 * Correct "net ads changetrustpw" to use the sAMAccountName.
2768 * Fix winbindd in ADS domains by removing code using the
2769 UPN and rely upon the sAMAccountName.
2770 * Fix a eDir related memory leak.
2771 * Don't try to add the sn attribute twice to an LDAP
2772 inetOrgPerson + samSamAccount entry.
2773 * Fix winbind function table typo.
2774 * Attempt to send the correct warning from pam_winbind when a password
2775 change was attempted too early.
2776 * Don't use cached credentials when changing passwords.
2777 * Correctly disallow unauthorized access when logging on with the
2778 kerberized pam_winbind and workstation restrictions are in effect.
2779 * Save useless round trips in pam_winbind's auth calls.
2780 * Make the existence of the /etc/security/pam_winbind.conf file
2781 non-critical and fallback to only parse the argv options in that
2783 * Add winbind debug class to the main winbindd process.
2784 * Be consistent between rpc and ads winbind backend: let the
2785 ads backend query the samlogon cache first as well.
2786 * Ignore BUILTIN groups when searching AD for group memberships.
2787 * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
2788 * Cleanup credential caches from winbind's linked list.
2789 * Fix 'winbindd -n' for new persistent caches.
2790 * Fix searching by SID in winbindd.
2791 * Add "smbcontrol winbind onlinestatus" for debugging purpose.
2792 * Prefer to use the indexed objectCategory attribute (instead of
2793 objectClass which is not indexed on AD) in LDAP queries.
2794 * Free LDAP result in ads_get_attrname_by_oid().
2795 * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
2796 * Prevent passwords of winbindd's list of credential caches from
2797 being swapped to disk using mlock().
2798 * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to
2799 support the plain posix attributes LDAP schema from win2k3-r2
2800 (based on patches from Howard Wilkinson and Bob Gautier).
2801 * Add more robust code for fallback when lookup_usergroups() fails.
2802 * Fix 'net rpc join' for winbindd running on a Samba DC.
2803 * Add help text for new 'net rpc audit' utility.
2804 * Add net ads search SID.
2805 * samrQueryDomainInfo level 5 should return the domain name, not our
2806 NetBIOS name when we are a DC.
2807 * Add some more client rpc for the querydominfo calls (from samba4 idl).
2808 * Process all the supported info levels in the samr_query_domain_info2
2810 * Wrap the samr_query_domain_info2() call around
2811 samr_query_domain_info().
2812 * Fix segv in smbctool.
2813 * Honor the time_offset also when verifying Kerberos tickets.
2814 * Prevent unnecessary longstanding LDAP connection to eDirectory.
2815 * Fix segv in smbspool.
2816 * BUG 1914: Allow to store 24 password history entries in ldapsam.
2817 * Enhancements to various commands in rpcclient
2818 * Don't force 'Administrator' to change an expired password on
2820 * Add support for offline mode in winbindd.
2821 * Provide support in pam_winbind for initializing a user's
2823 * Implement samr_chgpasswd_user3 server-side.
2824 * Make pam_winbind more robust when detecting domain users.
2825 * Add client side support for SAMR_GET_USRDOM_PWINFO.
2826 * Re-enable strict checking on C++ reserved keywords since Heimdal
2827 0.7.2 has been released.
2828 * Allow renaming of machine accounts in a Samba domain.
2829 * BUG 3539: Let winbindd try to obtain the gecos field from
2830 the msSFU30Gecos attribute when "winbind nss info = sfu" is
2832 * Correctly handle acb_info/acct_flags as uint32 not as uint16.
2833 * Return the real ACB-flags in the SamLogon() reply.
2834 * Some client side cleanup for the samr set security object
2836 * Make sure we always reset the userAccountControl bits when
2837 re-joining (net ads join) with an existing account.
2838 * Document some more MSV1_0 bits and their behavior.
2839 * Only set the last rebind timestamp when we did rebind
2840 after a update LDAP operation to avoid the ldap replication
2842 * Fix incorrect error checking in winbindd for domains with
2844 * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3
2846 * Work around crash bug in MIT krb5 libs when reading a
2847 keytab file. Stop trying to decrypt a ticket as soon as
2848 we have a clear indication that the ticket is bad.
2849 * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
2850 * Adding client side samr querygroup infolevels 2 & 5.
2851 * Make smbpasswd -a root work for eDirectory where there
2852 is no "account" structural objectclass.
2853 * Make sure we only send out a CLDAP request (net ads) to
2854 an connected AD server.
2855 * Fix a broken LDAP search filter when looking for groups.
2856 * Add in-tree version of iniparser library from
2857 http://ndevilla.free.fr/iniparser/ for use by pam_winbind
2858 (rather than linking in loadparm.c). Settings are now stored
2859 in /etc/security/pam_winbind.conf.
2860 * Fix different extended_dn handling in adssearch.pl
2861 (Thanks to Frederic Brin at Novell).
2862 * Fix a memleak in winbindd's credentials cache.
2863 * Protect against crashes in CLDAP request processing.
2864 * Remove incomplete DfsEnum() info level to avoid an smbd crash.
2867 o Aleksey Fedoseev <fedoseev@ru.ibm.com>
2868 * Fix parameter type for 'acl compatibility'.
2869 * Fixes for msgtest torture tool.
2870 * Fix crash bug in the file locking code.
2873 o Arek Glabek <aglabek@centeris.com>
2874 * Fix parsing error on input parameters in eventlogadm.
2877 o Paul Green <paulg@samba.org>
2878 * Properly rebuild time limit on systems with executable extensions.
2879 * Fix build on platforms that do not support shared libs.
2880 * Remove dead code in the auth_script module.
2883 o Bjoern Jacke <samba@j3e.de>.
2884 * Fix DMAPI compile failures on AIX and True64.
2885 * Fix AIX PIC suffix (use .o instead of .po).
2886 * Fall back to less-preferred clocks until we find one that we
2887 can use if clock_gmtime() is not available at run-time.
2888 * Fix EA support on AIX platforms.
2889 * Automatically disable file shares with no explicit path set.
2890 * Remove the local hack to set the RO bit on directories in
2891 user profiles when profile acls = yes. Rely on EAs instead.
2892 * Compile fixes for Solaris LDAP client libs.
2893 * Add DMAPI/XDSM support for AIX.
2894 * Find JFS DMAPI libs on Linux when only they are available.
2897 o William Jojo <jojowil@hvcc.edu>
2898 * Fixes for the winbind NSS library on AIX.
2899 * Fix VFS builds on AIX platforms.
2900 * Fixes for the AIX version of libnss_winbind.so
2903 o Leonid Kabanov <lkabanov@mail.ru>
2904 * BUG 3711: Shell portability fixes for 'make test'.
2907 o Volker Lendecke <vl@samba.org>
2908 * Fixes for various Klocwork defect reports.
2909 * Fixes for various Coverity defect reports.
2910 * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
2911 * Fix more potential seg-faults when something on our way to a
2912 DC connection fails.
2913 * Never fall back to using the IP address for a DC's name in RPC
2915 * Implement recycle:subdir_mode.
2916 * Activate RPC-AUTHCONTEXT in "make test".
2917 * Portability fixes for 'make test'.
2918 * Correctly set the group RID in init_sam_from_buffer.
2919 * Fix missing prompt in smbclient.
2920 * Return correct error code upon success from _net_srv_pwset().
2921 * Fix Windows XP joins to a Samba domain.
2922 * Fix 'valid users = +unixgroup' which was failing with smbpasswd
2923 when mapped to a non-algorithmic rid.
2924 * Fix regression which upper-cased machine names passed to the
2925 'add machine script'.
2926 * Correct parsing error in parse_net.c for user's with no group
2928 * Fix off by one error in client SPNEGO code and other klocwork
2930 * Memory leak fixes in 'net sam'.
2931 * BUG 3720: Fix uninitialized error return variable.
2932 * Default "passdb expand explicit" to no.
2933 * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
2934 * Fix user NT token creation when utilizing a username map.
2935 * More coverity fixes.
2936 * Fix a VUID bug in 'security = share'.
2937 * Correctly fill in the gid for local users.
2938 * Fix some warnings on True64.
2939 * Add special close handling for fake files.
2940 * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
2941 * BUG 3435: Fix 'msdfs root = yes' in [homes].
2942 * Instruct winbindd to find a trusted DC on its own when running on
2944 * Fix segv in child winbindd processes caused by a failed tconX
2946 * Dynamically compute the maximum password age based no the
2947 last change time rather than reading the must change time
2948 from the passdb record.
2949 * Rewrite mechanisms for handling lookup_{name,sid} resolution.
2950 * Assign unmapped users to the S-1-22-1 domain and unmapped
2951 groups to the S-1-22-2 domain
2952 * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
2953 * Remove sql passdb backends.
2954 * Implement rpccli_samr_set_domain_info()
2955 * Add initial support for 'net sam' command.
2956 * BUG 2413: Remove anonymous connections in 'net rpc info'.
2957 * Implement asynchronous support for trans2 calls.
2958 * Make smbclient -L use RPC to list shares, fall back to RAP.
2959 * Ensure that the global SAM SID is initialized before any
2960 dependent routines are called.
2961 * Enhance consistency checks on local configuration when joining
2963 * Fix a memleak in the server registry code for enumeration
2965 * Fix an invalid munlock() call in winbindd's credentials cache.
2966 * Fix compile warnings when passing NULL to snprintf().
2967 * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
2968 token in case anything weird is going on with the 'force user'.
2969 * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
2972 o Derrell Lipman <derrell@samba.org>
2974 * BUG 3814: Only set the DFS capability flag in client requests
2975 if the share is a DFS root.
2976 * Fix bug causing previous settings to be re-initialized
2977 when parsing new configuration files.
2978 * BUG 3446: Don't ignore the authentication domain when parsing
2980 * Fix cli_setpathinfo() to actually do what it's supposed to.
2981 * Fix libsmbclient to make correct use of the new "one connection
2982 per server feature".
2985 o Jason Mader <jason@ncac.gwu.edu>
2986 * Numerous compiler warning fixes.
2989 o John E. Malmberg <wb8tyw@qsl.net>
2990 * Make smbldap obey config tests.
2993 o Jim McDonough <jmcd@us.ibm.com>
2994 * Fixes for 'make test' on AIX.
2995 * Ensure we do a wildcard search for SID's starting with the global SAM
2996 sid, not an exact search (from John Janosik).
2997 * Adapt smbclient fix to smbtree to enable long share names.
2998 * Prevent machines and users with no home directory from
2999 getting the previous entries home path when migrating via
3000 'net rpc vampire' (based on a patch from Richard Renard).
3001 * Remove hard-coded LDIF names when dumping a migrated
3002 domain's users and groups.
3003 * BUG 1374: Can't join an OU with name that contains '#'.
3006 o Stefan Metzmacher <metze@samba.org>
3007 * Add more tests to 'make test'.
3008 * Try to make timelimit.c more portable.
3009 * Fix linking of smbmount tools with --enable-socket-wrapper.
3010 * Pass 'target:samba3=yes' to samba4's smbtorture when running
3012 * Miscellaneous fixes for 'make test'.
3013 * Add improved support for 'make test' including making
3014 use of smbtorture from SAMBA_4_0.
3015 * Add --no-process-group to all server programs
3016 (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
3017 * Add configure tests --with-selftest-prefix=/tmp/samba-test
3020 o Lars Müller <lmuelle@samba.org>
3021 * Fix lock calls in the python tdb bindings.
3022 * Add -k switch to tdbdump for accessing a single key.
3023 * Debian packaging fixes.
3024 * Add -t|--password-from-stdin option to pdbedit as we had
3026 * Various minor fixes to install scripts used by 'make install'.
3029 o James Peach <jpeach@sgi.com>
3030 * Ensure smbclient always prompts on standard output when in
3032 * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
3033 * Introduce command line options to set the remainder of the
3034 parameters in dynconfig.c.
3035 * Avoid pulling in -lpthreads caused by -lrt.
3036 * Fix build failures on IRIX 6.4 due to DMAPI support.
3037 * Isolate the slow CLOCK_REALTIME message in the profiling code.
3038 * Correct comparison logic so that libunwind can be correctly detected.
3039 * Implement a "stacktrace" smbcontrol option using libunwind's remote
3040 stack tracing support (ia64 only).
3041 * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
3042 of long group lists.
3043 * New autoconf macro to test for sysconf variables.
3044 * Change profiling data macros to use stack variables rather than
3045 globals. This catches mismatched start/end calls and removes
3046 the need for special nested profiling calls.
3047 * Rewrite AC_LIBTESTFUNC so that it works like the callers
3049 * Use clock_gettime for profiling timstamps if it is available. Use
3050 the fastest clock available on uniprocessors.
3051 * Preserve errno in fcntl lock wrappers.
3052 * Initialize our saved uid and gid so that we can tell when we
3053 created the profiling shmem segment and don't bogusly refuse to
3055 * Add a new option "enable core files" which can be used to disable
3056 automatic core file dumping.
3057 * Update our internal copy of popt to that distributed with the RPM
3059 * Add support for FAM for file change notification.
3060 * Disable sendfile if the 'write cache;' has been enabled.
3061 * Refactor capability interface from being IRIX-specific to
3062 using only the POSIX interface.
3063 * Consolidate core dumping code to aid in debugging.
3064 * Add support for libunwind to generating a backtrace.
3065 * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
3066 and --without-ads are specified.
3067 * Allow the user to set winbind nss timeouts in seconds on IRIX.
3068 * Set the FILE_STATUS_OFFLINE bit by observing the events
3069 a DMAPI-based HSM is interested in.
3072 o Tim Potter <tpot@samba.org>
3073 * Build janitorial duties.
3074 * BUG 3725: Put references to $PICFLAGS in quotes.
3077 o Aruna Prabakar <aruna.prabakar@hp.com>
3078 * Show -W option in smbpasswd usage text.
3081 o ISHIKAWA Tomonori <toishika@fsi.co.jp>
3082 * BUG 2715: Fix nmbd datagram comment buffer size for multibyte
3087 * Correct syntax error in aclocal.m4.
3090 o Simo Sorce <idra@samba.org>
3091 * Pam modules install fix.
3092 * Allow "net changesecretpw" to accept a password via stdin.
3093 * Implement 'net setdomainsid' command.
3094 * Ensure that sid -> group conversion are done as root.
3095 * BUG 3413: Sanity check for existence of 'ldap admin
3096 dn' before setting a password in secrets.tdb (based on
3097 work by William Jojo).
3098 * New revision of the snprintf replace code.
3099 * Set the correct sid type when looking up a gid.
3102 o Todd Stecher <tstecher@isilon.com>
3103 * Add TCP fallback for our implementation of the CHANGEPW
3107 o Ronan Waide <waider@waider.ie>
3108 * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam()
3112 o Shlomi Yaakobovich <Shlomi@exanet.com>
3113 * Fix for machine password time_t overflow.
3116 --------------------------------------------------
3117 ==============================
3118 Release Notes for Samba 3.0.22
3120 ==============================
3122 This is a security release of Samba. The Samba 3.0.21 release
3123 series (including the patch releases a through c) has been
3124 discovered to expose the clear text of the server's machine
3125 account credentials in the winbind log files when the log
3126 level is set to 5 or higher. This defect has been assigned
3127 the CVE number CAN-2006-1059.
3132 The machine trust account password is the secret shared
3133 between a domain controller and a specific member server.
3134 Access to the member server machine credentials allows
3135 an attacker to impersonate the server in the domain and
3136 gain access to additional information regarding domain
3139 The winbindd daemon included in Samba 3.0.21 and subsequent
3140 patch releases (3.0.21a-c) writes the clear text of server's
3141 machine credentials to its log file at level 5. The winbindd
3142 log files are world readable by default and often log files
3143 are requested on open mailing lists as tools used to debug
3144 server misconfigurations.
3146 This affects servers configured to use domain or ads security
3147 and possibly Samba domain controllers as well (if configured
3152 --------------------------------------------------
3154 ===============================
3155 Release Notes for Samba 3.0.21c
3157 ===============================
3159 Common bugs fixed in 3.0.21c include:
3161 o Access checks when deleting printer driver meta-data.
3162 o Several non-default combinations schannel and SPNEGO support.
3163 o Password changes with NT4 and Win2k pre-SP4 clients.
3164 o High load issues on IRIX caused by a bug when interfacing
3165 with kernel oplocks.
3168 ######################################################################
3172 Changes since 3.0.21b
3173 ---------------------
3177 o Michael Adam <ma@SerNet.DE>
3178 * Add popt to the include path for examples/VFS.
3181 o Jeremy Allison <jra@samba.org>
3182 * Fix bug in the USC2 macros on big-endian CPUs.
3183 * Filter deleted oplocks from the output of smbstatus.
3184 * Remove invalid test check_for_pipe().
3185 * BUG 3515: Fix kernel oplock support on IRIX.
3186 * BUG 3522: Fix return value for mkdir request when the directory
3188 * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna
3190 * BUG 3330: Fix username parsing in Kerberos PAC (based on work
3192 * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto"
3193 resulting in a client disconnect after negprot.
3194 * BUG 3510: Fix 'net join' against a server with client schannel
3196 * Fix negprot bug causing a 2k client with cached domain
3197 credentials to refuse to connect to a standalone Samba host.
3198 * Ensure that the correct error is checked when encountering a
3199 socket error (fixes crashes in winbindd).
3202 o Andrew Bartlett <abartlet@samba.org>
3203 * Fix domain joins from NT4 clients and password changes.
3206 o Richard Bollinger <rabollinger@gmail.com>.
3207 * Compile fix in pdbedit.
3210 o Gerald (Jerry) Carter <jerry@samba.org>
3211 * Break RHEL/Fedora packaging out to include a samba-docs rpm.
3212 * Remove use of /var/cache/samba from RHEL/Fedora packaging.
3213 * Fix bug in loadparm.c that caused builtin services to be also
3214 listed as external services (e.g. Spooler, NETLOGON, etc..).
3215 * Fix bug in the samr dispinfo enumeration code.
3216 * Add earlier checks to deny deleting a printer driver meta-data.
3219 o Guenther Deschner <gd@samba.org>
3220 * Add Account Policy LDAP attributes for eDirectory schema.
3223 o William JoJo <jojowil@hvcc.edu>
3224 * BUG 1870: Make nmblookup do a node status on all IP's when
3226 * BUG 2353: Fix clitar -F processing.
3229 o Volker Lendecke <vl@samba.org>
3230 * Fix the build for --with-aio-support.
3231 * Fix remote password changing if password must change is set.
3232 * Fix rpcclient to obey the -W parameter.
3233 * Fix segv in smbmount and the profiles tool.
3234 * Fix typo in pdbedit help text (reported by Karolin Seeger).
3238 * Honour the $(DESTDIR) Makefile variable when installing
3242 o Jason Mader <jason@ncac.gwu.edu>
3243 * Compiler warning fixes.
3246 o Lars Müller <lmuelle@samba.org>
3247 * Fix python build with older python versions.
3248 * Update dhcp.conf files in Debian packaging
3249 * SWAT welcome file updates
3250 * Compiler warning fixes.
3251 * Add .2 to the SONAME as version suffix if we link the nss
3253 * Add -t|--password-from-stdin option to pdbedit.
3256 o James Peach <jpeach@sgi.com>
3257 * Continue not enabling valgrind on 64-bit Linux.
3260 o Tim Potter <tpot@samba.org>
3261 * Remove unused #defines.
3264 o Simo Sorce <idra@samba.org>
3265 * Debian packaging updates.
3268 o Qiao Yang <qyang@stbernard.com>
3269 * Make sure to refresh the timestamp on entries in the failed
3270 connection code in winbindd.
3273 --------------------------------------------------
3274 ===============================
3275 Release Notes for Samba 3.0.21b
3277 ===============================
3279 Common bugs fixed in 3.0.21b include:
3281 o Server crashes in smbd.
3282 o Compile issues on 64-bit platforms.
3283 o Crash bugs on big-endian systems.
3284 o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
3285 o Over 30 bugzilla reports closed.
3288 ######################################################################
3292 Changes since 3.0.21a
3293 ---------------------
3297 o Jeremy Allison <jra@samba.org>
3298 * Fix the SAMR cache across handles opens and closes.
3299 * Re-add the talloc_describe_all() function for reporting pool
3301 * Merge talloc license change from Samba 4.
3302 * Fix 64-bit compile warnings reported by gcc.
3303 * Add the share path into the sharemode db.
3304 * Consistency fixes: Remove use of uint8_t -> uint8.
3305 * BUG 3346: Fix crash bug in big-endian boxes by linearizing
3306 structure when passing through the messaging API.
3307 * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to
3309 * Force smbd to exit if the guest account internal setup fails.
3310 * BUG 3419: vfs_full_audit fixes for multiple connections.
3311 * Ensure SWAT lists running processes.
3312 * Fix NTLMv2 interoperability bug between Samba servers.
3313 * Oplock break logic fixes.
3316 o Andrew Bartlett <abartlet@samba.org>
3317 * BUG 3401: Fix crash bug caused by incorrect handling of weak
3318 session keys. Based on original patch from Yau Lam Yiu.
3321 o Alexander Bokovoy <ab@samba.org>
3322 * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from
3326 o Stefan Burkei <stefan@burkei.de>
3327 * BUG 3248: When doing auth_crap authentication use the client
3328 given workstation name not our own.
3331 o Gerald (Jerry) Carter <jerry@samba.org>
3332 * Fixing net rpc registry enumerate from overwriting the open
3334 * BUG 3380: fix crash when changing printer drivers.
3335 * BUG 3391: ensure we can lookup account policies for failed
3337 * Adding query/set ops for security descriptors on services.
3338 * BUG 3329: Solaris packaging fixes.
3339 * Better formatting for smbstatus output (based on patch from
3341 * Hook the max connections spin box in the share properties
3342 MMC plug-in dialog to the 'max connections' smb.conf parameter
3343 and the 'modify share command' option.
3344 * Work around building libnss_winbind.so on Solaris when
3345 --enable-developer is specified.
3346 * Add vendor patch level string to VERSION.
3347 * Consolidate packaging for RHEL4 and Fedora based on initial
3351 o Albert Chin <@thewrittenword.com>
3352 * BUG 3374: Build failures on True64.
3355 o Guenther Deschner <gd@samba.org>
3356 * Fill in samr_get_dom_pwinfo based on Samba4.
3357 * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
3358 * Fixes for adssearch.pl example script.
3359 * Prevent 'net rpc' from dumping clear text password at high log
3360 levels unless built with DEBUG_PASSWORD.
3361 * Fix 'net ads user add' with a Windows 2003 SP1 DC.
3363 * Fix segfault in pdb_nds.c.
3364 * Don't write null sid mappings into the winbindd_cache.tdb.
3365 * Save sid_to_name lookup result in winbindd already after doing
3366 a successful name_to_sid.
3367 * BUG 3390: Fix segfault in "net rpc vampire|samdump".
3368 * BUG 1524, 3205: Support changing expired passwords in
3370 * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
3371 * BUG 3264: Allow idmap_ad to load as 'ad'. Cleanup the way
3372 idmap modules are build and loaded, idmap_rid now will have
3373 to be loaded without prefix, just "rid".
3374 * Prevent cli_krb5_get_ticket of getting into an infinite loop.
3377 o Andrew Esh <Andrew_Esh@adaptec.com>
3378 * BUG 1061: Fix nmbd to correctly the path to an lmhosts files
3379 specified on the command line with -H.
3382 o SATOH Fumiyasu <fumiya@samba.gr.jp>
3383 * End profile fixes.
3384 * BUG 3348: Don't assume owning sticky bit directory means
3385 write access allowed.
3386 * Fix double free in on failure path in POSIX acl code.
3389 o Andriy Gapon <avg@icyb.net.ua>
3390 * BUG 3458: Fix crash bug in smbd and winbindd caused by
3391 accessing freed memory.
3394 o Björn Jacke <bj@sernet.de>
3395 * Configure check for Tru64 EA functions (not yet implemented).
3396 * Find Tru64 AIO lib in configure.
3397 * Cut-n-paste fixes in configure.in.
3400 o John Janosik <jpjanosi@us.ibm.com>
3401 * IBM Tivoli Directory Server schema updates.
3404 o Michael James <michael@james.st>
3405 * sid2string fix in adssearch.pl.
3408 o William JoJo <jojowil@hvcc.edu>
3409 * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
3410 * BUG 3389: Failures on AIX in linking smbd when the symbol
3411 table for ld exceeds 65536 bytes.
3412 * Add -W to smbpassword so that the ldap admin dn password does
3413 not have to be specified on the command line.
3414 * BUG 3408: Fix for external password change programs on AIX.
3415 * BUG 1779: 64-bit compile fixes.
3418 o Martin Koeppe <mkoeppe@gmx.de>
3419 * BUG 3287: Match SFU behavior for dev/inode numbers.
3422 o Volker Lendecke <vl@samba.org>
3423 * BUG 3291: Fix valgrind error in client connection code.
3424 * BUG 3292: Prevent smbclient from spinning if server terminates
3426 * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient
3427 connection alive smbclient.
3428 * Add lookupname to rpcclient query_user as a fallback, we now
3429 accept both rid and username.
3430 * Introduce yet another copy of the string_sub function:
3431 talloc_string_sub use by AFS token code in winbindd.
3432 * BUG 3351: pdb_mysql again overwrites password fields.
3433 * BUG 3384: Fix segv in tdbtool.
3434 * Use the same CFLAGS for generating the pch as we use to
3436 * Correct typo when compiling the vfs_catia module.
3437 * Fix automatic recreation of a new tdb sam file.
3440 o Derrell Lipman <derrell@samba.org>
3442 * Fix parsing of file times (w_time and m_time were reversed).
3443 * Add additional libsmbclient test programs.
3444 * BUG 3336: Load networks interfaces in libsmbcliebt after parsing
3445 the configuration files.
3446 * Avoid doing a NetBIOS name query for each server and workgroup
3448 * Do not open connection when only looking for cached connection.
3449 * BUG 2651: Add option to log debug messages to stderr instead
3451 * Added flag to not request authentication information.
3452 * Enhancements to smbwrapper example code.
3453 * Replace smbwrapper call to dlopen(/lib/libc...) with direct
3457 o David May <mayd@cygnus.uwa.edu.au>
3458 * BUG 3329: Shell scripting portability fixes on 'make test'.
3461 o Tony Mountifield <tony@softins.co.uk>
3462 * BUG 3327: fix bad access to gencache.tdb after fork() in
3466 o Lars Müller <lmuelle@samba.org>
3467 * BUG 3264: Support backwards compatible setups using
3468 'idmap backend = idmap_rid'.
3469 * Add %w macro for the winbind separator.
3470 * Convert net command to use stderr for error messages rather
3474 o James Peach <jpeach@sgi.com>
3475 * Portability fixes in LDAP code. Don't use non-static array
3477 * Support the TCP_FASTACK socket option if it is available.
3478 * Tell the MIPSPro compiler to push DEBUG calls out of line.
3481 o Makr Proehl <m.proehl@science-computing.de>
3482 * BUG 1336: Print the server role when calling testparm in
3486 o Simo Sorce <idra@samba.org>
3487 * Crackcheck utility enhancement based on patch sent by
3489 * BUG 3405: Fix segv in vfs_recycle module on platforms wither
3490 mode_t is not 32-bits.
3493 o John Terpstra <jht@samba.org>
3494 * RHEL/Fedora spec file patches.
3497 --------------------------------------------------
3498 ===============================
3499 Release Notes for Samba 3.0.21a
3501 ===============================
3503 Common bugs fixed in 3.0.21a include:
3505 o Deadlocks when multiple users access an oplocked file
3509 ######################################################################
3513 Changes since 3.0.21
3514 --------------------
3518 o Gerald (Jerry) Carter <jerry@samba.org>
3519 * RedHat 9 packaging Fixes.
3522 o Guenther Deschner <gd@samba.org>
3523 * eDirectory schema syntax fixes.
3526 o Volker Lendecke <vl@samba.org>
3527 * BUG 3349: Deadlock caused logic error in oplock code.
3529 --------------------------------------------------
3530 ==============================
3531 Release Notes for Samba 3.0.21
3533 ==============================
3535 Common bugs fixed in 3.0.21 include:
3537 o Missing groups in a user's token when logging in via Kerberos
3538 o Incompatibilities with newer MS Windows hotfixes and
3539 embedded OS platforms
3540 o Portability and crash bugs.
3541 o Performance issues in winbindd.
3543 New features introduced in Samba 3.0.21 include:
3545 o Complete NTLMv2 support by consolidating authentication
3546 mechanism used at the CIFS and RPC layers.
3547 o The capability to manage Unix services using the Win32
3548 Service Control API.
3549 o The capability to view external Unix log files via the
3550 Microsoft Event Viewer.
3551 o New libmsrpc share library for application developers.
3552 o Rewrite of CIFS oplock implementation.
3553 o Performance Counter external daemon.
3554 o Winbindd auto-detection query methods when communicating with
3555 a domain controller.
3556 o The ability to enumerate long share names in libsmbclient
3560 ######################################################################
3567 Parameter Name Action
3568 -------------- ------
3569 dfree cache time New
3570 dfree command Per share
3574 passdb expand explicit New
3575 rename user script New
3576 reset on zero vc New
3577 svcctl list Renamed from 'enable svcctl'
3581 Changes since 3.0.20b
3582 ---------------------
3584 o Jeremy Allison <jra@samba.org>
3585 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
3586 * Added 'map readonly' parameter.
3587 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
3589 * Maintain schannel client session keys in volatile
3590 $(privatedir)/schannel_store.tdb.
3591 * BUG 2769: Ensure we mangle filenames ending in a space
3592 * Catch corner case of renaming a symlinked directory into
3594 * Ensure that smb.conf requests for hidden files are honored,
3595 even when DOS attributes are stored in EA's
3596 * Add new auth method "auth_script" for calling an external
3598 * BUG 2152: Fix for mangled filenames when the client does
3599 support long filenames
3600 * Rewritten implementation of client and server DCE/RPC infrastructure
3601 * BUG 3192: Adds a "dfree cache time" parameter.
3602 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
3603 the S_IWGRP mask in the absence of a POSIX ACL.
3604 * Remove use of 'long long' in libsmbclient code.
3605 * Ensure the new canonicalize_servicename() in name/snum hash
3607 * BUG 2922: Integration of FreeBSD AIO patches from Timur
3609 * BUG 3216: Put directory opens into the share mode db so we
3610 can treat them similarly to file opens (delete on close,
3611 share mode violations etc.).
3612 * Fix bug in name mangling code when case sensitivity is enabled.
3613 * Remove external dependencies from the sharemodes library.
3614 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.