1 ===============================
2 Release Notes for Samba 3.0.20a
4 ===============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all current
8 bug-fixes. Please read the following important changes in this
11 Common bugs fixed in 3.0.20a include:
13 o Stability problems with winbindd.
14 o Crash bugs caused by incompatibilities on 64-bit systems.
15 o Missing files from directory listings on AIX servers
16 o User Manager interoperability problems.
17 o Minor build difficulties on various platforms such as
21 ######################################################################
32 o Jeremy Allison <jra@samba.org>
33 * BUG 3065: Fix for legacy clients retrieving a listing of
35 * Added external library for accessing Samba's share mode
37 * Fix winbindd credentials chain which caused logon failures
38 after attempting to authenticate an unknown user.
39 * Fix recursive looping bug in winbindd.
40 * Fix build errors on 64-bit systems.
41 * Posix ACL memory leak and crash bug fixes.
42 * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
43 * BUG 3060: Ensure SMBcreate truncates the file if it exists.
44 * Hide dot files and directory logic fixes.
45 * Correct display of open file modes by smbstatus.
46 * BUG 3010: Fix missing files bug on AIX systems.
49 o Gerald (Jerry) Carter <jerry@samba.org>
50 * Allow the root user to automatically pass se_access_checks()
51 in the registry and service control server code.
52 * Ensure that winbindd uses the correct name in the net_auth2()
53 request when running on a Samba PDC.
54 * Fix linking problem with tdb utilities.
55 * BUG 3080: Fix regression in 'net rpc shutdown' command.
56 * Fix segv in 'net rpc' when the pipe open fails.
57 * Fix upload bug when installing 64-bit Windows printer drivers.
58 * Fix regression in the smburi syntax used by smbspool.
59 * Fix sorting of subkey hash records in registry files.
60 * Correct REG_CREATE_KEY_EX parsing error.
61 * Interoperability issues with usrmgr.exe and Samba groups.
62 * Use the display names and not the Unix names when enumerating
63 groups in the ldapsam passdb backend.
64 * Ensure that Windows domain user names are converted to lower case.
67 o Guenther Deschner <gd@samba.org>
68 * Prevent BUILTIN sids returned in the user's token from
69 a Windows DC from being applied to any local group mappings
71 * Plug memory leaks in the kerberos keytab code.
72 * Ensure BUILTIN groups are returned from winbindd's idmap_rid
73 backend when 'winbind nested groups' is enabled.
74 * Fix crash bug in winbindd caused by 64-bit build issues.
75 * Improve debug messages in smbspool.
76 * Give better error-message when "NDS Universal Password" change fails.
77 * Fix password history error in the eDirectory schema file.
78 * Ensure that Windows domain group names are converted to lower case.
81 o Steve French <sfrench@us.ibm.com>
82 * Allow disabling mandatory byte range lock mount flag, and fix
83 corresponding entry in mtab.
86 o Volker Lendecke <vl@samba.org>
87 * Fix race condition in the NTcreate&X open code when the
88 disposition is NTCREATEX_DISP_CREATE.
89 * Correct logic error when checking the pid for pending print
90 change notify messages.
91 * Ensure that winbindd child process complete startup even when
92 the parent is receiving authentication requests.
93 * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
94 when authentication fails.
97 o Jason Mader <jason@ncac.gwu.edu>
98 * Compile warning fixes.
101 o Uli Meis <a.sporto@gmail.com>
102 * Patches for pdb_*sql.c
105 o Luke Mewburn <lukem@NetBSD.org>
106 * Autoconf syntax fixes.
109 o James Peach <jpeach@sgi.com>
110 * Correct problem with creating a core file in Linux.
113 o Stefan Metzmacher <metze@samba.org>
114 * Quota fixes in smbd.
117 o Peter Rindfuss <rindfuss@wz-berlin.de>
118 * Patches for pdb_*sql.c
121 o Jiri Sasek <Jiri.Sasek@Sun.COM>
122 * Solaris toolchain patches for autoconf scripts.
125 o Andrew Tridgell <tridge@samba.org>
126 * Fix for tdb clear-if-first race condition.
129 o Leo Weppelman <leo@wau.mis.ah.nl>
130 * BUG 3104: Don't allow time updates to files on read-only shares.
133 o Steve Williams <steve@celineandsteve.com>
134 * BUG 3052: Fix compile issues on OpenBSD.
137 Release Notes for older release follow:
139 --------------------------------------------------
140 ==============================
141 Release Notes for Samba 3.0.20
143 ==============================
145 Additional features introduced in Samba 3.0.20 include:
147 o Support for several new Win32 rpc pipes.
148 o Improved support for OS/2 clients.
149 o New 'net rpc service' tool for managing Win32 services.
150 o Capability to set the owner on new files and directory
151 based on the parent's ownership.
152 o Experimental, asynchronous IO file serving support.
153 o Completed Support for Microsoft Print Migrator.
154 o New Winbind IDmap plugin (ad) for retrieving uid and gid
155 from AD servers which maintain the SFU user and group
157 o Rewritten support for POSIX pathnames when utilizing
158 the Linux CIFS fs client.
159 o New asynchronous winbindd.
160 o Support for Microsoft Print Migrator.
161 o New Windows NT registry file I/O library.
162 o New user right (SeTakeOwnershipPrivilege) added.
163 o New "net share migrate" options.
166 What happened to 3.0.15 - 3.0.19?
167 ==================================
169 After some discussion it was deemed that the amount of changes
170 going into the next Samba 3.0 release needed something to catch
171 people's attention. Skipping several releases was chosen as
172 the best solution with the least overhead. There will be no
173 3.0.15 - 3.0.19 ever released. The next production release
174 following 3.0.20 should be 3.0.21.
176 The original announcement about the version number change can
177 be found in the samba mailing list archives:
179 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
182 Asynchronous Winbind Implementation
183 ===================================
185 Winbindd has been completely rewritten in this release to support
186 an almost completely non-blocking, asynchronous request/reply
187 model. This means that winbindd will scale much better in
188 large domain environments and on high latency networks. Neither
189 the client interface nor the command line tools (i.e. wbinfo) have
190 changed in their calling conventions or syntax. However, due to
191 internal structure changes, it is required (more so than normal)
192 that you install the nss_winbind.so library included in this release.
195 Support for Microsoft Print Migrator
196 ====================================
198 Samba 3.0.20 includes full support for migrating printers from
199 Windows servers or other Samba servers via the Microsoft Print
200 Migrator tool. Restoring printers requires a working "add printer
201 command" defined in smb.conf. Current support also allows
202 administrators to create a master list of printer drivers which
203 can be restored in bulk on new (or existing) Samba installations.
206 Asynchronous IO Support
207 =======================
209 Experimental support for async IO has been added to smbd for
210 certain platforms. To enable this new feature, Samba must be
211 compiled to include the --with-aio-support configure option.
212 In addition, the "aio read size" and "aio write size" to non-zero
213 values. See the smb.conf(5) man page for more details on these
217 ######################################################################
224 Parameter Name Action
225 -------------- ------
226 acl check permissions New
227 acl group control New
228 acl map full control New
231 enable asu support New
234 map to guest Modified (new value added)
235 max stat cache size New
236 min password length Removed
237 printer admin Deprecated
238 username map script New
239 winbind enable local accounts Removed
240 winbindd nss info New
243 Changes since 3.0.14a
244 ---------------------
250 o Jeremy Allison <jra@samba.org>
251 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
252 * Ensure the old SMB search calls always ask mask_match() to
253 translate patterns like ????????.???.
254 * Split out the check_path_syntax() into a findfirst, findnext,
256 * Fix checks for matching groups in an file ACL against the
257 user's primary and supplementary group list.
258 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
259 LANMAN2 protocol, ensure the EA size is always correctly
260 set on a query for a file with no EA's.
261 * BUG 2551: Look at the incoming flags2 flag
262 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
263 uppercased on a SMBsearch request, not the protocol level.
264 * Added "volume" command to smbclient that prints out the
265 volume name and serial number.
266 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
267 * Add support for OS/2 Extended Attributes.
268 * Correctly check OpenX open modes.
269 * Ensure allocation size is correctly returned for OpenX.
270 * Only set allocation on create/truncate for nttrans.
271 * Fix oplock bug in trans2open() code.
272 * Remove unix_ERR_XXX global nastiness.
273 * Only do the strange DOS error for openX, not trans2open.
274 * Ensure SMBopen replies includes the share modes as well as
276 * BUG 2581: Add size limit (in kb) to stat cache.
277 * Fix bug in the trans2 secondary processing.
278 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
279 * Add an SMB counter per connection struct for gathering
281 * BUG 2605: Ensure smbclient doesn't perform commands if
282 the "chdir" fails in a scripted set.
283 * Ensure a 'forced group' is added to the list of effective
284 gids when processing ACLs.
285 * Refactor rpc_bind structures for better future work.
286 * BUG 2942: Add missing value in debug message.
287 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
288 by 'mangling method = hash'.
289 * Fix memory leaks in the msdfs trans2 server code.
290 * Convert msdfs server to be talloc'd based.
291 * Fix up stackable vfs interface.
292 * Fix rpc fault when encountering an unknown rpc_bind auth
294 * BUG 2954: More AIX 5.1 AIO compile fixes.
295 * Fix valgrind bug in interaction with new aio buffer (found
297 * BUG 2878: Fix Norton commander not running on OS/2 clients.
298 * Cleanup SAMR user info structure naming.
299 * BUG 2889: Fix directly listings from OS/2 clients.
300 * Added "acl group control" parameter.
301 * Add debug warning if AddPrinterEx() is called without having
302 an 'add printer command' defined.
303 * Add better log messages when modifying ldap entries.
304 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
305 when string is unaligned.
306 * BUG 2918: Fix SMB chaining by ensuring that deferred open
307 message buffer is nor reused.
308 * Add support for client setting capabilities to select posix
309 pathnames on the wire.
310 * Stop using C++ reserved words so that Samba can be compiled
311 using g++. Also allows VFS modules in C++.
312 * More fixes to allow better large directory scaling.
313 * BUG 2827: Ensure we call the vfs connection hook before
314 doing a vfs stat. Allows database vfs backends to initialize
315 with a working connection.
316 * BUG 2826: Ensure the correct return value for symlink and
318 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
319 * Added AIO support to smbd.
320 * Add "acl map full control", true by default, to allow people
321 to change mapping of rwx to full control or not.
322 * Transition smbd to use NTcreate&X for internal file opens.
323 * Add checks against the current effective group id (e.g. force
324 user) when testing write permissions one ACLs.
325 * Fix FindFirst/FindNext server code when parsing directories
326 on old IRIX XFS file systems (thanks to Cale Fairchild
327 for the debugging help).
328 * BUG 2644: Test for special files to be ignored was reversed.
329 * Ensure yield_connection() is called on all appropriate error
331 * Fix EDEADLCK problem with deferred open calls.
332 * BUG 2622: Remove DPTR_MASK as it makes no sense.
333 * Fix the write cache based on some VERY good detective work
335 * BUG 2346: Fix read-only excel file bugs.
336 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
337 return ENOSYS if not implemented.
338 * Add new CAP for POSIX pathnames.
339 * BUG 2703: Add NULL guard for disp_fields[0].
340 * BUG 2681: With "strict allocate = yes" we now zero fill when
341 a file is extended. Should catch disk full errors on write
343 * Add "acl check permissions" to turn on/off the new
344 behavior of checking for write access in a directory
346 * Refactor printing interface to take offset into job.
347 * Allow mapping of POSIX ACLs to NT perms to differentiate
348 between directories and files.
349 * Added encrypt/decrypt function for LSA secrets and trusted
350 domain passwords on the wire.
351 * BUG 2729: Resume keys are *mandatory* for a search when
352 listing a W2K and above server from a FATxx filesystem only.
353 * BUG 2735: Ensure that smbd mangles control characters in file
355 * Refactor small pieces of socket handling code (in conjunction
357 * BUG 2698: Fix infinite listing loop in smbclient caused by
358 an invalid character set conversion.
359 * Add client code that will abort a directory listing if we
360 see the same name twice between packets.
361 * Performance improvements in trans2 qfilepathinfo code by
362 removing unnecessary memset() calls.
363 * Rewrite the RPC bind parsing functions to follow the
364 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
365 * BUG 2774: Set sparse flag if needed when returning
367 * Fix errors listing directories from Windows NT clients
368 which caused "." and ".." to show up in explorer.exe.
369 * Merge of error code fixes from SAMBA_4_0 branch.
370 * BUG 2801: Fix regression in the "delete veto files" option.
371 * Fix based on work from Shlomi Yaakobovich to catch loops
372 in corrupted tdb files.
373 * Allow someone with SeTakeOwnershipPrivilege to chown the
374 user of a file to herself.
375 * Fix minor compiler warnings in printing/printing.c.
376 * Merge new DOS error code from SAMBA_4.
377 * Fix issue when non-English characters in filenames and
379 * Fix bogus error message in smbstatus about unknown share modes.
382 o Andrew Bartlett <abartlet@samba.org>
383 * Support raw NTLMSSP authentication for Windows Vista
385 * Fix parallel NTLMSSP processing by removing global state.
386 * BUG 2684: Add per service hosts allow/deny checks for
387 printers when connecting via MS-RPC.
388 * BUG 2391: Fix segv caused by free a static pointer returned
390 * Support kerberos authentication in smbd when using a keytab
391 and participating in a non-Microsoft Kerberos realm.
394 o Timur Bakeyev <timur@com.bat.ru>
395 * BUG 2546: Add support for FreeBSD EA API
396 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
397 * BUG 2908: Fix string length logic error in msdfs code.
398 * BUG 2909: Fix typo that caused smbd to call the wrong
402 o Ed Boraas <ed.boraas@concordia.ab.ca>.
403 * Added Linux per-socket TCP settings.
406 o Gerald (Jerry) Carter <jerry@samba.org>
407 * Added support for \svcctl pipe rpcs.
408 * Added 'net rpc service' subcommand for managing Win32
410 * Refactoring work on the rpc [un]marshalling layer and
412 * Verify privilege name in 'net rpc rights privileges' in
413 order to provide better error messages.
414 * Cleanup rpc structures in rpc_spoolss.h.
415 * Cleanups and fixes for the \winreg server code.
416 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
417 * Fix bugs in client spoolss code after refactoring work.
418 * Fix Valgrind warnings of invalid reads in the spoolss
420 * Fixed a segv when enumerating services on a Samba host.
421 * Fix segv in the service control server code.
422 * Fix crashes in client spoolss calls caused by not checking
423 for a valid pointer from the caller.
424 * Fix regression in DeleteDriver() server routines.
425 * Fix dup_a_regval() when size is 0.
426 * Fix usrmgr.exe crash when viewing user properties at
428 * Do not enumerate any privileges when 'enable privileges = no'
429 and log a message if a client tries.
430 * BUG 2872: Fix cut-n-paste error when checking pointer value
431 in ntlmssp_set_workstation().
432 * Fix upgrade path from earlier nt*tdb files.
433 * Removed print handle object cache.
434 * BUG 2853: Don't strip out characters like '$' from printer
435 names when substituting for the lpq command.
436 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
437 * Fix build issues on x86_64-linux systems caused by valgrind
438 headers. Thanks to Bent Vangli to the suggestions.
439 * Refactor spoolss client calls.
440 * Adding 'username map script'.
441 * Disable schannel on the LSA and SAMR pipes in winbindd client
442 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
443 * Cleanup of winreg API functions.
444 * Add server stubs for RegSetKeySec() and RegGetKeySec().
445 * Map generic bits to specific bits in reg_open_entry()
447 * Add write support to registry tdb and printing backends.
448 * Use tdb lookups rather than hard-coding certain registry
449 value names and data.
450 * BUG 2808: don't try to install man pages if they are not
452 * Fix initialized variables reported by valgrind.
453 * Normalize key lookups in ntprinters.tdb.
454 * Mark "enumports command" as deprecated.
455 * Add missing class file for python share command example.
456 * Fix smbclient build issue on Solaris.
457 * BUG 2626: ensure that the calling_name is set to something
458 after parsing smb.conf (if not set via -n).
459 * Use "add machine script" when creating a user (ACB_NORMAL)
460 who has a name ending in '$' (e.g. usrmgr.exe creating
461 domain trust accounts).
462 * Add 'rid' synonym for idmap_rid IDMap module.
463 * Ensure that we set full access on the handle returned
464 from _samr_create_dom_{alias,group}() so that future
465 set_{alias,group}() commands succeed.
466 * Fix bug when looking for internal domains in winbindd
467 (caused winbindd_getgrgid() for local groups to fail).
468 * Fix query and set alias info calls (level 1 from the MMC
469 manage computer plug-in.
470 * Remove bogus log messages about unknown specversions.
471 * BUG 2680: copy files from an MS-DFS win2k root share
472 * BUG 2688: re-implement support for the -P (--port) option
473 * Support connecting to an 'msdfs proxy' share on a Samba
475 * Strip the directory path from cups command line printing
477 * Fix bug that prevented smbclient from creating directories
479 * Deprecate the "printer admin" parameter in favor of the
480 SePrintOperatorPrivilege.
481 * Add the capability to read and write WinNT regf registry
483 * Implement access checks for RegOpenXXX() server calls.
484 * Extend registry client rpc calls.
485 * Add "net rpc registry" set of commands.
486 * Remove testprns tool.
487 * Ensure that printer ACLs use the specific bits as well as
488 the generic bits. Upgrade existing ntprinters.tdb SECDESC
490 * Add server support for RegSaveKey() for dumping registry
491 trees to a regf file.
492 * Add "enable asu support" smb.conf parameter.
493 * Merge various small file changes from trunk.
494 * Remove "winbind enable local accounts" support.
495 * Remove "ldap filter" smb.conf option.
496 * Remove editreg utility (needs to be rewritten using regfio.c).
497 * Fix build failure when running 'make torture' without first
498 running 'make all' first.
499 * BUG 1261: Remove unusable libbiconv from iconv detection
501 * Add new option for "map to guest". "Bad Uid" re-enables the
502 Samba 2.2 behavior of mapping authenticated users to the
503 guest account if there does not exist a valid Unix account
504 for the Windows domain user (based on patch from
505 aruna.prabakar@hp.com).
506 * Fix a couple of regressions after introduction of new winbindd.
507 * Fix smbpasswd user password change (still worked by bad error
508 messages) due to trying to strdup a NULL pointer.
509 * Implement default security descriptors for the
510 OpenService[Manager]() calls and check requested access mask
512 * Include access checks on handle mask for \svcctl operations
513 such as ControlService() and StartService().
514 * Implement simulated start and stop service control for
515 the spooler service as a per smbd service state value.
516 * Add interface structure for controlling service via rc.init
517 scripts (incomplete).
518 * Convert move_driver_to_download_area() to use copy_file()
519 rather than moving the files.
520 * Add version number to registry.tdb file since it can be
522 * Remove over-paranoid assert() call when checking spoolss
524 * Fix error in EnumPrinterData() reported by valgrind.
525 * Fix broken help links in SWAT editor caused by new doc layout.
526 * Ensure that a domain structure in winbind is initialized prior
527 to assigning the methods for communicating to a DC.
528 * BUG 3000: Remove background updates of winbind cache and allow
529 child processes to immediately update and expired cache entry.
532 o David.Collier-Brown <David.Collier-Brown@sun.com>
533 * Added panic action script for Solaris.
536 o Jeremy Cooper <jeremy@ncircle.com>
537 * Added support for several new \winreg client rpcs.
540 o <core@road-star.jp>
541 * BUG 2792: Ensure the shadow copy module hooks seekdir,
542 telldir, rewinddir to match updated large directory code.
545 o Guenther Deschner <gd@samba.org>
546 * Close handles on group creation in rpcclient to better
547 support mass group account creation.
548 * Fix account policy key lookup for minimum and maximum
550 * Fix some compiler warnings and add missing exclude-block
551 in 'net rpc share migrate'.
552 * Allow use of a non-default smb.conf by rpcclient.
553 * Fix querydispinfo search semantics in rpcclient test code.
554 * Fix querydispinfo server semantics to allow to list more
556 * Fix server crash bug in ancient OpenPrinter() call.
557 * Fix a crash bug when enumerating privileges via the LSA
559 * Fix crash in EnumPrinterKey() client calls caused by previous
561 * Various compiler warning fixes.
562 * Fix segfault in the client AddPrinterEx-call of 'net
564 * Fix build issues when --with-aio-support is enabled.
565 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
566 * Honour the CC environment variable in python build.
567 * Fix searches in pdb_ldap for inter-domain trust accounts.
568 * Don't expand the %L in %LOGONSERVER% from user attributes.
569 * Fix bug in 'net rpc vampire' that caused accounts to be created
570 with no assigned ACB flags.
571 * Fix enumeration of builtin-aliases.
572 * Avoid unset rids for builtin-aliases.
573 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
574 * More "net rpc share migrate" fixes.
575 * Merge PADL's idmap_ad plugin (taken from the latest
576 xad_oss_plugins-tarball).
577 * Add support for "idmap backend = ad" when "security = ads".
578 * Add home directory and shell support from AD via "winbindd nss
579 support = sfu" and "security = ads".
580 * Provide better feedback when we fail share-manipulation
581 due to missing scripts.
582 * Correctly substitute "\" as default winbind separator in
583 generate_parm_table.py example share command script.
584 * Document pam_winbind.c to clarify the working status of
585 require-membership-of option.
586 * Added client-support for various lsa_query_trust_dom_info()
587 calls and a rpcclient-tester for some info-levels.
588 * Add "net rpc trustdom vampire" tool (in conjunction with
590 * Add missing cli_srvsvc_net_share_set_info-function and
591 rpcclient-testers (in preparation for net share acl migration).
592 * Print trusted domain passwords returned via rpcclient in
594 * Error code fixes when attempting to manipulating
596 * Cleanup "net share migrate" code.
597 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
599 * Allow admins to uncheck the "User must change Password at
600 next Logon" checkbox in User manager (merge from trunk).
603 o Renaud Duhaut <rd@duhaut.com>
604 * BUG 1040: Add directory_mode parameter when creating recycle
608 o Steven Edwards <steven_ed4153@yahoo.com>.
609 * Use chsize() if we don't have ftruncate().
612 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
613 * BUG 1780: Add kerberos (file based ticket cache) support
617 o Steve French <sfrench@us.ibm.com>
618 * Update list of mount options for mount.cifs.
619 * Add more defines for POSIX extensions to match the newly
620 added client implementation.
621 * Add initial support for cifs umount utility.
622 * Fix cifs mounts to handle commas embedded in prompted
623 password, and password and credential files.
624 * Fix cifs mounts to handle domain name and user name in
625 username field (in form domain\user).
626 * Add missing error code mappings when a client unsuccessfully
627 tries to create a hard-link.
628 * Add support so umount.cifs can update mtab.
629 * Add two newer mount options to syntax help for mount.cifs.
630 * Add missing remount flag handling.
631 * Allow domain= to be specified in credentials file.
632 * Fix umount.cifs help, allow root to unmount someone else's
634 * Lock mtab when updating it during umount.cifs, also delete
635 only one matching entry at a time.
636 * Fix minor compiler warnings in the mount.cifs helper.
639 o Deryck Hodge <deryck@samba.org>
640 * BUG 2137: Encode quotes for display in HTML (original patch
644 o Olaf Imig <Olaf.Imig@bifab.de>
645 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
647 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
650 o Björn Jacke <bj@sernet.de>
651 * Added ioctl constants reported by msbackup.exe and filemon.exe.
654 o Kevin Jamieson <bugzilla@kevinjamieson.com>
655 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
658 o John Janosik <jpjanosi@us.ibm.com>
659 * BUG 2077: Correctly fill in the correct server name when
660 processing trusted domain logins.
661 * BUG 2976: Mark logons for unknown domains with a
662 non-authoritative response.
665 o William Jojo <jojowil@hvcc.edu>
669 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
670 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
674 o Tom Lackemann <cessnatomny@yahoo.com>
675 * BUG 2242: Patch to ensure that we only set the security
676 descriptor on an NTtransact create if we created the file.
679 o Volker Lendecke <vl@samba.org>
680 * Port some of the non-critical changes from HEAD to 3_0.
681 The main one is the change in pdb_enum_alias_memberships
682 to match samr.idl a bit closer.
683 * Close handles on user creation in rpcclient to better
684 support mass user account creation.
685 * Implement client RAP calls for enumusers/enumgroups level 0.
686 * Implement a new caching API for enumerating the pdb elements.
687 * Convert the RAP user and group enumeration functions to the
688 utilized the pdb_search API.
689 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
690 RestrictAnonymous environments.
691 * Internal passdb API changes for better search capabilities
692 (based on original work by Guenther Deschner).
693 * Fix various compiler warnings.
694 * Add chain length statistics to tdbtool.
695 * Fix set afs ACL calls on files and directories in the root of
697 * Refactoring work on internal open code
698 * Correctly initialize the version in a new set of nt*tdb files.
699 * Remove smb_run_idle_events() from main process loop in smbd
700 and instead rely upon the timeout processing to handle
701 dropping idle LDAP connections.
702 * Fix the bug where users show up as trusting domains.
703 * Fix an assertion failure in winbindd.
704 * Fix a memleak in vfs_afsacl.
705 * Various compiler warning fixes.
706 * Fix compile when --enable-socket-wrapper is defined.
707 * Fixes for top level acls in vfs_acl.c.
708 * Refactor passdb interface functions.
709 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
710 * Correct 2 segv's in "net rpc printer migrate".
711 * Return correct group type from smbd for BUILTIN groups.
712 * Backport the talloc() layer from Samba 4.
713 * BUG 2701: Fix segv in ldap reconnection code.
714 * BUG 2705: Fix segv when connecting from usrmgr.exe.
715 * Use the SID in the user token for the %s expansion in 'afs
717 * Memory leak fixes in passdb code.
718 * BUG 2720: Fixes for "net usersidlist".
719 * BUG 2725: Fix segv in "net ads user".
720 * Only allow schannel connections if a successful Auth2
721 has been previously performed.
722 * Don't look at gencache.tdb for the trusted domains if
724 * Rewrite winbindd using an asynchronous process model.
727 o Herb Lewis <herb@samba.org>
728 * Compiler warning cleanups.
729 * smbwrapper Makefile and compile time check cleanups.
730 * Adding robustness checks for tdbdump and tdbtool.
731 * Extend tdb command line parsing to arbitrary hex characters.
732 * Add LOCKING debug class.
733 * Fix more compiler warnings.
736 o Derrell Lipman <derrell@samba.org>
737 * add support for opening a file for write with O_APPEND
739 * Added smbsh/smbwrapper for Linux to example/libsmbclient
741 * Fix smbc_stat() from returning incorrect timestamps IFF
742 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
743 and not if it used cli-getatr() to retrieve the timestamps
745 * Fix handful of compiler warnings.
746 * BUG 2498, 2484: smbc_getxattr() fixes.
747 * BUG 1133: Added provision for overloading some global
748 configuration options via the new, per-user file
749 ~/.smb/smb.conf.append.
750 * BUG 2543: Properly cache anonymous username when reverting
751 to anonymous login, in libsmbclient.
752 * BUG 2505: Fix large file support in libsmbclient.
753 * BUG 2564: Ensure correct errno when smbc_opendir() was called
754 with a file rather than a directory.
755 * Correct deprecated lvalue casts in testsuite/libsmbclient.
756 * BUG 2663. cli_getattrE() and cli_setattrE() were not
757 formatting or parsing the timestamp values correctly.
758 * Correctly detect AF_LOCAL support in configure.
759 * Fix problem updating file times on Windows 98 hosts using
761 * Fix compile breakage on Solaris by eliminating the use of
762 ctime_r() in libsmbclient DEBUG statement.
765 o Jason Mader <jason@ncac.gwu.edu>
766 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
767 * Various compiler warning fixes about mistyped variables.
768 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
770 * BUG 2527, 2538: Removed unused variables.
773 o Marcel <samba.10.maazl@spamgourmet.com>
774 * Fix regression in OS/2 trans2 open code.
777 o Jim McDonough <jmcd@us.ibm.com>
778 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
779 (in conjunction with Volker).
780 * BUG 2953: Prevent the credentials chain on DC gets out
781 of sync with client when NT_STATUS_NO_USER is returned.
782 * Added subcommands to "net rpc vampire" (mostly done by Don
783 Watson <dwatson@us.ibm.com>) to allow data to be put into an
784 ldif file instead of actually writing to the passdb.
785 * BUG 2736: Add retries to workaround winbind race condition
786 with detecting idle clients.
787 * BUG 2953: Additional fixes for domain trusts. Also clears
788 up the "bad stub" error when attempting to logon to a Samba
789 domain with a bad username.
792 o Luke Mewburn <lukem@NetBSD.org>
793 * Compiler warning fixes.
796 o Kalim Moghul <kalim@samba.org>
797 * Removed unused printmode command from smbclient.
800 o Lars Müller <lmuelle@samba.org>
801 * Re-enable the VERSION_REVISION option in case of another
803 * Fix spoolss python bindings after C++ compiler changes and
805 * BUG 2659: Don't trump on memory in smbtorture.
806 * BUG 2060: Add -fPIC which is the case for all other Samba
808 * Fix argv parsing in "net rpc".
809 * Add support to create position independent executable (PIE)
810 code if the compiler supports it.
811 * BUG 2767: Add new options to testparm (--show-all-parameters,
812 --parameter-name, and --section-name).
813 * Fix net share migrate files to also migrate the ACLs of
814 the top level dir of a share.
817 o Marcel Muller <mueller@maazl.de>
818 * Patch to fix the OS/2 EA_FROM_LIST info level call.
819 * Mangled names fix for OS/2 clients.
820 * Ensure we correctly set the return packet size to include the
821 pad bytes in reply_readbmpx().
822 * Fix for bug in SMBwriteBraw that incorrectly returned the
823 number of bytes written.
826 o Ricky Nance <ricky.nance@gmail.com>
827 * Implemented mklogon script generator for domain logon scripts.
830 o James Peach <jpeach@sgi.com>
831 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
832 * BUG 2285: Patch for hires timestamps and efficient notify code.
833 * MS-DFS tidyup patches.
834 * Build fixes on IRIX.
835 * IRIX compiler warning fixes.
836 * BUG 2596: Fix become_root link issues and one IRIX stack
838 * Fix for null pointer ACL free.
839 * BUG 2314: Fix const compiler warnings in the quota code.
842 o Ed Plese <ed@edplese.com>
843 * Fix faulty logic which caused winbindd to return failure
844 when a user possessed no supplementary groups.
847 o Marcin Porwit <mporwit@centeris.com>
848 * Initial support for the \eventlog pipe.
849 * Fix a memleak in the eventlog code.
850 * Miscellaneous fixes for Samba's experimental event log support.
851 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
855 o Tim Potter <tpot@samba.org>
856 * BUG 2940, 2943: Fixed various compiler warnings regarding
857 mismatched types and unused variables.
858 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
859 * BUG 2733: Fix incorrect SHLIBEXT is set when running
860 configure script on HPUX IA.
861 * Remove unused autoconf #define's.
862 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
863 * Removed unused function declarations in tdb.h.
864 * BUG 2895: Don't wrap non-existent functions in the python
866 * BUG 2623, 2630: $< and $* are not valid in explicit rules
868 * BUG 2560: Fix compile error lurking where PATH_MAX is not
870 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
871 * BUG 2611: Add fflush(stdout) after displaying username prompt
872 in smbsh if username not specified on command line.
873 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
874 * BUG 2808: Update install swat message to reflect the fact
875 that swat/README no longer exists.
878 o Denis Sbragion <d.sbragion@infotecna.it>
879 * BUG 2196: Allow absolute path (system wide) recycle bin.
882 o Fernando Schapachnik <fernando@mecon.gov.ar>
883 * Add logon hours support for the Postgres backend.
886 o Richard Sharpe <rsharpe@samba.org>
887 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
889 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
890 * BUG 2362: Quota support fix for DragonFly.
891 * Fix dragonfly detection in configure.
894 o Simo Sorce <idra@samba.org>
895 * Allow Domain Admins to force user sessions to close via the
896 Windows Server Manager.
897 * Add support to 'net rpc right privileges <name>' to enumerate
898 accounts which possess a specific privilege.
899 * Fix memory issues issues in vfstest (reported by Rainer Link).
900 * Randomize reloading as to not overload cupsd.
903 o Smitty <smitty@plainjoe.org>
904 * Compile fixes for smbget when using --enable-developer.
905 * Include LUID values to match Windows privileges since
906 apparently this matters to printmig.exe
909 o John Terpstra <jht@samba.org>
910 * Solaris packaging fixes.
911 * Clean up usage help text in "net rpc user"
914 o Andrew Tridgell <tridge@samba.org>
915 * Merge socket wrapper library fixes from Samba 4.
918 o Brett Trotter <blt@iastate.edu>
919 * Fix definition of global_sid_* in vfs_acl.c.
922 o Mark Weaver <mark-clist@npsl.co.uk>
923 * Patch to fix sys_select so it can't drop signals if another
927 o Jelmer Vernooij <jelmer@samba.org>
928 * Remove --with-manpage-languages configure option.
929 * Merge socket wrapper fixes for IRIX systems from the
931 * Add socket_wrapper library to 3.0. Can be enabled by passing
932 --enable-socket-wrapper to configure.
933 * Fix build of the various sql pdb backends after new talloc.
936 o Qiao Yang <qyang@stbernard.com>
937 * Use our own DC when getting the SID for a domain.
941 Release Notes for older release follow:
943 --------------------------------------------------
944 ===============================
945 Release Notes for Samba 3.0.14a
947 ===============================
949 Common bugs fixed in 3.0.14a include:
951 o Compatibility issues between Winbind and Windows 2003 SP1
952 domain controllers (*2k3sp1*).
953 o MS-DFS errors with Windows XP SP2 clients.
954 o High CPU loads caused by infinite loops in the FindNext()
956 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
960 ######################################################################
969 o Jeremy Allison <jra@samba.org>
970 * Fixed invalid SMB_ASSERT() triggered by checking access on
980 Parameter Name Action
981 -------------- ------
982 dos filetimes Enabled by default
987 o Jeremy Allison <jra@samba.org>
988 * Prevent nt_status code support when negotiating protocols
990 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
991 as this SMB is DOS codepage only.
992 * BUG 2585: Fix printf() issues in smbpasswd which caused
994 * BUG 2563: Fix infinite loop on non-existent file with
996 * BUG 2581 (partial): Ensure if realloc fails on an internal
997 tdb we fail gracefully.
998 * Ensure that 'dos filetimes' works with ACLs.
999 * Set 'dos filetimes = yes' as the default for smb.conf.
1002 o Gerald (Jerry) Carter <jerry@samba.org>
1003 * Workaround autoconf issue to prevent debug symbols from
1004 being included in the default build.
1005 * Disable schannel on the \lsarpc pipe in order to successfully
1006 enumerate users and groups (*2k3sp1*)
1007 * Fix parsing error in rpc binds which broke NTLMSSP
1008 authentication. And as a result broke CTL+ALT+DEL password
1009 changes from a Windows 2003 SP1 member of a Samba domain
1011 * Revert change to FindFirst() server code that broke WinXP
1012 SP2 clients from launching *.exe files from a dfs target
1014 * BUG 2588: Force smbclient to send netbios messages to port
1015 139 unless otherwise instructed (based on patch from Thomas
1019 o Volker Lendecke <vl@samba.org>
1020 * Fix build on FreeBSD 4 where Winbind is not supported.
1021 * Fix 'wbinfo --user-sids' when using domain local groups.
1022 * Restrict domain local groups reported by 'wbinfo -r' to
1023 the Samba server domain and not the users domain.
1026 o Lin Li <linl@xandros.com>
1027 * Ensure that winbind initializes internal trusted domain
1028 structures when enumerating users and groups.
1031 o Tim Potter <tpot@samba.org>
1032 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1034 * Fix compiler warnings.
1037 o <psz@maths.usyd.edu.au>
1038 * Fix for possible root squash NFS bugs.
1041 o Simo Sorce <irda@samba.org>
1042 * Debian packaging fixes.
1045 --------------------------------------------------
1046 ==============================
1047 Release Notes for Samba 3.0.13
1049 ==============================
1051 Common bugs fixed in 3.0.13 include:
1053 o Infinite FindNext() loop from Windows 9x client when
1054 copying or deleting files on a Samba file share using
1056 o Numerous smbclient bugs when listing directories.
1057 o Failures in smbclient when connecting to a Windows 9x
1061 ######################################################################
1065 Changes since 3.0.12
1066 --------------------
1068 o Jeremy Allison <jra@samba.org>
1069 * Fix typo bug in smbclient where flags overwrote info level
1070 in the cli_list_new().
1071 * Fix old smbclient bug where ff_searchcount was being compared
1072 to -1 resulting in processing a filename twice.
1073 * Fix segv in smbclient caused by overwriting the last 2 bytes
1075 * BUG 2530: Fix potential segv in smbclient when talking to a
1076 Windows 9x file server.
1077 * Fix last entry offset in cli_list_new() when using a
1078 FindFirst/FindNext info level of 0x104.
1079 * BUG 2501: Stop Win98 from looping doing FindNext on a
1080 singleton directory.
1081 * BUG 2521: Fix error in access checks when user group ACLs.
1084 o Gerald (Jerry) Carter <jerry@samba.org>
1085 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
1086 to delete all versions of a driver.
1087 * BUG 2517: use the realm from smb.conf for 'net ads info' when
1088 'disable netbios = yes'.
1089 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1091 * Update RedHat packaging files to require cups support. Also
1092 remove requirement for 'idmap {uid,gid}' settings in smb.conf
1093 from winbindd init script.
1094 * BUG 2516: fix compile issue on True64.
1098 o Guenther Deschner <gd@samba.org>
1099 * Check for the correct cli-struct when copying files in 'net
1100 rpc printer' routines.
1103 o Herb Lewis <herb@samba.org>
1104 * Fix incorrect test in 'net rpc user' when the user is not
1105 a member of any groups.
1108 o Jim McDonough <jmcd@us.ibm.com>
1109 * Make sure that enum_group_members() searches the correct suffix.
1112 --------------------------------------------------
1113 ==============================
1114 Release Notes for Samba 3.0.12
1116 ==============================
1118 Common bugs fixed in 3.0.12 include:
1120 o Winbind failures when using 'disable netbios = yes'
1121 o Failure to establish a trust relationship via 'net rpc trust
1123 o Various portability & compiler issues.
1124 o Read only file deletion failure caused by new delete semantics
1125 in Windows XP SP2 and the MS 04-044 security hotfix.
1126 o Error messages from shared Excel workbooks residing on Samba
1128 o Missing files in the output of smbclient -c 'dir' when run
1129 against Windows file servers.
1130 o Inability for Print Administrators to pause/resume/purge print
1133 Additional features introduced in Samba 3.0.12:
1135 o Performance enhancements when serving directories containing
1136 large number of files.
1137 o MS-DFS support added to smbclient.
1138 o More performance improvements when using Samba/OpenLDAP based
1139 DC's via the 'ldapsam:trusted=yes' option.
1140 o Support for the Novell NDS universal password when using the
1141 ldapsam passdb backend.
1142 o New 'net rpc trustdom {add,del}' functionality to eventually
1143 replace 'smbpasswd {-a,-x} -i'.
1144 o New libsmbclient functionality.
1148 =======================
1149 Large Directory Support
1150 =======================
1152 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1153 with file services that frequently contain a large number of files
1154 per directory. Historically Samba's performance has suffered
1155 in such environments due to the translation from case
1156 insensitive lookups by Windows client to the case sensitive
1157 storage mechanisms used by UNIX filesystems.
1159 Configuration details along with a short HOWTO can be found at:
1161 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1164 ==================================
1165 libsmbclient Binary Compatibility
1166 ==================================
1168 Please note that a change has been made to the _SMBCCTX structure
1169 in source/include/libsmbclient.h. This change is not backwards
1170 compatible with applications linked against the libsmbclient.so
1171 library from Samba 3.0.11. However, it is compatible with all
1172 other Samba 3.0.x releases. This means that it will be most likely
1173 be necessary to recompile any applications linked against the
1174 3.0.11 version of the library.
1177 ######################################################################
1184 Parameter Name Action
1185 -------------- ------
1186 allocation roundup size New
1187 log nt token command New
1188 write cache Deprecated
1192 Changes since 3.0.11
1193 --------------------
1197 o Jeremy Allison <jra@samba.org>
1198 * BUG 2146: Return correct allocation sizes so as not to crash
1200 * BUG 962: Ensure that parsing of service names in smb.conf is
1202 * BUG 2201, 2227: Support new delete semantics used by MS04-044
1204 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
1205 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1206 * Add special hooks when serving directories containing large
1208 * Ensure that WINS negative name query responses and WACK
1209 packets use the correct RR type of 0xA instead of reflecting
1210 back what the query RR type was (0x20).
1211 * BUG 2310: Only do 16-bit normalization on small dfree request.
1212 * BUG 2323: Correct authentication failure when using plaintext
1213 passwords from Windows XP clients.
1214 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1215 work around issues building MS Visual Studio 6.0 project
1216 on a Samba file share while restoring the pre-3.0.21pre1
1217 behavior by default.
1218 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
1219 stat when checking for existence of a pathname.
1220 * Check the sticky bit on the parent directory for supporting
1221 the new WinXP SP2 file deletion semantics.
1222 * Various oplock, share mode, and byte range locking fixes
1223 found by Connectathon tests.
1224 * BUG 2271: Fix resume key issues in trans2FindFirst() client
1225 code (inspired by patch from Satwik Hebbar).
1226 * BUG 2382, 2045: More pending modtime and delayed write fixes
1227 for MS Excel (incorporates partial patches from
1228 ke_miyata@itg.hitachi.co.jp).
1229 * Debug log message cleanups.
1230 * Add case insensitive search for a principal match on logon
1231 verification in the system keytab (based on patch by
1232 Michael Brown <mbrown@fensystems.co.uk>).
1233 * Revert the previous SMB signing change from Nalin Dahyabhai
1234 when using DES keys.
1235 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1236 * Fix FindFirst() server code to deal with resume names of ".."
1237 and "." (found by Jim McDonough).
1238 * BUG 2451: Fix missing functions in full audit VFS module.
1239 * Ensure that smbd logs failures reported by DISK_FREE()
1240 (reported by Ying Li <ying.li2@hp.com>).
1241 * Ensure that smbclient obeys the max protocol argument again.
1242 * BUG 2335: Return correct error code for OS/2 clients (based on
1243 negotiated protocol level).
1244 * BUG 2460, 2464: remove dead code and unused variables
1245 (reported by Jason Mader).
1248 o Andrew Bartlett <abartlet@samba.org>
1249 * Avoid length-limited intermediate copy of NT and LM responses
1251 * Debug message cleanups in the NTLMSSP implementation.
1254 o Manuel Baena <mbaena@lcc.uma.es>
1255 * Print actual error message in smbmnt.c:fullpath().
1258 o Vince Brimhall <vbrimhall@novell.com>
1259 * Add support for Novell NDS universal password.
1260 * BUG 2424: Ensure that uidNumber and gidNumber use match
1262 * BUG 2453: Change the way pdb_nds.c handles users with no
1263 Universal or Simple Password.
1264 * NDS schema file corrections.
1267 o Gerald (Jerry) Carter <jerry@samba.org>
1268 * Add trans2 client call for checking dfs referrals
1269 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
1270 when checking directories on modern CIFS servers.
1271 * Add MS-DFS support to smbclient.
1272 * Code cleanup of adt_tree.[ch].
1273 * Add missing checks to allow root to manage user rights.
1274 * Allow domain admins to manage rights assignments on domain members
1276 * BUG 2333: Use the lpq command to pass in the correct printer name
1277 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
1279 * BUG 1439: make sure to initialize pointer to prevent invalid
1281 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
1283 * Add cups-devel to BuidlRequires directive in Fedora spec file.
1284 * BUG 858: Fix order of popt args evaluation so we don't crash
1285 when given no command line args.
1286 * Remove dependency on bash for source/autogen.sh.
1287 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1288 * Implement MS-DFS for recursive directory listings in smbclient.
1289 * BUG 2394: Fix nmbd linking issue on IRIX.
1290 * Only display the publish check box in the client's printer
1291 properties dialog if we are a member of an AD domain.
1292 * BUG 2363: allow 'in use' driver to be removed as long as
1293 one 'Windows NT x86' driver remains.
1294 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
1296 * Enforce better printer.tdb cache consistency when removing
1297 jobs from a print queue via SMB.
1298 * Ensure that pause/resume/purge print queue commands are run
1299 with the appropriate level of privilege necessary to actually
1301 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1302 for 'printing = cups' installations that do not actually have
1304 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1305 * BUG 2215: Rewrite questionable code that was causing gcc to
1307 * Add server support for LsaLookupPrivValue().
1308 * Various small compile fixes and cleanup warnings.
1309 * BUG 2456: Fix compile failure on non-gcc platforms due to
1310 non-standard pragma.
1313 o Kevin Dalley <kevin@kelphead.org>
1314 * BUG 2398: Don't force smbclient to assume a dry run if the
1315 target tarfile is /dev/null.
1318 o Guenther Deschner <gd@samba.org>
1319 * Fix crash bug in the client-spoolss enumdataex-call.
1320 * Expand the valid-workstation-scheme by expanding names
1321 beginning with a plus (+) as a unix group.
1322 * Allow own netbios name to be set in smbclient's session setup.
1323 * Better handling of LDAP over IPC connections that have expired
1325 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1326 * Add examples/misc/adssearch.pl.
1327 * BUG 2343: Build fixes.
1328 * Support get_user_info_7 in SAMR server RPC.
1329 * Fix server_role in the samr_query_dom_info calls.
1330 * Add example perl script to check for multiple LDAP entries
1331 after running 'net rpc vampire'.
1332 * Add more output when listing printer forms via rpcclient.
1333 * Debug log message cleanup.
1336 o Steve French <sfrench@us.ibm.com>
1337 * On failed mount (ENXIO) retry share name in uppercase (fix
1338 mount to FastConnect AIX SMB server).
1339 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1340 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1341 it with a user name.
1342 * Update for new CIFS POSIX info levels.
1343 * Ignore users mount parm in mount.cifs.
1345 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1346 * BUG 1549: Don't truncate service names in smbstatus.
1349 o William Jojo <jojowil@hvcc.edu>
1350 * BUG 2445: Patch to avoid default ACLs on AIX.
1353 o S Murthy Kambhampaty <smk_va@yahoo.com>
1354 * Add idmap_rid module to Fedora and RedHat spec files.
1357 o Volker Lendecke <vl@samba.org>
1358 * BUG 2401: Flush internal getpwnam() cache after deleting a
1360 * BUG 1604: Make winbind work with more than 10 trusted domains.
1361 * Cleanup various compiler warnings.
1362 * Fix a memory leaks in privileges code and passdb backends.
1363 * Fixes for samr_lookup_sids() client call.
1364 * Optimize _samr_query_groupmem with LDAP backend for large
1366 * Support SIDs as %s replacements in the afs username map
1368 * Add 'log nt token command' parameter. If set, %s is replaced
1369 with the user sid, and %t takes all the group sids.
1370 * Do not use the "Local Unix Group"-default description for
1371 all kinds of group-mappings.
1372 * Fix uninitialized variable in Linux nss_winbind library.
1373 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1374 * Implement 'net afs impersonate'.
1377 o Herb Lewis <herb@samba.org>
1378 * Fix build problem when HAVE_POSIX_ACL is not defined.
1379 * BUG 2417: Add help lines for net rpc group addmem and
1383 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1384 * Add support to libsmbclient for getting and setting DOS
1385 attributes using EA functions.
1386 * Fix libsmbclient's URL encoding/decoding.
1387 * Replace browse listing URI queries with an internal options
1388 structure (previous method violated the SMB URI syntax).
1389 * Allow tree connects to be multiplexed over a single CIFS server
1391 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1392 can determine a dead tree connection.
1393 * Implement better solution for backwards binary compatibility
1394 in libsmbclient while adding new fields to struct _SMBCCTX.
1397 o Mark Loeser <halcy0n@gentoo.org>
1398 * BUG 2443: Compile fix for gcc4.
1401 o Jim McDonough <jmcd@us.ibm.com>
1402 * BUG 2338: Fix coredump when OS/2 checks for long file name
1403 support (with .+,;=[].) (thanks to Guenter Kukkukk).
1406 o Jason Mader <jason@ncac.gwu.edu>
1407 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1411 o Jim McDonough <jmcd@us.ibm.com>
1412 * Fixes for server schannel implementation when 'restrict
1413 anonymous = 1' is set in smb.conf.
1414 * Fix bug in server side lookupsids reply that crashed lsass.exe
1416 * Fix 'net rpc trustdom establish'.
1417 * BUG 2062: Turn off broadcast for all 390 NICs.
1418 * Fix 'net rpc trustdom add' to correctly add new domain trust
1419 accounts. This will eventually replace 'smbpasswd -a -i'.
1420 * Implement 'net rpc trustdom del', including client side of
1421 samr_remove_sid_from_foreign_domain.
1422 * Bring IBM Directory Server schema up to date with openldap
1424 * Allow for better protection of sensitive attributes in IBM
1428 o Stefan Metzmacher <metze@samba.org>
1429 * Fix memleaks in the nttrans code.
1432 o Mike Nix <mnix@wanm.com.au>
1433 * Add SMBsplopen and SMBsplclose client calls.
1436 o Justin Ossevoort <justin@snt.utwente.nl>
1437 * BUG 2316: Fix crashes in pdb_pgsql.
1440 o James Peach <jpeach@sgi.com>
1441 * Fixes in string handling code.
1442 * Fix oplock2 test in client smbtorture.
1445 o Tim Potter <tpot@samba.org>
1446 * Fix up example pdb modules after prototype change for
1448 * BUG 2058: Fix for shared object creation in examples.
1449 * BUG 2315: Fix segv in LSA privileges server code.
1450 * Build fixes for python wrapper libraries.
1453 o Richard Sharpe <rsharpe@samba.org>
1454 * BUG 2044: Fix segv in profiles tool.
1455 * Fix bogus error messages when enumerating user group
1456 membership via 'net rpc'.
1459 o Simo Sorce <idra@samba.org>
1460 * Debian packaging fixes.
1463 o John Terpstra <jht@samba.org>
1464 * Add the capability to set account description using pdbedit.
1467 o Doug VanLeuven <roamdad@sonic.net>
1468 * Add more case/realm/name permutations to the kerberos keytab.
1469 * AIX compile fixes.
1472 o Jelmer Vernooij <jelmer@samba.org>
1473 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1474 * BUG 1957: Implement minimal update of fields in mySQL pdb
1478 o Torsten Werner <torsten.werner@assyst-intl.com>
1479 * BUG 2405: Define 'lpstat' printcap output on HPUX.
1482 o Shlomi Yaakobovich" <Shlomi@exanet.com>
1483 * Detect infinite loops when traversing tdbs.
1486 --------------------------------------------------
1487 ==============================
1488 Release Notes for Samba 3.0.11
1490 ==============================
1492 Common bugs fixed in 3.0.11 include:
1494 o Crash in smbd when using CUPS printing.
1495 o Parsing error of other SIDs included in the user_info_3
1496 structure returned from domain controllers.
1497 o Inefficiencies when searching non-AD LDAP directories.
1498 o Failure to expand variables in user domain attributes
1499 in tdbsam and ldapsam.
1501 o Failure to retrieve certain attribute when migrating from
1502 a Windows DC to a Samba DC via 'net rpc vampire'.
1503 o Numerous printing bugs bugs including memory
1504 bloating on large/busy print servers.
1505 o Compatibility issues with Exchange 5.5 SP4.
1508 Additional features introduced in Samba 3.0.11:
1510 o Winbindd performance improvements.
1511 o More 'net rpc vampire' functionality.
1512 o Support for the Windows privilege model to assign rights
1514 o New administrative options to the 'net rpc' command.
1521 If "ldap user suffix" or "ldap machine suffix" are defined in
1522 smb.conf, all user-accounts must reside below the user suffix,
1523 and all machine and inter-domain trust-accounts must be located
1524 below the machine suffix. Previous Samba releases would fall
1525 back to searching the 'ldap suffix' in some cases.
1532 Samba 3.0.11 supports the following assignable rights
1534 SeMachineAccountPrivilege Add machines to domain
1535 SePrintOperatorPrivilege Manage printers
1536 SeAddUsersPrivilege Add users and groups to the domain
1537 SeRemoteShutdownPrivilege Force shutdown from a remote system
1538 SeDiskOperatorPrivilege Manage disk shares
1540 These rights can be assigned to arbitrary users or groups
1541 via the 'net rpc rights grant/revoke' command. More details
1542 of Samba's privilege implementation can be found in the
1543 Samba-HOWTO-Collection.
1546 ######################################################################
1550 Changes since 3.0.10
1551 --------------------
1556 Parameter Name Action
1557 -------------- ------
1558 afs token lifetime New
1559 enable privileges New
1560 ldap password sync Alias
1561 min password length Deprecated
1562 winbind enable local accounts Deprecated
1567 o Jeremy Allison <jra@samba.org>
1568 * Extend vfs to add seekdir/telldir/rewinddir.
1569 * Fix dirent return.
1570 * Fix bugs when handling secondary trans2 requests.
1571 * Implementation of get posix acls in UNIX extensions.
1572 * Added set posix acl functionality into the UNIX extensions code.
1573 * Updated config.guess/config.sub .
1574 * Fix error reply when 'follow symlinks = no'.
1575 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
1577 * Fixes for LARGE_READX support.
1578 * Fix the problem we get on Linux where sendfile fails, but we've
1579 already sent the header using send().
1580 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
1582 * BUG 2088: Ensure inherit permissions is only applied on a new
1583 file, not an existing one.
1584 * Don't go fishing for the krb5 authorization data unless we know
1586 * Fixes for libsmbclient to ensure that interrupted system calls
1587 are restarted minus the already expired portion of the timeout
1588 (based on work by Derrell Lipman).
1589 * More Unicode string parsing fixes.
1590 * Convert the winreg pipe to use WERROR returns.
1591 * Make all LDAP timeouts consistent (input from Joe Meadows
1592 <jameadows@webopolis.com>).
1593 * BUG 2231: Remove double "\\" from client findfirst.
1594 * BUG 2238: Fix memory leak in shadow copy vfs.
1595 * Return correct DOS/NT error code on transact named pipe on
1597 * BUG 2211: Fix security descriptor parsing bug (based on work by
1598 Mrinal Kalakrishnan <mail@mrinal.net>).
1599 * BUG 2270: Fix memory leaks in cups printing backend support
1600 (based on work by Lars Mueller).
1601 * BUG 2255: Fix debug level in kerberos error messages.
1602 * BUG 2110: Ensure we convert to ucs2 correctly after the
1603 CAN-2004-0930 patch.
1604 * Make strict locking an enum. Auto means use oplock optimization.
1605 * Fix client & server to allow 127k READX calls.
1606 * More *alloc fixes (includes additional fixes by Albert Chin.
1607 * Catch sendfile errors correctly and return the correct values
1608 we want the caller to return.
1609 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
1610 for better use by desktop environments such as GNOME.
1611 * Ensure we can't remove a level II oplock without having the
1612 shared memory area locked.
1615 o Timur Bakeyev <timur@com.bat.ru>
1616 * BUG 2100: change the way we check for errors after a dlopen().
1617 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
1620 o Andrew Bartlett <abartlet@samba.org>
1621 * Clarify error message when 'lanman auth = no'.
1622 * Remove the unnecessary UTF-8 conversion calls in the calls to
1623 auth_winbind from smbd.
1624 * Don't store the auth-user credentials with the cli_state* as
1625 this can cause the schannel setup to fail when the auth-user
1626 domain is not our primary domain.
1629 o Grigory Batalov <bga@altlinux.org>
1630 * Fix encoding while receiving of a message which was actually
1631 sent using STR_ASCII.
1634 o Daniel Beschorner <db@unit-netz.de>
1635 * BUG 603: Correct access mask check for _samr_lookup_domain()
1636 to work with Windows RAS server
1639 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1640 * Fix missing printer_tdb reference decrement.
1643 o Gerald (Jerry) Carter <jerry@samba.org>
1644 * BUG 2073: fall back to smb_name if current_user_info is not
1645 available in lp_file_list_changed().
1646 * Fixes the spurious 'register_message_flags: tdb fetch failed'
1648 * Don't run the background LPQ daemon when we are running in
1650 * prevent the background LPQ daemon from updating the print queue
1651 cache just because multiple smbd processes sent a message that
1653 * consolidate printer searches to use find_service rather than
1655 * BUG 2091: don't remove statically defined printers in
1656 remove_stale_printers().
1657 * Fix logic error in add_a_form() that only compared N characters
1658 instead of the entire form name.
1659 * BUG 2107: fix memory bloating caused by large numbers of
1660 print_queue_updates() requests sent via messages.tdb.
1661 * Check the setprinter(3) based on the access permissions on
1662 the handle and avoid the call to print_access_check().
1663 * Re-instantiate previous semantics for calling init_unistr2()
1664 with a NULL source buffer.
1665 * Support Windows privilege model for assigning rights
1666 to specific SIDs. Based on work by Simo Sorce in the trunk
1667 svn branch. This feature is controlled by the 'enable
1668 privileges = [yes|no]' smb.conf(5) option.
1669 * Add some smb.conf scripts for add/delete/change shares and
1670 deleting cups printers.
1671 * Expand variables in the profile path, logon home and logon script
1672 values when using either tdbsam or ldapsam.
1673 * Add Domain Admins (Full Control) to the default printer security
1674 descriptor if we are a DC.
1675 * RedHat and Fedora Packaging fixes for perl dependencies.
1676 * Remove unused schema items from OpenLDAP schema file.
1677 * Remove duplicate enumeration of "Windows x86" architecture
1678 when listing printer drivers via rpcclient.
1679 * Fail set_privileges() if 'enable privileges = no' to prevent
1681 * Fix segfault in cups_queue_get().
1682 * Tighten restrictions on changing user passwords when
1683 the connected user possesses the SeMachineAccountPrivilege.
1684 * Ensure we set NETBIOSNAME.domainname for the long machine name
1685 when publishing printers in AD (based on input from Rob Foehl).
1686 * Mark 'winbind enable local accounts' as deprecated.
1687 * Mark testprns tool as deprecated.
1688 * Allow root to grant/revoke privilege assignments.
1689 * Correct interaction between user rights and se_access_check() on
1691 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
1693 * BUG 2262: Add support in configure.in for *freebsd6*.
1694 * BUG 2266: Portability fixes for quota code on FreeBSD4.
1695 * BUG 2264: Remove shutdown and abortshutdown commands from
1696 rpcclient in favor of using the same functions in 'net'.
1697 * BUG 2295: Prevent smbd from returning an empty server name
1698 in certain lanman api calls.
1699 * BUG 2290: Fix autogen.sh script in examples (based on original
1700 patch from Lars Mueller).
1701 * Fix bug enumerating domain trusts in security = ads.
1702 * Fix segv in rpcclient's dsenumdomtrusts.
1703 * Fix bug in expansion of %U and %G in included filenames.
1704 * BUG 2291: Restrict creation of server trust and domain trust
1705 accounts to members of the "Domain Admins" group.
1707 o Nadav Danieli <nadavd@exanet.com>
1708 * Short circuit some is_locked() tests if we are oplocked.
1711 o Guenther Deschner <gd@samba.org>
1712 * Allow 'localhost' as a valid server name in the smbd for the
1714 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1715 Mewburn for the input).
1716 * BUG 2059: Add additional checks needed after logic change to the
1717 HAVE_WRFILE_KEYTAB detection test.
1718 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
1719 Samba DC. Allow us to lookup at least our own SID.
1720 * More fixes to have proper German in swat (Thanks to Reiner
1721 Klaproth and Björn Jacke.
1722 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
1723 setting security descriptors with smbcacls and using with
1724 the -S or -M switch.
1725 * Include the munged_dial, bad_password_count, logon_count, and
1726 logon_hours attributes when running 'net rpc vampire'.
1727 * Fix segfault in idmap_rid.
1728 * When winbindd is operating in the multi-mapping mode of
1729 idmap_rid, allow BUILTIN domain-mapping.
1730 * Display infolevel 12 in query_dom_info in rpcclient.
1731 * Fix bug in winbindd's lowercasing of usernames.
1732 * Allow -v or -l for displaying verbose groupmap-listing
1733 as well as "verbose".
1734 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
1736 * Close LDAP-Connection before retrying to open a new connection
1738 * Marking "min password length" as depreciated.
1739 * Implement SAMR query_dom_info-call info-level 8 server- and
1740 client-side, based on samba4-idl.
1741 * Allow rpcclient to define a port to use when connecting
1743 * Allow Account Lockout with Lockout Duration "forever" (until
1744 admin unlocks) to be set and displayed in User Manager.
1745 * Allow to set acb_mask in rpcclient's enumdomusers.
1746 * Add more generic rootDSE inspection function to check
1747 for given controls or extensions and remember these on a
1749 * Improve LDAP search efficiency by passing the acb_mask to
1751 * Fixes for ldapsam_enum_group_memberships().
1752 * Add createdomgroup to rpcclient.
1753 * Add "net rpc user RENAME"-command.
1754 * Display sam_user_info_7 in rpcclient.
1755 * Make multi-domain-mode in idmap_rid accessible from outside
1756 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1757 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
1758 "Lockout Duration: Forever".
1759 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1761 * Require assignment of Administrator SID in the passdb
1762 backend. Fall back to the default name of 'Administrator' if
1763 the lookup fails rather than using the first name in the
1764 default 'admin users' list.
1765 * Enhance LDAP failure debug messages.
1766 * BUG 2291: Call the 'add machine script' for server trust and
1767 domain trust accounts as well as workstation accounts.
1770 o Levente Farkas <lfarkas@lfarkas.org>
1771 * BUG 2299: Better logrotate scripts for RedHat and Fedora
1775 o Jay Fenlason <fenlason@redhat.com>
1776 * Fix crash in 'net join' due to calling free on
1778 * Several patches from RedHat's Fedora Core RPMS.
1781 o Rob Foehl <rwf@loonybin.net>.
1782 * Compiler warnings.
1783 * Try modifying printer published attributes before adding it a
1785 * Solaris packaging fixes.
1786 * Don't force the cups printer-make-and-model tag as the comment
1787 for autoloaded printers.
1788 * Implement caching of names from printcap to support a true
1789 'printcap cache time'.
1792 o Johann Hanne <jhml@gmx.net>
1793 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1796 o Jeff Hardy <hardyjm@potsdam.edu>
1797 * Example script for 'add print command' when using CUPS.
1800 o Deryck Hodge <deryck@samba.org>
1801 * Add -P (--password-only-menu) to SWAT for displaying only the
1802 password change page to non-root users.
1805 o David Hu <david.hu@hp.com>
1806 * Copy structure from print_queue_update() message rather than
1807 referencing it. Fixes seg fault on HP-UX.
1810 o Buck Huppmann <buckh@pobox.com>
1811 * BUG 2186: Don't free uninitialized credentials.
1812 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
1813 dnsDomainName != realm.
1816 o Björn Jacke <bjoern@j3e.de>
1817 * BUG 2040: Ensure the locale is reset to C to get ASCII-
1818 compatible toupper/lower functions.
1821 o William Jojo <jojowil@hvcc.edu>
1822 * Fix HPUX sendfile and add configure.in tests and code for
1824 * AIX 5.3 compile fixes.
1827 o Volker Lendecke <vl@samba.org>
1828 * Optimize anonymous session setups by workstations in a
1830 * Reimplment the QueryUserAliases() server RPC reply.
1831 * Re-add the getpwnam-cache for performance.
1832 * Cache the result of a pdb_getsampwnam for later SID lookup
1834 * Unify the means of localtaing a user's global groups on a
1836 * Fix bug when serving the 'Start Menu' in a roaming user profile..
1837 * Map more pre-defined NT security descriptors to AFS acls.
1838 * Add timeout to AD search requests.
1839 * If a connection to a DC is requested (in winbindd), open
1840 connections simultaneously to all DCs found.
1842 * Fix logic error in handling of 'printcap name' parameter.
1843 * Prevent winbindd from SPAM'ing the log files with 'user root
1845 * Backport samr_DomInfo2 IDL specification from Samba 4.
1846 * Implement smbstatus -n, don't lookup users and groups.
1847 * Implement simple mapping that maps the space to another character
1848 defined by afsacl:space.
1849 * Add support for 'net idmap delete <idmap-file> <SID>'.
1850 * Add new parameter 'afs token lifetime' tells the AFS client
1851 when to throw away a token (patch from kllin@it.su.se).
1852 * Initial work to allow support for multiple pipe opens on a
1854 * Ensure that we still retrieve the netbios name of any DC
1855 listed as a 'password server' to work around cases where the
1856 DC was defined using an IP address or fqdn.
1857 * Fix memleak in winbindd connection code.
1858 * Fix cli_samr_queryuseraliases.
1859 * Allow wbinfo --user-sids to expand expand domain local groups.
1860 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
1861 * Fix parsing of other_sids in net_user_info3.
1862 * Correct bad failure logic when user was not a member of any
1863 domain local groups.
1866 o Jason Mader <jason@ncac.gwu.edu>
1867 * BUG 2113, 2289: Remove dead code.
1870 o Jim McDonough <jmcd@us.ibm.com>
1871 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
1872 clients. If it fails, fall back to WINREG.
1873 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
1874 * BUG 2198: Set password last change time when running 'net rpc
1876 * Add "refuse machine password change" policy field.
1879 o Luke Mewburn <lukem@NetBSD.org>
1880 * BUG 2150: shmget() - Use POSIX definitions instead of non-
1884 o Stefan Metzmacher <metze@samba.org>
1888 o Buchan Milne <bgmilne@mandrake.org>
1889 * Mandrake packaging fixes.
1892 o Lars Mueller <lmuelle@samba.org>
1893 * Fix build of libsmbclient on x86_64.
1894 * BUG 2013: Fix testsuite build issues when libsmbclient.so
1895 is installed in a non-default location.
1896 * BUG 2050: Calculate max_fd for select correctly.
1897 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
1901 o Jason Mader <jason@ncac.gwu.edu>
1902 * BUG 2069: Remove unused variables.
1903 * BUG 2075: Remove dead code paths.
1904 * BUG 2083: Fix compiler warnings caused by bad type casts.
1907 o James Peach <jpeach@sgi.com>
1908 * Fix rewinddir -> rewind_dir when using VFS macros.
1911 o Gavrie Philipson <gavrie@disksites.com>
1912 * BUG 1838: Remove stale printers imeeddiately when
1913 processing a SIGHUP and during smb.conf reload.
1916 o Tim Potter <tpot@samba.org>
1917 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
1918 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
1919 * Change the license for the winbindd external interface
1921 * HP-UX compile fixes.
1922 * Compile fixes after new setsampwent() API.
1925 o Richard Renard <rrenard@idealx.com>
1926 * Update Netscape DS 5.2 LDAP schema.
1929 o Simo Sorce <idra@samba.org>
1930 * Backport pdbedit changes from trunk.
1931 * Allows the add/change share command to create the shared
1932 directory directory on disk.
1933 * Log a warning in testparm if a print command is defined for
1934 a print service using 'printing = cups'.
1936 o Jelmer Vernooij <jelmer@samba.org>
1937 * Bug fixes for pdb_{xml,pqsql,xml}
1938 * Fixes for pdb_mysql.
1941 o Andrew Tridgell <tridge@samba.org>
1942 * Bring Samba3 into line with the Samba4 password change code.
1945 o Shiro Yamada <shiro@miraclelinux.com>
1946 * BUG 2190: Force SWAT to display parameters in unix charset and
1950 --------------------------------------------------
1951 ==============================
1952 Release Notes for Samba 3.0.10
1954 ==============================
1956 Common bugs fixed in 3.0.10 include:
1958 o Fix for security issues described in CAN-2004-1154.
1967 o Jeremy Allison <jra@samba.org>
1968 * Added checks surrounding all *alloc() calls to fix
1970 * Fix long standing memory size bug in bitmap_allocate().
1971 * Remove bogus error check in deferred open file serving
1975 o Thomas Bork <tombork@web.de>
1976 * Fix autoconf script on platforms using a version of GNU ld
1977 that does not include a date stamp in the output of --version.
1980 o Luke Mewburn <lukem@NetBSD.org>
1981 * Fix the swat install script to deal with the new image
1982 destination directory used by the docs.
1986 --------------------------------------------------
1988 =============================
1989 Release Notes for Samba 3.0.9
1991 =============================
1993 Common bugs fixed in 3.0.9 include:
1995 o Problem updating roaming user profiles.
1996 o Crash in smbd when printing from a Windows 9x client.
1997 o Unresolved symbols in libsmbclient which caused
1998 applications such as KDE's konqueror to fail when
1999 accessing smb:// URLs.
2009 o Jeremy Allison <jra@samba.org>
2010 * Correctly detect errno for no acl/ea support.
2011 * BUG 2036: Fix seg fault in 'net ads join'.
2014 o Gerald (Jerry) Carter <jerry@samba.org>
2015 * Solaris packaging fixes.
2016 * Fix seg fault in lanman printing code.
2017 * BUG 2017: fix testparm reporting for the passwd program
2019 * Fix output of smbstatus to match the man page.
2020 * BUG 2027: fix conflict with declaration MD5_CTX in system
2022 * 2028: Avoid false error messages when copying a long
2023 printer name to the device mode.
2026 o Guenther Deschner <gd@samba.org>
2027 * Allow deldriverex in rpcclient to delete drivers for a
2028 specific architecture and a specific version.
2029 * Fix a couple of rpcclient spoolss commands (setprinter,
2030 setprintername, getdriver) w.r.t to printer-naming scheme.
2031 Allow 'localhost' in the server string for certain server-side
2033 * BUG 2015: Do not fail on setting file attributes with
2034 acl support enabled.
2037 o Michel Gravey <michel.gravey@optogone.com>
2038 * Fix build when using gcc 3.0.
2041 o Volker Lendecke <vl@samba.org>
2042 * Fix tdb open logic when checking our local_pid after
2046 o Jim McDonough <jmcd@us.ibm.com>
2047 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2051 o Luke Mewburn <lukem@NetBSD.org>
2052 BUG 1661: Fix KRB5_SETPW-defines
2055 o Buchan Milne <bgmilne@mandrake.org>
2056 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2059 o Lars Mueller <lmuelle@samba.org>
2060 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2063 o Martin Zielinski <mz@seh.de>
2064 * Add DeletePrinterDriverEx() functionality to rpcclient.
2067 --------------------------------------------------
2069 =============================
2070 Release Notes for Samba 3.0.8
2072 =============================
2074 Common bugs fixed in 3.0.8 include:
2076 o Compile fixes for HP-UX
2077 o Fixes for the printer publishing code used when joined to
2079 o Incompatibilities with file system quotas.
2080 o Several bugs in the spoolss printing code and print system
2082 o Inconsistencies in the username map functionality when
2083 configured on domain member servers.
2084 o Various compile warnings and errors on various platforms.
2085 o Fixes for kerberos interoperability with Windows 200x
2086 domains when using DES keys.
2087 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2088 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2091 New features included in the 3.0.8 release are:
2093 o New migration functionality added the the net tool
2094 for files/directories, printers, and shares.
2095 o New experimental idmap backend for assigning uids/gids
2096 directly based on the user/group RID when acting as a
2097 member of single domain without any trusts.
2098 o Additional printer migration support for XP/2003 platforms.
2101 ===========================
2102 Change in Winbindd Behavior
2103 ===========================
2105 All usernames returned by winbindd are now converted to lower
2106 case for better consistency. This means any winbind installation
2107 relying on the winbind username will need to rename existing
2108 directories and/or files based on the username (%u and %U) to lower
2109 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
2110 include mail spool files, home directories, valid user lines in
2114 ======================
2115 Change in Username Map
2116 ======================
2118 Previous Samba releases would only support reading the fully qualified
2119 username (e.g. DOMAIN\user) from the username map when performing a
2120 kerberos login from a client. However, when looking up a map
2121 entry for a user authenticated by NTLM[SSP], only the login name would be
2122 used for matches. This resulted in inconsistent behavior sometimes
2123 even on the same server.
2125 Samba 3.0.8 obeys the following rules when applying the username
2128 * When performing local authentication, the username map is
2129 applied to the login name before attempting to authenticate
2131 * When relying upon a external domain controller for validating
2132 authentication requests, smbd will apply the username map
2133 to the fully qualified username (i.e. DOMAIN\user) only
2134 after the user has been successfully authenticated.
2137 ######################################################################
2146 Parameter Name Action
2147 -------------- ------
2148 force printername New
2149 sendfile disabled by default
2155 o Jeremy Allison <jra@samba.org>
2156 * Ensure extended security bit is on only if we negotiated
2158 * Simplify statcache to use an in-memory tdb.
2159 * If you're selecting a hash algorithm for tdb, you need
2160 to do it at open time.
2161 * Removed old dir caching code - not being used now we
2162 have the statcache anyway.
2163 * Simplify the mangle hash code to use an in-memory tdb.
2164 * Merge iconv changes from Samba 4 branch.
2165 * Fix parsing of names ending in dot and a few other error
2167 * BUG 1667: Smbpasswd file could be left locked on some
2169 * Fixes for smbclient tar functionality.
2170 * BUG 1743: Fix logic bug the deferred open code.
2171 * Don't try to set security descriptors on shares where
2172 this has been turned off.
2173 * Return correct error codes on old SEARCH call.
2174 * Ensure we set errno = E2BIG when we overflow in the
2175 fast-path character conversion code.
2176 * Fix the roundup problem (returning 1mb roundup) for
2177 non-Windows clients.
2178 * Added 'stat' command to smbclient to exercise the
2179 UNIX_FILE_BASIC info level.
2180 * Fix bug where we could incorrectly set sparse attribute.
2181 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2182 (reported by Taj Khattra <taj.khattra@gmail.com>).
2183 * Remove locked keys tdb code.
2184 * BUG 1886: Prevent delete on close being set for readonly files
2185 (and return the correct error code).
2186 * Ensure we pass most of the new lock tests except for the cancel
2187 lock which is yet to be added (merged from Samba 4 branch).
2188 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2189 * BUG 1956: Ensure errno is saved and restored consistently on a
2191 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
2192 that all of the appropriate service principal names are set
2193 upon joining an AD domain.
2194 * Fix the correct use of resume name in the trans2 code.
2195 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2196 correct salt used when generated the DES key after joining an
2198 * Enhanced krb5 detection routines in the autoconf scripts.
2201 o Andrew Bartlett <abartlet@samba.org>
2202 * Avoid changing the machine account password in the passdb
2203 backend, when it has 'already been changed'. This occurs
2204 in situations where the secure channel between the workstation
2205 and the DC breaks down, such as occurred in the MS04-11
2207 * Fix utility name in error message in ntlm_auth.
2208 * Fix NTLMv2 for use with pam_winbind.
2209 * Remove conversion to and from UTF8 on the winbind pipe.
2210 * Allow 'require_membership_of' and 'require-membership-of'.
2211 * Fix the error code for 'you didn't specify a domain' in
2213 * Use sys_getgroups() rather than scanning all groups
2214 when generating SAMR replies.
2217 o Igor Belyi <sambauser@katehok.ac93.org>
2218 * Ensure pdb user is deleted first before deleting UNIX
2219 user (LDAP backend needs this ordering).
2222 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
2223 * Fix core dump in 'net rpc vampire'.
2226 o Vince Brimhall <vbrimhall@novell.com>
2227 * Make ldapsam_compat robust against NULL attributes.
2230 o Gerald Carter <jerry@samba.org>
2231 * Don't limit the number of groups returned by winbindd_getgroups()
2233 * BUG 1519: Match Windows 2000 behavior when opening a
2234 printer using a servername in the form of an IP address or
2236 * BUG 1907: remove extra slashes from the printer name in
2237 getprinterdriverdir_1().
2238 * Fix standard_sub_snum() to use the current user's gid.
2239 * Fix background queue update bug (based on Volker's initial work
2241 * Add 'force printername' service parameter for people that want
2242 to enforce printername == sharename for spoolss printing.
2243 * Ensure consistent usage of the username map. Use the fully
2244 qualified DOMAIN\user format for 'security = domain|ads' and
2245 apply after authentication has succeeded.
2246 * Cosmetic fix for getent output -- lowercase the username only
2247 and not the complete domain\username string.
2248 * Packaging fixes for Solaris, Redhat, & Fedora.
2251 o Sean Chandler <sean.chandler@verizon.net>
2252 * Fix memlieak in cliconnect.c.
2255 o Darren Chew <darrenc@vicscouts.asn.au>
2256 * Solaris packaging fixes.
2259 o Nalin Dahyabhai <nalin@redhat.com>
2260 * SMB signing fix for 56-bit DES session keys.
2263 o Guenther Deschner <gd@samba.org>
2264 * add IA64 to the architecture table of printer-drivers.
2265 * Add file/share/printer migration functionality to
2267 * Show correct help for net groupmap commands.
2268 * Fix deadlock loop in winbind's required_membership_sid
2270 * Bring the same level of "required_membership"-functionality
2271 that ntlm_auth uses, to pam_winbindd as well.
2272 * Prevent "net lookup kdc" from seg-faulting when
2273 using our own implementation of krb5_lookup_kdc with
2275 * Adding getprinter level 7 to rpcclient.
2276 * Support migrating printers|shares|files from Server A
2277 to Server B while running the net-command on client C.
2278 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
2279 failure of this call non-critical (Thanks to Love @ Heimdal
2280 for the explanation and patch).
2281 * Fix typos in net's usage-output.
2282 * Fix the paranoia-check to ensure the ldap-attribute and the
2283 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
2285 * Fix several bugs in the _samr_query_useraliases() rpc reply.
2286 * Check correct string length when verifying password-policies
2287 and using extended characters (Thanks to Uwe Morgenroth from CC
2288 Compunet and Volker).
2289 * Make 'password history'-behavior in ldapsam more consistent.
2290 * Adding "Windows x64" as architecture string and driverdir "x64"
2291 for the 64bit AMD platform.
2292 * BUG 1343: Readd WKGUID-binding to match the correct default-
2293 locations of new User-, Group- and Machine-Accounts in Active
2294 Directory (this got lost during the last trunk-merge).
2295 * Fix printer-migration w.r.t. to new naming-convention for
2297 * Allow to migrate win2k3/xp-drivers as well.
2298 * Add client-side support of triggering ads printer publishing
2299 over msrpc setprinter calls inside the net-tool.
2300 * Add the idmap_rid module (written in conjunction with
2301 Sumit Bose <sbose@suse.de>).
2302 * BUG 1661: Fix build with recent heimdal releases.
2303 * Prevent idmap_rid from making unnecessary calls to domain
2304 controllers for trusted domains.
2307 o Arthur van Dongen <avdongen@xs4all.nl>
2308 * Fix typos in pam_winbind log messages and SuSE
2312 o Rob Foehl <rwf@loonybin.net>
2313 * Typo fixes for log messages in printer publishing code.
2314 * Fix memory leak in printer publishing code.
2315 * Ensure print_backend_init() only gets called once.
2316 * Have smbd check the published status of all printers
2318 * Cleanup up the XXX_a_printer() API for consistency.
2319 * Refactored the printer publishing code and include better
2323 o Steve French <sfrench@us.ibm.com>
2324 * Fix IP address override in mount.cifs mount helper and clean
2325 up warning messages from the sparse tool and expand syntax help.
2326 * Strip guest mount option off before sending to kernel mount
2327 routine to avoid logging spurious message.
2330 o Satoh Fumiyasu <fumiya@samba.gr.jp>
2331 * BUG 1732: Limit share names returned by RAP based on windows
2332 character width, not unix character width.
2333 * BUG 1498: Ensure that acl entries are stored in the correct
2337 o Brett Funderburg <brett@deepfile.com>
2338 * Pass create options parameter to nt_create_andx() function
2339 from the python bindings.
2340 * BUG 1864: Add sd->type field to security descriptor Python
2342 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2343 when trying to return the security descriptor for a file.
2344 * BUG 1884: Fixes for the Python bindings to use the value
2345 of the desired_access filed passed into the lsa_open_policy()
2349 o Michael Gravey <michel.gravey@optogone.com>
2350 * BUG 1776: Fix warnings when building modules caused by
2351 certain versions of GNU ld not using the the default
2352 --allow-shlib-undefined flag.
2355 o Chris Hertel <crh@samba.org>
2356 * Fix logic bug in splay tree data structure when finding
2358 * Fix bug where an invalid MAC address would be printed by
2359 a node status lookup from nmblookup.
2362 o Uli Iske <iske@elkb.de>
2363 * Update the DNS/eDirectory LDAP schema file.
2366 o Björn Jacke <bjacke@sernet.de>
2367 * BUG 1766: Unify charset-handling in Content-Type:-headers to
2368 UTF-8. Reformat msgstr in msg-files to UTF-8.
2369 * Do not use display charset for swat output.
2370 * Convert the share names correctly from unix encoding to web
2371 encoding and vice versa.
2372 * Convert files from status page from unix charset to UTF-8.
2375 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2376 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2379 o Tom Lackemann <cessnatomny@yahoo.com>
2380 * BUG 1954: Fix memory leak in posix acl code.
2383 o Volker Lendecke <vl@samba.org>
2384 * Robustnss fix for winbindd when sending multiple requests
2385 at a high rate for a slow operation.
2386 * Solve the problem of user sids ending up with gid's
2388 * Use sys_fork instead of fork for the dual daemon so that
2389 we get the correct debug pid in the logfiles.
2390 * Based on patch from jmcd, implement special lists for the LDAP
2391 user attributes to delete.
2392 * Fix creation of aliases via usrmgr. Winbind was too strict
2393 checking the type of sids.
2394 * Lowercase all usernames returned by winbind.
2395 * BUG 1545, 1823: Only issue the ldap extended password change
2396 operation if the ldap server supports it. Also ignore object
2397 class violation errors from the extended operation.
2398 * Optimization for 'idmap backend = ldap': When asking sid2id
2399 for the wrong type, don't ask ldap when we have the opposite mapping
2401 * Fix ldapsam_compat homeDrive.
2402 * Add usersidlist and allowedusers subcommands to the net tool
2403 in order to support scanning a file server's share and list
2404 all users who have permission to connect there.
2405 * Allow for multiple DC's to be named as #1c names in lmhosts.
2406 * Memory leak fixes.
2407 * Fix checks for the local pid of an smbd process after
2411 o Herb Lewis <herb@samba.org>
2412 * Added tdbtool to be built by default.
2415 o Love <lha@stacken.kth.se>
2416 * BUG 1955: Inconsistent error return.
2419 o Sorin Manolache <sorinm@gmail.com>
2423 o Jim McDonough <jmcd@us.ibm.com>
2424 * Allow 'net ads lookup' to rely on command line arguments
2425 if contacting an ADS server fails; utilize cldap for lookups.
2426 * Fixup formatting errors in TDB_LOG calls; add printf attribute
2427 support to tdb log functions.
2430 o Bill McGonigle <bill+samba@bfccomputing.com>
2431 * BUG 1926: Type in debug message.
2435 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2439 o Luke Mewburn <lukem@NetBSD.org>
2440 * BUG 1782: Prevent testparm from displaying parameter synonyms.
2443 o Stefan Metzmacher <metze@samba.org>
2444 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2445 * Fix client quota support.
2446 * Fix opening of system quota file.
2449 o Lars Mueller <lmuelle@samba.org>
2450 * Small fixes for autogen.sh to deal with version detection
2451 of autoconf and autoheader; fixes for examples using
2452 libtool to adhere to stricter syntax of newer version.
2455 o Henrik Nordstrom <hno@squid-cache.org>
2456 * Allow winbindd to return the correct number of groups
2457 when the groups array must be enlarged.
2460 o Narayana Pattipati <narayana.pattipati@wipro.com>
2461 * Solaris autoconf detection fixes.
2464 o Tim Potter <tpot@samba.org>
2465 * BUG 1360: (correct fix) Use -Wl when passing flags to
2467 * HP-UX compile fixes (from JBravo on #samba-technical).
2468 * BUG 1731: More HP-UX compiles fixes.
2469 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
2470 spits the dummy otherwise.
2471 * Fix bug in Python printerdata wrapper.
2472 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
2473 <bugzilla-samba@thewrittenword.com>).
2474 * Fix parameter confusion in priming of name-to-sid cache
2475 (Found by Qiao Yang).
2476 * BUG 1888: Remove '..' from all pre-processor commands.
2477 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
2481 o Matt Selsky <selsky@columbia.edu>
2482 * BUG 350: use autoconf 2.57 feature for checking header file
2483 preprocessing (fixes configure warnings on Solaris).
2486 o Richard Renard <rrenard@idealx.com>
2487 * Fix usermgr.exe and trust relationships.
2490 o Paul Szabo <psz@maths.usyd.edu.au>
2491 * Fix to make find_workgroup use the same
2492 truncation as create_workgroup.
2495 o Richard Sharpe <rsharpe@samba.org>
2496 * Ensure cli_write() can support writes >= 65536 bytes.
2499 o Simo Sorce <idra@samba.org>
2500 * Added check password script code in examples/auth/crackcheck/
2501 * Fix memory corruption bug caused in freeing static memory.
2504 o Andrew Tridgell <tridge@samba.org>
2505 * Remove lp_use_mmap() from map_file() since the latter
2506 is for read only and does not require coherence.
2507 * Ensure that the uuid pack/unpack routines do not go past
2508 the end of the structure.
2509 * Converted Samba 3 tree to use the new utf-16 aware iconv
2511 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2512 * Ensure configure only uses '=' instead of the bashism '=='.
2513 * Reduces the number of tdb locking calls made on file IO.
2516 o Jelmer Vernooij <jelmer@samba.org>
2517 * Convert internal data to UTF-8 before calling libxml2.
2518 * Complain if 'password chat' doesn't contain the %u variable
2519 (based on a patch by Ronan Waide).
2523 * BUG 1541: Fix recursive ls in smbclient.
2526 o Igor Zhbanov <bsg@uniyar.ac.ru>
2527 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
2530 --------------------------------------------------
2532 =============================
2533 Release Notes for Samba 3.0.7
2535 =============================
2537 Common bugs fixed in 3.0.7 include:
2539 o Fixes for two Denial of Service vulnerabilities
2540 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2541 o Winbind failure to return user entries under certain
2543 o Syntax errors in the OpenLDAP schema file (samba.schema).
2544 o Printing errors caused by not setting default values
2545 for the various printing commands.
2554 Parameter Name Action
2555 -------------- ------
2556 winbind enable local accounts disabled by default
2561 o Jeremy Allison <jra@samba.org>
2562 * Fix parsing of names ending in dot and a few other error
2564 * BUG 1674: Move the symlinks checks into reduce_name().
2565 * Fix memleak when checking the valid names smb.conf option.
2566 * Fix memleak on error return path in the file open code.
2567 * More paranoia checks in the hash2 mangling code.
2568 * Fix syntax error in configure.in.
2569 * Match Win2k3's behavior for pathname parsing error returns.
2570 * Make nmbd more robust against bad netbios packets
2572 * Add more checks for invalid ASN.1 packets for SPNEGO packets
2576 o Andrew Bartlett <abartlet@samba.org>
2577 * Janitor work in loadparm.c -- remove unused parameters.
2580 o Gerald Carter <jerry@samba.org>
2581 * BUG 1464: Ensure that printing commands are initialized even
2582 if the 'printing' parameter is not explicitly set.
2583 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
2584 Adharsh Praveen <rprav@india.hp.com>)
2585 * Work around parsing error in the print change notify code.
2586 * remove duplicate declaration of getprintprocdir from
2588 * Only use sAMAccountName and not userPrincipalName when looking
2589 up a username in AD since the breaks winbindd (lookup_name()
2590 only works with the sAMAccountName).
2591 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
2592 filling in the username in the user_info3.
2593 * Fix logic bug in the check for creating a user's home directory
2594 in register_vuid(); caused home directory to be mismatched to
2595 the first share in smb.conf under certain conditions.
2596 * BUG 1656: rename auto.a to auto.smb.
2597 * Ensure that we assign our pid to print jobs (and not our
2598 parent's pid); ensures that spooling jobs from dead smbds
2599 are removed from the tdb.
2600 * Disable 'winbind enable local accounts' by default.
2601 * Adding some initial checks for DragonFly (same as
2605 o Guenther Deschner <gd@samba.org>
2606 * Use SMB_ASSERT() to track down NULL printer names in
2608 * Revert fix for BUG 1474 to avoid unnecessary packaging
2612 o Olaf Flebbe <o.flebbe@science-computing.de>.
2613 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
2615 * BUG 1626: More compile fixes.
2618 o Rob Foehl <rwf@loonybin.net>
2619 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
2620 by attempts to sanitize the defined attributes.
2623 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2624 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
2627 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
2628 * BUG 1657: Remove used initialized variable,
2629 * BUG 1658: Add a little bit of const.
2632 o Volker Lendecke <vl@samba.org>
2633 * If there's garbage in the pidfile, we should not panic
2634 but assume that no one else is around. We can't find the
2638 o Jim McDonough <jmcd@us.ibm.com>
2639 * Fixup format string in the tdb error messages.
2642 o Jonas Olsson <lexicon@lysator.liu.se>
2643 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
2644 reporting the list in usrmgr.exe.
2647 o Tim Potter <tpot@samba.org>
2648 * Fix out-of-tree builds (problem with the script to generate
2649 the svn version number).
2650 * BUG 1360: Need to use -Wl when passing flags to the linker.
2651 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
2652 doesn't have one of its own.
2654 o Simo Sorce <idra@samba.org>
2655 * Fixup compile issues on AIX caused by broken strlen() and
2657 * Update debian packaging files.
2660 o Dimitri van der Spek <dwspek@aboveit.nl>
2661 * Use the correct counter when copying group rids from the
2662 user_info3 struct in pam_winbind.
2665 o Qiao Yang <qyang@stbernard.com>
2666 * BUG 1622: Only cache the user
2669 --------------------------------------------------
2671 =============================
2672 Release Notes for Samba 3.0.6
2674 =============================
2676 Common bugs fixed in 3.0.6 include:
2678 o Schannel failure in winbindd.
2679 o Numerous memory leaks.
2680 o Incompatibilities between the 'write list' and 'force user'
2682 o Premature optimization of the open_directory() internal
2683 function that broke tools such as the ArcServe backup
2684 agent, Macromedia HomeSite, and Robocopy.
2685 o Corrupt workgroup names in nmbd's browse.dat.
2686 o Sharing violation errors commonly seen when opening
2687 when serving Microsoft Office documents from a Samba
2689 o Browsing problems caused by an apostrophe (') in the
2690 computer's description field.
2691 o Problems creating special file types from UNIX CIFS
2692 clients and enabling 'unix extensions'.
2693 o Fix stalls in smbd caused by inaccessible LDAP servers.
2694 o Remove various memory leaks.
2695 o Fix issues in the password lockout feature.
2697 New features introduced in this release include:
2699 O Support symlinks created by CIFS clients which
2700 can be followed on the server.
2701 o Using a cups server other than localhost.
2702 o Maintaining the service principal entry in the system
2703 keytab for integration with other kerberized services.
2704 Please refer to the 'use kerberos keytab' entry in
2705 smb.conf(5). When using the heimdal kerberos libraries,
2706 you must also specify the following in /etc/krb5.conf:
2708 default_keytab_name = FILE:/etc/krb5.keytab
2709 o Support for maintaining individual printer names
2710 stored separately from the printer's sharename.
2711 o Support for maintaining user password history.
2712 o Support for honoring the logon times for user in a
2716 ============================================
2717 unix extensions = yes (default) and symlinks
2718 ============================================
2720 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
2721 clients supporting the UNIX extensions to the CIFS protocol
2722 can create symlinks to absolute paths which will be **followed**
2723 by the server. This functionality has been requested in order
2724 to correctly support certain applications when the user's home
2725 directory is mounted using some type of CIFS client (e.g. the
2726 cifsvfs in the Linux 2.6 kernel).
2728 If this behavior is not acceptable for your production environment
2729 you can set 'wide links = no' in the specific share declaration in
2730 the server's smb.conf. Be aware that disabling wide link support
2731 out of a share in Samba may impact the server's performance due
2732 to the fact that smbd will now have to check each path additional
2733 times before traversing it.
2736 ========================
2737 Password History Support
2738 ========================
2740 The new password history feature allows smbd to check the new
2741 password in password change requests against a list of the user's
2742 previous passwords. The number of previous passwords to save can
2743 be set using pdbedit (4 in this example):
2745 root# pdbedit -P "password history" -C 4
2747 When using the ldapsam passdb backend, it is vital to secure the
2748 following attributes from access by non-administrative users:
2752 * sambaPasswordHistory
2754 You should refer to your directory server's documentation on how
2755 to implement this restriction.
2764 Parameter Name Action
2765 -------------- ------
2767 defer sharing violations New
2768 force unknown acl user New
2770 printcap cache time New
2771 use kerberos keytab New
2775 o Jeremy Allison <jra@samba.org>
2776 * Correct path parsing bug that broke DeletePrinterDriverEx().
2777 * Fix bugs in check_path_syntax() caught by asserts.
2778 * Internal change - rearrange internal global case setting
2779 variables to a per connection basis.
2780 * BUG 1345: Fix premature optimization in unix_convert().
2781 * Allow clients to truncate a locked file.
2782 * BUG 1319: Always check to see if a user as write access
2783 to a share, even when 'force user' is set.
2784 * Fix specific case of open that doesn't cause oplock break,
2785 or share mode check.
2786 * Correct sid type is WKN_GROUP, not alias. Added some
2787 more known types (inspired by patch from Jianliang Lu).
2788 * Allow creation of absolute symlink paths via CIFS clients.
2789 * Fix charset bug in when invoking send_mailslot().
2790 * When using widelinks = no, use realpath to canonicalize
2791 the connection path on connection create for the user.
2792 * Enhance stat open code.
2793 * Fix unix extensions mknod code path.
2794 * Allow unix domain socket creation via unix extensions.
2795 * Auto disable the 'store dos attribute' parameter if the
2796 underlying filesystem doesn't support EAs.
2797 * Implement deferred open code to fix a bug with Excel files
2799 * BUG 1427: Catch bad path errors at the right point. Ensure
2800 all our pathname parsing is consistent.
2801 * Fix SMB signing error introduced by the new deferred open
2803 * Change default setting for case sensitivity to "auto". (see
2804 commit message -- r1154 -- for details).
2805 * Add new remote client arch -- CIFSFS.
2806 * Allow smbd to maintain the service principal entry in the
2807 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
2808 Guenther Deschner, et. al.).
2809 * Fix longstanding memleak bug with logfile name.
2810 * Fix incorrect type in printer publishing (struct uuid,
2812 * Heimdal compile fixes after introduction of the new ketyab
2814 * Ensure we check attributes correctly on rename request.
2815 * Ensure we defer a sharing violation on rename correctly.
2816 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
2818 * Fix bogus error message when using "mangling method = hash"
2820 * Turn on sendfile by default for non-Win9x clients.
2821 * Handle non-io opens that cause oplock breaks correctly.
2822 * Ensure ldap replication sleep time is not more than 5 seconds.
2823 * Add support for storing a user's password history.
2824 LDAP portion of the code was based on a patch from
2825 Jianliang Lu <j.lu@tiesse.com>.
2826 * Correct memory leaks found in the password change code.
2827 * Fix support for the mknod command with the Linux CIFS client.
2828 * Remove support for passing the new password to smbpasswd
2829 on the command line without using the -s option.
2830 * Ensure home directory service number is correctly reused
2831 (inspired by patches from Michael Collin Nielsen
2832 <michael@hum.aau.dk>).
2833 * Fix to stop printing accounts from resetting the bas
2834 password and account lockout flags.
2835 * If a account was locked out by an admin (and has a bad
2836 password count of zero) leave it locked out until an admin
2837 unlocks it (but log a message).
2838 * Ensure we return the same ACL revision on the wire that
2840 * BUG 1578: Hardcode replacement for invalid characters as '_'
2841 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
2842 * Fix hashed password history for LDAP backends.
2843 * Enforce logon hours restrictions if confiogured (based on code
2844 from Richard Renard <rrenard@idealx.com>).
2845 * BUG 1606: Force smbd to disable sendfile with DOS clients
2846 and ensure that the chained header is filled in for ...&X
2848 * BUG 1602: Fix access to shares when all symlink support
2853 o Tom Alsberg <alsbergt@cs.huji.ac.il>
2854 * Allow pdbedit to export a single user from a passdb backend.
2857 o Andrew Bartlett <abartlet@samba.org>
2858 * Fix parsing bug in GetDomPwInfo().
2859 * Fix segfault in 'ntlm_auth --diagnostics'.
2860 * Re-enable code to allow sid_to_gid() to perform a group
2861 mapping lookup before checking with winbindd.
2862 * Fix memory leak in the trans2 signing code.
2863 * Allow more flexible GSS-SPENGO client and server operation
2865 * Improve smbd's internal random number generation.
2866 * Fix a few outstanding long password changes in smbd.
2867 * Fix LANMAN2 session setup code.
2870 o Eric Boehm <boehm@nortelnetworks.com>
2871 BUG 703: Final touches on netgroup case lookups.
2874 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
2875 * Ensure error status codes don't get overwritten in
2876 lsa_lookup_sids() server code.
2877 * Correct bug that caused smbd to overwrite certain error
2878 codes when returning up the call stack.
2879 * Ensure the correct sid type returned for builtin sids.
2882 o Gerald Carter <jerry@samba.org>
2883 * Fix a few bugs in the Fedora Packaging files.
2884 * Fix for setting the called name to by our IP if the
2885 called name was *SMBSERVER and *SMBSERV. Fixes issue
2886 with connecting to printers via \\ip.ad.dr.ess\printer
2888 * BUG 1315: fix for schannel client connections to servers
2889 when we haven't specifically negotiated AUTH_PIPE_SEAL.
2890 * Allow PrinterDriverData valuenames with embedded backslashes
2891 (Fixes bug with one of the Konica Fiery drivers).
2892 * Fixed string length miscalculation in netbios names that
2893 resulted in corrupt workgroup names in browse.dat.
2894 * When running smbd as a daemon, launch child smbd to update
2895 the lpq cache listing in the background.
2896 * Allow printers "Printers..." folder to be renamed to a string
2897 other than the share name.
2898 * Allow winbindd to use domain trust account passwords when
2899 running on a Samba DC to establish an schannel to remote
2901 * Fix bad merge and ensure that we always use tdb_open_log()
2902 instead of tdb_open_ex() (the former call enforce the 'use
2904 * BUG 1221: revert old change that used single and double
2905 quotes as delimeters in next_token(), and change
2906 print_parameter() to print out parm values surrounded by
2907 double quotes (instead of single quotes).
2908 * Prevent home directories added during the SMBsesssetup&X from
2909 being removed as unused services.
2910 * Invalidate the print object cache for open printer handles when
2911 smbd receives a message that an attribute on a given printer
2913 * Cause the configure script to exit if --enable-cups[=yes] is
2914 defined and the system does not have the cups devel files
2916 * BUG 1297: Prevent map_username() from being called twice
2918 * Ensure that we use the userPrincipalName AD attribute
2919 value for LDAP SASL binds.
2920 * Ensure we remove the tdb entry when deleting a job that
2922 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
2923 client sends a FindNextPrintChangeNotify() request without
2924 previously sending a FindFirstPrintChangeNotify(). Return
2925 the same error code as Windows 2000 SP4.
2926 * BUG 1516: Manually declare ldap_open_with_timeout() to
2927 workaround compiler errors on IRIX (or other systems without
2929 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
2931 * Corrected syntax error in the OID for sambaUnixIdPool,
2932 sambaSidEntry, & sambaIdmapEntry object classes.
2933 * Tighten the cache consistency with the ntprinters.tdb entry
2934 an the in memory cache associated with open printer handles.
2935 * Make sure that register_messages_flags() doesn't overwrite
2936 the originally registered flags.
2939 o Fabien Chevalier <fabien.chevalier@supelec.fr>
2940 * Debian BUG 252591: Ensure that the return value from the
2941 number of available interfaces is initialized in case no
2942 interfaces are actually available.
2945 o Guenther Deschner <gd@sernet.de>
2946 * Implement 'rpcclient setprintername'.
2947 * Add local groups to the user's NT_TOKEN since they are
2948 actually supported now.
2949 * Heimdal compile fixes after introduction of the new keytab
2951 * Correctly honor the info level parameter in 'rpcclient
2953 * Reintroduce 'force unknown acl user' parameter. When getting a
2954 security descriptor for a file, if the owner sid is not known,
2955 the owner uid is set to the current uid. Same for group sid.
2956 * Ensure that REG_SZ values in the SetPrinterData actually
2957 get written in UNICODE strings rather than ASCII.
2958 * Ensure that the last kerberos error return is not invalid.
2959 * Display share ACL entries from rpcclient.
2960 * Correct infinite loop in pam_winbind's verification of
2961 group membership in the 'other sids' field in the user_info3
2965 o Fabian Franz <FabianFranz@gmx.de>
2966 * Support specifying a port in the device URL passed to smbspool.
2969 o Steve French <sfrench@us.ibm.com>
2970 * Handle -S and user mount parms in mount.cifs.
2971 * Fix user unmount of shares mount with suid mount.cifs.
2972 * prevent infinite recusion in reopen_logs() when expanding
2973 the smb.conf variable %I.
2976 o Bjoern Jacke <bj@sernet.de>
2977 * Install libsmbclient into $(LIBDIR), not into hard coded
2978 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
2979 and an explicit configure --libdir setting.
2982 o <kawasa_r@itg.hitachi.co.jp>
2983 * Correct more memory leaks and initialization bugs.
2984 * Fix bug that prevented core dumps from being generated
2986 * Connect to the winbind pipe in non-blocking mode to
2987 prevent processes from hanging.
2988 * Memory leak fixes.
2991 o Stephan Kulow <coolo@suse.de>
2992 * Fix crash bug in libsmbclient.
2995 o Volker Lendecke <vl@samba.org>
2996 * Added vfs_full_audit module.
2997 * Add vfs_afsacl.c which can display & set AFS acls via
2998 the NT security editor.
2999 * Fix crash bug caused by trying to Base64 encode a NULL string.
3000 * Fix DOS error code bug in reply_chkpath().
3001 * Correct misunderstanding of the max_size field in
3002 cli_samr_enum_als_groups; it is more like an account_control
3003 field with individual bits what to retrieve.
3004 * Implement 'net rpc group rename' -- rename domain groups.
3005 * Implement the 'cups server' option. This makes it possible
3006 to have virtual smbd's connect to different cups daemons.
3007 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3008 * Fix sid_to_gid() calls in winbindd to prevent loops.
3009 * Ensure that local_sid_to_gid() sets the type of the group on
3011 * Make sure that the clients are given back the IP address to
3012 which they connected in the case of a multi-homed host. Only
3013 affects strings the spoolss printing replies.
3014 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3015 did not ask for the modifyTimestamp attribute, so it could
3016 not find it. Try not to regress by not putting that attrib
3017 in the main list but append it manually for the relevant searches.
3018 * Fix two memleaks in login_cache.c.
3019 * fixes memory bloat when unmarshalling strings.
3020 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3021 * Fix the build for systems without kerberos headers.
3022 * Allow winbindd to handle authentication requests only when
3023 started without either an 'idmap uid' or 'idmap gid' range.
3024 * Fix the build for systems without ldap headers.
3025 * Fix interaction between share security descriptor and the
3026 'read only' smb.conf option.
3027 * Fix bug that caused _samr_lookupsids() with more than 32 (
3028 MAX_REF_DOMAINS) SIDs to fail.
3029 * Allow the 'idmap backend' parameter to accept a list of
3030 LDAP servers for failover purposes.
3031 * Revert code in smbd to remove a tdb when it has become
3033 * Add paranoid checks when mapping SIDs to a uid/gid to
3034 ensure that the type is correct.
3035 * Initial work on getting client support for sending mailslot
3037 * Add 'ldap timeout' parameter.
3038 * Dont always uppercase 'afs username map'.
3039 * Expand aliases for getusersids as well.
3040 * Improved NT->AFS ACL mapping VFS module.
3043 o Herb Lewis <herb@samba.org>
3044 * Add the acls debug class.
3045 * Fix logic bug in netbios name truncate routine.
3046 * Fix smbd crash caused by smbtorture IOCTL test.
3047 * Fix errno tromping before calling iconv to reset the
3049 * need to leave empty dacl so we can remove last ACE.
3052 o Jianliang Lu <Jianliang.Lu@getronics.com>
3053 * Fix to stop smbd hanging on missing group member in
3055 * Make sure Samba returns the correct group types.
3056 * Reset the bad password count password counts upon a successful login.
3059 o Jason Mader <jason@ncac.gwu.edu>
3060 * BUG 1385: Don't use non-consts in a structure initialization.
3063 o Jim McDonough <jmcd@us.ibm.com>
3064 * BUG 1279: SMBjobid fix for Samba print servers running on
3065 Big-Endian platforms.
3068 o Joe Meadows <jameadows@webopolis.com>
3069 * Add optional timeout parameter to ldap open calls.
3070 * Allow get_dc_list() to check the negative cache.
3073 o Stefan Metzmacher <metze@samba.org>
3074 * fix a configure logic bug for linux/XFS quotas when
3075 using --with-sys-quotas.
3076 * Use quota debug class in quota code.
3077 * print out the SVN revision by configure,
3080 o Buchan Milne <bgmilne@mandrake.org>
3081 * Mandrake packaging fixes.
3084 o Lars Mueller <lmuelle@samba.org>
3085 * BUG 1279: Added 'printcap cache time' parameter.
3086 * Fix afs related build issues on SuSE.
3087 * Fix compiler warnings in the kerberos client code.
3090 o James Peach <jpeach@sgi.com>
3091 * More iconv detection fixes for IRIX.
3092 * Compile fixed for systems that do not have C99/UNIX98 compliant
3093 vsnprintf by default.
3094 * Prevent smbd from attempting to use sendfile at all if it is
3095 not supported by the server's OS.
3096 * Allow SWAT to search for index.html when serving html files
3101 * Implement NFS quota support on FreeBSD.
3104 o Tim Potter <tpot@samba.org>
3105 * BUG 1360: Use -Bsymbolic when creating shared libraries to
3106 avoid conflicts with identical symbols in the global namespace
3107 when loading libnss_wins.so.
3110 o Richard Renard <rrenard@idealx.com>
3111 * Save the current password as it is being changed into the
3112 password history list.
3115 o Richard Sharpe <rsharpe@samba.org>
3116 * Fix error return codes on some lock messages.
3117 * BUG 1178: Make the libsmbclient routines callable
3119 * BUG 1333: Make sure we return an error code when
3121 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
3122 share mode locking requests fail.
3125 o Simo Sorce <idra@samba.org>
3126 * Update Debian stable & unstable packaging.
3127 * Tidy up parametric options in testparm output.
3130 o Richard Sharpe <rsharpe@samba.org>
3131 * Add sigchild handling to winbindd to restart the child
3132 daemon if necessary.
3135 o Tom Shaw <tomisfaraway@gmail.com>
3136 * Use winbindd_fill_pwent() consistently.
3139 o Nick Thompson <nickthompson@agere.com>
3140 * Protect smbd against broken filesystems which return zero
3144 o Andrew Tridgell <tridge@samba.org>
3145 * Fixed bug in handling of timeout in socket connections.
3148 o Nick Wellnhofer <wellnhofer@aevum.de>
3149 * Prevent lp_interfaces() list from being corrupted. Fixes
3150 bug where nmbd would lose the list of network interfaces
3151 on the system and consequently shutdown.
3154 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3155 * Fix ntlm_auth memory leaks.
3158 o Jelmer Vernooij <jelmer@samba.org>
3159 * Additional NT status to unix error mappings.
3160 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
3161 get duplicate symbol errors.
3162 * Return an error when the last command read from stdin
3164 * Prepare for better error checking in tar.
3165 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3168 --------------------------------------------------
3170 =============================
3171 Release Notes for Samba 3.0.5
3173 =============================
3175 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
3176 the exception of correcting the two security issues outlined
3179 ######################## SECURITY RELEASE ########################
3181 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
3182 CVE ID: CAN-2004-0600, CAN-2004-0686
3183 (http://cve.mitre.org/)
3186 This is the latest stable release of Samba. This is the version
3187 that production Samba servers should be running for all current
3190 It has been confirmed that versions of Samba 3 prior to v3.0.4
3191 are vulnerable to two potential buffer overruns. The individual
3192 details are given below.
3198 Affected Versions: Samba 3.0.2 and later
3200 The internal routine used by the Samba Web Administration
3201 Tool (SWAT v3.0.2 and later) to decode the base64 data
3202 during HTTP basic authentication is subject to a buffer
3203 overrun caused by an invalid base64 character. It is
3204 recommended that all Samba v3.0.2 or later installations
3205 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3206 the swat administration service as a temporary workaround.
3208 This same code is used internally to decode the
3209 sambaMungedDial attribute value when using the ldapsam
3210 passdb backend. While we do not believe that the base64
3211 decoding routines used by the ldapsam passdb backend can
3212 be exploited, sites using an LDAP directory service with
3213 Samba are strongly encouraged to verify that the DIT only
3214 allows write access to sambaSamAccount attributes by a
3215 sufficiently authorized user.
3217 The Samba Team would like to heartily thank Evgeny Demidov
3218 for analyzing and reporting this bug.
3224 Affected Versions: Samba 3.0.0 and later
3226 A buffer overrun has been located in the code used to support
3227 the 'mangling method = hash' smb.conf option. Please be aware
3228 that the default setting for this parameter is 'mangling method
3229 = hash2' and therefore not vulnerable.
3231 Affected Samba 3 installations can avoid this possible security
3232 bug by using the default hash2 mangling method. Server
3233 installations requiring the hash mangling method are encouraged
3234 to upgrade to Samba 3.0.5.
3237 ##################################################################
3239 --------------------------------------------------
3241 =============================
3242 Release Notes for Samba 3.0.4
3244 =============================
3246 Common bugs fixed in Samba 3.0.4 include:
3248 o Password changing after applying the patch described in
3249 the Microsoft KB828741 article to Windows clients.
3251 o Managing print jobs via Windows on Big-Endian servers.
3252 o Several memory leaks in winbindd and smbd.
3253 o Compile issues on AIX and *BSD.
3256 --------------------
3261 o Jeremy Allison <jra@samba.org>
3262 * Fix path processing for DeletePrinterDriverEx().
3263 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
3267 o Andrew Bartlett <abartlet@samba.org>
3268 * Fix alignment bug in GetDomPwInfo().
3271 o Alexander Bokovoy <ab@samba.org>
3272 * Fix utime[s]() issues in smbwrapper on systems
3273 that can boot both the 2.4 and 2.6 Linux kernels.
3276 o Gerald Carter <jerry@samba.org>
3277 * Fedora packaging fixes.
3278 * BUG 1302: Fix seg fault by not trying to optimize a list of
3279 invalid gids using the wrong array size.
3280 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3281 seen when 'security = share'.
3282 * Fix problems when using IBM's compiler on AIX.
3283 * Link Developer's Guide, Example Guide, and multi-page HOWTO
3284 into SWAT's welcome page.
3285 * BUG 1293: fix double free in printer publishing code.
3288 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3289 * Fix for handling timeouts in socket connections.
3292 o Michel Gravey <michel.gravey@optogone.com>
3293 * BUG 483: patch from to fix password hash creation in SWAT.
3296 o Volker Lendecke <vl@samba.org>
3297 * Close the open NT pipes before the tdis.
3298 * Fix AFS related build issues.
3299 * Handle error conditions when base64 encoding a blob of 0 bytes.
3302 o Herb Lewis <herb@samba.org>
3303 * Added 'acls' debug class.
3305 o kawasa_r@itg.hitachi.co.jp
3306 * Multiple variable initialization and memory leak fixes.
3309 o Stephan Kulow <coolo@suse.de>
3310 * Fix string length bug in libsmbclient that caused KDE's
3312 * BUG 429: More libsmbclient fixes.
3315 o Jim McDonough <jmcd@us.ibm.com>
3316 * BUG 1007, 1279: Store the print job using a little-endian key.
3320 o Compile fix for OpenBSD (ENOTSUP not supported).
3323 o Stefan Metzmacher <metze@samba.org>
3324 * Correct bug in disks quota views from explorer.
3327 o Tim Potter <tpot@samba.org>
3328 BUG 1305: Correct debug output.
3331 o Richard Sharpe <rsharpe@samba.org>
3332 * Fix incorrect error code mapping.
3335 o Jelmer Vernooij <jelmer@samba.org>
3336 * Add additional NT_STATUS errorm mappings.
3339 --------------------------------------------------
3341 =============================
3342 Release Notes for Samba 3.0.3
3344 =============================
3347 Common bugs fixed in Samba 3.0.3 include:
3349 o Crash bugs and change notify issues in Samba's printing code.
3350 o Honoring secondary group membership on domain member servers.
3351 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3352 o Substitution errors for %[UuGg] in smb.conf.
3353 o winbindd crashes when using ADS security mode.
3354 o SMB signing errors.
3355 o Delays in winbindd startup caused by unnecessary
3356 connections to trusted domain controllers.
3357 o Various small memory leaks.
3358 o Winbindd failing due to expired Kerberos tickets.
3360 New features introduced in Samba 3.0.3 include:
3362 o Improved support for i18n character sets.
3363 o Support for account lockout policy based on
3364 bad password attempts.
3365 o Improved support for long password changes (>14
3366 characters) and strong password enforcement.
3367 o Support for Windows aliases (i.e. nested groups).
3368 o Experimental support for storing DOS attribute on files
3369 and folders in Extended Attributes.
3370 o Support for local nested groups via winbindd.
3371 o Specifying options to be passed directly to the CUPS libraries.
3373 Please be aware that the Samba source code repository was
3374 migrated from CVS to Subversion on April 4, 2004. Details on
3375 accessing the Samba source tree via anonymous svn can be found
3376 at http://svn.samba.org/samba/subversion.html.
3379 Changes since 3.0.2a
3380 --------------------
3384 Parameter Name Action
3385 -------------- ------
3388 only user Deprecated
3389 store dos attributes New
3391 winbind nested groups New
3397 o Jeremy Allison <jra@samba.org>
3398 * Ensure that Kerberos mutex is always properly unlocked.
3399 * Removed Heimdal "in-memory keytab" support.
3400 * Fixup the 'multiple-vuids' bugs in our server code.
3401 * Correct return code from lsa_lookup_sids() on unmapped
3402 sids (based on work by vl@samba.org).
3403 * Fix the "too many fcntl locks" scalability problem
3405 * Fixup correct (as per W2K3) returns for lookupsids
3406 as well as lookupnames.
3407 * Fixups for delete-on-close semantics as per Win2k3 behavior.
3408 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3409 * Fix "unable to initialize" bug when smbd hasn't been run with
3410 new system and a user is being added via pdbedit/smbpasswd.
3411 * Added NTrename SMB (0xA5).
3412 * Fixup correct timeout values for blocking lock timeouts.
3413 * Fix various bugs reported by 'gentest'.
3414 * More locking fixes in the case where we own the lock.
3415 * Fix up regression in IS_NAME_VALID and renames.
3416 * Don't set allocation size on directories.
3417 * Return correct error code on fail if file exists and target
3419 * Added client "hardlink" comment to test doing NT rename with
3420 hard links. Added hardlink_internals() code - UNIX extensions
3421 now use this as well.
3422 * Use a common function to parse all pathnames from the wire for
3423 much closer emulation of Win2k3 error return codes.
3424 * Implement check_path_syntax() and rewrite string sub
3425 functions for better multibyte support.
3426 * Ensure msdfs referrals are multibyte safe.
3427 * Allow msdfs symlink syntax to be more forgiving.
3428 eg. sym_link -> msdfs://server/share/path/in/share
3429 or sym_link -> msdfs:\\server\share\path\in\share.
3430 * Cleanup multibyte netbios name support in nmbd ( based on patch
3431 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3432 * Fix check_path_syntax() for multibyte encodings which have
3433 no '\' as second byte (based on work by ab@samba.org.
3434 * Fix the "dfs self-referrals as anonymous user" problem
3435 (based on patch from vl@samba.org).
3436 * BUG 1064: Ensure truncate attribute checking is done correctly
3437 on "hidden" dot files.
3438 * Fix bug in anonymous dfs self-referrals again.
3439 * Fix get/set of EA's in client library
3440 * Added support for OS/2 EA's in smbd server.
3441 * Added 'ea support' parameter to smb.conf.
3442 * Added 'store dos attributes' parameter to smb.conf.
3443 * Fix wildcard identical rename.
3444 * Fix reply_ctemp - make compatible with w2k3.
3445 * Fix wildcard unlink.
3446 * Fix wildcard src with wildcard dest renames.
3447 * BUG 1139: Fix based on suggestion by jdev@panix.com.
3448 swap lookups for user and group - group will do an
3449 algorithmic lookup if it fails, user won't.
3450 * Make EA's lookups case independent.
3451 * Fix SETPATHINFO in 'unix extensions' support.
3452 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
3453 the UNIX info levels, and the short case preserve names.
3456 o Timur Bakeyev <timur@com.bat.ru>
3457 * BUG 1144: only set --with-fhs when the argument is 'yes'
3458 * BUG 1152: Allow python modules to build despite libraries added
3459 to LDFLAGS instead of LDPATH.
3460 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3463 o Craig Barratt <cbarratt@users.sourceforge.net>
3464 * BUG 389: Allow multiple exclude arguments with smbclient
3465 tar -Xr options (better support for Amanda backup client).
3468 o Andrew Bartlett <abartlet@samba.org>
3469 * Include support for linking with cracklib for enforcing strong
3471 * Add support for >14 character password changes from Windows
3473 * Add 'admin set password' capability to 'net rpc'.
3474 * Allow 'net rpc samdump' to work with any joined domain
3475 regardless of smb.conf settings.
3476 * Use an allocated buffer for count_chars.
3477 * Add sanity checks for changes in the domain SID in an
3479 * Implement python unit tests for Samba's multibyte string
3481 * Remove 'unicode' smb.conf option.
3482 * BUG 1138: Fix support for 'optional' SMB signing and other
3484 * BUG 169: Fix NTLMv2-only behavior.
3485 * Ensure 'net' honors the 'netbios name' in the smb.conf by
3487 * Support SMB signing on connections using only the LANMAN
3488 password and generate the correct the 'session key' for these
3490 * Implement --required-membership-of=, an ntlm_auth option
3491 that restricts all authentication to members of this particular
3493 * Improve our fall back code for password changes.
3494 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
3495 after the server had said something (such as an error).
3496 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3499 o Alexander Bokovoy <ab@samba.org>
3500 * Fix incorrect size calculation of the directory name
3502 * Fix problems with very long filenames in both smbd and smbclient
3503 caused by truncating paths during character conversions.
3504 * Fix smbfs problem with Tree Disconnect issued before smbfs
3508 o Gerald Carter <jerry@samba.org>
3509 * BUG 850: Fix 'make installmodules' bug on True64.
3510 * BUG 66: mark 'only user' deprecated.
3511 * Remove corrupt tdb and shutdown (only for printing tdbs,
3512 connections, sessionid & locking).
3513 * decrement smbd counter in connections.tdb in smb_panic().
3514 * RedHat specfile updates.
3515 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3516 * BUG 1147; bad pointer case in get_stored_queue_info()
3518 * BUG 761: read the config file before initialized default
3519 values for printing options; don't default to bsd printing
3521 * Allow the 'printing' parameter to be set on a per share basis.
3522 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3523 * BUG 848: don't create winbind local users/groups that already
3525 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
3527 * BUG 488: fix the 'show client in col 1' button and correctly
3528 enumerate active connections.
3529 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
3530 problem when storing the updating pid for the lpq cache.
3531 * BUG 1007 (partial): Fix print change notify bugs.
3532 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
3533 and winbind use default domain = yes. Also ensures that
3534 * BUG 1151: Ensure that winbindd users are passed through
3536 * Fix client rpc binds for ASU derived servers (pc netlink,
3538 * BUG 417, 1128: Ensure that the current_user_info is set
3539 consistently so that %[UuGg] is expanded correctly.
3540 * BUG 1195: Fix crash in winbindd when the ADS server is
3542 * BUG 1185: Set reconnect time to be the same as the
3543 'winbind cache time'.
3544 * Ensure that we return the sec_desc in smb_io_printer_info_2.
3545 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3546 * BUG 1095: Honor the '-l' option in smbclient.
3547 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
3549 * Ensure server schannel uses the auth level requested by the
3551 * Removed --with-cracklib option due to potential crash issue.
3552 * Fix -lcrypto linking problem with wbinfo.
3553 * BUG 761: allow printing parameter to set defaults on a per
3555 * Add 'cups options' parameter to allow raw printing without
3556 changing /etc/cups/cupsd.conf.
3557 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
3559 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3560 * BUG 1288: resolve any machine netbios name (0x00) and not just
3562 * BUG 1199: Fix potential symlink issue in
3563 examples/printing/smbprint.
3566 o Robert Dahlem <Robert.Dahlem@gmx.net>
3567 * BUG 1048: Don't return short names when when 'mangled names = no'
3570 o Guenther Deschner <gd@suse.com>
3571 * Remove hard coded attribute name in the ads ranged retrieval
3573 * Add --with-libdir and --with-mandir to autoconf script.
3576 o Bostjan Golob <golob@gimb.org>
3577 * BUG 1046: Fix getpwent_list() so that the username is not
3578 overwritten by other fields.
3581 o Landon Fuller <landonf@opendarwin.org>
3582 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
3583 to fix user/group enumeration on systems whose libc does not
3584 call setgrent() before trying to enumerate users (i.e.
3588 o Steve French <sfrench@us.ibm.com>
3589 * Update mount.cifs to version 1.1.
3590 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3591 * Fixes to minor security bug in the mount helper.
3592 * Fix credential file mounting for cifs vfs.
3593 * Fix free of incremented pointer in cifsvfs mount helper.
3594 * Fix path canonicalization of the mount target path and help
3595 text display in the cifs mount helper.
3596 * Add missing guest mount option for mount.cifs.
3599 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3600 * BUG 1055; formatting fixes for 'net share'.
3601 * BUG 692: correct truncation of share names and workgroup
3603 * BUG 1088: use strchr_m() for query_host (smbclient -L).
3604 * Patch from to internally count characters correctly.
3607 o Paul Green <paulg@samba.org>
3608 * Update VOS _POSIX_C_SOURCE macro to 200112L.
3609 * Fix bug in configure.ion by moving the first use of
3610 AC_CHECK_HEADERS so it is always executed.
3611 * Fix configure.in to only use $BLDSHARED to select whether to
3612 build static or shared libraries.
3615 o Pat Haywarrd <Pat.Hayward@propero.net>
3616 * Make the session_users list dynamic (max of 128K).
3619 o Cal Heldenbrand <calzplace@yahoo.com>
3620 * Fix for for 'pam_smbpass migrate' functionality.
3623 o Chris Hertel <crh@samba.org>
3624 * fix enumeration of shares 12 characters in length via
3628 o Ulrich Holeschak <ulrich@holeschak.de>
3629 * BUG 932: fix local password change using pam_smbpass
3632 o Krischan Jodies <kj@sernet.de>
3633 * Implement 'net rpc group delete'
3636 o John Klinger <john.klinger@lmco.com>
3637 * Return NSS_SUCCESS once the max number of gids possible
3638 has been found in initgroups() on Solaris.
3639 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
3642 o Volker Lendecke <vl@samba.org>
3643 * Fix success message for net groupmap modify.
3644 * Fix errors when enumerating members of groups in 'net rpc'.
3645 * Match Windows behavior in samr_lookup_names() by returning
3646 ALIAS(4) when you search in BUILTIN.
3647 * Fix server SAMR code to be able to set alias info for
3649 * Fix duplication of logic when creating groups via smbd.
3650 * Ensure that the HWM values are set correctly after running
3652 * Add 'net rpc group add'.
3653 * Implement 'net groupmap set' and 'net groupmap cleanup'.
3654 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
3655 * Fix wb_delgrpmem (wbinfo -o).
3656 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
3657 * Fix sambaUserWorkstations on a Samba DC.
3658 * Implement wbinfo -k: Have winbind generate an AFS token after
3659 authenticating the user.
3660 * Add expand_msdfs VFS module for providing referrals based on the
3661 the client's IP address.
3662 * Implement client side NETLOGON GetDCName function.
3663 * Fix caching of name->sid lookups.
3664 * Add support in winbindd for expanding nested local groups.
3665 * Fix memleak in winbindd.
3667 * Don't list domain groups from BUILTIN.
3668 * Fix memleak in policy handle utility functions.
3669 * Decrease winbindd startup time by only contacting trusted
3670 domains as necessary.
3671 * Allow winbindd to ask the DC for its domain for a trusted
3673 * Fix Netscape DS schema based on comments from
3674 <thomas.mueller@christ-wasser.de>.
3675 * Correct case where adding a domain user to a XP local group
3676 did a lsalookupname on the user without domain prefix, and
3678 * Fix segfault in winbindd caused by 'wbinfo -a'.
3681 o Herb Lewis <herb@samba.org>
3682 * Fix typo for tag in proto file.
3683 * Add missing #ifdef HAVE_BICONV stuff.
3684 * Truncate Samba's netbios name at the first '.' (not
3688 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
3689 * Bug fixes and enhancements to libsmbclient library.
3692 o Jianliang Lu <j.lu@tiesse.com>
3693 * Enforce the 'user must change password at next login' flag.
3694 * Decode meaning of 'fields present' flags (improves support
3697 * Don't force an upper case domain name in the ntlmssp code.
3700 o L. Lucius <ib@digicron.com>.
3704 o Jim McDonough <jmcd@us.ibm.com>
3705 * Add versioning support to tdbsam.
3706 * Update the IBM Directory Server schema with the OpenLDAP
3708 * Various decoding fixes to improve usrmgr.exe support.
3709 * Fix statfs redeclaration of statfs struct on ppc
3710 * Implement support for password lockout of Samba domain
3711 controllers and standalone servers.
3712 * Get MungedDial attribute actually working with full TS
3713 strings in it for pdb_ldap.
3714 * BUG 1208 (partial): Improvements for working with expired krb5
3715 tickets in winbindd.
3716 * Use timegm, or our already existing replacement instead of
3717 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3718 * Remove modifyTimestamp from list of our attributes.
3719 * Fix lsalookupnames to check for domain users as well as local
3721 * Merge struct uuid replacement for GUID from trunk.
3722 * BUG 1208: Finish support for handling expired tickets in
3723 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3726 o Stefan Metzmacher <metze@samba.org>
3727 * Implement new VERSION schema based on subversion revision
3729 * Add shadow_copy vfs module.
3730 * Fix segault in login_cache support.
3733 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3734 o BUG 979 -- Fix quota display on AIX.
3737 o James Peach <jpeach@sgi.com>
3738 * Correct check for printf() format when using the SGI MIPSPro
3740 * BUG 1038: support backtrace for 'panic action' on IRIX.
3741 * BUG 768: Accept profileing arg to IRIX init script.
3742 * BUG 748: Relax arg parsing to sambalp script (IRIX).
3743 * BUG 758: Fix pdma build.
3744 * Search IRIX ABI paths for libiconv. Based on initial fix from
3748 o Kurt Pfeifle <kpfeifle@danka.de>
3749 * Add example shell script for migrating drivers and printers
3750 from a Windows print server to a Samba print server using
3751 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3754 o Tim Potter <tpot@samba.org>
3755 * Fix logic bug in tdb non-blocking lock routines when
3757 * BUG 1025: Include sys/acl.h in check for broken nisplus
3759 * BUG 1066: s/printf/d_printf/g in SWAT.
3760 * BUG 1098: rename internal msleep() function to fix build
3762 * BUG 1112: Fix for writable printerdata problem in python bindings.
3763 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3764 * BUG 1155: enclose use of fchown() with guards.
3765 * Relicense tdb python module as LGPL.
3768 o Richard Sharpe <rsharpe@samba.org>
3769 * Add support to smbclient for multiple logins on the same
3770 session (based on work by abartlet@samba.org).
3771 * Correct blocking condition in smbd's use of accept() on IRIX.
3772 * Add support for printing out the MAC address on nmblookup.
3775 o Simo Sorce <idra@samba.org>
3776 * Replace unknown_3 with fields_present in SAMR code.
3777 * More length checks in strlcat().
3780 o Andrew Tridgell <tridge@samba.org>
3781 * Rewrote the AIX UESS backend for winbindd.
3782 * Fixed compilation with --enable-dmalloc.
3783 * Change tdb license to LGPL (see source/tdb/tdb.c).
3784 * Force winbindd to use schannel in clients connections to
3788 o Jelmer Vernooij <jelmer@samba.org>
3789 * Fix ETA Calculation when resuming downloads in smbget.
3790 * Add -O (for writing downloaded files to standard out)
3791 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3792 * Fix syntax error in example mysql table
3795 o TAKEDA yasuma <yasuma@miraclelinux.com>
3796 * BUG 900: fix token processing in cmd_symlink, cmd_link,
3797 cmd_chown, cmd_chmod smbclient functions.
3800 o Shiro Yamada <shiro@miraclelinux.com>
3801 * BUG 1129: install image files for SWAT.
3804 --------------------------------------------------
3806 ==============================
3807 Release Notes for Samba 3.0.2a
3809 ==============================
3811 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3812 to address, in particular, a problem when using pdbedit to
3813 sanitize (--force-initialized-passwords) Samba's tdbsam
3814 backend. This is the latest stable release of Samba. This
3815 is the version that all production Samba servers should be
3816 running for all current bug-fixes.
3818 ******************* Attention! Achtung! Kree! *********************
3820 Beginning with Samba 3.0.2, passwords for accounts with a last
3821 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3822 ldapsam, etc...) of zero (0) will be regarded as uninitialized
3823 strings. This will cause authentication to fail for such
3824 accounts. If you have valid passwords that meet this criteria,
3825 you must update the last change time to a non-zero value. If you
3826 do not, then 'pdbedit --force-initialized-passwords' will disable
3827 these accounts and reset the password hashes to a string of X's.
3829 ******************* Attention! Achtung! Kree! *********************
3838 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3839 details. The list of changes per contributor are as follows:
3842 o Jeremy Allison <jra@samba.org>
3843 * Added paranoia checks in parsing code.
3846 o Andrew Bartlett <abartlet@samba.org>
3847 * Ensure that changes to uninitialized passwords in ldapsam
3848 are written to the DIT.
3851 o Gerald (Jerry) Carter <jerry@samba.org>
3852 * Fixed iterator in tdbsam.
3853 * Fix bug that disabled accounts with a valid NT password
3854 hash, but no LanMan hash.
3857 o Steve French <sfrench@us.ibm.com>
3858 * Added missing nosetuid and noexec options.
3861 o Bostjan Golob <golob@gimb.org>
3862 * BUG 1046: Don't overwrite usernames of entries returned
3866 o Sebastian Krahmer <krahmer@suse.de>
3867 * Fixed potential crash bug in NTLMSSP parsing code.
3870 o Tim Potter <tpot@samba.org>
3871 * Fixed logic in tdb_brlock error checking.
3874 o Urban Widmark <urban@teststation.com>
3875 * Set nosuid,nodev flags in smbmnt by default.
3878 --------------------------------------------------
3880 =============================
3881 Release Notes for Samba 3.0.2
3883 =============================
3885 It has been confirmed that previous versions of Samba 3.0 are
3886 susceptible to a password initialization bug that could grant an
3887 attacker unauthorized access to a user account created by the
3888 mksmbpasswd.sh shell script.
3890 The Common Vulnerabilities and Exposures project (cve.mitre.org)
3891 has assigned the name CAN-2004-0082 to this issue.
3893 Samba administrators not wishing to upgrade to the current
3894 version should download the 3.0.2 release, build the pdbedit
3897 root# pdbedit-3.0.2 --force-initialized-passwords
3899 This will disable all accounts not possessing a valid password
3900 (e.g. the password field has been set a string of X's).
3902 Samba servers running 3.0.2 are not vulnerable to this bug
3903 regardless of whether or not pdbedit has been used to sanitize
3906 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
3909 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
3910 o Logging onto a Samba domain from Windows XP clients.
3911 o Problems with the %U and %u smb.conf variables in relation to
3912 Windows 9x/ME clients.
3913 o Kerberos failures due to an invalid in memory keytab detection
3915 o Updates to the ntlm_auth tool.
3916 o Fixes for various SMB signing errors.
3917 o Better separation of WINS and DNS queries for domain controllers.
3918 o Issues with nss_winbind FreeBSD and Solaris.
3919 o Several crash bugs in smbd and winbindd.
3920 o Output formatting fixes for smbclient for better compatibility
3921 with scripts based on the 2.2 version.
3930 Parameter Name Action
3931 -------------- ------
3932 ldap replication sleep New
3933 read size removed (unused)
3934 source environment removed (unused)
3940 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3941 details. The list of changes per contributor are as follows:
3943 o Jeremy Allison <jra@samba.org>
3944 * Revert change that broke Exchange clear text samlogons.
3945 * Fix gcc 3.4 warning in MS-DFS code.
3946 * Tidy up of NTLMSSP code.
3947 * Fixes for SMB signing errors
3948 * BUG 815: Workaround NT4 bug to support plaintext
3949 password logins and UNICODE.
3950 * Fix SMB signing bug when copying large files.
3951 * Correct error logic in mkdir_internals() (caused a panic
3952 when combined with --enable-developer).
3953 * BUG 830: Protect against crashes due to bad character
3957 o Petri Asikainen <paca@sci.fi>
3958 * BUG 330, 387:Fix single valued attribute updates when
3959 working with Novell NDS.
3962 o Andrew Bartlett <abartlet@samba.org>
3963 * Correctly handle per-pipe NTLMSSP inside a NULL session.
3964 * Fix segfault in gencache
3965 * Fix early free() of encrypted_session_key.
3966 * Change DC lookup routines to more carefully separate
3967 DNS names (realms) from NetBIOS domain names.
3968 * Add new sid_to_dn() function for internal winbindd use.
3969 * Refactor cli_ds_enum_domain_trusts().
3970 * BUG 707: Implement range retrieval of ADS attributes (based
3971 on work from Volker <vl@samba.org> and Guenther Deschner
3973 * Automatically initialize the signing engine if a session key
3975 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
3976 encoded strings, only form input in SWAT.
3977 * Resets the NTLMSSP state for new negotiate packets.
3978 * Add 2-byte alignments in net_samlogon() queries to parse
3979 odd-length plain text passwords.
3980 * Allow Windows groups with no members in winbindd.
3981 * Allow normal authentication in the absence of a server
3982 generated session key.
3983 * More optimizations for looking up UNIX group lists.
3984 * Clean up error codes and return values for pam_winbindd
3985 and winbindd PAM interface.
3986 * Fix string return values in ntlm_auth tool.
3987 * Fix segfault when 'security = ads' but no realm is defined.
3988 * BUG 722: Allow winbindd to map machine accounts to uids.
3989 * More cleanups for winbindd's find_our_domain().
3990 * More clearly detect whether a domain controller is an NT4
3991 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
3992 * Increase separation between DNS queries for hosts and queries
3993 for AD domain controllers.
3994 * Include additional NT_STATUS to PAM error mappings.
3995 * Password initialization fixes.
3998 o Justin Baugh <justin.baugh@request.com>
3999 * BUG 948: Implement missing functions required for FreeBSD
4000 nss_winbind support.
4003 o Alexander Bokovoy <ab@samba.org>
4004 * BUG 922: Make sure enable fast path for strlower_m() and
4008 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4009 * Fix crash when using 'security = server' and 'encrypt
4010 passwords = no' by always initializing the session key.
4013 o Dmitry Butskoj <buc@odusz.elektra.ru>
4014 * Fix for special files being hidden from admins.
4017 o Gerald (Jerry) Carter <jerry@samba.org>
4018 * Fix bug in the lanman session key generation. Caused
4019 "decode_pw: incorrect password length" error messages.
4020 * Save the right case for the located user name in
4021 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4022 * BUG 897: Add well known rid for pre win2k compatible access
4024 * BUG 887: Correct typo in delete user script example.
4025 * Use short lived TALLOC_CTX* for allocating printer objects
4026 from the print handle cache.
4027 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4028 * Fix several warnings reported by the SUN Forte C compiler.
4029 * Fully control DNS queries for AD DC's using 'name resolve order'.
4030 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4031 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4032 * BUG 936: fix bind credentials for schannel binds in smbd.
4033 * BUG 446: Fix output of smbclient for better compatibility
4034 with scripts based on the 2.2 version (including Amanda).
4035 * BUG 891, 949: Fedora packaging fixes.
4036 * Fix bug that caused rpcclient to incorrectly retrieve
4037 the SID for a server (this causing all calls that required
4038 this information to fail).
4039 * BUG 977: Don't create a homes share for a user if a static
4040 share already exists by the same name.
4041 * Removed unused smb.conf options.
4042 * Password initialization fixes.
4043 * Set the disable flag for template accounts created by
4045 * Disable any account has no passwords and does not have the
4046 ACB_PWNOTREQ bit set.
4049 o Guenther Deschner <gd@suse.com>
4050 * Install smbwrapper.so should be put into the $(libdir)
4052 * Add the capability to specify the new user password
4053 for "net ads password" on the command line.
4054 * Correctly detect AFS headers on SuSE.
4057 o James Flemer <jflemer@uvm.edu>
4058 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4059 HAVE_SYS_ATTRIBUTES_H.
4062 o Luke Howard <lukeh@PADL.COM>
4063 * Fix segfault in session setup reply caused by a early free().
4066 o Stoian Ivanov <sdr@bultra.com>
4067 * Implement grepable output for smbclient -L.
4070 o LaMont Jones <lamont@debian.org>
4071 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4072 in _GNU_SOURCE not being defined (thus resulting in strndup()
4076 o Volker Lendecke <vl@samba.org>
4077 * BUG 583: Ensure that user names always contain the short
4078 version of the domain name.
4079 * Fix our parsing of the LDAP uri.
4080 * Don't show the 'afs username map' in the SWAT basic view.
4081 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4082 * BUG 924: Fix return codes in smbtorture harness.
4083 * Always lower-case usernames before handing it to AFS code.
4084 * Add a German translation for SWAT.
4085 * Fix a segfaults in winbindd.
4086 * Fix the user's domain passed to register_vuid() from
4087 reply_spnego_kerberos().
4088 * Add NSS example code in nss_winbind to convert UNIX
4089 id's <-> Windows SIDs.
4090 * Display more descriptive error messages for login via 'net'.
4091 * Fix compiler warning in the net tool.
4092 * Fix length bug when decoding base64 strings.
4093 * Ensure we don't call getpwnam() inside a loop that is iterating
4094 over users with getpwent(). This broke on glibc 2.3.2.
4097 o Herb Lewis <herb@samba.org>
4098 * Fix bit rot in psec.
4101 o Jianliang Lu <j.lu@tiesse.com>
4102 * Ensure we delete the group mapping before calling the delete
4104 * Define well known RID for managing the "Power Users" group.
4105 * BUG 381: check builtin (not local) group SID when updating
4107 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
4111 o John Klinger <john.klinger@lmco.com>
4112 * Implement initgroups() call in nss_winbind on Solaris.
4115 o Jim McDonough <jmcd@us.ibm.com>
4116 * Fix regression in net rpc join caused by recent changes
4117 to cli_lsa_query_info_policy().
4118 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4122 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
4123 * BUG 570: Ensure that configure honors the LDFLAGS variable.
4126 o Stefan Metzmacher <metze@samba.org>
4127 * Implement LDAP rebind sleep patch.
4128 * Revert to 2.2 quota code because of so many broken quota files
4130 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4131 XFS_USER_QUOTA -> USRQUOTA
4132 XFS_GROUP_QUOTA -> GRPQUOTA
4133 * Fix disk_free calculation with group quotas.
4134 * Add debug class 'quota' and a lot of DEBUG()'s
4136 * Fix sys_chown() when no chown() is present.
4137 * Add SIGABRT to fault handling in order to catch got a
4138 backtrace if an error occurs the OpenLDAP client libs.
4142 * Allow an existing LDAP machine account to be re-used when
4143 joining an AD domain.
4146 o James Peach <jpeach@sgi.com>
4147 * BUG 889: Change smbd to use pread/pwrite on platforms that
4148 support these calls. Can lead to a significant speed increase.
4151 o Tim Potter <tpot@samba.org>
4152 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4153 * BUG 924: Fix typo in RW2 torture test.
4156 o Richard Sharpe <rsharpe@samba.org>
4157 * Small fixes to torture.c to cleanup the error handling
4158 and prevent crashes.
4161 o J. Tournier <jerome.tournier@IDEALX.com>
4162 * Small fixes for the smbldap-tool scripts.
4165 o Andrew Tridgell <tridge@samba.org>
4166 * Fix src len check in pull_usc2().
4169 o Jelmer Vernooij <jelmer@samba.org>
4170 * Put functions for generating SQL queries in pdb_sql.c
4171 * Add pgSQL backend (based on patch by Hamish Friedlander)
4172 * BUG 908: Fix -s option to smbcontrol.
4173 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4174 * Fix for libnss_wins on IRIX platforms.
4175 * Fix swatdir for --with-fhs.
4178 --------------------------------------------------
4180 =============================
4181 Release Notes for Samba 3.0.1
4183 =============================
4185 Some of the more common bugs in 3.0.0 addressed in the release
4188 o Substitution problems with smb.conf variables.
4189 o Errors in return codes which caused some applications
4190 to fail to open files.
4191 o General Protection Faults on Windows 2000/XP clients
4192 using Samba point-n-print features.
4193 o Several miscellaneous crash bugs.
4194 o Access problems when enumerating group mappings are
4195 stored in an LDAP Directory.
4196 o Several common SWAT bugs when writing changes to
4198 o Internal inconsistencies when 'winbind use default
4204 ----------------------
4206 Parameter Name Action
4207 -------------- ------
4208 hide local users Removed
4209 mangled map Deprecated
4210 mangled stack Removed
4211 passwd chat timeout New
4217 o Change the interface for init_unistr2 to not take a length
4218 but a flags field. We were assuming that
4219 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
4220 o Allow d_printf() to handle strings with escaped quotation
4221 marks since the msg file includes the escape character (bug 489).
4222 o Fix bad html table row termination in SWAT wizard code (bug 413).
4223 o Fix to parse the level-2 strings.
4224 o Fix for "valid users = %S" in [homes]. Fix read/write
4226 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
4227 This is the same way AC_CHECK_LIB works (bug 508).
4228 o Testparm output fixes for clarity.
4229 o Fix broken wins hook functionality -- i18n bug (bug 528).
4230 o Take care of condition where DOS and NT error codes must differ.
4231 o Default to using only built-in charsets when a working iconv
4232 implementation cannot be located.
4233 o Wrap internals of sys_setgroups() so the sys_XX() call can
4234 be done unconditionally (bug 550).
4235 o Remove duplicate smbspool link on SWAT's front page (bug 541).
4236 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
4237 --enable-debug=[yes|no] works correctly.
4238 o Allow ^C to interrupt smbpasswd if using our getpass
4239 (e.g. smbpasswd command).
4240 o Support signing only on RPC's (bug 167).
4241 o Correct bug that prevented Excel 2000 clients from opening
4242 files marked as read-only.
4243 o Portability fix bugs 546 - 549).
4244 o Explicitly initialize the value of AR for vendor makes that don't
4245 do this (e.g. HPUX 11). (bug 552).
4246 o More i18n fixes for SWAT (bug 413).
4247 o Change the cwd before the postexec script to ensure that a
4248 umount will succeed.
4249 o Correct double free that caused winbindd to crash when a DC
4250 is rebooted (bug 437).
4251 o Fix incorrect mode sum (bug 562).
4252 o Canonicalize SMB_INFO_ALLOCATION in the same was as
4253 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4254 o Add script to generate *msg files.
4255 o Add Dutch SWAT translation file.
4256 o Make sure to call get_user_groups() with the full winbindd
4257 name for a user if he/she has one (bug 406).
4258 o Fix up error code returns from Samba4 tester. Ensure invalid
4259 paths are validated the same way.
4260 o Allow Samba3 to pass the Samba4 RAW-READ tests.
4261 o Refuse to configure if --with-expsam=$BACKEND was used but no
4262 libraries were found for $BACKEND.
4263 o Move sysquotas autoconf tests to a separate file.
4264 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
4266 o Make sure that the files that contain the static_init_$subsystem;
4267 macro get recompiled after configure by removing the object
4269 o Ensure canceling a blocking lock returns the correct error
4271 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4272 o Updated Japanese welcome file in SWAT.
4273 o Fix to nt-time <-> unix-time functions reversible.
4274 o Ensure that winbindd uses the the escaped DN when querying
4276 o Fix portability issues when compiling (bug 505, 550)
4277 o Compile fix for tdbbackup when Samba needs to override
4278 non-C99 compliant implementations of snprintf().
4279 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4280 o Make sure we break out of samsync loop on error.
4281 o Ensure error code path doesn't free unmalloc()'d memory
4283 o Add configure test for krb5_keytab_entry keyblock vs key
4286 o Modified testparm so that all output so all debug output goes
4287 to stderr, and all file processing goes to stdout.
4288 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
4290 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
4291 we have a devmode before copying a string to the devicename.
4292 o Support mapping REALM.COM\user to a local user account (without
4293 running winbindd) for compatibility with 2.2.x release.
4294 o Ensure we don't use mmap() on blacklisted systems.
4295 o fixed a number of bugs and memory leaks in the AIX
4297 o Call initgroups() in SWAT before becomming the user so that
4298 secondary group permissions can be used when writing to
4300 o Fix signing problems when reverse connecting back to a
4301 client for printer notify
4302 o Fix signing problems caused by a miss-sequence bug.
4303 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4304 Fixes NEXUS tools running on Win9x clients (bug 64).
4305 o Don't leave the domain field uninitialized in cli_lsa.c if some
4306 SID could not be mapped.
4307 o Fix segfault in mount.cifs helper when there is no options
4308 specified during mount.
4309 o Change the \n after the password prompt to go to tty instead
4310 of stdout (bug 668).
4311 o Stop net -P from prompting for machine account password (bug 451).
4312 o Change in behavior to Not only change the effective uid but also
4313 the real uid when becoming unprivileged.
4314 o Cope with Exchange 5.5 cleartext pop password auth.
4315 o New files for support of initshutdown pipe. Win2k doesn't
4316 respond properly to all requests on the winreg pipe, so we need
4317 to handle this new pipe (bug 534).
4318 o Added more va_copy() checks in configure.in.
4319 o Include fixes for libsmbclient build problems.
4320 o Missing UNIX -> DOS codepage conversion in lanman.c.
4321 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
4322 o Parameterize the listen backlog in smbd and make it larger by
4323 default. A backlog of 5 is way too small these days.
4324 o Check for an invalid fid before dereferencing the fsp pointer
4326 o Remove invalid memory frees and return codes in pdb_ldap.c.
4327 o Prompt for password when invoking --set-auth-user and no
4329 o Bind the nmbd sending socket to the 'socket address'.
4330 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
4331 $LDFLAGS occurs before any library specification (bug 661).
4332 o Fix large number of printf() calls for 64-bit size_t.
4333 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
4334 keyblock in the krb5 structs.
4335 o Remove #include <compat.h> in hopes to avoid problems with
4336 apache header files.
4337 o Correct winbindd build problems on HP-UX 11.
4338 o Lowercase netgroups lookups (bug 703).
4339 o Use the actual size of the buffer in strftime instead of a made
4340 up value which just happens to be less than sizeof(fstring).
4342 o Add ldaplibs to pdbedit link line (bug 651).
4343 o Fix crash bug in smbclient completion (bug 659).
4344 o Fix packet length for browse list reply (bug 771).
4345 o Fix coredump in cli_get_backup_list().
4346 o Make sure that we expand %N (bug 612).
4347 o Allow rpcclient adddriver command to specify printer driver
4349 o Compile tdbdump by default.
4350 o Apply patches to fix iconv detection for FreeBSD.
4351 o Do not allow the 'guest account' to be added to a passdb backend
4352 using smbpasswd or pdbedit (bug 624).
4353 o Save LDFLAGS during iconv detection (bug 57).
4354 o Run krb5 logins through the username map if the winbindd
4355 lookup fails (bug 698).
4356 o Add const for lp_set_name_resolve_order() to avoid compiler
4358 o Add support for the %i macro in smb.conf to stand in for the for
4359 the local IP address to which a client connected.
4360 o Allow winbindd to match local accounts to domain SID when
4361 'winbind trusted domains only = yes' (bug 680).
4362 o Remove code in idmap_ldap that searches the user suffix and group
4363 suffix. It's not needed and provides inconsistent functionality
4364 from the tdb backend.
4365 o Patch to handle munged dial string for Windows 2000 TSE.
4366 Thanks to Gaz de France, Direction de la Recherche, Service
4367 Informatique Métier for their supporting this work by Aurelien
4368 Degrémont <adegremont@idealx.com>.
4369 o Correct the "smbldap_open: cannot access when not root error"
4370 messages when looking up group information (bug 281).
4371 o Skip over the winbind separator when looking up a user.
4372 This fixes the bug that prevented local users from
4373 matching an AD user when not running winbindd (bug 698).
4374 o Fix a problem with configure on *BSD systems. Make sure
4375 we add -liconv etc to LDFLAGS.
4376 o Fix core dump bug when "security = server" and the authentication
4378 o Correct crash bug due to an empty munged dial string.
4379 o Show files locked by a specific user (smbstatus -u 'user')
4381 o Fix bug preventing print jobs from display in the queue
4382 monitor used by Windows NT and later clients (bug 660).
4383 o Fix several reported problems with point-n-print from
4384 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4385 reply (bug 338, 527 & 643).
4386 o Fix a handful of potential memory leaks in the LDAP code used
4387 by ldapsam[_compat] and the LDAP idmap backend.
4388 o Fix for pdbedit error code returns (bug 763).
4389 o Make sure we only enumerate group mapping entries (not
4390 /etc/group) even when doing local aliases.
4391 o Relax check on the pipe name in a dce/rpc bind response to work
4392 around issues with establishing trusts to a Windows 2003 domain.
4393 o Ensure we mangle names ending in '.' in hash2 mangling method.
4394 o Correct parsing issues with munged dial string.
4395 o Fix bugs in quota support for XFS.
4396 o Add a cleaner method for applications that need to provide
4397 name->SID mappings to do this via NSS rather than having to
4398 know the winbindd pipe protocol.
4399 o Adds a variant of the winbindd_getgroups() call called
4400 winbindd_getusersids() that provides direct SID->SIDs listing of
4401 a users supplementary groups. This is enough to allow non-Samba
4402 applications to do ACL checking.
4403 o Make sure we don't append the 'ldap suffix' when writing out the
4404 'ldap XXX suffix' values in SWAT (bug 328).
4405 o Fix renames across file systems.
4406 o Ensure that items in a list of strings containing whitespace are
4407 written out surrounded by single quotes. This means that both
4408 double and single quotes are now used to surround strings in
4410 o Enable SWAT to correctly determine if winbindd is running (bug
4412 o Include WWW-Authenticate field in 401 response for bad auth
4414 o Add support for NTLM2 (NTLMv2 session security).
4415 o Add support for variable-length session keys.
4416 o More privilege fixes for group enumeration in LDAP (bug 281).
4417 o Use the dns name (or IP) as the originating client name when
4418 using CUPS (bug 467).
4419 o Fix various SMB signing bugs.
4420 o Fix ACL propagation on a DFS root (bug 263).
4421 o Disable NTLM2 for RPC pipes.
4422 o Allow the client to specify the NTLM2 flags got NTLMSSP
4424 o Change the name of the job passed off to cups from "Test Page"
4425 to "smbprn.00000033 Test Page" so that we can get the smb
4426 jobid back. This allow users to delete jobs with cups printing
4427 backend (partial work on bug 770).
4428 o Fix build of winbindd with static pdb modules.
4429 o Retrieve the correct ACL group bits if the file has an ACL
4431 o Implement "net rpc group members": Get members of a domain group
4432 in human-readable format.
4433 o Add MacOSX (Darwin) specific charset module code.
4434 o Use samr_dispinfo(level == 1) for enumerating domain users so we
4435 can include the full name in gecos field (bug 587).
4436 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4437 o Implement 'net rpc group list [global|local|builtin]*' for a
4438 select listing of the respective user databases.
4439 o Don't automatically set NT status code flag unless client tells
4441 o Add 'net status [sessions|shares] [parseable]'.
4442 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
4444 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
4446 o Fix inverted logic in hosts allow/deny checks caused by
4447 s/strcmp/strequal/ (bug 846).
4448 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4449 o Fix typo in 'hash' mangling algorithm.
4450 o Support munged dial for ldapsam (bug 800).
4451 o Fix process_incoming_data() to return the number of bytes handled
4452 this call whether we have a complete PDU or not; fixes bug
4453 with multiple PDU request rpc's broken over SMBwriteX calls
4455 o Fix incorrect smb flags2 for connections to pre-NT servers
4456 (causes smbclient to fail to OS2 for example) (bug 821).
4457 o Update version string in smbldap-tools Makefile to 0.8.2.
4458 o Correct a problem with "net rpc vampire" mis-parsing the
4459 alias member info reply.
4460 o Ensure the ${libdir} is created by the installclientlib script.
4461 o Fix detection of Windows 2003 client architecture in the smb.conf
4463 o Ensure that smbd calls the add user script for a missing UNIX
4464 user on kerberos auth call (bug 445).
4465 o Fix bugs in hosts allow/deny when using a mismatched
4466 network/netmask pair.
4467 o Protect alloc_sub_basic() from crashing when the source string
4468 is NULL (partial work on bug 687).
4469 o Fix spinlocks on IRIX.
4470 o Corrected some bad destination paths when running "configure
4472 o Add packaging files for Fedora Core 1.
4473 o Correct bug in SWAT install script for non-english languages.
4474 o Support character set ISO-8859-1 internally (bug 558).
4475 o Fixed more LDAP access errors when looking up group mappings
4477 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
4478 resolution to fail on local files on on domain members
4480 o Fix uninitialized variable in passdb.c.
4481 o Fix formal parameter type in get_static() in nsswitch/wins.c.
4482 o Fix problem mounting directories when mount.cifs is installed
4483 with the setuid bit on.
4484 o Fix bug that prevent --mandir from overriding the defaults
4485 given in the --with-fhs macro.
4486 o Fix bug in in-memory Kerberos keytab detection routines
4491 ######################################################################
4493 The original 3.0.0 release notes follow
4494 =======================================
4495 WHATS NEW IN Samba 3.0.0
4497 =======================================
4503 1) Active Directory support. Samba 3.0 is now able to
4504 join a ADS realm as a member server and authenticate
4505 users using LDAP/Kerberos.
4507 2) Unicode support. Samba will now negotiate UNICODE on the wire
4508 and internally there is now a much better infrastructure for
4509 multi-byte and UNICODE character sets.
4511 3) New authentication system. The internal authentication system
4512 has been almost completely rewritten. Most of the changes are
4513 internal, but the new auth system is also very configurable.
4515 4) New default filename mangling system.
4517 5) A new "net" command has been added. It is somewhat similar to
4518 the "net" command in windows. Eventually we plan to replace
4519 numerous other utilities (such as smbpasswd) with subcommands
4522 6) Samba now negotiates NT-style status32 codes on the wire. This
4523 improves error handling a lot.
4525 7) Better Windows 2000/XP/2003 printing support including publishing
4526 printer attributes in active directory.
4528 8) New loadable module support for passdb backends and character
4531 9) New default dual-daemon winbindd support for better performance.
4533 10) Support for migrating from a Windows NT 4.0 domain to a Samba
4534 domain and maintaining user, group and domain SIDs.
4536 11) Support for establishing trust relationships with Windows NT 4.0
4539 12) Initial support for a distributed Winbind architecture using
4540 an LDAP directory for storing SID to uid/gid mappings.
4542 13) Major updates to the Samba documentation tree.
4544 14) Full support for client and server SMB signing to ensure
4545 compatibility with default Windows 2003 security settings.
4547 15) Improvement of ACL mapping features based on code donated by
4548 Andreas Grünbacher.
4551 Plus lots of other improvements!
4554 Additional Documentation
4555 ------------------------
4557 Please refer to Samba documentation tree (included in the docs/
4558 subdirectory) for extensive explanations of installing, configuring
4559 and maintaining Samba 3.0 servers and clients. It is advised to
4560 begin with the Samba-HOWTO-Collection for overviews and specific
4561 tasks (the current book is up to approximately 400 pages) and to
4562 refer to the various man pages for information on individual options.
4564 We are very glad to be able to include the second edition of
4565 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4566 (O'Reilly & Associates) in this release. The book is available
4567 on-line at http://samba.org/samba/docs/ and is included with
4568 the Samba Web Administration Tool (SWAT). Thanks to the authors and
4569 publisher for making "Using Samba" under the GNU Free Documentation
4573 ######################################################################
4574 Upgrading from a previous Samba 3.0 beta
4575 ########################################
4577 Beginning with Samba 3.0.0beta3, the RID allocation functions
4578 have been moved into winbindd. Previously these were handled
4579 by each passdb backend. This means that winbindd must be running
4580 to automatically allocate RIDs for users and/or groups. Otherwise,
4581 smbd will use the 2.2 algorithm for generating new RIDs.
4583 If you are using 'passdb backend = tdbsam' with a previous Samba
4584 3.0 beta release (or possibly alpha), it may be necessary to
4585 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4586 to winbindd_idmap.tdb. To do this:
4588 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
4590 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
4592 3) run: (note that 'tdb>' is the tool's prompt for input)
4594 root# ./tdbtool /usr/local/samba/private/passdb.tdb
4595 tdb> show RID_COUNTER
4599 [000] 0A 52 00 00 .R.
4601 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
4605 If you are using 'passdb backend = ldapsam', it will be necessary to
4606 store idmap entries in the LDAP directory as well (i.e. idmap backend
4607 = ldap). Refer to the 'net idmap' command for more information on
4608 migrating SID<->UNIX id mappings from one backend to another.
4610 If the RID_COUNTER record does not exist, then these instructions are
4611 unneccessary and the new RID_COUNTER record will be correctly generated
4616 ########################
4617 Upgrading from Samba 2.2
4618 ########################
4620 This section is provided to help administrators understand the details
4621 involved with upgrading a Samba 2.2 server to Samba 3.0.
4627 Many of the options to the GNU autoconf script have been modified
4628 in the 3.0 release. The most noticeable are:
4630 * removal of --with-tdbsam (is now included by default; see section
4631 on passdb backends and authentication for more details)
4633 * --with-ldapsam is now on used to provided backward compatible
4634 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
4635 backend and authentication section for more details
4637 * inclusion of non-standard passdb modules may be enabled using
4638 --with-expsam. This includes an XML backend and a mysql backend.
4640 * removal of --with-msdfs (is now enabled by default)
4642 * removal of --with-ssl (no longer supported)
4644 * --with-utmp now defaults to 'yes' on supported systems
4646 * --with-sendfile-support is now enabled by default on supported
4653 This section contains a brief listing of changes to smb.conf options
4654 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
4655 complete descriptions of new or modified parameters.
4657 Removed Parameters (order alphabetically):
4660 * alternate permissions
4663 * code page directory
4665 * domain admin group
4666 * domain guest group
4667 * force unknown acl user
4673 * printer driver file
4674 * printer driver location
4676 * source environment
4684 New Parameters (new parameters have been grouped by function):
4688 * abort shutdown script
4691 User and Group Account Management
4692 ---------------------------------
4694 * add machine script
4695 * add user to group script
4696 * algorithmic rid base
4697 * delete group script
4698 * delete user from group script
4700 * set primary group script
4706 * passwd chat timeout
4710 * client lanman auth
4711 * client NTLMv2 auth
4717 * paranoid server security
4726 * hide special files
4727 * hide unwriteable files
4729 * kernel change notify
4739 * max reported print jobs
4741 UNICODE and Character Sets
4742 --------------------------
4748 SID to uid/gid Mappings
4749 -----------------------
4753 * winbind enable local accounts
4754 * winbind trusted domains only
4755 * template primary group
4756 * enable rid algorithm
4763 * ldap machine suffix
4765 * ldap replication sleep
4768 General Configuration
4769 ---------------------
4773 Modified Parameters (changes in behavior):
4775 * encrypt passwords (enabled by default)
4776 * mangling method (set to 'hash2' by default)
4779 * restrict anonymous (integer value)
4780 * security (new 'ads' value)
4781 * strict locking (enabled by default)
4782 * unix extensions (enabled by default)
4783 * winbind cache time (increased to 5 minutes)
4784 * winbind uid (deprecated in favor of 'idmap uid')
4785 * winbind gid (deprecated in favor of 'idmap gid')
4791 This section contains brief descriptions of any new databases
4792 introduced in Samba 3.0. Please remember to backup your existing
4793 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
4794 upgrade databases as they are opened (if necessary), but downgrading
4795 from 3.0 to 2.2 is an unsupported path.
4797 Name Description Backup?
4798 ---- ----------- -------
4799 account_policy User policy settings yes
4800 gencache Generic caching db no
4801 group_mapping Mapping table from Windows yes
4802 groups/SID to unix groups
4803 winbindd_idmap ID map table from SIDS to UNIX yes
4805 namecache Name resolution cache entries no
4806 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
4807 returned as part of a successful
4808 net_sam_logon request
4809 printing/*.tdb Cached output from 'lpq no
4810 command' created on a per print
4812 registry Read-only samba registry skeleton no
4813 that provides support for exporting
4814 various db tables via the winreg RPCs
4820 The following issues are known changes in behavior between Samba 2.2 and
4821 Samba 3.0 that may affect certain installations of Samba.
4823 1) When operating as a member of a Windows domain, Samba 2.2 would
4824 map any users authenticated by the remote DC to the 'guest account'
4825 if a uid could not be obtained via the getpwnam() call. Samba 3.0
4826 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
4827 current work around to re-establish the 2.2 behavior.
4829 2) When adding machines to a Samba 2.2 controlled domain, the
4830 'add user script' was used to create the UNIX identity of the
4831 machine trust account. Samba 3.0 introduces a new 'add machine
4832 script' that must be specified for this purpose. Samba 3.0 will
4833 not fall back to using the 'add user script' in the absence of
4834 an 'add machine script'
4837 ######################################################################
4838 Passdb Backends and Authentication
4839 ##################################
4841 There have been a few new changes that Samba administrators should be
4842 aware of when moving to Samba 3.0.
4844 1) encrypted passwords have been enabled by default in order to
4845 inter-operate better with out-of-the-box Windows client
4846 installations. This does mean that either (a) a samba account
4847 must be created for each user, or (b) 'encrypt passwords = no'
4848 must be explicitly defined in smb.conf.
4850 2) Inclusion of new 'security = ads' option for integration
4851 with an Active Directory domain using the native Windows
4852 Kerberos 5 and LDAP protocols.
4854 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
4855 type which is neccessary for servers on which the
4856 administrator password has not been changed, or kerberos-enabled
4857 SMB connections to servers that require Kerberos SMB signing.
4858 Besides this one difference, either MIT or Heimdal Kerberos
4859 distributions are usable by Samba 3.0.
4862 Samba 3.0 also includes the possibility of setting up chains
4863 of authentication methods (auth methods) and account storage
4864 backends (passdb backend). Please refer to the smb.conf(5)
4865 man page for details. While both parameters assume sane default
4866 values, it is likely that you will need to understand what the
4867 values actually mean in order to ensure Samba operates correctly.
4869 The recommended passdb backends at this time are
4871 * smbpasswd - 2.2 compatible flat file format
4872 * tdbsam - attribute rich database intended as an smbpasswd
4873 replacement for stand alone servers
4874 * ldapsam - attribute rich account storage and retrieval
4875 backend utilizing an LDAP directory.
4876 * ldapsam_compat - a 2.2 backward compatible LDAP account
4879 Certain functions of the smbpasswd(8) tool have been split between the
4880 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
4881 utility. See the respective man pages for details.
4884 ######################################################################
4888 This section outlines the new features affecting Samba / LDAP
4894 A new object class (sambaSamAccount) has been introduced to replace
4895 the old sambaAccount. This change aids us in the renaming of
4896 attributes to prevent clashes with attributes from other vendors.
4897 There is a conversion script (examples/LDAP/convertSambaAccount) to
4898 modify and LDIF file to the new schema.
4902 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
4903 $ convertSambaAccount --sid=<Domain SID> \
4904 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
4905 --changetype=[modify|add]
4907 The <DOM SID> can be obtained by running 'net getlocalsid
4908 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
4909 the format of the generated LDIF output--either create new entries
4910 or modify existing entries.
4912 The old sambaAccount schema may still be used by specifying the
4913 "ldapsam_compat" passdb backend. However, the sambaAccount and
4914 associated attributes have been moved to the historical section of
4915 the schema file and must be uncommented before use if needed.
4916 The 2.2 object class declaration for a sambaAccount has not changed
4917 in the 3.0 samba.schema file.
4919 Other new object classes and their uses include:
4921 * sambaDomain - domain information used to allocate rids
4922 for users and groups as necessary. The attributes are added
4923 in 'ldap suffix' directory entry automatically if
4924 an idmap uid/gid range has been set and the 'ldapsam'
4925 passdb backend has been selected.
4927 * sambaGroupMapping - an object representing the
4928 relationship between a posixGroup and a Windows
4929 group/SID. These entries are stored in the 'ldap
4930 group suffix' and managed by the 'net groupmap' command.
4932 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
4933 automatically and contains the next available 'idmap uid' and
4936 * sambaIdmapEntry - object storing a mapping between a
4937 SID and a UNIX uid/gid. These objects are created by the
4938 idmap_ldap module as needed.
4940 * sambaSidEntry - object representing a SID alone, as a Structural
4941 class on which to build the sambaIdmapEntry.
4944 New Suffix for Searching
4945 ------------------------
4947 The following new smb.conf parameters have been added to aid in directing
4948 certain LDAP queries when 'passdb backend = ldapsam://...' has been
4951 * ldap suffix - used to search for user and computer accounts
4952 * ldap user suffix - used to store user accounts
4953 * ldap machine suffix - used to store machine trust accounts
4954 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
4955 * ldap idmap suffix - location of sambaIdmapEntry objects
4957 If an 'ldap suffix' is defined, it will be appended to all of the
4958 remaining sub-suffix parameters. In this case, the order of the suffix
4959 listings in smb.conf is important. Always place the 'ldap suffix' first
4962 Due to a limitation in Samba's smb.conf parsing, you should not surround
4963 the DN's with quotation marks.
4969 Samba 3.0 supports an ldap backend for the idmap subsystem. The
4970 following options would inform Samba that the idmap table should be
4971 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
4976 idmap backend = ldap:ldap://onterose/
4977 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
4978 idmap uid = 40000-50000
4979 idmap gid = 40000-50000
4981 This configuration allows winbind installations on multiple servers to
4982 share a uid/gid number space, thus avoiding the interoperability problems
4983 with NFS that were present in Samba 2.2.
4987 ######################################################################
4988 Trust Relationships and a Samba Domain
4989 ######################################
4991 Samba 3.0.0beta2 is able to utilize winbindd as the means of
4992 allocating uids and gids to trusted users and groups. More
4993 information regarding Samba's support for establishing trust
4994 relationships can be found in the Samba-HOWTO-Collection included
4995 in the docs/ directory of this release.
4997 First create your Samba PDC and ensure that everything is
4998 working correctly before moving on the trusts.
5000 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5001 4.0 domain named WINDOWS:
5003 1) create the trust account for SAMBA in "User Manager for Domains"
5004 2) connect the trust from the Samba domain using
5005 'net rpc trustdom establish GLASS'
5007 To create a trustlationship with SAMBA as the trusted domain:
5009 1) create the initial trust account for GLASS using
5010 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5011 account for GLASS$ prior to this step (depending on your
5012 local configuration).
5013 2) connect the trust from a WINDOWS DC using "User Manager
5016 Now join winbindd on the Samba PDC to the SAMBA domain using
5017 the normal steps for adding a Samba server to an NT4 domain:
5018 (note that smbd & nmbd must be running at this point)
5020 root# net rpc join -U root
5021 Password: <enter root password from smbpasswd file here>
5023 Start winbindd and test the join with 'wbinfo -t'.
5025 Now test the trust relationship by connecting to the SAMBA DC
5026 (e.g. POGO) as a user from the WINDOWS domain:
5028 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5031 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5033 $ smbclient //crystal/netlogon -U root -W WINDOWS
5036 ######################################################################
5040 Beginning with Samba3.0.0beta3, winbindd has been given new account
5041 manage functionality equivalent to the 'add user script' family of
5042 smb.conf parameters. The idmap design has also been changed to
5043 centralize control of foreign SID lookups and matching to UNIX
5047 Brief Description of Changes
5048 ----------------------------
5050 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5051 reverted to the 2.2.x design. This means that when resolving a
5052 SID to a UID or similar mapping:
5054 a) First consult winbindd
5055 b) perform a local lookup only if winbindd fails to
5056 return a successful answer
5058 There are some variations to this, but these two rules generally
5061 2) All idmap lookups have been moved into winbindd. This means that
5062 a server must run winbindd (and support NSS) in order to achieve
5063 any mappings of SID to dynamically allocated UNIX ids. This was
5064 a conscious design choice.
5066 3) (OBSOLETE) New functions have been added to winbindd to emulate
5067 the 'add user script' family of smbd functions without requiring
5068 that external scripts be defined. This functionality is controlled
5069 by the 'winbind enable local accounts' smb.conf parameter (enabled
5072 However, this account management functionality is only supported
5073 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5074 must be shared among multiple Samba servers (such as a PDC and BDCs),
5075 it will be necessary to define your own 'add user script', et. al.
5076 programs that place the accounts/groups in some form of directory
5077 such as NIS or LDAP. This requirement was deemed beyond the scope
5078 of winbind's account management functions. Solutions for
5079 distributing UNIX system information have been deployed and tested
5080 for many years. We saw no need to reinvent the wheel.
5082 4) A member of a Samba controlled domain running winbindd is now able
5083 to map domain users directly onto existing UNIX accounts while still
5084 automatically creating accounts for trusted users and groups. This
5085 behavior is controlled by the 'winbind trusted domains only' smb.conf
5086 parameter (disabled by default to provide 2.2.x winbind behavior).
5088 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5089 in smbd/uid.c. The reason that group mappings are not included
5090 in winbindd is because the purpose of Samba's group map is to
5091 match any Windows SID with an existing UNIX group. These UNIX
5092 groups can be created by winbindd (see next section), but the
5093 SID<->gid mapping is retreived by smbd, not winbindd.
5099 * security = server running winbindd to allocate accounts on demand
5101 * Samba PDC running winbindd to handle the automatic creation of UNIX
5102 identities for machine trust accounts
5104 * Automtically creating UNIX user and groups when migrating a Windows NT
5105 4.0 PDC to a Samba PDC. Winbindd must be running when executing
5106 'net rpc vampire' for this to work.
5109 ######################################################################
5113 * There are several bugs currently logged against the 3.0 codebase
5114 that affect the use of NT 4.0 GUI domain management tools when run
5115 against a Samba 3.0 PDC. This bugs should be released in an early
5118 Please refer to https://bugzilla.samba.org/ for a current list of bugs
5119 filed against the Samba 3.0 codebase.
5122 ######################################################################
5123 Reporting bugs & Development Discussion
5124 #######################################
5126 Please discuss this release on the samba-technical mailing list or by
5127 joining the #samba-technical IRC channel on irc.freenode.net.
5129 If you do report problems then please try to send high quality
5130 feedback. If you don't provide vital information to help us track down
5131 the problem then you will probably be ignored.
5133 A new bugzilla installation has been established to help support the
5134 Samba 3.0 community of users. This server, located at
5135 https://bugzilla.samba.org/, has replaced the older jitterbug server
5136 previously located at http://bugs.samba.org/.