1 =================================
2 Release Notes for Samba 3.0.21rc1
4 =================================
6 This is a release candidate of the 3.0.21 code base and is provided
7 for testing purposes only. While close to the final stable release,
8 this snapshot is *not* intended for production servers.
10 Common bugs fixed in 3.0.21rc1 include:
12 o Portability and crash bugs.
13 o Performance issues in winbindd.
15 New features introduced in Samba 3.0.21rc1 include:
17 o Performance Counter external daemon.
18 o Winbindd auto-detection query methods when communicating with
22 ######################################################################
32 dfree command Per share
35 Changes since 3.0.21pre1
36 ------------------------
41 o Jeremy Allison <jra@samba.org>
42 * BUG 3192: Adds a "dfree cache time" parameter.
43 * Fix acl evaluation bug found by Marc Cousin. Only evaluate
44 the S_IWGRP mask in the absence of a POSIX ACL.
45 * Remove use of 'long long' in libsmbclient code.
46 * Ensure the new canonicalize_servicename() in name/snum hash
48 * BUG 2922: Integration of FreeBSD AIO patches from Timur
50 * BUG 3216: Put directory opens into the share mode db so we
51 can treat them similarly to file opens (delete on close,
52 share mode violations etc.).
53 * Fix bug in name mangling code when case sensitivity is enabled.
54 * Remove external dependencies from the sharemodes library.
55 * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
56 * Don't misinterpret wild card characters in file names on disk
57 as they are actually valid characters.
58 * BUG 3223: Fix bug in account policy management when
59 account_pol.tdb settings have been migrating to an LDAP
61 * Allow the hash size of the tdb open (locking) database to be
63 * Fix error code returns on client spoolss code.
64 * Remove unneeded strncpy use.
65 * Fix uninitialized variables warnings.
66 * Cleanup smbcacls security descriptor parsing and error codes.
67 * BUG 3224: Correctly use machine_account_name and client_name
68 when doing netlogon credential setup. Fixes winbindd running
70 * Backport Samba 4 time zone handling.
71 * Fix core dump if setmntent() returns NULL.
72 * Replace old crc32 code with one from the FreeBSD tree.
75 o Andrew Bartlett <abartlet@samba.org>
76 * Remove another ancient NTLMSSP implementation.
77 * Allow machine account logons work if the client gives the
81 o Alexander Bokovoy <ab@samba.org>
82 * Add POSIX statvfs() to VFS api.
85 o Gerald (Jerry) Carter <jerry@samba.org>
86 * Fix linking problem on Solaris when including ACL support.
87 * Give root a free pass to open the eventlog tdb files.
88 * Fix segfault in addprinter due to mixing talloc() and
90 * fix invalid read reported by valgrind in the spoolss
91 backchannel connection.
92 * Remove use of 'long long' in perfcounter registry code.
93 * BUG 3201: make sure request structure is cleared prior to
94 sending the request to winbindd.
95 * Don't count open pipes in the num_files_open on a connection
96 (regression from Samba 2.2).
97 * Ensure servername hashing code normalizes the name.
98 * Fix checks for connect() in -lnsl[_s].
99 * Convert eventlog API to use NTSTATUS return codes rather
101 * Fix segv in winbindd caused by an uninitialized variable
102 in winbindd_dual_getsidaliases().
103 * Allow winbindd to select the appropriate backend methods
104 based on the DC attributes and not the security parameter.
105 * Re-add the netsamlogon_cache tdb and ensure that user entries
106 are updated from the PAC data during kerberos ticket
108 * Fix lockup when running 'wbinfo -t' on a Samba PDC caused
109 by mangling machine names in sub_set_smb_name().
112 o Guenther Deschner <gd@samba.org>
113 * Add small helper function to return a PAC_LOGON_INFO.
114 * Use LDAP bitwise matching rule when searching for groups
118 o Paul Green <paulg@samba.org>
119 * Update to the latest config.guess and config.sub files.
122 o Volker Lendecke <vl@samba.org>
123 * Fix an annoying timeout in winbindd when nmbd is not running.
124 * Speed up loading smb.conf for large numbers of share
125 definitions by adding an internal hashing of names to snums.
126 Thanks to Michael Adam.
127 * Fix potential segv in rpcclient's lsarpc calls.
128 * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
129 * Fix alignment in getdc response.
130 * Allow pdbedit to set the domain for a user account.
131 * Fix fallback logic in rpc binds.
132 * Fix memleak in message handling code.
133 * Fix connection bug to port 445 and 139 after a successful
135 * Add additional calls to initialize_krb5_error_table() for
136 kerberos client code.
137 * Implement the possibility to have AFS users as SIDs in pts.
140 o Derrell Lipman <derrell@samba.org>
141 * Cleanup libmsrpc version numbers.
144 o Alex Masterov <alex@infobit.ru>
145 * BUG 3218: Fix XATTR calls on *BSD systems.
148 o Jim McDonough <jmcd@us.ibm.com>
149 * Speed up string_to_sid by removing next_token calls and
150 unneeded strncmp() calls.
151 * Implement user rename for smbpasswd and LDAP backends.
154 o Stefan Metzmacher <metze@samba.org>
155 * Use lp_socket_address() when binding to port 138/udp in nmbd.
158 o Brian Moran <bmoran@centeris.com>
159 * Fix typo when creating Eventlog source DLL registry paths.
160 * Add simple script to tail syslog and write records to
164 o Lars Müller <lmuelle@samba.org>
165 * Only install smbsh manpage if smbwrapper has been successfully
169 o Ricky Nance <ricky.nance@gmail.com>
170 * Updates for the mklogon perl scripts.
173 o Chris Nicholls <skel@samba.org>
174 * Fix libmsrpc build of on the Sun compiler by removing empty
175 structure declarations.
178 o Marcin Porwit <mporwit@centeris.com>
179 * Added basic Performance Counter daemon which can feed data
180 for the Windows perfmon.exe tool.
183 o Simo Sorce <idra@samba.org>
184 * Update Debian packaging.
188 Release Notes for older release follow:
190 --------------------------------------------------
192 ==================================
193 Release Notes for Samba 3.0.21pre1
195 ==================================
198 Common bugs fixed in 3.0.21pre1 include:
200 o Missing groups in a user's token when logging in via kerberos
201 o Incompatibilities with newer MS Windows hotfixes and
202 embedded OS platforms
204 New features introduced in Samba 3.0.21pre1 include:
206 o Complete NTLMv2 support by consolidating authentication
207 mechanism used at the CIFS and RPC layers.
208 o The capability to manage Unix services using the Win32
210 o The capability to view external Unix log files via the
211 Microsoft Event Viewer.
212 o New libmsrpc share library for application developers.
213 o Rewrite of CIFS oplock implementation.
216 ######################################################################
223 Parameter Name Action
224 -------------- ------
228 rename user script New
229 svcctl list Renamed from 'enable svcctl'
232 Changes since 3.0.20[a-b]
233 -------------------------
238 o Jeremy Allison <jra@samba.org>
239 * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
240 * Added 'map readonly' parameter.
241 * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
243 * Maintain schannel client session keys in volatile
244 $(privatedir)/schannel_store.tdb.
245 * BUG 2769: Ensure we mangle filenames ending in a space
246 * Catch corner case of renaming a symlinked directory into
248 * Ensure that smb.conf requests for hidden files are honored,
249 even when DOS attributes are stored in EA's
250 * Add new auth method "auth_script" for calling an external
252 * BUG 2152: Fix for mangled filenames when the client does
253 support long filenames
254 * Rewritten implementation of client and server DCE/RPC infrastructure
257 o Gerald (Jerry) Carter <jerry@samba.org>
258 * Eventlog and ServiceControl support.
259 * BUG 1051: store the directory path so we can send the full
260 name in the unlink call from smbclient.
261 * Use reference count strategy for keeping the registry tdb
263 * Convert internal registry objects to new hierarchical talloc
264 * Allow the root user a free pass for access checks in the
265 registry and service control checks.
266 * Sanity checks in the privilege code to prevent empty SID
268 * Add basic infrastructure for 'make test' when the socket
269 wrapper library is configured at compile time
270 * Convert profiles utility to use the current regfio interface
271 for reading and writing user profiles
272 * Remove netsamlogon_cache interface
273 * Ensure that print jobs are removed even when the cancel
274 command is received before the print cache has been updated
277 o Guenther Deschner <gd@samba.org>
278 * Fixed compile problems and warnings with newer OpenLDAP
280 * Fix bug when enumerating trusted domains via 'wbinfo -m'
281 * Parse the MS Kerberos PAC to obtain the user group
282 membership during logon.
283 * Add support for SeRestorePrivilege to allow a process to
284 change the ownership of a file to any arbitrary account
285 * Fix password history storage when using Novell eDirectory for
287 * Backport Kerberos PAC parsing from Samba 4 branch in order to
288 correctly create the NT User Token when logging into a Samba
292 o Deryck Hodge <deryck@samba.org>
293 * Allow control of syslog facility and level in audit vfs modules.
296 o S Murthy Kambhampaty <smk_va@yahoo.com>
297 * Patches for Fedora RPM specfile and init script
300 o Volker Lendecke <vl@samba.org>
301 * New oplock implementation.
302 * Add assert() call if winbindd cannot locate the domain SID in
303 secrets.tdb on startup
306 o Jason Mader <jason@ncac.gwu.edu>
307 * Removed compiler various warnings.
310 o Jim McDonough <jmcd@us.ibm.com>
311 * BUG 2961 (partial): Add rename support for user accounts to tdbsam
314 o Stefan Metzmacher <metze@samba.org>
315 * Fix setting of quotas on linux kernel with the struct
317 * Enable sysquota interfact on Linux by default
320 o Brian Moran <bmoran@centeris.com>
321 * Eventlog and ServiceControl support.
322 * Added eventlogadm tool for writing Eventlog records.
325 o Chris Nicholls <skel@samba.org>
326 * New libmsrpc library (Google SoC Project).
329 o James Peach <jpeach@sgi.com>
330 * Fix parsing error for smb ports parameter.
333 o Marcin Porwit <mporwit@centeris.com>
334 * Eventlog and ServiceControl support.
337 o Joel Smith <joel.j.smith@novell.com>
338 * Add iPrint printing backend support.
341 o Toomas Soome <Toomas.Soome@mls.ee>
342 * Implement host lookups in nss_winbind.so.1 on Solaris
345 --------------------------------------------------
346 ===============================
347 Release Notes for Samba 3.0.20b
349 ===============================
351 Common bugs fixed in 3.0.20b include:
353 o A crash bug in winbindd
354 o Reporting files as read-only instead of returning the
355 correct error code of "access denied"
356 o File system quota support defects
359 ######################################################################
364 Changes since 3.0.20a
365 ---------------------
370 o Jeremy Allison <jra@samba.org>
371 * BUG 3088: Fix error condition for files on a read-write share
372 which cannot be read due to permissions.
375 o Gerald (Jerry) Carter <jerry@samba.org>
376 * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota
378 * BUG 1473, 3090: Quota detection and compilation problems on
382 o Marc Balmer <marc@msys.ch>
383 * Build fixes when builddir != srcdir
386 o Alex Deiter <tiamat@komi.mts.ru>
387 * BUG 3145: Fix build issue regarding quota support on Solaris.
390 o Volker Lendecke <vl@samba.org>
391 * BUG 3068: Fix for winbindd crashed by empty DC alternative
395 --------------------------------------------------
396 ===============================
397 Release Notes for Samba 3.0.20a
399 ===============================
401 Common bugs fixed in 3.0.20a include:
403 o Stability problems with winbindd.
404 o Crash bugs caused by incompatibilities on 64-bit systems.
405 o Missing files from directory listings on AIX servers
406 o User Manager interoperability problems.
407 o Minor build difficulties on various platforms such as
411 Winbind, security = domain, and Active Directory
412 ================================================
414 Recent security updates for Windows 2000 and Windows 2003 have
415 changed the fashion in which user and group lists can be obtained
416 from domain controllers. In short, the RPC mechanisms used by
417 "security = domain" to retrieve users and groups is not compatible
418 with these changes. The "security = ads" configuration is not
419 affected by the Windows protocol changes.
421 Samba developers are actively working to correct this problem in
422 the 3.0.21 release. In the meantime, Administrators who are unable
423 to migrate to "security = ads" and must continue using "security =
424 domain", can define credentials to be used by winbindd for account
425 enumeration by executing the following command as root.
427 wbinfo --set-auth-user='DOMAIN\username%password'
431 ######################################################################
442 o Jeremy Allison <jra@samba.org>
443 * BUG 3065: Fix for legacy clients retrieving a listing of
445 * Added external library for accessing Samba's share mode
447 * Fix winbindd credentials chain which caused logon failures
448 after attempting to authenticate an unknown user.
449 * Fix recursive looping bug in winbindd.
450 * Fix build errors on 64-bit systems.
451 * Posix ACL memory leak and crash bug fixes.
452 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
453 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
454 * Hide dot files and directory logic fixes.
455 * Correct display of open file modes by smbstatus.
456 * BUG 3010: Fix missing files bug on AIX systems.
459 o Gerald (Jerry) Carter <jerry@samba.org>
460 * Allow the root user to automatically pass se_access_checks()
461 in the registry and service control server code.
462 * Ensure that winbindd uses the correct name in the net_auth2()
463 request when running on a Samba PDC.
464 * Fix linking problem with tdb utilities.
465 * BUG 3080: Fix regression in 'net rpc shutdown' command.
466 * Fix segv in 'net rpc' when the pipe open fails.
467 * Fix upload bug when installing 64-bit Windows printer drivers.
468 * Fix regression in the smburi syntax used by smbspool.
469 * Fix sorting of subkey hash records in registry files.
470 * Correct REG_CREATE_KEY_EX parsing error.
471 * Interoperability issues with usrmgr.exe and Samba groups.
472 * Use the display names and not the Unix names when enumerating
473 groups in the ldapsam passdb backend.
474 * Ensure that Windows domain user names are converted to lower case.
477 o Guenther Deschner <gd@samba.org>
478 * Prevent BUILTIN sids returned in the user's token from
479 a Windows DC from being applied to any local group mappings
481 * Plug memory leaks in the kerberos keytab code.
482 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
483 backend when 'winbind nested groups' is enabled.
484 * Fix crash bug in winbindd caused by 64-bit build issues.
485 * Improve debug messages in smbspool.
486 * Give better error-message when "NDS Universal Password" change fails.
487 * Fix password history error in the eDirectory schema file.
488 * Ensure that Windows domain group names are converted to lower case.
491 o Steve French <sfrench@us.ibm.com>
492 * Allow disabling mandatory byte range lock mount flag, and fix
493 corresponding entry in mtab.
496 o Volker Lendecke <vl@samba.org>
497 * Fix race condition in the NTcreate&X open code when the
498 disposition is NTCREATEX_DISP_CREATE.
499 * Correct logic error when checking the pid for pending print
500 change notify messages.
501 * Ensure that winbindd child process complete startup even when
502 the parent is receiving authentication requests.
503 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
504 when authentication fails.
507 o Jason Mader <jason@ncac.gwu.edu>
508 * Compile warning fixes.
511 o Uli Meis <a.sporto@gmail.com>
512 * Patches for pdb_*sql.c
515 o Luke Mewburn <lukem@NetBSD.org>
516 * Autoconf syntax fixes.
519 o James Peach <jpeach@sgi.com>
520 * Correct problem with creating a core file in Linux.
523 o Stefan Metzmacher <metze@samba.org>
524 * Quota fixes in smbd.
527 o Peter Rindfuss <rindfuss@wz-berlin.de>
528 * Patches for pdb_*sql.c
531 o Jiri Sasek <Jiri.Sasek@Sun.COM>
532 * Solaris toolchain patches for autoconf scripts.
535 o Andrew Tridgell <tridge@samba.org>
536 * Fix for tdb clear-if-first race condition.
539 o Leo Weppelman <leo@wau.mis.ah.nl>
540 * BUG 3104: Don't allow time updates to files on read-only shares.
543 o Steve Williams <steve@celineandsteve.com>
544 * BUG 3052: Fix compile issues on OpenBSD.
547 --------------------------------------------------
548 ==============================
549 Release Notes for Samba 3.0.20
551 ==============================
553 Additional features introduced in Samba 3.0.20 include:
555 o Support for several new Win32 rpc pipes.
556 o Improved support for OS/2 clients.
557 o New 'net rpc service' tool for managing Win32 services.
558 o Capability to set the owner on new files and directory
559 based on the parent's ownership.
560 o Experimental, asynchronous IO file serving support.
561 o Completed Support for Microsoft Print Migrator.
562 o New Winbind IDmap plugin (ad) for retrieving uid and gid
563 from AD servers which maintain the SFU user and group
565 o Rewritten support for POSIX pathnames when utilizing
566 the Linux CIFS fs client.
567 o New asynchronous winbindd.
568 o Support for Microsoft Print Migrator.
569 o New Windows NT registry file I/O library.
570 o New user right (SeTakeOwnershipPrivilege) added.
571 o New "net share migrate" options.
574 What happened to 3.0.15 - 3.0.19?
575 ==================================
577 After some discussion it was deemed that the amount of changes
578 going into the next Samba 3.0 release needed something to catch
579 people's attention. Skipping several releases was chosen as
580 the best solution with the least overhead. There will be no
581 3.0.15 - 3.0.19 ever released. The next production release
582 following 3.0.20 should be 3.0.21.
584 The original announcement about the version number change can
585 be found in the samba mailing list archives:
587 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
590 Asynchronous Winbind Implementation
591 ===================================
593 Winbindd has been completely rewritten in this release to support
594 an almost completely non-blocking, asynchronous request/reply
595 model. This means that winbindd will scale much better in
596 large domain environments and on high latency networks. Neither
597 the client interface nor the command line tools (i.e. wbinfo) have
598 changed in their calling conventions or syntax. However, due to
599 internal structure changes, it is required (more so than normal)
600 that you install the nss_winbind.so library included in this release.
603 Support for Microsoft Print Migrator
604 ====================================
606 Samba 3.0.20 includes full support for migrating printers from
607 Windows servers or other Samba servers via the Microsoft Print
608 Migrator tool. Restoring printers requires a working "add printer
609 command" defined in smb.conf. Current support also allows
610 administrators to create a master list of printer drivers which
611 can be restored in bulk on new (or existing) Samba installations.
614 Asynchronous IO Support
615 =======================
617 Experimental support for async IO has been added to smbd for
618 certain platforms. To enable this new feature, Samba must be
619 compiled to include the --with-aio-support configure option.
620 In addition, the "aio read size" and "aio write size" to non-zero
621 values. See the smb.conf(5) man page for more details on these
625 ######################################################################
632 Parameter Name Action
633 -------------- ------
634 acl check permissions New
635 acl group control New
636 acl map full control New
639 enable asu support New
642 map to guest Modified (new value added)
643 max stat cache size New
644 min password length Removed
645 printer admin Deprecated
646 username map script New
647 winbind enable local accounts Removed
648 winbindd nss info New
651 Changes since 3.0.14a
652 ---------------------
658 o Jeremy Allison <jra@samba.org>
659 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
660 * Ensure the old SMB search calls always ask mask_match() to
661 translate patterns like ????????.???.
662 * Split out the check_path_syntax() into a findfirst, findnext,
664 * Fix checks for matching groups in an file ACL against the
665 user's primary and supplementary group list.
666 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
667 LANMAN2 protocol, ensure the EA size is always correctly
668 set on a query for a file with no EA's.
669 * BUG 2551: Look at the incoming flags2 flag
670 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
671 uppercased on a SMBsearch request, not the protocol level.
672 * Added "volume" command to smbclient that prints out the
673 volume name and serial number.
674 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
675 * Add support for OS/2 Extended Attributes.
676 * Correctly check OpenX open modes.
677 * Ensure allocation size is correctly returned for OpenX.
678 * Only set allocation on create/truncate for nttrans.
679 * Fix oplock bug in trans2open() code.
680 * Remove unix_ERR_XXX global nastiness.
681 * Only do the strange DOS error for openX, not trans2open.
682 * Ensure SMBopen replies includes the share modes as well as
684 * BUG 2581: Add size limit (in kb) to stat cache.
685 * Fix bug in the trans2 secondary processing.
686 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
687 * Add an SMB counter per connection struct for gathering
689 * BUG 2605: Ensure smbclient doesn't perform commands if
690 the "chdir" fails in a scripted set.
691 * Ensure a 'forced group' is added to the list of effective
692 gids when processing ACLs.
693 * Refactor rpc_bind structures for better future work.
694 * BUG 2942: Add missing value in debug message.
695 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
696 by 'mangling method = hash'.
697 * Fix memory leaks in the msdfs trans2 server code.
698 * Convert msdfs server to be talloc'd based.
699 * Fix up stackable vfs interface.
700 * Fix rpc fault when encountering an unknown rpc_bind auth
702 * BUG 2954: More AIX 5.1 AIO compile fixes.
703 * Fix valgrind bug in interaction with new aio buffer (found
705 * BUG 2878: Fix Norton commander not running on OS/2 clients.
706 * Cleanup SAMR user info structure naming.
707 * BUG 2889: Fix directly listings from OS/2 clients.
708 * Added "acl group control" parameter.
709 * Add debug warning if AddPrinterEx() is called without having
710 an 'add printer command' defined.
711 * Add better log messages when modifying ldap entries.
712 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
713 when string is unaligned.
714 * BUG 2918: Fix SMB chaining by ensuring that deferred open
715 message buffer is nor reused.
716 * Add support for client setting capabilities to select posix
717 pathnames on the wire.
718 * Stop using C++ reserved words so that Samba can be compiled
719 using g++. Also allows VFS modules in C++.
720 * More fixes to allow better large directory scaling.
721 * BUG 2827: Ensure we call the vfs connection hook before
722 doing a vfs stat. Allows database vfs backends to initialize
723 with a working connection.
724 * BUG 2826: Ensure the correct return value for symlink and
726 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
727 * Added AIO support to smbd.
728 * Add "acl map full control", true by default, to allow people
729 to change mapping of rwx to full control or not.
730 * Transition smbd to use NTcreate&X for internal file opens.
731 * Add checks against the current effective group id (e.g. force
732 user) when testing write permissions one ACLs.
733 * Fix FindFirst/FindNext server code when parsing directories
734 on old IRIX XFS file systems (thanks to Cale Fairchild
735 for the debugging help).
736 * BUG 2644: Test for special files to be ignored was reversed.
737 * Ensure yield_connection() is called on all appropriate error
739 * Fix EDEADLCK problem with deferred open calls.
740 * BUG 2622: Remove DPTR_MASK as it makes no sense.
741 * Fix the write cache based on some VERY good detective work
743 * BUG 2346: Fix read-only excel file bugs.
744 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
745 return ENOSYS if not implemented.
746 * Add new CAP for POSIX pathnames.
747 * BUG 2703: Add NULL guard for disp_fields[0].
748 * BUG 2681: With "strict allocate = yes" we now zero fill when
749 a file is extended. Should catch disk full errors on write
751 * Add "acl check permissions" to turn on/off the new
752 behavior of checking for write access in a directory
754 * Refactor printing interface to take offset into job.
755 * Allow mapping of POSIX ACLs to NT perms to differentiate
756 between directories and files.
757 * Added encrypt/decrypt function for LSA secrets and trusted
758 domain passwords on the wire.
759 * BUG 2729: Resume keys are *mandatory* for a search when
760 listing a W2K and above server from a FATxx filesystem only.
761 * BUG 2735: Ensure that smbd mangles control characters in file
763 * Refactor small pieces of socket handling code (in conjunction
765 * BUG 2698: Fix infinite listing loop in smbclient caused by
766 an invalid character set conversion.
767 * Add client code that will abort a directory listing if we
768 see the same name twice between packets.
769 * Performance improvements in trans2 qfilepathinfo code by
770 removing unnecessary memset() calls.
771 * Rewrite the RPC bind parsing functions to follow the
772 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
773 * BUG 2774: Set sparse flag if needed when returning
775 * Fix errors listing directories from Windows NT clients
776 which caused "." and ".." to show up in explorer.exe.
777 * Merge of error code fixes from SAMBA_4_0 branch.
778 * BUG 2801: Fix regression in the "delete veto files" option.
779 * Fix based on work from Shlomi Yaakobovich to catch loops
780 in corrupted tdb files.
781 * Allow someone with SeTakeOwnershipPrivilege to chown the
782 user of a file to herself.
783 * Fix minor compiler warnings in printing/printing.c.
784 * Merge new DOS error code from SAMBA_4.
785 * Fix issue when non-English characters in filenames and
787 * Fix bogus error message in smbstatus about unknown share modes.
790 o Andrew Bartlett <abartlet@samba.org>
791 * Support raw NTLMSSP authentication for Windows Vista
793 * Fix parallel NTLMSSP processing by removing global state.
794 * BUG 2684: Add per service hosts allow/deny checks for
795 printers when connecting via MS-RPC.
796 * BUG 2391: Fix segv caused by free a static pointer returned
798 * Support kerberos authentication in smbd when using a keytab
799 and participating in a non-Microsoft Kerberos realm.
802 o Timur Bakeyev <timur@com.bat.ru>
803 * BUG 2546: Add support for FreeBSD EA API
804 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
805 * BUG 2908: Fix string length logic error in msdfs code.
806 * BUG 2909: Fix typo that caused smbd to call the wrong
810 o Ed Boraas <ed.boraas@concordia.ab.ca>.
811 * Added Linux per-socket TCP settings.
814 o Gerald (Jerry) Carter <jerry@samba.org>
815 * Added support for \svcctl pipe rpcs.
816 * Added 'net rpc service' subcommand for managing Win32
818 * Refactoring work on the rpc [un]marshalling layer and
820 * Verify privilege name in 'net rpc rights privileges' in
821 order to provide better error messages.
822 * Cleanup rpc structures in rpc_spoolss.h.
823 * Cleanups and fixes for the \winreg server code.
824 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
825 * Fix bugs in client spoolss code after refactoring work.
826 * Fix Valgrind warnings of invalid reads in the spoolss
828 * Fixed a segv when enumerating services on a Samba host.
829 * Fix segv in the service control server code.
830 * Fix crashes in client spoolss calls caused by not checking
831 for a valid pointer from the caller.
832 * Fix regression in DeleteDriver() server routines.
833 * Fix dup_a_regval() when size is 0.
834 * Fix usrmgr.exe crash when viewing user properties at
836 * Do not enumerate any privileges when 'enable privileges = no'
837 and log a message if a client tries.
838 * BUG 2872: Fix cut-n-paste error when checking pointer value
839 in ntlmssp_set_workstation().
840 * Fix upgrade path from earlier nt*tdb files.
841 * Removed print handle object cache.
842 * BUG 2853: Don't strip out characters like '$' from printer
843 names when substituting for the lpq command.
844 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
845 * Fix build issues on x86_64-linux systems caused by valgrind
846 headers. Thanks to Bent Vangli to the suggestions.
847 * Refactor spoolss client calls.
848 * Adding 'username map script'.
849 * Disable schannel on the LSA and SAMR pipes in winbindd client
850 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
851 * Cleanup of winreg API functions.
852 * Add server stubs for RegSetKeySec() and RegGetKeySec().
853 * Map generic bits to specific bits in reg_open_entry()
855 * Add write support to registry tdb and printing backends.
856 * Use tdb lookups rather than hard-coding certain registry
857 value names and data.
858 * BUG 2808: don't try to install man pages if they are not
860 * Fix initialized variables reported by valgrind.
861 * Normalize key lookups in ntprinters.tdb.
862 * Mark "enumports command" as deprecated.
863 * Add missing class file for python share command example.
864 * Fix smbclient build issue on Solaris.
865 * BUG 2626: ensure that the calling_name is set to something
866 after parsing smb.conf (if not set via -n).
867 * Use "add machine script" when creating a user (ACB_NORMAL)
868 who has a name ending in '$' (e.g. usrmgr.exe creating
869 domain trust accounts).
870 * Add 'rid' synonym for idmap_rid IDMap module.
871 * Ensure that we set full access on the handle returned
872 from _samr_create_dom_{alias,group}() so that future
873 set_{alias,group}() commands succeed.
874 * Fix bug when looking for internal domains in winbindd
875 (caused winbindd_getgrgid() for local groups to fail).
876 * Fix query and set alias info calls (level 1 from the MMC
877 manage computer plug-in.
878 * Remove bogus log messages about unknown specversions.
879 * BUG 2680: copy files from an MS-DFS win2k root share
880 * BUG 2688: re-implement support for the -P (--port) option
881 * Support connecting to an 'msdfs proxy' share on a Samba
883 * Strip the directory path from cups command line printing
885 * Fix bug that prevented smbclient from creating directories
887 * Deprecate the "printer admin" parameter in favor of the
888 SePrintOperatorPrivilege.
889 * Add the capability to read and write WinNT regf registry
891 * Implement access checks for RegOpenXXX() server calls.
892 * Extend registry client rpc calls.
893 * Add "net rpc registry" set of commands.
894 * Remove testprns tool.
895 * Ensure that printer ACLs use the specific bits as well as
896 the generic bits. Upgrade existing ntprinters.tdb SECDESC
898 * Add server support for RegSaveKey() for dumping registry
899 trees to a regf file.
900 * Add "enable asu support" smb.conf parameter.
901 * Merge various small file changes from trunk.
902 * Remove "winbind enable local accounts" support.
903 * Remove "ldap filter" smb.conf option.
904 * Remove editreg utility (needs to be rewritten using regfio.c).
905 * Fix build failure when running 'make torture' without first
906 running 'make all' first.
907 * BUG 1261: Remove unusable libbiconv from iconv detection
909 * Add new option for "map to guest". "Bad Uid" re-enables the
910 Samba 2.2 behavior of mapping authenticated users to the
911 guest account if there does not exist a valid Unix account
912 for the Windows domain user (based on patch from
913 aruna.prabakar@hp.com).
914 * Fix a couple of regressions after introduction of new winbindd.
915 * Fix smbpasswd user password change (still worked by bad error
916 messages) due to trying to strdup a NULL pointer.
917 * Implement default security descriptors for the
918 OpenService[Manager]() calls and check requested access mask
920 * Include access checks on handle mask for \svcctl operations
921 such as ControlService() and StartService().
922 * Implement simulated start and stop service control for
923 the spooler service as a per smbd service state value.
924 * Add interface structure for controlling service via rc.init
925 scripts (incomplete).
926 * Convert move_driver_to_download_area() to use copy_file()
927 rather than moving the files.
928 * Add version number to registry.tdb file since it can be
930 * Remove over-paranoid assert() call when checking spoolss
932 * Fix error in EnumPrinterData() reported by valgrind.
933 * Fix broken help links in SWAT editor caused by new doc layout.
934 * Ensure that a domain structure in winbind is initialized prior
935 to assigning the methods for communicating to a DC.
936 * BUG 3000: Remove background updates of winbind cache and allow
937 child processes to immediately update and expired cache entry.
940 o David.Collier-Brown <David.Collier-Brown@sun.com>
941 * Added panic action script for Solaris.
944 o Jeremy Cooper <jeremy@ncircle.com>
945 * Added support for several new \winreg client rpcs.
948 o <core@road-star.jp>
949 * BUG 2792: Ensure the shadow copy module hooks seekdir,
950 telldir, rewinddir to match updated large directory code.
953 o Guenther Deschner <gd@samba.org>
954 * Close handles on group creation in rpcclient to better
955 support mass group account creation.
956 * Fix account policy key lookup for minimum and maximum
958 * Fix some compiler warnings and add missing exclude-block
959 in 'net rpc share migrate'.
960 * Allow use of a non-default smb.conf by rpcclient.
961 * Fix querydispinfo search semantics in rpcclient test code.
962 * Fix querydispinfo server semantics to allow to list more
964 * Fix server crash bug in ancient OpenPrinter() call.
965 * Fix a crash bug when enumerating privileges via the LSA
967 * Fix crash in EnumPrinterKey() client calls caused by previous
969 * Various compiler warning fixes.
970 * Fix segfault in the client AddPrinterEx-call of 'net
972 * Fix build issues when --with-aio-support is enabled.
973 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
974 * Honour the CC environment variable in python build.
975 * Fix searches in pdb_ldap for inter-domain trust accounts.
976 * Don't expand the %L in %LOGONSERVER% from user attributes.
977 * Fix bug in 'net rpc vampire' that caused accounts to be created
978 with no assigned ACB flags.
979 * Fix enumeration of builtin-aliases.
980 * Avoid unset rids for builtin-aliases.
981 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
982 * More "net rpc share migrate" fixes.
983 * Merge PADL's idmap_ad plugin (taken from the latest
984 xad_oss_plugins-tarball).
985 * Add support for "idmap backend = ad" when "security = ads".
986 * Add home directory and shell support from AD via "winbindd nss
987 support = sfu" and "security = ads".
988 * Provide better feedback when we fail share-manipulation
989 due to missing scripts.
990 * Correctly substitute "\" as default winbind separator in
991 generate_parm_table.py example share command script.
992 * Document pam_winbind.c to clarify the working status of
993 require-membership-of option.
994 * Added client-support for various lsa_query_trust_dom_info()
995 calls and a rpcclient-tester for some info-levels.
996 * Add "net rpc trustdom vampire" tool (in conjunction with
998 * Add missing cli_srvsvc_net_share_set_info-function and
999 rpcclient-testers (in preparation for net share acl migration).
1000 * Print trusted domain passwords returned via rpcclient in
1002 * Error code fixes when attempting to manipulating
1003 non-existent shares.
1004 * Cleanup "net share migrate" code.
1005 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
1007 * Allow admins to uncheck the "User must change Password at
1008 next Logon" checkbox in User manager (merge from trunk).
1011 o Renaud Duhaut <rd@duhaut.com>
1012 * BUG 1040: Add directory_mode parameter when creating recycle
1016 o Steven Edwards <steven_ed4153@yahoo.com>.
1017 * Use chsize() if we don't have ftruncate().
1020 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
1021 * BUG 1780: Add kerberos (file based ticket cache) support
1025 o Steve French <sfrench@us.ibm.com>
1026 * Update list of mount options for mount.cifs.
1027 * Add more defines for POSIX extensions to match the newly
1028 added client implementation.
1029 * Add initial support for cifs umount utility.
1030 * Fix cifs mounts to handle commas embedded in prompted
1031 password, and password and credential files.
1032 * Fix cifs mounts to handle domain name and user name in
1033 username field (in form domain\user).
1034 * Add missing error code mappings when a client unsuccessfully
1035 tries to create a hard-link.
1036 * Add support so umount.cifs can update mtab.
1037 * Add two newer mount options to syntax help for mount.cifs.
1038 * Add missing remount flag handling.
1039 * Allow domain= to be specified in credentials file.
1040 * Fix umount.cifs help, allow root to unmount someone else's
1042 * Lock mtab when updating it during umount.cifs, also delete
1043 only one matching entry at a time.
1044 * Fix minor compiler warnings in the mount.cifs helper.
1047 o Deryck Hodge <deryck@samba.org>
1048 * BUG 2137: Encode quotes for display in HTML (original patch
1052 o Olaf Imig <Olaf.Imig@bifab.de>
1053 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
1055 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
1058 o Björn Jacke <bj@sernet.de>
1059 * Added ioctl constants reported by msbackup.exe and filemon.exe.
1062 o Kevin Jamieson <bugzilla@kevinjamieson.com>
1063 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
1066 o John Janosik <jpjanosi@us.ibm.com>
1067 * BUG 2077: Correctly fill in the correct server name when
1068 processing trusted domain logins.
1069 * BUG 2976: Mark logons for unknown domains with a
1070 non-authoritative response.
1073 o William Jojo <jojowil@hvcc.edu>
1077 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1078 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
1082 o Tom Lackemann <cessnatomny@yahoo.com>
1083 * BUG 2242: Patch to ensure that we only set the security
1084 descriptor on an NTtransact create if we created the file.
1087 o Volker Lendecke <vl@samba.org>
1088 * Port some of the non-critical changes from HEAD to 3_0.
1089 The main one is the change in pdb_enum_alias_memberships
1090 to match samr.idl a bit closer.
1091 * Close handles on user creation in rpcclient to better
1092 support mass user account creation.
1093 * Implement client RAP calls for enumusers/enumgroups level 0.
1094 * Implement a new caching API for enumerating the pdb elements.
1095 * Convert the RAP user and group enumeration functions to the
1096 utilized the pdb_search API.
1097 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
1098 RestrictAnonymous environments.
1099 * Internal passdb API changes for better search capabilities
1100 (based on original work by Guenther Deschner).
1101 * Fix various compiler warnings.
1102 * Add chain length statistics to tdbtool.
1103 * Fix set afs ACL calls on files and directories in the root of
1105 * Refactoring work on internal open code
1106 * Correctly initialize the version in a new set of nt*tdb files.
1107 * Remove smb_run_idle_events() from main process loop in smbd
1108 and instead rely upon the timeout processing to handle
1109 dropping idle LDAP connections.
1110 * Fix the bug where users show up as trusting domains.
1111 * Fix an assertion failure in winbindd.
1112 * Fix a memleak in vfs_afsacl.
1113 * Various compiler warning fixes.
1114 * Fix compile when --enable-socket-wrapper is defined.
1115 * Fixes for top level acls in vfs_acl.c.
1116 * Refactor passdb interface functions.
1117 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
1118 * Correct 2 segv's in "net rpc printer migrate".
1119 * Return correct group type from smbd for BUILTIN groups.
1120 * Backport the talloc() layer from Samba 4.
1121 * BUG 2701: Fix segv in ldap reconnection code.
1122 * BUG 2705: Fix segv when connecting from usrmgr.exe.
1123 * Use the SID in the user token for the %s expansion in 'afs
1125 * Memory leak fixes in passdb code.
1126 * BUG 2720: Fixes for "net usersidlist".
1127 * BUG 2725: Fix segv in "net ads user".
1128 * Only allow schannel connections if a successful Auth2
1129 has been previously performed.
1130 * Don't look at gencache.tdb for the trusted domains if
1132 * Rewrite winbindd using an asynchronous process model.
1135 o Herb Lewis <herb@samba.org>
1136 * Compiler warning cleanups.
1137 * smbwrapper Makefile and compile time check cleanups.
1138 * Adding robustness checks for tdbdump and tdbtool.
1139 * Extend tdb command line parsing to arbitrary hex characters.
1140 * Add LOCKING debug class.
1141 * Fix more compiler warnings.
1144 o Derrell Lipman <derrell@samba.org>
1145 * add support for opening a file for write with O_APPEND
1147 * Added smbsh/smbwrapper for Linux to example/libsmbclient
1149 * Fix smbc_stat() from returning incorrect timestamps IFF
1150 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
1151 and not if it used cli-getatr() to retrieve the timestamps
1153 * Fix handful of compiler warnings.
1154 * BUG 2498, 2484: smbc_getxattr() fixes.
1155 * BUG 1133: Added provision for overloading some global
1156 configuration options via the new, per-user file
1157 ~/.smb/smb.conf.append.
1158 * BUG 2543: Properly cache anonymous username when reverting
1159 to anonymous login, in libsmbclient.
1160 * BUG 2505: Fix large file support in libsmbclient.
1161 * BUG 2564: Ensure correct errno when smbc_opendir() was called
1162 with a file rather than a directory.
1163 * Correct deprecated lvalue casts in testsuite/libsmbclient.
1164 * BUG 2663. cli_getattrE() and cli_setattrE() were not
1165 formatting or parsing the timestamp values correctly.
1166 * Correctly detect AF_LOCAL support in configure.
1167 * Fix problem updating file times on Windows 98 hosts using
1169 * Fix compile breakage on Solaris by eliminating the use of
1170 ctime_r() in libsmbclient DEBUG statement.
1173 o Jason Mader <jason@ncac.gwu.edu>
1174 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
1175 * Various compiler warning fixes about mistyped variables.
1176 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
1178 * BUG 2527, 2538: Removed unused variables.
1181 o Marcel <samba.10.maazl@spamgourmet.com>
1182 * Fix regression in OS/2 trans2 open code.
1185 o Jim McDonough <jmcd@us.ibm.com>
1186 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1187 (in conjunction with Volker).
1188 * BUG 2953: Prevent the credentials chain on DC gets out
1189 of sync with client when NT_STATUS_NO_USER is returned.
1190 * Added subcommands to "net rpc vampire" (mostly done by Don
1191 Watson <dwatson@us.ibm.com>) to allow data to be put into an
1192 ldif file instead of actually writing to the passdb.
1193 * BUG 2736: Add retries to workaround winbind race condition
1194 with detecting idle clients.
1195 * BUG 2953: Additional fixes for domain trusts. Also clears
1196 up the "bad stub" error when attempting to logon to a Samba
1197 domain with a bad username.
1200 o Luke Mewburn <lukem@NetBSD.org>
1201 * Compiler warning fixes.
1204 o Kalim Moghul <kalim@samba.org>
1205 * Removed unused printmode command from smbclient.
1208 o Lars Müller <lmuelle@samba.org>
1209 * Re-enable the VERSION_REVISION option in case of another
1211 * Fix spoolss python bindings after C++ compiler changes and
1213 * BUG 2659: Don't trump on memory in smbtorture.
1214 * BUG 2060: Add -fPIC which is the case for all other Samba
1216 * Fix argv parsing in "net rpc".
1217 * Add support to create position independent executable (PIE)
1218 code if the compiler supports it.
1219 * BUG 2767: Add new options to testparm (--show-all-parameters,
1220 --parameter-name, and --section-name).
1221 * Fix net share migrate files to also migrate the ACLs of
1222 the top level dir of a share.
1225 o Marcel Muller <mueller@maazl.de>
1226 * Patch to fix the OS/2 EA_FROM_LIST info level call.
1227 * Mangled names fix for OS/2 clients.
1228 * Ensure we correctly set the return packet size to include the
1229 pad bytes in reply_readbmpx().
1230 * Fix for bug in SMBwriteBraw that incorrectly returned the
1231 number of bytes written.
1234 o Ricky Nance <ricky.nance@gmail.com>
1235 * Implemented mklogon script generator for domain logon scripts.
1238 o James Peach <jpeach@sgi.com>
1239 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1240 * BUG 2285: Patch for hires timestamps and efficient notify code.
1241 * MS-DFS tidyup patches.
1242 * Build fixes on IRIX.
1243 * IRIX compiler warning fixes.
1244 * BUG 2596: Fix become_root link issues and one IRIX stack
1246 * Fix for null pointer ACL free.
1247 * BUG 2314: Fix const compiler warnings in the quota code.
1250 o Ed Plese <ed@edplese.com>
1251 * Fix faulty logic which caused winbindd to return failure
1252 when a user possessed no supplementary groups.
1255 o Marcin Porwit <mporwit@centeris.com>
1256 * Initial support for the \eventlog pipe.
1257 * Fix a memleak in the eventlog code.
1258 * Miscellaneous fixes for Samba's experimental event log support.
1259 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
1263 o Tim Potter <tpot@samba.org>
1264 * BUG 2940, 2943: Fixed various compiler warnings regarding
1265 mismatched types and unused variables.
1266 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
1267 * BUG 2733: Fix incorrect SHLIBEXT is set when running
1268 configure script on HPUX IA.
1269 * Remove unused autoconf #define's.
1270 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
1271 * Removed unused function declarations in tdb.h.
1272 * BUG 2895: Don't wrap non-existent functions in the python
1274 * BUG 2623, 2630: $< and $* are not valid in explicit rules
1276 * BUG 2560: Fix compile error lurking where PATH_MAX is not
1278 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
1279 * BUG 2611: Add fflush(stdout) after displaying username prompt
1280 in smbsh if username not specified on command line.
1281 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
1282 * BUG 2808: Update install swat message to reflect the fact
1283 that swat/README no longer exists.
1286 o Denis Sbragion <d.sbragion@infotecna.it>
1287 * BUG 2196: Allow absolute path (system wide) recycle bin.
1290 o Fernando Schapachnik <fernando@mecon.gov.ar>
1291 * Add logon hours support for the Postgres backend.
1294 o Richard Sharpe <rsharpe@samba.org>
1295 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
1297 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
1298 * BUG 2362: Quota support fix for DragonFly.
1299 * Fix dragonfly detection in configure.
1302 o Simo Sorce <idra@samba.org>
1303 * Allow Domain Admins to force user sessions to close via the
1304 Windows Server Manager.
1305 * Add support to 'net rpc right privileges <name>' to enumerate
1306 accounts which possess a specific privilege.
1307 * Fix memory issues issues in vfstest (reported by Rainer Link).
1308 * Randomize reloading as to not overload cupsd.
1311 o Smitty <smitty@plainjoe.org>
1312 * Compile fixes for smbget when using --enable-developer.
1313 * Include LUID values to match Windows privileges since
1314 apparently this matters to printmig.exe
1317 o John Terpstra <jht@samba.org>
1318 * Solaris packaging fixes.
1319 * Clean up usage help text in "net rpc user"
1322 o Andrew Tridgell <tridge@samba.org>
1323 * Merge socket wrapper library fixes from Samba 4.
1326 o Brett Trotter <blt@iastate.edu>
1327 * Fix definition of global_sid_* in vfs_acl.c.
1330 o Mark Weaver <mark-clist@npsl.co.uk>
1331 * Patch to fix sys_select so it can't drop signals if another
1332 fd is ready to read.
1335 o Jelmer Vernooij <jelmer@samba.org>
1336 * Remove --with-manpage-languages configure option.
1337 * Merge socket wrapper fixes for IRIX systems from the
1339 * Add socket_wrapper library to 3.0. Can be enabled by passing
1340 --enable-socket-wrapper to configure.
1341 * Fix build of the various sql pdb backends after new talloc.
1344 o Qiao Yang <qyang@stbernard.com>
1345 * Use our own DC when getting the SID for a domain.
1349 Release Notes for older release follow:
1351 --------------------------------------------------
1352 ===============================
1353 Release Notes for Samba 3.0.14a
1355 ===============================
1357 Common bugs fixed in 3.0.14a include:
1359 o Compatibility issues between Winbind and Windows 2003 SP1
1360 domain controllers (*2k3sp1*).
1361 o MS-DFS errors with Windows XP SP2 clients.
1362 o High CPU loads caused by infinite loops in the FindNext()
1364 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
1368 ######################################################################
1372 Changes since 3.0.14
1373 --------------------
1377 o Jeremy Allison <jra@samba.org>
1378 * Fixed invalid SMB_ASSERT() triggered by checking access on
1382 Changes since 3.0.13
1383 --------------------
1388 Parameter Name Action
1389 -------------- ------
1390 dos filetimes Enabled by default
1395 o Jeremy Allison <jra@samba.org>
1396 * Prevent nt_status code support when negotiating protocols
1398 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1399 as this SMB is DOS codepage only.
1400 * BUG 2585: Fix printf() issues in smbpasswd which caused
1402 * BUG 2563: Fix infinite loop on non-existent file with
1404 * BUG 2581 (partial): Ensure if realloc fails on an internal
1405 tdb we fail gracefully.
1406 * Ensure that 'dos filetimes' works with ACLs.
1407 * Set 'dos filetimes = yes' as the default for smb.conf.
1410 o Gerald (Jerry) Carter <jerry@samba.org>
1411 * Workaround autoconf issue to prevent debug symbols from
1412 being included in the default build.
1413 * Disable schannel on the \lsarpc pipe in order to successfully
1414 enumerate users and groups (*2k3sp1*)
1415 * Fix parsing error in rpc binds which broke NTLMSSP
1416 authentication. And as a result broke CTL+ALT+DEL password
1417 changes from a Windows 2003 SP1 member of a Samba domain
1419 * Revert change to FindFirst() server code that broke WinXP
1420 SP2 clients from launching *.exe files from a dfs target
1422 * BUG 2588: Force smbclient to send netbios messages to port
1423 139 unless otherwise instructed (based on patch from Thomas
1427 o Volker Lendecke <vl@samba.org>
1428 * Fix build on FreeBSD 4 where Winbind is not supported.
1429 * Fix 'wbinfo --user-sids' when using domain local groups.
1430 * Restrict domain local groups reported by 'wbinfo -r' to
1431 the Samba server domain and not the users domain.
1434 o Lin Li <linl@xandros.com>
1435 * Ensure that winbind initializes internal trusted domain
1436 structures when enumerating users and groups.
1439 o Tim Potter <tpot@samba.org>
1440 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1442 * Fix compiler warnings.
1445 o <psz@maths.usyd.edu.au>
1446 * Fix for possible root squash NFS bugs.
1449 o Simo Sorce <irda@samba.org>
1450 * Debian packaging fixes.
1453 --------------------------------------------------
1454 ==============================
1455 Release Notes for Samba 3.0.13
1457 ==============================
1459 Common bugs fixed in 3.0.13 include:
1461 o Infinite FindNext() loop from Windows 9x client when
1462 copying or deleting files on a Samba file share using
1464 o Numerous smbclient bugs when listing directories.
1465 o Failures in smbclient when connecting to a Windows 9x
1469 ######################################################################
1473 Changes since 3.0.12
1474 --------------------
1476 o Jeremy Allison <jra@samba.org>
1477 * Fix typo bug in smbclient where flags overwrote info level
1478 in the cli_list_new().
1479 * Fix old smbclient bug where ff_searchcount was being compared
1480 to -1 resulting in processing a filename twice.
1481 * Fix segv in smbclient caused by overwriting the last 2 bytes
1483 * BUG 2530: Fix potential segv in smbclient when talking to a
1484 Windows 9x file server.
1485 * Fix last entry offset in cli_list_new() when using a
1486 FindFirst/FindNext info level of 0x104.
1487 * BUG 2501: Stop Win98 from looping doing FindNext on a
1488 singleton directory.
1489 * BUG 2521: Fix error in access checks when user group ACLs.
1492 o Gerald (Jerry) Carter <jerry@samba.org>
1493 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
1494 to delete all versions of a driver.
1495 * BUG 2517: use the realm from smb.conf for 'net ads info' when
1496 'disable netbios = yes'.
1497 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1499 * Update RedHat packaging files to require cups support. Also
1500 remove requirement for 'idmap {uid,gid}' settings in smb.conf
1501 from winbindd init script.
1502 * BUG 2516: fix compile issue on True64.
1506 o Guenther Deschner <gd@samba.org>
1507 * Check for the correct cli-struct when copying files in 'net
1508 rpc printer' routines.
1511 o Herb Lewis <herb@samba.org>
1512 * Fix incorrect test in 'net rpc user' when the user is not
1513 a member of any groups.
1516 o Jim McDonough <jmcd@us.ibm.com>
1517 * Make sure that enum_group_members() searches the correct suffix.
1520 --------------------------------------------------
1521 ==============================
1522 Release Notes for Samba 3.0.12
1524 ==============================
1526 Common bugs fixed in 3.0.12 include:
1528 o Winbind failures when using 'disable netbios = yes'
1529 o Failure to establish a trust relationship via 'net rpc trust
1531 o Various portability & compiler issues.
1532 o Read only file deletion failure caused by new delete semantics
1533 in Windows XP SP2 and the MS 04-044 security hotfix.
1534 o Error messages from shared Excel workbooks residing on Samba
1536 o Missing files in the output of smbclient -c 'dir' when run
1537 against Windows file servers.
1538 o Inability for Print Administrators to pause/resume/purge print
1541 Additional features introduced in Samba 3.0.12:
1543 o Performance enhancements when serving directories containing
1544 large number of files.
1545 o MS-DFS support added to smbclient.
1546 o More performance improvements when using Samba/OpenLDAP based
1547 DC's via the 'ldapsam:trusted=yes' option.
1548 o Support for the Novell NDS universal password when using the
1549 ldapsam passdb backend.
1550 o New 'net rpc trustdom {add,del}' functionality to eventually
1551 replace 'smbpasswd {-a,-x} -i'.
1552 o New libsmbclient functionality.
1556 =======================
1557 Large Directory Support
1558 =======================
1560 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1561 with file services that frequently contain a large number of files
1562 per directory. Historically Samba's performance has suffered
1563 in such environments due to the translation from case
1564 insensitive lookups by Windows client to the case sensitive
1565 storage mechanisms used by UNIX filesystems.
1567 Configuration details along with a short HOWTO can be found at:
1569 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1572 ==================================
1573 libsmbclient Binary Compatibility
1574 ==================================
1576 Please note that a change has been made to the _SMBCCTX structure
1577 in source/include/libsmbclient.h. This change is not backwards
1578 compatible with applications linked against the libsmbclient.so
1579 library from Samba 3.0.11. However, it is compatible with all
1580 other Samba 3.0.x releases. This means that it will be most likely
1581 be necessary to recompile any applications linked against the
1582 3.0.11 version of the library.
1585 ######################################################################
1592 Parameter Name Action
1593 -------------- ------
1594 allocation roundup size New
1595 log nt token command New
1596 write cache Deprecated
1600 Changes since 3.0.11
1601 --------------------
1605 o Jeremy Allison <jra@samba.org>
1606 * BUG 2146: Return correct allocation sizes so as not to crash
1608 * BUG 962: Ensure that parsing of service names in smb.conf is
1610 * BUG 2201, 2227: Support new delete semantics used by MS04-044
1612 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
1613 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1614 * Add special hooks when serving directories containing large
1616 * Ensure that WINS negative name query responses and WACK
1617 packets use the correct RR type of 0xA instead of reflecting
1618 back what the query RR type was (0x20).
1619 * BUG 2310: Only do 16-bit normalization on small dfree request.
1620 * BUG 2323: Correct authentication failure when using plaintext
1621 passwords from Windows XP clients.
1622 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1623 work around issues building MS Visual Studio 6.0 project
1624 on a Samba file share while restoring the pre-3.0.21pre1
1625 behavior by default.
1626 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
1627 stat when checking for existence of a pathname.
1628 * Check the sticky bit on the parent directory for supporting
1629 the new WinXP SP2 file deletion semantics.
1630 * Various oplock, share mode, and byte range locking fixes
1631 found by Connectathon tests.
1632 * BUG 2271: Fix resume key issues in trans2FindFirst() client
1633 code (inspired by patch from Satwik Hebbar).
1634 * BUG 2382, 2045: More pending modtime and delayed write fixes
1635 for MS Excel (incorporates partial patches from
1636 ke_miyata@itg.hitachi.co.jp).
1637 * Debug log message cleanups.
1638 * Add case insensitive search for a principal match on logon
1639 verification in the system keytab (based on patch by
1640 Michael Brown <mbrown@fensystems.co.uk>).
1641 * Revert the previous SMB signing change from Nalin Dahyabhai
1642 when using DES keys.
1643 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1644 * Fix FindFirst() server code to deal with resume names of ".."
1645 and "." (found by Jim McDonough).
1646 * BUG 2451: Fix missing functions in full audit VFS module.
1647 * Ensure that smbd logs failures reported by DISK_FREE()
1648 (reported by Ying Li <ying.li2@hp.com>).
1649 * Ensure that smbclient obeys the max protocol argument again.
1650 * BUG 2335: Return correct error code for OS/2 clients (based on
1651 negotiated protocol level).
1652 * BUG 2460, 2464: remove dead code and unused variables
1653 (reported by Jason Mader).
1656 o Andrew Bartlett <abartlet@samba.org>
1657 * Avoid length-limited intermediate copy of NT and LM responses
1659 * Debug message cleanups in the NTLMSSP implementation.
1662 o Manuel Baena <mbaena@lcc.uma.es>
1663 * Print actual error message in smbmnt.c:fullpath().
1666 o Vince Brimhall <vbrimhall@novell.com>
1667 * Add support for Novell NDS universal password.
1668 * BUG 2424: Ensure that uidNumber and gidNumber use match
1670 * BUG 2453: Change the way pdb_nds.c handles users with no
1671 Universal or Simple Password.
1672 * NDS schema file corrections.
1675 o Gerald (Jerry) Carter <jerry@samba.org>
1676 * Add trans2 client call for checking dfs referrals
1677 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
1678 when checking directories on modern CIFS servers.
1679 * Add MS-DFS support to smbclient.
1680 * Code cleanup of adt_tree.[ch].
1681 * Add missing checks to allow root to manage user rights.
1682 * Allow domain admins to manage rights assignments on domain members
1684 * BUG 2333: Use the lpq command to pass in the correct printer name
1685 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
1687 * BUG 1439: make sure to initialize pointer to prevent invalid
1689 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
1691 * Add cups-devel to BuidlRequires directive in Fedora spec file.
1692 * BUG 858: Fix order of popt args evaluation so we don't crash
1693 when given no command line args.
1694 * Remove dependency on bash for source/autogen.sh.
1695 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1696 * Implement MS-DFS for recursive directory listings in smbclient.
1697 * BUG 2394: Fix nmbd linking issue on IRIX.
1698 * Only display the publish check box in the client's printer
1699 properties dialog if we are a member of an AD domain.
1700 * BUG 2363: allow 'in use' driver to be removed as long as
1701 one 'Windows NT x86' driver remains.
1702 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
1704 * Enforce better printer.tdb cache consistency when removing
1705 jobs from a print queue via SMB.
1706 * Ensure that pause/resume/purge print queue commands are run
1707 with the appropriate level of privilege necessary to actually
1709 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1710 for 'printing = cups' installations that do not actually have
1712 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1713 * BUG 2215: Rewrite questionable code that was causing gcc to
1715 * Add server support for LsaLookupPrivValue().
1716 * Various small compile fixes and cleanup warnings.
1717 * BUG 2456: Fix compile failure on non-gcc platforms due to
1718 non-standard pragma.
1721 o Kevin Dalley <kevin@kelphead.org>
1722 * BUG 2398: Don't force smbclient to assume a dry run if the
1723 target tarfile is /dev/null.
1726 o Guenther Deschner <gd@samba.org>
1727 * Fix crash bug in the client-spoolss enumdataex-call.
1728 * Expand the valid-workstation-scheme by expanding names
1729 beginning with a plus (+) as a unix group.
1730 * Allow own netbios name to be set in smbclient's session setup.
1731 * Better handling of LDAP over IPC connections that have expired
1733 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1734 * Add examples/misc/adssearch.pl.
1735 * BUG 2343: Build fixes.
1736 * Support get_user_info_7 in SAMR server RPC.
1737 * Fix server_role in the samr_query_dom_info calls.
1738 * Add example perl script to check for multiple LDAP entries
1739 after running 'net rpc vampire'.
1740 * Add more output when listing printer forms via rpcclient.
1741 * Debug log message cleanup.
1744 o Steve French <sfrench@us.ibm.com>
1745 * On failed mount (ENXIO) retry share name in uppercase (fix
1746 mount to FastConnect AIX SMB server).
1747 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1748 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1749 it with a user name.
1750 * Update for new CIFS POSIX info levels.
1751 * Ignore users mount parm in mount.cifs.
1753 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1754 * BUG 1549: Don't truncate service names in smbstatus.
1757 o William Jojo <jojowil@hvcc.edu>
1758 * BUG 2445: Patch to avoid default ACLs on AIX.
1761 o S Murthy Kambhampaty <smk_va@yahoo.com>
1762 * Add idmap_rid module to Fedora and RedHat spec files.
1765 o Volker Lendecke <vl@samba.org>
1766 * BUG 2401: Flush internal getpwnam() cache after deleting a
1768 * BUG 1604: Make winbind work with more than 10 trusted domains.
1769 * Cleanup various compiler warnings.
1770 * Fix a memory leaks in privileges code and passdb backends.
1771 * Fixes for samr_lookup_sids() client call.
1772 * Optimize _samr_query_groupmem with LDAP backend for large
1774 * Support SIDs as %s replacements in the afs username map
1776 * Add 'log nt token command' parameter. If set, %s is replaced
1777 with the user sid, and %t takes all the group sids.
1778 * Do not use the "Local Unix Group"-default description for
1779 all kinds of group-mappings.
1780 * Fix uninitialized variable in Linux nss_winbind library.
1781 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1782 * Implement 'net afs impersonate'.
1785 o Herb Lewis <herb@samba.org>
1786 * Fix build problem when HAVE_POSIX_ACL is not defined.
1787 * BUG 2417: Add help lines for net rpc group addmem and
1791 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1792 * Add support to libsmbclient for getting and setting DOS
1793 attributes using EA functions.
1794 * Fix libsmbclient's URL encoding/decoding.
1795 * Replace browse listing URI queries with an internal options
1796 structure (previous method violated the SMB URI syntax).
1797 * Allow tree connects to be multiplexed over a single CIFS server
1799 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1800 can determine a dead tree connection.
1801 * Implement better solution for backwards binary compatibility
1802 in libsmbclient while adding new fields to struct _SMBCCTX.
1805 o Mark Loeser <halcy0n@gentoo.org>
1806 * BUG 2443: Compile fix for gcc4.
1809 o Jim McDonough <jmcd@us.ibm.com>
1810 * BUG 2338: Fix coredump when OS/2 checks for long file name
1811 support (with .+,;=[].) (thanks to Guenter Kukkukk).
1814 o Jason Mader <jason@ncac.gwu.edu>
1815 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1819 o Jim McDonough <jmcd@us.ibm.com>
1820 * Fixes for server schannel implementation when 'restrict
1821 anonymous = 1' is set in smb.conf.
1822 * Fix bug in server side lookupsids reply that crashed lsass.exe
1824 * Fix 'net rpc trustdom establish'.
1825 * BUG 2062: Turn off broadcast for all 390 NICs.
1826 * Fix 'net rpc trustdom add' to correctly add new domain trust
1827 accounts. This will eventually replace 'smbpasswd -a -i'.
1828 * Implement 'net rpc trustdom del', including client side of
1829 samr_remove_sid_from_foreign_domain.
1830 * Bring IBM Directory Server schema up to date with openldap
1832 * Allow for better protection of sensitive attributes in IBM
1836 o Stefan Metzmacher <metze@samba.org>
1837 * Fix memleaks in the nttrans code.
1840 o Mike Nix <mnix@wanm.com.au>
1841 * Add SMBsplopen and SMBsplclose client calls.
1844 o Justin Ossevoort <justin@snt.utwente.nl>
1845 * BUG 2316: Fix crashes in pdb_pgsql.
1848 o James Peach <jpeach@sgi.com>
1849 * Fixes in string handling code.
1850 * Fix oplock2 test in client smbtorture.
1853 o Tim Potter <tpot@samba.org>
1854 * Fix up example pdb modules after prototype change for
1856 * BUG 2058: Fix for shared object creation in examples.
1857 * BUG 2315: Fix segv in LSA privileges server code.
1858 * Build fixes for python wrapper libraries.
1861 o Richard Sharpe <rsharpe@samba.org>
1862 * BUG 2044: Fix segv in profiles tool.
1863 * Fix bogus error messages when enumerating user group
1864 membership via 'net rpc'.
1867 o Simo Sorce <idra@samba.org>
1868 * Debian packaging fixes.
1871 o John Terpstra <jht@samba.org>
1872 * Add the capability to set account description using pdbedit.
1875 o Doug VanLeuven <roamdad@sonic.net>
1876 * Add more case/realm/name permutations to the kerberos keytab.
1877 * AIX compile fixes.
1880 o Jelmer Vernooij <jelmer@samba.org>
1881 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1882 * BUG 1957: Implement minimal update of fields in mySQL pdb
1886 o Torsten Werner <torsten.werner@assyst-intl.com>
1887 * BUG 2405: Define 'lpstat' printcap output on HPUX.
1890 o Shlomi Yaakobovich" <Shlomi@exanet.com>
1891 * Detect infinite loops when traversing tdbs.
1894 --------------------------------------------------
1895 ==============================
1896 Release Notes for Samba 3.0.11
1898 ==============================
1900 Common bugs fixed in 3.0.11 include:
1902 o Crash in smbd when using CUPS printing.
1903 o Parsing error of other SIDs included in the user_info_3
1904 structure returned from domain controllers.
1905 o Inefficiencies when searching non-AD LDAP directories.
1906 o Failure to expand variables in user domain attributes
1907 in tdbsam and ldapsam.
1909 o Failure to retrieve certain attribute when migrating from
1910 a Windows DC to a Samba DC via 'net rpc vampire'.
1911 o Numerous printing bugs bugs including memory
1912 bloating on large/busy print servers.
1913 o Compatibility issues with Exchange 5.5 SP4.
1916 Additional features introduced in Samba 3.0.11:
1918 o Winbindd performance improvements.
1919 o More 'net rpc vampire' functionality.
1920 o Support for the Windows privilege model to assign rights
1922 o New administrative options to the 'net rpc' command.
1929 If "ldap user suffix" or "ldap machine suffix" are defined in
1930 smb.conf, all user-accounts must reside below the user suffix,
1931 and all machine and inter-domain trust-accounts must be located
1932 below the machine suffix. Previous Samba releases would fall
1933 back to searching the 'ldap suffix' in some cases.
1940 Samba 3.0.11 supports the following assignable rights
1942 SeMachineAccountPrivilege Add machines to domain
1943 SePrintOperatorPrivilege Manage printers
1944 SeAddUsersPrivilege Add users and groups to the domain
1945 SeRemoteShutdownPrivilege Force shutdown from a remote system
1946 SeDiskOperatorPrivilege Manage disk shares
1948 These rights can be assigned to arbitrary users or groups
1949 via the 'net rpc rights grant/revoke' command. More details
1950 of Samba's privilege implementation can be found in the
1951 Samba-HOWTO-Collection.
1954 ######################################################################
1958 Changes since 3.0.10
1959 --------------------
1964 Parameter Name Action
1965 -------------- ------
1966 afs token lifetime New
1967 enable privileges New
1968 ldap password sync Alias
1969 min password length Deprecated
1970 winbind enable local accounts Deprecated
1975 o Jeremy Allison <jra@samba.org>
1976 * Extend vfs to add seekdir/telldir/rewinddir.
1977 * Fix dirent return.
1978 * Fix bugs when handling secondary trans2 requests.
1979 * Implementation of get posix acls in UNIX extensions.
1980 * Added set posix acl functionality into the UNIX extensions code.
1981 * Updated config.guess/config.sub .
1982 * Fix error reply when 'follow symlinks = no'.
1983 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
1985 * Fixes for LARGE_READX support.
1986 * Fix the problem we get on Linux where sendfile fails, but we've
1987 already sent the header using send().
1988 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
1990 * BUG 2088: Ensure inherit permissions is only applied on a new
1991 file, not an existing one.
1992 * Don't go fishing for the krb5 authorization data unless we know
1994 * Fixes for libsmbclient to ensure that interrupted system calls
1995 are restarted minus the already expired portion of the timeout
1996 (based on work by Derrell Lipman).
1997 * More Unicode string parsing fixes.
1998 * Convert the winreg pipe to use WERROR returns.
1999 * Make all LDAP timeouts consistent (input from Joe Meadows
2000 <jameadows@webopolis.com>).
2001 * BUG 2231: Remove double "\\" from client findfirst.
2002 * BUG 2238: Fix memory leak in shadow copy vfs.
2003 * Return correct DOS/NT error code on transact named pipe on
2005 * BUG 2211: Fix security descriptor parsing bug (based on work by
2006 Mrinal Kalakrishnan <mail@mrinal.net>).
2007 * BUG 2270: Fix memory leaks in cups printing backend support
2008 (based on work by Lars Mueller).
2009 * BUG 2255: Fix debug level in kerberos error messages.
2010 * BUG 2110: Ensure we convert to ucs2 correctly after the
2011 CAN-2004-0930 patch.
2012 * Make strict locking an enum. Auto means use oplock optimization.
2013 * Fix client & server to allow 127k READX calls.
2014 * More *alloc fixes (includes additional fixes by Albert Chin.
2015 * Catch sendfile errors correctly and return the correct values
2016 we want the caller to return.
2017 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
2018 for better use by desktop environments such as GNOME.
2019 * Ensure we can't remove a level II oplock without having the
2020 shared memory area locked.
2023 o Timur Bakeyev <timur@com.bat.ru>
2024 * BUG 2100: change the way we check for errors after a dlopen().
2025 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
2028 o Andrew Bartlett <abartlet@samba.org>
2029 * Clarify error message when 'lanman auth = no'.
2030 * Remove the unnecessary UTF-8 conversion calls in the calls to
2031 auth_winbind from smbd.
2032 * Don't store the auth-user credentials with the cli_state* as
2033 this can cause the schannel setup to fail when the auth-user
2034 domain is not our primary domain.
2037 o Grigory Batalov <bga@altlinux.org>
2038 * Fix encoding while receiving of a message which was actually
2039 sent using STR_ASCII.
2042 o Daniel Beschorner <db@unit-netz.de>
2043 * BUG 603: Correct access mask check for _samr_lookup_domain()
2044 to work with Windows RAS server
2047 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
2048 * Fix missing printer_tdb reference decrement.
2051 o Gerald (Jerry) Carter <jerry@samba.org>
2052 * BUG 2073: fall back to smb_name if current_user_info is not
2053 available in lp_file_list_changed().
2054 * Fixes the spurious 'register_message_flags: tdb fetch failed'
2056 * Don't run the background LPQ daemon when we are running in
2058 * prevent the background LPQ daemon from updating the print queue
2059 cache just because multiple smbd processes sent a message that
2061 * consolidate printer searches to use find_service rather than
2063 * BUG 2091: don't remove statically defined printers in
2064 remove_stale_printers().
2065 * Fix logic error in add_a_form() that only compared N characters
2066 instead of the entire form name.
2067 * BUG 2107: fix memory bloating caused by large numbers of
2068 print_queue_updates() requests sent via messages.tdb.
2069 * Check the setprinter(3) based on the access permissions on
2070 the handle and avoid the call to print_access_check().
2071 * Re-instantiate previous semantics for calling init_unistr2()
2072 with a NULL source buffer.
2073 * Support Windows privilege model for assigning rights
2074 to specific SIDs. Based on work by Simo Sorce in the trunk
2075 svn branch. This feature is controlled by the 'enable
2076 privileges = [yes|no]' smb.conf(5) option.
2077 * Add some smb.conf scripts for add/delete/change shares and
2078 deleting cups printers.
2079 * Expand variables in the profile path, logon home and logon script
2080 values when using either tdbsam or ldapsam.
2081 * Add Domain Admins (Full Control) to the default printer security
2082 descriptor if we are a DC.
2083 * RedHat and Fedora Packaging fixes for perl dependencies.
2084 * Remove unused schema items from OpenLDAP schema file.
2085 * Remove duplicate enumeration of "Windows x86" architecture
2086 when listing printer drivers via rpcclient.
2087 * Fail set_privileges() if 'enable privileges = no' to prevent
2089 * Fix segfault in cups_queue_get().
2090 * Tighten restrictions on changing user passwords when
2091 the connected user possesses the SeMachineAccountPrivilege.
2092 * Ensure we set NETBIOSNAME.domainname for the long machine name
2093 when publishing printers in AD (based on input from Rob Foehl).
2094 * Mark 'winbind enable local accounts' as deprecated.
2095 * Mark testprns tool as deprecated.
2096 * Allow root to grant/revoke privilege assignments.
2097 * Correct interaction between user rights and se_access_check() on
2099 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
2101 * BUG 2262: Add support in configure.in for *freebsd6*.
2102 * BUG 2266: Portability fixes for quota code on FreeBSD4.
2103 * BUG 2264: Remove shutdown and abortshutdown commands from
2104 rpcclient in favor of using the same functions in 'net'.
2105 * BUG 2295: Prevent smbd from returning an empty server name
2106 in certain lanman api calls.
2107 * BUG 2290: Fix autogen.sh script in examples (based on original
2108 patch from Lars Mueller).
2109 * Fix bug enumerating domain trusts in security = ads.
2110 * Fix segv in rpcclient's dsenumdomtrusts.
2111 * Fix bug in expansion of %U and %G in included filenames.
2112 * BUG 2291: Restrict creation of server trust and domain trust
2113 accounts to members of the "Domain Admins" group.
2115 o Nadav Danieli <nadavd@exanet.com>
2116 * Short circuit some is_locked() tests if we are oplocked.
2119 o Guenther Deschner <gd@samba.org>
2120 * Allow 'localhost' as a valid server name in the smbd for the
2122 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
2123 Mewburn for the input).
2124 * BUG 2059: Add additional checks needed after logic change to the
2125 HAVE_WRFILE_KEYTAB detection test.
2126 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
2127 Samba DC. Allow us to lookup at least our own SID.
2128 * More fixes to have proper German in swat (Thanks to Reiner
2129 Klaproth and Björn Jacke.
2130 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
2131 setting security descriptors with smbcacls and using with
2132 the -S or -M switch.
2133 * Include the munged_dial, bad_password_count, logon_count, and
2134 logon_hours attributes when running 'net rpc vampire'.
2135 * Fix segfault in idmap_rid.
2136 * When winbindd is operating in the multi-mapping mode of
2137 idmap_rid, allow BUILTIN domain-mapping.
2138 * Display infolevel 12 in query_dom_info in rpcclient.
2139 * Fix bug in winbindd's lowercasing of usernames.
2140 * Allow -v or -l for displaying verbose groupmap-listing
2141 as well as "verbose".
2142 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
2144 * Close LDAP-Connection before retrying to open a new connection
2146 * Marking "min password length" as depreciated.
2147 * Implement SAMR query_dom_info-call info-level 8 server- and
2148 client-side, based on samba4-idl.
2149 * Allow rpcclient to define a port to use when connecting
2151 * Allow Account Lockout with Lockout Duration "forever" (until
2152 admin unlocks) to be set and displayed in User Manager.
2153 * Allow to set acb_mask in rpcclient's enumdomusers.
2154 * Add more generic rootDSE inspection function to check
2155 for given controls or extensions and remember these on a
2157 * Improve LDAP search efficiency by passing the acb_mask to
2159 * Fixes for ldapsam_enum_group_memberships().
2160 * Add createdomgroup to rpcclient.
2161 * Add "net rpc user RENAME"-command.
2162 * Display sam_user_info_7 in rpcclient.
2163 * Make multi-domain-mode in idmap_rid accessible from outside
2164 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
2165 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
2166 "Lockout Duration: Forever".
2167 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
2169 * Require assignment of Administrator SID in the passdb
2170 backend. Fall back to the default name of 'Administrator' if
2171 the lookup fails rather than using the first name in the
2172 default 'admin users' list.
2173 * Enhance LDAP failure debug messages.
2174 * BUG 2291: Call the 'add machine script' for server trust and
2175 domain trust accounts as well as workstation accounts.
2178 o Levente Farkas <lfarkas@lfarkas.org>
2179 * BUG 2299: Better logrotate scripts for RedHat and Fedora
2183 o Jay Fenlason <fenlason@redhat.com>
2184 * Fix crash in 'net join' due to calling free on
2186 * Several patches from RedHat's Fedora Core RPMS.
2189 o Rob Foehl <rwf@loonybin.net>.
2190 * Compiler warnings.
2191 * Try modifying printer published attributes before adding it a
2193 * Solaris packaging fixes.
2194 * Don't force the cups printer-make-and-model tag as the comment
2195 for autoloaded printers.
2196 * Implement caching of names from printcap to support a true
2197 'printcap cache time'.
2200 o Johann Hanne <jhml@gmx.net>
2201 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
2204 o Jeff Hardy <hardyjm@potsdam.edu>
2205 * Example script for 'add print command' when using CUPS.
2208 o Deryck Hodge <deryck@samba.org>
2209 * Add -P (--password-only-menu) to SWAT for displaying only the
2210 password change page to non-root users.
2213 o David Hu <david.hu@hp.com>
2214 * Copy structure from print_queue_update() message rather than
2215 referencing it. Fixes seg fault on HP-UX.
2218 o Buck Huppmann <buckh@pobox.com>
2219 * BUG 2186: Don't free uninitialized credentials.
2220 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
2221 dnsDomainName != realm.
2224 o Björn Jacke <bjoern@j3e.de>
2225 * BUG 2040: Ensure the locale is reset to C to get ASCII-
2226 compatible toupper/lower functions.
2229 o William Jojo <jojowil@hvcc.edu>
2230 * Fix HPUX sendfile and add configure.in tests and code for
2232 * AIX 5.3 compile fixes.
2235 o Volker Lendecke <vl@samba.org>
2236 * Optimize anonymous session setups by workstations in a
2238 * Reimplment the QueryUserAliases() server RPC reply.
2239 * Re-add the getpwnam-cache for performance.
2240 * Cache the result of a pdb_getsampwnam for later SID lookup
2242 * Unify the means of localtaing a user's global groups on a
2244 * Fix bug when serving the 'Start Menu' in a roaming user profile..
2245 * Map more pre-defined NT security descriptors to AFS acls.
2246 * Add timeout to AD search requests.
2247 * If a connection to a DC is requested (in winbindd), open
2248 connections simultaneously to all DCs found.
2250 * Fix logic error in handling of 'printcap name' parameter.
2251 * Prevent winbindd from SPAM'ing the log files with 'user root
2253 * Backport samr_DomInfo2 IDL specification from Samba 4.
2254 * Implement smbstatus -n, don't lookup users and groups.
2255 * Implement simple mapping that maps the space to another character
2256 defined by afsacl:space.
2257 * Add support for 'net idmap delete <idmap-file> <SID>'.
2258 * Add new parameter 'afs token lifetime' tells the AFS client
2259 when to throw away a token (patch from kllin@it.su.se).
2260 * Initial work to allow support for multiple pipe opens on a
2262 * Ensure that we still retrieve the netbios name of any DC
2263 listed as a 'password server' to work around cases where the
2264 DC was defined using an IP address or fqdn.
2265 * Fix memleak in winbindd connection code.
2266 * Fix cli_samr_queryuseraliases.
2267 * Allow wbinfo --user-sids to expand expand domain local groups.
2268 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2269 * Fix parsing of other_sids in net_user_info3.
2270 * Correct bad failure logic when user was not a member of any
2271 domain local groups.
2274 o Jason Mader <jason@ncac.gwu.edu>
2275 * BUG 2113, 2289: Remove dead code.
2278 o Jim McDonough <jmcd@us.ibm.com>
2279 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
2280 clients. If it fails, fall back to WINREG.
2281 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2282 * BUG 2198: Set password last change time when running 'net rpc
2284 * Add "refuse machine password change" policy field.
2287 o Luke Mewburn <lukem@NetBSD.org>
2288 * BUG 2150: shmget() - Use POSIX definitions instead of non-
2292 o Stefan Metzmacher <metze@samba.org>
2296 o Buchan Milne <bgmilne@mandrake.org>
2297 * Mandrake packaging fixes.
2300 o Lars Mueller <lmuelle@samba.org>
2301 * Fix build of libsmbclient on x86_64.
2302 * BUG 2013: Fix testsuite build issues when libsmbclient.so
2303 is installed in a non-default location.
2304 * BUG 2050: Calculate max_fd for select correctly.
2305 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
2309 o Jason Mader <jason@ncac.gwu.edu>
2310 * BUG 2069: Remove unused variables.
2311 * BUG 2075: Remove dead code paths.
2312 * BUG 2083: Fix compiler warnings caused by bad type casts.
2315 o James Peach <jpeach@sgi.com>
2316 * Fix rewinddir -> rewind_dir when using VFS macros.
2319 o Gavrie Philipson <gavrie@disksites.com>
2320 * BUG 1838: Remove stale printers imeeddiately when
2321 processing a SIGHUP and during smb.conf reload.
2324 o Tim Potter <tpot@samba.org>
2325 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2326 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2327 * Change the license for the winbindd external interface
2329 * HP-UX compile fixes.
2330 * Compile fixes after new setsampwent() API.
2333 o Richard Renard <rrenard@idealx.com>
2334 * Update Netscape DS 5.2 LDAP schema.
2337 o Simo Sorce <idra@samba.org>
2338 * Backport pdbedit changes from trunk.
2339 * Allows the add/change share command to create the shared
2340 directory directory on disk.
2341 * Log a warning in testparm if a print command is defined for
2342 a print service using 'printing = cups'.
2344 o Jelmer Vernooij <jelmer@samba.org>
2345 * Bug fixes for pdb_{xml,pqsql,xml}
2346 * Fixes for pdb_mysql.
2349 o Andrew Tridgell <tridge@samba.org>
2350 * Bring Samba3 into line with the Samba4 password change code.
2353 o Shiro Yamada <shiro@miraclelinux.com>
2354 * BUG 2190: Force SWAT to display parameters in unix charset and
2358 --------------------------------------------------
2359 ==============================
2360 Release Notes for Samba 3.0.10
2362 ==============================
2364 Common bugs fixed in 3.0.10 include:
2366 o Fix for security issues described in CAN-2004-1154.
2375 o Jeremy Allison <jra@samba.org>
2376 * Added checks surrounding all *alloc() calls to fix
2378 * Fix long standing memory size bug in bitmap_allocate().
2379 * Remove bogus error check in deferred open file serving
2383 o Thomas Bork <tombork@web.de>
2384 * Fix autoconf script on platforms using a version of GNU ld
2385 that does not include a date stamp in the output of --version.
2388 o Luke Mewburn <lukem@NetBSD.org>
2389 * Fix the swat install script to deal with the new image
2390 destination directory used by the docs.
2394 --------------------------------------------------
2396 =============================
2397 Release Notes for Samba 3.0.9
2399 =============================
2401 Common bugs fixed in 3.0.9 include:
2403 o Problem updating roaming user profiles.
2404 o Crash in smbd when printing from a Windows 9x client.
2405 o Unresolved symbols in libsmbclient which caused
2406 applications such as KDE's konqueror to fail when
2407 accessing smb:// URLs.
2417 o Jeremy Allison <jra@samba.org>
2418 * Correctly detect errno for no acl/ea support.
2419 * BUG 2036: Fix seg fault in 'net ads join'.
2422 o Gerald (Jerry) Carter <jerry@samba.org>
2423 * Solaris packaging fixes.
2424 * Fix seg fault in lanman printing code.
2425 * BUG 2017: fix testparm reporting for the passwd program
2427 * Fix output of smbstatus to match the man page.
2428 * BUG 2027: fix conflict with declaration MD5_CTX in system
2430 * 2028: Avoid false error messages when copying a long
2431 printer name to the device mode.
2434 o Guenther Deschner <gd@samba.org>
2435 * Allow deldriverex in rpcclient to delete drivers for a
2436 specific architecture and a specific version.
2437 * Fix a couple of rpcclient spoolss commands (setprinter,
2438 setprintername, getdriver) w.r.t to printer-naming scheme.
2439 Allow 'localhost' in the server string for certain server-side
2441 * BUG 2015: Do not fail on setting file attributes with
2442 acl support enabled.
2445 o Michel Gravey <michel.gravey@optogone.com>
2446 * Fix build when using gcc 3.0.
2449 o Volker Lendecke <vl@samba.org>
2450 * Fix tdb open logic when checking our local_pid after
2454 o Jim McDonough <jmcd@us.ibm.com>
2455 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2459 o Luke Mewburn <lukem@NetBSD.org>
2460 BUG 1661: Fix KRB5_SETPW-defines
2463 o Buchan Milne <bgmilne@mandrake.org>
2464 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2467 o Lars Mueller <lmuelle@samba.org>
2468 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2471 o Martin Zielinski <mz@seh.de>
2472 * Add DeletePrinterDriverEx() functionality to rpcclient.
2475 --------------------------------------------------
2477 =============================
2478 Release Notes for Samba 3.0.8
2480 =============================
2482 Common bugs fixed in 3.0.8 include:
2484 o Compile fixes for HP-UX
2485 o Fixes for the printer publishing code used when joined to
2487 o Incompatibilities with file system quotas.
2488 o Several bugs in the spoolss printing code and print system
2490 o Inconsistencies in the username map functionality when
2491 configured on domain member servers.
2492 o Various compile warnings and errors on various platforms.
2493 o Fixes for kerberos interoperability with Windows 200x
2494 domains when using DES keys.
2495 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2496 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2499 New features included in the 3.0.8 release are:
2501 o New migration functionality added the the net tool
2502 for files/directories, printers, and shares.
2503 o New experimental idmap backend for assigning uids/gids
2504 directly based on the user/group RID when acting as a
2505 member of single domain without any trusts.
2506 o Additional printer migration support for XP/2003 platforms.
2509 ===========================
2510 Change in Winbindd Behavior
2511 ===========================
2513 All usernames returned by winbindd are now converted to lower
2514 case for better consistency. This means any winbind installation
2515 relying on the winbind username will need to rename existing
2516 directories and/or files based on the username (%u and %U) to lower
2517 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
2518 include mail spool files, home directories, valid user lines in
2522 ======================
2523 Change in Username Map
2524 ======================
2526 Previous Samba releases would only support reading the fully qualified
2527 username (e.g. DOMAIN\user) from the username map when performing a
2528 kerberos login from a client. However, when looking up a map
2529 entry for a user authenticated by NTLM[SSP], only the login name would be
2530 used for matches. This resulted in inconsistent behavior sometimes
2531 even on the same server.
2533 Samba 3.0.8 obeys the following rules when applying the username
2536 * When performing local authentication, the username map is
2537 applied to the login name before attempting to authenticate
2539 * When relying upon a external domain controller for validating
2540 authentication requests, smbd will apply the username map
2541 to the fully qualified username (i.e. DOMAIN\user) only
2542 after the user has been successfully authenticated.
2545 ######################################################################
2554 Parameter Name Action
2555 -------------- ------
2556 force printername New
2557 sendfile disabled by default
2563 o Jeremy Allison <jra@samba.org>
2564 * Ensure extended security bit is on only if we negotiated
2566 * Simplify statcache to use an in-memory tdb.
2567 * If you're selecting a hash algorithm for tdb, you need
2568 to do it at open time.
2569 * Removed old dir caching code - not being used now we
2570 have the statcache anyway.
2571 * Simplify the mangle hash code to use an in-memory tdb.
2572 * Merge iconv changes from Samba 4 branch.
2573 * Fix parsing of names ending in dot and a few other error
2575 * BUG 1667: Smbpasswd file could be left locked on some
2577 * Fixes for smbclient tar functionality.
2578 * BUG 1743: Fix logic bug the deferred open code.
2579 * Don't try to set security descriptors on shares where
2580 this has been turned off.
2581 * Return correct error codes on old SEARCH call.
2582 * Ensure we set errno = E2BIG when we overflow in the
2583 fast-path character conversion code.
2584 * Fix the roundup problem (returning 1mb roundup) for
2585 non-Windows clients.
2586 * Added 'stat' command to smbclient to exercise the
2587 UNIX_FILE_BASIC info level.
2588 * Fix bug where we could incorrectly set sparse attribute.
2589 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2590 (reported by Taj Khattra <taj.khattra@gmail.com>).
2591 * Remove locked keys tdb code.
2592 * BUG 1886: Prevent delete on close being set for readonly files
2593 (and return the correct error code).
2594 * Ensure we pass most of the new lock tests except for the cancel
2595 lock which is yet to be added (merged from Samba 4 branch).
2596 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2597 * BUG 1956: Ensure errno is saved and restored consistently on a
2599 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
2600 that all of the appropriate service principal names are set
2601 upon joining an AD domain.
2602 * Fix the correct use of resume name in the trans2 code.
2603 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2604 correct salt used when generated the DES key after joining an
2606 * Enhanced krb5 detection routines in the autoconf scripts.
2609 o Andrew Bartlett <abartlet@samba.org>
2610 * Avoid changing the machine account password in the passdb
2611 backend, when it has 'already been changed'. This occurs
2612 in situations where the secure channel between the workstation
2613 and the DC breaks down, such as occurred in the MS04-11
2615 * Fix utility name in error message in ntlm_auth.
2616 * Fix NTLMv2 for use with pam_winbind.
2617 * Remove conversion to and from UTF8 on the winbind pipe.
2618 * Allow 'require_membership_of' and 'require-membership-of'.
2619 * Fix the error code for 'you didn't specify a domain' in
2621 * Use sys_getgroups() rather than scanning all groups
2622 when generating SAMR replies.
2625 o Igor Belyi <sambauser@katehok.ac93.org>
2626 * Ensure pdb user is deleted first before deleting UNIX
2627 user (LDAP backend needs this ordering).
2630 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
2631 * Fix core dump in 'net rpc vampire'.
2634 o Vince Brimhall <vbrimhall@novell.com>
2635 * Make ldapsam_compat robust against NULL attributes.
2638 o Gerald Carter <jerry@samba.org>
2639 * Don't limit the number of groups returned by winbindd_getgroups()
2641 * BUG 1519: Match Windows 2000 behavior when opening a
2642 printer using a servername in the form of an IP address or
2644 * BUG 1907: remove extra slashes from the printer name in
2645 getprinterdriverdir_1().
2646 * Fix standard_sub_snum() to use the current user's gid.
2647 * Fix background queue update bug (based on Volker's initial work
2649 * Add 'force printername' service parameter for people that want
2650 to enforce printername == sharename for spoolss printing.
2651 * Ensure consistent usage of the username map. Use the fully
2652 qualified DOMAIN\user format for 'security = domain|ads' and
2653 apply after authentication has succeeded.
2654 * Cosmetic fix for getent output -- lowercase the username only
2655 and not the complete domain\username string.
2656 * Packaging fixes for Solaris, Redhat, & Fedora.
2659 o Sean Chandler <sean.chandler@verizon.net>
2660 * Fix memlieak in cliconnect.c.
2663 o Darren Chew <darrenc@vicscouts.asn.au>
2664 * Solaris packaging fixes.
2667 o Nalin Dahyabhai <nalin@redhat.com>
2668 * SMB signing fix for 56-bit DES session keys.
2671 o Guenther Deschner <gd@samba.org>
2672 * add IA64 to the architecture table of printer-drivers.
2673 * Add file/share/printer migration functionality to
2675 * Show correct help for net groupmap commands.
2676 * Fix deadlock loop in winbind's required_membership_sid
2678 * Bring the same level of "required_membership"-functionality
2679 that ntlm_auth uses, to pam_winbindd as well.
2680 * Prevent "net lookup kdc" from seg-faulting when
2681 using our own implementation of krb5_lookup_kdc with
2683 * Adding getprinter level 7 to rpcclient.
2684 * Support migrating printers|shares|files from Server A
2685 to Server B while running the net-command on client C.
2686 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
2687 failure of this call non-critical (Thanks to Love @ Heimdal
2688 for the explanation and patch).
2689 * Fix typos in net's usage-output.
2690 * Fix the paranoia-check to ensure the ldap-attribute and the
2691 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
2693 * Fix several bugs in the _samr_query_useraliases() rpc reply.
2694 * Check correct string length when verifying password-policies
2695 and using extended characters (Thanks to Uwe Morgenroth from CC
2696 Compunet and Volker).
2697 * Make 'password history'-behavior in ldapsam more consistent.
2698 * Adding "Windows x64" as architecture string and driverdir "x64"
2699 for the 64bit AMD platform.
2700 * BUG 1343: Readd WKGUID-binding to match the correct default-
2701 locations of new User-, Group- and Machine-Accounts in Active
2702 Directory (this got lost during the last trunk-merge).
2703 * Fix printer-migration w.r.t. to new naming-convention for
2705 * Allow to migrate win2k3/xp-drivers as well.
2706 * Add client-side support of triggering ads printer publishing
2707 over msrpc setprinter calls inside the net-tool.
2708 * Add the idmap_rid module (written in conjunction with
2709 Sumit Bose <sbose@suse.de>).
2710 * BUG 1661: Fix build with recent heimdal releases.
2711 * Prevent idmap_rid from making unnecessary calls to domain
2712 controllers for trusted domains.
2715 o Arthur van Dongen <avdongen@xs4all.nl>
2716 * Fix typos in pam_winbind log messages and SuSE
2720 o Rob Foehl <rwf@loonybin.net>
2721 * Typo fixes for log messages in printer publishing code.
2722 * Fix memory leak in printer publishing code.
2723 * Ensure print_backend_init() only gets called once.
2724 * Have smbd check the published status of all printers
2726 * Cleanup up the XXX_a_printer() API for consistency.
2727 * Refactored the printer publishing code and include better
2731 o Steve French <sfrench@us.ibm.com>
2732 * Fix IP address override in mount.cifs mount helper and clean
2733 up warning messages from the sparse tool and expand syntax help.
2734 * Strip guest mount option off before sending to kernel mount
2735 routine to avoid logging spurious message.
2738 o Satoh Fumiyasu <fumiya@samba.gr.jp>
2739 * BUG 1732: Limit share names returned by RAP based on windows
2740 character width, not unix character width.
2741 * BUG 1498: Ensure that acl entries are stored in the correct
2745 o Brett Funderburg <brett@deepfile.com>
2746 * Pass create options parameter to nt_create_andx() function
2747 from the python bindings.
2748 * BUG 1864: Add sd->type field to security descriptor Python
2750 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2751 when trying to return the security descriptor for a file.
2752 * BUG 1884: Fixes for the Python bindings to use the value
2753 of the desired_access filed passed into the lsa_open_policy()
2757 o Michael Gravey <michel.gravey@optogone.com>
2758 * BUG 1776: Fix warnings when building modules caused by
2759 certain versions of GNU ld not using the the default
2760 --allow-shlib-undefined flag.
2763 o Chris Hertel <crh@samba.org>
2764 * Fix logic bug in splay tree data structure when finding
2766 * Fix bug where an invalid MAC address would be printed by
2767 a node status lookup from nmblookup.
2770 o Uli Iske <iske@elkb.de>
2771 * Update the DNS/eDirectory LDAP schema file.
2774 o Björn Jacke <bjacke@sernet.de>
2775 * BUG 1766: Unify charset-handling in Content-Type:-headers to
2776 UTF-8. Reformat msgstr in msg-files to UTF-8.
2777 * Do not use display charset for swat output.
2778 * Convert the share names correctly from unix encoding to web
2779 encoding and vice versa.
2780 * Convert files from status page from unix charset to UTF-8.
2783 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2784 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2787 o Tom Lackemann <cessnatomny@yahoo.com>
2788 * BUG 1954: Fix memory leak in posix acl code.
2791 o Volker Lendecke <vl@samba.org>
2792 * Robustnss fix for winbindd when sending multiple requests
2793 at a high rate for a slow operation.
2794 * Solve the problem of user sids ending up with gid's
2796 * Use sys_fork instead of fork for the dual daemon so that
2797 we get the correct debug pid in the logfiles.
2798 * Based on patch from jmcd, implement special lists for the LDAP
2799 user attributes to delete.
2800 * Fix creation of aliases via usrmgr. Winbind was too strict
2801 checking the type of sids.
2802 * Lowercase all usernames returned by winbind.
2803 * BUG 1545, 1823: Only issue the ldap extended password change
2804 operation if the ldap server supports it. Also ignore object
2805 class violation errors from the extended operation.
2806 * Optimization for 'idmap backend = ldap': When asking sid2id
2807 for the wrong type, don't ask ldap when we have the opposite mapping
2809 * Fix ldapsam_compat homeDrive.
2810 * Add usersidlist and allowedusers subcommands to the net tool
2811 in order to support scanning a file server's share and list
2812 all users who have permission to connect there.
2813 * Allow for multiple DC's to be named as #1c names in lmhosts.
2814 * Memory leak fixes.
2815 * Fix checks for the local pid of an smbd process after
2819 o Herb Lewis <herb@samba.org>
2820 * Added tdbtool to be built by default.
2823 o Love <lha@stacken.kth.se>
2824 * BUG 1955: Inconsistent error return.
2827 o Sorin Manolache <sorinm@gmail.com>
2831 o Jim McDonough <jmcd@us.ibm.com>
2832 * Allow 'net ads lookup' to rely on command line arguments
2833 if contacting an ADS server fails; utilize cldap for lookups.
2834 * Fixup formatting errors in TDB_LOG calls; add printf attribute
2835 support to tdb log functions.
2838 o Bill McGonigle <bill+samba@bfccomputing.com>
2839 * BUG 1926: Type in debug message.
2843 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2847 o Luke Mewburn <lukem@NetBSD.org>
2848 * BUG 1782: Prevent testparm from displaying parameter synonyms.
2851 o Stefan Metzmacher <metze@samba.org>
2852 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2853 * Fix client quota support.
2854 * Fix opening of system quota file.
2857 o Lars Mueller <lmuelle@samba.org>
2858 * Small fixes for autogen.sh to deal with version detection
2859 of autoconf and autoheader; fixes for examples using
2860 libtool to adhere to stricter syntax of newer version.
2863 o Henrik Nordstrom <hno@squid-cache.org>
2864 * Allow winbindd to return the correct number of groups
2865 when the groups array must be enlarged.
2868 o Narayana Pattipati <narayana.pattipati@wipro.com>
2869 * Solaris autoconf detection fixes.
2872 o Tim Potter <tpot@samba.org>
2873 * BUG 1360: (correct fix) Use -Wl when passing flags to
2875 * HP-UX compile fixes (from JBravo on #samba-technical).
2876 * BUG 1731: More HP-UX compiles fixes.
2877 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
2878 spits the dummy otherwise.
2879 * Fix bug in Python printerdata wrapper.
2880 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
2881 <bugzilla-samba@thewrittenword.com>).
2882 * Fix parameter confusion in priming of name-to-sid cache
2883 (Found by Qiao Yang).
2884 * BUG 1888: Remove '..' from all pre-processor commands.
2885 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
2889 o Matt Selsky <selsky@columbia.edu>
2890 * BUG 350: use autoconf 2.57 feature for checking header file
2891 preprocessing (fixes configure warnings on Solaris).
2894 o Richard Renard <rrenard@idealx.com>
2895 * Fix usermgr.exe and trust relationships.
2898 o Paul Szabo <psz@maths.usyd.edu.au>
2899 * Fix to make find_workgroup use the same
2900 truncation as create_workgroup.
2903 o Richard Sharpe <rsharpe@samba.org>
2904 * Ensure cli_write() can support writes >= 65536 bytes.
2907 o Simo Sorce <idra@samba.org>
2908 * Added check password script code in examples/auth/crackcheck/
2909 * Fix memory corruption bug caused in freeing static memory.
2912 o Andrew Tridgell <tridge@samba.org>
2913 * Remove lp_use_mmap() from map_file() since the latter
2914 is for read only and does not require coherence.
2915 * Ensure that the uuid pack/unpack routines do not go past
2916 the end of the structure.
2917 * Converted Samba 3 tree to use the new utf-16 aware iconv
2919 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2920 * Ensure configure only uses '=' instead of the bashism '=='.
2921 * Reduces the number of tdb locking calls made on file IO.
2924 o Jelmer Vernooij <jelmer@samba.org>
2925 * Convert internal data to UTF-8 before calling libxml2.
2926 * Complain if 'password chat' doesn't contain the %u variable
2927 (based on a patch by Ronan Waide).
2931 * BUG 1541: Fix recursive ls in smbclient.
2934 o Igor Zhbanov <bsg@uniyar.ac.ru>
2935 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
2938 --------------------------------------------------
2940 =============================
2941 Release Notes for Samba 3.0.7
2943 =============================
2945 Common bugs fixed in 3.0.7 include:
2947 o Fixes for two Denial of Service vulnerabilities
2948 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2949 o Winbind failure to return user entries under certain
2951 o Syntax errors in the OpenLDAP schema file (samba.schema).
2952 o Printing errors caused by not setting default values
2953 for the various printing commands.
2962 Parameter Name Action
2963 -------------- ------
2964 winbind enable local accounts disabled by default
2969 o Jeremy Allison <jra@samba.org>
2970 * Fix parsing of names ending in dot and a few other error
2972 * BUG 1674: Move the symlinks checks into reduce_name().
2973 * Fix memleak when checking the valid names smb.conf option.
2974 * Fix memleak on error return path in the file open code.
2975 * More paranoia checks in the hash2 mangling code.
2976 * Fix syntax error in configure.in.
2977 * Match Win2k3's behavior for pathname parsing error returns.
2978 * Make nmbd more robust against bad netbios packets
2980 * Add more checks for invalid ASN.1 packets for SPNEGO packets
2984 o Andrew Bartlett <abartlet@samba.org>
2985 * Janitor work in loadparm.c -- remove unused parameters.
2988 o Gerald Carter <jerry@samba.org>
2989 * BUG 1464: Ensure that printing commands are initialized even
2990 if the 'printing' parameter is not explicitly set.
2991 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
2992 Adharsh Praveen <rprav@india.hp.com>)
2993 * Work around parsing error in the print change notify code.
2994 * remove duplicate declaration of getprintprocdir from
2996 * Only use sAMAccountName and not userPrincipalName when looking
2997 up a username in AD since the breaks winbindd (lookup_name()
2998 only works with the sAMAccountName).
2999 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
3000 filling in the username in the user_info3.
3001 * Fix logic bug in the check for creating a user's home directory
3002 in register_vuid(); caused home directory to be mismatched to
3003 the first share in smb.conf under certain conditions.
3004 * BUG 1656: rename auto.a to auto.smb.
3005 * Ensure that we assign our pid to print jobs (and not our
3006 parent's pid); ensures that spooling jobs from dead smbds
3007 are removed from the tdb.
3008 * Disable 'winbind enable local accounts' by default.
3009 * Adding some initial checks for DragonFly (same as
3013 o Guenther Deschner <gd@samba.org>
3014 * Use SMB_ASSERT() to track down NULL printer names in
3016 * Revert fix for BUG 1474 to avoid unnecessary packaging
3020 o Olaf Flebbe <o.flebbe@science-computing.de>.
3021 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
3023 * BUG 1626: More compile fixes.
3026 o Rob Foehl <rwf@loonybin.net>
3027 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
3028 by attempts to sanitize the defined attributes.
3031 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3032 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
3035 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
3036 * BUG 1657: Remove used initialized variable,
3037 * BUG 1658: Add a little bit of const.
3040 o Volker Lendecke <vl@samba.org>
3041 * If there's garbage in the pidfile, we should not panic
3042 but assume that no one else is around. We can't find the
3046 o Jim McDonough <jmcd@us.ibm.com>
3047 * Fixup format string in the tdb error messages.
3050 o Jonas Olsson <lexicon@lysator.liu.se>
3051 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
3052 reporting the list in usrmgr.exe.
3055 o Tim Potter <tpot@samba.org>
3056 * Fix out-of-tree builds (problem with the script to generate
3057 the svn version number).
3058 * BUG 1360: Need to use -Wl when passing flags to the linker.
3059 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
3060 doesn't have one of its own.
3062 o Simo Sorce <idra@samba.org>
3063 * Fixup compile issues on AIX caused by broken strlen() and
3065 * Update debian packaging files.
3068 o Dimitri van der Spek <dwspek@aboveit.nl>
3069 * Use the correct counter when copying group rids from the
3070 user_info3 struct in pam_winbind.
3073 o Qiao Yang <qyang@stbernard.com>
3074 * BUG 1622: Only cache the user
3077 --------------------------------------------------
3079 =============================
3080 Release Notes for Samba 3.0.6
3082 =============================
3084 Common bugs fixed in 3.0.6 include:
3086 o Schannel failure in winbindd.
3087 o Numerous memory leaks.
3088 o Incompatibilities between the 'write list' and 'force user'
3090 o Premature optimization of the open_directory() internal
3091 function that broke tools such as the ArcServe backup
3092 agent, Macromedia HomeSite, and Robocopy.
3093 o Corrupt workgroup names in nmbd's browse.dat.
3094 o Sharing violation errors commonly seen when opening
3095 when serving Microsoft Office documents from a Samba
3097 o Browsing problems caused by an apostrophe (') in the
3098 computer's description field.
3099 o Problems creating special file types from UNIX CIFS
3100 clients and enabling 'unix extensions'.
3101 o Fix stalls in smbd caused by inaccessible LDAP servers.
3102 o Remove various memory leaks.
3103 o Fix issues in the password lockout feature.
3105 New features introduced in this release include:
3107 O Support symlinks created by CIFS clients which
3108 can be followed on the server.
3109 o Using a cups server other than localhost.
3110 o Maintaining the service principal entry in the system
3111 keytab for integration with other kerberized services.
3112 Please refer to the 'use kerberos keytab' entry in
3113 smb.conf(5). When using the heimdal kerberos libraries,
3114 you must also specify the following in /etc/krb5.conf:
3116 default_keytab_name = FILE:/etc/krb5.keytab
3117 o Support for maintaining individual printer names
3118 stored separately from the printer's sharename.
3119 o Support for maintaining user password history.
3120 o Support for honoring the logon times for user in a
3124 ============================================
3125 unix extensions = yes (default) and symlinks
3126 ============================================
3128 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
3129 clients supporting the UNIX extensions to the CIFS protocol
3130 can create symlinks to absolute paths which will be **followed**
3131 by the server. This functionality has been requested in order
3132 to correctly support certain applications when the user's home
3133 directory is mounted using some type of CIFS client (e.g. the
3134 cifsvfs in the Linux 2.6 kernel).
3136 If this behavior is not acceptable for your production environment
3137 you can set 'wide links = no' in the specific share declaration in
3138 the server's smb.conf. Be aware that disabling wide link support
3139 out of a share in Samba may impact the server's performance due
3140 to the fact that smbd will now have to check each path additional
3141 times before traversing it.
3144 ========================
3145 Password History Support
3146 ========================
3148 The new password history feature allows smbd to check the new
3149 password in password change requests against a list of the user's
3150 previous passwords. The number of previous passwords to save can
3151 be set using pdbedit (4 in this example):
3153 root# pdbedit -P "password history" -C 4
3155 When using the ldapsam passdb backend, it is vital to secure the
3156 following attributes from access by non-administrative users:
3160 * sambaPasswordHistory
3162 You should refer to your directory server's documentation on how
3163 to implement this restriction.
3172 Parameter Name Action
3173 -------------- ------
3175 defer sharing violations New
3176 force unknown acl user New
3178 printcap cache time New
3179 use kerberos keytab New
3183 o Jeremy Allison <jra@samba.org>
3184 * Correct path parsing bug that broke DeletePrinterDriverEx().
3185 * Fix bugs in check_path_syntax() caught by asserts.
3186 * Internal change - rearrange internal global case setting
3187 variables to a per connection basis.
3188 * BUG 1345: Fix premature optimization in unix_convert().
3189 * Allow clients to truncate a locked file.
3190 * BUG 1319: Always check to see if a user as write access
3191 to a share, even when 'force user' is set.
3192 * Fix specific case of open that doesn't cause oplock break,
3193 or share mode check.
3194 * Correct sid type is WKN_GROUP, not alias. Added some
3195 more known types (inspired by patch from Jianliang Lu).
3196 * Allow creation of absolute symlink paths via CIFS clients.
3197 * Fix charset bug in when invoking send_mailslot().
3198 * When using widelinks = no, use realpath to canonicalize
3199 the connection path on connection create for the user.
3200 * Enhance stat open code.
3201 * Fix unix extensions mknod code path.
3202 * Allow unix domain socket creation via unix extensions.
3203 * Auto disable the 'store dos attribute' parameter if the
3204 underlying filesystem doesn't support EAs.
3205 * Implement deferred open code to fix a bug with Excel files
3207 * BUG 1427: Catch bad path errors at the right point. Ensure
3208 all our pathname parsing is consistent.
3209 * Fix SMB signing error introduced by the new deferred open
3211 * Change default setting for case sensitivity to "auto". (see
3212 commit message -- r1154 -- for details).
3213 * Add new remote client arch -- CIFSFS.
3214 * Allow smbd to maintain the service principal entry in the
3215 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
3216 Guenther Deschner, et. al.).
3217 * Fix longstanding memleak bug with logfile name.
3218 * Fix incorrect type in printer publishing (struct uuid,
3220 * Heimdal compile fixes after introduction of the new ketyab
3222 * Ensure we check attributes correctly on rename request.
3223 * Ensure we defer a sharing violation on rename correctly.
3224 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
3226 * Fix bogus error message when using "mangling method = hash"
3228 * Turn on sendfile by default for non-Win9x clients.
3229 * Handle non-io opens that cause oplock breaks correctly.
3230 * Ensure ldap replication sleep time is not more than 5 seconds.
3231 * Add support for storing a user's password history.
3232 LDAP portion of the code was based on a patch from
3233 Jianliang Lu <j.lu@tiesse.com>.
3234 * Correct memory leaks found in the password change code.
3235 * Fix support for the mknod command with the Linux CIFS client.
3236 * Remove support for passing the new password to smbpasswd
3237 on the command line without using the -s option.
3238 * Ensure home directory service number is correctly reused
3239 (inspired by patches from Michael Collin Nielsen
3240 <michael@hum.aau.dk>).
3241 * Fix to stop printing accounts from resetting the bas
3242 password and account lockout flags.
3243 * If a account was locked out by an admin (and has a bad
3244 password count of zero) leave it locked out until an admin
3245 unlocks it (but log a message).
3246 * Ensure we return the same ACL revision on the wire that
3248 * BUG 1578: Hardcode replacement for invalid characters as '_'
3249 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3250 * Fix hashed password history for LDAP backends.
3251 * Enforce logon hours restrictions if confiogured (based on code
3252 from Richard Renard <rrenard@idealx.com>).
3253 * BUG 1606: Force smbd to disable sendfile with DOS clients
3254 and ensure that the chained header is filled in for ...&X
3256 * BUG 1602: Fix access to shares when all symlink support
3261 o Tom Alsberg <alsbergt@cs.huji.ac.il>
3262 * Allow pdbedit to export a single user from a passdb backend.
3265 o Andrew Bartlett <abartlet@samba.org>
3266 * Fix parsing bug in GetDomPwInfo().
3267 * Fix segfault in 'ntlm_auth --diagnostics'.
3268 * Re-enable code to allow sid_to_gid() to perform a group
3269 mapping lookup before checking with winbindd.
3270 * Fix memory leak in the trans2 signing code.
3271 * Allow more flexible GSS-SPENGO client and server operation
3273 * Improve smbd's internal random number generation.
3274 * Fix a few outstanding long password changes in smbd.
3275 * Fix LANMAN2 session setup code.
3278 o Eric Boehm <boehm@nortelnetworks.com>
3279 BUG 703: Final touches on netgroup case lookups.
3282 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3283 * Ensure error status codes don't get overwritten in
3284 lsa_lookup_sids() server code.
3285 * Correct bug that caused smbd to overwrite certain error
3286 codes when returning up the call stack.
3287 * Ensure the correct sid type returned for builtin sids.
3290 o Gerald Carter <jerry@samba.org>
3291 * Fix a few bugs in the Fedora Packaging files.
3292 * Fix for setting the called name to by our IP if the
3293 called name was *SMBSERVER and *SMBSERV. Fixes issue
3294 with connecting to printers via \\ip.ad.dr.ess\printer
3296 * BUG 1315: fix for schannel client connections to servers
3297 when we haven't specifically negotiated AUTH_PIPE_SEAL.
3298 * Allow PrinterDriverData valuenames with embedded backslashes
3299 (Fixes bug with one of the Konica Fiery drivers).
3300 * Fixed string length miscalculation in netbios names that
3301 resulted in corrupt workgroup names in browse.dat.
3302 * When running smbd as a daemon, launch child smbd to update
3303 the lpq cache listing in the background.
3304 * Allow printers "Printers..." folder to be renamed to a string
3305 other than the share name.
3306 * Allow winbindd to use domain trust account passwords when
3307 running on a Samba DC to establish an schannel to remote
3309 * Fix bad merge and ensure that we always use tdb_open_log()
3310 instead of tdb_open_ex() (the former call enforce the 'use
3312 * BUG 1221: revert old change that used single and double
3313 quotes as delimeters in next_token(), and change
3314 print_parameter() to print out parm values surrounded by
3315 double quotes (instead of single quotes).
3316 * Prevent home directories added during the SMBsesssetup&X from
3317 being removed as unused services.
3318 * Invalidate the print object cache for open printer handles when
3319 smbd receives a message that an attribute on a given printer
3321 * Cause the configure script to exit if --enable-cups[=yes] is
3322 defined and the system does not have the cups devel files
3324 * BUG 1297: Prevent map_username() from being called twice
3326 * Ensure that we use the userPrincipalName AD attribute
3327 value for LDAP SASL binds.
3328 * Ensure we remove the tdb entry when deleting a job that
3330 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
3331 client sends a FindNextPrintChangeNotify() request without
3332 previously sending a FindFirstPrintChangeNotify(). Return
3333 the same error code as Windows 2000 SP4.
3334 * BUG 1516: Manually declare ldap_open_with_timeout() to
3335 workaround compiler errors on IRIX (or other systems without
3337 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
3339 * Corrected syntax error in the OID for sambaUnixIdPool,
3340 sambaSidEntry, & sambaIdmapEntry object classes.
3341 * Tighten the cache consistency with the ntprinters.tdb entry
3342 an the in memory cache associated with open printer handles.
3343 * Make sure that register_messages_flags() doesn't overwrite
3344 the originally registered flags.
3347 o Fabien Chevalier <fabien.chevalier@supelec.fr>
3348 * Debian BUG 252591: Ensure that the return value from the
3349 number of available interfaces is initialized in case no
3350 interfaces are actually available.
3353 o Guenther Deschner <gd@sernet.de>
3354 * Implement 'rpcclient setprintername'.
3355 * Add local groups to the user's NT_TOKEN since they are
3356 actually supported now.
3357 * Heimdal compile fixes after introduction of the new keytab
3359 * Correctly honor the info level parameter in 'rpcclient
3361 * Reintroduce 'force unknown acl user' parameter. When getting a
3362 security descriptor for a file, if the owner sid is not known,
3363 the owner uid is set to the current uid. Same for group sid.
3364 * Ensure that REG_SZ values in the SetPrinterData actually
3365 get written in UNICODE strings rather than ASCII.
3366 * Ensure that the last kerberos error return is not invalid.
3367 * Display share ACL entries from rpcclient.
3368 * Correct infinite loop in pam_winbind's verification of
3369 group membership in the 'other sids' field in the user_info3
3373 o Fabian Franz <FabianFranz@gmx.de>
3374 * Support specifying a port in the device URL passed to smbspool.
3377 o Steve French <sfrench@us.ibm.com>
3378 * Handle -S and user mount parms in mount.cifs.
3379 * Fix user unmount of shares mount with suid mount.cifs.
3380 * prevent infinite recusion in reopen_logs() when expanding
3381 the smb.conf variable %I.
3384 o Bjoern Jacke <bj@sernet.de>
3385 * Install libsmbclient into $(LIBDIR), not into hard coded
3386 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
3387 and an explicit configure --libdir setting.
3390 o <kawasa_r@itg.hitachi.co.jp>
3391 * Correct more memory leaks and initialization bugs.
3392 * Fix bug that prevented core dumps from being generated
3394 * Connect to the winbind pipe in non-blocking mode to
3395 prevent processes from hanging.
3396 * Memory leak fixes.
3399 o Stephan Kulow <coolo@suse.de>
3400 * Fix crash bug in libsmbclient.
3403 o Volker Lendecke <vl@samba.org>
3404 * Added vfs_full_audit module.
3405 * Add vfs_afsacl.c which can display & set AFS acls via
3406 the NT security editor.
3407 * Fix crash bug caused by trying to Base64 encode a NULL string.
3408 * Fix DOS error code bug in reply_chkpath().
3409 * Correct misunderstanding of the max_size field in
3410 cli_samr_enum_als_groups; it is more like an account_control
3411 field with individual bits what to retrieve.
3412 * Implement 'net rpc group rename' -- rename domain groups.
3413 * Implement the 'cups server' option. This makes it possible
3414 to have virtual smbd's connect to different cups daemons.
3415 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3416 * Fix sid_to_gid() calls in winbindd to prevent loops.
3417 * Ensure that local_sid_to_gid() sets the type of the group on
3419 * Make sure that the clients are given back the IP address to
3420 which they connected in the case of a multi-homed host. Only
3421 affects strings the spoolss printing replies.
3422 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3423 did not ask for the modifyTimestamp attribute, so it could
3424 not find it. Try not to regress by not putting that attrib
3425 in the main list but append it manually for the relevant searches.
3426 * Fix two memleaks in login_cache.c.
3427 * fixes memory bloat when unmarshalling strings.
3428 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3429 * Fix the build for systems without kerberos headers.
3430 * Allow winbindd to handle authentication requests only when
3431 started without either an 'idmap uid' or 'idmap gid' range.
3432 * Fix the build for systems without ldap headers.
3433 * Fix interaction between share security descriptor and the
3434 'read only' smb.conf option.
3435 * Fix bug that caused _samr_lookupsids() with more than 32 (
3436 MAX_REF_DOMAINS) SIDs to fail.
3437 * Allow the 'idmap backend' parameter to accept a list of
3438 LDAP servers for failover purposes.
3439 * Revert code in smbd to remove a tdb when it has become
3441 * Add paranoid checks when mapping SIDs to a uid/gid to
3442 ensure that the type is correct.
3443 * Initial work on getting client support for sending mailslot
3445 * Add 'ldap timeout' parameter.
3446 * Dont always uppercase 'afs username map'.
3447 * Expand aliases for getusersids as well.
3448 * Improved NT->AFS ACL mapping VFS module.
3451 o Herb Lewis <herb@samba.org>
3452 * Add the acls debug class.
3453 * Fix logic bug in netbios name truncate routine.
3454 * Fix smbd crash caused by smbtorture IOCTL test.
3455 * Fix errno tromping before calling iconv to reset the
3457 * need to leave empty dacl so we can remove last ACE.
3460 o Jianliang Lu <Jianliang.Lu@getronics.com>
3461 * Fix to stop smbd hanging on missing group member in
3463 * Make sure Samba returns the correct group types.
3464 * Reset the bad password count password counts upon a successful login.
3467 o Jason Mader <jason@ncac.gwu.edu>
3468 * BUG 1385: Don't use non-consts in a structure initialization.
3471 o Jim McDonough <jmcd@us.ibm.com>
3472 * BUG 1279: SMBjobid fix for Samba print servers running on
3473 Big-Endian platforms.
3476 o Joe Meadows <jameadows@webopolis.com>
3477 * Add optional timeout parameter to ldap open calls.
3478 * Allow get_dc_list() to check the negative cache.
3481 o Stefan Metzmacher <metze@samba.org>
3482 * fix a configure logic bug for linux/XFS quotas when
3483 using --with-sys-quotas.
3484 * Use quota debug class in quota code.
3485 * print out the SVN revision by configure,
3488 o Buchan Milne <bgmilne@mandrake.org>
3489 * Mandrake packaging fixes.
3492 o Lars Mueller <lmuelle@samba.org>
3493 * BUG 1279: Added 'printcap cache time' parameter.
3494 * Fix afs related build issues on SuSE.
3495 * Fix compiler warnings in the kerberos client code.
3498 o James Peach <jpeach@sgi.com>
3499 * More iconv detection fixes for IRIX.
3500 * Compile fixed for systems that do not have C99/UNIX98 compliant
3501 vsnprintf by default.
3502 * Prevent smbd from attempting to use sendfile at all if it is
3503 not supported by the server's OS.
3504 * Allow SWAT to search for index.html when serving html files
3509 * Implement NFS quota support on FreeBSD.
3512 o Tim Potter <tpot@samba.org>
3513 * BUG 1360: Use -Bsymbolic when creating shared libraries to
3514 avoid conflicts with identical symbols in the global namespace
3515 when loading libnss_wins.so.
3518 o Richard Renard <rrenard@idealx.com>
3519 * Save the current password as it is being changed into the
3520 password history list.
3523 o Richard Sharpe <rsharpe@samba.org>
3524 * Fix error return codes on some lock messages.
3525 * BUG 1178: Make the libsmbclient routines callable
3527 * BUG 1333: Make sure we return an error code when
3529 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
3530 share mode locking requests fail.
3533 o Simo Sorce <idra@samba.org>
3534 * Update Debian stable & unstable packaging.
3535 * Tidy up parametric options in testparm output.
3538 o Richard Sharpe <rsharpe@samba.org>
3539 * Add sigchild handling to winbindd to restart the child
3540 daemon if necessary.
3543 o Tom Shaw <tomisfaraway@gmail.com>
3544 * Use winbindd_fill_pwent() consistently.
3547 o Nick Thompson <nickthompson@agere.com>
3548 * Protect smbd against broken filesystems which return zero
3552 o Andrew Tridgell <tridge@samba.org>
3553 * Fixed bug in handling of timeout in socket connections.
3556 o Nick Wellnhofer <wellnhofer@aevum.de>
3557 * Prevent lp_interfaces() list from being corrupted. Fixes
3558 bug where nmbd would lose the list of network interfaces
3559 on the system and consequently shutdown.
3562 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3563 * Fix ntlm_auth memory leaks.
3566 o Jelmer Vernooij <jelmer@samba.org>
3567 * Additional NT status to unix error mappings.
3568 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
3569 get duplicate symbol errors.
3570 * Return an error when the last command read from stdin
3572 * Prepare for better error checking in tar.
3573 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3576 --------------------------------------------------
3578 =============================
3579 Release Notes for Samba 3.0.5
3581 =============================
3583 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
3584 the exception of correcting the two security issues outlined
3587 ######################## SECURITY RELEASE ########################
3589 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
3590 CVE ID: CAN-2004-0600, CAN-2004-0686
3591 (http://cve.mitre.org/)
3594 This is the latest stable release of Samba. This is the version
3595 that production Samba servers should be running for all current
3598 It has been confirmed that versions of Samba 3 prior to v3.0.4
3599 are vulnerable to two potential buffer overruns. The individual
3600 details are given below.
3606 Affected Versions: Samba 3.0.2 and later
3608 The internal routine used by the Samba Web Administration
3609 Tool (SWAT v3.0.2 and later) to decode the base64 data
3610 during HTTP basic authentication is subject to a buffer
3611 overrun caused by an invalid base64 character. It is
3612 recommended that all Samba v3.0.2 or later installations
3613 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3614 the swat administration service as a temporary workaround.
3616 This same code is used internally to decode the
3617 sambaMungedDial attribute value when using the ldapsam
3618 passdb backend. While we do not believe that the base64
3619 decoding routines used by the ldapsam passdb backend can
3620 be exploited, sites using an LDAP directory service with
3621 Samba are strongly encouraged to verify that the DIT only
3622 allows write access to sambaSamAccount attributes by a
3623 sufficiently authorized user.
3625 The Samba Team would like to heartily thank Evgeny Demidov
3626 for analyzing and reporting this bug.
3632 Affected Versions: Samba 3.0.0 and later
3634 A buffer overrun has been located in the code used to support
3635 the 'mangling method = hash' smb.conf option. Please be aware
3636 that the default setting for this parameter is 'mangling method
3637 = hash2' and therefore not vulnerable.
3639 Affected Samba 3 installations can avoid this possible security
3640 bug by using the default hash2 mangling method. Server
3641 installations requiring the hash mangling method are encouraged
3642 to upgrade to Samba 3.0.5.
3645 ##################################################################
3647 --------------------------------------------------
3649 =============================
3650 Release Notes for Samba 3.0.4
3652 =============================
3654 Common bugs fixed in Samba 3.0.4 include:
3656 o Password changing after applying the patch described in
3657 the Microsoft KB828741 article to Windows clients.
3659 o Managing print jobs via Windows on Big-Endian servers.
3660 o Several memory leaks in winbindd and smbd.
3661 o Compile issues on AIX and *BSD.
3664 --------------------
3669 o Jeremy Allison <jra@samba.org>
3670 * Fix path processing for DeletePrinterDriverEx().
3671 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
3675 o Andrew Bartlett <abartlet@samba.org>
3676 * Fix alignment bug in GetDomPwInfo().
3679 o Alexander Bokovoy <ab@samba.org>
3680 * Fix utime[s]() issues in smbwrapper on systems
3681 that can boot both the 2.4 and 2.6 Linux kernels.
3684 o Gerald Carter <jerry@samba.org>
3685 * Fedora packaging fixes.
3686 * BUG 1302: Fix seg fault by not trying to optimize a list of
3687 invalid gids using the wrong array size.
3688 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3689 seen when 'security = share'.
3690 * Fix problems when using IBM's compiler on AIX.
3691 * Link Developer's Guide, Example Guide, and multi-page HOWTO
3692 into SWAT's welcome page.
3693 * BUG 1293: fix double free in printer publishing code.
3696 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3697 * Fix for handling timeouts in socket connections.
3700 o Michel Gravey <michel.gravey@optogone.com>
3701 * BUG 483: patch from to fix password hash creation in SWAT.
3704 o Volker Lendecke <vl@samba.org>
3705 * Close the open NT pipes before the tdis.
3706 * Fix AFS related build issues.
3707 * Handle error conditions when base64 encoding a blob of 0 bytes.
3710 o Herb Lewis <herb@samba.org>
3711 * Added 'acls' debug class.
3713 o kawasa_r@itg.hitachi.co.jp
3714 * Multiple variable initialization and memory leak fixes.
3717 o Stephan Kulow <coolo@suse.de>
3718 * Fix string length bug in libsmbclient that caused KDE's
3720 * BUG 429: More libsmbclient fixes.
3723 o Jim McDonough <jmcd@us.ibm.com>
3724 * BUG 1007, 1279: Store the print job using a little-endian key.
3728 o Compile fix for OpenBSD (ENOTSUP not supported).
3731 o Stefan Metzmacher <metze@samba.org>
3732 * Correct bug in disks quota views from explorer.
3735 o Tim Potter <tpot@samba.org>
3736 BUG 1305: Correct debug output.
3739 o Richard Sharpe <rsharpe@samba.org>
3740 * Fix incorrect error code mapping.
3743 o Jelmer Vernooij <jelmer@samba.org>
3744 * Add additional NT_STATUS errorm mappings.
3747 --------------------------------------------------
3749 =============================
3750 Release Notes for Samba 3.0.3
3752 =============================
3755 Common bugs fixed in Samba 3.0.3 include:
3757 o Crash bugs and change notify issues in Samba's printing code.
3758 o Honoring secondary group membership on domain member servers.
3759 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3760 o Substitution errors for %[UuGg] in smb.conf.
3761 o winbindd crashes when using ADS security mode.
3762 o SMB signing errors.
3763 o Delays in winbindd startup caused by unnecessary
3764 connections to trusted domain controllers.
3765 o Various small memory leaks.
3766 o Winbindd failing due to expired Kerberos tickets.
3768 New features introduced in Samba 3.0.3 include:
3770 o Improved support for i18n character sets.
3771 o Support for account lockout policy based on
3772 bad password attempts.
3773 o Improved support for long password changes (>14
3774 characters) and strong password enforcement.
3775 o Support for Windows aliases (i.e. nested groups).
3776 o Experimental support for storing DOS attribute on files
3777 and folders in Extended Attributes.
3778 o Support for local nested groups via winbindd.
3779 o Specifying options to be passed directly to the CUPS libraries.
3781 Please be aware that the Samba source code repository was
3782 migrated from CVS to Subversion on April 4, 2004. Details on
3783 accessing the Samba source tree via anonymous svn can be found
3784 at http://svn.samba.org/samba/subversion.html.
3787 Changes since 3.0.2a
3788 --------------------
3792 Parameter Name Action
3793 -------------- ------
3796 only user Deprecated
3797 store dos attributes New
3799 winbind nested groups New
3805 o Jeremy Allison <jra@samba.org>
3806 * Ensure that Kerberos mutex is always properly unlocked.
3807 * Removed Heimdal "in-memory keytab" support.
3808 * Fixup the 'multiple-vuids' bugs in our server code.
3809 * Correct return code from lsa_lookup_sids() on unmapped
3810 sids (based on work by vl@samba.org).
3811 * Fix the "too many fcntl locks" scalability problem
3813 * Fixup correct (as per W2K3) returns for lookupsids
3814 as well as lookupnames.
3815 * Fixups for delete-on-close semantics as per Win2k3 behavior.
3816 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3817 * Fix "unable to initialize" bug when smbd hasn't been run with
3818 new system and a user is being added via pdbedit/smbpasswd.
3819 * Added NTrename SMB (0xA5).
3820 * Fixup correct timeout values for blocking lock timeouts.
3821 * Fix various bugs reported by 'gentest'.
3822 * More locking fixes in the case where we own the lock.
3823 * Fix up regression in IS_NAME_VALID and renames.
3824 * Don't set allocation size on directories.
3825 * Return correct error code on fail if file exists and target
3827 * Added client "hardlink" comment to test doing NT rename with
3828 hard links. Added hardlink_internals() code - UNIX extensions
3829 now use this as well.
3830 * Use a common function to parse all pathnames from the wire for
3831 much closer emulation of Win2k3 error return codes.
3832 * Implement check_path_syntax() and rewrite string sub
3833 functions for better multibyte support.
3834 * Ensure msdfs referrals are multibyte safe.
3835 * Allow msdfs symlink syntax to be more forgiving.
3836 eg. sym_link -> msdfs://server/share/path/in/share
3837 or sym_link -> msdfs:\\server\share\path\in\share.
3838 * Cleanup multibyte netbios name support in nmbd ( based on patch
3839 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3840 * Fix check_path_syntax() for multibyte encodings which have
3841 no '\' as second byte (based on work by ab@samba.org.
3842 * Fix the "dfs self-referrals as anonymous user" problem
3843 (based on patch from vl@samba.org).
3844 * BUG 1064: Ensure truncate attribute checking is done correctly
3845 on "hidden" dot files.
3846 * Fix bug in anonymous dfs self-referrals again.
3847 * Fix get/set of EA's in client library
3848 * Added support for OS/2 EA's in smbd server.
3849 * Added 'ea support' parameter to smb.conf.
3850 * Added 'store dos attributes' parameter to smb.conf.
3851 * Fix wildcard identical rename.
3852 * Fix reply_ctemp - make compatible with w2k3.
3853 * Fix wildcard unlink.
3854 * Fix wildcard src with wildcard dest renames.
3855 * BUG 1139: Fix based on suggestion by jdev@panix.com.
3856 swap lookups for user and group - group will do an
3857 algorithmic lookup if it fails, user won't.
3858 * Make EA's lookups case independent.
3859 * Fix SETPATHINFO in 'unix extensions' support.
3860 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
3861 the UNIX info levels, and the short case preserve names.
3864 o Timur Bakeyev <timur@com.bat.ru>
3865 * BUG 1144: only set --with-fhs when the argument is 'yes'
3866 * BUG 1152: Allow python modules to build despite libraries added
3867 to LDFLAGS instead of LDPATH.
3868 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3871 o Craig Barratt <cbarratt@users.sourceforge.net>
3872 * BUG 389: Allow multiple exclude arguments with smbclient
3873 tar -Xr options (better support for Amanda backup client).
3876 o Andrew Bartlett <abartlet@samba.org>
3877 * Include support for linking with cracklib for enforcing strong
3879 * Add support for >14 character password changes from Windows
3881 * Add 'admin set password' capability to 'net rpc'.
3882 * Allow 'net rpc samdump' to work with any joined domain
3883 regardless of smb.conf settings.
3884 * Use an allocated buffer for count_chars.
3885 * Add sanity checks for changes in the domain SID in an
3887 * Implement python unit tests for Samba's multibyte string
3889 * Remove 'unicode' smb.conf option.
3890 * BUG 1138: Fix support for 'optional' SMB signing and other
3892 * BUG 169: Fix NTLMv2-only behavior.
3893 * Ensure 'net' honors the 'netbios name' in the smb.conf by
3895 * Support SMB signing on connections using only the LANMAN
3896 password and generate the correct the 'session key' for these
3898 * Implement --required-membership-of=, an ntlm_auth option
3899 that restricts all authentication to members of this particular
3901 * Improve our fall back code for password changes.
3902 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
3903 after the server had said something (such as an error).
3904 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3907 o Alexander Bokovoy <ab@samba.org>
3908 * Fix incorrect size calculation of the directory name
3910 * Fix problems with very long filenames in both smbd and smbclient
3911 caused by truncating paths during character conversions.
3912 * Fix smbfs problem with Tree Disconnect issued before smbfs
3916 o Gerald Carter <jerry@samba.org>
3917 * BUG 850: Fix 'make installmodules' bug on True64.
3918 * BUG 66: mark 'only user' deprecated.
3919 * Remove corrupt tdb and shutdown (only for printing tdbs,
3920 connections, sessionid & locking).
3921 * decrement smbd counter in connections.tdb in smb_panic().
3922 * RedHat specfile updates.
3923 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3924 * BUG 1147; bad pointer case in get_stored_queue_info()
3926 * BUG 761: read the config file before initialized default
3927 values for printing options; don't default to bsd printing
3929 * Allow the 'printing' parameter to be set on a per share basis.
3930 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3931 * BUG 848: don't create winbind local users/groups that already
3933 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
3935 * BUG 488: fix the 'show client in col 1' button and correctly
3936 enumerate active connections.
3937 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
3938 problem when storing the updating pid for the lpq cache.
3939 * BUG 1007 (partial): Fix print change notify bugs.
3940 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
3941 and winbind use default domain = yes. Also ensures that
3942 * BUG 1151: Ensure that winbindd users are passed through
3944 * Fix client rpc binds for ASU derived servers (pc netlink,
3946 * BUG 417, 1128: Ensure that the current_user_info is set
3947 consistently so that %[UuGg] is expanded correctly.
3948 * BUG 1195: Fix crash in winbindd when the ADS server is
3950 * BUG 1185: Set reconnect time to be the same as the
3951 'winbind cache time'.
3952 * Ensure that we return the sec_desc in smb_io_printer_info_2.
3953 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3954 * BUG 1095: Honor the '-l' option in smbclient.
3955 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
3957 * Ensure server schannel uses the auth level requested by the
3959 * Removed --with-cracklib option due to potential crash issue.
3960 * Fix -lcrypto linking problem with wbinfo.
3961 * BUG 761: allow printing parameter to set defaults on a per
3963 * Add 'cups options' parameter to allow raw printing without
3964 changing /etc/cups/cupsd.conf.
3965 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
3967 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3968 * BUG 1288: resolve any machine netbios name (0x00) and not just
3970 * BUG 1199: Fix potential symlink issue in
3971 examples/printing/smbprint.
3974 o Robert Dahlem <Robert.Dahlem@gmx.net>
3975 * BUG 1048: Don't return short names when when 'mangled names = no'
3978 o Guenther Deschner <gd@suse.com>
3979 * Remove hard coded attribute name in the ads ranged retrieval
3981 * Add --with-libdir and --with-mandir to autoconf script.
3984 o Bostjan Golob <golob@gimb.org>
3985 * BUG 1046: Fix getpwent_list() so that the username is not
3986 overwritten by other fields.
3989 o Landon Fuller <landonf@opendarwin.org>
3990 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
3991 to fix user/group enumeration on systems whose libc does not
3992 call setgrent() before trying to enumerate users (i.e.
3996 o Steve French <sfrench@us.ibm.com>
3997 * Update mount.cifs to version 1.1.
3998 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3999 * Fixes to minor security bug in the mount helper.
4000 * Fix credential file mounting for cifs vfs.
4001 * Fix free of incremented pointer in cifsvfs mount helper.
4002 * Fix path canonicalization of the mount target path and help
4003 text display in the cifs mount helper.
4004 * Add missing guest mount option for mount.cifs.
4007 o SATOH Fumiyasu <fumiya@miraclelinux.com>
4008 * BUG 1055; formatting fixes for 'net share'.
4009 * BUG 692: correct truncation of share names and workgroup
4011 * BUG 1088: use strchr_m() for query_host (smbclient -L).
4012 * Patch from to internally count characters correctly.
4015 o Paul Green <paulg@samba.org>
4016 * Update VOS _POSIX_C_SOURCE macro to 200112L.
4017 * Fix bug in configure.ion by moving the first use of
4018 AC_CHECK_HEADERS so it is always executed.
4019 * Fix configure.in to only use $BLDSHARED to select whether to
4020 build static or shared libraries.
4023 o Pat Haywarrd <Pat.Hayward@propero.net>
4024 * Make the session_users list dynamic (max of 128K).
4027 o Cal Heldenbrand <calzplace@yahoo.com>
4028 * Fix for for 'pam_smbpass migrate' functionality.
4031 o Chris Hertel <crh@samba.org>
4032 * fix enumeration of shares 12 characters in length via
4036 o Ulrich Holeschak <ulrich@holeschak.de>
4037 * BUG 932: fix local password change using pam_smbpass
4040 o Krischan Jodies <kj@sernet.de>
4041 * Implement 'net rpc group delete'
4044 o John Klinger <john.klinger@lmco.com>
4045 * Return NSS_SUCCESS once the max number of gids possible
4046 has been found in initgroups() on Solaris.
4047 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
4050 o Volker Lendecke <vl@samba.org>
4051 * Fix success message for net groupmap modify.
4052 * Fix errors when enumerating members of groups in 'net rpc'.
4053 * Match Windows behavior in samr_lookup_names() by returning
4054 ALIAS(4) when you search in BUILTIN.
4055 * Fix server SAMR code to be able to set alias info for
4057 * Fix duplication of logic when creating groups via smbd.
4058 * Ensure that the HWM values are set correctly after running
4060 * Add 'net rpc group add'.
4061 * Implement 'net groupmap set' and 'net groupmap cleanup'.
4062 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
4063 * Fix wb_delgrpmem (wbinfo -o).
4064 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
4065 * Fix sambaUserWorkstations on a Samba DC.
4066 * Implement wbinfo -k: Have winbind generate an AFS token after
4067 authenticating the user.
4068 * Add expand_msdfs VFS module for providing referrals based on the
4069 the client's IP address.
4070 * Implement client side NETLOGON GetDCName function.
4071 * Fix caching of name->sid lookups.
4072 * Add support in winbindd for expanding nested local groups.
4073 * Fix memleak in winbindd.
4075 * Don't list domain groups from BUILTIN.
4076 * Fix memleak in policy handle utility functions.
4077 * Decrease winbindd startup time by only contacting trusted
4078 domains as necessary.
4079 * Allow winbindd to ask the DC for its domain for a trusted
4081 * Fix Netscape DS schema based on comments from
4082 <thomas.mueller@christ-wasser.de>.
4083 * Correct case where adding a domain user to a XP local group
4084 did a lsalookupname on the user without domain prefix, and
4086 * Fix segfault in winbindd caused by 'wbinfo -a'.
4089 o Herb Lewis <herb@samba.org>
4090 * Fix typo for tag in proto file.
4091 * Add missing #ifdef HAVE_BICONV stuff.
4092 * Truncate Samba's netbios name at the first '.' (not
4096 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
4097 * Bug fixes and enhancements to libsmbclient library.
4100 o Jianliang Lu <j.lu@tiesse.com>
4101 * Enforce the 'user must change password at next login' flag.
4102 * Decode meaning of 'fields present' flags (improves support
4105 * Don't force an upper case domain name in the ntlmssp code.
4108 o L. Lucius <ib@digicron.com>.
4112 o Jim McDonough <jmcd@us.ibm.com>
4113 * Add versioning support to tdbsam.
4114 * Update the IBM Directory Server schema with the OpenLDAP
4116 * Various decoding fixes to improve usrmgr.exe support.
4117 * Fix statfs redeclaration of statfs struct on ppc
4118 * Implement support for password lockout of Samba domain
4119 controllers and standalone servers.
4120 * Get MungedDial attribute actually working with full TS
4121 strings in it for pdb_ldap.
4122 * BUG 1208 (partial): Improvements for working with expired krb5
4123 tickets in winbindd.
4124 * Use timegm, or our already existing replacement instead of
4125 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
4126 * Remove modifyTimestamp from list of our attributes.
4127 * Fix lsalookupnames to check for domain users as well as local
4129 * Merge struct uuid replacement for GUID from trunk.
4130 * BUG 1208: Finish support for handling expired tickets in
4131 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
4134 o Stefan Metzmacher <metze@samba.org>
4135 * Implement new VERSION schema based on subversion revision
4137 * Add shadow_copy vfs module.
4138 * Fix segault in login_cache support.
4141 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
4142 o BUG 979 -- Fix quota display on AIX.
4145 o James Peach <jpeach@sgi.com>
4146 * Correct check for printf() format when using the SGI MIPSPro
4148 * BUG 1038: support backtrace for 'panic action' on IRIX.
4149 * BUG 768: Accept profileing arg to IRIX init script.
4150 * BUG 748: Relax arg parsing to sambalp script (IRIX).
4151 * BUG 758: Fix pdma build.
4152 * Search IRIX ABI paths for libiconv. Based on initial fix from
4156 o Kurt Pfeifle <kpfeifle@danka.de>
4157 * Add example shell script for migrating drivers and printers
4158 from a Windows print server to a Samba print server using
4159 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
4162 o Tim Potter <tpot@samba.org>
4163 * Fix logic bug in tdb non-blocking lock routines when
4165 * BUG 1025: Include sys/acl.h in check for broken nisplus
4167 * BUG 1066: s/printf/d_printf/g in SWAT.
4168 * BUG 1098: rename internal msleep() function to fix build
4170 * BUG 1112: Fix for writable printerdata problem in python bindings.
4171 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
4172 * BUG 1155: enclose use of fchown() with guards.
4173 * Relicense tdb python module as LGPL.
4176 o Richard Sharpe <rsharpe@samba.org>
4177 * Add support to smbclient for multiple logins on the same
4178 session (based on work by abartlet@samba.org).
4179 * Correct blocking condition in smbd's use of accept() on IRIX.
4180 * Add support for printing out the MAC address on nmblookup.
4183 o Simo Sorce <idra@samba.org>
4184 * Replace unknown_3 with fields_present in SAMR code.
4185 * More length checks in strlcat().
4188 o Andrew Tridgell <tridge@samba.org>
4189 * Rewrote the AIX UESS backend for winbindd.
4190 * Fixed compilation with --enable-dmalloc.
4191 * Change tdb license to LGPL (see source/tdb/tdb.c).
4192 * Force winbindd to use schannel in clients connections to
4196 o Jelmer Vernooij <jelmer@samba.org>
4197 * Fix ETA Calculation when resuming downloads in smbget.
4198 * Add -O (for writing downloaded files to standard out)
4199 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
4200 * Fix syntax error in example mysql table
4203 o TAKEDA yasuma <yasuma@miraclelinux.com>
4204 * BUG 900: fix token processing in cmd_symlink, cmd_link,
4205 cmd_chown, cmd_chmod smbclient functions.
4208 o Shiro Yamada <shiro@miraclelinux.com>
4209 * BUG 1129: install image files for SWAT.
4212 --------------------------------------------------
4214 ==============================
4215 Release Notes for Samba 3.0.2a
4217 ==============================
4219 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
4220 to address, in particular, a problem when using pdbedit to
4221 sanitize (--force-initialized-passwords) Samba's tdbsam
4222 backend. This is the latest stable release of Samba. This
4223 is the version that all production Samba servers should be
4224 running for all current bug-fixes.
4226 ******************* Attention! Achtung! Kree! *********************
4228 Beginning with Samba 3.0.2, passwords for accounts with a last
4229 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
4230 ldapsam, etc...) of zero (0) will be regarded as uninitialized
4231 strings. This will cause authentication to fail for such
4232 accounts. If you have valid passwords that meet this criteria,
4233 you must update the last change time to a non-zero value. If you
4234 do not, then 'pdbedit --force-initialized-passwords' will disable
4235 these accounts and reset the password hashes to a string of X's.
4237 ******************* Attention! Achtung! Kree! *********************
4246 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4247 details. The list of changes per contributor are as follows:
4250 o Jeremy Allison <jra@samba.org>
4251 * Added paranoia checks in parsing code.
4254 o Andrew Bartlett <abartlet@samba.org>
4255 * Ensure that changes to uninitialized passwords in ldapsam
4256 are written to the DIT.
4259 o Gerald (Jerry) Carter <jerry@samba.org>
4260 * Fixed iterator in tdbsam.
4261 * Fix bug that disabled accounts with a valid NT password
4262 hash, but no LanMan hash.
4265 o Steve French <sfrench@us.ibm.com>
4266 * Added missing nosetuid and noexec options.
4269 o Bostjan Golob <golob@gimb.org>
4270 * BUG 1046: Don't overwrite usernames of entries returned
4274 o Sebastian Krahmer <krahmer@suse.de>
4275 * Fixed potential crash bug in NTLMSSP parsing code.
4278 o Tim Potter <tpot@samba.org>
4279 * Fixed logic in tdb_brlock error checking.
4282 o Urban Widmark <urban@teststation.com>
4283 * Set nosuid,nodev flags in smbmnt by default.
4286 --------------------------------------------------
4288 =============================
4289 Release Notes for Samba 3.0.2
4291 =============================
4293 It has been confirmed that previous versions of Samba 3.0 are
4294 susceptible to a password initialization bug that could grant an
4295 attacker unauthorized access to a user account created by the
4296 mksmbpasswd.sh shell script.
4298 The Common Vulnerabilities and Exposures project (cve.mitre.org)
4299 has assigned the name CAN-2004-0082 to this issue.
4301 Samba administrators not wishing to upgrade to the current
4302 version should download the 3.0.2 release, build the pdbedit
4305 root# pdbedit-3.0.2 --force-initialized-passwords
4307 This will disable all accounts not possessing a valid password
4308 (e.g. the password field has been set a string of X's).
4310 Samba servers running 3.0.2 are not vulnerable to this bug
4311 regardless of whether or not pdbedit has been used to sanitize
4314 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4317 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4318 o Logging onto a Samba domain from Windows XP clients.
4319 o Problems with the %U and %u smb.conf variables in relation to
4320 Windows 9x/ME clients.
4321 o Kerberos failures due to an invalid in memory keytab detection
4323 o Updates to the ntlm_auth tool.
4324 o Fixes for various SMB signing errors.
4325 o Better separation of WINS and DNS queries for domain controllers.
4326 o Issues with nss_winbind FreeBSD and Solaris.
4327 o Several crash bugs in smbd and winbindd.
4328 o Output formatting fixes for smbclient for better compatibility
4329 with scripts based on the 2.2 version.
4338 Parameter Name Action
4339 -------------- ------
4340 ldap replication sleep New
4341 read size removed (unused)
4342 source environment removed (unused)
4348 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4349 details. The list of changes per contributor are as follows:
4351 o Jeremy Allison <jra@samba.org>
4352 * Revert change that broke Exchange clear text samlogons.
4353 * Fix gcc 3.4 warning in MS-DFS code.
4354 * Tidy up of NTLMSSP code.
4355 * Fixes for SMB signing errors
4356 * BUG 815: Workaround NT4 bug to support plaintext
4357 password logins and UNICODE.
4358 * Fix SMB signing bug when copying large files.
4359 * Correct error logic in mkdir_internals() (caused a panic
4360 when combined with --enable-developer).
4361 * BUG 830: Protect against crashes due to bad character
4365 o Petri Asikainen <paca@sci.fi>
4366 * BUG 330, 387:Fix single valued attribute updates when
4367 working with Novell NDS.
4370 o Andrew Bartlett <abartlet@samba.org>
4371 * Correctly handle per-pipe NTLMSSP inside a NULL session.
4372 * Fix segfault in gencache
4373 * Fix early free() of encrypted_session_key.
4374 * Change DC lookup routines to more carefully separate
4375 DNS names (realms) from NetBIOS domain names.
4376 * Add new sid_to_dn() function for internal winbindd use.
4377 * Refactor cli_ds_enum_domain_trusts().
4378 * BUG 707: Implement range retrieval of ADS attributes (based
4379 on work from Volker <vl@samba.org> and Guenther Deschner
4381 * Automatically initialize the signing engine if a session key
4383 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
4384 encoded strings, only form input in SWAT.
4385 * Resets the NTLMSSP state for new negotiate packets.
4386 * Add 2-byte alignments in net_samlogon() queries to parse
4387 odd-length plain text passwords.
4388 * Allow Windows groups with no members in winbindd.
4389 * Allow normal authentication in the absence of a server
4390 generated session key.
4391 * More optimizations for looking up UNIX group lists.
4392 * Clean up error codes and return values for pam_winbindd
4393 and winbindd PAM interface.
4394 * Fix string return values in ntlm_auth tool.
4395 * Fix segfault when 'security = ads' but no realm is defined.
4396 * BUG 722: Allow winbindd to map machine accounts to uids.
4397 * More cleanups for winbindd's find_our_domain().
4398 * More clearly detect whether a domain controller is an NT4
4399 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4400 * Increase separation between DNS queries for hosts and queries
4401 for AD domain controllers.
4402 * Include additional NT_STATUS to PAM error mappings.
4403 * Password initialization fixes.
4406 o Justin Baugh <justin.baugh@request.com>
4407 * BUG 948: Implement missing functions required for FreeBSD
4408 nss_winbind support.
4411 o Alexander Bokovoy <ab@samba.org>
4412 * BUG 922: Make sure enable fast path for strlower_m() and
4416 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4417 * Fix crash when using 'security = server' and 'encrypt
4418 passwords = no' by always initializing the session key.
4421 o Dmitry Butskoj <buc@odusz.elektra.ru>
4422 * Fix for special files being hidden from admins.
4425 o Gerald (Jerry) Carter <jerry@samba.org>
4426 * Fix bug in the lanman session key generation. Caused
4427 "decode_pw: incorrect password length" error messages.
4428 * Save the right case for the located user name in
4429 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4430 * BUG 897: Add well known rid for pre win2k compatible access
4432 * BUG 887: Correct typo in delete user script example.
4433 * Use short lived TALLOC_CTX* for allocating printer objects
4434 from the print handle cache.
4435 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4436 * Fix several warnings reported by the SUN Forte C compiler.
4437 * Fully control DNS queries for AD DC's using 'name resolve order'.
4438 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4439 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4440 * BUG 936: fix bind credentials for schannel binds in smbd.
4441 * BUG 446: Fix output of smbclient for better compatibility
4442 with scripts based on the 2.2 version (including Amanda).
4443 * BUG 891, 949: Fedora packaging fixes.
4444 * Fix bug that caused rpcclient to incorrectly retrieve
4445 the SID for a server (this causing all calls that required
4446 this information to fail).
4447 * BUG 977: Don't create a homes share for a user if a static
4448 share already exists by the same name.
4449 * Removed unused smb.conf options.
4450 * Password initialization fixes.
4451 * Set the disable flag for template accounts created by
4453 * Disable any account has no passwords and does not have the
4454 ACB_PWNOTREQ bit set.
4457 o Guenther Deschner <gd@suse.com>
4458 * Install smbwrapper.so should be put into the $(libdir)
4460 * Add the capability to specify the new user password
4461 for "net ads password" on the command line.
4462 * Correctly detect AFS headers on SuSE.
4465 o James Flemer <jflemer@uvm.edu>
4466 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4467 HAVE_SYS_ATTRIBUTES_H.
4470 o Luke Howard <lukeh@PADL.COM>
4471 * Fix segfault in session setup reply caused by a early free().
4474 o Stoian Ivanov <sdr@bultra.com>
4475 * Implement grepable output for smbclient -L.
4478 o LaMont Jones <lamont@debian.org>
4479 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4480 in _GNU_SOURCE not being defined (thus resulting in strndup()
4484 o Volker Lendecke <vl@samba.org>
4485 * BUG 583: Ensure that user names always contain the short
4486 version of the domain name.
4487 * Fix our parsing of the LDAP uri.
4488 * Don't show the 'afs username map' in the SWAT basic view.
4489 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4490 * BUG 924: Fix return codes in smbtorture harness.
4491 * Always lower-case usernames before handing it to AFS code.
4492 * Add a German translation for SWAT.
4493 * Fix a segfaults in winbindd.
4494 * Fix the user's domain passed to register_vuid() from
4495 reply_spnego_kerberos().
4496 * Add NSS example code in nss_winbind to convert UNIX
4497 id's <-> Windows SIDs.
4498 * Display more descriptive error messages for login via 'net'.
4499 * Fix compiler warning in the net tool.
4500 * Fix length bug when decoding base64 strings.
4501 * Ensure we don't call getpwnam() inside a loop that is iterating
4502 over users with getpwent(). This broke on glibc 2.3.2.
4505 o Herb Lewis <herb@samba.org>
4506 * Fix bit rot in psec.
4509 o Jianliang Lu <j.lu@tiesse.com>
4510 * Ensure we delete the group mapping before calling the delete
4512 * Define well known RID for managing the "Power Users" group.
4513 * BUG 381: check builtin (not local) group SID when updating
4515 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
4519 o John Klinger <john.klinger@lmco.com>
4520 * Implement initgroups() call in nss_winbind on Solaris.
4523 o Jim McDonough <jmcd@us.ibm.com>
4524 * Fix regression in net rpc join caused by recent changes
4525 to cli_lsa_query_info_policy().
4526 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4530 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
4531 * BUG 570: Ensure that configure honors the LDFLAGS variable.
4534 o Stefan Metzmacher <metze@samba.org>
4535 * Implement LDAP rebind sleep patch.
4536 * Revert to 2.2 quota code because of so many broken quota files
4538 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4539 XFS_USER_QUOTA -> USRQUOTA
4540 XFS_GROUP_QUOTA -> GRPQUOTA
4541 * Fix disk_free calculation with group quotas.
4542 * Add debug class 'quota' and a lot of DEBUG()'s
4544 * Fix sys_chown() when no chown() is present.
4545 * Add SIGABRT to fault handling in order to catch got a
4546 backtrace if an error occurs the OpenLDAP client libs.
4550 * Allow an existing LDAP machine account to be re-used when
4551 joining an AD domain.
4554 o James Peach <jpeach@sgi.com>
4555 * BUG 889: Change smbd to use pread/pwrite on platforms that
4556 support these calls. Can lead to a significant speed increase.
4559 o Tim Potter <tpot@samba.org>
4560 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4561 * BUG 924: Fix typo in RW2 torture test.
4564 o Richard Sharpe <rsharpe@samba.org>
4565 * Small fixes to torture.c to cleanup the error handling
4566 and prevent crashes.
4569 o J. Tournier <jerome.tournier@IDEALX.com>
4570 * Small fixes for the smbldap-tool scripts.
4573 o Andrew Tridgell <tridge@samba.org>
4574 * Fix src len check in pull_usc2().
4577 o Jelmer Vernooij <jelmer@samba.org>
4578 * Put functions for generating SQL queries in pdb_sql.c
4579 * Add pgSQL backend (based on patch by Hamish Friedlander)
4580 * BUG 908: Fix -s option to smbcontrol.
4581 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4582 * Fix for libnss_wins on IRIX platforms.
4583 * Fix swatdir for --with-fhs.
4586 --------------------------------------------------
4588 =============================
4589 Release Notes for Samba 3.0.1
4591 =============================
4593 Some of the more common bugs in 3.0.0 addressed in the release
4596 o Substitution problems with smb.conf variables.
4597 o Errors in return codes which caused some applications
4598 to fail to open files.
4599 o General Protection Faults on Windows 2000/XP clients
4600 using Samba point-n-print features.
4601 o Several miscellaneous crash bugs.
4602 o Access problems when enumerating group mappings are
4603 stored in an LDAP Directory.
4604 o Several common SWAT bugs when writing changes to
4606 o Internal inconsistencies when 'winbind use default
4612 ----------------------
4614 Parameter Name Action
4615 -------------- ------
4616 hide local users Removed
4617 mangled map Deprecated
4618 mangled stack Removed
4619 passwd chat timeout New
4625 o Change the interface for init_unistr2 to not take a length
4626 but a flags field. We were assuming that
4627 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
4628 o Allow d_printf() to handle strings with escaped quotation
4629 marks since the msg file includes the escape character (bug 489).
4630 o Fix bad html table row termination in SWAT wizard code (bug 413).
4631 o Fix to parse the level-2 strings.
4632 o Fix for "valid users = %S" in [homes]. Fix read/write
4634 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
4635 This is the same way AC_CHECK_LIB works (bug 508).
4636 o Testparm output fixes for clarity.
4637 o Fix broken wins hook functionality -- i18n bug (bug 528).
4638 o Take care of condition where DOS and NT error codes must differ.
4639 o Default to using only built-in charsets when a working iconv
4640 implementation cannot be located.
4641 o Wrap internals of sys_setgroups() so the sys_XX() call can
4642 be done unconditionally (bug 550).
4643 o Remove duplicate smbspool link on SWAT's front page (bug 541).
4644 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
4645 --enable-debug=[yes|no] works correctly.
4646 o Allow ^C to interrupt smbpasswd if using our getpass
4647 (e.g. smbpasswd command).
4648 o Support signing only on RPC's (bug 167).
4649 o Correct bug that prevented Excel 2000 clients from opening
4650 files marked as read-only.
4651 o Portability fix bugs 546 - 549).
4652 o Explicitly initialize the value of AR for vendor makes that don't
4653 do this (e.g. HPUX 11). (bug 552).
4654 o More i18n fixes for SWAT (bug 413).
4655 o Change the cwd before the postexec script to ensure that a
4656 umount will succeed.
4657 o Correct double free that caused winbindd to crash when a DC
4658 is rebooted (bug 437).
4659 o Fix incorrect mode sum (bug 562).
4660 o Canonicalize SMB_INFO_ALLOCATION in the same was as
4661 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4662 o Add script to generate *msg files.
4663 o Add Dutch SWAT translation file.
4664 o Make sure to call get_user_groups() with the full winbindd
4665 name for a user if he/she has one (bug 406).
4666 o Fix up error code returns from Samba4 tester. Ensure invalid
4667 paths are validated the same way.
4668 o Allow Samba3 to pass the Samba4 RAW-READ tests.
4669 o Refuse to configure if --with-expsam=$BACKEND was used but no
4670 libraries were found for $BACKEND.
4671 o Move sysquotas autoconf tests to a separate file.
4672 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
4674 o Make sure that the files that contain the static_init_$subsystem;
4675 macro get recompiled after configure by removing the object
4677 o Ensure canceling a blocking lock returns the correct error
4679 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4680 o Updated Japanese welcome file in SWAT.
4681 o Fix to nt-time <-> unix-time functions reversible.
4682 o Ensure that winbindd uses the the escaped DN when querying
4684 o Fix portability issues when compiling (bug 505, 550)
4685 o Compile fix for tdbbackup when Samba needs to override
4686 non-C99 compliant implementations of snprintf().
4687 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4688 o Make sure we break out of samsync loop on error.
4689 o Ensure error code path doesn't free unmalloc()'d memory
4691 o Add configure test for krb5_keytab_entry keyblock vs key
4694 o Modified testparm so that all output so all debug output goes
4695 to stderr, and all file processing goes to stdout.
4696 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
4698 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
4699 we have a devmode before copying a string to the devicename.
4700 o Support mapping REALM.COM\user to a local user account (without
4701 running winbindd) for compatibility with 2.2.x release.
4702 o Ensure we don't use mmap() on blacklisted systems.
4703 o fixed a number of bugs and memory leaks in the AIX
4705 o Call initgroups() in SWAT before becomming the user so that
4706 secondary group permissions can be used when writing to
4708 o Fix signing problems when reverse connecting back to a
4709 client for printer notify
4710 o Fix signing problems caused by a miss-sequence bug.
4711 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4712 Fixes NEXUS tools running on Win9x clients (bug 64).
4713 o Don't leave the domain field uninitialized in cli_lsa.c if some
4714 SID could not be mapped.
4715 o Fix segfault in mount.cifs helper when there is no options
4716 specified during mount.
4717 o Change the \n after the password prompt to go to tty instead
4718 of stdout (bug 668).
4719 o Stop net -P from prompting for machine account password (bug 451).
4720 o Change in behavior to Not only change the effective uid but also
4721 the real uid when becoming unprivileged.
4722 o Cope with Exchange 5.5 cleartext pop password auth.
4723 o New files for support of initshutdown pipe. Win2k doesn't
4724 respond properly to all requests on the winreg pipe, so we need
4725 to handle this new pipe (bug 534).
4726 o Added more va_copy() checks in configure.in.
4727 o Include fixes for libsmbclient build problems.
4728 o Missing UNIX -> DOS codepage conversion in lanman.c.
4729 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
4730 o Parameterize the listen backlog in smbd and make it larger by
4731 default. A backlog of 5 is way too small these days.
4732 o Check for an invalid fid before dereferencing the fsp pointer
4734 o Remove invalid memory frees and return codes in pdb_ldap.c.
4735 o Prompt for password when invoking --set-auth-user and no
4737 o Bind the nmbd sending socket to the 'socket address'.
4738 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
4739 $LDFLAGS occurs before any library specification (bug 661).
4740 o Fix large number of printf() calls for 64-bit size_t.
4741 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
4742 keyblock in the krb5 structs.
4743 o Remove #include <compat.h> in hopes to avoid problems with
4744 apache header files.
4745 o Correct winbindd build problems on HP-UX 11.
4746 o Lowercase netgroups lookups (bug 703).
4747 o Use the actual size of the buffer in strftime instead of a made
4748 up value which just happens to be less than sizeof(fstring).
4750 o Add ldaplibs to pdbedit link line (bug 651).
4751 o Fix crash bug in smbclient completion (bug 659).
4752 o Fix packet length for browse list reply (bug 771).
4753 o Fix coredump in cli_get_backup_list().
4754 o Make sure that we expand %N (bug 612).
4755 o Allow rpcclient adddriver command to specify printer driver
4757 o Compile tdbdump by default.
4758 o Apply patches to fix iconv detection for FreeBSD.
4759 o Do not allow the 'guest account' to be added to a passdb backend
4760 using smbpasswd or pdbedit (bug 624).
4761 o Save LDFLAGS during iconv detection (bug 57).
4762 o Run krb5 logins through the username map if the winbindd
4763 lookup fails (bug 698).
4764 o Add const for lp_set_name_resolve_order() to avoid compiler
4766 o Add support for the %i macro in smb.conf to stand in for the for
4767 the local IP address to which a client connected.
4768 o Allow winbindd to match local accounts to domain SID when
4769 'winbind trusted domains only = yes' (bug 680).
4770 o Remove code in idmap_ldap that searches the user suffix and group
4771 suffix. It's not needed and provides inconsistent functionality
4772 from the tdb backend.
4773 o Patch to handle munged dial string for Windows 2000 TSE.
4774 Thanks to Gaz de France, Direction de la Recherche, Service
4775 Informatique Métier for their supporting this work by Aurelien
4776 Degrémont <adegremont@idealx.com>.
4777 o Correct the "smbldap_open: cannot access when not root error"
4778 messages when looking up group information (bug 281).
4779 o Skip over the winbind separator when looking up a user.
4780 This fixes the bug that prevented local users from
4781 matching an AD user when not running winbindd (bug 698).
4782 o Fix a problem with configure on *BSD systems. Make sure
4783 we add -liconv etc to LDFLAGS.
4784 o Fix core dump bug when "security = server" and the authentication
4786 o Correct crash bug due to an empty munged dial string.
4787 o Show files locked by a specific user (smbstatus -u 'user')
4789 o Fix bug preventing print jobs from display in the queue
4790 monitor used by Windows NT and later clients (bug 660).
4791 o Fix several reported problems with point-n-print from
4792 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4793 reply (bug 338, 527 & 643).
4794 o Fix a handful of potential memory leaks in the LDAP code used
4795 by ldapsam[_compat] and the LDAP idmap backend.
4796 o Fix for pdbedit error code returns (bug 763).
4797 o Make sure we only enumerate group mapping entries (not
4798 /etc/group) even when doing local aliases.
4799 o Relax check on the pipe name in a dce/rpc bind response to work
4800 around issues with establishing trusts to a Windows 2003 domain.
4801 o Ensure we mangle names ending in '.' in hash2 mangling method.
4802 o Correct parsing issues with munged dial string.
4803 o Fix bugs in quota support for XFS.
4804 o Add a cleaner method for applications that need to provide
4805 name->SID mappings to do this via NSS rather than having to
4806 know the winbindd pipe protocol.
4807 o Adds a variant of the winbindd_getgroups() call called
4808 winbindd_getusersids() that provides direct SID->SIDs listing of
4809 a users supplementary groups. This is enough to allow non-Samba
4810 applications to do ACL checking.
4811 o Make sure we don't append the 'ldap suffix' when writing out the
4812 'ldap XXX suffix' values in SWAT (bug 328).
4813 o Fix renames across file systems.
4814 o Ensure that items in a list of strings containing whitespace are
4815 written out surrounded by single quotes. This means that both
4816 double and single quotes are now used to surround strings in
4818 o Enable SWAT to correctly determine if winbindd is running (bug
4820 o Include WWW-Authenticate field in 401 response for bad auth
4822 o Add support for NTLM2 (NTLMv2 session security).
4823 o Add support for variable-length session keys.
4824 o More privilege fixes for group enumeration in LDAP (bug 281).
4825 o Use the dns name (or IP) as the originating client name when
4826 using CUPS (bug 467).
4827 o Fix various SMB signing bugs.
4828 o Fix ACL propagation on a DFS root (bug 263).
4829 o Disable NTLM2 for RPC pipes.
4830 o Allow the client to specify the NTLM2 flags got NTLMSSP
4832 o Change the name of the job passed off to cups from "Test Page"
4833 to "smbprn.00000033 Test Page" so that we can get the smb
4834 jobid back. This allow users to delete jobs with cups printing
4835 backend (partial work on bug 770).
4836 o Fix build of winbindd with static pdb modules.
4837 o Retrieve the correct ACL group bits if the file has an ACL
4839 o Implement "net rpc group members": Get members of a domain group
4840 in human-readable format.
4841 o Add MacOSX (Darwin) specific charset module code.
4842 o Use samr_dispinfo(level == 1) for enumerating domain users so we
4843 can include the full name in gecos field (bug 587).
4844 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4845 o Implement 'net rpc group list [global|local|builtin]*' for a
4846 select listing of the respective user databases.
4847 o Don't automatically set NT status code flag unless client tells
4849 o Add 'net status [sessions|shares] [parseable]'.
4850 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
4852 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
4854 o Fix inverted logic in hosts allow/deny checks caused by
4855 s/strcmp/strequal/ (bug 846).
4856 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4857 o Fix typo in 'hash' mangling algorithm.
4858 o Support munged dial for ldapsam (bug 800).
4859 o Fix process_incoming_data() to return the number of bytes handled
4860 this call whether we have a complete PDU or not; fixes bug
4861 with multiple PDU request rpc's broken over SMBwriteX calls
4863 o Fix incorrect smb flags2 for connections to pre-NT servers
4864 (causes smbclient to fail to OS2 for example) (bug 821).
4865 o Update version string in smbldap-tools Makefile to 0.8.2.
4866 o Correct a problem with "net rpc vampire" mis-parsing the
4867 alias member info reply.
4868 o Ensure the ${libdir} is created by the installclientlib script.
4869 o Fix detection of Windows 2003 client architecture in the smb.conf
4871 o Ensure that smbd calls the add user script for a missing UNIX
4872 user on kerberos auth call (bug 445).
4873 o Fix bugs in hosts allow/deny when using a mismatched
4874 network/netmask pair.
4875 o Protect alloc_sub_basic() from crashing when the source string
4876 is NULL (partial work on bug 687).
4877 o Fix spinlocks on IRIX.
4878 o Corrected some bad destination paths when running "configure
4880 o Add packaging files for Fedora Core 1.
4881 o Correct bug in SWAT install script for non-english languages.
4882 o Support character set ISO-8859-1 internally (bug 558).
4883 o Fixed more LDAP access errors when looking up group mappings
4885 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
4886 resolution to fail on local files on on domain members
4888 o Fix uninitialized variable in passdb.c.
4889 o Fix formal parameter type in get_static() in nsswitch/wins.c.
4890 o Fix problem mounting directories when mount.cifs is installed
4891 with the setuid bit on.
4892 o Fix bug that prevent --mandir from overriding the defaults
4893 given in the --with-fhs macro.
4894 o Fix bug in in-memory Kerberos keytab detection routines
4899 ######################################################################
4901 The original 3.0.0 release notes follow
4902 =======================================
4903 WHATS NEW IN Samba 3.0.0
4905 =======================================
4911 1) Active Directory support. Samba 3.0 is now able to
4912 join a ADS realm as a member server and authenticate
4913 users using LDAP/Kerberos.
4915 2) Unicode support. Samba will now negotiate UNICODE on the wire
4916 and internally there is now a much better infrastructure for
4917 multi-byte and UNICODE character sets.
4919 3) New authentication system. The internal authentication system
4920 has been almost completely rewritten. Most of the changes are
4921 internal, but the new auth system is also very configurable.
4923 4) New default filename mangling system.
4925 5) A new "net" command has been added. It is somewhat similar to
4926 the "net" command in windows. Eventually we plan to replace
4927 numerous other utilities (such as smbpasswd) with subcommands
4930 6) Samba now negotiates NT-style status32 codes on the wire. This
4931 improves error handling a lot.
4933 7) Better Windows 2000/XP/2003 printing support including publishing
4934 printer attributes in active directory.
4936 8) New loadable module support for passdb backends and character
4939 9) New default dual-daemon winbindd support for better performance.
4941 10) Support for migrating from a Windows NT 4.0 domain to a Samba
4942 domain and maintaining user, group and domain SIDs.
4944 11) Support for establishing trust relationships with Windows NT 4.0
4947 12) Initial support for a distributed Winbind architecture using
4948 an LDAP directory for storing SID to uid/gid mappings.
4950 13) Major updates to the Samba documentation tree.
4952 14) Full support for client and server SMB signing to ensure
4953 compatibility with default Windows 2003 security settings.
4955 15) Improvement of ACL mapping features based on code donated by
4956 Andreas Grünbacher.
4959 Plus lots of other improvements!
4962 Additional Documentation
4963 ------------------------
4965 Please refer to Samba documentation tree (included in the docs/
4966 subdirectory) for extensive explanations of installing, configuring
4967 and maintaining Samba 3.0 servers and clients. It is advised to
4968 begin with the Samba-HOWTO-Collection for overviews and specific
4969 tasks (the current book is up to approximately 400 pages) and to
4970 refer to the various man pages for information on individual options.
4972 We are very glad to be able to include the second edition of
4973 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4974 (O'Reilly & Associates) in this release. The book is available
4975 on-line at http://samba.org/samba/docs/ and is included with
4976 the Samba Web Administration Tool (SWAT). Thanks to the authors and
4977 publisher for making "Using Samba" under the GNU Free Documentation
4981 ######################################################################
4982 Upgrading from a previous Samba 3.0 beta
4983 ########################################
4985 Beginning with Samba 3.0.0beta3, the RID allocation functions
4986 have been moved into winbindd. Previously these were handled
4987 by each passdb backend. This means that winbindd must be running
4988 to automatically allocate RIDs for users and/or groups. Otherwise,
4989 smbd will use the 2.2 algorithm for generating new RIDs.
4991 If you are using 'passdb backend = tdbsam' with a previous Samba
4992 3.0 beta release (or possibly alpha), it may be necessary to
4993 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4994 to winbindd_idmap.tdb. To do this:
4996 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
4998 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
5000 3) run: (note that 'tdb>' is the tool's prompt for input)
5002 root# ./tdbtool /usr/local/samba/private/passdb.tdb
5003 tdb> show RID_COUNTER
5007 [000] 0A 52 00 00 .R.
5009 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
5013 If you are using 'passdb backend = ldapsam', it will be necessary to
5014 store idmap entries in the LDAP directory as well (i.e. idmap backend
5015 = ldap). Refer to the 'net idmap' command for more information on
5016 migrating SID<->UNIX id mappings from one backend to another.
5018 If the RID_COUNTER record does not exist, then these instructions are
5019 unneccessary and the new RID_COUNTER record will be correctly generated
5024 ########################
5025 Upgrading from Samba 2.2
5026 ########################
5028 This section is provided to help administrators understand the details
5029 involved with upgrading a Samba 2.2 server to Samba 3.0.
5035 Many of the options to the GNU autoconf script have been modified
5036 in the 3.0 release. The most noticeable are:
5038 * removal of --with-tdbsam (is now included by default; see section
5039 on passdb backends and authentication for more details)
5041 * --with-ldapsam is now on used to provided backward compatible
5042 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
5043 backend and authentication section for more details
5045 * inclusion of non-standard passdb modules may be enabled using
5046 --with-expsam. This includes an XML backend and a mysql backend.
5048 * removal of --with-msdfs (is now enabled by default)
5050 * removal of --with-ssl (no longer supported)
5052 * --with-utmp now defaults to 'yes' on supported systems
5054 * --with-sendfile-support is now enabled by default on supported
5061 This section contains a brief listing of changes to smb.conf options
5062 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
5063 complete descriptions of new or modified parameters.
5065 Removed Parameters (order alphabetically):
5068 * alternate permissions
5071 * code page directory
5073 * domain admin group
5074 * domain guest group
5075 * force unknown acl user
5081 * printer driver file
5082 * printer driver location
5084 * source environment
5092 New Parameters (new parameters have been grouped by function):
5096 * abort shutdown script
5099 User and Group Account Management
5100 ---------------------------------
5102 * add machine script
5103 * add user to group script
5104 * algorithmic rid base
5105 * delete group script
5106 * delete user from group script
5108 * set primary group script
5114 * passwd chat timeout
5118 * client lanman auth
5119 * client NTLMv2 auth
5125 * paranoid server security
5134 * hide special files
5135 * hide unwriteable files
5137 * kernel change notify
5147 * max reported print jobs
5149 UNICODE and Character Sets
5150 --------------------------
5156 SID to uid/gid Mappings
5157 -----------------------
5161 * winbind enable local accounts
5162 * winbind trusted domains only
5163 * template primary group
5164 * enable rid algorithm
5171 * ldap machine suffix
5173 * ldap replication sleep
5176 General Configuration
5177 ---------------------
5181 Modified Parameters (changes in behavior):
5183 * encrypt passwords (enabled by default)
5184 * mangling method (set to 'hash2' by default)
5187 * restrict anonymous (integer value)
5188 * security (new 'ads' value)
5189 * strict locking (enabled by default)
5190 * unix extensions (enabled by default)
5191 * winbind cache time (increased to 5 minutes)
5192 * winbind uid (deprecated in favor of 'idmap uid')
5193 * winbind gid (deprecated in favor of 'idmap gid')
5199 This section contains brief descriptions of any new databases
5200 introduced in Samba 3.0. Please remember to backup your existing
5201 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
5202 upgrade databases as they are opened (if necessary), but downgrading
5203 from 3.0 to 2.2 is an unsupported path.
5205 Name Description Backup?
5206 ---- ----------- -------
5207 account_policy User policy settings yes
5208 gencache Generic caching db no
5209 group_mapping Mapping table from Windows yes
5210 groups/SID to unix groups
5211 winbindd_idmap ID map table from SIDS to UNIX yes
5213 namecache Name resolution cache entries no
5214 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
5215 returned as part of a successful
5216 net_sam_logon request
5217 printing/*.tdb Cached output from 'lpq no
5218 command' created on a per print
5220 registry Read-only samba registry skeleton no
5221 that provides support for exporting
5222 various db tables via the winreg RPCs
5228 The following issues are known changes in behavior between Samba 2.2 and
5229 Samba 3.0 that may affect certain installations of Samba.
5231 1) When operating as a member of a Windows domain, Samba 2.2 would
5232 map any users authenticated by the remote DC to the 'guest account'
5233 if a uid could not be obtained via the getpwnam() call. Samba 3.0
5234 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
5235 current work around to re-establish the 2.2 behavior.
5237 2) When adding machines to a Samba 2.2 controlled domain, the
5238 'add user script' was used to create the UNIX identity of the
5239 machine trust account. Samba 3.0 introduces a new 'add machine
5240 script' that must be specified for this purpose. Samba 3.0 will
5241 not fall back to using the 'add user script' in the absence of
5242 an 'add machine script'
5245 ######################################################################
5246 Passdb Backends and Authentication
5247 ##################################
5249 There have been a few new changes that Samba administrators should be
5250 aware of when moving to Samba 3.0.
5252 1) encrypted passwords have been enabled by default in order to
5253 inter-operate better with out-of-the-box Windows client
5254 installations. This does mean that either (a) a samba account
5255 must be created for each user, or (b) 'encrypt passwords = no'
5256 must be explicitly defined in smb.conf.
5258 2) Inclusion of new 'security = ads' option for integration
5259 with an Active Directory domain using the native Windows
5260 Kerberos 5 and LDAP protocols.
5262 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
5263 type which is neccessary for servers on which the
5264 administrator password has not been changed, or kerberos-enabled
5265 SMB connections to servers that require Kerberos SMB signing.
5266 Besides this one difference, either MIT or Heimdal Kerberos
5267 distributions are usable by Samba 3.0.
5270 Samba 3.0 also includes the possibility of setting up chains
5271 of authentication methods (auth methods) and account storage
5272 backends (passdb backend). Please refer to the smb.conf(5)
5273 man page for details. While both parameters assume sane default
5274 values, it is likely that you will need to understand what the
5275 values actually mean in order to ensure Samba operates correctly.
5277 The recommended passdb backends at this time are
5279 * smbpasswd - 2.2 compatible flat file format
5280 * tdbsam - attribute rich database intended as an smbpasswd
5281 replacement for stand alone servers
5282 * ldapsam - attribute rich account storage and retrieval
5283 backend utilizing an LDAP directory.
5284 * ldapsam_compat - a 2.2 backward compatible LDAP account
5287 Certain functions of the smbpasswd(8) tool have been split between the
5288 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
5289 utility. See the respective man pages for details.
5292 ######################################################################
5296 This section outlines the new features affecting Samba / LDAP
5302 A new object class (sambaSamAccount) has been introduced to replace
5303 the old sambaAccount. This change aids us in the renaming of
5304 attributes to prevent clashes with attributes from other vendors.
5305 There is a conversion script (examples/LDAP/convertSambaAccount) to
5306 modify and LDIF file to the new schema.
5310 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5311 $ convertSambaAccount --sid=<Domain SID> \
5312 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5313 --changetype=[modify|add]
5315 The <DOM SID> can be obtained by running 'net getlocalsid
5316 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
5317 the format of the generated LDIF output--either create new entries
5318 or modify existing entries.
5320 The old sambaAccount schema may still be used by specifying the
5321 "ldapsam_compat" passdb backend. However, the sambaAccount and
5322 associated attributes have been moved to the historical section of
5323 the schema file and must be uncommented before use if needed.
5324 The 2.2 object class declaration for a sambaAccount has not changed
5325 in the 3.0 samba.schema file.
5327 Other new object classes and their uses include:
5329 * sambaDomain - domain information used to allocate rids
5330 for users and groups as necessary. The attributes are added
5331 in 'ldap suffix' directory entry automatically if
5332 an idmap uid/gid range has been set and the 'ldapsam'
5333 passdb backend has been selected.
5335 * sambaGroupMapping - an object representing the
5336 relationship between a posixGroup and a Windows
5337 group/SID. These entries are stored in the 'ldap
5338 group suffix' and managed by the 'net groupmap' command.
5340 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
5341 automatically and contains the next available 'idmap uid' and
5344 * sambaIdmapEntry - object storing a mapping between a
5345 SID and a UNIX uid/gid. These objects are created by the
5346 idmap_ldap module as needed.
5348 * sambaSidEntry - object representing a SID alone, as a Structural
5349 class on which to build the sambaIdmapEntry.
5352 New Suffix for Searching
5353 ------------------------
5355 The following new smb.conf parameters have been added to aid in directing
5356 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5359 * ldap suffix - used to search for user and computer accounts
5360 * ldap user suffix - used to store user accounts
5361 * ldap machine suffix - used to store machine trust accounts
5362 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
5363 * ldap idmap suffix - location of sambaIdmapEntry objects
5365 If an 'ldap suffix' is defined, it will be appended to all of the
5366 remaining sub-suffix parameters. In this case, the order of the suffix
5367 listings in smb.conf is important. Always place the 'ldap suffix' first
5370 Due to a limitation in Samba's smb.conf parsing, you should not surround
5371 the DN's with quotation marks.
5377 Samba 3.0 supports an ldap backend for the idmap subsystem. The
5378 following options would inform Samba that the idmap table should be
5379 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5384 idmap backend = ldap:ldap://onterose/
5385 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5386 idmap uid = 40000-50000
5387 idmap gid = 40000-50000
5389 This configuration allows winbind installations on multiple servers to
5390 share a uid/gid number space, thus avoiding the interoperability problems
5391 with NFS that were present in Samba 2.2.
5395 ######################################################################
5396 Trust Relationships and a Samba Domain
5397 ######################################
5399 Samba 3.0.0beta2 is able to utilize winbindd as the means of
5400 allocating uids and gids to trusted users and groups. More
5401 information regarding Samba's support for establishing trust
5402 relationships can be found in the Samba-HOWTO-Collection included
5403 in the docs/ directory of this release.
5405 First create your Samba PDC and ensure that everything is
5406 working correctly before moving on the trusts.
5408 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5409 4.0 domain named WINDOWS:
5411 1) create the trust account for SAMBA in "User Manager for Domains"
5412 2) connect the trust from the Samba domain using
5413 'net rpc trustdom establish GLASS'
5415 To create a trustlationship with SAMBA as the trusted domain:
5417 1) create the initial trust account for GLASS using
5418 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5419 account for GLASS$ prior to this step (depending on your
5420 local configuration).
5421 2) connect the trust from a WINDOWS DC using "User Manager
5424 Now join winbindd on the Samba PDC to the SAMBA domain using
5425 the normal steps for adding a Samba server to an NT4 domain:
5426 (note that smbd & nmbd must be running at this point)
5428 root# net rpc join -U root
5429 Password: <enter root password from smbpasswd file here>
5431 Start winbindd and test the join with 'wbinfo -t'.
5433 Now test the trust relationship by connecting to the SAMBA DC
5434 (e.g. POGO) as a user from the WINDOWS domain:
5436 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5439 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5441 $ smbclient //crystal/netlogon -U root -W WINDOWS
5444 ######################################################################
5448 Beginning with Samba3.0.0beta3, winbindd has been given new account
5449 manage functionality equivalent to the 'add user script' family of
5450 smb.conf parameters. The idmap design has also been changed to
5451 centralize control of foreign SID lookups and matching to UNIX
5455 Brief Description of Changes
5456 ----------------------------
5458 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5459 reverted to the 2.2.x design. This means that when resolving a
5460 SID to a UID or similar mapping:
5462 a) First consult winbindd
5463 b) perform a local lookup only if winbindd fails to
5464 return a successful answer
5466 There are some variations to this, but these two rules generally
5469 2) All idmap lookups have been moved into winbindd. This means that
5470 a server must run winbindd (and support NSS) in order to achieve
5471 any mappings of SID to dynamically allocated UNIX ids. This was
5472 a conscious design choice.
5474 3) (OBSOLETE) New functions have been added to winbindd to emulate
5475 the 'add user script' family of smbd functions without requiring
5476 that external scripts be defined. This functionality is controlled
5477 by the 'winbind enable local accounts' smb.conf parameter (enabled
5480 However, this account management functionality is only supported
5481 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5482 must be shared among multiple Samba servers (such as a PDC and BDCs),
5483 it will be necessary to define your own 'add user script', et. al.
5484 programs that place the accounts/groups in some form of directory
5485 such as NIS or LDAP. This requirement was deemed beyond the scope
5486 of winbind's account management functions. Solutions for
5487 distributing UNIX system information have been deployed and tested
5488 for many years. We saw no need to reinvent the wheel.
5490 4) A member of a Samba controlled domain running winbindd is now able
5491 to map domain users directly onto existing UNIX accounts while still
5492 automatically creating accounts for trusted users and groups. This
5493 behavior is controlled by the 'winbind trusted domains only' smb.conf
5494 parameter (disabled by default to provide 2.2.x winbind behavior).
5496 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5497 in smbd/uid.c. The reason that group mappings are not included
5498 in winbindd is because the purpose of Samba's group map is to
5499 match any Windows SID with an existing UNIX group. These UNIX
5500 groups can be created by winbindd (see next section), but the
5501 SID<->gid mapping is retreived by smbd, not winbindd.
5507 * security = server running winbindd to allocate accounts on demand
5509 * Samba PDC running winbindd to handle the automatic creation of UNIX
5510 identities for machine trust accounts
5512 * Automtically creating UNIX user and groups when migrating a Windows NT
5513 4.0 PDC to a Samba PDC. Winbindd must be running when executing
5514 'net rpc vampire' for this to work.
5517 ######################################################################
5521 * There are several bugs currently logged against the 3.0 codebase
5522 that affect the use of NT 4.0 GUI domain management tools when run
5523 against a Samba 3.0 PDC. This bugs should be released in an early
5526 Please refer to https://bugzilla.samba.org/ for a current list of bugs
5527 filed against the Samba 3.0 codebase.
5530 ######################################################################
5531 Reporting bugs & Development Discussion
5532 #######################################
5534 Please discuss this release on the samba-technical mailing list or by
5535 joining the #samba-technical IRC channel on irc.freenode.net.
5537 If you do report problems then please try to send high quality
5538 feedback. If you don't provide vital information to help us track down
5539 the problem then you will probably be ignored.
5541 A new bugzilla installation has been established to help support the
5542 Samba 3.0 community of users. This server, located at
5543 https://bugzilla.samba.org/, has replaced the older jitterbug server
5544 previously located at http://bugs.samba.org/.