1 ==================================
2 Release Notes for Samba 3.0.21pre1
4 ==================================
6 This is a preview release of the Samba 3.0.21 code base and
7 is provided for testing only. This release is *not* intended
8 for production servers. There has been a substantial amount
9 of development since the 3.0.20 series of stable releases.
10 We would like to ask the Samba community for help in testing
11 these changes as we work towards the next significant production
12 upgrade Samba 3.0 release.
14 Common bugs fixed in 3.0.21pre1 include:
16 o Missing groups in a user's token when logging in via kerberos
17 o Incompatibilities with newer MS Windows hotfixes and
20 New features introduced in Samba 3.0.21pre1 include:
22 o Complete NTLMv2 support by consolidating authentication
23 mechanism used at the CIFS and RPC layers.
24 o The capability to manage Unix services using the Win32
26 o The capability to view external Unix log files via the
27 Microsoft Event Viewer.
28 o New libmsrpc share library for application developers.
29 o Rewrite of CIFS oplock implementation.
32 ######################################################################
44 rename user script New
45 svcctl list Renamed from 'enable svcctl'
48 Changes since 3.0.20[a-b]
49 -------------------------
54 o Jeremy Allison <jra@samba.org>
55 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
56 * Added 'map readonly' parameter.
57 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
59 * Maintain schannel client session keys in volatile
60 $(privatedir)/schannel_store.tdb.
61 * BUG 2769: Ensure we mangle filenames ending in a space
62 * Catch corner case of renaming a symlinked directory into
64 * Ensure that smb.conf requests for hidden files are honored,
65 even when DOS attributes are stored in EA's
66 * Add new auth method "auth_script" for calling an external
68 * BUG 2152: Fix for mangled filenames when the client does
69 support long filenames
70 * Rewritten implementation of client and server DCE/RPC infrastructure
73 o Gerald (Jerry) Carter <jerry@samba.org>
74 * Eventlog and ServiceControl support.
75 * BUG 1051: store the directory path so we can send the full
76 name in the unlink call from smbclient.
77 * Use reference count strategy for keeping the registry tdb
79 * Convert internal registry objects to new hierarchical talloc
80 * Allow the root user a free pass for access checks in the
81 registry and service control checks.
82 * Sanity checks in the privilege code to prevent empty SID
84 * Add basic infrastructure for 'make test' when the socket
85 wrapper library is configured at compile time
86 * Convert profiles utility to use the current regfio interface
87 for reading and writing user profiles
88 * Remove netsamlogon_cache interface
89 * Ensure that print jobs are removed even when the cancel
90 command is received before the print cache has been updated
93 o Guenther Deschner <gd@samba.org>
94 * Fixed compile problems and warnings with newer OpenLDAP
96 * Fix bug when enumerating trusted domains via 'wbinfo -m'
97 * Parse the MS Kerberos PAC to obtain the user group
98 membership during logon.
99 * Add support for SeRestorePrivilege to allow a process to
100 change the ownership of a file to any arbitrary account
101 * Fix password history storage when using Novell eDirectory for
103 * Backport Kerberos PAC parsing from Samba 4 branch in order to
104 correctly create the NT User Token when logging into a Samba
108 o Deryck Hodge <deryck@samba.org>
109 * Allow control of syslog facility and level in audit vfs modules.
112 o S Murthy Kambhampaty <smk_va@yahoo.com>
113 * Patches for Fedora RPM specfile and init script
116 o Volker Lendecke <vl@samba.org>
117 * New oplock implementation.
118 * Add assert() call if winbindd cannot locate the domain SID in
119 secrets.tdb on startup
122 o Jason Mader <jason@ncac.gwu.edu>
123 * Removed compiler various warnings.
126 o Jim McDonough <jmcd@us.ibm.com>
127 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
130 o Stefan Metzmacher <metze@samba.org>
131 * Fix setting of quotas on linux kernel with the struct
133 * Enable sysquota interfact on Linux by default
136 o Brian Moran <bmoran@centeris.com>
137 * Eventlog and ServiceControl support.
138 * Added eventlogadm tool for writing Eventlog records.
141 o Chris Nicholls <skel@samba.org>
142 * New libmsrpc library (Google SoC Project).
145 o James Peach <jpeach@sgi.com>
146 * Fix parsing error for smb ports parameter.
149 o Marcin Porwit <mporwit@centeris.com>
150 * Eventlog and ServiceControl support.
153 o Joel Smith <joel.j.smith@novell.com>
154 * Add iPrint printing backend support.
156 o Toomas Soome <Toomas.Soome@mls.ee>
157 * Implement host lookups in nss_winbind.so.1 on Solaris
160 Release Notes for older release follow:
162 --------------------------------------------------
163 ===============================
164 Release Notes for Samba 3.0.20b
166 ===============================
168 Common bugs fixed in 3.0.20b include:
170 o A crash bug in winbindd
171 o Reporting files as read-only instead of returning the
172 correct error code of "access denied"
173 o File system quota support defects
176 ######################################################################
181 Changes since 3.0.20a
182 ---------------------
187 o Jeremy Allison <jra@samba.org>
188 * BUG 3088: Fix error condition for files on a read-write share
189 which cannot be read due to permissions.
192 o Gerald (Jerry) Carter <jerry@samba.org>
193 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
195 * BUG 1473, 3090: Quota detection and compilation problems on
199 o Marc Balmer <marc@msys.ch>
200 * Build fixes when builddir != srcdir
203 o Alex Deiter <tiamat@komi.mts.ru>
204 * BUG 3145: Fix build issue regarding quota support on Solaris.
207 o Volker Lendecke <vl@samba.org>
208 * BUG 3068: Fix for winbindd crashed by empty DC alternative
212 --------------------------------------------------
213 ===============================
214 Release Notes for Samba 3.0.20a
216 ===============================
218 Common bugs fixed in 3.0.20a include:
220 o Stability problems with winbindd.
221 o Crash bugs caused by incompatibilities on 64-bit systems.
222 o Missing files from directory listings on AIX servers
223 o User Manager interoperability problems.
224 o Minor build difficulties on various platforms such as
228 Winbind, security = domain, and Active Directory
229 ================================================
231 Recent security updates for Windows 2000 and Windows 2003 have
232 changed the fashion in which user and group lists can be obtained
233 from domain controllers. In short, the RPC mechanisms used by
234 "security = domain" to retrieve users and groups is not compatible
235 with these changes. The "security = ads" configuration is not
236 affected by the Windows protocol changes.
238 Samba developers are actively working to correct this problem in
239 the 3.0.21 release. In the meantime, Administrators who are unable
240 to migrate to "security = ads" and must continue using "security =
241 domain", can define credentials to be used by winbindd for account
242 enumeration by executing the following command as root.
244 wbinfo --set-auth-user='DOMAIN\username%password'
248 ######################################################################
259 o Jeremy Allison <jra@samba.org>
260 * BUG 3065: Fix for legacy clients retrieving a listing of
262 * Added external library for accessing Samba's share mode
264 * Fix winbindd credentials chain which caused logon failures
265 after attempting to authenticate an unknown user.
266 * Fix recursive looping bug in winbindd.
267 * Fix build errors on 64-bit systems.
268 * Posix ACL memory leak and crash bug fixes.
269 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
270 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
271 * Hide dot files and directory logic fixes.
272 * Correct display of open file modes by smbstatus.
273 * BUG 3010: Fix missing files bug on AIX systems.
276 o Gerald (Jerry) Carter <jerry@samba.org>
277 * Allow the root user to automatically pass se_access_checks()
278 in the registry and service control server code.
279 * Ensure that winbindd uses the correct name in the net_auth2()
280 request when running on a Samba PDC.
281 * Fix linking problem with tdb utilities.
282 * BUG 3080: Fix regression in 'net rpc shutdown' command.
283 * Fix segv in 'net rpc' when the pipe open fails.
284 * Fix upload bug when installing 64-bit Windows printer drivers.
285 * Fix regression in the smburi syntax used by smbspool.
286 * Fix sorting of subkey hash records in registry files.
287 * Correct REG_CREATE_KEY_EX parsing error.
288 * Interoperability issues with usrmgr.exe and Samba groups.
289 * Use the display names and not the Unix names when enumerating
290 groups in the ldapsam passdb backend.
291 * Ensure that Windows domain user names are converted to lower case.
294 o Guenther Deschner <gd@samba.org>
295 * Prevent BUILTIN sids returned in the user's token from
296 a Windows DC from being applied to any local group mappings
298 * Plug memory leaks in the kerberos keytab code.
299 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
300 backend when 'winbind nested groups' is enabled.
301 * Fix crash bug in winbindd caused by 64-bit build issues.
302 * Improve debug messages in smbspool.
303 * Give better error-message when "NDS Universal Password" change fails.
304 * Fix password history error in the eDirectory schema file.
305 * Ensure that Windows domain group names are converted to lower case.
308 o Steve French <sfrench@us.ibm.com>
309 * Allow disabling mandatory byte range lock mount flag, and fix
310 corresponding entry in mtab.
313 o Volker Lendecke <vl@samba.org>
314 * Fix race condition in the NTcreate&X open code when the
315 disposition is NTCREATEX_DISP_CREATE.
316 * Correct logic error when checking the pid for pending print
317 change notify messages.
318 * Ensure that winbindd child process complete startup even when
319 the parent is receiving authentication requests.
320 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
321 when authentication fails.
324 o Jason Mader <jason@ncac.gwu.edu>
325 * Compile warning fixes.
328 o Uli Meis <a.sporto@gmail.com>
329 * Patches for pdb_*sql.c
332 o Luke Mewburn <lukem@NetBSD.org>
333 * Autoconf syntax fixes.
336 o James Peach <jpeach@sgi.com>
337 * Correct problem with creating a core file in Linux.
340 o Stefan Metzmacher <metze@samba.org>
341 * Quota fixes in smbd.
344 o Peter Rindfuss <rindfuss@wz-berlin.de>
345 * Patches for pdb_*sql.c
348 o Jiri Sasek <Jiri.Sasek@Sun.COM>
349 * Solaris toolchain patches for autoconf scripts.
352 o Andrew Tridgell <tridge@samba.org>
353 * Fix for tdb clear-if-first race condition.
356 o Leo Weppelman <leo@wau.mis.ah.nl>
357 * BUG 3104: Don't allow time updates to files on read-only shares.
360 o Steve Williams <steve@celineandsteve.com>
361 * BUG 3052: Fix compile issues on OpenBSD.
364 --------------------------------------------------
365 ==============================
366 Release Notes for Samba 3.0.20
368 ==============================
370 Additional features introduced in Samba 3.0.20 include:
372 o Support for several new Win32 rpc pipes.
373 o Improved support for OS/2 clients.
374 o New 'net rpc service' tool for managing Win32 services.
375 o Capability to set the owner on new files and directory
376 based on the parent's ownership.
377 o Experimental, asynchronous IO file serving support.
378 o Completed Support for Microsoft Print Migrator.
379 o New Winbind IDmap plugin (ad) for retrieving uid and gid
380 from AD servers which maintain the SFU user and group
382 o Rewritten support for POSIX pathnames when utilizing
383 the Linux CIFS fs client.
384 o New asynchronous winbindd.
385 o Support for Microsoft Print Migrator.
386 o New Windows NT registry file I/O library.
387 o New user right (SeTakeOwnershipPrivilege) added.
388 o New "net share migrate" options.
391 What happened to 3.0.15 - 3.0.19?
392 ==================================
394 After some discussion it was deemed that the amount of changes
395 going into the next Samba 3.0 release needed something to catch
396 people's attention. Skipping several releases was chosen as
397 the best solution with the least overhead. There will be no
398 3.0.15 - 3.0.19 ever released. The next production release
399 following 3.0.20 should be 3.0.21.
401 The original announcement about the version number change can
402 be found in the samba mailing list archives:
404 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
407 Asynchronous Winbind Implementation
408 ===================================
410 Winbindd has been completely rewritten in this release to support
411 an almost completely non-blocking, asynchronous request/reply
412 model. This means that winbindd will scale much better in
413 large domain environments and on high latency networks. Neither
414 the client interface nor the command line tools (i.e. wbinfo) have
415 changed in their calling conventions or syntax. However, due to
416 internal structure changes, it is required (more so than normal)
417 that you install the nss_winbind.so library included in this release.
420 Support for Microsoft Print Migrator
421 ====================================
423 Samba 3.0.20 includes full support for migrating printers from
424 Windows servers or other Samba servers via the Microsoft Print
425 Migrator tool. Restoring printers requires a working "add printer
426 command" defined in smb.conf. Current support also allows
427 administrators to create a master list of printer drivers which
428 can be restored in bulk on new (or existing) Samba installations.
431 Asynchronous IO Support
432 =======================
434 Experimental support for async IO has been added to smbd for
435 certain platforms. To enable this new feature, Samba must be
436 compiled to include the --with-aio-support configure option.
437 In addition, the "aio read size" and "aio write size" to non-zero
438 values. See the smb.conf(5) man page for more details on these
442 ######################################################################
449 Parameter Name Action
450 -------------- ------
451 acl check permissions New
452 acl group control New
453 acl map full control New
456 enable asu support New
459 map to guest Modified (new value added)
460 max stat cache size New
461 min password length Removed
462 printer admin Deprecated
463 username map script New
464 winbind enable local accounts Removed
465 winbindd nss info New
468 Changes since 3.0.14a
469 ---------------------
475 o Jeremy Allison <jra@samba.org>
476 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
477 * Ensure the old SMB search calls always ask mask_match() to
478 translate patterns like ????????.???.
479 * Split out the check_path_syntax() into a findfirst, findnext,
481 * Fix checks for matching groups in an file ACL against the
482 user's primary and supplementary group list.
483 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
484 LANMAN2 protocol, ensure the EA size is always correctly
485 set on a query for a file with no EA's.
486 * BUG 2551: Look at the incoming flags2 flag
487 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
488 uppercased on a SMBsearch request, not the protocol level.
489 * Added "volume" command to smbclient that prints out the
490 volume name and serial number.
491 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
492 * Add support for OS/2 Extended Attributes.
493 * Correctly check OpenX open modes.
494 * Ensure allocation size is correctly returned for OpenX.
495 * Only set allocation on create/truncate for nttrans.
496 * Fix oplock bug in trans2open() code.
497 * Remove unix_ERR_XXX global nastiness.
498 * Only do the strange DOS error for openX, not trans2open.
499 * Ensure SMBopen replies includes the share modes as well as
501 * BUG 2581: Add size limit (in kb) to stat cache.
502 * Fix bug in the trans2 secondary processing.
503 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
504 * Add an SMB counter per connection struct for gathering
506 * BUG 2605: Ensure smbclient doesn't perform commands if
507 the "chdir" fails in a scripted set.
508 * Ensure a 'forced group' is added to the list of effective
509 gids when processing ACLs.
510 * Refactor rpc_bind structures for better future work.
511 * BUG 2942: Add missing value in debug message.
512 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
513 by 'mangling method = hash'.
514 * Fix memory leaks in the msdfs trans2 server code.
515 * Convert msdfs server to be talloc'd based.
516 * Fix up stackable vfs interface.
517 * Fix rpc fault when encountering an unknown rpc_bind auth
519 * BUG 2954: More AIX 5.1 AIO compile fixes.
520 * Fix valgrind bug in interaction with new aio buffer (found
522 * BUG 2878: Fix Norton commander not running on OS/2 clients.
523 * Cleanup SAMR user info structure naming.
524 * BUG 2889: Fix directly listings from OS/2 clients.
525 * Added "acl group control" parameter.
526 * Add debug warning if AddPrinterEx() is called without having
527 an 'add printer command' defined.
528 * Add better log messages when modifying ldap entries.
529 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
530 when string is unaligned.
531 * BUG 2918: Fix SMB chaining by ensuring that deferred open
532 message buffer is nor reused.
533 * Add support for client setting capabilities to select posix
534 pathnames on the wire.
535 * Stop using C++ reserved words so that Samba can be compiled
536 using g++. Also allows VFS modules in C++.
537 * More fixes to allow better large directory scaling.
538 * BUG 2827: Ensure we call the vfs connection hook before
539 doing a vfs stat. Allows database vfs backends to initialize
540 with a working connection.
541 * BUG 2826: Ensure the correct return value for symlink and
543 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
544 * Added AIO support to smbd.
545 * Add "acl map full control", true by default, to allow people
546 to change mapping of rwx to full control or not.
547 * Transition smbd to use NTcreate&X for internal file opens.
548 * Add checks against the current effective group id (e.g. force
549 user) when testing write permissions one ACLs.
550 * Fix FindFirst/FindNext server code when parsing directories
551 on old IRIX XFS file systems (thanks to Cale Fairchild
552 for the debugging help).
553 * BUG 2644: Test for special files to be ignored was reversed.
554 * Ensure yield_connection() is called on all appropriate error
556 * Fix EDEADLCK problem with deferred open calls.
557 * BUG 2622: Remove DPTR_MASK as it makes no sense.
558 * Fix the write cache based on some VERY good detective work
560 * BUG 2346: Fix read-only excel file bugs.
561 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
562 return ENOSYS if not implemented.
563 * Add new CAP for POSIX pathnames.
564 * BUG 2703: Add NULL guard for disp_fields[0].
565 * BUG 2681: With "strict allocate = yes" we now zero fill when
566 a file is extended. Should catch disk full errors on write
568 * Add "acl check permissions" to turn on/off the new
569 behavior of checking for write access in a directory
571 * Refactor printing interface to take offset into job.
572 * Allow mapping of POSIX ACLs to NT perms to differentiate
573 between directories and files.
574 * Added encrypt/decrypt function for LSA secrets and trusted
575 domain passwords on the wire.
576 * BUG 2729: Resume keys are *mandatory* for a search when
577 listing a W2K and above server from a FATxx filesystem only.
578 * BUG 2735: Ensure that smbd mangles control characters in file
580 * Refactor small pieces of socket handling code (in conjunction
582 * BUG 2698: Fix infinite listing loop in smbclient caused by
583 an invalid character set conversion.
584 * Add client code that will abort a directory listing if we
585 see the same name twice between packets.
586 * Performance improvements in trans2 qfilepathinfo code by
587 removing unnecessary memset() calls.
588 * Rewrite the RPC bind parsing functions to follow the
589 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
590 * BUG 2774: Set sparse flag if needed when returning
592 * Fix errors listing directories from Windows NT clients
593 which caused "." and ".." to show up in explorer.exe.
594 * Merge of error code fixes from SAMBA_4_0 branch.
595 * BUG 2801: Fix regression in the "delete veto files" option.
596 * Fix based on work from Shlomi Yaakobovich to catch loops
597 in corrupted tdb files.
598 * Allow someone with SeTakeOwnershipPrivilege to chown the
599 user of a file to herself.
600 * Fix minor compiler warnings in printing/printing.c.
601 * Merge new DOS error code from SAMBA_4.
602 * Fix issue when non-English characters in filenames and
604 * Fix bogus error message in smbstatus about unknown share modes.
607 o Andrew Bartlett <abartlet@samba.org>
608 * Support raw NTLMSSP authentication for Windows Vista
610 * Fix parallel NTLMSSP processing by removing global state.
611 * BUG 2684: Add per service hosts allow/deny checks for
612 printers when connecting via MS-RPC.
613 * BUG 2391: Fix segv caused by free a static pointer returned
615 * Support kerberos authentication in smbd when using a keytab
616 and participating in a non-Microsoft Kerberos realm.
619 o Timur Bakeyev <timur@com.bat.ru>
620 * BUG 2546: Add support for FreeBSD EA API
621 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
622 * BUG 2908: Fix string length logic error in msdfs code.
623 * BUG 2909: Fix typo that caused smbd to call the wrong
627 o Ed Boraas <ed.boraas@concordia.ab.ca>.
628 * Added Linux per-socket TCP settings.
631 o Gerald (Jerry) Carter <jerry@samba.org>
632 * Added support for \svcctl pipe rpcs.
633 * Added 'net rpc service' subcommand for managing Win32
635 * Refactoring work on the rpc [un]marshalling layer and
637 * Verify privilege name in 'net rpc rights privileges' in
638 order to provide better error messages.
639 * Cleanup rpc structures in rpc_spoolss.h.
640 * Cleanups and fixes for the \winreg server code.
641 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
642 * Fix bugs in client spoolss code after refactoring work.
643 * Fix Valgrind warnings of invalid reads in the spoolss
645 * Fixed a segv when enumerating services on a Samba host.
646 * Fix segv in the service control server code.
647 * Fix crashes in client spoolss calls caused by not checking
648 for a valid pointer from the caller.
649 * Fix regression in DeleteDriver() server routines.
650 * Fix dup_a_regval() when size is 0.
651 * Fix usrmgr.exe crash when viewing user properties at
653 * Do not enumerate any privileges when 'enable privileges = no'
654 and log a message if a client tries.
655 * BUG 2872: Fix cut-n-paste error when checking pointer value
656 in ntlmssp_set_workstation().
657 * Fix upgrade path from earlier nt*tdb files.
658 * Removed print handle object cache.
659 * BUG 2853: Don't strip out characters like '$' from printer
660 names when substituting for the lpq command.
661 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
662 * Fix build issues on x86_64-linux systems caused by valgrind
663 headers. Thanks to Bent Vangli to the suggestions.
664 * Refactor spoolss client calls.
665 * Adding 'username map script'.
666 * Disable schannel on the LSA and SAMR pipes in winbindd client
667 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
668 * Cleanup of winreg API functions.
669 * Add server stubs for RegSetKeySec() and RegGetKeySec().
670 * Map generic bits to specific bits in reg_open_entry()
672 * Add write support to registry tdb and printing backends.
673 * Use tdb lookups rather than hard-coding certain registry
674 value names and data.
675 * BUG 2808: don't try to install man pages if they are not
677 * Fix initialized variables reported by valgrind.
678 * Normalize key lookups in ntprinters.tdb.
679 * Mark "enumports command" as deprecated.
680 * Add missing class file for python share command example.
681 * Fix smbclient build issue on Solaris.
682 * BUG 2626: ensure that the calling_name is set to something
683 after parsing smb.conf (if not set via -n).
684 * Use "add machine script" when creating a user (ACB_NORMAL)
685 who has a name ending in '$' (e.g. usrmgr.exe creating
686 domain trust accounts).
687 * Add 'rid' synonym for idmap_rid IDMap module.
688 * Ensure that we set full access on the handle returned
689 from _samr_create_dom_{alias,group}() so that future
690 set_{alias,group}() commands succeed.
691 * Fix bug when looking for internal domains in winbindd
692 (caused winbindd_getgrgid() for local groups to fail).
693 * Fix query and set alias info calls (level 1 from the MMC
694 manage computer plug-in.
695 * Remove bogus log messages about unknown specversions.
696 * BUG 2680: copy files from an MS-DFS win2k root share
697 * BUG 2688: re-implement support for the -P (--port) option
698 * Support connecting to an 'msdfs proxy' share on a Samba
700 * Strip the directory path from cups command line printing
702 * Fix bug that prevented smbclient from creating directories
704 * Deprecate the "printer admin" parameter in favor of the
705 SePrintOperatorPrivilege.
706 * Add the capability to read and write WinNT regf registry
708 * Implement access checks for RegOpenXXX() server calls.
709 * Extend registry client rpc calls.
710 * Add "net rpc registry" set of commands.
711 * Remove testprns tool.
712 * Ensure that printer ACLs use the specific bits as well as
713 the generic bits. Upgrade existing ntprinters.tdb SECDESC
715 * Add server support for RegSaveKey() for dumping registry
716 trees to a regf file.
717 * Add "enable asu support" smb.conf parameter.
718 * Merge various small file changes from trunk.
719 * Remove "winbind enable local accounts" support.
720 * Remove "ldap filter" smb.conf option.
721 * Remove editreg utility (needs to be rewritten using regfio.c).
722 * Fix build failure when running 'make torture' without first
723 running 'make all' first.
724 * BUG 1261: Remove unusable libbiconv from iconv detection
726 * Add new option for "map to guest". "Bad Uid" re-enables the
727 Samba 2.2 behavior of mapping authenticated users to the
728 guest account if there does not exist a valid Unix account
729 for the Windows domain user (based on patch from
730 aruna.prabakar@hp.com).
731 * Fix a couple of regressions after introduction of new winbindd.
732 * Fix smbpasswd user password change (still worked by bad error
733 messages) due to trying to strdup a NULL pointer.
734 * Implement default security descriptors for the
735 OpenService[Manager]() calls and check requested access mask
737 * Include access checks on handle mask for \svcctl operations
738 such as ControlService() and StartService().
739 * Implement simulated start and stop service control for
740 the spooler service as a per smbd service state value.
741 * Add interface structure for controlling service via rc.init
742 scripts (incomplete).
743 * Convert move_driver_to_download_area() to use copy_file()
744 rather than moving the files.
745 * Add version number to registry.tdb file since it can be
747 * Remove over-paranoid assert() call when checking spoolss
749 * Fix error in EnumPrinterData() reported by valgrind.
750 * Fix broken help links in SWAT editor caused by new doc layout.
751 * Ensure that a domain structure in winbind is initialized prior
752 to assigning the methods for communicating to a DC.
753 * BUG 3000: Remove background updates of winbind cache and allow
754 child processes to immediately update and expired cache entry.
757 o David.Collier-Brown <David.Collier-Brown@sun.com>
758 * Added panic action script for Solaris.
761 o Jeremy Cooper <jeremy@ncircle.com>
762 * Added support for several new \winreg client rpcs.
765 o <core@road-star.jp>
766 * BUG 2792: Ensure the shadow copy module hooks seekdir,
767 telldir, rewinddir to match updated large directory code.
770 o Guenther Deschner <gd@samba.org>
771 * Close handles on group creation in rpcclient to better
772 support mass group account creation.
773 * Fix account policy key lookup for minimum and maximum
775 * Fix some compiler warnings and add missing exclude-block
776 in 'net rpc share migrate'.
777 * Allow use of a non-default smb.conf by rpcclient.
778 * Fix querydispinfo search semantics in rpcclient test code.
779 * Fix querydispinfo server semantics to allow to list more
781 * Fix server crash bug in ancient OpenPrinter() call.
782 * Fix a crash bug when enumerating privileges via the LSA
784 * Fix crash in EnumPrinterKey() client calls caused by previous
786 * Various compiler warning fixes.
787 * Fix segfault in the client AddPrinterEx-call of 'net
789 * Fix build issues when --with-aio-support is enabled.
790 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
791 * Honour the CC environment variable in python build.
792 * Fix searches in pdb_ldap for inter-domain trust accounts.
793 * Don't expand the %L in %LOGONSERVER% from user attributes.
794 * Fix bug in 'net rpc vampire' that caused accounts to be created
795 with no assigned ACB flags.
796 * Fix enumeration of builtin-aliases.
797 * Avoid unset rids for builtin-aliases.
798 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
799 * More "net rpc share migrate" fixes.
800 * Merge PADL's idmap_ad plugin (taken from the latest
801 xad_oss_plugins-tarball).
802 * Add support for "idmap backend = ad" when "security = ads".
803 * Add home directory and shell support from AD via "winbindd nss
804 support = sfu" and "security = ads".
805 * Provide better feedback when we fail share-manipulation
806 due to missing scripts.
807 * Correctly substitute "\" as default winbind separator in
808 generate_parm_table.py example share command script.
809 * Document pam_winbind.c to clarify the working status of
810 require-membership-of option.
811 * Added client-support for various lsa_query_trust_dom_info()
812 calls and a rpcclient-tester for some info-levels.
813 * Add "net rpc trustdom vampire" tool (in conjunction with
815 * Add missing cli_srvsvc_net_share_set_info-function and
816 rpcclient-testers (in preparation for net share acl migration).
817 * Print trusted domain passwords returned via rpcclient in
819 * Error code fixes when attempting to manipulating
821 * Cleanup "net share migrate" code.
822 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
824 * Allow admins to uncheck the "User must change Password at
825 next Logon" checkbox in User manager (merge from trunk).
828 o Renaud Duhaut <rd@duhaut.com>
829 * BUG 1040: Add directory_mode parameter when creating recycle
833 o Steven Edwards <steven_ed4153@yahoo.com>.
834 * Use chsize() if we don't have ftruncate().
837 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
838 * BUG 1780: Add kerberos (file based ticket cache) support
842 o Steve French <sfrench@us.ibm.com>
843 * Update list of mount options for mount.cifs.
844 * Add more defines for POSIX extensions to match the newly
845 added client implementation.
846 * Add initial support for cifs umount utility.
847 * Fix cifs mounts to handle commas embedded in prompted
848 password, and password and credential files.
849 * Fix cifs mounts to handle domain name and user name in
850 username field (in form domain\user).
851 * Add missing error code mappings when a client unsuccessfully
852 tries to create a hard-link.
853 * Add support so umount.cifs can update mtab.
854 * Add two newer mount options to syntax help for mount.cifs.
855 * Add missing remount flag handling.
856 * Allow domain= to be specified in credentials file.
857 * Fix umount.cifs help, allow root to unmount someone else's
859 * Lock mtab when updating it during umount.cifs, also delete
860 only one matching entry at a time.
861 * Fix minor compiler warnings in the mount.cifs helper.
864 o Deryck Hodge <deryck@samba.org>
865 * BUG 2137: Encode quotes for display in HTML (original patch
869 o Olaf Imig <Olaf.Imig@bifab.de>
870 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
872 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
875 o Björn Jacke <bj@sernet.de>
876 * Added ioctl constants reported by msbackup.exe and filemon.exe.
879 o Kevin Jamieson <bugzilla@kevinjamieson.com>
880 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
883 o John Janosik <jpjanosi@us.ibm.com>
884 * BUG 2077: Correctly fill in the correct server name when
885 processing trusted domain logins.
886 * BUG 2976: Mark logons for unknown domains with a
887 non-authoritative response.
890 o William Jojo <jojowil@hvcc.edu>
894 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
895 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
899 o Tom Lackemann <cessnatomny@yahoo.com>
900 * BUG 2242: Patch to ensure that we only set the security
901 descriptor on an NTtransact create if we created the file.
904 o Volker Lendecke <vl@samba.org>
905 * Port some of the non-critical changes from HEAD to 3_0.
906 The main one is the change in pdb_enum_alias_memberships
907 to match samr.idl a bit closer.
908 * Close handles on user creation in rpcclient to better
909 support mass user account creation.
910 * Implement client RAP calls for enumusers/enumgroups level 0.
911 * Implement a new caching API for enumerating the pdb elements.
912 * Convert the RAP user and group enumeration functions to the
913 utilized the pdb_search API.
914 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
915 RestrictAnonymous environments.
916 * Internal passdb API changes for better search capabilities
917 (based on original work by Guenther Deschner).
918 * Fix various compiler warnings.
919 * Add chain length statistics to tdbtool.
920 * Fix set afs ACL calls on files and directories in the root of
922 * Refactoring work on internal open code
923 * Correctly initialize the version in a new set of nt*tdb files.
924 * Remove smb_run_idle_events() from main process loop in smbd
925 and instead rely upon the timeout processing to handle
926 dropping idle LDAP connections.
927 * Fix the bug where users show up as trusting domains.
928 * Fix an assertion failure in winbindd.
929 * Fix a memleak in vfs_afsacl.
930 * Various compiler warning fixes.
931 * Fix compile when --enable-socket-wrapper is defined.
932 * Fixes for top level acls in vfs_acl.c.
933 * Refactor passdb interface functions.
934 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
935 * Correct 2 segv's in "net rpc printer migrate".
936 * Return correct group type from smbd for BUILTIN groups.
937 * Backport the talloc() layer from Samba 4.
938 * BUG 2701: Fix segv in ldap reconnection code.
939 * BUG 2705: Fix segv when connecting from usrmgr.exe.
940 * Use the SID in the user token for the %s expansion in 'afs
942 * Memory leak fixes in passdb code.
943 * BUG 2720: Fixes for "net usersidlist".
944 * BUG 2725: Fix segv in "net ads user".
945 * Only allow schannel connections if a successful Auth2
946 has been previously performed.
947 * Don't look at gencache.tdb for the trusted domains if
949 * Rewrite winbindd using an asynchronous process model.
952 o Herb Lewis <herb@samba.org>
953 * Compiler warning cleanups.
954 * smbwrapper Makefile and compile time check cleanups.
955 * Adding robustness checks for tdbdump and tdbtool.
956 * Extend tdb command line parsing to arbitrary hex characters.
957 * Add LOCKING debug class.
958 * Fix more compiler warnings.
961 o Derrell Lipman <derrell@samba.org>
962 * add support for opening a file for write with O_APPEND
964 * Added smbsh/smbwrapper for Linux to example/libsmbclient
966 * Fix smbc_stat() from returning incorrect timestamps IFF
967 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
968 and not if it used cli-getatr() to retrieve the timestamps
970 * Fix handful of compiler warnings.
971 * BUG 2498, 2484: smbc_getxattr() fixes.
972 * BUG 1133: Added provision for overloading some global
973 configuration options via the new, per-user file
974 ~/.smb/smb.conf.append.
975 * BUG 2543: Properly cache anonymous username when reverting
976 to anonymous login, in libsmbclient.
977 * BUG 2505: Fix large file support in libsmbclient.
978 * BUG 2564: Ensure correct errno when smbc_opendir() was called
979 with a file rather than a directory.
980 * Correct deprecated lvalue casts in testsuite/libsmbclient.
981 * BUG 2663. cli_getattrE() and cli_setattrE() were not
982 formatting or parsing the timestamp values correctly.
983 * Correctly detect AF_LOCAL support in configure.
984 * Fix problem updating file times on Windows 98 hosts using
986 * Fix compile breakage on Solaris by eliminating the use of
987 ctime_r() in libsmbclient DEBUG statement.
990 o Jason Mader <jason@ncac.gwu.edu>
991 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
992 * Various compiler warning fixes about mistyped variables.
993 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
995 * BUG 2527, 2538: Removed unused variables.
998 o Marcel <samba.10.maazl@spamgourmet.com>
999 * Fix regression in OS/2 trans2 open code.
1002 o Jim McDonough <jmcd@us.ibm.com>
1003 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1004 (in conjunction with Volker).
1005 * BUG 2953: Prevent the credentials chain on DC gets out
1006 of sync with client when NT_STATUS_NO_USER is returned.
1007 * Added subcommands to "net rpc vampire" (mostly done by Don
1008 Watson <dwatson@us.ibm.com>) to allow data to be put into an
1009 ldif file instead of actually writing to the passdb.
1010 * BUG 2736: Add retries to workaround winbind race condition
1011 with detecting idle clients.
1012 * BUG 2953: Additional fixes for domain trusts. Also clears
1013 up the "bad stub" error when attempting to logon to a Samba
1014 domain with a bad username.
1017 o Luke Mewburn <lukem@NetBSD.org>
1018 * Compiler warning fixes.
1021 o Kalim Moghul <kalim@samba.org>
1022 * Removed unused printmode command from smbclient.
1025 o Lars Müller <lmuelle@samba.org>
1026 * Re-enable the VERSION_REVISION option in case of another
1028 * Fix spoolss python bindings after C++ compiler changes and
1030 * BUG 2659: Don't trump on memory in smbtorture.
1031 * BUG 2060: Add -fPIC which is the case for all other Samba
1033 * Fix argv parsing in "net rpc".
1034 * Add support to create position independent executable (PIE)
1035 code if the compiler supports it.
1036 * BUG 2767: Add new options to testparm (--show-all-parameters,
1037 --parameter-name, and --section-name).
1038 * Fix net share migrate files to also migrate the ACLs of
1039 the top level dir of a share.
1042 o Marcel Muller <mueller@maazl.de>
1043 * Patch to fix the OS/2 EA_FROM_LIST info level call.
1044 * Mangled names fix for OS/2 clients.
1045 * Ensure we correctly set the return packet size to include the
1046 pad bytes in reply_readbmpx().
1047 * Fix for bug in SMBwriteBraw that incorrectly returned the
1048 number of bytes written.
1051 o Ricky Nance <ricky.nance@gmail.com>
1052 * Implemented mklogon script generator for domain logon scripts.
1055 o James Peach <jpeach@sgi.com>
1056 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1057 * BUG 2285: Patch for hires timestamps and efficient notify code.
1058 * MS-DFS tidyup patches.
1059 * Build fixes on IRIX.
1060 * IRIX compiler warning fixes.
1061 * BUG 2596: Fix become_root link issues and one IRIX stack
1063 * Fix for null pointer ACL free.
1064 * BUG 2314: Fix const compiler warnings in the quota code.
1067 o Ed Plese <ed@edplese.com>
1068 * Fix faulty logic which caused winbindd to return failure
1069 when a user possessed no supplementary groups.
1072 o Marcin Porwit <mporwit@centeris.com>
1073 * Initial support for the \eventlog pipe.
1074 * Fix a memleak in the eventlog code.
1075 * Miscellaneous fixes for Samba's experimental event log support.
1076 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
1080 o Tim Potter <tpot@samba.org>
1081 * BUG 2940, 2943: Fixed various compiler warnings regarding
1082 mismatched types and unused variables.
1083 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
1084 * BUG 2733: Fix incorrect SHLIBEXT is set when running
1085 configure script on HPUX IA.
1086 * Remove unused autoconf #define's.
1087 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
1088 * Removed unused function declarations in tdb.h.
1089 * BUG 2895: Don't wrap non-existent functions in the python
1091 * BUG 2623, 2630: $< and $* are not valid in explicit rules
1093 * BUG 2560: Fix compile error lurking where PATH_MAX is not
1095 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
1096 * BUG 2611: Add fflush(stdout) after displaying username prompt
1097 in smbsh if username not specified on command line.
1098 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
1099 * BUG 2808: Update install swat message to reflect the fact
1100 that swat/README no longer exists.
1103 o Denis Sbragion <d.sbragion@infotecna.it>
1104 * BUG 2196: Allow absolute path (system wide) recycle bin.
1107 o Fernando Schapachnik <fernando@mecon.gov.ar>
1108 * Add logon hours support for the Postgres backend.
1111 o Richard Sharpe <rsharpe@samba.org>
1112 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
1114 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
1115 * BUG 2362: Quota support fix for DragonFly.
1116 * Fix dragonfly detection in configure.
1119 o Simo Sorce <idra@samba.org>
1120 * Allow Domain Admins to force user sessions to close via the
1121 Windows Server Manager.
1122 * Add support to 'net rpc right privileges <name>' to enumerate
1123 accounts which possess a specific privilege.
1124 * Fix memory issues issues in vfstest (reported by Rainer Link).
1125 * Randomize reloading as to not overload cupsd.
1128 o Smitty <smitty@plainjoe.org>
1129 * Compile fixes for smbget when using --enable-developer.
1130 * Include LUID values to match Windows privileges since
1131 apparently this matters to printmig.exe
1134 o John Terpstra <jht@samba.org>
1135 * Solaris packaging fixes.
1136 * Clean up usage help text in "net rpc user"
1139 o Andrew Tridgell <tridge@samba.org>
1140 * Merge socket wrapper library fixes from Samba 4.
1143 o Brett Trotter <blt@iastate.edu>
1144 * Fix definition of global_sid_* in vfs_acl.c.
1147 o Mark Weaver <mark-clist@npsl.co.uk>
1148 * Patch to fix sys_select so it can't drop signals if another
1149 fd is ready to read.
1152 o Jelmer Vernooij <jelmer@samba.org>
1153 * Remove --with-manpage-languages configure option.
1154 * Merge socket wrapper fixes for IRIX systems from the
1156 * Add socket_wrapper library to 3.0. Can be enabled by passing
1157 --enable-socket-wrapper to configure.
1158 * Fix build of the various sql pdb backends after new talloc.
1161 o Qiao Yang <qyang@stbernard.com>
1162 * Use our own DC when getting the SID for a domain.
1166 Release Notes for older release follow:
1168 --------------------------------------------------
1169 ===============================
1170 Release Notes for Samba 3.0.14a
1172 ===============================
1174 Common bugs fixed in 3.0.14a include:
1176 o Compatibility issues between Winbind and Windows 2003 SP1
1177 domain controllers (*2k3sp1*).
1178 o MS-DFS errors with Windows XP SP2 clients.
1179 o High CPU loads caused by infinite loops in the FindNext()
1181 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
1185 ######################################################################
1189 Changes since 3.0.14
1190 --------------------
1194 o Jeremy Allison <jra@samba.org>
1195 * Fixed invalid SMB_ASSERT() triggered by checking access on
1199 Changes since 3.0.13
1200 --------------------
1205 Parameter Name Action
1206 -------------- ------
1207 dos filetimes Enabled by default
1212 o Jeremy Allison <jra@samba.org>
1213 * Prevent nt_status code support when negotiating protocols
1215 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1216 as this SMB is DOS codepage only.
1217 * BUG 2585: Fix printf() issues in smbpasswd which caused
1219 * BUG 2563: Fix infinite loop on non-existent file with
1221 * BUG 2581 (partial): Ensure if realloc fails on an internal
1222 tdb we fail gracefully.
1223 * Ensure that 'dos filetimes' works with ACLs.
1224 * Set 'dos filetimes = yes' as the default for smb.conf.
1227 o Gerald (Jerry) Carter <jerry@samba.org>
1228 * Workaround autoconf issue to prevent debug symbols from
1229 being included in the default build.
1230 * Disable schannel on the \lsarpc pipe in order to successfully
1231 enumerate users and groups (*2k3sp1*)
1232 * Fix parsing error in rpc binds which broke NTLMSSP
1233 authentication. And as a result broke CTL+ALT+DEL password
1234 changes from a Windows 2003 SP1 member of a Samba domain
1236 * Revert change to FindFirst() server code that broke WinXP
1237 SP2 clients from launching *.exe files from a dfs target
1239 * BUG 2588: Force smbclient to send netbios messages to port
1240 139 unless otherwise instructed (based on patch from Thomas
1244 o Volker Lendecke <vl@samba.org>
1245 * Fix build on FreeBSD 4 where Winbind is not supported.
1246 * Fix 'wbinfo --user-sids' when using domain local groups.
1247 * Restrict domain local groups reported by 'wbinfo -r' to
1248 the Samba server domain and not the users domain.
1251 o Lin Li <linl@xandros.com>
1252 * Ensure that winbind initializes internal trusted domain
1253 structures when enumerating users and groups.
1256 o Tim Potter <tpot@samba.org>
1257 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1259 * Fix compiler warnings.
1262 o <psz@maths.usyd.edu.au>
1263 * Fix for possible root squash NFS bugs.
1266 o Simo Sorce <irda@samba.org>
1267 * Debian packaging fixes.
1270 --------------------------------------------------
1271 ==============================
1272 Release Notes for Samba 3.0.13
1274 ==============================
1276 Common bugs fixed in 3.0.13 include:
1278 o Infinite FindNext() loop from Windows 9x client when
1279 copying or deleting files on a Samba file share using
1281 o Numerous smbclient bugs when listing directories.
1282 o Failures in smbclient when connecting to a Windows 9x
1286 ######################################################################
1290 Changes since 3.0.12
1291 --------------------
1293 o Jeremy Allison <jra@samba.org>
1294 * Fix typo bug in smbclient where flags overwrote info level
1295 in the cli_list_new().
1296 * Fix old smbclient bug where ff_searchcount was being compared
1297 to -1 resulting in processing a filename twice.
1298 * Fix segv in smbclient caused by overwriting the last 2 bytes
1300 * BUG 2530: Fix potential segv in smbclient when talking to a
1301 Windows 9x file server.
1302 * Fix last entry offset in cli_list_new() when using a
1303 FindFirst/FindNext info level of 0x104.
1304 * BUG 2501: Stop Win98 from looping doing FindNext on a
1305 singleton directory.
1306 * BUG 2521: Fix error in access checks when user group ACLs.
1309 o Gerald (Jerry) Carter <jerry@samba.org>
1310 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
1311 to delete all versions of a driver.
1312 * BUG 2517: use the realm from smb.conf for 'net ads info' when
1313 'disable netbios = yes'.
1314 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1316 * Update RedHat packaging files to require cups support. Also
1317 remove requirement for 'idmap {uid,gid}' settings in smb.conf
1318 from winbindd init script.
1319 * BUG 2516: fix compile issue on True64.
1323 o Guenther Deschner <gd@samba.org>
1324 * Check for the correct cli-struct when copying files in 'net
1325 rpc printer' routines.
1328 o Herb Lewis <herb@samba.org>
1329 * Fix incorrect test in 'net rpc user' when the user is not
1330 a member of any groups.
1333 o Jim McDonough <jmcd@us.ibm.com>
1334 * Make sure that enum_group_members() searches the correct suffix.
1337 --------------------------------------------------
1338 ==============================
1339 Release Notes for Samba 3.0.12
1341 ==============================
1343 Common bugs fixed in 3.0.12 include:
1345 o Winbind failures when using 'disable netbios = yes'
1346 o Failure to establish a trust relationship via 'net rpc trust
1348 o Various portability & compiler issues.
1349 o Read only file deletion failure caused by new delete semantics
1350 in Windows XP SP2 and the MS 04-044 security hotfix.
1351 o Error messages from shared Excel workbooks residing on Samba
1353 o Missing files in the output of smbclient -c 'dir' when run
1354 against Windows file servers.
1355 o Inability for Print Administrators to pause/resume/purge print
1358 Additional features introduced in Samba 3.0.12:
1360 o Performance enhancements when serving directories containing
1361 large number of files.
1362 o MS-DFS support added to smbclient.
1363 o More performance improvements when using Samba/OpenLDAP based
1364 DC's via the 'ldapsam:trusted=yes' option.
1365 o Support for the Novell NDS universal password when using the
1366 ldapsam passdb backend.
1367 o New 'net rpc trustdom {add,del}' functionality to eventually
1368 replace 'smbpasswd {-a,-x} -i'.
1369 o New libsmbclient functionality.
1373 =======================
1374 Large Directory Support
1375 =======================
1377 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1378 with file services that frequently contain a large number of files
1379 per directory. Historically Samba's performance has suffered
1380 in such environments due to the translation from case
1381 insensitive lookups by Windows client to the case sensitive
1382 storage mechanisms used by UNIX filesystems.
1384 Configuration details along with a short HOWTO can be found at:
1386 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1389 ==================================
1390 libsmbclient Binary Compatibility
1391 ==================================
1393 Please note that a change has been made to the _SMBCCTX structure
1394 in source/include/libsmbclient.h. This change is not backwards
1395 compatible with applications linked against the libsmbclient.so
1396 library from Samba 3.0.11. However, it is compatible with all
1397 other Samba 3.0.x releases. This means that it will be most likely
1398 be necessary to recompile any applications linked against the
1399 3.0.11 version of the library.
1402 ######################################################################
1409 Parameter Name Action
1410 -------------- ------
1411 allocation roundup size New
1412 log nt token command New
1413 write cache Deprecated
1417 Changes since 3.0.11
1418 --------------------
1422 o Jeremy Allison <jra@samba.org>
1423 * BUG 2146: Return correct allocation sizes so as not to crash
1425 * BUG 962: Ensure that parsing of service names in smb.conf is
1427 * BUG 2201, 2227: Support new delete semantics used by MS04-044
1429 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
1430 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1431 * Add special hooks when serving directories containing large
1433 * Ensure that WINS negative name query responses and WACK
1434 packets use the correct RR type of 0xA instead of reflecting
1435 back what the query RR type was (0x20).
1436 * BUG 2310: Only do 16-bit normalization on small dfree request.
1437 * BUG 2323: Correct authentication failure when using plaintext
1438 passwords from Windows XP clients.
1439 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1440 work around issues building MS Visual Studio 6.0 project
1441 on a Samba file share while restoring the pre-3.0.21pre1
1442 behavior by default.
1443 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
1444 stat when checking for existence of a pathname.
1445 * Check the sticky bit on the parent directory for supporting
1446 the new WinXP SP2 file deletion semantics.
1447 * Various oplock, share mode, and byte range locking fixes
1448 found by Connectathon tests.
1449 * BUG 2271: Fix resume key issues in trans2FindFirst() client
1450 code (inspired by patch from Satwik Hebbar).
1451 * BUG 2382, 2045: More pending modtime and delayed write fixes
1452 for MS Excel (incorporates partial patches from
1453 ke_miyata@itg.hitachi.co.jp).
1454 * Debug log message cleanups.
1455 * Add case insensitive search for a principal match on logon
1456 verification in the system keytab (based on patch by
1457 Michael Brown <mbrown@fensystems.co.uk>).
1458 * Revert the previous SMB signing change from Nalin Dahyabhai
1459 when using DES keys.
1460 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1461 * Fix FindFirst() server code to deal with resume names of ".."
1462 and "." (found by Jim McDonough).
1463 * BUG 2451: Fix missing functions in full audit VFS module.
1464 * Ensure that smbd logs failures reported by DISK_FREE()
1465 (reported by Ying Li <ying.li2@hp.com>).
1466 * Ensure that smbclient obeys the max protocol argument again.
1467 * BUG 2335: Return correct error code for OS/2 clients (based on
1468 negotiated protocol level).
1469 * BUG 2460, 2464: remove dead code and unused variables
1470 (reported by Jason Mader).
1473 o Andrew Bartlett <abartlet@samba.org>
1474 * Avoid length-limited intermediate copy of NT and LM responses
1476 * Debug message cleanups in the NTLMSSP implementation.
1479 o Manuel Baena <mbaena@lcc.uma.es>
1480 * Print actual error message in smbmnt.c:fullpath().
1483 o Vince Brimhall <vbrimhall@novell.com>
1484 * Add support for Novell NDS universal password.
1485 * BUG 2424: Ensure that uidNumber and gidNumber use match
1487 * BUG 2453: Change the way pdb_nds.c handles users with no
1488 Universal or Simple Password.
1489 * NDS schema file corrections.
1492 o Gerald (Jerry) Carter <jerry@samba.org>
1493 * Add trans2 client call for checking dfs referrals
1494 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
1495 when checking directories on modern CIFS servers.
1496 * Add MS-DFS support to smbclient.
1497 * Code cleanup of adt_tree.[ch].
1498 * Add missing checks to allow root to manage user rights.
1499 * Allow domain admins to manage rights assignments on domain members
1501 * BUG 2333: Use the lpq command to pass in the correct printer name
1502 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
1504 * BUG 1439: make sure to initialize pointer to prevent invalid
1506 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
1508 * Add cups-devel to BuidlRequires directive in Fedora spec file.
1509 * BUG 858: Fix order of popt args evaluation so we don't crash
1510 when given no command line args.
1511 * Remove dependency on bash for source/autogen.sh.
1512 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1513 * Implement MS-DFS for recursive directory listings in smbclient.
1514 * BUG 2394: Fix nmbd linking issue on IRIX.
1515 * Only display the publish check box in the client's printer
1516 properties dialog if we are a member of an AD domain.
1517 * BUG 2363: allow 'in use' driver to be removed as long as
1518 one 'Windows NT x86' driver remains.
1519 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
1521 * Enforce better printer.tdb cache consistency when removing
1522 jobs from a print queue via SMB.
1523 * Ensure that pause/resume/purge print queue commands are run
1524 with the appropriate level of privilege necessary to actually
1526 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1527 for 'printing = cups' installations that do not actually have
1529 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1530 * BUG 2215: Rewrite questionable code that was causing gcc to
1532 * Add server support for LsaLookupPrivValue().
1533 * Various small compile fixes and cleanup warnings.
1534 * BUG 2456: Fix compile failure on non-gcc platforms due to
1535 non-standard pragma.
1538 o Kevin Dalley <kevin@kelphead.org>
1539 * BUG 2398: Don't force smbclient to assume a dry run if the
1540 target tarfile is /dev/null.
1543 o Guenther Deschner <gd@samba.org>
1544 * Fix crash bug in the client-spoolss enumdataex-call.
1545 * Expand the valid-workstation-scheme by expanding names
1546 beginning with a plus (+) as a unix group.
1547 * Allow own netbios name to be set in smbclient's session setup.
1548 * Better handling of LDAP over IPC connections that have expired
1550 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1551 * Add examples/misc/adssearch.pl.
1552 * BUG 2343: Build fixes.
1553 * Support get_user_info_7 in SAMR server RPC.
1554 * Fix server_role in the samr_query_dom_info calls.
1555 * Add example perl script to check for multiple LDAP entries
1556 after running 'net rpc vampire'.
1557 * Add more output when listing printer forms via rpcclient.
1558 * Debug log message cleanup.
1561 o Steve French <sfrench@us.ibm.com>
1562 * On failed mount (ENXIO) retry share name in uppercase (fix
1563 mount to FastConnect AIX SMB server).
1564 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1565 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1566 it with a user name.
1567 * Update for new CIFS POSIX info levels.
1568 * Ignore users mount parm in mount.cifs.
1570 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1571 * BUG 1549: Don't truncate service names in smbstatus.
1574 o William Jojo <jojowil@hvcc.edu>
1575 * BUG 2445: Patch to avoid default ACLs on AIX.
1578 o S Murthy Kambhampaty <smk_va@yahoo.com>
1579 * Add idmap_rid module to Fedora and RedHat spec files.
1582 o Volker Lendecke <vl@samba.org>
1583 * BUG 2401: Flush internal getpwnam() cache after deleting a
1585 * BUG 1604: Make winbind work with more than 10 trusted domains.
1586 * Cleanup various compiler warnings.
1587 * Fix a memory leaks in privileges code and passdb backends.
1588 * Fixes for samr_lookup_sids() client call.
1589 * Optimize _samr_query_groupmem with LDAP backend for large
1591 * Support SIDs as %s replacements in the afs username map
1593 * Add 'log nt token command' parameter. If set, %s is replaced
1594 with the user sid, and %t takes all the group sids.
1595 * Do not use the "Local Unix Group"-default description for
1596 all kinds of group-mappings.
1597 * Fix uninitialized variable in Linux nss_winbind library.
1598 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1599 * Implement 'net afs impersonate'.
1602 o Herb Lewis <herb@samba.org>
1603 * Fix build problem when HAVE_POSIX_ACL is not defined.
1604 * BUG 2417: Add help lines for net rpc group addmem and
1608 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1609 * Add support to libsmbclient for getting and setting DOS
1610 attributes using EA functions.
1611 * Fix libsmbclient's URL encoding/decoding.
1612 * Replace browse listing URI queries with an internal options
1613 structure (previous method violated the SMB URI syntax).
1614 * Allow tree connects to be multiplexed over a single CIFS server
1616 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1617 can determine a dead tree connection.
1618 * Implement better solution for backwards binary compatibility
1619 in libsmbclient while adding new fields to struct _SMBCCTX.
1622 o Mark Loeser <halcy0n@gentoo.org>
1623 * BUG 2443: Compile fix for gcc4.
1626 o Jim McDonough <jmcd@us.ibm.com>
1627 * BUG 2338: Fix coredump when OS/2 checks for long file name
1628 support (with .+,;=[].) (thanks to Guenter Kukkukk).
1631 o Jason Mader <jason@ncac.gwu.edu>
1632 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1636 o Jim McDonough <jmcd@us.ibm.com>
1637 * Fixes for server schannel implementation when 'restrict
1638 anonymous = 1' is set in smb.conf.
1639 * Fix bug in server side lookupsids reply that crashed lsass.exe
1641 * Fix 'net rpc trustdom establish'.
1642 * BUG 2062: Turn off broadcast for all 390 NICs.
1643 * Fix 'net rpc trustdom add' to correctly add new domain trust
1644 accounts. This will eventually replace 'smbpasswd -a -i'.
1645 * Implement 'net rpc trustdom del', including client side of
1646 samr_remove_sid_from_foreign_domain.
1647 * Bring IBM Directory Server schema up to date with openldap
1649 * Allow for better protection of sensitive attributes in IBM
1653 o Stefan Metzmacher <metze@samba.org>
1654 * Fix memleaks in the nttrans code.
1657 o Mike Nix <mnix@wanm.com.au>
1658 * Add SMBsplopen and SMBsplclose client calls.
1661 o Justin Ossevoort <justin@snt.utwente.nl>
1662 * BUG 2316: Fix crashes in pdb_pgsql.
1665 o James Peach <jpeach@sgi.com>
1666 * Fixes in string handling code.
1667 * Fix oplock2 test in client smbtorture.
1670 o Tim Potter <tpot@samba.org>
1671 * Fix up example pdb modules after prototype change for
1673 * BUG 2058: Fix for shared object creation in examples.
1674 * BUG 2315: Fix segv in LSA privileges server code.
1675 * Build fixes for python wrapper libraries.
1678 o Richard Sharpe <rsharpe@samba.org>
1679 * BUG 2044: Fix segv in profiles tool.
1680 * Fix bogus error messages when enumerating user group
1681 membership via 'net rpc'.
1684 o Simo Sorce <idra@samba.org>
1685 * Debian packaging fixes.
1688 o John Terpstra <jht@samba.org>
1689 * Add the capability to set account description using pdbedit.
1692 o Doug VanLeuven <roamdad@sonic.net>
1693 * Add more case/realm/name permutations to the kerberos keytab.
1694 * AIX compile fixes.
1697 o Jelmer Vernooij <jelmer@samba.org>
1698 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1699 * BUG 1957: Implement minimal update of fields in mySQL pdb
1703 o Torsten Werner <torsten.werner@assyst-intl.com>
1704 * BUG 2405: Define 'lpstat' printcap output on HPUX.
1707 o Shlomi Yaakobovich" <Shlomi@exanet.com>
1708 * Detect infinite loops when traversing tdbs.
1711 --------------------------------------------------
1712 ==============================
1713 Release Notes for Samba 3.0.11
1715 ==============================
1717 Common bugs fixed in 3.0.11 include:
1719 o Crash in smbd when using CUPS printing.
1720 o Parsing error of other SIDs included in the user_info_3
1721 structure returned from domain controllers.
1722 o Inefficiencies when searching non-AD LDAP directories.
1723 o Failure to expand variables in user domain attributes
1724 in tdbsam and ldapsam.
1726 o Failure to retrieve certain attribute when migrating from
1727 a Windows DC to a Samba DC via 'net rpc vampire'.
1728 o Numerous printing bugs bugs including memory
1729 bloating on large/busy print servers.
1730 o Compatibility issues with Exchange 5.5 SP4.
1733 Additional features introduced in Samba 3.0.11:
1735 o Winbindd performance improvements.
1736 o More 'net rpc vampire' functionality.
1737 o Support for the Windows privilege model to assign rights
1739 o New administrative options to the 'net rpc' command.
1746 If "ldap user suffix" or "ldap machine suffix" are defined in
1747 smb.conf, all user-accounts must reside below the user suffix,
1748 and all machine and inter-domain trust-accounts must be located
1749 below the machine suffix. Previous Samba releases would fall
1750 back to searching the 'ldap suffix' in some cases.
1757 Samba 3.0.11 supports the following assignable rights
1759 SeMachineAccountPrivilege Add machines to domain
1760 SePrintOperatorPrivilege Manage printers
1761 SeAddUsersPrivilege Add users and groups to the domain
1762 SeRemoteShutdownPrivilege Force shutdown from a remote system
1763 SeDiskOperatorPrivilege Manage disk shares
1765 These rights can be assigned to arbitrary users or groups
1766 via the 'net rpc rights grant/revoke' command. More details
1767 of Samba's privilege implementation can be found in the
1768 Samba-HOWTO-Collection.
1771 ######################################################################
1775 Changes since 3.0.10
1776 --------------------
1781 Parameter Name Action
1782 -------------- ------
1783 afs token lifetime New
1784 enable privileges New
1785 ldap password sync Alias
1786 min password length Deprecated
1787 winbind enable local accounts Deprecated
1792 o Jeremy Allison <jra@samba.org>
1793 * Extend vfs to add seekdir/telldir/rewinddir.
1794 * Fix dirent return.
1795 * Fix bugs when handling secondary trans2 requests.
1796 * Implementation of get posix acls in UNIX extensions.
1797 * Added set posix acl functionality into the UNIX extensions code.
1798 * Updated config.guess/config.sub .
1799 * Fix error reply when 'follow symlinks = no'.
1800 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
1802 * Fixes for LARGE_READX support.
1803 * Fix the problem we get on Linux where sendfile fails, but we've
1804 already sent the header using send().
1805 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
1807 * BUG 2088: Ensure inherit permissions is only applied on a new
1808 file, not an existing one.
1809 * Don't go fishing for the krb5 authorization data unless we know
1811 * Fixes for libsmbclient to ensure that interrupted system calls
1812 are restarted minus the already expired portion of the timeout
1813 (based on work by Derrell Lipman).
1814 * More Unicode string parsing fixes.
1815 * Convert the winreg pipe to use WERROR returns.
1816 * Make all LDAP timeouts consistent (input from Joe Meadows
1817 <jameadows@webopolis.com>).
1818 * BUG 2231: Remove double "\\" from client findfirst.
1819 * BUG 2238: Fix memory leak in shadow copy vfs.
1820 * Return correct DOS/NT error code on transact named pipe on
1822 * BUG 2211: Fix security descriptor parsing bug (based on work by
1823 Mrinal Kalakrishnan <mail@mrinal.net>).
1824 * BUG 2270: Fix memory leaks in cups printing backend support
1825 (based on work by Lars Mueller).
1826 * BUG 2255: Fix debug level in kerberos error messages.
1827 * BUG 2110: Ensure we convert to ucs2 correctly after the
1828 CAN-2004-0930 patch.
1829 * Make strict locking an enum. Auto means use oplock optimization.
1830 * Fix client & server to allow 127k READX calls.
1831 * More *alloc fixes (includes additional fixes by Albert Chin.
1832 * Catch sendfile errors correctly and return the correct values
1833 we want the caller to return.
1834 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
1835 for better use by desktop environments such as GNOME.
1836 * Ensure we can't remove a level II oplock without having the
1837 shared memory area locked.
1840 o Timur Bakeyev <timur@com.bat.ru>
1841 * BUG 2100: change the way we check for errors after a dlopen().
1842 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
1845 o Andrew Bartlett <abartlet@samba.org>
1846 * Clarify error message when 'lanman auth = no'.
1847 * Remove the unnecessary UTF-8 conversion calls in the calls to
1848 auth_winbind from smbd.
1849 * Don't store the auth-user credentials with the cli_state* as
1850 this can cause the schannel setup to fail when the auth-user
1851 domain is not our primary domain.
1854 o Grigory Batalov <bga@altlinux.org>
1855 * Fix encoding while receiving of a message which was actually
1856 sent using STR_ASCII.
1859 o Daniel Beschorner <db@unit-netz.de>
1860 * BUG 603: Correct access mask check for _samr_lookup_domain()
1861 to work with Windows RAS server
1864 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1865 * Fix missing printer_tdb reference decrement.
1868 o Gerald (Jerry) Carter <jerry@samba.org>
1869 * BUG 2073: fall back to smb_name if current_user_info is not
1870 available in lp_file_list_changed().
1871 * Fixes the spurious 'register_message_flags: tdb fetch failed'
1873 * Don't run the background LPQ daemon when we are running in
1875 * prevent the background LPQ daemon from updating the print queue
1876 cache just because multiple smbd processes sent a message that
1878 * consolidate printer searches to use find_service rather than
1880 * BUG 2091: don't remove statically defined printers in
1881 remove_stale_printers().
1882 * Fix logic error in add_a_form() that only compared N characters
1883 instead of the entire form name.
1884 * BUG 2107: fix memory bloating caused by large numbers of
1885 print_queue_updates() requests sent via messages.tdb.
1886 * Check the setprinter(3) based on the access permissions on
1887 the handle and avoid the call to print_access_check().
1888 * Re-instantiate previous semantics for calling init_unistr2()
1889 with a NULL source buffer.
1890 * Support Windows privilege model for assigning rights
1891 to specific SIDs. Based on work by Simo Sorce in the trunk
1892 svn branch. This feature is controlled by the 'enable
1893 privileges = [yes|no]' smb.conf(5) option.
1894 * Add some smb.conf scripts for add/delete/change shares and
1895 deleting cups printers.
1896 * Expand variables in the profile path, logon home and logon script
1897 values when using either tdbsam or ldapsam.
1898 * Add Domain Admins (Full Control) to the default printer security
1899 descriptor if we are a DC.
1900 * RedHat and Fedora Packaging fixes for perl dependencies.
1901 * Remove unused schema items from OpenLDAP schema file.
1902 * Remove duplicate enumeration of "Windows x86" architecture
1903 when listing printer drivers via rpcclient.
1904 * Fail set_privileges() if 'enable privileges = no' to prevent
1906 * Fix segfault in cups_queue_get().
1907 * Tighten restrictions on changing user passwords when
1908 the connected user possesses the SeMachineAccountPrivilege.
1909 * Ensure we set NETBIOSNAME.domainname for the long machine name
1910 when publishing printers in AD (based on input from Rob Foehl).
1911 * Mark 'winbind enable local accounts' as deprecated.
1912 * Mark testprns tool as deprecated.
1913 * Allow root to grant/revoke privilege assignments.
1914 * Correct interaction between user rights and se_access_check() on
1916 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
1918 * BUG 2262: Add support in configure.in for *freebsd6*.
1919 * BUG 2266: Portability fixes for quota code on FreeBSD4.
1920 * BUG 2264: Remove shutdown and abortshutdown commands from
1921 rpcclient in favor of using the same functions in 'net'.
1922 * BUG 2295: Prevent smbd from returning an empty server name
1923 in certain lanman api calls.
1924 * BUG 2290: Fix autogen.sh script in examples (based on original
1925 patch from Lars Mueller).
1926 * Fix bug enumerating domain trusts in security = ads.
1927 * Fix segv in rpcclient's dsenumdomtrusts.
1928 * Fix bug in expansion of %U and %G in included filenames.
1929 * BUG 2291: Restrict creation of server trust and domain trust
1930 accounts to members of the "Domain Admins" group.
1932 o Nadav Danieli <nadavd@exanet.com>
1933 * Short circuit some is_locked() tests if we are oplocked.
1936 o Guenther Deschner <gd@samba.org>
1937 * Allow 'localhost' as a valid server name in the smbd for the
1939 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1940 Mewburn for the input).
1941 * BUG 2059: Add additional checks needed after logic change to the
1942 HAVE_WRFILE_KEYTAB detection test.
1943 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
1944 Samba DC. Allow us to lookup at least our own SID.
1945 * More fixes to have proper German in swat (Thanks to Reiner
1946 Klaproth and Björn Jacke.
1947 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
1948 setting security descriptors with smbcacls and using with
1949 the -S or -M switch.
1950 * Include the munged_dial, bad_password_count, logon_count, and
1951 logon_hours attributes when running 'net rpc vampire'.
1952 * Fix segfault in idmap_rid.
1953 * When winbindd is operating in the multi-mapping mode of
1954 idmap_rid, allow BUILTIN domain-mapping.
1955 * Display infolevel 12 in query_dom_info in rpcclient.
1956 * Fix bug in winbindd's lowercasing of usernames.
1957 * Allow -v or -l for displaying verbose groupmap-listing
1958 as well as "verbose".
1959 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
1961 * Close LDAP-Connection before retrying to open a new connection
1963 * Marking "min password length" as depreciated.
1964 * Implement SAMR query_dom_info-call info-level 8 server- and
1965 client-side, based on samba4-idl.
1966 * Allow rpcclient to define a port to use when connecting
1968 * Allow Account Lockout with Lockout Duration "forever" (until
1969 admin unlocks) to be set and displayed in User Manager.
1970 * Allow to set acb_mask in rpcclient's enumdomusers.
1971 * Add more generic rootDSE inspection function to check
1972 for given controls or extensions and remember these on a
1974 * Improve LDAP search efficiency by passing the acb_mask to
1976 * Fixes for ldapsam_enum_group_memberships().
1977 * Add createdomgroup to rpcclient.
1978 * Add "net rpc user RENAME"-command.
1979 * Display sam_user_info_7 in rpcclient.
1980 * Make multi-domain-mode in idmap_rid accessible from outside
1981 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1982 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
1983 "Lockout Duration: Forever".
1984 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1986 * Require assignment of Administrator SID in the passdb
1987 backend. Fall back to the default name of 'Administrator' if
1988 the lookup fails rather than using the first name in the
1989 default 'admin users' list.
1990 * Enhance LDAP failure debug messages.
1991 * BUG 2291: Call the 'add machine script' for server trust and
1992 domain trust accounts as well as workstation accounts.
1995 o Levente Farkas <lfarkas@lfarkas.org>
1996 * BUG 2299: Better logrotate scripts for RedHat and Fedora
2000 o Jay Fenlason <fenlason@redhat.com>
2001 * Fix crash in 'net join' due to calling free on
2003 * Several patches from RedHat's Fedora Core RPMS.
2006 o Rob Foehl <rwf@loonybin.net>.
2007 * Compiler warnings.
2008 * Try modifying printer published attributes before adding it a
2010 * Solaris packaging fixes.
2011 * Don't force the cups printer-make-and-model tag as the comment
2012 for autoloaded printers.
2013 * Implement caching of names from printcap to support a true
2014 'printcap cache time'.
2017 o Johann Hanne <jhml@gmx.net>
2018 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
2021 o Jeff Hardy <hardyjm@potsdam.edu>
2022 * Example script for 'add print command' when using CUPS.
2025 o Deryck Hodge <deryck@samba.org>
2026 * Add -P (--password-only-menu) to SWAT for displaying only the
2027 password change page to non-root users.
2030 o David Hu <david.hu@hp.com>
2031 * Copy structure from print_queue_update() message rather than
2032 referencing it. Fixes seg fault on HP-UX.
2035 o Buck Huppmann <buckh@pobox.com>
2036 * BUG 2186: Don't free uninitialized credentials.
2037 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
2038 dnsDomainName != realm.
2041 o Björn Jacke <bjoern@j3e.de>
2042 * BUG 2040: Ensure the locale is reset to C to get ASCII-
2043 compatible toupper/lower functions.
2046 o William Jojo <jojowil@hvcc.edu>
2047 * Fix HPUX sendfile and add configure.in tests and code for
2049 * AIX 5.3 compile fixes.
2052 o Volker Lendecke <vl@samba.org>
2053 * Optimize anonymous session setups by workstations in a
2055 * Reimplment the QueryUserAliases() server RPC reply.
2056 * Re-add the getpwnam-cache for performance.
2057 * Cache the result of a pdb_getsampwnam for later SID lookup
2059 * Unify the means of localtaing a user's global groups on a
2061 * Fix bug when serving the 'Start Menu' in a roaming user profile..
2062 * Map more pre-defined NT security descriptors to AFS acls.
2063 * Add timeout to AD search requests.
2064 * If a connection to a DC is requested (in winbindd), open
2065 connections simultaneously to all DCs found.
2067 * Fix logic error in handling of 'printcap name' parameter.
2068 * Prevent winbindd from SPAM'ing the log files with 'user root
2070 * Backport samr_DomInfo2 IDL specification from Samba 4.
2071 * Implement smbstatus -n, don't lookup users and groups.
2072 * Implement simple mapping that maps the space to another character
2073 defined by afsacl:space.
2074 * Add support for 'net idmap delete <idmap-file> <SID>'.
2075 * Add new parameter 'afs token lifetime' tells the AFS client
2076 when to throw away a token (patch from kllin@it.su.se).
2077 * Initial work to allow support for multiple pipe opens on a
2079 * Ensure that we still retrieve the netbios name of any DC
2080 listed as a 'password server' to work around cases where the
2081 DC was defined using an IP address or fqdn.
2082 * Fix memleak in winbindd connection code.
2083 * Fix cli_samr_queryuseraliases.
2084 * Allow wbinfo --user-sids to expand expand domain local groups.
2085 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2086 * Fix parsing of other_sids in net_user_info3.
2087 * Correct bad failure logic when user was not a member of any
2088 domain local groups.
2091 o Jason Mader <jason@ncac.gwu.edu>
2092 * BUG 2113, 2289: Remove dead code.
2095 o Jim McDonough <jmcd@us.ibm.com>
2096 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
2097 clients. If it fails, fall back to WINREG.
2098 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2099 * BUG 2198: Set password last change time when running 'net rpc
2101 * Add "refuse machine password change" policy field.
2104 o Luke Mewburn <lukem@NetBSD.org>
2105 * BUG 2150: shmget() - Use POSIX definitions instead of non-
2109 o Stefan Metzmacher <metze@samba.org>
2113 o Buchan Milne <bgmilne@mandrake.org>
2114 * Mandrake packaging fixes.
2117 o Lars Mueller <lmuelle@samba.org>
2118 * Fix build of libsmbclient on x86_64.
2119 * BUG 2013: Fix testsuite build issues when libsmbclient.so
2120 is installed in a non-default location.
2121 * BUG 2050: Calculate max_fd for select correctly.
2122 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
2126 o Jason Mader <jason@ncac.gwu.edu>
2127 * BUG 2069: Remove unused variables.
2128 * BUG 2075: Remove dead code paths.
2129 * BUG 2083: Fix compiler warnings caused by bad type casts.
2132 o James Peach <jpeach@sgi.com>
2133 * Fix rewinddir -> rewind_dir when using VFS macros.
2136 o Gavrie Philipson <gavrie@disksites.com>
2137 * BUG 1838: Remove stale printers imeeddiately when
2138 processing a SIGHUP and during smb.conf reload.
2141 o Tim Potter <tpot@samba.org>
2142 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2143 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2144 * Change the license for the winbindd external interface
2146 * HP-UX compile fixes.
2147 * Compile fixes after new setsampwent() API.
2150 o Richard Renard <rrenard@idealx.com>
2151 * Update Netscape DS 5.2 LDAP schema.
2154 o Simo Sorce <idra@samba.org>
2155 * Backport pdbedit changes from trunk.
2156 * Allows the add/change share command to create the shared
2157 directory directory on disk.
2158 * Log a warning in testparm if a print command is defined for
2159 a print service using 'printing = cups'.
2161 o Jelmer Vernooij <jelmer@samba.org>
2162 * Bug fixes for pdb_{xml,pqsql,xml}
2163 * Fixes for pdb_mysql.
2166 o Andrew Tridgell <tridge@samba.org>
2167 * Bring Samba3 into line with the Samba4 password change code.
2170 o Shiro Yamada <shiro@miraclelinux.com>
2171 * BUG 2190: Force SWAT to display parameters in unix charset and
2175 --------------------------------------------------
2176 ==============================
2177 Release Notes for Samba 3.0.10
2179 ==============================
2181 Common bugs fixed in 3.0.10 include:
2183 o Fix for security issues described in CAN-2004-1154.
2192 o Jeremy Allison <jra@samba.org>
2193 * Added checks surrounding all *alloc() calls to fix
2195 * Fix long standing memory size bug in bitmap_allocate().
2196 * Remove bogus error check in deferred open file serving
2200 o Thomas Bork <tombork@web.de>
2201 * Fix autoconf script on platforms using a version of GNU ld
2202 that does not include a date stamp in the output of --version.
2205 o Luke Mewburn <lukem@NetBSD.org>
2206 * Fix the swat install script to deal with the new image
2207 destination directory used by the docs.
2211 --------------------------------------------------
2213 =============================
2214 Release Notes for Samba 3.0.9
2216 =============================
2218 Common bugs fixed in 3.0.9 include:
2220 o Problem updating roaming user profiles.
2221 o Crash in smbd when printing from a Windows 9x client.
2222 o Unresolved symbols in libsmbclient which caused
2223 applications such as KDE's konqueror to fail when
2224 accessing smb:// URLs.
2234 o Jeremy Allison <jra@samba.org>
2235 * Correctly detect errno for no acl/ea support.
2236 * BUG 2036: Fix seg fault in 'net ads join'.
2239 o Gerald (Jerry) Carter <jerry@samba.org>
2240 * Solaris packaging fixes.
2241 * Fix seg fault in lanman printing code.
2242 * BUG 2017: fix testparm reporting for the passwd program
2244 * Fix output of smbstatus to match the man page.
2245 * BUG 2027: fix conflict with declaration MD5_CTX in system
2247 * 2028: Avoid false error messages when copying a long
2248 printer name to the device mode.
2251 o Guenther Deschner <gd@samba.org>
2252 * Allow deldriverex in rpcclient to delete drivers for a
2253 specific architecture and a specific version.
2254 * Fix a couple of rpcclient spoolss commands (setprinter,
2255 setprintername, getdriver) w.r.t to printer-naming scheme.
2256 Allow 'localhost' in the server string for certain server-side
2258 * BUG 2015: Do not fail on setting file attributes with
2259 acl support enabled.
2262 o Michel Gravey <michel.gravey@optogone.com>
2263 * Fix build when using gcc 3.0.
2266 o Volker Lendecke <vl@samba.org>
2267 * Fix tdb open logic when checking our local_pid after
2271 o Jim McDonough <jmcd@us.ibm.com>
2272 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2276 o Luke Mewburn <lukem@NetBSD.org>
2277 BUG 1661: Fix KRB5_SETPW-defines
2280 o Buchan Milne <bgmilne@mandrake.org>
2281 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2284 o Lars Mueller <lmuelle@samba.org>
2285 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2288 o Martin Zielinski <mz@seh.de>
2289 * Add DeletePrinterDriverEx() functionality to rpcclient.
2292 --------------------------------------------------
2294 =============================
2295 Release Notes for Samba 3.0.8
2297 =============================
2299 Common bugs fixed in 3.0.8 include:
2301 o Compile fixes for HP-UX
2302 o Fixes for the printer publishing code used when joined to
2304 o Incompatibilities with file system quotas.
2305 o Several bugs in the spoolss printing code and print system
2307 o Inconsistencies in the username map functionality when
2308 configured on domain member servers.
2309 o Various compile warnings and errors on various platforms.
2310 o Fixes for kerberos interoperability with Windows 200x
2311 domains when using DES keys.
2312 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2313 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2316 New features included in the 3.0.8 release are:
2318 o New migration functionality added the the net tool
2319 for files/directories, printers, and shares.
2320 o New experimental idmap backend for assigning uids/gids
2321 directly based on the user/group RID when acting as a
2322 member of single domain without any trusts.
2323 o Additional printer migration support for XP/2003 platforms.
2326 ===========================
2327 Change in Winbindd Behavior
2328 ===========================
2330 All usernames returned by winbindd are now converted to lower
2331 case for better consistency. This means any winbind installation
2332 relying on the winbind username will need to rename existing
2333 directories and/or files based on the username (%u and %U) to lower
2334 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
2335 include mail spool files, home directories, valid user lines in
2339 ======================
2340 Change in Username Map
2341 ======================
2343 Previous Samba releases would only support reading the fully qualified
2344 username (e.g. DOMAIN\user) from the username map when performing a
2345 kerberos login from a client. However, when looking up a map
2346 entry for a user authenticated by NTLM[SSP], only the login name would be
2347 used for matches. This resulted in inconsistent behavior sometimes
2348 even on the same server.
2350 Samba 3.0.8 obeys the following rules when applying the username
2353 * When performing local authentication, the username map is
2354 applied to the login name before attempting to authenticate
2356 * When relying upon a external domain controller for validating
2357 authentication requests, smbd will apply the username map
2358 to the fully qualified username (i.e. DOMAIN\user) only
2359 after the user has been successfully authenticated.
2362 ######################################################################
2371 Parameter Name Action
2372 -------------- ------
2373 force printername New
2374 sendfile disabled by default
2380 o Jeremy Allison <jra@samba.org>
2381 * Ensure extended security bit is on only if we negotiated
2383 * Simplify statcache to use an in-memory tdb.
2384 * If you're selecting a hash algorithm for tdb, you need
2385 to do it at open time.
2386 * Removed old dir caching code - not being used now we
2387 have the statcache anyway.
2388 * Simplify the mangle hash code to use an in-memory tdb.
2389 * Merge iconv changes from Samba 4 branch.
2390 * Fix parsing of names ending in dot and a few other error
2392 * BUG 1667: Smbpasswd file could be left locked on some
2394 * Fixes for smbclient tar functionality.
2395 * BUG 1743: Fix logic bug the deferred open code.
2396 * Don't try to set security descriptors on shares where
2397 this has been turned off.
2398 * Return correct error codes on old SEARCH call.
2399 * Ensure we set errno = E2BIG when we overflow in the
2400 fast-path character conversion code.
2401 * Fix the roundup problem (returning 1mb roundup) for
2402 non-Windows clients.
2403 * Added 'stat' command to smbclient to exercise the
2404 UNIX_FILE_BASIC info level.
2405 * Fix bug where we could incorrectly set sparse attribute.
2406 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2407 (reported by Taj Khattra <taj.khattra@gmail.com>).
2408 * Remove locked keys tdb code.
2409 * BUG 1886: Prevent delete on close being set for readonly files
2410 (and return the correct error code).
2411 * Ensure we pass most of the new lock tests except for the cancel
2412 lock which is yet to be added (merged from Samba 4 branch).
2413 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2414 * BUG 1956: Ensure errno is saved and restored consistently on a
2416 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
2417 that all of the appropriate service principal names are set
2418 upon joining an AD domain.
2419 * Fix the correct use of resume name in the trans2 code.
2420 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2421 correct salt used when generated the DES key after joining an
2423 * Enhanced krb5 detection routines in the autoconf scripts.
2426 o Andrew Bartlett <abartlet@samba.org>
2427 * Avoid changing the machine account password in the passdb
2428 backend, when it has 'already been changed'. This occurs
2429 in situations where the secure channel between the workstation
2430 and the DC breaks down, such as occurred in the MS04-11
2432 * Fix utility name in error message in ntlm_auth.
2433 * Fix NTLMv2 for use with pam_winbind.
2434 * Remove conversion to and from UTF8 on the winbind pipe.
2435 * Allow 'require_membership_of' and 'require-membership-of'.
2436 * Fix the error code for 'you didn't specify a domain' in
2438 * Use sys_getgroups() rather than scanning all groups
2439 when generating SAMR replies.
2442 o Igor Belyi <sambauser@katehok.ac93.org>
2443 * Ensure pdb user is deleted first before deleting UNIX
2444 user (LDAP backend needs this ordering).
2447 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
2448 * Fix core dump in 'net rpc vampire'.
2451 o Vince Brimhall <vbrimhall@novell.com>
2452 * Make ldapsam_compat robust against NULL attributes.
2455 o Gerald Carter <jerry@samba.org>
2456 * Don't limit the number of groups returned by winbindd_getgroups()
2458 * BUG 1519: Match Windows 2000 behavior when opening a
2459 printer using a servername in the form of an IP address or
2461 * BUG 1907: remove extra slashes from the printer name in
2462 getprinterdriverdir_1().
2463 * Fix standard_sub_snum() to use the current user's gid.
2464 * Fix background queue update bug (based on Volker's initial work
2466 * Add 'force printername' service parameter for people that want
2467 to enforce printername == sharename for spoolss printing.
2468 * Ensure consistent usage of the username map. Use the fully
2469 qualified DOMAIN\user format for 'security = domain|ads' and
2470 apply after authentication has succeeded.
2471 * Cosmetic fix for getent output -- lowercase the username only
2472 and not the complete domain\username string.
2473 * Packaging fixes for Solaris, Redhat, & Fedora.
2476 o Sean Chandler <sean.chandler@verizon.net>
2477 * Fix memlieak in cliconnect.c.
2480 o Darren Chew <darrenc@vicscouts.asn.au>
2481 * Solaris packaging fixes.
2484 o Nalin Dahyabhai <nalin@redhat.com>
2485 * SMB signing fix for 56-bit DES session keys.
2488 o Guenther Deschner <gd@samba.org>
2489 * add IA64 to the architecture table of printer-drivers.
2490 * Add file/share/printer migration functionality to
2492 * Show correct help for net groupmap commands.
2493 * Fix deadlock loop in winbind's required_membership_sid
2495 * Bring the same level of "required_membership"-functionality
2496 that ntlm_auth uses, to pam_winbindd as well.
2497 * Prevent "net lookup kdc" from seg-faulting when
2498 using our own implementation of krb5_lookup_kdc with
2500 * Adding getprinter level 7 to rpcclient.
2501 * Support migrating printers|shares|files from Server A
2502 to Server B while running the net-command on client C.
2503 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
2504 failure of this call non-critical (Thanks to Love @ Heimdal
2505 for the explanation and patch).
2506 * Fix typos in net's usage-output.
2507 * Fix the paranoia-check to ensure the ldap-attribute and the
2508 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
2510 * Fix several bugs in the _samr_query_useraliases() rpc reply.
2511 * Check correct string length when verifying password-policies
2512 and using extended characters (Thanks to Uwe Morgenroth from CC
2513 Compunet and Volker).
2514 * Make 'password history'-behavior in ldapsam more consistent.
2515 * Adding "Windows x64" as architecture string and driverdir "x64"
2516 for the 64bit AMD platform.
2517 * BUG 1343: Readd WKGUID-binding to match the correct default-
2518 locations of new User-, Group- and Machine-Accounts in Active
2519 Directory (this got lost during the last trunk-merge).
2520 * Fix printer-migration w.r.t. to new naming-convention for
2522 * Allow to migrate win2k3/xp-drivers as well.
2523 * Add client-side support of triggering ads printer publishing
2524 over msrpc setprinter calls inside the net-tool.
2525 * Add the idmap_rid module (written in conjunction with
2526 Sumit Bose <sbose@suse.de>).
2527 * BUG 1661: Fix build with recent heimdal releases.
2528 * Prevent idmap_rid from making unnecessary calls to domain
2529 controllers for trusted domains.
2532 o Arthur van Dongen <avdongen@xs4all.nl>
2533 * Fix typos in pam_winbind log messages and SuSE
2537 o Rob Foehl <rwf@loonybin.net>
2538 * Typo fixes for log messages in printer publishing code.
2539 * Fix memory leak in printer publishing code.
2540 * Ensure print_backend_init() only gets called once.
2541 * Have smbd check the published status of all printers
2543 * Cleanup up the XXX_a_printer() API for consistency.
2544 * Refactored the printer publishing code and include better
2548 o Steve French <sfrench@us.ibm.com>
2549 * Fix IP address override in mount.cifs mount helper and clean
2550 up warning messages from the sparse tool and expand syntax help.
2551 * Strip guest mount option off before sending to kernel mount
2552 routine to avoid logging spurious message.
2555 o Satoh Fumiyasu <fumiya@samba.gr.jp>
2556 * BUG 1732: Limit share names returned by RAP based on windows
2557 character width, not unix character width.
2558 * BUG 1498: Ensure that acl entries are stored in the correct
2562 o Brett Funderburg <brett@deepfile.com>
2563 * Pass create options parameter to nt_create_andx() function
2564 from the python bindings.
2565 * BUG 1864: Add sd->type field to security descriptor Python
2567 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2568 when trying to return the security descriptor for a file.
2569 * BUG 1884: Fixes for the Python bindings to use the value
2570 of the desired_access filed passed into the lsa_open_policy()
2574 o Michael Gravey <michel.gravey@optogone.com>
2575 * BUG 1776: Fix warnings when building modules caused by
2576 certain versions of GNU ld not using the the default
2577 --allow-shlib-undefined flag.
2580 o Chris Hertel <crh@samba.org>
2581 * Fix logic bug in splay tree data structure when finding
2583 * Fix bug where an invalid MAC address would be printed by
2584 a node status lookup from nmblookup.
2587 o Uli Iske <iske@elkb.de>
2588 * Update the DNS/eDirectory LDAP schema file.
2591 o Björn Jacke <bjacke@sernet.de>
2592 * BUG 1766: Unify charset-handling in Content-Type:-headers to
2593 UTF-8. Reformat msgstr in msg-files to UTF-8.
2594 * Do not use display charset for swat output.
2595 * Convert the share names correctly from unix encoding to web
2596 encoding and vice versa.
2597 * Convert files from status page from unix charset to UTF-8.
2600 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2601 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2604 o Tom Lackemann <cessnatomny@yahoo.com>
2605 * BUG 1954: Fix memory leak in posix acl code.
2608 o Volker Lendecke <vl@samba.org>
2609 * Robustnss fix for winbindd when sending multiple requests
2610 at a high rate for a slow operation.
2611 * Solve the problem of user sids ending up with gid's
2613 * Use sys_fork instead of fork for the dual daemon so that
2614 we get the correct debug pid in the logfiles.
2615 * Based on patch from jmcd, implement special lists for the LDAP
2616 user attributes to delete.
2617 * Fix creation of aliases via usrmgr. Winbind was too strict
2618 checking the type of sids.
2619 * Lowercase all usernames returned by winbind.
2620 * BUG 1545, 1823: Only issue the ldap extended password change
2621 operation if the ldap server supports it. Also ignore object
2622 class violation errors from the extended operation.
2623 * Optimization for 'idmap backend = ldap': When asking sid2id
2624 for the wrong type, don't ask ldap when we have the opposite mapping
2626 * Fix ldapsam_compat homeDrive.
2627 * Add usersidlist and allowedusers subcommands to the net tool
2628 in order to support scanning a file server's share and list
2629 all users who have permission to connect there.
2630 * Allow for multiple DC's to be named as #1c names in lmhosts.
2631 * Memory leak fixes.
2632 * Fix checks for the local pid of an smbd process after
2636 o Herb Lewis <herb@samba.org>
2637 * Added tdbtool to be built by default.
2640 o Love <lha@stacken.kth.se>
2641 * BUG 1955: Inconsistent error return.
2644 o Sorin Manolache <sorinm@gmail.com>
2648 o Jim McDonough <jmcd@us.ibm.com>
2649 * Allow 'net ads lookup' to rely on command line arguments
2650 if contacting an ADS server fails; utilize cldap for lookups.
2651 * Fixup formatting errors in TDB_LOG calls; add printf attribute
2652 support to tdb log functions.
2655 o Bill McGonigle <bill+samba@bfccomputing.com>
2656 * BUG 1926: Type in debug message.
2660 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2664 o Luke Mewburn <lukem@NetBSD.org>
2665 * BUG 1782: Prevent testparm from displaying parameter synonyms.
2668 o Stefan Metzmacher <metze@samba.org>
2669 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2670 * Fix client quota support.
2671 * Fix opening of system quota file.
2674 o Lars Mueller <lmuelle@samba.org>
2675 * Small fixes for autogen.sh to deal with version detection
2676 of autoconf and autoheader; fixes for examples using
2677 libtool to adhere to stricter syntax of newer version.
2680 o Henrik Nordstrom <hno@squid-cache.org>
2681 * Allow winbindd to return the correct number of groups
2682 when the groups array must be enlarged.
2685 o Narayana Pattipati <narayana.pattipati@wipro.com>
2686 * Solaris autoconf detection fixes.
2689 o Tim Potter <tpot@samba.org>
2690 * BUG 1360: (correct fix) Use -Wl when passing flags to
2692 * HP-UX compile fixes (from JBravo on #samba-technical).
2693 * BUG 1731: More HP-UX compiles fixes.
2694 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
2695 spits the dummy otherwise.
2696 * Fix bug in Python printerdata wrapper.
2697 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
2698 <bugzilla-samba@thewrittenword.com>).
2699 * Fix parameter confusion in priming of name-to-sid cache
2700 (Found by Qiao Yang).
2701 * BUG 1888: Remove '..' from all pre-processor commands.
2702 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
2706 o Matt Selsky <selsky@columbia.edu>
2707 * BUG 350: use autoconf 2.57 feature for checking header file
2708 preprocessing (fixes configure warnings on Solaris).
2711 o Richard Renard <rrenard@idealx.com>
2712 * Fix usermgr.exe and trust relationships.
2715 o Paul Szabo <psz@maths.usyd.edu.au>
2716 * Fix to make find_workgroup use the same
2717 truncation as create_workgroup.
2720 o Richard Sharpe <rsharpe@samba.org>
2721 * Ensure cli_write() can support writes >= 65536 bytes.
2724 o Simo Sorce <idra@samba.org>
2725 * Added check password script code in examples/auth/crackcheck/
2726 * Fix memory corruption bug caused in freeing static memory.
2729 o Andrew Tridgell <tridge@samba.org>
2730 * Remove lp_use_mmap() from map_file() since the latter
2731 is for read only and does not require coherence.
2732 * Ensure that the uuid pack/unpack routines do not go past
2733 the end of the structure.
2734 * Converted Samba 3 tree to use the new utf-16 aware iconv
2736 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2737 * Ensure configure only uses '=' instead of the bashism '=='.
2738 * Reduces the number of tdb locking calls made on file IO.
2741 o Jelmer Vernooij <jelmer@samba.org>
2742 * Convert internal data to UTF-8 before calling libxml2.
2743 * Complain if 'password chat' doesn't contain the %u variable
2744 (based on a patch by Ronan Waide).
2748 * BUG 1541: Fix recursive ls in smbclient.
2751 o Igor Zhbanov <bsg@uniyar.ac.ru>
2752 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
2755 --------------------------------------------------
2757 =============================
2758 Release Notes for Samba 3.0.7
2760 =============================
2762 Common bugs fixed in 3.0.7 include:
2764 o Fixes for two Denial of Service vulnerabilities
2765 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2766 o Winbind failure to return user entries under certain
2768 o Syntax errors in the OpenLDAP schema file (samba.schema).
2769 o Printing errors caused by not setting default values
2770 for the various printing commands.
2779 Parameter Name Action
2780 -------------- ------
2781 winbind enable local accounts disabled by default
2786 o Jeremy Allison <jra@samba.org>
2787 * Fix parsing of names ending in dot and a few other error
2789 * BUG 1674: Move the symlinks checks into reduce_name().
2790 * Fix memleak when checking the valid names smb.conf option.
2791 * Fix memleak on error return path in the file open code.
2792 * More paranoia checks in the hash2 mangling code.
2793 * Fix syntax error in configure.in.
2794 * Match Win2k3's behavior for pathname parsing error returns.
2795 * Make nmbd more robust against bad netbios packets
2797 * Add more checks for invalid ASN.1 packets for SPNEGO packets
2801 o Andrew Bartlett <abartlet@samba.org>
2802 * Janitor work in loadparm.c -- remove unused parameters.
2805 o Gerald Carter <jerry@samba.org>
2806 * BUG 1464: Ensure that printing commands are initialized even
2807 if the 'printing' parameter is not explicitly set.
2808 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
2809 Adharsh Praveen <rprav@india.hp.com>)
2810 * Work around parsing error in the print change notify code.
2811 * remove duplicate declaration of getprintprocdir from
2813 * Only use sAMAccountName and not userPrincipalName when looking
2814 up a username in AD since the breaks winbindd (lookup_name()
2815 only works with the sAMAccountName).
2816 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
2817 filling in the username in the user_info3.
2818 * Fix logic bug in the check for creating a user's home directory
2819 in register_vuid(); caused home directory to be mismatched to
2820 the first share in smb.conf under certain conditions.
2821 * BUG 1656: rename auto.a to auto.smb.
2822 * Ensure that we assign our pid to print jobs (and not our
2823 parent's pid); ensures that spooling jobs from dead smbds
2824 are removed from the tdb.
2825 * Disable 'winbind enable local accounts' by default.
2826 * Adding some initial checks for DragonFly (same as
2830 o Guenther Deschner <gd@samba.org>
2831 * Use SMB_ASSERT() to track down NULL printer names in
2833 * Revert fix for BUG 1474 to avoid unnecessary packaging
2837 o Olaf Flebbe <o.flebbe@science-computing.de>.
2838 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
2840 * BUG 1626: More compile fixes.
2843 o Rob Foehl <rwf@loonybin.net>
2844 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
2845 by attempts to sanitize the defined attributes.
2848 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2849 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
2852 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
2853 * BUG 1657: Remove used initialized variable,
2854 * BUG 1658: Add a little bit of const.
2857 o Volker Lendecke <vl@samba.org>
2858 * If there's garbage in the pidfile, we should not panic
2859 but assume that no one else is around. We can't find the
2863 o Jim McDonough <jmcd@us.ibm.com>
2864 * Fixup format string in the tdb error messages.
2867 o Jonas Olsson <lexicon@lysator.liu.se>
2868 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
2869 reporting the list in usrmgr.exe.
2872 o Tim Potter <tpot@samba.org>
2873 * Fix out-of-tree builds (problem with the script to generate
2874 the svn version number).
2875 * BUG 1360: Need to use -Wl when passing flags to the linker.
2876 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
2877 doesn't have one of its own.
2879 o Simo Sorce <idra@samba.org>
2880 * Fixup compile issues on AIX caused by broken strlen() and
2882 * Update debian packaging files.
2885 o Dimitri van der Spek <dwspek@aboveit.nl>
2886 * Use the correct counter when copying group rids from the
2887 user_info3 struct in pam_winbind.
2890 o Qiao Yang <qyang@stbernard.com>
2891 * BUG 1622: Only cache the user
2894 --------------------------------------------------
2896 =============================
2897 Release Notes for Samba 3.0.6
2899 =============================
2901 Common bugs fixed in 3.0.6 include:
2903 o Schannel failure in winbindd.
2904 o Numerous memory leaks.
2905 o Incompatibilities between the 'write list' and 'force user'
2907 o Premature optimization of the open_directory() internal
2908 function that broke tools such as the ArcServe backup
2909 agent, Macromedia HomeSite, and Robocopy.
2910 o Corrupt workgroup names in nmbd's browse.dat.
2911 o Sharing violation errors commonly seen when opening
2912 when serving Microsoft Office documents from a Samba
2914 o Browsing problems caused by an apostrophe (') in the
2915 computer's description field.
2916 o Problems creating special file types from UNIX CIFS
2917 clients and enabling 'unix extensions'.
2918 o Fix stalls in smbd caused by inaccessible LDAP servers.
2919 o Remove various memory leaks.
2920 o Fix issues in the password lockout feature.
2922 New features introduced in this release include:
2924 O Support symlinks created by CIFS clients which
2925 can be followed on the server.
2926 o Using a cups server other than localhost.
2927 o Maintaining the service principal entry in the system
2928 keytab for integration with other kerberized services.
2929 Please refer to the 'use kerberos keytab' entry in
2930 smb.conf(5). When using the heimdal kerberos libraries,
2931 you must also specify the following in /etc/krb5.conf:
2933 default_keytab_name = FILE:/etc/krb5.keytab
2934 o Support for maintaining individual printer names
2935 stored separately from the printer's sharename.
2936 o Support for maintaining user password history.
2937 o Support for honoring the logon times for user in a
2941 ============================================
2942 unix extensions = yes (default) and symlinks
2943 ============================================
2945 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
2946 clients supporting the UNIX extensions to the CIFS protocol
2947 can create symlinks to absolute paths which will be **followed**
2948 by the server. This functionality has been requested in order
2949 to correctly support certain applications when the user's home
2950 directory is mounted using some type of CIFS client (e.g. the
2951 cifsvfs in the Linux 2.6 kernel).
2953 If this behavior is not acceptable for your production environment
2954 you can set 'wide links = no' in the specific share declaration in
2955 the server's smb.conf. Be aware that disabling wide link support
2956 out of a share in Samba may impact the server's performance due
2957 to the fact that smbd will now have to check each path additional
2958 times before traversing it.
2961 ========================
2962 Password History Support
2963 ========================
2965 The new password history feature allows smbd to check the new
2966 password in password change requests against a list of the user's
2967 previous passwords. The number of previous passwords to save can
2968 be set using pdbedit (4 in this example):
2970 root# pdbedit -P "password history" -C 4
2972 When using the ldapsam passdb backend, it is vital to secure the
2973 following attributes from access by non-administrative users:
2977 * sambaPasswordHistory
2979 You should refer to your directory server's documentation on how
2980 to implement this restriction.
2989 Parameter Name Action
2990 -------------- ------
2992 defer sharing violations New
2993 force unknown acl user New
2995 printcap cache time New
2996 use kerberos keytab New
3000 o Jeremy Allison <jra@samba.org>
3001 * Correct path parsing bug that broke DeletePrinterDriverEx().
3002 * Fix bugs in check_path_syntax() caught by asserts.
3003 * Internal change - rearrange internal global case setting
3004 variables to a per connection basis.
3005 * BUG 1345: Fix premature optimization in unix_convert().
3006 * Allow clients to truncate a locked file.
3007 * BUG 1319: Always check to see if a user as write access
3008 to a share, even when 'force user' is set.
3009 * Fix specific case of open that doesn't cause oplock break,
3010 or share mode check.
3011 * Correct sid type is WKN_GROUP, not alias. Added some
3012 more known types (inspired by patch from Jianliang Lu).
3013 * Allow creation of absolute symlink paths via CIFS clients.
3014 * Fix charset bug in when invoking send_mailslot().
3015 * When using widelinks = no, use realpath to canonicalize
3016 the connection path on connection create for the user.
3017 * Enhance stat open code.
3018 * Fix unix extensions mknod code path.
3019 * Allow unix domain socket creation via unix extensions.
3020 * Auto disable the 'store dos attribute' parameter if the
3021 underlying filesystem doesn't support EAs.
3022 * Implement deferred open code to fix a bug with Excel files
3024 * BUG 1427: Catch bad path errors at the right point. Ensure
3025 all our pathname parsing is consistent.
3026 * Fix SMB signing error introduced by the new deferred open
3028 * Change default setting for case sensitivity to "auto". (see
3029 commit message -- r1154 -- for details).
3030 * Add new remote client arch -- CIFSFS.
3031 * Allow smbd to maintain the service principal entry in the
3032 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
3033 Guenther Deschner, et. al.).
3034 * Fix longstanding memleak bug with logfile name.
3035 * Fix incorrect type in printer publishing (struct uuid,
3037 * Heimdal compile fixes after introduction of the new ketyab
3039 * Ensure we check attributes correctly on rename request.
3040 * Ensure we defer a sharing violation on rename correctly.
3041 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
3043 * Fix bogus error message when using "mangling method = hash"
3045 * Turn on sendfile by default for non-Win9x clients.
3046 * Handle non-io opens that cause oplock breaks correctly.
3047 * Ensure ldap replication sleep time is not more than 5 seconds.
3048 * Add support for storing a user's password history.
3049 LDAP portion of the code was based on a patch from
3050 Jianliang Lu <j.lu@tiesse.com>.
3051 * Correct memory leaks found in the password change code.
3052 * Fix support for the mknod command with the Linux CIFS client.
3053 * Remove support for passing the new password to smbpasswd
3054 on the command line without using the -s option.
3055 * Ensure home directory service number is correctly reused
3056 (inspired by patches from Michael Collin Nielsen
3057 <michael@hum.aau.dk>).
3058 * Fix to stop printing accounts from resetting the bas
3059 password and account lockout flags.
3060 * If a account was locked out by an admin (and has a bad
3061 password count of zero) leave it locked out until an admin
3062 unlocks it (but log a message).
3063 * Ensure we return the same ACL revision on the wire that
3065 * BUG 1578: Hardcode replacement for invalid characters as '_'
3066 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3067 * Fix hashed password history for LDAP backends.
3068 * Enforce logon hours restrictions if confiogured (based on code
3069 from Richard Renard <rrenard@idealx.com>).
3070 * BUG 1606: Force smbd to disable sendfile with DOS clients
3071 and ensure that the chained header is filled in for ...&X
3073 * BUG 1602: Fix access to shares when all symlink support
3078 o Tom Alsberg <alsbergt@cs.huji.ac.il>
3079 * Allow pdbedit to export a single user from a passdb backend.
3082 o Andrew Bartlett <abartlet@samba.org>
3083 * Fix parsing bug in GetDomPwInfo().
3084 * Fix segfault in 'ntlm_auth --diagnostics'.
3085 * Re-enable code to allow sid_to_gid() to perform a group
3086 mapping lookup before checking with winbindd.
3087 * Fix memory leak in the trans2 signing code.
3088 * Allow more flexible GSS-SPENGO client and server operation
3090 * Improve smbd's internal random number generation.
3091 * Fix a few outstanding long password changes in smbd.
3092 * Fix LANMAN2 session setup code.
3095 o Eric Boehm <boehm@nortelnetworks.com>
3096 BUG 703: Final touches on netgroup case lookups.
3099 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3100 * Ensure error status codes don't get overwritten in
3101 lsa_lookup_sids() server code.
3102 * Correct bug that caused smbd to overwrite certain error
3103 codes when returning up the call stack.
3104 * Ensure the correct sid type returned for builtin sids.
3107 o Gerald Carter <jerry@samba.org>
3108 * Fix a few bugs in the Fedora Packaging files.
3109 * Fix for setting the called name to by our IP if the
3110 called name was *SMBSERVER and *SMBSERV. Fixes issue
3111 with connecting to printers via \\ip.ad.dr.ess\printer
3113 * BUG 1315: fix for schannel client connections to servers
3114 when we haven't specifically negotiated AUTH_PIPE_SEAL.
3115 * Allow PrinterDriverData valuenames with embedded backslashes
3116 (Fixes bug with one of the Konica Fiery drivers).
3117 * Fixed string length miscalculation in netbios names that
3118 resulted in corrupt workgroup names in browse.dat.
3119 * When running smbd as a daemon, launch child smbd to update
3120 the lpq cache listing in the background.
3121 * Allow printers "Printers..." folder to be renamed to a string
3122 other than the share name.
3123 * Allow winbindd to use domain trust account passwords when
3124 running on a Samba DC to establish an schannel to remote
3126 * Fix bad merge and ensure that we always use tdb_open_log()
3127 instead of tdb_open_ex() (the former call enforce the 'use
3129 * BUG 1221: revert old change that used single and double
3130 quotes as delimeters in next_token(), and change
3131 print_parameter() to print out parm values surrounded by
3132 double quotes (instead of single quotes).
3133 * Prevent home directories added during the SMBsesssetup&X from
3134 being removed as unused services.
3135 * Invalidate the print object cache for open printer handles when
3136 smbd receives a message that an attribute on a given printer
3138 * Cause the configure script to exit if --enable-cups[=yes] is
3139 defined and the system does not have the cups devel files
3141 * BUG 1297: Prevent map_username() from being called twice
3143 * Ensure that we use the userPrincipalName AD attribute
3144 value for LDAP SASL binds.
3145 * Ensure we remove the tdb entry when deleting a job that
3147 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
3148 client sends a FindNextPrintChangeNotify() request without
3149 previously sending a FindFirstPrintChangeNotify(). Return
3150 the same error code as Windows 2000 SP4.
3151 * BUG 1516: Manually declare ldap_open_with_timeout() to
3152 workaround compiler errors on IRIX (or other systems without
3154 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
3156 * Corrected syntax error in the OID for sambaUnixIdPool,
3157 sambaSidEntry, & sambaIdmapEntry object classes.
3158 * Tighten the cache consistency with the ntprinters.tdb entry
3159 an the in memory cache associated with open printer handles.
3160 * Make sure that register_messages_flags() doesn't overwrite
3161 the originally registered flags.
3164 o Fabien Chevalier <fabien.chevalier@supelec.fr>
3165 * Debian BUG 252591: Ensure that the return value from the
3166 number of available interfaces is initialized in case no
3167 interfaces are actually available.
3170 o Guenther Deschner <gd@sernet.de>
3171 * Implement 'rpcclient setprintername'.
3172 * Add local groups to the user's NT_TOKEN since they are
3173 actually supported now.
3174 * Heimdal compile fixes after introduction of the new keytab
3176 * Correctly honor the info level parameter in 'rpcclient
3178 * Reintroduce 'force unknown acl user' parameter. When getting a
3179 security descriptor for a file, if the owner sid is not known,
3180 the owner uid is set to the current uid. Same for group sid.
3181 * Ensure that REG_SZ values in the SetPrinterData actually
3182 get written in UNICODE strings rather than ASCII.
3183 * Ensure that the last kerberos error return is not invalid.
3184 * Display share ACL entries from rpcclient.
3185 * Correct infinite loop in pam_winbind's verification of
3186 group membership in the 'other sids' field in the user_info3
3190 o Fabian Franz <FabianFranz@gmx.de>
3191 * Support specifying a port in the device URL passed to smbspool.
3194 o Steve French <sfrench@us.ibm.com>
3195 * Handle -S and user mount parms in mount.cifs.
3196 * Fix user unmount of shares mount with suid mount.cifs.
3197 * prevent infinite recusion in reopen_logs() when expanding
3198 the smb.conf variable %I.
3201 o Bjoern Jacke <bj@sernet.de>
3202 * Install libsmbclient into $(LIBDIR), not into hard coded
3203 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
3204 and an explicit configure --libdir setting.
3207 o <kawasa_r@itg.hitachi.co.jp>
3208 * Correct more memory leaks and initialization bugs.
3209 * Fix bug that prevented core dumps from being generated
3211 * Connect to the winbind pipe in non-blocking mode to
3212 prevent processes from hanging.
3213 * Memory leak fixes.
3216 o Stephan Kulow <coolo@suse.de>
3217 * Fix crash bug in libsmbclient.
3220 o Volker Lendecke <vl@samba.org>
3221 * Added vfs_full_audit module.
3222 * Add vfs_afsacl.c which can display & set AFS acls via
3223 the NT security editor.
3224 * Fix crash bug caused by trying to Base64 encode a NULL string.
3225 * Fix DOS error code bug in reply_chkpath().
3226 * Correct misunderstanding of the max_size field in
3227 cli_samr_enum_als_groups; it is more like an account_control
3228 field with individual bits what to retrieve.
3229 * Implement 'net rpc group rename' -- rename domain groups.
3230 * Implement the 'cups server' option. This makes it possible
3231 to have virtual smbd's connect to different cups daemons.
3232 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3233 * Fix sid_to_gid() calls in winbindd to prevent loops.
3234 * Ensure that local_sid_to_gid() sets the type of the group on
3236 * Make sure that the clients are given back the IP address to
3237 which they connected in the case of a multi-homed host. Only
3238 affects strings the spoolss printing replies.
3239 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3240 did not ask for the modifyTimestamp attribute, so it could
3241 not find it. Try not to regress by not putting that attrib
3242 in the main list but append it manually for the relevant searches.
3243 * Fix two memleaks in login_cache.c.
3244 * fixes memory bloat when unmarshalling strings.
3245 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3246 * Fix the build for systems without kerberos headers.
3247 * Allow winbindd to handle authentication requests only when
3248 started without either an 'idmap uid' or 'idmap gid' range.
3249 * Fix the build for systems without ldap headers.
3250 * Fix interaction between share security descriptor and the
3251 'read only' smb.conf option.
3252 * Fix bug that caused _samr_lookupsids() with more than 32 (
3253 MAX_REF_DOMAINS) SIDs to fail.
3254 * Allow the 'idmap backend' parameter to accept a list of
3255 LDAP servers for failover purposes.
3256 * Revert code in smbd to remove a tdb when it has become
3258 * Add paranoid checks when mapping SIDs to a uid/gid to
3259 ensure that the type is correct.
3260 * Initial work on getting client support for sending mailslot
3262 * Add 'ldap timeout' parameter.
3263 * Dont always uppercase 'afs username map'.
3264 * Expand aliases for getusersids as well.
3265 * Improved NT->AFS ACL mapping VFS module.
3268 o Herb Lewis <herb@samba.org>
3269 * Add the acls debug class.
3270 * Fix logic bug in netbios name truncate routine.
3271 * Fix smbd crash caused by smbtorture IOCTL test.
3272 * Fix errno tromping before calling iconv to reset the
3274 * need to leave empty dacl so we can remove last ACE.
3277 o Jianliang Lu <Jianliang.Lu@getronics.com>
3278 * Fix to stop smbd hanging on missing group member in
3280 * Make sure Samba returns the correct group types.
3281 * Reset the bad password count password counts upon a successful login.
3284 o Jason Mader <jason@ncac.gwu.edu>
3285 * BUG 1385: Don't use non-consts in a structure initialization.
3288 o Jim McDonough <jmcd@us.ibm.com>
3289 * BUG 1279: SMBjobid fix for Samba print servers running on
3290 Big-Endian platforms.
3293 o Joe Meadows <jameadows@webopolis.com>
3294 * Add optional timeout parameter to ldap open calls.
3295 * Allow get_dc_list() to check the negative cache.
3298 o Stefan Metzmacher <metze@samba.org>
3299 * fix a configure logic bug for linux/XFS quotas when
3300 using --with-sys-quotas.
3301 * Use quota debug class in quota code.
3302 * print out the SVN revision by configure,
3305 o Buchan Milne <bgmilne@mandrake.org>
3306 * Mandrake packaging fixes.
3309 o Lars Mueller <lmuelle@samba.org>
3310 * BUG 1279: Added 'printcap cache time' parameter.
3311 * Fix afs related build issues on SuSE.
3312 * Fix compiler warnings in the kerberos client code.
3315 o James Peach <jpeach@sgi.com>
3316 * More iconv detection fixes for IRIX.
3317 * Compile fixed for systems that do not have C99/UNIX98 compliant
3318 vsnprintf by default.
3319 * Prevent smbd from attempting to use sendfile at all if it is
3320 not supported by the server's OS.
3321 * Allow SWAT to search for index.html when serving html files
3326 * Implement NFS quota support on FreeBSD.
3329 o Tim Potter <tpot@samba.org>
3330 * BUG 1360: Use -Bsymbolic when creating shared libraries to
3331 avoid conflicts with identical symbols in the global namespace
3332 when loading libnss_wins.so.
3335 o Richard Renard <rrenard@idealx.com>
3336 * Save the current password as it is being changed into the
3337 password history list.
3340 o Richard Sharpe <rsharpe@samba.org>
3341 * Fix error return codes on some lock messages.
3342 * BUG 1178: Make the libsmbclient routines callable
3344 * BUG 1333: Make sure we return an error code when
3346 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
3347 share mode locking requests fail.
3350 o Simo Sorce <idra@samba.org>
3351 * Update Debian stable & unstable packaging.
3352 * Tidy up parametric options in testparm output.
3355 o Richard Sharpe <rsharpe@samba.org>
3356 * Add sigchild handling to winbindd to restart the child
3357 daemon if necessary.
3360 o Tom Shaw <tomisfaraway@gmail.com>
3361 * Use winbindd_fill_pwent() consistently.
3364 o Nick Thompson <nickthompson@agere.com>
3365 * Protect smbd against broken filesystems which return zero
3369 o Andrew Tridgell <tridge@samba.org>
3370 * Fixed bug in handling of timeout in socket connections.
3373 o Nick Wellnhofer <wellnhofer@aevum.de>
3374 * Prevent lp_interfaces() list from being corrupted. Fixes
3375 bug where nmbd would lose the list of network interfaces
3376 on the system and consequently shutdown.
3379 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3380 * Fix ntlm_auth memory leaks.
3383 o Jelmer Vernooij <jelmer@samba.org>
3384 * Additional NT status to unix error mappings.
3385 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
3386 get duplicate symbol errors.
3387 * Return an error when the last command read from stdin
3389 * Prepare for better error checking in tar.
3390 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3393 --------------------------------------------------
3395 =============================
3396 Release Notes for Samba 3.0.5
3398 =============================
3400 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
3401 the exception of correcting the two security issues outlined
3404 ######################## SECURITY RELEASE ########################
3406 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
3407 CVE ID: CAN-2004-0600, CAN-2004-0686
3408 (http://cve.mitre.org/)
3411 This is the latest stable release of Samba. This is the version
3412 that production Samba servers should be running for all current
3415 It has been confirmed that versions of Samba 3 prior to v3.0.4
3416 are vulnerable to two potential buffer overruns. The individual
3417 details are given below.
3423 Affected Versions: Samba 3.0.2 and later
3425 The internal routine used by the Samba Web Administration
3426 Tool (SWAT v3.0.2 and later) to decode the base64 data
3427 during HTTP basic authentication is subject to a buffer
3428 overrun caused by an invalid base64 character. It is
3429 recommended that all Samba v3.0.2 or later installations
3430 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3431 the swat administration service as a temporary workaround.
3433 This same code is used internally to decode the
3434 sambaMungedDial attribute value when using the ldapsam
3435 passdb backend. While we do not believe that the base64
3436 decoding routines used by the ldapsam passdb backend can
3437 be exploited, sites using an LDAP directory service with
3438 Samba are strongly encouraged to verify that the DIT only
3439 allows write access to sambaSamAccount attributes by a
3440 sufficiently authorized user.
3442 The Samba Team would like to heartily thank Evgeny Demidov
3443 for analyzing and reporting this bug.
3449 Affected Versions: Samba 3.0.0 and later
3451 A buffer overrun has been located in the code used to support
3452 the 'mangling method = hash' smb.conf option. Please be aware
3453 that the default setting for this parameter is 'mangling method
3454 = hash2' and therefore not vulnerable.
3456 Affected Samba 3 installations can avoid this possible security
3457 bug by using the default hash2 mangling method. Server
3458 installations requiring the hash mangling method are encouraged
3459 to upgrade to Samba 3.0.5.
3462 ##################################################################
3464 --------------------------------------------------
3466 =============================
3467 Release Notes for Samba 3.0.4
3469 =============================
3471 Common bugs fixed in Samba 3.0.4 include:
3473 o Password changing after applying the patch described in
3474 the Microsoft KB828741 article to Windows clients.
3476 o Managing print jobs via Windows on Big-Endian servers.
3477 o Several memory leaks in winbindd and smbd.
3478 o Compile issues on AIX and *BSD.
3481 --------------------
3486 o Jeremy Allison <jra@samba.org>
3487 * Fix path processing for DeletePrinterDriverEx().
3488 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
3492 o Andrew Bartlett <abartlet@samba.org>
3493 * Fix alignment bug in GetDomPwInfo().
3496 o Alexander Bokovoy <ab@samba.org>
3497 * Fix utime[s]() issues in smbwrapper on systems
3498 that can boot both the 2.4 and 2.6 Linux kernels.
3501 o Gerald Carter <jerry@samba.org>
3502 * Fedora packaging fixes.
3503 * BUG 1302: Fix seg fault by not trying to optimize a list of
3504 invalid gids using the wrong array size.
3505 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3506 seen when 'security = share'.
3507 * Fix problems when using IBM's compiler on AIX.
3508 * Link Developer's Guide, Example Guide, and multi-page HOWTO
3509 into SWAT's welcome page.
3510 * BUG 1293: fix double free in printer publishing code.
3513 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3514 * Fix for handling timeouts in socket connections.
3517 o Michel Gravey <michel.gravey@optogone.com>
3518 * BUG 483: patch from to fix password hash creation in SWAT.
3521 o Volker Lendecke <vl@samba.org>
3522 * Close the open NT pipes before the tdis.
3523 * Fix AFS related build issues.
3524 * Handle error conditions when base64 encoding a blob of 0 bytes.
3527 o Herb Lewis <herb@samba.org>
3528 * Added 'acls' debug class.
3530 o kawasa_r@itg.hitachi.co.jp
3531 * Multiple variable initialization and memory leak fixes.
3534 o Stephan Kulow <coolo@suse.de>
3535 * Fix string length bug in libsmbclient that caused KDE's
3537 * BUG 429: More libsmbclient fixes.
3540 o Jim McDonough <jmcd@us.ibm.com>
3541 * BUG 1007, 1279: Store the print job using a little-endian key.
3545 o Compile fix for OpenBSD (ENOTSUP not supported).
3548 o Stefan Metzmacher <metze@samba.org>
3549 * Correct bug in disks quota views from explorer.
3552 o Tim Potter <tpot@samba.org>
3553 BUG 1305: Correct debug output.
3556 o Richard Sharpe <rsharpe@samba.org>
3557 * Fix incorrect error code mapping.
3560 o Jelmer Vernooij <jelmer@samba.org>
3561 * Add additional NT_STATUS errorm mappings.
3564 --------------------------------------------------
3566 =============================
3567 Release Notes for Samba 3.0.3
3569 =============================
3572 Common bugs fixed in Samba 3.0.3 include:
3574 o Crash bugs and change notify issues in Samba's printing code.
3575 o Honoring secondary group membership on domain member servers.
3576 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3577 o Substitution errors for %[UuGg] in smb.conf.
3578 o winbindd crashes when using ADS security mode.
3579 o SMB signing errors.
3580 o Delays in winbindd startup caused by unnecessary
3581 connections to trusted domain controllers.
3582 o Various small memory leaks.
3583 o Winbindd failing due to expired Kerberos tickets.
3585 New features introduced in Samba 3.0.3 include:
3587 o Improved support for i18n character sets.
3588 o Support for account lockout policy based on
3589 bad password attempts.
3590 o Improved support for long password changes (>14
3591 characters) and strong password enforcement.
3592 o Support for Windows aliases (i.e. nested groups).
3593 o Experimental support for storing DOS attribute on files
3594 and folders in Extended Attributes.
3595 o Support for local nested groups via winbindd.
3596 o Specifying options to be passed directly to the CUPS libraries.
3598 Please be aware that the Samba source code repository was
3599 migrated from CVS to Subversion on April 4, 2004. Details on
3600 accessing the Samba source tree via anonymous svn can be found
3601 at http://svn.samba.org/samba/subversion.html.
3604 Changes since 3.0.2a
3605 --------------------
3609 Parameter Name Action
3610 -------------- ------
3613 only user Deprecated
3614 store dos attributes New
3616 winbind nested groups New
3622 o Jeremy Allison <jra@samba.org>
3623 * Ensure that Kerberos mutex is always properly unlocked.
3624 * Removed Heimdal "in-memory keytab" support.
3625 * Fixup the 'multiple-vuids' bugs in our server code.
3626 * Correct return code from lsa_lookup_sids() on unmapped
3627 sids (based on work by vl@samba.org).
3628 * Fix the "too many fcntl locks" scalability problem
3630 * Fixup correct (as per W2K3) returns for lookupsids
3631 as well as lookupnames.
3632 * Fixups for delete-on-close semantics as per Win2k3 behavior.
3633 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3634 * Fix "unable to initialize" bug when smbd hasn't been run with
3635 new system and a user is being added via pdbedit/smbpasswd.
3636 * Added NTrename SMB (0xA5).
3637 * Fixup correct timeout values for blocking lock timeouts.
3638 * Fix various bugs reported by 'gentest'.
3639 * More locking fixes in the case where we own the lock.
3640 * Fix up regression in IS_NAME_VALID and renames.
3641 * Don't set allocation size on directories.
3642 * Return correct error code on fail if file exists and target
3644 * Added client "hardlink" comment to test doing NT rename with
3645 hard links. Added hardlink_internals() code - UNIX extensions
3646 now use this as well.
3647 * Use a common function to parse all pathnames from the wire for
3648 much closer emulation of Win2k3 error return codes.
3649 * Implement check_path_syntax() and rewrite string sub
3650 functions for better multibyte support.
3651 * Ensure msdfs referrals are multibyte safe.
3652 * Allow msdfs symlink syntax to be more forgiving.
3653 eg. sym_link -> msdfs://server/share/path/in/share
3654 or sym_link -> msdfs:\\server\share\path\in\share.
3655 * Cleanup multibyte netbios name support in nmbd ( based on patch
3656 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3657 * Fix check_path_syntax() for multibyte encodings which have
3658 no '\' as second byte (based on work by ab@samba.org.
3659 * Fix the "dfs self-referrals as anonymous user" problem
3660 (based on patch from vl@samba.org).
3661 * BUG 1064: Ensure truncate attribute checking is done correctly
3662 on "hidden" dot files.
3663 * Fix bug in anonymous dfs self-referrals again.
3664 * Fix get/set of EA's in client library
3665 * Added support for OS/2 EA's in smbd server.
3666 * Added 'ea support' parameter to smb.conf.
3667 * Added 'store dos attributes' parameter to smb.conf.
3668 * Fix wildcard identical rename.
3669 * Fix reply_ctemp - make compatible with w2k3.
3670 * Fix wildcard unlink.
3671 * Fix wildcard src with wildcard dest renames.
3672 * BUG 1139: Fix based on suggestion by jdev@panix.com.
3673 swap lookups for user and group - group will do an
3674 algorithmic lookup if it fails, user won't.
3675 * Make EA's lookups case independent.
3676 * Fix SETPATHINFO in 'unix extensions' support.
3677 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
3678 the UNIX info levels, and the short case preserve names.
3681 o Timur Bakeyev <timur@com.bat.ru>
3682 * BUG 1144: only set --with-fhs when the argument is 'yes'
3683 * BUG 1152: Allow python modules to build despite libraries added
3684 to LDFLAGS instead of LDPATH.
3685 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3688 o Craig Barratt <cbarratt@users.sourceforge.net>
3689 * BUG 389: Allow multiple exclude arguments with smbclient
3690 tar -Xr options (better support for Amanda backup client).
3693 o Andrew Bartlett <abartlet@samba.org>
3694 * Include support for linking with cracklib for enforcing strong
3696 * Add support for >14 character password changes from Windows
3698 * Add 'admin set password' capability to 'net rpc'.
3699 * Allow 'net rpc samdump' to work with any joined domain
3700 regardless of smb.conf settings.
3701 * Use an allocated buffer for count_chars.
3702 * Add sanity checks for changes in the domain SID in an
3704 * Implement python unit tests for Samba's multibyte string
3706 * Remove 'unicode' smb.conf option.
3707 * BUG 1138: Fix support for 'optional' SMB signing and other
3709 * BUG 169: Fix NTLMv2-only behavior.
3710 * Ensure 'net' honors the 'netbios name' in the smb.conf by
3712 * Support SMB signing on connections using only the LANMAN
3713 password and generate the correct the 'session key' for these
3715 * Implement --required-membership-of=, an ntlm_auth option
3716 that restricts all authentication to members of this particular
3718 * Improve our fall back code for password changes.
3719 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
3720 after the server had said something (such as an error).
3721 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3724 o Alexander Bokovoy <ab@samba.org>
3725 * Fix incorrect size calculation of the directory name
3727 * Fix problems with very long filenames in both smbd and smbclient
3728 caused by truncating paths during character conversions.
3729 * Fix smbfs problem with Tree Disconnect issued before smbfs
3733 o Gerald Carter <jerry@samba.org>
3734 * BUG 850: Fix 'make installmodules' bug on True64.
3735 * BUG 66: mark 'only user' deprecated.
3736 * Remove corrupt tdb and shutdown (only for printing tdbs,
3737 connections, sessionid & locking).
3738 * decrement smbd counter in connections.tdb in smb_panic().
3739 * RedHat specfile updates.
3740 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3741 * BUG 1147; bad pointer case in get_stored_queue_info()
3743 * BUG 761: read the config file before initialized default
3744 values for printing options; don't default to bsd printing
3746 * Allow the 'printing' parameter to be set on a per share basis.
3747 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3748 * BUG 848: don't create winbind local users/groups that already
3750 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
3752 * BUG 488: fix the 'show client in col 1' button and correctly
3753 enumerate active connections.
3754 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
3755 problem when storing the updating pid for the lpq cache.
3756 * BUG 1007 (partial): Fix print change notify bugs.
3757 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
3758 and winbind use default domain = yes. Also ensures that
3759 * BUG 1151: Ensure that winbindd users are passed through
3761 * Fix client rpc binds for ASU derived servers (pc netlink,
3763 * BUG 417, 1128: Ensure that the current_user_info is set
3764 consistently so that %[UuGg] is expanded correctly.
3765 * BUG 1195: Fix crash in winbindd when the ADS server is
3767 * BUG 1185: Set reconnect time to be the same as the
3768 'winbind cache time'.
3769 * Ensure that we return the sec_desc in smb_io_printer_info_2.
3770 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3771 * BUG 1095: Honor the '-l' option in smbclient.
3772 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
3774 * Ensure server schannel uses the auth level requested by the
3776 * Removed --with-cracklib option due to potential crash issue.
3777 * Fix -lcrypto linking problem with wbinfo.
3778 * BUG 761: allow printing parameter to set defaults on a per
3780 * Add 'cups options' parameter to allow raw printing without
3781 changing /etc/cups/cupsd.conf.
3782 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
3784 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3785 * BUG 1288: resolve any machine netbios name (0x00) and not just
3787 * BUG 1199: Fix potential symlink issue in
3788 examples/printing/smbprint.
3791 o Robert Dahlem <Robert.Dahlem@gmx.net>
3792 * BUG 1048: Don't return short names when when 'mangled names = no'
3795 o Guenther Deschner <gd@suse.com>
3796 * Remove hard coded attribute name in the ads ranged retrieval
3798 * Add --with-libdir and --with-mandir to autoconf script.
3801 o Bostjan Golob <golob@gimb.org>
3802 * BUG 1046: Fix getpwent_list() so that the username is not
3803 overwritten by other fields.
3806 o Landon Fuller <landonf@opendarwin.org>
3807 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
3808 to fix user/group enumeration on systems whose libc does not
3809 call setgrent() before trying to enumerate users (i.e.
3813 o Steve French <sfrench@us.ibm.com>
3814 * Update mount.cifs to version 1.1.
3815 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3816 * Fixes to minor security bug in the mount helper.
3817 * Fix credential file mounting for cifs vfs.
3818 * Fix free of incremented pointer in cifsvfs mount helper.
3819 * Fix path canonicalization of the mount target path and help
3820 text display in the cifs mount helper.
3821 * Add missing guest mount option for mount.cifs.
3824 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3825 * BUG 1055; formatting fixes for 'net share'.
3826 * BUG 692: correct truncation of share names and workgroup
3828 * BUG 1088: use strchr_m() for query_host (smbclient -L).
3829 * Patch from to internally count characters correctly.
3832 o Paul Green <paulg@samba.org>
3833 * Update VOS _POSIX_C_SOURCE macro to 200112L.
3834 * Fix bug in configure.ion by moving the first use of
3835 AC_CHECK_HEADERS so it is always executed.
3836 * Fix configure.in to only use $BLDSHARED to select whether to
3837 build static or shared libraries.
3840 o Pat Haywarrd <Pat.Hayward@propero.net>
3841 * Make the session_users list dynamic (max of 128K).
3844 o Cal Heldenbrand <calzplace@yahoo.com>
3845 * Fix for for 'pam_smbpass migrate' functionality.
3848 o Chris Hertel <crh@samba.org>
3849 * fix enumeration of shares 12 characters in length via
3853 o Ulrich Holeschak <ulrich@holeschak.de>
3854 * BUG 932: fix local password change using pam_smbpass
3857 o Krischan Jodies <kj@sernet.de>
3858 * Implement 'net rpc group delete'
3861 o John Klinger <john.klinger@lmco.com>
3862 * Return NSS_SUCCESS once the max number of gids possible
3863 has been found in initgroups() on Solaris.
3864 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
3867 o Volker Lendecke <vl@samba.org>
3868 * Fix success message for net groupmap modify.
3869 * Fix errors when enumerating members of groups in 'net rpc'.
3870 * Match Windows behavior in samr_lookup_names() by returning
3871 ALIAS(4) when you search in BUILTIN.
3872 * Fix server SAMR code to be able to set alias info for
3874 * Fix duplication of logic when creating groups via smbd.
3875 * Ensure that the HWM values are set correctly after running
3877 * Add 'net rpc group add'.
3878 * Implement 'net groupmap set' and 'net groupmap cleanup'.
3879 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
3880 * Fix wb_delgrpmem (wbinfo -o).
3881 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
3882 * Fix sambaUserWorkstations on a Samba DC.
3883 * Implement wbinfo -k: Have winbind generate an AFS token after
3884 authenticating the user.
3885 * Add expand_msdfs VFS module for providing referrals based on the
3886 the client's IP address.
3887 * Implement client side NETLOGON GetDCName function.
3888 * Fix caching of name->sid lookups.
3889 * Add support in winbindd for expanding nested local groups.
3890 * Fix memleak in winbindd.
3892 * Don't list domain groups from BUILTIN.
3893 * Fix memleak in policy handle utility functions.
3894 * Decrease winbindd startup time by only contacting trusted
3895 domains as necessary.
3896 * Allow winbindd to ask the DC for its domain for a trusted
3898 * Fix Netscape DS schema based on comments from
3899 <thomas.mueller@christ-wasser.de>.
3900 * Correct case where adding a domain user to a XP local group
3901 did a lsalookupname on the user without domain prefix, and
3903 * Fix segfault in winbindd caused by 'wbinfo -a'.
3906 o Herb Lewis <herb@samba.org>
3907 * Fix typo for tag in proto file.
3908 * Add missing #ifdef HAVE_BICONV stuff.
3909 * Truncate Samba's netbios name at the first '.' (not
3913 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
3914 * Bug fixes and enhancements to libsmbclient library.
3917 o Jianliang Lu <j.lu@tiesse.com>
3918 * Enforce the 'user must change password at next login' flag.
3919 * Decode meaning of 'fields present' flags (improves support
3922 * Don't force an upper case domain name in the ntlmssp code.
3925 o L. Lucius <ib@digicron.com>.
3929 o Jim McDonough <jmcd@us.ibm.com>
3930 * Add versioning support to tdbsam.
3931 * Update the IBM Directory Server schema with the OpenLDAP
3933 * Various decoding fixes to improve usrmgr.exe support.
3934 * Fix statfs redeclaration of statfs struct on ppc
3935 * Implement support for password lockout of Samba domain
3936 controllers and standalone servers.
3937 * Get MungedDial attribute actually working with full TS
3938 strings in it for pdb_ldap.
3939 * BUG 1208 (partial): Improvements for working with expired krb5
3940 tickets in winbindd.
3941 * Use timegm, or our already existing replacement instead of
3942 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3943 * Remove modifyTimestamp from list of our attributes.
3944 * Fix lsalookupnames to check for domain users as well as local
3946 * Merge struct uuid replacement for GUID from trunk.
3947 * BUG 1208: Finish support for handling expired tickets in
3948 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3951 o Stefan Metzmacher <metze@samba.org>
3952 * Implement new VERSION schema based on subversion revision
3954 * Add shadow_copy vfs module.
3955 * Fix segault in login_cache support.
3958 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3959 o BUG 979 -- Fix quota display on AIX.
3962 o James Peach <jpeach@sgi.com>
3963 * Correct check for printf() format when using the SGI MIPSPro
3965 * BUG 1038: support backtrace for 'panic action' on IRIX.
3966 * BUG 768: Accept profileing arg to IRIX init script.
3967 * BUG 748: Relax arg parsing to sambalp script (IRIX).
3968 * BUG 758: Fix pdma build.
3969 * Search IRIX ABI paths for libiconv. Based on initial fix from
3973 o Kurt Pfeifle <kpfeifle@danka.de>
3974 * Add example shell script for migrating drivers and printers
3975 from a Windows print server to a Samba print server using
3976 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3979 o Tim Potter <tpot@samba.org>
3980 * Fix logic bug in tdb non-blocking lock routines when
3982 * BUG 1025: Include sys/acl.h in check for broken nisplus
3984 * BUG 1066: s/printf/d_printf/g in SWAT.
3985 * BUG 1098: rename internal msleep() function to fix build
3987 * BUG 1112: Fix for writable printerdata problem in python bindings.
3988 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3989 * BUG 1155: enclose use of fchown() with guards.
3990 * Relicense tdb python module as LGPL.
3993 o Richard Sharpe <rsharpe@samba.org>
3994 * Add support to smbclient for multiple logins on the same
3995 session (based on work by abartlet@samba.org).
3996 * Correct blocking condition in smbd's use of accept() on IRIX.
3997 * Add support for printing out the MAC address on nmblookup.
4000 o Simo Sorce <idra@samba.org>
4001 * Replace unknown_3 with fields_present in SAMR code.
4002 * More length checks in strlcat().
4005 o Andrew Tridgell <tridge@samba.org>
4006 * Rewrote the AIX UESS backend for winbindd.
4007 * Fixed compilation with --enable-dmalloc.
4008 * Change tdb license to LGPL (see source/tdb/tdb.c).
4009 * Force winbindd to use schannel in clients connections to
4013 o Jelmer Vernooij <jelmer@samba.org>
4014 * Fix ETA Calculation when resuming downloads in smbget.
4015 * Add -O (for writing downloaded files to standard out)
4016 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
4017 * Fix syntax error in example mysql table
4020 o TAKEDA yasuma <yasuma@miraclelinux.com>
4021 * BUG 900: fix token processing in cmd_symlink, cmd_link,
4022 cmd_chown, cmd_chmod smbclient functions.
4025 o Shiro Yamada <shiro@miraclelinux.com>
4026 * BUG 1129: install image files for SWAT.
4029 --------------------------------------------------
4031 ==============================
4032 Release Notes for Samba 3.0.2a
4034 ==============================
4036 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
4037 to address, in particular, a problem when using pdbedit to
4038 sanitize (--force-initialized-passwords) Samba's tdbsam
4039 backend. This is the latest stable release of Samba. This
4040 is the version that all production Samba servers should be
4041 running for all current bug-fixes.
4043 ******************* Attention! Achtung! Kree! *********************
4045 Beginning with Samba 3.0.2, passwords for accounts with a last
4046 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
4047 ldapsam, etc...) of zero (0) will be regarded as uninitialized
4048 strings. This will cause authentication to fail for such
4049 accounts. If you have valid passwords that meet this criteria,
4050 you must update the last change time to a non-zero value. If you
4051 do not, then 'pdbedit --force-initialized-passwords' will disable
4052 these accounts and reset the password hashes to a string of X's.
4054 ******************* Attention! Achtung! Kree! *********************
4063 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4064 details. The list of changes per contributor are as follows:
4067 o Jeremy Allison <jra@samba.org>
4068 * Added paranoia checks in parsing code.
4071 o Andrew Bartlett <abartlet@samba.org>
4072 * Ensure that changes to uninitialized passwords in ldapsam
4073 are written to the DIT.
4076 o Gerald (Jerry) Carter <jerry@samba.org>
4077 * Fixed iterator in tdbsam.
4078 * Fix bug that disabled accounts with a valid NT password
4079 hash, but no LanMan hash.
4082 o Steve French <sfrench@us.ibm.com>
4083 * Added missing nosetuid and noexec options.
4086 o Bostjan Golob <golob@gimb.org>
4087 * BUG 1046: Don't overwrite usernames of entries returned
4091 o Sebastian Krahmer <krahmer@suse.de>
4092 * Fixed potential crash bug in NTLMSSP parsing code.
4095 o Tim Potter <tpot@samba.org>
4096 * Fixed logic in tdb_brlock error checking.
4099 o Urban Widmark <urban@teststation.com>
4100 * Set nosuid,nodev flags in smbmnt by default.
4103 --------------------------------------------------
4105 =============================
4106 Release Notes for Samba 3.0.2
4108 =============================
4110 It has been confirmed that previous versions of Samba 3.0 are
4111 susceptible to a password initialization bug that could grant an
4112 attacker unauthorized access to a user account created by the
4113 mksmbpasswd.sh shell script.
4115 The Common Vulnerabilities and Exposures project (cve.mitre.org)
4116 has assigned the name CAN-2004-0082 to this issue.
4118 Samba administrators not wishing to upgrade to the current
4119 version should download the 3.0.2 release, build the pdbedit
4122 root# pdbedit-3.0.2 --force-initialized-passwords
4124 This will disable all accounts not possessing a valid password
4125 (e.g. the password field has been set a string of X's).
4127 Samba servers running 3.0.2 are not vulnerable to this bug
4128 regardless of whether or not pdbedit has been used to sanitize
4131 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4134 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4135 o Logging onto a Samba domain from Windows XP clients.
4136 o Problems with the %U and %u smb.conf variables in relation to
4137 Windows 9x/ME clients.
4138 o Kerberos failures due to an invalid in memory keytab detection
4140 o Updates to the ntlm_auth tool.
4141 o Fixes for various SMB signing errors.
4142 o Better separation of WINS and DNS queries for domain controllers.
4143 o Issues with nss_winbind FreeBSD and Solaris.
4144 o Several crash bugs in smbd and winbindd.
4145 o Output formatting fixes for smbclient for better compatibility
4146 with scripts based on the 2.2 version.
4155 Parameter Name Action
4156 -------------- ------
4157 ldap replication sleep New
4158 read size removed (unused)
4159 source environment removed (unused)
4165 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4166 details. The list of changes per contributor are as follows:
4168 o Jeremy Allison <jra@samba.org>
4169 * Revert change that broke Exchange clear text samlogons.
4170 * Fix gcc 3.4 warning in MS-DFS code.
4171 * Tidy up of NTLMSSP code.
4172 * Fixes for SMB signing errors
4173 * BUG 815: Workaround NT4 bug to support plaintext
4174 password logins and UNICODE.
4175 * Fix SMB signing bug when copying large files.
4176 * Correct error logic in mkdir_internals() (caused a panic
4177 when combined with --enable-developer).
4178 * BUG 830: Protect against crashes due to bad character
4182 o Petri Asikainen <paca@sci.fi>
4183 * BUG 330, 387:Fix single valued attribute updates when
4184 working with Novell NDS.
4187 o Andrew Bartlett <abartlet@samba.org>
4188 * Correctly handle per-pipe NTLMSSP inside a NULL session.
4189 * Fix segfault in gencache
4190 * Fix early free() of encrypted_session_key.
4191 * Change DC lookup routines to more carefully separate
4192 DNS names (realms) from NetBIOS domain names.
4193 * Add new sid_to_dn() function for internal winbindd use.
4194 * Refactor cli_ds_enum_domain_trusts().
4195 * BUG 707: Implement range retrieval of ADS attributes (based
4196 on work from Volker <vl@samba.org> and Guenther Deschner
4198 * Automatically initialize the signing engine if a session key
4200 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
4201 encoded strings, only form input in SWAT.
4202 * Resets the NTLMSSP state for new negotiate packets.
4203 * Add 2-byte alignments in net_samlogon() queries to parse
4204 odd-length plain text passwords.
4205 * Allow Windows groups with no members in winbindd.
4206 * Allow normal authentication in the absence of a server
4207 generated session key.
4208 * More optimizations for looking up UNIX group lists.
4209 * Clean up error codes and return values for pam_winbindd
4210 and winbindd PAM interface.
4211 * Fix string return values in ntlm_auth tool.
4212 * Fix segfault when 'security = ads' but no realm is defined.
4213 * BUG 722: Allow winbindd to map machine accounts to uids.
4214 * More cleanups for winbindd's find_our_domain().
4215 * More clearly detect whether a domain controller is an NT4
4216 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4217 * Increase separation between DNS queries for hosts and queries
4218 for AD domain controllers.
4219 * Include additional NT_STATUS to PAM error mappings.
4220 * Password initialization fixes.
4223 o Justin Baugh <justin.baugh@request.com>
4224 * BUG 948: Implement missing functions required for FreeBSD
4225 nss_winbind support.
4228 o Alexander Bokovoy <ab@samba.org>
4229 * BUG 922: Make sure enable fast path for strlower_m() and
4233 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4234 * Fix crash when using 'security = server' and 'encrypt
4235 passwords = no' by always initializing the session key.
4238 o Dmitry Butskoj <buc@odusz.elektra.ru>
4239 * Fix for special files being hidden from admins.
4242 o Gerald (Jerry) Carter <jerry@samba.org>
4243 * Fix bug in the lanman session key generation. Caused
4244 "decode_pw: incorrect password length" error messages.
4245 * Save the right case for the located user name in
4246 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4247 * BUG 897: Add well known rid for pre win2k compatible access
4249 * BUG 887: Correct typo in delete user script example.
4250 * Use short lived TALLOC_CTX* for allocating printer objects
4251 from the print handle cache.
4252 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4253 * Fix several warnings reported by the SUN Forte C compiler.
4254 * Fully control DNS queries for AD DC's using 'name resolve order'.
4255 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4256 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4257 * BUG 936: fix bind credentials for schannel binds in smbd.
4258 * BUG 446: Fix output of smbclient for better compatibility
4259 with scripts based on the 2.2 version (including Amanda).
4260 * BUG 891, 949: Fedora packaging fixes.
4261 * Fix bug that caused rpcclient to incorrectly retrieve
4262 the SID for a server (this causing all calls that required
4263 this information to fail).
4264 * BUG 977: Don't create a homes share for a user if a static
4265 share already exists by the same name.
4266 * Removed unused smb.conf options.
4267 * Password initialization fixes.
4268 * Set the disable flag for template accounts created by
4270 * Disable any account has no passwords and does not have the
4271 ACB_PWNOTREQ bit set.
4274 o Guenther Deschner <gd@suse.com>
4275 * Install smbwrapper.so should be put into the $(libdir)
4277 * Add the capability to specify the new user password
4278 for "net ads password" on the command line.
4279 * Correctly detect AFS headers on SuSE.
4282 o James Flemer <jflemer@uvm.edu>
4283 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4284 HAVE_SYS_ATTRIBUTES_H.
4287 o Luke Howard <lukeh@PADL.COM>
4288 * Fix segfault in session setup reply caused by a early free().
4291 o Stoian Ivanov <sdr@bultra.com>
4292 * Implement grepable output for smbclient -L.
4295 o LaMont Jones <lamont@debian.org>
4296 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4297 in _GNU_SOURCE not being defined (thus resulting in strndup()
4301 o Volker Lendecke <vl@samba.org>
4302 * BUG 583: Ensure that user names always contain the short
4303 version of the domain name.
4304 * Fix our parsing of the LDAP uri.
4305 * Don't show the 'afs username map' in the SWAT basic view.
4306 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4307 * BUG 924: Fix return codes in smbtorture harness.
4308 * Always lower-case usernames before handing it to AFS code.
4309 * Add a German translation for SWAT.
4310 * Fix a segfaults in winbindd.
4311 * Fix the user's domain passed to register_vuid() from
4312 reply_spnego_kerberos().
4313 * Add NSS example code in nss_winbind to convert UNIX
4314 id's <-> Windows SIDs.
4315 * Display more descriptive error messages for login via 'net'.
4316 * Fix compiler warning in the net tool.
4317 * Fix length bug when decoding base64 strings.
4318 * Ensure we don't call getpwnam() inside a loop that is iterating
4319 over users with getpwent(). This broke on glibc 2.3.2.
4322 o Herb Lewis <herb@samba.org>
4323 * Fix bit rot in psec.
4326 o Jianliang Lu <j.lu@tiesse.com>
4327 * Ensure we delete the group mapping before calling the delete
4329 * Define well known RID for managing the "Power Users" group.
4330 * BUG 381: check builtin (not local) group SID when updating
4332 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
4336 o John Klinger <john.klinger@lmco.com>
4337 * Implement initgroups() call in nss_winbind on Solaris.
4340 o Jim McDonough <jmcd@us.ibm.com>
4341 * Fix regression in net rpc join caused by recent changes
4342 to cli_lsa_query_info_policy().
4343 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4347 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
4348 * BUG 570: Ensure that configure honors the LDFLAGS variable.
4351 o Stefan Metzmacher <metze@samba.org>
4352 * Implement LDAP rebind sleep patch.
4353 * Revert to 2.2 quota code because of so many broken quota files
4355 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4356 XFS_USER_QUOTA -> USRQUOTA
4357 XFS_GROUP_QUOTA -> GRPQUOTA
4358 * Fix disk_free calculation with group quotas.
4359 * Add debug class 'quota' and a lot of DEBUG()'s
4361 * Fix sys_chown() when no chown() is present.
4362 * Add SIGABRT to fault handling in order to catch got a
4363 backtrace if an error occurs the OpenLDAP client libs.
4367 * Allow an existing LDAP machine account to be re-used when
4368 joining an AD domain.
4371 o James Peach <jpeach@sgi.com>
4372 * BUG 889: Change smbd to use pread/pwrite on platforms that
4373 support these calls. Can lead to a significant speed increase.
4376 o Tim Potter <tpot@samba.org>
4377 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4378 * BUG 924: Fix typo in RW2 torture test.
4381 o Richard Sharpe <rsharpe@samba.org>
4382 * Small fixes to torture.c to cleanup the error handling
4383 and prevent crashes.
4386 o J. Tournier <jerome.tournier@IDEALX.com>
4387 * Small fixes for the smbldap-tool scripts.
4390 o Andrew Tridgell <tridge@samba.org>
4391 * Fix src len check in pull_usc2().
4394 o Jelmer Vernooij <jelmer@samba.org>
4395 * Put functions for generating SQL queries in pdb_sql.c
4396 * Add pgSQL backend (based on patch by Hamish Friedlander)
4397 * BUG 908: Fix -s option to smbcontrol.
4398 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4399 * Fix for libnss_wins on IRIX platforms.
4400 * Fix swatdir for --with-fhs.
4403 --------------------------------------------------
4405 =============================
4406 Release Notes for Samba 3.0.1
4408 =============================
4410 Some of the more common bugs in 3.0.0 addressed in the release
4413 o Substitution problems with smb.conf variables.
4414 o Errors in return codes which caused some applications
4415 to fail to open files.
4416 o General Protection Faults on Windows 2000/XP clients
4417 using Samba point-n-print features.
4418 o Several miscellaneous crash bugs.
4419 o Access problems when enumerating group mappings are
4420 stored in an LDAP Directory.
4421 o Several common SWAT bugs when writing changes to
4423 o Internal inconsistencies when 'winbind use default
4429 ----------------------
4431 Parameter Name Action
4432 -------------- ------
4433 hide local users Removed
4434 mangled map Deprecated
4435 mangled stack Removed
4436 passwd chat timeout New
4442 o Change the interface for init_unistr2 to not take a length
4443 but a flags field. We were assuming that
4444 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
4445 o Allow d_printf() to handle strings with escaped quotation
4446 marks since the msg file includes the escape character (bug 489).
4447 o Fix bad html table row termination in SWAT wizard code (bug 413).
4448 o Fix to parse the level-2 strings.
4449 o Fix for "valid users = %S" in [homes]. Fix read/write
4451 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
4452 This is the same way AC_CHECK_LIB works (bug 508).
4453 o Testparm output fixes for clarity.
4454 o Fix broken wins hook functionality -- i18n bug (bug 528).
4455 o Take care of condition where DOS and NT error codes must differ.
4456 o Default to using only built-in charsets when a working iconv
4457 implementation cannot be located.
4458 o Wrap internals of sys_setgroups() so the sys_XX() call can
4459 be done unconditionally (bug 550).
4460 o Remove duplicate smbspool link on SWAT's front page (bug 541).
4461 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
4462 --enable-debug=[yes|no] works correctly.
4463 o Allow ^C to interrupt smbpasswd if using our getpass
4464 (e.g. smbpasswd command).
4465 o Support signing only on RPC's (bug 167).
4466 o Correct bug that prevented Excel 2000 clients from opening
4467 files marked as read-only.
4468 o Portability fix bugs 546 - 549).
4469 o Explicitly initialize the value of AR for vendor makes that don't
4470 do this (e.g. HPUX 11). (bug 552).
4471 o More i18n fixes for SWAT (bug 413).
4472 o Change the cwd before the postexec script to ensure that a
4473 umount will succeed.
4474 o Correct double free that caused winbindd to crash when a DC
4475 is rebooted (bug 437).
4476 o Fix incorrect mode sum (bug 562).
4477 o Canonicalize SMB_INFO_ALLOCATION in the same was as
4478 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4479 o Add script to generate *msg files.
4480 o Add Dutch SWAT translation file.
4481 o Make sure to call get_user_groups() with the full winbindd
4482 name for a user if he/she has one (bug 406).
4483 o Fix up error code returns from Samba4 tester. Ensure invalid
4484 paths are validated the same way.
4485 o Allow Samba3 to pass the Samba4 RAW-READ tests.
4486 o Refuse to configure if --with-expsam=$BACKEND was used but no
4487 libraries were found for $BACKEND.
4488 o Move sysquotas autoconf tests to a separate file.
4489 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
4491 o Make sure that the files that contain the static_init_$subsystem;
4492 macro get recompiled after configure by removing the object
4494 o Ensure canceling a blocking lock returns the correct error
4496 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4497 o Updated Japanese welcome file in SWAT.
4498 o Fix to nt-time <-> unix-time functions reversible.
4499 o Ensure that winbindd uses the the escaped DN when querying
4501 o Fix portability issues when compiling (bug 505, 550)
4502 o Compile fix for tdbbackup when Samba needs to override
4503 non-C99 compliant implementations of snprintf().
4504 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4505 o Make sure we break out of samsync loop on error.
4506 o Ensure error code path doesn't free unmalloc()'d memory
4508 o Add configure test for krb5_keytab_entry keyblock vs key
4511 o Modified testparm so that all output so all debug output goes
4512 to stderr, and all file processing goes to stdout.
4513 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
4515 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
4516 we have a devmode before copying a string to the devicename.
4517 o Support mapping REALM.COM\user to a local user account (without
4518 running winbindd) for compatibility with 2.2.x release.
4519 o Ensure we don't use mmap() on blacklisted systems.
4520 o fixed a number of bugs and memory leaks in the AIX
4522 o Call initgroups() in SWAT before becomming the user so that
4523 secondary group permissions can be used when writing to
4525 o Fix signing problems when reverse connecting back to a
4526 client for printer notify
4527 o Fix signing problems caused by a miss-sequence bug.
4528 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4529 Fixes NEXUS tools running on Win9x clients (bug 64).
4530 o Don't leave the domain field uninitialized in cli_lsa.c if some
4531 SID could not be mapped.
4532 o Fix segfault in mount.cifs helper when there is no options
4533 specified during mount.
4534 o Change the \n after the password prompt to go to tty instead
4535 of stdout (bug 668).
4536 o Stop net -P from prompting for machine account password (bug 451).
4537 o Change in behavior to Not only change the effective uid but also
4538 the real uid when becoming unprivileged.
4539 o Cope with Exchange 5.5 cleartext pop password auth.
4540 o New files for support of initshutdown pipe. Win2k doesn't
4541 respond properly to all requests on the winreg pipe, so we need
4542 to handle this new pipe (bug 534).
4543 o Added more va_copy() checks in configure.in.
4544 o Include fixes for libsmbclient build problems.
4545 o Missing UNIX -> DOS codepage conversion in lanman.c.
4546 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
4547 o Parameterize the listen backlog in smbd and make it larger by
4548 default. A backlog of 5 is way too small these days.
4549 o Check for an invalid fid before dereferencing the fsp pointer
4551 o Remove invalid memory frees and return codes in pdb_ldap.c.
4552 o Prompt for password when invoking --set-auth-user and no
4554 o Bind the nmbd sending socket to the 'socket address'.
4555 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
4556 $LDFLAGS occurs before any library specification (bug 661).
4557 o Fix large number of printf() calls for 64-bit size_t.
4558 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
4559 keyblock in the krb5 structs.
4560 o Remove #include <compat.h> in hopes to avoid problems with
4561 apache header files.
4562 o Correct winbindd build problems on HP-UX 11.
4563 o Lowercase netgroups lookups (bug 703).
4564 o Use the actual size of the buffer in strftime instead of a made
4565 up value which just happens to be less than sizeof(fstring).
4567 o Add ldaplibs to pdbedit link line (bug 651).
4568 o Fix crash bug in smbclient completion (bug 659).
4569 o Fix packet length for browse list reply (bug 771).
4570 o Fix coredump in cli_get_backup_list().
4571 o Make sure that we expand %N (bug 612).
4572 o Allow rpcclient adddriver command to specify printer driver
4574 o Compile tdbdump by default.
4575 o Apply patches to fix iconv detection for FreeBSD.
4576 o Do not allow the 'guest account' to be added to a passdb backend
4577 using smbpasswd or pdbedit (bug 624).
4578 o Save LDFLAGS during iconv detection (bug 57).
4579 o Run krb5 logins through the username map if the winbindd
4580 lookup fails (bug 698).
4581 o Add const for lp_set_name_resolve_order() to avoid compiler
4583 o Add support for the %i macro in smb.conf to stand in for the for
4584 the local IP address to which a client connected.
4585 o Allow winbindd to match local accounts to domain SID when
4586 'winbind trusted domains only = yes' (bug 680).
4587 o Remove code in idmap_ldap that searches the user suffix and group
4588 suffix. It's not needed and provides inconsistent functionality
4589 from the tdb backend.
4590 o Patch to handle munged dial string for Windows 2000 TSE.
4591 Thanks to Gaz de France, Direction de la Recherche, Service
4592 Informatique Métier for their supporting this work by Aurelien
4593 Degrémont <adegremont@idealx.com>.
4594 o Correct the "smbldap_open: cannot access when not root error"
4595 messages when looking up group information (bug 281).
4596 o Skip over the winbind separator when looking up a user.
4597 This fixes the bug that prevented local users from
4598 matching an AD user when not running winbindd (bug 698).
4599 o Fix a problem with configure on *BSD systems. Make sure
4600 we add -liconv etc to LDFLAGS.
4601 o Fix core dump bug when "security = server" and the authentication
4603 o Correct crash bug due to an empty munged dial string.
4604 o Show files locked by a specific user (smbstatus -u 'user')
4606 o Fix bug preventing print jobs from display in the queue
4607 monitor used by Windows NT and later clients (bug 660).
4608 o Fix several reported problems with point-n-print from
4609 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4610 reply (bug 338, 527 & 643).
4611 o Fix a handful of potential memory leaks in the LDAP code used
4612 by ldapsam[_compat] and the LDAP idmap backend.
4613 o Fix for pdbedit error code returns (bug 763).
4614 o Make sure we only enumerate group mapping entries (not
4615 /etc/group) even when doing local aliases.
4616 o Relax check on the pipe name in a dce/rpc bind response to work
4617 around issues with establishing trusts to a Windows 2003 domain.
4618 o Ensure we mangle names ending in '.' in hash2 mangling method.
4619 o Correct parsing issues with munged dial string.
4620 o Fix bugs in quota support for XFS.
4621 o Add a cleaner method for applications that need to provide
4622 name->SID mappings to do this via NSS rather than having to
4623 know the winbindd pipe protocol.
4624 o Adds a variant of the winbindd_getgroups() call called
4625 winbindd_getusersids() that provides direct SID->SIDs listing of
4626 a users supplementary groups. This is enough to allow non-Samba
4627 applications to do ACL checking.
4628 o Make sure we don't append the 'ldap suffix' when writing out the
4629 'ldap XXX suffix' values in SWAT (bug 328).
4630 o Fix renames across file systems.
4631 o Ensure that items in a list of strings containing whitespace are
4632 written out surrounded by single quotes. This means that both
4633 double and single quotes are now used to surround strings in
4635 o Enable SWAT to correctly determine if winbindd is running (bug
4637 o Include WWW-Authenticate field in 401 response for bad auth
4639 o Add support for NTLM2 (NTLMv2 session security).
4640 o Add support for variable-length session keys.
4641 o More privilege fixes for group enumeration in LDAP (bug 281).
4642 o Use the dns name (or IP) as the originating client name when
4643 using CUPS (bug 467).
4644 o Fix various SMB signing bugs.
4645 o Fix ACL propagation on a DFS root (bug 263).
4646 o Disable NTLM2 for RPC pipes.
4647 o Allow the client to specify the NTLM2 flags got NTLMSSP
4649 o Change the name of the job passed off to cups from "Test Page"
4650 to "smbprn.00000033 Test Page" so that we can get the smb
4651 jobid back. This allow users to delete jobs with cups printing
4652 backend (partial work on bug 770).
4653 o Fix build of winbindd with static pdb modules.
4654 o Retrieve the correct ACL group bits if the file has an ACL
4656 o Implement "net rpc group members": Get members of a domain group
4657 in human-readable format.
4658 o Add MacOSX (Darwin) specific charset module code.
4659 o Use samr_dispinfo(level == 1) for enumerating domain users so we
4660 can include the full name in gecos field (bug 587).
4661 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4662 o Implement 'net rpc group list [global|local|builtin]*' for a
4663 select listing of the respective user databases.
4664 o Don't automatically set NT status code flag unless client tells
4666 o Add 'net status [sessions|shares] [parseable]'.
4667 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
4669 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
4671 o Fix inverted logic in hosts allow/deny checks caused by
4672 s/strcmp/strequal/ (bug 846).
4673 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4674 o Fix typo in 'hash' mangling algorithm.
4675 o Support munged dial for ldapsam (bug 800).
4676 o Fix process_incoming_data() to return the number of bytes handled
4677 this call whether we have a complete PDU or not; fixes bug
4678 with multiple PDU request rpc's broken over SMBwriteX calls
4680 o Fix incorrect smb flags2 for connections to pre-NT servers
4681 (causes smbclient to fail to OS2 for example) (bug 821).
4682 o Update version string in smbldap-tools Makefile to 0.8.2.
4683 o Correct a problem with "net rpc vampire" mis-parsing the
4684 alias member info reply.
4685 o Ensure the ${libdir} is created by the installclientlib script.
4686 o Fix detection of Windows 2003 client architecture in the smb.conf
4688 o Ensure that smbd calls the add user script for a missing UNIX
4689 user on kerberos auth call (bug 445).
4690 o Fix bugs in hosts allow/deny when using a mismatched
4691 network/netmask pair.
4692 o Protect alloc_sub_basic() from crashing when the source string
4693 is NULL (partial work on bug 687).
4694 o Fix spinlocks on IRIX.
4695 o Corrected some bad destination paths when running "configure
4697 o Add packaging files for Fedora Core 1.
4698 o Correct bug in SWAT install script for non-english languages.
4699 o Support character set ISO-8859-1 internally (bug 558).
4700 o Fixed more LDAP access errors when looking up group mappings
4702 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
4703 resolution to fail on local files on on domain members
4705 o Fix uninitialized variable in passdb.c.
4706 o Fix formal parameter type in get_static() in nsswitch/wins.c.
4707 o Fix problem mounting directories when mount.cifs is installed
4708 with the setuid bit on.
4709 o Fix bug that prevent --mandir from overriding the defaults
4710 given in the --with-fhs macro.
4711 o Fix bug in in-memory Kerberos keytab detection routines
4716 ######################################################################
4718 The original 3.0.0 release notes follow
4719 =======================================
4720 WHATS NEW IN Samba 3.0.0
4722 =======================================
4728 1) Active Directory support. Samba 3.0 is now able to
4729 join a ADS realm as a member server and authenticate
4730 users using LDAP/Kerberos.
4732 2) Unicode support. Samba will now negotiate UNICODE on the wire
4733 and internally there is now a much better infrastructure for
4734 multi-byte and UNICODE character sets.
4736 3) New authentication system. The internal authentication system
4737 has been almost completely rewritten. Most of the changes are
4738 internal, but the new auth system is also very configurable.
4740 4) New default filename mangling system.
4742 5) A new "net" command has been added. It is somewhat similar to
4743 the "net" command in windows. Eventually we plan to replace
4744 numerous other utilities (such as smbpasswd) with subcommands
4747 6) Samba now negotiates NT-style status32 codes on the wire. This
4748 improves error handling a lot.
4750 7) Better Windows 2000/XP/2003 printing support including publishing
4751 printer attributes in active directory.
4753 8) New loadable module support for passdb backends and character
4756 9) New default dual-daemon winbindd support for better performance.
4758 10) Support for migrating from a Windows NT 4.0 domain to a Samba
4759 domain and maintaining user, group and domain SIDs.
4761 11) Support for establishing trust relationships with Windows NT 4.0
4764 12) Initial support for a distributed Winbind architecture using
4765 an LDAP directory for storing SID to uid/gid mappings.
4767 13) Major updates to the Samba documentation tree.
4769 14) Full support for client and server SMB signing to ensure
4770 compatibility with default Windows 2003 security settings.
4772 15) Improvement of ACL mapping features based on code donated by
4773 Andreas Grünbacher.
4776 Plus lots of other improvements!
4779 Additional Documentation
4780 ------------------------
4782 Please refer to Samba documentation tree (included in the docs/
4783 subdirectory) for extensive explanations of installing, configuring
4784 and maintaining Samba 3.0 servers and clients. It is advised to
4785 begin with the Samba-HOWTO-Collection for overviews and specific
4786 tasks (the current book is up to approximately 400 pages) and to
4787 refer to the various man pages for information on individual options.
4789 We are very glad to be able to include the second edition of
4790 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4791 (O'Reilly & Associates) in this release. The book is available
4792 on-line at http://samba.org/samba/docs/ and is included with
4793 the Samba Web Administration Tool (SWAT). Thanks to the authors and
4794 publisher for making "Using Samba" under the GNU Free Documentation
4798 ######################################################################
4799 Upgrading from a previous Samba 3.0 beta
4800 ########################################
4802 Beginning with Samba 3.0.0beta3, the RID allocation functions
4803 have been moved into winbindd. Previously these were handled
4804 by each passdb backend. This means that winbindd must be running
4805 to automatically allocate RIDs for users and/or groups. Otherwise,
4806 smbd will use the 2.2 algorithm for generating new RIDs.
4808 If you are using 'passdb backend = tdbsam' with a previous Samba
4809 3.0 beta release (or possibly alpha), it may be necessary to
4810 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4811 to winbindd_idmap.tdb. To do this:
4813 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
4815 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
4817 3) run: (note that 'tdb>' is the tool's prompt for input)
4819 root# ./tdbtool /usr/local/samba/private/passdb.tdb
4820 tdb> show RID_COUNTER
4824 [000] 0A 52 00 00 .R.
4826 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
4830 If you are using 'passdb backend = ldapsam', it will be necessary to
4831 store idmap entries in the LDAP directory as well (i.e. idmap backend
4832 = ldap). Refer to the 'net idmap' command for more information on
4833 migrating SID<->UNIX id mappings from one backend to another.
4835 If the RID_COUNTER record does not exist, then these instructions are
4836 unneccessary and the new RID_COUNTER record will be correctly generated
4841 ########################
4842 Upgrading from Samba 2.2
4843 ########################
4845 This section is provided to help administrators understand the details
4846 involved with upgrading a Samba 2.2 server to Samba 3.0.
4852 Many of the options to the GNU autoconf script have been modified
4853 in the 3.0 release. The most noticeable are:
4855 * removal of --with-tdbsam (is now included by default; see section
4856 on passdb backends and authentication for more details)
4858 * --with-ldapsam is now on used to provided backward compatible
4859 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
4860 backend and authentication section for more details
4862 * inclusion of non-standard passdb modules may be enabled using
4863 --with-expsam. This includes an XML backend and a mysql backend.
4865 * removal of --with-msdfs (is now enabled by default)
4867 * removal of --with-ssl (no longer supported)
4869 * --with-utmp now defaults to 'yes' on supported systems
4871 * --with-sendfile-support is now enabled by default on supported
4878 This section contains a brief listing of changes to smb.conf options
4879 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
4880 complete descriptions of new or modified parameters.
4882 Removed Parameters (order alphabetically):
4885 * alternate permissions
4888 * code page directory
4890 * domain admin group
4891 * domain guest group
4892 * force unknown acl user
4898 * printer driver file
4899 * printer driver location
4901 * source environment
4909 New Parameters (new parameters have been grouped by function):
4913 * abort shutdown script
4916 User and Group Account Management
4917 ---------------------------------
4919 * add machine script
4920 * add user to group script
4921 * algorithmic rid base
4922 * delete group script
4923 * delete user from group script
4925 * set primary group script
4931 * passwd chat timeout
4935 * client lanman auth
4936 * client NTLMv2 auth
4942 * paranoid server security
4951 * hide special files
4952 * hide unwriteable files
4954 * kernel change notify
4964 * max reported print jobs
4966 UNICODE and Character Sets
4967 --------------------------
4973 SID to uid/gid Mappings
4974 -----------------------
4978 * winbind enable local accounts
4979 * winbind trusted domains only
4980 * template primary group
4981 * enable rid algorithm
4988 * ldap machine suffix
4990 * ldap replication sleep
4993 General Configuration
4994 ---------------------
4998 Modified Parameters (changes in behavior):
5000 * encrypt passwords (enabled by default)
5001 * mangling method (set to 'hash2' by default)
5004 * restrict anonymous (integer value)
5005 * security (new 'ads' value)
5006 * strict locking (enabled by default)
5007 * unix extensions (enabled by default)
5008 * winbind cache time (increased to 5 minutes)
5009 * winbind uid (deprecated in favor of 'idmap uid')
5010 * winbind gid (deprecated in favor of 'idmap gid')
5016 This section contains brief descriptions of any new databases
5017 introduced in Samba 3.0. Please remember to backup your existing
5018 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
5019 upgrade databases as they are opened (if necessary), but downgrading
5020 from 3.0 to 2.2 is an unsupported path.
5022 Name Description Backup?
5023 ---- ----------- -------
5024 account_policy User policy settings yes
5025 gencache Generic caching db no
5026 group_mapping Mapping table from Windows yes
5027 groups/SID to unix groups
5028 winbindd_idmap ID map table from SIDS to UNIX yes
5030 namecache Name resolution cache entries no
5031 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
5032 returned as part of a successful
5033 net_sam_logon request
5034 printing/*.tdb Cached output from 'lpq no
5035 command' created on a per print
5037 registry Read-only samba registry skeleton no
5038 that provides support for exporting
5039 various db tables via the winreg RPCs
5045 The following issues are known changes in behavior between Samba 2.2 and
5046 Samba 3.0 that may affect certain installations of Samba.
5048 1) When operating as a member of a Windows domain, Samba 2.2 would
5049 map any users authenticated by the remote DC to the 'guest account'
5050 if a uid could not be obtained via the getpwnam() call. Samba 3.0
5051 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
5052 current work around to re-establish the 2.2 behavior.
5054 2) When adding machines to a Samba 2.2 controlled domain, the
5055 'add user script' was used to create the UNIX identity of the
5056 machine trust account. Samba 3.0 introduces a new 'add machine
5057 script' that must be specified for this purpose. Samba 3.0 will
5058 not fall back to using the 'add user script' in the absence of
5059 an 'add machine script'
5062 ######################################################################
5063 Passdb Backends and Authentication
5064 ##################################
5066 There have been a few new changes that Samba administrators should be
5067 aware of when moving to Samba 3.0.
5069 1) encrypted passwords have been enabled by default in order to
5070 inter-operate better with out-of-the-box Windows client
5071 installations. This does mean that either (a) a samba account
5072 must be created for each user, or (b) 'encrypt passwords = no'
5073 must be explicitly defined in smb.conf.
5075 2) Inclusion of new 'security = ads' option for integration
5076 with an Active Directory domain using the native Windows
5077 Kerberos 5 and LDAP protocols.
5079 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
5080 type which is neccessary for servers on which the
5081 administrator password has not been changed, or kerberos-enabled
5082 SMB connections to servers that require Kerberos SMB signing.
5083 Besides this one difference, either MIT or Heimdal Kerberos
5084 distributions are usable by Samba 3.0.
5087 Samba 3.0 also includes the possibility of setting up chains
5088 of authentication methods (auth methods) and account storage
5089 backends (passdb backend). Please refer to the smb.conf(5)
5090 man page for details. While both parameters assume sane default
5091 values, it is likely that you will need to understand what the
5092 values actually mean in order to ensure Samba operates correctly.
5094 The recommended passdb backends at this time are
5096 * smbpasswd - 2.2 compatible flat file format
5097 * tdbsam - attribute rich database intended as an smbpasswd
5098 replacement for stand alone servers
5099 * ldapsam - attribute rich account storage and retrieval
5100 backend utilizing an LDAP directory.
5101 * ldapsam_compat - a 2.2 backward compatible LDAP account
5104 Certain functions of the smbpasswd(8) tool have been split between the
5105 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
5106 utility. See the respective man pages for details.
5109 ######################################################################
5113 This section outlines the new features affecting Samba / LDAP
5119 A new object class (sambaSamAccount) has been introduced to replace
5120 the old sambaAccount. This change aids us in the renaming of
5121 attributes to prevent clashes with attributes from other vendors.
5122 There is a conversion script (examples/LDAP/convertSambaAccount) to
5123 modify and LDIF file to the new schema.
5127 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5128 $ convertSambaAccount --sid=<Domain SID> \
5129 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5130 --changetype=[modify|add]
5132 The <DOM SID> can be obtained by running 'net getlocalsid
5133 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
5134 the format of the generated LDIF output--either create new entries
5135 or modify existing entries.
5137 The old sambaAccount schema may still be used by specifying the
5138 "ldapsam_compat" passdb backend. However, the sambaAccount and
5139 associated attributes have been moved to the historical section of
5140 the schema file and must be uncommented before use if needed.
5141 The 2.2 object class declaration for a sambaAccount has not changed
5142 in the 3.0 samba.schema file.
5144 Other new object classes and their uses include:
5146 * sambaDomain - domain information used to allocate rids
5147 for users and groups as necessary. The attributes are added
5148 in 'ldap suffix' directory entry automatically if
5149 an idmap uid/gid range has been set and the 'ldapsam'
5150 passdb backend has been selected.
5152 * sambaGroupMapping - an object representing the
5153 relationship between a posixGroup and a Windows
5154 group/SID. These entries are stored in the 'ldap
5155 group suffix' and managed by the 'net groupmap' command.
5157 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
5158 automatically and contains the next available 'idmap uid' and
5161 * sambaIdmapEntry - object storing a mapping between a
5162 SID and a UNIX uid/gid. These objects are created by the
5163 idmap_ldap module as needed.
5165 * sambaSidEntry - object representing a SID alone, as a Structural
5166 class on which to build the sambaIdmapEntry.
5169 New Suffix for Searching
5170 ------------------------
5172 The following new smb.conf parameters have been added to aid in directing
5173 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5176 * ldap suffix - used to search for user and computer accounts
5177 * ldap user suffix - used to store user accounts
5178 * ldap machine suffix - used to store machine trust accounts
5179 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
5180 * ldap idmap suffix - location of sambaIdmapEntry objects
5182 If an 'ldap suffix' is defined, it will be appended to all of the
5183 remaining sub-suffix parameters. In this case, the order of the suffix
5184 listings in smb.conf is important. Always place the 'ldap suffix' first
5187 Due to a limitation in Samba's smb.conf parsing, you should not surround
5188 the DN's with quotation marks.
5194 Samba 3.0 supports an ldap backend for the idmap subsystem. The
5195 following options would inform Samba that the idmap table should be
5196 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5201 idmap backend = ldap:ldap://onterose/
5202 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5203 idmap uid = 40000-50000
5204 idmap gid = 40000-50000
5206 This configuration allows winbind installations on multiple servers to
5207 share a uid/gid number space, thus avoiding the interoperability problems
5208 with NFS that were present in Samba 2.2.
5212 ######################################################################
5213 Trust Relationships and a Samba Domain
5214 ######################################
5216 Samba 3.0.0beta2 is able to utilize winbindd as the means of
5217 allocating uids and gids to trusted users and groups. More
5218 information regarding Samba's support for establishing trust
5219 relationships can be found in the Samba-HOWTO-Collection included
5220 in the docs/ directory of this release.
5222 First create your Samba PDC and ensure that everything is
5223 working correctly before moving on the trusts.
5225 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5226 4.0 domain named WINDOWS:
5228 1) create the trust account for SAMBA in "User Manager for Domains"
5229 2) connect the trust from the Samba domain using
5230 'net rpc trustdom establish GLASS'
5232 To create a trustlationship with SAMBA as the trusted domain:
5234 1) create the initial trust account for GLASS using
5235 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5236 account for GLASS$ prior to this step (depending on your
5237 local configuration).
5238 2) connect the trust from a WINDOWS DC using "User Manager
5241 Now join winbindd on the Samba PDC to the SAMBA domain using
5242 the normal steps for adding a Samba server to an NT4 domain:
5243 (note that smbd & nmbd must be running at this point)
5245 root# net rpc join -U root
5246 Password: <enter root password from smbpasswd file here>
5248 Start winbindd and test the join with 'wbinfo -t'.
5250 Now test the trust relationship by connecting to the SAMBA DC
5251 (e.g. POGO) as a user from the WINDOWS domain:
5253 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5256 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5258 $ smbclient //crystal/netlogon -U root -W WINDOWS
5261 ######################################################################
5265 Beginning with Samba3.0.0beta3, winbindd has been given new account
5266 manage functionality equivalent to the 'add user script' family of
5267 smb.conf parameters. The idmap design has also been changed to
5268 centralize control of foreign SID lookups and matching to UNIX
5272 Brief Description of Changes
5273 ----------------------------
5275 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5276 reverted to the 2.2.x design. This means that when resolving a
5277 SID to a UID or similar mapping:
5279 a) First consult winbindd
5280 b) perform a local lookup only if winbindd fails to
5281 return a successful answer
5283 There are some variations to this, but these two rules generally
5286 2) All idmap lookups have been moved into winbindd. This means that
5287 a server must run winbindd (and support NSS) in order to achieve
5288 any mappings of SID to dynamically allocated UNIX ids. This was
5289 a conscious design choice.
5291 3) (OBSOLETE) New functions have been added to winbindd to emulate
5292 the 'add user script' family of smbd functions without requiring
5293 that external scripts be defined. This functionality is controlled
5294 by the 'winbind enable local accounts' smb.conf parameter (enabled
5297 However, this account management functionality is only supported
5298 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5299 must be shared among multiple Samba servers (such as a PDC and BDCs),
5300 it will be necessary to define your own 'add user script', et. al.
5301 programs that place the accounts/groups in some form of directory
5302 such as NIS or LDAP. This requirement was deemed beyond the scope
5303 of winbind's account management functions. Solutions for
5304 distributing UNIX system information have been deployed and tested
5305 for many years. We saw no need to reinvent the wheel.
5307 4) A member of a Samba controlled domain running winbindd is now able
5308 to map domain users directly onto existing UNIX accounts while still
5309 automatically creating accounts for trusted users and groups. This
5310 behavior is controlled by the 'winbind trusted domains only' smb.conf
5311 parameter (disabled by default to provide 2.2.x winbind behavior).
5313 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5314 in smbd/uid.c. The reason that group mappings are not included
5315 in winbindd is because the purpose of Samba's group map is to
5316 match any Windows SID with an existing UNIX group. These UNIX
5317 groups can be created by winbindd (see next section), but the
5318 SID<->gid mapping is retreived by smbd, not winbindd.
5324 * security = server running winbindd to allocate accounts on demand
5326 * Samba PDC running winbindd to handle the automatic creation of UNIX
5327 identities for machine trust accounts
5329 * Automtically creating UNIX user and groups when migrating a Windows NT
5330 4.0 PDC to a Samba PDC. Winbindd must be running when executing
5331 'net rpc vampire' for this to work.
5334 ######################################################################
5338 * There are several bugs currently logged against the 3.0 codebase
5339 that affect the use of NT 4.0 GUI domain management tools when run
5340 against a Samba 3.0 PDC. This bugs should be released in an early
5343 Please refer to https://bugzilla.samba.org/ for a current list of bugs
5344 filed against the Samba 3.0 codebase.
5347 ######################################################################
5348 Reporting bugs & Development Discussion
5349 #######################################
5351 Please discuss this release on the samba-technical mailing list or by
5352 joining the #samba-technical IRC channel on irc.freenode.net.
5354 If you do report problems then please try to send high quality
5355 feedback. If you don't provide vital information to help us track down
5356 the problem then you will probably be ignored.
5358 A new bugzilla installation has been established to help support the
5359 Samba 3.0 community of users. This server, located at
5360 https://bugzilla.samba.org/, has replaced the older jitterbug server
5361 previously located at http://bugs.samba.org/.