1 =================================
2 Release Notes for Samba 3.0.20rc3
4 ==================================
6 This is the second release candidate of the 3.0.20 code base
7 and is provided for testing purposes only. While close to
8 the final stable release this snapshot is *not* intended for
9 production servers. If all goes well, this could become the
12 Common bugs fixed in 3.0.20rc2 include:
14 o Crash bugs in the client spoolss code.
15 o Authentication failures caused by unsupported mechanisms.
16 o Failures from common MS management tools such as User
17 Manager, Print Migrator, and Server Manager.
20 What happened to 3.0.15 - 3.0.19?
21 ==================================
23 After some discussion it was deemed that the amount of changes
24 going into the next Samba 3.0 release needed something to catch
25 people's attention. Skipping several releases was chosen as
26 the best solution with the least overhead. There will be no
27 3.0.15 - 3.0.19 ever released. The next production release
28 following 3.0.20 should be 3.0.21.
30 The original announcement about the version number change can
31 be found in the samba mailing list archives:
33 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
37 ######################################################################
41 Changes since 3.0.20rc2
42 ------------------------
47 o Jeremy Allison <jra@samba.org>
48 * Fix minor compiler warnings in printing/printing.c.
49 * Merge new DOS error code from SAMBA_4.
50 * Fix issue when non-English characters in filenames and
52 * Fix bogus error message in smbstatus about unknown share modes.
55 o Gerald (Jerry) Carter <jerry@samba.org>
56 * Fix error in EnumPrinterData() reported by valgrind.
57 * Fix broken help links in SWAT editor caused by new doc layout.
58 * Ensure that a domain structure in winbind is initialized prior
59 to assiging the methods for communicating to a DC.
60 * BUG 3000: Remove background updates of winbind cache and allow
61 child processes to immediately update and expired cache entry.
64 o Guenther Deschner <gd@samba.org>
65 * Allow admins to uncheck the "User must change Password at
66 next Logon" checkbox in Usermanager (merge from trunk).
69 o Steve French <sfrench@us.ibm.com>
70 * Fix minor compiler warnings in the mount.cifs helper.
73 o John Janosik <jpjanosi@us.ibm.com>
74 * BUG 2976: Mark logons for unknown domains with a
75 non-authoritative response.
78 o Marcel <samba.10.maazl@spamgourmet.com>
79 * Fix regression in OS/2 trans2 open code.
82 o Jim McDonough <jmcd@us.ibm.com>
83 * BUG 2953: Additional fixes for domain trusts. Also clears
84 up the "bad stub" error when attempting to logon to a Samba
85 domain with a bad username.
88 o Luke Mewburn <lukem@NetBSD.org>
89 * Compiler warning fixes.
92 o James Peach <jpeach@sgi.com>
93 * BUG 2314: Fix const compiler warnings in the quota code.
96 o Ed Plese <ed@edplese.com>
97 * Fix faulty logic which caused winbindd to return failure
98 when a user passessed no supplementary groups.
102 Release Notes for older release follow:
104 --------------------------------------------------
105 =================================
106 Release Notes for Samba 3.0.20rc2
108 ==================================
110 Common bugs fixed in 3.0.20rc2 include:
112 o Crash bugs in the client spoolss code.
113 o Authentication failures caused by unsupported mechanisms.
114 o Failures from common MS management tools such as User
115 Manager, Print Migrator, and Server Manager.
118 ######################################################################
122 Changes since 3.0.20rc1
123 ------------------------
129 o Jeremy Allison <jra@samba.org>
130 * Refactor rpc_bind structures for better future work.
131 * BUG 2942: Add missing value in debug message.
132 * BUG 2946: Fix regressions in str[n]cmp_w) functions found
133 by 'mangling method = hash'.
134 * Fix memory leaks in the msdfs trans2 server code.
135 * Convert msdfs server to be talloc'd based.
136 * Fix up stackable vfs interface.
137 * Fix rpc fault when encountering an unknown rpc_bind auth
139 * BUG 2954: More AIX 5.1 AIO compile fixes.
140 * Fix valgrind bug in interaction with new aio buffer (found
144 o Andrew Bartlett <abartlet@samba.org>
145 * Support raw NTLMSSP authentication for Windows Vista
149 o Gerald (Jerry) Carter <jerry@samba.org>
150 * Fix bugs in client spoolss code after refactoring work.
151 * Fix Valgrind warnings of invalid reads in the spoolss
153 * Fixed a segv when enumerating services on a Samba host.
154 * Fix segv in the service control server code.
155 * Fix crashes in client spoolss calls caused by not checking
156 for a valid pointer from the caller.
157 * Fix regression in DeleteDriver() server routines.
158 * Fix dup_a_regval() when size is 0.
159 * Fix usrmgr.exe crash when viewing user properties at
161 * Do not enumerate any privileges when 'enable privileges = no'
162 and log a message if a client tries.
165 o Guenther Deschner <gd@samba.org>
166 * Allow use of a non-default smb.conf by rpcclient.
167 * Fix querydispinfo search semantics in rpcclient test code.
168 * Fix querydispinfo server semantics to allow to list more
170 * Fix server crash bug in ancient OpenPrinter() call.
171 * Fix a crash bug when enumerating privileges via the LSA
173 * Fix crash in EnumPrinterKey() client calls caused by previous
177 o William Jojo <jojowil@hvcc.edu>
181 o Volker Lendecke <vl@samba.org>
182 * Fix various compiler warnings.
183 * Add chain length statistics to tdbtool.
186 o Jason Mader <jason@ncac.gwu.edu>
187 * Various compiler warning fixes about mistyped variables.
190 o Jim McDonough <jmcd@us.ibm.com>
191 * BUG 2953: Prevent the credentials chain on DC gets out
192 of sync with client when NT_STATUS_NO_USER is returned.
195 o Lars Müller <lmuelle@samba.org>
196 * Re-enable the VERSION_REVISION option in case of another
200 o Tim Potter <tpot@samba.org>
201 * BUG 2940, 2943: Fixed various compiler warnings regarding
202 mismatched types and unused variables.
203 * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
204 * BUG 2733: Fix incorrect SHLIBEXT is set when running
205 configure script on HPUX IA.
208 o Fernando Schapachnik <fernando@mecon.gov.ar>
209 * Add logon hours support for the Postgres backend.
212 o Jelmer Vernooij <jelmer@samba.org>
213 * Merge socket wrapper fixes for IRIX systems from the
216 --------------------------------------------------
217 =================================
218 Release Notes for Samba 3.0.20rc1
220 ==================================
222 Common bugs fixed in 3.0.20rc1 include:
224 o Print server upgrade failures.
225 o OS/2 interoperability bugs.
226 o Winbindd crashes on Solaris Sparc.
227 o Interoperability problems with Win2003-SP1 & Win2000-SP4.SR1.
230 ######################################################################
234 Changes since 3.0.20pre2
235 ------------------------
237 Parameter Name Action
238 -------------- ------
239 acl group control New
240 min password length Removed
241 username map script New
247 o Jeremy Allison <jra@samba.org>
248 * BUG 2878: Fix Norton commander not running on OS/2 clients.
249 * Cleanup SAMR user info structure naming.
250 * BUG 2889: Fix directly listings from OS/2 clients.
251 * Added "acl group control" parameter.
252 * Add debug warning if AddPrinterEx() is called without having
253 an 'add printer command' defined.
254 * Add better log messages when modifying ldap entries.
255 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
256 when string is unaligned.
257 * BUG 2918: Fix SMB chaining by ensuring that deferred open
258 message buffer is nor reused.
261 o Timur Bakeyev <timur@com.bat.ru>
262 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
263 * BUG 2908: Fix string length logic error in msdfs code.
264 * BUG 2909: Fix typo that caused smbd to call the wrong
268 o Andrew Bartlett <abartlet@samba.org>
269 * Fix parallel NTLMSSP processing by removing global state.
272 o Gerald (Jerry) Carter <jerry@samba.org>
273 * BUG 2872: Fix cut-n-paste error when checking pointer value
274 in ntlmssp_set_workstation().
275 * Fix upgrade path from earlier nt*tdb files.
276 * Removed print handle object cache.
277 * BUG 2853: Don't strip out characters like '$' from printer
278 names when substituting for the lpq command.
279 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
280 * Fix build issues on x86_64-linux systems caused by valgrind
281 headers. Thanks to Bent Vangli to the suggestions.
282 * Refactor spoolss client calls.
283 * Adding 'username map script'.
284 * Disable schannel on the LSA and SAMR pipes in winbindd client
285 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
288 o Guenther Deschner <gd@samba.org>
289 * Various compiler warning fixes.
290 * Fix segfault in the client AddPrinterEx-call of 'net
292 * Fix build issues when --with-aio-support is enabled.
293 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
294 * Honour the CC environment variable in python build.
295 * Fix searches in pdb_ldap for inter-domain trust accounts.
296 * Don't expand the %L in %LOGONSERVER% from user attributes.
297 * Fix bug in 'net rpc vampire' that caused accounts to be created
298 with no assigned ACB flags.
299 * Fix enumeration of builtin-aliases.
300 * Avoid unset rids for builtin-aliases.
303 o John Janosik <jpjanosi@us.ibm.com>
304 * BUG 2077: Correctly fill in the correct server name when
305 processing trusted domain logins.
308 o Volker Lendecke <vl@samba.org>
309 * Fix set afs ACL calls on files and directories in the root of
311 * Refactoring work on internal open code
312 * Correctly initialize the version in a new set of nt*tdb files.
313 * Remove smb_run_idle_events() from main process loop in smbd
314 and instead rely upon the timeout processing to handle
315 dropping idle LDAP connections.
318 o Jason Mader <jason@ncac.gwu.edu>
319 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
323 o Kalim Moghul <kalim@samba.org>
324 * Removed unused printmode command from smbclient.
327 o Lars Müller <lmuelle@samba.org>
328 * Fix spoolss python bindings after C++ compiler changes and
330 * BUG 2659: Don't trump on memory in smbtorture.
331 * BUG 2060: Add -fPIC which is the case for all other Samba
335 o Marcel Müller <mueller@maazl.de>
336 * Ensure we correctly set the return packet size to include the
337 pad bytes in reply_readbmpx().
340 o James Peach <jpeach@sgi.com>
341 * BUG 2285: Patch for hires timestamps and efficient notify code.
344 o Tim Potter <tpot@samba.org>
345 * Remove unused autoconf #define's.
346 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
347 * Removed unused function declarations in tdb.h.
348 * BUG 2895: Don't wrap non-existent functions in the python
352 o Smitty <smitty@plainjoe.org>
353 * Compile fixes for smbget when using --enable-developer.
356 o Simo Sorce <idra@samba.org>
357 * Fix memory issues issues in vfstest (reported by Rainer Link).
360 o Andrew Tridgell <tridge@samba.org>
361 * Merge socket wrapper library fixes from Samba 4.
365 Release Notes for older release follow:
367 --------------------------------------------------
368 ==================================
369 Release Notes for Samba 3.0.20pre2
371 ==================================
373 Additional features introduced in Samba 3.0.20pre2 include:
375 o Experimental, asynchronous IO file serving support.
376 o Completed Support for Microsoft Print Migrator.
377 o New Winbind IDmap plugin (ad) for retrieving uid and gid
378 from AD servers which maintain the SFU user and group
380 o Rewritten support for POSIX pathnames when utilizing
381 the Linux CIFS fs client.
384 What happened to 3.0.15 - 3.0.19?
385 ==================================
387 After some discussion it was deemed that the amount of changes
388 going into the next Samba 3.0 release needed something to catch
389 people's attention. Skipping several releases was chosen as
390 the best solution with the least overhead. There will be no
391 3.0.15 - 3.0.19 ever released. The next production release
392 following 3.0.20 should be 3.0.21.
394 The original announcement about the version number change can
395 be found in the samba mailing list archives:
397 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
400 Support for Microsoft Print Migrator
401 ====================================
403 Samba 3.0.20pre2 includes full support for migrating printers from
404 Windows servers or other Samba servers via the Microsoft Print
405 Migrator tool. Restoring printers requires a working "add printer
406 command" defined in smb.conf. Current; support also allows
407 administrators to create a master list of printer drivers which
408 can be restored in bulk on new (or existing) Samba installations.
411 Asynchronous IO Support
412 =======================
414 Experimental support for async IO has been added to smbd for
415 certain platforms. To enable this new feature, Samba must be
416 compiled to include the --with-aio-support configure option.
417 In addition, the "aio read size" and "aio write size" to non-zero
418 values. See the smb,conf(5) man page for more details on these
422 ######################################################################
426 Changes since 3.0.20pre1
427 ------------------------
429 Parameter Name Action
430 -------------- ------
431 acl map full control New
434 winbindd nss info New
440 o Jeremy Allison <jra@samba.org>
441 * Add support for client setting capabilities to select posix
442 pathnames on the wire.
443 * Stop using C++ reserved words so that Samba can be compiled
444 using g++. Also allows VFS modules in C++.
445 * More fixes to allow better large directory scaling.
446 * BUG 2827: Ensure we call the vfs connection hook before
447 doing a vfs stat. Allows database vfs backends to initialize
448 with a working connection.
449 * BUG 2826: Ensure the correct return value for symlink and
451 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
452 * Added AIO support to smbd.
453 * Add "acl map full control", true by default, to allow people
454 to change mapping of rwx to full control or not.
455 * Transition smbd to use NTcreate&X for internal file opens.
458 o David.Collier-Brown <David.Collier-Brown@sun.com>
459 * Added panic action script for Solaris.
462 o Gerald (Jerry) Carter <jerry@samba.org>
463 * Cleanup of winreg API functions.
464 * Add server stubs for RegSetKeySec() and RegGetKeySec().
465 * Map generic bits to specific bits in reg_open_entry()
467 * Add write support to registry tdb and printing backends.
468 * Use tdb lookups rather than hard-coding certain registry
469 value names and data.
470 * BUG 2808: don't try to install man pages if they are not
472 * Fix initialized variables reported by valgrind.
473 * Normalize key lookups in ntprinters.tdb.
474 * Mark "enumports command" as deprecated.
475 * Add missing class file for python share command example.
476 * Fix smbclient build issue on Solaris.
479 o Guenther Deschner <gd@samba.org>
480 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
481 * More "net rpc share migrate" fixes.
482 * Merge PADL's idmap_ad plugin (taken from the latest
483 xad_oss_plugins-tarball).
484 * Add support for "idmap backend = ad" when "security = ads".
485 * Add home directory and shell support from AD via "winbindd nss
486 support = sfu" and "security = ads".
487 * Provide better feedback when we fail share-manipulation
488 due to missing scripts.
489 * Correctly substitute "\" as default winbind separator in
490 generate_parm_table.py example share command script.
493 o Björn Jacke <bj@sernet.de>
494 * Added ioctl constants reported by msbackup.exe and filemon.exe.
497 o Kevin Jamieson <bugzilla@kevinjamieson.com>
498 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
501 o Volker Lendecke <vl@samba.org>
502 * Fix the bug where users show up as trusting domains.
503 * Fix an assertion failure in winbindd.
504 * Fix a memleak in vfs_afsacl.
505 * Various compiler warning fixes.
506 * Fix compile when --enable-socket-wrapper is defined.
507 * Fixes for top level acls in vfs_acl.c.
510 o Jim McDonough <jmcd@us.ibm.com>
511 * Added subcommands to "net rpc vampire" (mostly done by Don
512 Watson <dwatson@us.ibm.com>) to allow data to be put into an
513 ldif file instead of actually writing to the passdb.
516 o Lars Mueller <lmuelle@samba.org>
517 * Fix argv parsing in "net rpc".
518 * Add support to create position independent executable (PIE)
519 code if the compiler supports it.
522 o Marcel Müller <mueller@maazl.de>
523 * Fix for bug in SMBwriteBraw that incorrectly returned the
524 number of bytes written.
527 o Ricky Nance <ricky.nance@gmail.com>
528 * Implemented mklogon script generator for domain logon scripts.
531 o James Peach <jpeach@sgi.com>
532 * MS-DFS tidyup patches.
533 * Build fixes on IRIX.
536 o Marcin Porwit <mporwit@centeris.com>
537 * Fix a memleak in the eventlog code.
540 o Smitty <smitty@plainjoe.org>
541 * Include LUID values to match Windows privileges since
542 apparently this matters to printmig.exe
545 o Simo Sorce <idra@samba.org>
546 * Randomize reloading as to not overload cupsd.
549 o Brett Trotter <blt@iastate.edu>
550 * Fix definition of global_sid_* in vfs_acl.c.
554 --------------------------------------------------
555 ==================================
556 Release Notes for Samba 3.0.20pre1
558 ==================================
560 Additional features introduced in Samba 3.0.20pre1 include:
562 o New asynchronous winbindd.
563 o Support for Microsoft Print Migrator.
564 o New Windows NT registry file I/O library.
565 o New user right (SeTakeOwnershipPrivilege) added.
566 o New "net share migrate" options.
569 Asynchronous Winbind Implementation
570 ===================================
572 Winbindd has been completely rewritten in this release to support
573 an almost completely non-blocking, asynchronous request/reply
574 model. This means that winbindd will scale much better in
575 large domain environments and on high latency networks. Neither
576 the client interface nor the command line tools (i.e. wbinfo) have
577 changed in their calling conventions or syntax. However, due to
578 internal structure changes, it is required (more so than normal)
579 that you install the nss_winbind.so library included in this release.
583 ######################################################################
587 Changes since 3.0.15pre2
588 ------------------------
590 Parameter Name Action
591 -------------- ------
592 acl check permissions New
593 enable asu support New
595 map to guest Modified (new value added)
596 printer admin Deprecated
597 winbind enable local accounts Removed
603 o Jeremy Allison <jra@samba.org>
604 * Add checks against the current effective group id (e.g. force
605 user) when testing write permissions one ACLs.
606 * Fix FindFirst/FindNext server code when parsing directories
607 on old IRIX XFS file systems (thanks to Cale Fairchild
608 for the debugging help).
609 * BUG 2644: Test for special files to be ignored was reversed.
610 * Ensure yield_connection() is called on all appropriate error
612 * Fix EDEADLCK problem with deferred open calls.
613 * BUG 2622: Remove DPTR_MASK as it makes no sense.
614 * Fix the write cache based on some VERY good detective work
616 * BUG 2346: Fix read-only excel file bugs.
617 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
618 return ENOSYS if not implemented.
619 * Add new CAP for POSIX pathnames.
620 * BUG 2703: Add NULL guard for disp_fields[0].
621 * BUG 2681: With "strict allocate = yes" we now zero fill when
622 a file is extended. Should catch disk full errors on write
624 * Add "acl check permissions" to turn on/off the new
625 behavior of checking for write access in a directory
627 * Refactor printing interface to take offset into job.
628 * Allow mapping of POSIX ACLs to NT perms to differentiate
629 between directories and files.
630 * Added encrypt/decrypt function for LSA secrets and trusted
631 domain passwords on the wire.
632 * BUG 2729: Resume keys are *mandatory* for a search when
633 listing a W2K and above server from a FATxx filesystem only.
634 * BUG 2735: Ensure that smbd mangles control characters in file
636 * Refactor small pieces of socket handling code (in conjunction
638 * BUG 2698: Fix infinite listing loop in smbclient caused by
639 an invalid character set conversion.
640 * Add client code that will abort a directory listing if we
641 see the same name twice between packets.
642 * Performance improvements in trans2 qfilepathinfo code by
643 removing unnecessary memset() calls.
644 * Rewrite the RPC bind parsing functions to follow the
645 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
646 * BUG 2774: Set sparse flag if needed when returning
648 * Fix errors listing directories from Windows NT clients
649 which caused "." and ".." to show up in explorer.exe.
650 * Merge of error code fixes from SAMBA_4_0 branch.
651 * BUG 2801: Fix regression in the "delete veto files" option.
652 * Fix based on work from Shlomi Yaakobovich to catch loops
653 in corrupted tdb files.
654 * Allow someone with SeTakeOwnershipPrivilege to chown the
655 user of a file to herself.
658 o Andrew Bartlett <abartlet@samba.org>
659 * BUG 2684: Add per service hosts allow/deny checks for
660 printers when connecting via MS-RPC.
661 * BUG 2391: Fix segv caused by free a static pointer returned
663 * Support kerberos authentication in smbd when using a keytab
664 and participating in a non-Microsoft Kerberos realm.
667 o Ed Boraas <ed.boraas@concordia.ab.ca>.
668 * Added Linux per-socket TCP settings.
671 o Gerald (Jerry) Carter <jerry@samba.org>
672 * BUG 2626: ensure that the calling_name is set to something
673 after parsing smb.conf (if not set via -n).
674 * Use "add machine script" when creating a user (ACB_NORMAL)
675 who has a name ending in '$' (e.g. usrmgr.exe creating
676 domain trust accounts).
677 * Add 'rid' synonym for idmap_rid IDMap module.
678 * Ensure that we set full access on the handle returned
679 from _samr_create_dom_{alias,group}() so that future
680 set_{alias,group}() commands succeed.
681 * Fix bug when looking for internal domains in winbindd
682 (caused winbindd_getgrgid() for local groups to fail).
683 * Fix query and set alias info calls (level 1 from the MMC
684 manage computer plug-in.
685 * Remove bogus log messages about unknown specversions.
686 * BUG 2680: copy files from an MS-DFS win2k root share
687 * BUG 2688: re-implement support for the -P (--port) option
688 * Support connecting to an 'msdfs proxy' share on a Samba
690 * Strip the directory path from cups command line printing
692 * Fix bug that prevented smbclient from creating directories
694 * Deprecate the "printer admin" parameter in favor of the
695 SePrintOperatorPrivilege.
696 * Add the capability to read and write WinNT regf registry
698 * Implement access checks for RegOpenXXX() server calls.
699 * Extend registry client rpc calls.
700 * Add "net rpc registry" set of commands.
701 * Remove testprns tool.
702 * Ensure that printer ACLs use the specific bits as well as
703 the generic bits. Upgrade existing ntprinters.tdb SECDESC
705 * Add server support for RegSaveKey() for dumping registry
706 trees to a regf file.
707 * Add "enable asu support" smb.conf parameter.
708 * Merge various small file changes from trunk.
709 * Remove "winbind enable local accounts" support.
710 * Remove "ldap filter" smb.conf option.
711 * Remove editreg utility (needs to be rewritten using regfio.c).
712 * Fix build failure when running 'make torture' without first
713 running 'make all' first.
714 * BUG 1261: Remove unusable libbiconv from iconv detection
716 * Add new option for "map to guest". "Bad Uid" re-enables the
717 Samba 2.2 behavior of mapping authenticated users to the
718 guest account if there does not exist a valid Unix account
719 for the Windows domain user (based on patch from
720 aruna.prabakar@hp.com).
721 * Fix a couple of regressions after introduction of new winbindd.
722 * Fix smbpasswd user password change (still worked by bad error
723 messages) due to trying to strdup a NULL pointer.
724 * Implement default security descriptors for the
725 OpenService[Manager]() calls and check requested access mask
727 * Include access checks on handle mask for \svcctl operations
728 such as ControlService() and StartService().
729 * Implement simulated start and stop service control for
730 the spooler service as a per smbd service state value.
731 * Add interface structure for controlling service via rc.init
732 scripts (incomplete).
733 * Convert move_driver_to_download_area() to use copy_file()
734 rather than moving the files.
735 * Add version number to registry.tdb file since it can be
737 * Remove over-paranoid assert() call when checking spoolss
741 o <core@road-star.jp>
742 * BUG 2792: Ensure the shadow copy module hooks seekdir,
743 telldir, rewinddir to match updated large directory code.
746 o Guenther Deschner <gd@samba.org>
747 * Document pam_winbind.c to clarify the working status of
748 require-membership-of option.
749 * Added client-support for various lsa_query_trust_dom_info()
750 calls and a rpcclient-tester for some info-levels.
751 * Add "net rpc trustdom vampire" tool (in conjunction with
753 * Add missing cli_srvsvc_net_share_set_info-function and
754 rpcclient-testers (in preparation for net share acl migration).
755 * Print trusted domain passwords returned via rpcclient in
757 * Error code fixes when attempting to manipulating
759 * Cleanup "net share migrate" code.
760 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
764 o Renaud Duhaut <rd@duhaut.com>
765 * BUG 1040: Add directory_mode parameter when creating recycle
769 o Steven Edwards <steven_ed4153@yahoo.com>.
770 * Use chsize() if we don't have ftruncate().
773 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
774 * BUG 1780: Add kerberos (file based ticket cache) support
778 o Steve French <sfrench@us.ibm.com>
779 * Add missing error code mappings when a client unsuccessfully
780 tries to create a hard-link.
781 * Add support so umount.cifs can update mtab.
782 * Add two newer mount options to syntax help for mount.cifs.
783 * Add missing remount flag handling.
784 * Allow domain= to be specified in credentials file.
785 * Fix umount.cifs help, allow root to unmount someone else's
787 * Lock mtab when updating it during umount.cifs, also delete
788 only one matching entry at a time.
791 o Deryck Hodge <deryck@samba.org>
792 * BUG 2137: Encode quotes for display in HTML (original patch
796 o Olaf Imig <Olaf.Imig@bifab.de>
797 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
799 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
802 o Volker Lendecke <vl@samba.org>
803 * Refactor passdb interface functions.
804 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
805 * Correct 2 segv's in "net rpc printer migrate".
806 * Return correct group type from smbd for BUILTIN groups.
807 * Backport the talloc() layer from Samba 4.
808 * BUG 2701: Fix segv in ldap reconnection code.
809 * BUG 2705: Fix segv when connecting from usrmgr.exe.
810 * Use the SID in the user token for the %s expansion in 'afs
812 * Memory leak fixes in passdb code.
813 * BUG 2720: Fixes for "net usersidlist".
814 * BUG 2725: Fix segv in "net ads user".
815 * Only allow schannel connections if a successful Auth2
816 has been previously performed.
817 * Don't look at gencache.tdb for the trusted domains if
819 * Rewrite winbindd using an asynchronous process model.
822 o Herb Lewis <herb@samba.org>
823 * Adding robustness checks for tdbdump and tdbtool.
824 * Extend tdb command line parsing to arbitrary hex characters.
825 * Add LOCKING debug class.
826 * Fix more compiler warnings.
829 o Derrell Lipman <derrell@samba.org>
830 * BUG 2564: Ensure correct errno when smbc_opendir() was called
831 with a file rather than a directory.
832 * Correct deprecated lvalue casts in testsuite/libsmbclient.
833 * BUG 2663. cli_getattrE() and cli_setattrE() were not
834 formatting or parsing the timestamp values correctly.
835 * Correctly detect AF_LOCAL support in configure.
836 * Fix problem updating file times on Windows 98 hosts using
838 * Fix compile breakage on Solaris by eliminating the use of
839 ctime_r() in libsmbclient DEBUG statement.
842 o Jason Mader <jason@ncac.gwu.edu>
843 * BUG 2527, 2538: Removed unused variables.
846 o Jim McDonough <jmcd@us.ibm.com>
847 * BUG 2736: Add retries to workaround winbind race condition
848 with detecting idle clients.
851 o Lars Mueller <lmuelle@samba.org>
852 * BUG 2767: Add new options to testparm (--show-all-parameters,
853 --parameter-name, and --section-name).
854 * Fix net share migrate files to also migrate the ACLs of
855 the top level dir of a share.
858 o James Peach <jpeach@sgi.com>
859 * IRIX compiler warning fixes.
860 * BUG 2596: Fix become_root link issues and one IRIX stack
862 * Fix for null pointer ACL free.
865 o Marcin Porwit <mporwit@centeris.com>
866 * Miscellaneous fixes for Samba's experimental event log support.
867 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
871 o Tim Potter <tpot@samba.org>
872 * BUG 2623, 2630: $< and $* are not valid in explicit rules
874 * BUG 2560: Fix compile error lurking where PATH_MAX is not
876 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
877 * BUG 2611: Add fflush(stdout) after displaying username prompt
878 in smbsh if username not specified on command line.
879 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
880 * BUG 2808: Update install swat message to reflect the fact
881 that swat/README no longer exists.
884 o Denis Sbragion <d.sbragion@infotecna.it>
885 * BUG 2196: Allow absolute path (system wide) recycle bin.
888 o Fernando Schapachnik <fernando@mecon.gov.ar>
889 * Add logon hours support for the Postgres backend.
892 o Richard Sharpe <rsharpe@samba.org>
893 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
896 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
897 * BUG 2362: Quota support fix for DragonFly.
898 * Fix dragonfly detection in configure.
901 o John Terpstra <jht@samba.org>
902 * Solaris packaging fixes.
903 * Clean up usage help text in "net rpc user"
906 o Jelmer Vernooij <jelmer@samba.org>
907 * Add socket_wrapper library to 3.0. Can be enabled by passing
908 --enable-socket-wrapper to configure.
909 * Fix build of the various sql pdb backends after new talloc.
912 o Qiao Yang <qyang@stbernard.com>
913 * Use our own DC when getting the SID for a domain.
916 --------------------------------------------------
917 ==================================
918 Release Notes for Samba 3.0.15pre2
920 ==================================
922 Additional features introduced in Samba 3.0.15pre2 include:
924 o Support for several new Win32 rpc pipes.
925 o Improved support for OS/2 clients.
926 o New 'net rpc service' tool for managing Win32 services.
927 o Capability to set the owner on new files and directory
928 based on the parent's ownership.
931 ######################################################################
935 Changes since 3.0.14a
936 ---------------------
938 Parameter Name Action
939 -------------- ------
941 max stat cache size New
946 o Jeremy Allison <jra@samba.org>
947 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
948 * Ensure the old SMB search calls always ask mask_match() to
949 translate patterns like ????????.???.
950 * Split out the check_path_syntax() into a findfirst, findnext,
952 * Fix checks for matching groups in an file ACL against the
953 user's primary and supplementary group list.
954 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
955 LANMAN2 protocol, ensure the EA size is always correctly
956 set on a query for a file with no EA's.
957 * BUG 2551: Look at the incoming flags2 flag
958 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
959 uppercased on a SMBsearch request, not the protocol level.
960 * Added "volume" command to smbclient that prints out the
961 volume name and serial number.
962 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
963 * Add support for OS/2 Extended Attributes.
964 * Correctly check OpenX open modes.
965 * Ensure allocation size is correctly returned for OpenX.
966 * Only set allocation on create/truncate for nttrans.
967 * Fix oplock bug in trans2open() code.
968 * Remove unix_ERR_XXX global nastiness.
969 * Only do the strange DOS error for openX, not trans2open.
970 * Ensure SMBopen replies includes the share modes as well as
972 * BUG 2581: Add size limit (in kb) to stat cache.
973 * Fix bug in the trans2 secondary processing.
974 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
975 * Add an SMB counter per connection struct for gathering
977 * BUG 2605: Ensure smbclient doesn't perform commands if
978 the "chdir" fails in a scripted set.
979 * Ensure a 'forced group' is added to the list of effective
980 gids when processing ACLs.
983 o Timur Bakeyev <timur@com.bat.ru>
984 * BUG 2546: Add support for FreeBSD EA API
987 o Gerald (Jerry) Carter <jerry@samba.org>
988 * Added support for \svcctl pipe rpcs.
989 * Added 'net rpc service' subcommand for managing Win32
991 * Refactoring work on the rpc [un]marshalling layer and
993 * Verify privilege name in 'net rpc rights privileges' in
994 order to provide better error messages.
995 * Cleanup rpc structures in rpc_spoolss.h.
996 * Cleanups and fixes for the \winreg server code.
997 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
1000 o Jeremy Cooper <jeremy@ncircle.com>
1001 * Added support for several new \winreg client rpcs.
1004 o Guenther Deschner <gd@samba.org>
1005 * Close handles on group creation in rpcclient to better
1006 support mass group account creation.
1007 * Fix account policy key lookup for minimum and maximum
1009 * Fix some compiler warnings and add missing exclude-block
1010 in 'net rpc share migrate'.
1013 o Steve French <sfrench@us.ibm.com>
1014 * Update list of mount options for mount.cifs.
1015 * Add more defines for POSIX extensions to match the newly
1016 added client implementation.
1017 * Add initial support for cifs umount utility.
1018 * Fix cifs mounts to handle commas embedded in prompted
1019 password, and password and credential files.
1020 * Fix cifs mounts to handle domain name and user name in
1021 username field (in form domain\user).
1024 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1025 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
1029 o Tom Lackemann <cessnatomny@yahoo.com>
1030 * BUG 2242: Patch to ensure that we only set the security
1031 descriptor on an NTtransact create if we created the file.
1034 o Volker Lendecke <vl@samba.org>
1035 * Port some of the non-critical changes from HEAD to 3_0.
1036 The main one is the change in pdb_enum_alias_memberships
1037 to match samr.idl a bit closer.
1038 * Close handles on user creation in rpcclient to better
1039 support mass user account creation.
1040 * Implement client RAP calls for enumusers/enumgroups level 0.
1041 * Implement a new caching API for enumerating the pdb elements.
1042 * Convert the RAP user and group enumeration functions to the
1043 utilized the pdb_search API.
1044 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
1045 RestrictAnonymous environments.
1046 * Internal passdb API changes for better search capabilities
1047 (based on original work by Guenther Deschner).
1050 o Herb Lewis <herb@samba.org>
1051 * Compiler warning cleanups.
1052 * smbwrapper Makefile and compile time check cleanups.
1055 o Derrell Lipman <derrell@samba.org>
1056 * add support for opening a file for write with O_APPEND
1058 * Added smbsh/smbwrapper for Linux to example/libsmbclient
1060 * Fix smbc_stat() from returning incorrect timestamps IFF
1061 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
1062 and not if it used cli-getatr() to retrieve the timestamps
1064 * Fix handful of compiler warnings.
1065 * BUG 2498, 2484: smbc_getxattr() fixes.
1066 * BUG 1133: Added provision for overloading some global
1067 configuration options via the new, per-user file
1068 ~/.smb/smb.conf.append.
1069 * BUG 2543: Properly cache anonymous username when reverting
1070 to anonymous login, in libsmbclient.
1071 * BUG 2505: Fix large file support in libsmbclient.
1074 o Jason Mader <jason@ncac.gwu.edu>
1075 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
1078 o Jim McDonough <jmcd@us.ibm.com>
1079 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1080 (in conjunction with Volker).
1083 o Marcel Muller <mueller@maazl.de>
1084 * Patch to fix the OS/2 EA_FROM_LIST info level call.
1085 * Mangled names fix for OS/2 clients.
1089 o James Peach <jpeach@sgi.com>
1090 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1093 o Marcin Porwit <mporwit@centeris.com>
1094 * Initial support for the \eventlog pipe.
1097 o Simo Sorce <idra@samba.org>
1098 * Allow Domain Admins to force user sessions to close via the
1099 Windows Server Manager.
1100 * Add support to 'net rpc right privileges <name>' to enumerate
1101 accounts which possess a specific privilege.
1104 o Mark Weaver <mark-clist@npsl.co.uk>
1105 * Patch to fix sys_select so it can't drop signals if another
1106 fd is ready to read.
1109 o Jelmer Vernooij <jelmer@samba.org>
1110 * Remove --with-manpage-languages configure option.
1113 --------------------------------------------------
1114 ===============================
1115 Release Notes for Samba 3.0.14a
1117 ===============================
1119 Common bugs fixed in 3.0.14a include:
1121 o Compatibility issues between Winbind and Windows 2003 SP1
1122 domain controllers (*2k3sp1*).
1123 o MS-DFS errors with Windows XP SP2 clients.
1124 o High CPU loads caused by infinite loops in the FindNext()
1126 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
1130 ######################################################################
1134 Changes since 3.0.14
1135 --------------------
1139 o Jeremy Allison <jra@samba.org>
1140 * Fixed invalid SMB_ASSERT() triggered by checking access on
1144 Changes since 3.0.13
1145 --------------------
1150 Parameter Name Action
1151 -------------- ------
1152 dos filetimes Enabled by default
1157 o Jeremy Allison <jra@samba.org>
1158 * Prevent nt_status code support when negotiating protocols
1160 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1161 as this SMB is DOS codepage only.
1162 * BUG 2585: Fix printf() issues in smbpasswd which caused
1164 * BUG 2563: Fix infinite loop on non-existent file with
1166 * BUG 2581 (partial): Ensure if realloc fails on an internal
1167 tdb we fail gracefully.
1168 * Ensure that 'dos filetimes' works with ACLs.
1169 * Set 'dos filetimes = yes' as the default for smb.conf.
1172 o Gerald (Jerry) Carter <jerry@samba.org>
1173 * Workaround autoconf issue to prevent debug symbols from
1174 being included in the default build.
1175 * Disable schannel on the \lsarpc pipe in order to successfully
1176 enumerate users and groups (*2k3sp1*)
1177 * Fix parsing error in rpc binds which broke NTLMSSP
1178 authentication. And as a result broke CTL+ALT+DEL password
1179 changes from a Windows 2003 SP1 member of a Samba domain
1181 * Revert change to FindFirst() server code that broke WinXP
1182 SP2 clients from launching *.exe files from a dfs target
1184 * BUG 2588: Force smbclient to send netbios messages to port
1185 139 unless otherwise instructed (based on patch from Thomas
1189 o Volker Lendecke <vl@samba.org>
1190 * Fix build on FreeBSD 4 where Winbind is not supported.
1191 * Fix 'wbinfo --user-sids' when using domain local groups.
1192 * Restrict domain local groups reported by 'wbinfo -r' to
1193 the Samba server domain and not the users domain.
1196 o Lin Li <linl@xandros.com>
1197 * Ensure that winbind initializes internal trusted domain
1198 structures when enumerating users and groups.
1201 o Tim Potter <tpot@samba.org>
1202 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1204 * Fix compiler warnings.
1207 o <psz@maths.usyd.edu.au>
1208 * Fix for possible root squash NFS bugs.
1211 o Simo Sorce <irda@samba.org>
1212 * Debian packaging fixes.
1215 --------------------------------------------------
1216 ==============================
1217 Release Notes for Samba 3.0.13
1219 ==============================
1221 Common bugs fixed in 3.0.13 include:
1223 o Infinite FindNext() loop from Windows 9x client when
1224 copying or deleting files on a Samba file share using
1226 o Numerous smbclient bugs when listing directories.
1227 o Failures in smbclient when connecting to a Windows 9x
1231 ######################################################################
1235 Changes since 3.0.12
1236 --------------------
1238 o Jeremy Allison <jra@samba.org>
1239 * Fix typo bug in smbclient where flags overwrote info level
1240 in the cli_list_new().
1241 * Fix old smbclient bug where ff_searchcount was being compared
1242 to -1 resulting in processing a filename twice.
1243 * Fix segv in smbclient caused by overwriting the last 2 bytes
1245 * BUG 2530: Fix potential segv in smbclient when talking to a
1246 Windows 9x file server.
1247 * Fix last entry offset in cli_list_new() when using a
1248 FindFirst/FindNext info level of 0x104.
1249 * BUG 2501: Stop Win98 from looping doing FindNext on a
1250 singleton directory.
1251 * BUG 2521: Fix error in access checks when user group ACLs.
1254 o Gerald (Jerry) Carter <jerry@samba.org>
1255 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
1256 to delete all versions of a driver.
1257 * BUG 2517: use the realm from smb.conf for 'net ads info' when
1258 'disable netbios = yes'.
1259 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1261 * Update RedHat packaging files to require cups support. Also
1262 remove requirement for 'idmap {uid,gid}' settings in smb.conf
1263 from winbindd init script.
1264 * BUG 2516: fix compile issue on True64.
1268 o Guenther Deschner <gd@samba.org>
1269 * Check for the correct cli-struct when copying files in 'net
1270 rpc printer' routines.
1273 o Herb Lewis <herb@samba.org>
1274 * Fix incorrect test in 'net rpc user' when the user is not
1275 a member of any groups.
1278 o Jim McDonough <jmcd@us.ibm.com>
1279 * Make sure that enum_group_members() searches the correct suffix.
1282 --------------------------------------------------
1283 ==============================
1284 Release Notes for Samba 3.0.12
1286 ==============================
1288 Common bugs fixed in 3.0.12 include:
1290 o Winbind failures when using 'disable netbios = yes'
1291 o Failure to establish a trust relationship via 'net rpc trust
1293 o Various portability & compiler issues.
1294 o Read only file deletion failure caused by new delete semantics
1295 in Windows XP SP2 and the MS 04-044 security hotfix.
1296 o Error messages from shared Excel workbooks residing on Samba
1298 o Missing files in the output of smbclient -c 'dir' when run
1299 against Windows file servers.
1300 o Inability for Print Administrators to pause/resume/purge print
1303 Additional features introduced in Samba 3.0.12:
1305 o Performance enhancements when serving directories containing
1306 large number of files.
1307 o MS-DFS support added to smbclient.
1308 o More performance improvements when using Samba/OpenLDAP based
1309 DC's via the 'ldapsam:trusted=yes' option.
1310 o Support for the Novell NDS universal password when using the
1311 ldapsam passdb backend.
1312 o New 'net rpc trustdom {add,del}' functionality to eventually
1313 replace 'smbpasswd {-a,-x} -i'.
1314 o New libsmbclient functionality.
1318 =======================
1319 Large Directory Support
1320 =======================
1322 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1323 with file services that frequently contain a large number of files
1324 per directory. Historically Samba's performance has suffered
1325 in such environments due to the translation from case
1326 insensitive lookups by Windows client to the case sensitive
1327 storage mechanisms used by UNIX filesystems.
1329 Configuration details along with a short HOWTO can be found at:
1331 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1334 ==================================
1335 libsmbclient Binary Compatibility
1336 ==================================
1338 Please note that a change has been made to the _SMBCCTX structure
1339 in source/include/libsmbclient.h. This change is not backwards
1340 compatible with applications linked against the libsmbclient.so
1341 library from Samba 3.0.11. However, it is compatible with all
1342 other Samba 3.0.x releases. This means that it will be most likely
1343 be necessary to recompile any applications linked against the
1344 3.0.11 version of the library.
1347 ######################################################################
1354 Parameter Name Action
1355 -------------- ------
1356 allocation roundup size New
1357 log nt token command New
1358 write cache Deprecated
1362 Changes since 3.0.11
1363 --------------------
1367 o Jeremy Allison <jra@samba.org>
1368 * BUG 2146: Return correct allocation sizes so as not to crash
1370 * BUG 962: Ensure that parsing of service names in smb.conf is
1372 * BUG 2201, 2227: Support new delete semantics used by MS04-044
1374 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
1375 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1376 * Add special hooks when serving directories containing large
1378 * Ensure that WINS negative name query responses and WACK
1379 packets use the correct RR type of 0xA instead of reflecting
1380 back what the query RR type was (0x20).
1381 * BUG 2310: Only do 16-bit normalization on small dfree request.
1382 * BUG 2323: Correct authentication failure when using plaintext
1383 passwords from Windows XP clients.
1384 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1385 work around issues building MS Visual Studio 6.0 project
1386 on a Samba file share while restoring the pre-3.0.21pre1
1387 behavior by default.
1388 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
1389 stat when checking for existence of a pathname.
1390 * Check the sticky bit on the parent directory for supporting
1391 the new WinXP SP2 file deletion semantics.
1392 * Various oplock, share mode, and byte range locking fixes
1393 found by Connectathon tests.
1394 * BUG 2271: Fix resume key issues in trans2FindFirst() client
1395 code (inspired by patch from Satwik Hebbar).
1396 * BUG 2382, 2045: More pending modtime and delayed write fixes
1397 for MS Excel (incorporates partial patches from
1398 ke_miyata@itg.hitachi.co.jp).
1399 * Debug log message cleanups.
1400 * Add case insensitive search for a principal match on logon
1401 verification in the system keytab (based on patch by
1402 Michael Brown <mbrown@fensystems.co.uk>).
1403 * Revert the previous SMB signing change from Nalin Dahyabhai
1404 when using DES keys.
1405 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1406 * Fix FindFirst() server code to deal with resume names of ".."
1407 and "." (found by Jim McDonough).
1408 * BUG 2451: Fix missing functions in full audit VFS module.
1409 * Ensure that smbd logs failures reported by DISK_FREE()
1410 (reported by Ying Li <ying.li2@hp.com>).
1411 * Ensure that smbclient obeys the max protocol argument again.
1412 * BUG 2335: Return correct error code for OS/2 clients (based on
1413 negotiated protocol level).
1414 * BUG 2460, 2464: remove dead code and unused variables
1415 (reported by Jason Mader).
1418 o Andrew Bartlett <abartlet@samba.org>
1419 * Avoid length-limited intermediate copy of NT and LM responses
1421 * Debug message cleanups in the NTLMSSP implementation.
1424 o Manuel Baena <mbaena@lcc.uma.es>
1425 * Print actual error message in smbmnt.c:fullpath().
1428 o Vince Brimhall <vbrimhall@novell.com>
1429 * Add support for Novell NDS universal password.
1430 * BUG 2424: Ensure that uidNumber and gidNumber use match
1432 * BUG 2453: Change the way pdb_nds.c handles users with no
1433 Universal or Simple Password.
1434 * NDS schema file corrections.
1437 o Gerald (Jerry) Carter <jerry@samba.org>
1438 * Add trans2 client call for checking dfs referrals
1439 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
1440 when checking directories on modern CIFS servers.
1441 * Add MS-DFS support to smbclient.
1442 * Code cleanup of adt_tree.[ch].
1443 * Add missing checks to allow root to manage user rights.
1444 * Allow domain admins to manage rights assignments on domain members
1446 * BUG 2333: Use the lpq command to pass in the correct printer name
1447 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
1449 * BUG 1439: make sure to initialize pointer to prevent invalid
1451 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
1453 * Add cups-devel to BuidlRequires directive in Fedora spec file.
1454 * BUG 858: Fix order of popt args evaluation so we don't crash
1455 when given no command line args.
1456 * Remove dependency on bash for source/autogen.sh.
1457 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1458 * Implement MS-DFS for recursive directory listings in smbclient.
1459 * BUG 2394: Fix nmbd linking issue on IRIX.
1460 * Only display the publish check box in the client's printer
1461 properties dialog if we are a member of an AD domain.
1462 * BUG 2363: allow 'in use' driver to be removed as long as
1463 one 'Windows NT x86' driver remains.
1464 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
1466 * Enforce better printer.tdb cache consistency when removing
1467 jobs from a print queue via SMB.
1468 * Ensure that pause/resume/purge print queue commands are run
1469 with the appropriate level of privilege necessary to actually
1471 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1472 for 'printing = cups' installations that do not actually have
1474 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1475 * BUG 2215: Rewrite questionable code that was causing gcc to
1477 * Add server support for LsaLookupPrivValue().
1478 * Various small compile fixes and cleanup warnings.
1479 * BUG 2456: Fix compile failure on non-gcc platforms due to
1480 non-standard pragma.
1483 o Kevin Dalley <kevin@kelphead.org>
1484 * BUG 2398: Don't force smbclient to assume a dry run if the
1485 target tarfile is /dev/null.
1488 o Guenther Deschner <gd@samba.org>
1489 * Fix crash bug in the client-spoolss enumdataex-call.
1490 * Expand the valid-workstation-scheme by expanding names
1491 beginning with a plus (+) as a unix group.
1492 * Allow own netbios name to be set in smbclient's session setup.
1493 * Better handling of LDAP over IPC connections that have expired
1495 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1496 * Add examples/misc/adssearch.pl.
1497 * BUG 2343: Build fixes.
1498 * Support get_user_info_7 in SAMR server RPC.
1499 * Fix server_role in the samr_query_dom_info calls.
1500 * Add example perl script to check for multiple LDAP entries
1501 after running 'net rpc vampire'.
1502 * Add more output when listing printer forms via rpcclient.
1503 * Debug log message cleanup.
1506 o Steve French <sfrench@us.ibm.com>
1507 * On failed mount (ENXIO) retry share name in uppercase (fix
1508 mount to FastConnect AIX SMB server).
1509 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1510 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1511 it with a user name.
1512 * Update for new CIFS POSIX info levels.
1513 * Ignore users mount parm in mount.cifs.
1515 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1516 * BUG 1549: Don't truncate service names in smbstatus.
1519 o William Jojo <jojowil@hvcc.edu>
1520 * BUG 2445: Patch to avoid default ACLs on AIX.
1523 o S Murthy Kambhampaty <smk_va@yahoo.com>
1524 * Add idmap_rid module to Fedora and RedHat spec files.
1527 o Volker Lendecke <vl@samba.org>
1528 * BUG 2401: Flush internal getpwnam() cache after deleting a
1530 * BUG 1604: Make winbind work with more than 10 trusted domains.
1531 * Cleanup various compiler warnings.
1532 * Fix a memory leaks in privileges code and passdb backends.
1533 * Fixes for samr_lookup_sids() client call.
1534 * Optimize _samr_query_groupmem with LDAP backend for large
1536 * Support SIDs as %s replacements in the afs username map
1538 * Add 'log nt token command' parameter. If set, %s is replaced
1539 with the user sid, and %t takes all the group sids.
1540 * Do not use the "Local Unix Group"-default description for
1541 all kinds of group-mappings.
1542 * Fix uninitialized variable in Linux nss_winbind library.
1543 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1544 * Implement 'net afs impersonate'.
1547 o Herb Lewis <herb@samba.org>
1548 * Fix build problem when HAVE_POSIX_ACL is not defined.
1549 * BUG 2417: Add help lines for net rpc group addmem and
1553 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1554 * Add support to libsmbclient for getting and setting DOS
1555 attributes using EA functions.
1556 * Fix libsmbclient's URL encoding/decoding.
1557 * Replace browse listing URI queries with an internal options
1558 structure (previous method violated the SMB URI syntax).
1559 * Allow tree connects to be multiplexed over a single CIFS server
1561 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1562 can determine a dead tree connection.
1563 * Implement better solution for backwards binary compatibility
1564 in libsmbclient while adding new fields to struct _SMBCCTX.
1567 o Mark Loeser <halcy0n@gentoo.org>
1568 * BUG 2443: Compile fix for gcc4.
1571 o Jim McDonough <jmcd@us.ibm.com>
1572 * BUG 2338: Fix coredump when OS/2 checks for long file name
1573 support (with .+,;=[].) (thanks to Guenter Kukkukk).
1576 o Jason Mader <jason@ncac.gwu.edu>
1577 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1581 o Jim McDonough <jmcd@us.ibm.com>
1582 * Fixes for server schannel implementation when 'restrict
1583 anonymous = 1' is set in smb.conf.
1584 * Fix bug in server side lookupsids reply that crashed lsass.exe
1586 * Fix 'net rpc trustdom establish'.
1587 * BUG 2062: Turn off broadcast for all 390 NICs.
1588 * Fix 'net rpc trustdom add' to correctly add new domain trust
1589 accounts. This will eventually replace 'smbpasswd -a -i'.
1590 * Implement 'net rpc trustdom del', including client side of
1591 samr_remove_sid_from_foreign_domain.
1592 * Bring IBM Directory Server schema up to date with openldap
1594 * Allow for better protection of sensitive attributes in IBM
1598 o Stefan Metzmacher <metze@samba.org>
1599 * Fix memleaks in the nttrans code.
1602 o Mike Nix <mnix@wanm.com.au>
1603 * Add SMBsplopen and SMBsplclose client calls.
1606 o Justin Ossevoort <justin@snt.utwente.nl>
1607 * BUG 2316: Fix crashes in pdb_pgsql.
1610 o James Peach <jpeach@sgi.com>
1611 * Fixes in string handling code.
1612 * Fix oplock2 test in client smbtorture.
1615 o Tim Potter <tpot@samba.org>
1616 * Fix up example pdb modules after prototype change for
1618 * BUG 2058: Fix for shared object creation in examples.
1619 * BUG 2315: Fix segv in LSA privileges server code.
1620 * Build fixes for python wrapper libraries.
1623 o Richard Sharpe <rsharpe@samba.org>
1624 * BUG 2044: Fix segv in profiles tool.
1625 * Fix bogus error messages when enumerating user group
1626 membership via 'net rpc'.
1629 o Simo Sorce <idra@samba.org>
1630 * Debian packaging fixes.
1633 o John Terpstra <jht@samba.org>
1634 * Add the capability to set account description using pdbedit.
1637 o Doug VanLeuven <roamdad@sonic.net>
1638 * Add more case/realm/name permutations to the kerberos keytab.
1639 * AIX compile fixes.
1642 o Jelmer Vernooij <jelmer@samba.org>
1643 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1644 * BUG 1957: Implement minimal update of fields in mySQL pdb
1648 o Torsten Werner <torsten.werner@assyst-intl.com>
1649 * BUG 2405: Define 'lpstat' printcap output on HPUX.
1652 o Shlomi Yaakobovich" <Shlomi@exanet.com>
1653 * Detect infinite loops when traversing tdbs.
1656 --------------------------------------------------
1657 ==============================
1658 Release Notes for Samba 3.0.11
1660 ==============================
1662 Common bugs fixed in 3.0.11 include:
1664 o Crash in smbd when using CUPS printing.
1665 o Parsing error of other SIDs included in the user_info_3
1666 structure returned from domain controllers.
1667 o Inefficiencies when searching non-AD LDAP directories.
1668 o Failure to expand variables in user domain attributes
1669 in tdbsam and ldapsam.
1671 o Failure to retrieve certain attribute when migrating from
1672 a Windows DC to a Samba DC via 'net rpc vampire'.
1673 o Numerous printing bugs bugs including memory
1674 bloating on large/busy print servers.
1675 o Compatibility issues with Exchange 5.5 SP4.
1678 Additional features introduced in Samba 3.0.11:
1680 o Winbindd performance improvements.
1681 o More 'net rpc vampire' functionality.
1682 o Support for the Windows privilege model to assign rights
1684 o New administrative options to the 'net rpc' command.
1691 If "ldap user suffix" or "ldap machine suffix" are defined in
1692 smb.conf, all user-accounts must reside below the user suffix,
1693 and all machine and inter-domain trust-accounts must be located
1694 below the machine suffix. Previous Samba releases would fall
1695 back to searching the 'ldap suffix' in some cases.
1702 Samba 3.0.11 supports the following assignable rights
1704 SeMachineAccountPrivilege Add machines to domain
1705 SePrintOperatorPrivilege Manage printers
1706 SeAddUsersPrivilege Add users and groups to the domain
1707 SeRemoteShutdownPrivilege Force shutdown from a remote system
1708 SeDiskOperatorPrivilege Manage disk shares
1710 These rights can be assigned to arbitrary users or groups
1711 via the 'net rpc rights grant/revoke' command. More details
1712 of Samba's privilege implementation can be found in the
1713 Samba-HOWTO-Collection.
1716 ######################################################################
1720 Changes since 3.0.10
1721 --------------------
1726 Parameter Name Action
1727 -------------- ------
1728 afs token lifetime New
1729 enable privileges New
1730 ldap password sync Alias
1731 min password length Deprecated
1732 winbind enable local accounts Deprecated
1737 o Jeremy Allison <jra@samba.org>
1738 * Extend vfs to add seekdir/telldir/rewinddir.
1739 * Fix dirent return.
1740 * Fix bugs when handling secondary trans2 requests.
1741 * Implementation of get posix acls in UNIX extensions.
1742 * Added set posix acl functionality into the UNIX extensions code.
1743 * Updated config.guess/config.sub .
1744 * Fix error reply when 'follow symlinks = no'.
1745 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
1747 * Fixes for LARGE_READX support.
1748 * Fix the problem we get on Linux where sendfile fails, but we've
1749 already sent the header using send().
1750 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
1752 * BUG 2088: Ensure inherit permissions is only applied on a new
1753 file, not an existing one.
1754 * Don't go fishing for the krb5 authorization data unless we know
1756 * Fixes for libsmbclient to ensure that interrupted system calls
1757 are restarted minus the already expired portion of the timeout
1758 (based on work by Derrell Lipman).
1759 * More Unicode string parsing fixes.
1760 * Convert the winreg pipe to use WERROR returns.
1761 * Make all LDAP timeouts consistent (input from Joe Meadows
1762 <jameadows@webopolis.com>).
1763 * BUG 2231: Remove double "\\" from client findfirst.
1764 * BUG 2238: Fix memory leak in shadow copy vfs.
1765 * Return correct DOS/NT error code on transact named pipe on
1767 * BUG 2211: Fix security descriptor parsing bug (based on work by
1768 Mrinal Kalakrishnan <mail@mrinal.net>).
1769 * BUG 2270: Fix memory leaks in cups printing backend support
1770 (based on work by Lars Mueller).
1771 * BUG 2255: Fix debug level in kerberos error messages.
1772 * BUG 2110: Ensure we convert to ucs2 correctly after the
1773 CAN-2004-0930 patch.
1774 * Make strict locking an enum. Auto means use oplock optimization.
1775 * Fix client & server to allow 127k READX calls.
1776 * More *alloc fixes (includes additional fixes by Albert Chin.
1777 * Catch sendfile errors correctly and return the correct values
1778 we want the caller to return.
1779 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
1780 for better use by desktop environments such as GNOME.
1781 * Ensure we can't remove a level II oplock without having the
1782 shared memory area locked.
1785 o Timur Bakeyev <timur@com.bat.ru>
1786 * BUG 2100: change the way we check for errors after a dlopen().
1787 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
1790 o Andrew Bartlett <abartlet@samba.org>
1791 * Clarify error message when 'lanman auth = no'.
1792 * Remove the unnecessary UTF-8 conversion calls in the calls to
1793 auth_winbind from smbd.
1794 * Don't store the auth-user credentials with the cli_state* as
1795 this can cause the schannel setup to fail when the auth-user
1796 domain is not our primary domain.
1799 o Grigory Batalov <bga@altlinux.org>
1800 * Fix encoding while receiving of a message which was actually
1801 sent using STR_ASCII.
1804 o Daniel Beschorner <db@unit-netz.de>
1805 * BUG 603: Correct access mask check for _samr_lookup_domain()
1806 to work with Windows RAS server
1809 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1810 * Fix missing printer_tdb reference decrement.
1813 o Gerald (Jerry) Carter <jerry@samba.org>
1814 * BUG 2073: fall back to smb_name if current_user_info is not
1815 available in lp_file_list_changed().
1816 * Fixes the spurious 'register_message_flags: tdb fetch failed'
1818 * Don't run the background LPQ daemon when we are running in
1820 * prevent the background LPQ daemon from updating the print queue
1821 cache just because multiple smbd processes sent a message that
1823 * consolidate printer searches to use find_service rather than
1825 * BUG 2091: don't remove statically defined printers in
1826 remove_stale_printers().
1827 * Fix logic error in add_a_form() that only compared N characters
1828 instead of the entire form name.
1829 * BUG 2107: fix memory bloating caused by large numbers of
1830 print_queue_updates() requests sent via messages.tdb.
1831 * Check the setprinter(3) based on the access permissions on
1832 the handle and avoid the call to print_access_check().
1833 * Re-instantiate previous semantics for calling init_unistr2()
1834 with a NULL source buffer.
1835 * Support Windows privilege model for assigning rights
1836 to specific SIDs. Based on work by Simo Sorce in the trunk
1837 svn branch. This feature is controlled by the 'enable
1838 privileges = [yes|no]' smb.conf(5) option.
1839 * Add some smb.conf scripts for add/delete/change shares and
1840 deleting cups printers.
1841 * Expand variables in the profile path, logon home and logon script
1842 values when using either tdbsam or ldapsam.
1843 * Add Domain Admins (Full Control) to the default printer security
1844 descriptor if we are a DC.
1845 * RedHat and Fedora Packaging fixes for perl dependencies.
1846 * Remove unused schema items from OpenLDAP schema file.
1847 * Remove duplicate enumeration of "Windows x86" architecture
1848 when listing printer drivers via rpcclient.
1849 * Fail set_privileges() if 'enable privileges = no' to prevent
1851 * Fix segfault in cups_queue_get().
1852 * Tighten restrictions on changing user passwords when
1853 the connected user possesses the SeMachineAccountPrivilege.
1854 * Ensure we set NETBIOSNAME.domainname for the long machine name
1855 when publishing printers in AD (based on input from Rob Foehl).
1856 * Mark 'winbind enable local accounts' as deprecated.
1857 * Mark testprns tool as deprecated.
1858 * Allow root to grant/revoke privilege assignments.
1859 * Correct interaction between user rights and se_access_check() on
1861 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
1863 * BUG 2262: Add support in configure.in for *freebsd6*.
1864 * BUG 2266: Portability fixes for quota code on FreeBSD4.
1865 * BUG 2264: Remove shutdown and abortshutdown commands from
1866 rpcclient in favor of using the same functions in 'net'.
1867 * BUG 2295: Prevent smbd from returning an empty server name
1868 in certain lanman api calls.
1869 * BUG 2290: Fix autogen.sh script in examples (based on original
1870 patch from Lars Mueller).
1871 * Fix bug enumerating domain trusts in security = ads.
1872 * Fix segv in rpcclient's dsenumdomtrusts.
1873 * Fix bug in expansion of %U and %G in included filenames.
1874 * BUG 2291: Restrict creation of server trust and domain trust
1875 accounts to members of the "Domain Admins" group.
1877 o Nadav Danieli <nadavd@exanet.com>
1878 * Short circuit some is_locked() tests if we are oplocked.
1881 o Guenther Deschner <gd@samba.org>
1882 * Allow 'localhost' as a valid server name in the smbd for the
1884 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1885 Mewburn for the input).
1886 * BUG 2059: Add additional checks needed after logic change to the
1887 HAVE_WRFILE_KEYTAB detection test.
1888 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
1889 Samba DC. Allow us to lookup at least our own SID.
1890 * More fixes to have proper German in swat (Thanks to Reiner
1891 Klaproth and Björn Jacke.
1892 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
1893 setting security descriptors with smbcacls and using with
1894 the -S or -M switch.
1895 * Include the munged_dial, bad_password_count, logon_count, and
1896 logon_hours attributes when running 'net rpc vampire'.
1897 * Fix segfault in idmap_rid.
1898 * When winbindd is operating in the multi-mapping mode of
1899 idmap_rid, allow BUILTIN domain-mapping.
1900 * Display infolevel 12 in query_dom_info in rpcclient.
1901 * Fix bug in winbindd's lowercasing of usernames.
1902 * Allow -v or -l for displaying verbose groupmap-listing
1903 as well as "verbose".
1904 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
1906 * Close LDAP-Connection before retrying to open a new connection
1908 * Marking "min password length" as depreciated.
1909 * Implement SAMR query_dom_info-call info-level 8 server- and
1910 client-side, based on samba4-idl.
1911 * Allow rpcclient to define a port to use when connecting
1913 * Allow Account Lockout with Lockout Duration "forever" (until
1914 admin unlocks) to be set and displayed in User Manager.
1915 * Allow to set acb_mask in rpcclient's enumdomusers.
1916 * Add more generic rootDSE inspection function to check
1917 for given controls or extensions and remember these on a
1919 * Improve LDAP search efficiency by passing the acb_mask to
1921 * Fixes for ldapsam_enum_group_memberships().
1922 * Add createdomgroup to rpcclient.
1923 * Add "net rpc user RENAME"-command.
1924 * Display sam_user_info_7 in rpcclient.
1925 * Make multi-domain-mode in idmap_rid accessible from outside
1926 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1927 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
1928 "Lockout Duration: Forever".
1929 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1931 * Require assignment of Administrator SID in the passdb
1932 backend. Fall back to the default name of 'Administrator' if
1933 the lookup fails rather than using the first name in the
1934 default 'admin users' list.
1935 * Enhance LDAP failure debug messages.
1936 * BUG 2291: Call the 'add machine script' for server trust and
1937 domain trust accounts as well as workstation accounts.
1940 o Levente Farkas <lfarkas@lfarkas.org>
1941 * BUG 2299: Better logrotate scripts for RedHat and Fedora
1945 o Jay Fenlason <fenlason@redhat.com>
1946 * Fix crash in 'net join' due to calling free on
1948 * Several patches from RedHat's Fedora Core RPMS.
1951 o Rob Foehl <rwf@loonybin.net>.
1952 * Compiler warnings.
1953 * Try modifying printer published attributes before adding it a
1955 * Solaris packaging fixes.
1956 * Don't force the cups printer-make-and-model tag as the comment
1957 for autoloaded printers.
1958 * Implement caching of names from printcap to support a true
1959 'printcap cache time'.
1962 o Johann Hanne <jhml@gmx.net>
1963 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1966 o Jeff Hardy <hardyjm@potsdam.edu>
1967 * Example script for 'add print command' when using CUPS.
1970 o Deryck Hodge <deryck@samba.org>
1971 * Add -P (--password-only-menu) to SWAT for displaying only the
1972 password change page to non-root users.
1975 o David Hu <david.hu@hp.com>
1976 * Copy structure from print_queue_update() message rather than
1977 referencing it. Fixes seg fault on HP-UX.
1980 o Buck Huppmann <buckh@pobox.com>
1981 * BUG 2186: Don't free uninitialized credentials.
1982 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
1983 dnsDomainName != realm.
1986 o Björn Jacke <bjoern@j3e.de>
1987 * BUG 2040: Ensure the locale is reset to C to get ASCII-
1988 compatible toupper/lower functions.
1991 o William Jojo <jojowil@hvcc.edu>
1992 * Fix HPUX sendfile and add configure.in tests and code for
1994 * AIX 5.3 compile fixes.
1997 o Volker Lendecke <vl@samba.org>
1998 * Optimize anonymous session setups by workstations in a
2000 * Reimplment the QueryUserAliases() server RPC reply.
2001 * Re-add the getpwnam-cache for performance.
2002 * Cache the result of a pdb_getsampwnam for later SID lookup
2004 * Unify the means of localtaing a user's global groups on a
2006 * Fix bug when serving the 'Start Menu' in a roaming user profile..
2007 * Map more pre-defined NT security descriptors to AFS acls.
2008 * Add timeout to AD search requests.
2009 * If a connection to a DC is requested (in winbindd), open
2010 connections simultaneously to all DCs found.
2012 * Fix logic error in handling of 'printcap name' parameter.
2013 * Prevent winbindd from SPAM'ing the log files with 'user root
2015 * Backport samr_DomInfo2 IDL specification from Samba 4.
2016 * Implement smbstatus -n, don't lookup users and groups.
2017 * Implement simple mapping that maps the space to another character
2018 defined by afsacl:space.
2019 * Add support for 'net idmap delete <idmap-file> <SID>'.
2020 * Add new parameter 'afs token lifetime' tells the AFS client
2021 when to throw away a token (patch from kllin@it.su.se).
2022 * Initial work to allow support for multiple pipe opens on a
2024 * Ensure that we still retrieve the netbios name of any DC
2025 listed as a 'password server' to work around cases where the
2026 DC was defined using an IP address or fqdn.
2027 * Fix memleak in winbindd connection code.
2028 * Fix cli_samr_queryuseraliases.
2029 * Allow wbinfo --user-sids to expand expand domain local groups.
2030 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2031 * Fix parsing of other_sids in net_user_info3.
2032 * Correct bad failure logic when user was not a member of any
2033 domain local groups.
2036 o Jason Mader <jason@ncac.gwu.edu>
2037 * BUG 2113, 2289: Remove dead code.
2040 o Jim McDonough <jmcd@us.ibm.com>
2041 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
2042 clients. If it fails, fall back to WINREG.
2043 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2044 * BUG 2198: Set password last change time when running 'net rpc
2046 * Add "refuse machine password change" policy field.
2049 o Luke Mewburn <lukem@NetBSD.org>
2050 * BUG 2150: shmget() - Use POSIX definitions instead of non-
2054 o Stefan Metzmacher <metze@samba.org>
2058 o Buchan Milne <bgmilne@mandrake.org>
2059 * Mandrake packaging fixes.
2062 o Lars Mueller <lmuelle@samba.org>
2063 * Fix build of libsmbclient on x86_64.
2064 * BUG 2013: Fix testsuite build issues when libsmbclient.so
2065 is installed in a non-default location.
2066 * BUG 2050: Calculate max_fd for select correctly.
2067 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
2071 o Jason Mader <jason@ncac.gwu.edu>
2072 * BUG 2069: Remove unused variables.
2073 * BUG 2075: Remove dead code paths.
2074 * BUG 2083: Fix compiler warnings caused by bad type casts.
2077 o James Peach <jpeach@sgi.com>
2078 * Fix rewinddir -> rewind_dir when using VFS macros.
2081 o Gavrie Philipson <gavrie@disksites.com>
2082 * BUG 1838: Remove stale printers imeeddiately when
2083 processing a SIGHUP and during smb.conf reload.
2086 o Tim Potter <tpot@samba.org>
2087 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2088 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2089 * Change the license for the winbindd external interface
2091 * HP-UX compile fixes.
2092 * Compile fixes after new setsampwent() API.
2095 o Richard Renard <rrenard@idealx.com>
2096 * Update Netscape DS 5.2 LDAP schema.
2099 o Simo Sorce <idra@samba.org>
2100 * Backport pdbedit changes from trunk.
2101 * Allows the add/change share command to create the shared
2102 directory directory on disk.
2103 * Log a warning in testparm if a print command is defined for
2104 a print service using 'printing = cups'.
2106 o Jelmer Vernooij <jelmer@samba.org>
2107 * Bug fixes for pdb_{xml,pqsql,xml}
2108 * Fixes for pdb_mysql.
2111 o Andrew Tridgell <tridge@samba.org>
2112 * Bring Samba3 into line with the Samba4 password change code.
2115 o Shiro Yamada <shiro@miraclelinux.com>
2116 * BUG 2190: Force SWAT to display parameters in unix charset and
2120 --------------------------------------------------
2121 ==============================
2122 Release Notes for Samba 3.0.10
2124 ==============================
2126 Common bugs fixed in 3.0.10 include:
2128 o Fix for security issues described in CAN-2004-1154.
2137 o Jeremy Allison <jra@samba.org>
2138 * Added checks surrounding all *alloc() calls to fix
2140 * Fix long standing memory size bug in bitmap_allocate().
2141 * Remove bogus error check in deferred open file serving
2145 o Thomas Bork <tombork@web.de>
2146 * Fix autoconf script on platforms using a version of GNU ld
2147 that does not include a date stamp in the output of --version.
2150 o Luke Mewburn <lukem@NetBSD.org>
2151 * Fix the swat install script to deal with the new image
2152 destination directory used by the docs.
2156 --------------------------------------------------
2158 =============================
2159 Release Notes for Samba 3.0.9
2161 =============================
2163 Common bugs fixed in 3.0.9 include:
2165 o Problem updating roaming user profiles.
2166 o Crash in smbd when printing from a Windows 9x client.
2167 o Unresolved symbols in libsmbclient which caused
2168 applications such as KDE's konqueror to fail when
2169 accessing smb:// URLs.
2179 o Jeremy Allison <jra@samba.org>
2180 * Correctly detect errno for no acl/ea support.
2181 * BUG 2036: Fix seg fault in 'net ads join'.
2184 o Gerald (Jerry) Carter <jerry@samba.org>
2185 * Solaris packaging fixes.
2186 * Fix seg fault in lanman printing code.
2187 * BUG 2017: fix testparm reporting for the passwd program
2189 * Fix output of smbstatus to match the man page.
2190 * BUG 2027: fix conflict with declaration MD5_CTX in system
2192 * 2028: Avoid false error messages when copying a long
2193 printer name to the device mode.
2196 o Guenther Deschner <gd@samba.org>
2197 * Allow deldriverex in rpcclient to delete drivers for a
2198 specific architecture and a specific version.
2199 * Fix a couple of rpcclient spoolss commands (setprinter,
2200 setprintername, getdriver) w.r.t to printer-naming scheme.
2201 Allow 'localhost' in the server string for certain server-side
2203 * BUG 2015: Do not fail on setting file attributes with
2204 acl support enabled.
2207 o Michel Gravey <michel.gravey@optogone.com>
2208 * Fix build when using gcc 3.0.
2211 o Volker Lendecke <vl@samba.org>
2212 * Fix tdb open logic when checking our local_pid after
2216 o Jim McDonough <jmcd@us.ibm.com>
2217 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2221 o Luke Mewburn <lukem@NetBSD.org>
2222 BUG 1661: Fix KRB5_SETPW-defines
2225 o Buchan Milne <bgmilne@mandrake.org>
2226 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2229 o Lars Mueller <lmuelle@samba.org>
2230 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2233 o Martin Zielinski <mz@seh.de>
2234 * Add DeletePrinterDriverEx() functionality to rpcclient.
2237 --------------------------------------------------
2239 =============================
2240 Release Notes for Samba 3.0.8
2242 =============================
2244 Common bugs fixed in 3.0.8 include:
2246 o Compile fixes for HP-UX
2247 o Fixes for the printer publishing code used when joined to
2249 o Incompatibilities with file system quotas.
2250 o Several bugs in the spoolss printing code and print system
2252 o Inconsistencies in the username map functionality when
2253 configured on domain member servers.
2254 o Various compile warnings and errors on various platforms.
2255 o Fixes for kerberos interoperability with Windows 200x
2256 domains when using DES keys.
2257 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2258 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2261 New features included in the 3.0.8 release are:
2263 o New migration functionality added the the net tool
2264 for files/directories, printers, and shares.
2265 o New experimental idmap backend for assigning uids/gids
2266 directly based on the user/group RID when acting as a
2267 member of single domain without any trusts.
2268 o Additional printer migration support for XP/2003 platforms.
2271 ===========================
2272 Change in Winbindd Behavior
2273 ===========================
2275 All usernames returned by winbindd are now converted to lower
2276 case for better consistency. This means any winbind installation
2277 relying on the winbind username will need to rename existing
2278 directories and/or files based on the username (%u and %U) to lower
2279 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
2280 include mail spool files, home directories, valid user lines in
2284 ======================
2285 Change in Username Map
2286 ======================
2288 Previous Samba releases would only support reading the fully qualified
2289 username (e.g. DOMAIN\user) from the username map when performing a
2290 kerberos login from a client. However, when looking up a map
2291 entry for a user authenticated by NTLM[SSP], only the login name would be
2292 used for matches. This resulted in inconsistent behavior sometimes
2293 even on the same server.
2295 Samba 3.0.8 obeys the following rules when applying the username
2298 * When performing local authentication, the username map is
2299 applied to the login name before attempting to authenticate
2301 * When relying upon a external domain controller for validating
2302 authentication requests, smbd will apply the username map
2303 to the fully qualified username (i.e. DOMAIN\user) only
2304 after the user has been successfully authenticated.
2307 ######################################################################
2316 Parameter Name Action
2317 -------------- ------
2318 force printername New
2319 sendfile disabled by default
2325 o Jeremy Allison <jra@samba.org>
2326 * Ensure extended security bit is on only if we negotiated
2328 * Simplify statcache to use an in-memory tdb.
2329 * If you're selecting a hash algorithm for tdb, you need
2330 to do it at open time.
2331 * Removed old dir caching code - not being used now we
2332 have the statcache anyway.
2333 * Simplify the mangle hash code to use an in-memory tdb.
2334 * Merge iconv changes from Samba 4 branch.
2335 * Fix parsing of names ending in dot and a few other error
2337 * BUG 1667: Smbpasswd file could be left locked on some
2339 * Fixes for smbclient tar functionality.
2340 * BUG 1743: Fix logic bug the deferred open code.
2341 * Don't try to set security descriptors on shares where
2342 this has been turned off.
2343 * Return correct error codes on old SEARCH call.
2344 * Ensure we set errno = E2BIG when we overflow in the
2345 fast-path character conversion code.
2346 * Fix the roundup problem (returning 1mb roundup) for
2347 non-Windows clients.
2348 * Added 'stat' command to smbclient to exercise the
2349 UNIX_FILE_BASIC info level.
2350 * Fix bug where we could incorrectly set sparse attribute.
2351 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2352 (reported by Taj Khattra <taj.khattra@gmail.com>).
2353 * Remove locked keys tdb code.
2354 * BUG 1886: Prevent delete on close being set for readonly files
2355 (and return the correct error code).
2356 * Ensure we pass most of the new lock tests except for the cancel
2357 lock which is yet to be added (merged from Samba 4 branch).
2358 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2359 * BUG 1956: Ensure errno is saved and restored consistently on a
2361 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
2362 that all of the appropriate service principal names are set
2363 upon joining an AD domain.
2364 * Fix the correct use of resume name in the trans2 code.
2365 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2366 correct salt used when generated the DES key after joining an
2368 * Enhanced krb5 detection routines in the autoconf scripts.
2371 o Andrew Bartlett <abartlet@samba.org>
2372 * Avoid changing the machine account password in the passdb
2373 backend, when it has 'already been changed'. This occurs
2374 in situations where the secure channel between the workstation
2375 and the DC breaks down, such as occurred in the MS04-11
2377 * Fix utility name in error message in ntlm_auth.
2378 * Fix NTLMv2 for use with pam_winbind.
2379 * Remove conversion to and from UTF8 on the winbind pipe.
2380 * Allow 'require_membership_of' and 'require-membership-of'.
2381 * Fix the error code for 'you didn't specify a domain' in
2383 * Use sys_getgroups() rather than scanning all groups
2384 when generating SAMR replies.
2387 o Igor Belyi <sambauser@katehok.ac93.org>
2388 * Ensure pdb user is deleted first before deleting UNIX
2389 user (LDAP backend needs this ordering).
2392 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
2393 * Fix core dump in 'net rpc vampire'.
2396 o Vince Brimhall <vbrimhall@novell.com>
2397 * Make ldapsam_compat robust against NULL attributes.
2400 o Gerald Carter <jerry@samba.org>
2401 * Don't limit the number of groups returned by winbindd_getgroups()
2403 * BUG 1519: Match Windows 2000 behavior when opening a
2404 printer using a servername in the form of an IP address or
2406 * BUG 1907: remove extra slashes from the printer name in
2407 getprinterdriverdir_1().
2408 * Fix standard_sub_snum() to use the current user's gid.
2409 * Fix background queue update bug (based on Volker's initial work
2411 * Add 'force printername' service parameter for people that want
2412 to enforce printername == sharename for spoolss printing.
2413 * Ensure consistent usage of the username map. Use the fully
2414 qualified DOMAIN\user format for 'security = domain|ads' and
2415 apply after authentication has succeeded.
2416 * Cosmetic fix for getent output -- lowercase the username only
2417 and not the complete domain\username string.
2418 * Packaging fixes for Solaris, Redhat, & Fedora.
2421 o Sean Chandler <sean.chandler@verizon.net>
2422 * Fix memlieak in cliconnect.c.
2425 o Darren Chew <darrenc@vicscouts.asn.au>
2426 * Solaris packaging fixes.
2429 o Nalin Dahyabhai <nalin@redhat.com>
2430 * SMB signing fix for 56-bit DES session keys.
2433 o Guenther Deschner <gd@samba.org>
2434 * add IA64 to the architecture table of printer-drivers.
2435 * Add file/share/printer migration functionality to
2437 * Show correct help for net groupmap commands.
2438 * Fix deadlock loop in winbind's required_membership_sid
2440 * Bring the same level of "required_membership"-functionality
2441 that ntlm_auth uses, to pam_winbindd as well.
2442 * Prevent "net lookup kdc" from seg-faulting when
2443 using our own implementation of krb5_lookup_kdc with
2445 * Adding getprinter level 7 to rpcclient.
2446 * Support migrating printers|shares|files from Server A
2447 to Server B while running the net-command on client C.
2448 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
2449 failure of this call non-critical (Thanks to Love @ Heimdal
2450 for the explanation and patch).
2451 * Fix typos in net's usage-output.
2452 * Fix the paranoia-check to ensure the ldap-attribute and the
2453 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
2455 * Fix several bugs in the _samr_query_useraliases() rpc reply.
2456 * Check correct string length when verifying password-policies
2457 and using extended characters (Thanks to Uwe Morgenroth from CC
2458 Compunet and Volker).
2459 * Make 'password history'-behavior in ldapsam more consistent.
2460 * Adding "Windows x64" as architecture string and driverdir "x64"
2461 for the 64bit AMD platform.
2462 * BUG 1343: Readd WKGUID-binding to match the correct default-
2463 locations of new User-, Group- and Machine-Accounts in Active
2464 Directory (this got lost during the last trunk-merge).
2465 * Fix printer-migration w.r.t. to new naming-convention for
2467 * Allow to migrate win2k3/xp-drivers as well.
2468 * Add client-side support of triggering ads printer publishing
2469 over msrpc setprinter calls inside the net-tool.
2470 * Add the idmap_rid module (written in conjunction with
2471 Sumit Bose <sbose@suse.de>).
2472 * BUG 1661: Fix build with recent heimdal releases.
2473 * Prevent idmap_rid from making unnecessary calls to domain
2474 controllers for trusted domains.
2477 o Arthur van Dongen <avdongen@xs4all.nl>
2478 * Fix typos in pam_winbind log messages and SuSE
2482 o Rob Foehl <rwf@loonybin.net>
2483 * Typo fixes for log messages in printer publishing code.
2484 * Fix memory leak in printer publishing code.
2485 * Ensure print_backend_init() only gets called once.
2486 * Have smbd check the published status of all printers
2488 * Cleanup up the XXX_a_printer() API for consistency.
2489 * Refactored the printer publishing code and include better
2493 o Steve French <sfrench@us.ibm.com>
2494 * Fix IP address override in mount.cifs mount helper and clean
2495 up warning messages from the sparse tool and expand syntax help.
2496 * Strip guest mount option off before sending to kernel mount
2497 routine to avoid logging spurious message.
2500 o Satoh Fumiyasu <fumiya@samba.gr.jp>
2501 * BUG 1732: Limit share names returned by RAP based on windows
2502 character width, not unix character width.
2503 * BUG 1498: Ensure that acl entries are stored in the correct
2507 o Brett Funderburg <brett@deepfile.com>
2508 * Pass create options parameter to nt_create_andx() function
2509 from the python bindings.
2510 * BUG 1864: Add sd->type field to security descriptor Python
2512 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2513 when trying to return the security descriptor for a file.
2514 * BUG 1884: Fixes for the Python bindings to use the value
2515 of the desired_access filed passed into the lsa_open_policy()
2519 o Michael Gravey <michel.gravey@optogone.com>
2520 * BUG 1776: Fix warnings when building modules caused by
2521 certain versions of GNU ld not using the the default
2522 --allow-shlib-undefined flag.
2525 o Chris Hertel <crh@samba.org>
2526 * Fix logic bug in splay tree data structure when finding
2528 * Fix bug where an invalid MAC address would be printed by
2529 a node status lookup from nmblookup.
2532 o Uli Iske <iske@elkb.de>
2533 * Update the DNS/eDirectory LDAP schema file.
2536 o Björn Jacke <bjacke@sernet.de>
2537 * BUG 1766: Unify charset-handling in Content-Type:-headers to
2538 UTF-8. Reformat msgstr in msg-files to UTF-8.
2539 * Do not use display charset for swat output.
2540 * Convert the share names correctly from unix encoding to web
2541 encoding and vice versa.
2542 * Convert files from status page from unix charset to UTF-8.
2545 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2546 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2549 o Tom Lackemann <cessnatomny@yahoo.com>
2550 * BUG 1954: Fix memory leak in posix acl code.
2553 o Volker Lendecke <vl@samba.org>
2554 * Robustnss fix for winbindd when sending multiple requests
2555 at a high rate for a slow operation.
2556 * Solve the problem of user sids ending up with gid's
2558 * Use sys_fork instead of fork for the dual daemon so that
2559 we get the correct debug pid in the logfiles.
2560 * Based on patch from jmcd, implement special lists for the LDAP
2561 user attributes to delete.
2562 * Fix creation of aliases via usrmgr. Winbind was too strict
2563 checking the type of sids.
2564 * Lowercase all usernames returned by winbind.
2565 * BUG 1545, 1823: Only issue the ldap extended password change
2566 operation if the ldap server supports it. Also ignore object
2567 class violation errors from the extended operation.
2568 * Optimization for 'idmap backend = ldap': When asking sid2id
2569 for the wrong type, don't ask ldap when we have the opposite mapping
2571 * Fix ldapsam_compat homeDrive.
2572 * Add usersidlist and allowedusers subcommands to the net tool
2573 in order to support scanning a file server's share and list
2574 all users who have permission to connect there.
2575 * Allow for multiple DC's to be named as #1c names in lmhosts.
2576 * Memory leak fixes.
2577 * Fix checks for the local pid of an smbd process after
2581 o Herb Lewis <herb@samba.org>
2582 * Added tdbtool to be built by default.
2585 o Love <lha@stacken.kth.se>
2586 * BUG 1955: Inconsistent error return.
2589 o Sorin Manolache <sorinm@gmail.com>
2593 o Jim McDonough <jmcd@us.ibm.com>
2594 * Allow 'net ads lookup' to rely on command line arguments
2595 if contacting an ADS server fails; utilize cldap for lookups.
2596 * Fixup formatting errors in TDB_LOG calls; add printf attribute
2597 support to tdb log functions.
2600 o Bill McGonigle <bill+samba@bfccomputing.com>
2601 * BUG 1926: Type in debug message.
2605 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2609 o Luke Mewburn <lukem@NetBSD.org>
2610 * BUG 1782: Prevent testparm from displaying parameter synonyms.
2613 o Stefan Metzmacher <metze@samba.org>
2614 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2615 * Fix client quota support.
2616 * Fix opening of system quota file.
2619 o Lars Mueller <lmuelle@samba.org>
2620 * Small fixes for autogen.sh to deal with version detection
2621 of autoconf and autoheader; fixes for examples using
2622 libtool to adhere to stricter syntax of newer version.
2625 o Henrik Nordstrom <hno@squid-cache.org>
2626 * Allow winbindd to return the correct number of groups
2627 when the groups array must be enlarged.
2630 o Narayana Pattipati <narayana.pattipati@wipro.com>
2631 * Solaris autoconf detection fixes.
2634 o Tim Potter <tpot@samba.org>
2635 * BUG 1360: (correct fix) Use -Wl when passing flags to
2637 * HP-UX compile fixes (from JBravo on #samba-technical).
2638 * BUG 1731: More HP-UX compiles fixes.
2639 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
2640 spits the dummy otherwise.
2641 * Fix bug in Python printerdata wrapper.
2642 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
2643 <bugzilla-samba@thewrittenword.com>).
2644 * Fix parameter confusion in priming of name-to-sid cache
2645 (Found by Qiao Yang).
2646 * BUG 1888: Remove '..' from all pre-processor commands.
2647 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
2651 o Matt Selsky <selsky@columbia.edu>
2652 * BUG 350: use autoconf 2.57 feature for checking header file
2653 preprocessing (fixes configure warnings on Solaris).
2656 o Richard Renard <rrenard@idealx.com>
2657 * Fix usermgr.exe and trust relationships.
2660 o Paul Szabo <psz@maths.usyd.edu.au>
2661 * Fix to make find_workgroup use the same
2662 truncation as create_workgroup.
2665 o Richard Sharpe <rsharpe@samba.org>
2666 * Ensure cli_write() can support writes >= 65536 bytes.
2669 o Simo Sorce <idra@samba.org>
2670 * Added check password script code in examples/auth/crackcheck/
2671 * Fix memory corruption bug caused in freeing static memory.
2674 o Andrew Tridgell <tridge@samba.org>
2675 * Remove lp_use_mmap() from map_file() since the latter
2676 is for read only and does not require coherence.
2677 * Ensure that the uuid pack/unpack routines do not go past
2678 the end of the structure.
2679 * Converted Samba 3 tree to use the new utf-16 aware iconv
2681 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2682 * Ensure configure only uses '=' instead of the bashism '=='.
2683 * Reduces the number of tdb locking calls made on file IO.
2686 o Jelmer Vernooij <jelmer@samba.org>
2687 * Convert internal data to UTF-8 before calling libxml2.
2688 * Complain if 'password chat' doesn't contain the %u variable
2689 (based on a patch by Ronan Waide).
2693 * BUG 1541: Fix recursive ls in smbclient.
2696 o Igor Zhbanov <bsg@uniyar.ac.ru>
2697 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
2700 --------------------------------------------------
2702 =============================
2703 Release Notes for Samba 3.0.7
2705 =============================
2707 Common bugs fixed in 3.0.7 include:
2709 o Fixes for two Denial of Service vulnerabilities
2710 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2711 o Winbind failure to return user entries under certain
2713 o Syntax errors in the OpenLDAP schema file (samba.schema).
2714 o Printing errors caused by not setting default values
2715 for the various printing commands.
2724 Parameter Name Action
2725 -------------- ------
2726 winbind enable local accounts disabled by default
2731 o Jeremy Allison <jra@samba.org>
2732 * Fix parsing of names ending in dot and a few other error
2734 * BUG 1674: Move the symlinks checks into reduce_name().
2735 * Fix memleak when checking the valid names smb.conf option.
2736 * Fix memleak on error return path in the file open code.
2737 * More paranoia checks in the hash2 mangling code.
2738 * Fix syntax error in configure.in.
2739 * Match Win2k3's behavior for pathname parsing error returns.
2740 * Make nmbd more robust against bad netbios packets
2742 * Add more checks for invalid ASN.1 packets for SPNEGO packets
2746 o Andrew Bartlett <abartlet@samba.org>
2747 * Janitor work in loadparm.c -- remove unused parameters.
2750 o Gerald Carter <jerry@samba.org>
2751 * BUG 1464: Ensure that printing commands are initialized even
2752 if the 'printing' parameter is not explicitly set.
2753 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
2754 Adharsh Praveen <rprav@india.hp.com>)
2755 * Work around parsing error in the print change notify code.
2756 * remove duplicate declaration of getprintprocdir from
2758 * Only use sAMAccountName and not userPrincipalName when looking
2759 up a username in AD since the breaks winbindd (lookup_name()
2760 only works with the sAMAccountName).
2761 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
2762 filling in the username in the user_info3.
2763 * Fix logic bug in the check for creating a user's home directory
2764 in register_vuid(); caused home directory to be mismatched to
2765 the first share in smb.conf under certain conditions.
2766 * BUG 1656: rename auto.a to auto.smb.
2767 * Ensure that we assign our pid to print jobs (and not our
2768 parent's pid); ensures that spooling jobs from dead smbds
2769 are removed from the tdb.
2770 * Disable 'winbind enable local accounts' by default.
2771 * Adding some initial checks for DragonFly (same as
2775 o Guenther Deschner <gd@samba.org>
2776 * Use SMB_ASSERT() to track down NULL printer names in
2778 * Revert fix for BUG 1474 to avoid unnecessary packaging
2782 o Olaf Flebbe <o.flebbe@science-computing.de>.
2783 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
2785 * BUG 1626: More compile fixes.
2788 o Rob Foehl <rwf@loonybin.net>
2789 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
2790 by attempts to sanitize the defined attributes.
2793 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2794 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
2797 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
2798 * BUG 1657: Remove used initialized variable,
2799 * BUG 1658: Add a little bit of const.
2802 o Volker Lendecke <vl@samba.org>
2803 * If there's garbage in the pidfile, we should not panic
2804 but assume that no one else is around. We can't find the
2808 o Jim McDonough <jmcd@us.ibm.com>
2809 * Fixup format string in the tdb error messages.
2812 o Jonas Olsson <lexicon@lysator.liu.se>
2813 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
2814 reporting the list in usrmgr.exe.
2817 o Tim Potter <tpot@samba.org>
2818 * Fix out-of-tree builds (problem with the script to generate
2819 the svn version number).
2820 * BUG 1360: Need to use -Wl when passing flags to the linker.
2821 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
2822 doesn't have one of its own.
2824 o Simo Sorce <idra@samba.org>
2825 * Fixup compile issues on AIX caused by broken strlen() and
2827 * Update debian packaging files.
2830 o Dimitri van der Spek <dwspek@aboveit.nl>
2831 * Use the correct counter when copying group rids from the
2832 user_info3 struct in pam_winbind.
2835 o Qiao Yang <qyang@stbernard.com>
2836 * BUG 1622: Only cache the user
2839 --------------------------------------------------
2841 =============================
2842 Release Notes for Samba 3.0.6
2844 =============================
2846 Common bugs fixed in 3.0.6 include:
2848 o Schannel failure in winbindd.
2849 o Numerous memory leaks.
2850 o Incompatibilities between the 'write list' and 'force user'
2852 o Premature optimization of the open_directory() internal
2853 function that broke tools such as the ArcServe backup
2854 agent, Macromedia HomeSite, and Robocopy.
2855 o Corrupt workgroup names in nmbd's browse.dat.
2856 o Sharing violation errors commonly seen when opening
2857 when serving Microsoft Office documents from a Samba
2859 o Browsing problems caused by an apostrophe (') in the
2860 computer's description field.
2861 o Problems creating special file types from UNIX CIFS
2862 clients and enabling 'unix extensions'.
2863 o Fix stalls in smbd caused by inaccessible LDAP servers.
2864 o Remove various memory leaks.
2865 o Fix issues in the password lockout feature.
2867 New features introduced in this release include:
2869 O Support symlinks created by CIFS clients which
2870 can be followed on the server.
2871 o Using a cups server other than localhost.
2872 o Maintaining the service principal entry in the system
2873 keytab for integration with other kerberized services.
2874 Please refer to the 'use kerberos keytab' entry in
2875 smb.conf(5). When using the heimdal kerberos libraries,
2876 you must also specify the following in /etc/krb5.conf:
2878 default_keytab_name = FILE:/etc/krb5.keytab
2879 o Support for maintaining individual printer names
2880 stored separately from the printer's sharename.
2881 o Support for maintaining user password history.
2882 o Support for honoring the logon times for user in a
2886 ============================================
2887 unix extensions = yes (default) and symlinks
2888 ============================================
2890 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
2891 clients supporting the UNIX extensions to the CIFS protocol
2892 can create symlinks to absolute paths which will be **followed**
2893 by the server. This functionality has been requested in order
2894 to correctly support certain applications when the user's home
2895 directory is mounted using some type of CIFS client (e.g. the
2896 cifsvfs in the Linux 2.6 kernel).
2898 If this behavior is not acceptable for your production environment
2899 you can set 'wide links = no' in the specific share declaration in
2900 the server's smb.conf. Be aware that disabling wide link support
2901 out of a share in Samba may impact the server's performance due
2902 to the fact that smbd will now have to check each path additional
2903 times before traversing it.
2906 ========================
2907 Password History Support
2908 ========================
2910 The new password history feature allows smbd to check the new
2911 password in password change requests against a list of the user's
2912 previous passwords. The number of previous passwords to save can
2913 be set using pdbedit (4 in this example):
2915 root# pdbedit -P "password history" -C 4
2917 When using the ldapsam passdb backend, it is vital to secure the
2918 following attributes from access by non-administrative users:
2922 * sambaPasswordHistory
2924 You should refer to your directory server's documentation on how
2925 to implement this restriction.
2934 Parameter Name Action
2935 -------------- ------
2937 defer sharing violations New
2938 force unknown acl user New
2940 printcap cache time New
2941 use kerberos keytab New
2945 o Jeremy Allison <jra@samba.org>
2946 * Correct path parsing bug that broke DeletePrinterDriverEx().
2947 * Fix bugs in check_path_syntax() caught by asserts.
2948 * Internal change - rearrange internal global case setting
2949 variables to a per connection basis.
2950 * BUG 1345: Fix premature optimization in unix_convert().
2951 * Allow clients to truncate a locked file.
2952 * BUG 1319: Always check to see if a user as write access
2953 to a share, even when 'force user' is set.
2954 * Fix specific case of open that doesn't cause oplock break,
2955 or share mode check.
2956 * Correct sid type is WKN_GROUP, not alias. Added some
2957 more known types (inspired by patch from Jianliang Lu).
2958 * Allow creation of absolute symlink paths via CIFS clients.
2959 * Fix charset bug in when invoking send_mailslot().
2960 * When using widelinks = no, use realpath to canonicalize
2961 the connection path on connection create for the user.
2962 * Enhance stat open code.
2963 * Fix unix extensions mknod code path.
2964 * Allow unix domain socket creation via unix extensions.
2965 * Auto disable the 'store dos attribute' parameter if the
2966 underlying filesystem doesn't support EAs.
2967 * Implement deferred open code to fix a bug with Excel files
2969 * BUG 1427: Catch bad path errors at the right point. Ensure
2970 all our pathname parsing is consistent.
2971 * Fix SMB signing error introduced by the new deferred open
2973 * Change default setting for case sensitivity to "auto". (see
2974 commit message -- r1154 -- for details).
2975 * Add new remote client arch -- CIFSFS.
2976 * Allow smbd to maintain the service principal entry in the
2977 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
2978 Guenther Deschner, et. al.).
2979 * Fix longstanding memleak bug with logfile name.
2980 * Fix incorrect type in printer publishing (struct uuid,
2982 * Heimdal compile fixes after introduction of the new ketyab
2984 * Ensure we check attributes correctly on rename request.
2985 * Ensure we defer a sharing violation on rename correctly.
2986 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
2988 * Fix bogus error message when using "mangling method = hash"
2990 * Turn on sendfile by default for non-Win9x clients.
2991 * Handle non-io opens that cause oplock breaks correctly.
2992 * Ensure ldap replication sleep time is not more than 5 seconds.
2993 * Add support for storing a user's password history.
2994 LDAP portion of the code was based on a patch from
2995 Jianliang Lu <j.lu@tiesse.com>.
2996 * Correct memory leaks found in the password change code.
2997 * Fix support for the mknod command with the Linux CIFS client.
2998 * Remove support for passing the new password to smbpasswd
2999 on the command line without using the -s option.
3000 * Ensure home directory service number is correctly reused
3001 (inspired by patches from Michael Collin Nielsen
3002 <michael@hum.aau.dk>).
3003 * Fix to stop printing accounts from resetting the bas
3004 password and account lockout flags.
3005 * If a account was locked out by an admin (and has a bad
3006 password count of zero) leave it locked out until an admin
3007 unlocks it (but log a message).
3008 * Ensure we return the same ACL revision on the wire that
3010 * BUG 1578: Hardcode replacement for invalid characters as '_'
3011 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3012 * Fix hashed password history for LDAP backends.
3013 * Enforce logon hours restrictions if confiogured (based on code
3014 from Richard Renard <rrenard@idealx.com>).
3015 * BUG 1606: Force smbd to disable sendfile with DOS clients
3016 and ensure that the chained header is filled in for ...&X
3018 * BUG 1602: Fix access to shares when all symlink support
3023 o Tom Alsberg <alsbergt@cs.huji.ac.il>
3024 * Allow pdbedit to export a single user from a passdb backend.
3027 o Andrew Bartlett <abartlet@samba.org>
3028 * Fix parsing bug in GetDomPwInfo().
3029 * Fix segfault in 'ntlm_auth --diagnostics'.
3030 * Re-enable code to allow sid_to_gid() to perform a group
3031 mapping lookup before checking with winbindd.
3032 * Fix memory leak in the trans2 signing code.
3033 * Allow more flexible GSS-SPENGO client and server operation
3035 * Improve smbd's internal random number generation.
3036 * Fix a few outstanding long password changes in smbd.
3037 * Fix LANMAN2 session setup code.
3040 o Eric Boehm <boehm@nortelnetworks.com>
3041 BUG 703: Final touches on netgroup case lookups.
3044 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
3045 * Ensure error status codes don't get overwritten in
3046 lsa_lookup_sids() server code.
3047 * Correct bug that caused smbd to overwrite certain error
3048 codes when returning up the call stack.
3049 * Ensure the correct sid type returned for builtin sids.
3052 o Gerald Carter <jerry@samba.org>
3053 * Fix a few bugs in the Fedora Packaging files.
3054 * Fix for setting the called name to by our IP if the
3055 called name was *SMBSERVER and *SMBSERV. Fixes issue
3056 with connecting to printers via \\ip.ad.dr.ess\printer
3058 * BUG 1315: fix for schannel client connections to servers
3059 when we haven't specifically negotiated AUTH_PIPE_SEAL.
3060 * Allow PrinterDriverData valuenames with embedded backslashes
3061 (Fixes bug with one of the Konica Fiery drivers).
3062 * Fixed string length miscalculation in netbios names that
3063 resulted in corrupt workgroup names in browse.dat.
3064 * When running smbd as a daemon, launch child smbd to update
3065 the lpq cache listing in the background.
3066 * Allow printers "Printers..." folder to be renamed to a string
3067 other than the share name.
3068 * Allow winbindd to use domain trust account passwords when
3069 running on a Samba DC to establish an schannel to remote
3071 * Fix bad merge and ensure that we always use tdb_open_log()
3072 instead of tdb_open_ex() (the former call enforce the 'use
3074 * BUG 1221: revert old change that used single and double
3075 quotes as delimeters in next_token(), and change
3076 print_parameter() to print out parm values surrounded by
3077 double quotes (instead of single quotes).
3078 * Prevent home directories added during the SMBsesssetup&X from
3079 being removed as unused services.
3080 * Invalidate the print object cache for open printer handles when
3081 smbd receives a message that an attribute on a given printer
3083 * Cause the configure script to exit if --enable-cups[=yes] is
3084 defined and the system does not have the cups devel files
3086 * BUG 1297: Prevent map_username() from being called twice
3088 * Ensure that we use the userPrincipalName AD attribute
3089 value for LDAP SASL binds.
3090 * Ensure we remove the tdb entry when deleting a job that
3092 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
3093 client sends a FindNextPrintChangeNotify() request without
3094 previously sending a FindFirstPrintChangeNotify(). Return
3095 the same error code as Windows 2000 SP4.
3096 * BUG 1516: Manually declare ldap_open_with_timeout() to
3097 workaround compiler errors on IRIX (or other systems without
3099 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
3101 * Corrected syntax error in the OID for sambaUnixIdPool,
3102 sambaSidEntry, & sambaIdmapEntry object classes.
3103 * Tighten the cache consistency with the ntprinters.tdb entry
3104 an the in memory cache associated with open printer handles.
3105 * Make sure that register_messages_flags() doesn't overwrite
3106 the originally registered flags.
3109 o Fabien Chevalier <fabien.chevalier@supelec.fr>
3110 * Debian BUG 252591: Ensure that the return value from the
3111 number of available interfaces is initialized in case no
3112 interfaces are actually available.
3115 o Guenther Deschner <gd@sernet.de>
3116 * Implement 'rpcclient setprintername'.
3117 * Add local groups to the user's NT_TOKEN since they are
3118 actually supported now.
3119 * Heimdal compile fixes after introduction of the new keytab
3121 * Correctly honor the info level parameter in 'rpcclient
3123 * Reintroduce 'force unknown acl user' parameter. When getting a
3124 security descriptor for a file, if the owner sid is not known,
3125 the owner uid is set to the current uid. Same for group sid.
3126 * Ensure that REG_SZ values in the SetPrinterData actually
3127 get written in UNICODE strings rather than ASCII.
3128 * Ensure that the last kerberos error return is not invalid.
3129 * Display share ACL entries from rpcclient.
3130 * Correct infinite loop in pam_winbind's verification of
3131 group membership in the 'other sids' field in the user_info3
3135 o Fabian Franz <FabianFranz@gmx.de>
3136 * Support specifying a port in the device URL passed to smbspool.
3139 o Steve French <sfrench@us.ibm.com>
3140 * Handle -S and user mount parms in mount.cifs.
3141 * Fix user unmount of shares mount with suid mount.cifs.
3142 * prevent infinite recusion in reopen_logs() when expanding
3143 the smb.conf variable %I.
3146 o Bjoern Jacke <bj@sernet.de>
3147 * Install libsmbclient into $(LIBDIR), not into hard coded
3148 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
3149 and an explicit configure --libdir setting.
3152 o <kawasa_r@itg.hitachi.co.jp>
3153 * Correct more memory leaks and initialization bugs.
3154 * Fix bug that prevented core dumps from being generated
3156 * Connect to the winbind pipe in non-blocking mode to
3157 prevent processes from hanging.
3158 * Memory leak fixes.
3161 o Stephan Kulow <coolo@suse.de>
3162 * Fix crash bug in libsmbclient.
3165 o Volker Lendecke <vl@samba.org>
3166 * Added vfs_full_audit module.
3167 * Add vfs_afsacl.c which can display & set AFS acls via
3168 the NT security editor.
3169 * Fix crash bug caused by trying to Base64 encode a NULL string.
3170 * Fix DOS error code bug in reply_chkpath().
3171 * Correct misunderstanding of the max_size field in
3172 cli_samr_enum_als_groups; it is more like an account_control
3173 field with individual bits what to retrieve.
3174 * Implement 'net rpc group rename' -- rename domain groups.
3175 * Implement the 'cups server' option. This makes it possible
3176 to have virtual smbd's connect to different cups daemons.
3177 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3178 * Fix sid_to_gid() calls in winbindd to prevent loops.
3179 * Ensure that local_sid_to_gid() sets the type of the group on
3181 * Make sure that the clients are given back the IP address to
3182 which they connected in the case of a multi-homed host. Only
3183 affects strings the spoolss printing replies.
3184 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3185 did not ask for the modifyTimestamp attribute, so it could
3186 not find it. Try not to regress by not putting that attrib
3187 in the main list but append it manually for the relevant searches.
3188 * Fix two memleaks in login_cache.c.
3189 * fixes memory bloat when unmarshalling strings.
3190 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3191 * Fix the build for systems without kerberos headers.
3192 * Allow winbindd to handle authentication requests only when
3193 started without either an 'idmap uid' or 'idmap gid' range.
3194 * Fix the build for systems without ldap headers.
3195 * Fix interaction between share security descriptor and the
3196 'read only' smb.conf option.
3197 * Fix bug that caused _samr_lookupsids() with more than 32 (
3198 MAX_REF_DOMAINS) SIDs to fail.
3199 * Allow the 'idmap backend' parameter to accept a list of
3200 LDAP servers for failover purposes.
3201 * Revert code in smbd to remove a tdb when it has become
3203 * Add paranoid checks when mapping SIDs to a uid/gid to
3204 ensure that the type is correct.
3205 * Initial work on getting client support for sending mailslot
3207 * Add 'ldap timeout' parameter.
3208 * Dont always uppercase 'afs username map'.
3209 * Expand aliases for getusersids as well.
3210 * Improved NT->AFS ACL mapping VFS module.
3213 o Herb Lewis <herb@samba.org>
3214 * Add the acls debug class.
3215 * Fix logic bug in netbios name truncate routine.
3216 * Fix smbd crash caused by smbtorture IOCTL test.
3217 * Fix errno tromping before calling iconv to reset the
3219 * need to leave empty dacl so we can remove last ACE.
3222 o Jianliang Lu <Jianliang.Lu@getronics.com>
3223 * Fix to stop smbd hanging on missing group member in
3225 * Make sure Samba returns the correct group types.
3226 * Reset the bad password count password counts upon a successful login.
3229 o Jason Mader <jason@ncac.gwu.edu>
3230 * BUG 1385: Don't use non-consts in a structure initialization.
3233 o Jim McDonough <jmcd@us.ibm.com>
3234 * BUG 1279: SMBjobid fix for Samba print servers running on
3235 Big-Endian platforms.
3238 o Joe Meadows <jameadows@webopolis.com>
3239 * Add optional timeout parameter to ldap open calls.
3240 * Allow get_dc_list() to check the negative cache.
3243 o Stefan Metzmacher <metze@samba.org>
3244 * fix a configure logic bug for linux/XFS quotas when
3245 using --with-sys-quotas.
3246 * Use quota debug class in quota code.
3247 * print out the SVN revision by configure,
3250 o Buchan Milne <bgmilne@mandrake.org>
3251 * Mandrake packaging fixes.
3254 o Lars Mueller <lmuelle@samba.org>
3255 * BUG 1279: Added 'printcap cache time' parameter.
3256 * Fix afs related build issues on SuSE.
3257 * Fix compiler warnings in the kerberos client code.
3260 o James Peach <jpeach@sgi.com>
3261 * More iconv detection fixes for IRIX.
3262 * Compile fixed for systems that do not have C99/UNIX98 compliant
3263 vsnprintf by default.
3264 * Prevent smbd from attempting to use sendfile at all if it is
3265 not supported by the server's OS.
3266 * Allow SWAT to search for index.html when serving html files
3271 * Implement NFS quota support on FreeBSD.
3274 o Tim Potter <tpot@samba.org>
3275 * BUG 1360: Use -Bsymbolic when creating shared libraries to
3276 avoid conflicts with identical symbols in the global namespace
3277 when loading libnss_wins.so.
3280 o Richard Renard <rrenard@idealx.com>
3281 * Save the current password as it is being changed into the
3282 password history list.
3285 o Richard Sharpe <rsharpe@samba.org>
3286 * Fix error return codes on some lock messages.
3287 * BUG 1178: Make the libsmbclient routines callable
3289 * BUG 1333: Make sure we return an error code when
3291 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
3292 share mode locking requests fail.
3295 o Simo Sorce <idra@samba.org>
3296 * Update Debian stable & unstable packaging.
3297 * Tidy up parametric options in testparm output.
3300 o Richard Sharpe <rsharpe@samba.org>
3301 * Add sigchild handling to winbindd to restart the child
3302 daemon if necessary.
3305 o Tom Shaw <tomisfaraway@gmail.com>
3306 * Use winbindd_fill_pwent() consistently.
3309 o Nick Thompson <nickthompson@agere.com>
3310 * Protect smbd against broken filesystems which return zero
3314 o Andrew Tridgell <tridge@samba.org>
3315 * Fixed bug in handling of timeout in socket connections.
3318 o Nick Wellnhofer <wellnhofer@aevum.de>
3319 * Prevent lp_interfaces() list from being corrupted. Fixes
3320 bug where nmbd would lose the list of network interfaces
3321 on the system and consequently shutdown.
3324 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3325 * Fix ntlm_auth memory leaks.
3328 o Jelmer Vernooij <jelmer@samba.org>
3329 * Additional NT status to unix error mappings.
3330 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
3331 get duplicate symbol errors.
3332 * Return an error when the last command read from stdin
3334 * Prepare for better error checking in tar.
3335 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3338 --------------------------------------------------
3340 =============================
3341 Release Notes for Samba 3.0.5
3343 =============================
3345 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
3346 the exception of correcting the two security issues outlined
3349 ######################## SECURITY RELEASE ########################
3351 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
3352 CVE ID: CAN-2004-0600, CAN-2004-0686
3353 (http://cve.mitre.org/)
3356 This is the latest stable release of Samba. This is the version
3357 that production Samba servers should be running for all current
3360 It has been confirmed that versions of Samba 3 prior to v3.0.4
3361 are vulnerable to two potential buffer overruns. The individual
3362 details are given below.
3368 Affected Versions: Samba 3.0.2 and later
3370 The internal routine used by the Samba Web Administration
3371 Tool (SWAT v3.0.2 and later) to decode the base64 data
3372 during HTTP basic authentication is subject to a buffer
3373 overrun caused by an invalid base64 character. It is
3374 recommended that all Samba v3.0.2 or later installations
3375 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3376 the swat administration service as a temporary workaround.
3378 This same code is used internally to decode the
3379 sambaMungedDial attribute value when using the ldapsam
3380 passdb backend. While we do not believe that the base64
3381 decoding routines used by the ldapsam passdb backend can
3382 be exploited, sites using an LDAP directory service with
3383 Samba are strongly encouraged to verify that the DIT only
3384 allows write access to sambaSamAccount attributes by a
3385 sufficiently authorized user.
3387 The Samba Team would like to heartily thank Evgeny Demidov
3388 for analyzing and reporting this bug.
3394 Affected Versions: Samba 3.0.0 and later
3396 A buffer overrun has been located in the code used to support
3397 the 'mangling method = hash' smb.conf option. Please be aware
3398 that the default setting for this parameter is 'mangling method
3399 = hash2' and therefore not vulnerable.
3401 Affected Samba 3 installations can avoid this possible security
3402 bug by using the default hash2 mangling method. Server
3403 installations requiring the hash mangling method are encouraged
3404 to upgrade to Samba 3.0.5.
3407 ##################################################################
3409 --------------------------------------------------
3411 =============================
3412 Release Notes for Samba 3.0.4
3414 =============================
3416 Common bugs fixed in Samba 3.0.4 include:
3418 o Password changing after applying the patch described in
3419 the Microsoft KB828741 article to Windows clients.
3421 o Managing print jobs via Windows on Big-Endian servers.
3422 o Several memory leaks in winbindd and smbd.
3423 o Compile issues on AIX and *BSD.
3426 --------------------
3431 o Jeremy Allison <jra@samba.org>
3432 * Fix path processing for DeletePrinterDriverEx().
3433 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
3437 o Andrew Bartlett <abartlet@samba.org>
3438 * Fix alignment bug in GetDomPwInfo().
3441 o Alexander Bokovoy <ab@samba.org>
3442 * Fix utime[s]() issues in smbwrapper on systems
3443 that can boot both the 2.4 and 2.6 Linux kernels.
3446 o Gerald Carter <jerry@samba.org>
3447 * Fedora packaging fixes.
3448 * BUG 1302: Fix seg fault by not trying to optimize a list of
3449 invalid gids using the wrong array size.
3450 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3451 seen when 'security = share'.
3452 * Fix problems when using IBM's compiler on AIX.
3453 * Link Developer's Guide, Example Guide, and multi-page HOWTO
3454 into SWAT's welcome page.
3455 * BUG 1293: fix double free in printer publishing code.
3458 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3459 * Fix for handling timeouts in socket connections.
3462 o Michel Gravey <michel.gravey@optogone.com>
3463 * BUG 483: patch from to fix password hash creation in SWAT.
3466 o Volker Lendecke <vl@samba.org>
3467 * Close the open NT pipes before the tdis.
3468 * Fix AFS related build issues.
3469 * Handle error conditions when base64 encoding a blob of 0 bytes.
3472 o Herb Lewis <herb@samba.org>
3473 * Added 'acls' debug class.
3475 o kawasa_r@itg.hitachi.co.jp
3476 * Multiple variable initialization and memory leak fixes.
3479 o Stephan Kulow <coolo@suse.de>
3480 * Fix string length bug in libsmbclient that caused KDE's
3482 * BUG 429: More libsmbclient fixes.
3485 o Jim McDonough <jmcd@us.ibm.com>
3486 * BUG 1007, 1279: Store the print job using a little-endian key.
3490 o Compile fix for OpenBSD (ENOTSUP not supported).
3493 o Stefan Metzmacher <metze@samba.org>
3494 * Correct bug in disks quota views from explorer.
3497 o Tim Potter <tpot@samba.org>
3498 BUG 1305: Correct debug output.
3501 o Richard Sharpe <rsharpe@samba.org>
3502 * Fix incorrect error code mapping.
3505 o Jelmer Vernooij <jelmer@samba.org>
3506 * Add additional NT_STATUS errorm mappings.
3509 --------------------------------------------------
3511 =============================
3512 Release Notes for Samba 3.0.3
3514 =============================
3517 Common bugs fixed in Samba 3.0.3 include:
3519 o Crash bugs and change notify issues in Samba's printing code.
3520 o Honoring secondary group membership on domain member servers.
3521 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3522 o Substitution errors for %[UuGg] in smb.conf.
3523 o winbindd crashes when using ADS security mode.
3524 o SMB signing errors.
3525 o Delays in winbindd startup caused by unnecessary
3526 connections to trusted domain controllers.
3527 o Various small memory leaks.
3528 o Winbindd failing due to expired Kerberos tickets.
3530 New features introduced in Samba 3.0.3 include:
3532 o Improved support for i18n character sets.
3533 o Support for account lockout policy based on
3534 bad password attempts.
3535 o Improved support for long password changes (>14
3536 characters) and strong password enforcement.
3537 o Support for Windows aliases (i.e. nested groups).
3538 o Experimental support for storing DOS attribute on files
3539 and folders in Extended Attributes.
3540 o Support for local nested groups via winbindd.
3541 o Specifying options to be passed directly to the CUPS libraries.
3543 Please be aware that the Samba source code repository was
3544 migrated from CVS to Subversion on April 4, 2004. Details on
3545 accessing the Samba source tree via anonymous svn can be found
3546 at http://svn.samba.org/samba/subversion.html.
3549 Changes since 3.0.2a
3550 --------------------
3554 Parameter Name Action
3555 -------------- ------
3558 only user Deprecated
3559 store dos attributes New
3561 winbind nested groups New
3567 o Jeremy Allison <jra@samba.org>
3568 * Ensure that Kerberos mutex is always properly unlocked.
3569 * Removed Heimdal "in-memory keytab" support.
3570 * Fixup the 'multiple-vuids' bugs in our server code.
3571 * Correct return code from lsa_lookup_sids() on unmapped
3572 sids (based on work by vl@samba.org).
3573 * Fix the "too many fcntl locks" scalability problem
3575 * Fixup correct (as per W2K3) returns for lookupsids
3576 as well as lookupnames.
3577 * Fixups for delete-on-close semantics as per Win2k3 behavior.
3578 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3579 * Fix "unable to initialize" bug when smbd hasn't been run with
3580 new system and a user is being added via pdbedit/smbpasswd.
3581 * Added NTrename SMB (0xA5).
3582 * Fixup correct timeout values for blocking lock timeouts.
3583 * Fix various bugs reported by 'gentest'.
3584 * More locking fixes in the case where we own the lock.
3585 * Fix up regression in IS_NAME_VALID and renames.
3586 * Don't set allocation size on directories.
3587 * Return correct error code on fail if file exists and target
3589 * Added client "hardlink" comment to test doing NT rename with
3590 hard links. Added hardlink_internals() code - UNIX extensions
3591 now use this as well.
3592 * Use a common function to parse all pathnames from the wire for
3593 much closer emulation of Win2k3 error return codes.
3594 * Implement check_path_syntax() and rewrite string sub
3595 functions for better multibyte support.
3596 * Ensure msdfs referrals are multibyte safe.
3597 * Allow msdfs symlink syntax to be more forgiving.
3598 eg. sym_link -> msdfs://server/share/path/in/share
3599 or sym_link -> msdfs:\\server\share\path\in\share.
3600 * Cleanup multibyte netbios name support in nmbd ( based on patch
3601 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3602 * Fix check_path_syntax() for multibyte encodings which have
3603 no '\' as second byte (based on work by ab@samba.org.
3604 * Fix the "dfs self-referrals as anonymous user" problem
3605 (based on patch from vl@samba.org).
3606 * BUG 1064: Ensure truncate attribute checking is done correctly
3607 on "hidden" dot files.
3608 * Fix bug in anonymous dfs self-referrals again.
3609 * Fix get/set of EA's in client library
3610 * Added support for OS/2 EA's in smbd server.
3611 * Added 'ea support' parameter to smb.conf.
3612 * Added 'store dos attributes' parameter to smb.conf.
3613 * Fix wildcard identical rename.
3614 * Fix reply_ctemp - make compatible with w2k3.
3615 * Fix wildcard unlink.
3616 * Fix wildcard src with wildcard dest renames.
3617 * BUG 1139: Fix based on suggestion by jdev@panix.com.
3618 swap lookups for user and group - group will do an
3619 algorithmic lookup if it fails, user won't.
3620 * Make EA's lookups case independent.
3621 * Fix SETPATHINFO in 'unix extensions' support.
3622 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
3623 the UNIX info levels, and the short case preserve names.
3626 o Timur Bakeyev <timur@com.bat.ru>
3627 * BUG 1144: only set --with-fhs when the argument is 'yes'
3628 * BUG 1152: Allow python modules to build despite libraries added
3629 to LDFLAGS instead of LDPATH.
3630 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3633 o Craig Barratt <cbarratt@users.sourceforge.net>
3634 * BUG 389: Allow multiple exclude arguments with smbclient
3635 tar -Xr options (better support for Amanda backup client).
3638 o Andrew Bartlett <abartlet@samba.org>
3639 * Include support for linking with cracklib for enforcing strong
3641 * Add support for >14 character password changes from Windows
3643 * Add 'admin set password' capability to 'net rpc'.
3644 * Allow 'net rpc samdump' to work with any joined domain
3645 regardless of smb.conf settings.
3646 * Use an allocated buffer for count_chars.
3647 * Add sanity checks for changes in the domain SID in an
3649 * Implement python unit tests for Samba's multibyte string
3651 * Remove 'unicode' smb.conf option.
3652 * BUG 1138: Fix support for 'optional' SMB signing and other
3654 * BUG 169: Fix NTLMv2-only behavior.
3655 * Ensure 'net' honors the 'netbios name' in the smb.conf by
3657 * Support SMB signing on connections using only the LANMAN
3658 password and generate the correct the 'session key' for these
3660 * Implement --required-membership-of=, an ntlm_auth option
3661 that restricts all authentication to members of this particular
3663 * Improve our fall back code for password changes.
3664 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
3665 after the server had said something (such as an error).
3666 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3669 o Alexander Bokovoy <ab@samba.org>
3670 * Fix incorrect size calculation of the directory name
3672 * Fix problems with very long filenames in both smbd and smbclient
3673 caused by truncating paths during character conversions.
3674 * Fix smbfs problem with Tree Disconnect issued before smbfs
3678 o Gerald Carter <jerry@samba.org>
3679 * BUG 850: Fix 'make installmodules' bug on True64.
3680 * BUG 66: mark 'only user' deprecated.
3681 * Remove corrupt tdb and shutdown (only for printing tdbs,
3682 connections, sessionid & locking).
3683 * decrement smbd counter in connections.tdb in smb_panic().
3684 * RedHat specfile updates.
3685 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3686 * BUG 1147; bad pointer case in get_stored_queue_info()
3688 * BUG 761: read the config file before initialized default
3689 values for printing options; don't default to bsd printing
3691 * Allow the 'printing' parameter to be set on a per share basis.
3692 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3693 * BUG 848: don't create winbind local users/groups that already
3695 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
3697 * BUG 488: fix the 'show client in col 1' button and correctly
3698 enumerate active connections.
3699 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
3700 problem when storing the updating pid for the lpq cache.
3701 * BUG 1007 (partial): Fix print change notify bugs.
3702 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
3703 and winbind use default domain = yes. Also ensures that
3704 * BUG 1151: Ensure that winbindd users are passed through
3706 * Fix client rpc binds for ASU derived servers (pc netlink,
3708 * BUG 417, 1128: Ensure that the current_user_info is set
3709 consistently so that %[UuGg] is expanded correctly.
3710 * BUG 1195: Fix crash in winbindd when the ADS server is
3712 * BUG 1185: Set reconnect time to be the same as the
3713 'winbind cache time'.
3714 * Ensure that we return the sec_desc in smb_io_printer_info_2.
3715 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3716 * BUG 1095: Honor the '-l' option in smbclient.
3717 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
3719 * Ensure server schannel uses the auth level requested by the
3721 * Removed --with-cracklib option due to potential crash issue.
3722 * Fix -lcrypto linking problem with wbinfo.
3723 * BUG 761: allow printing parameter to set defaults on a per
3725 * Add 'cups options' parameter to allow raw printing without
3726 changing /etc/cups/cupsd.conf.
3727 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
3729 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3730 * BUG 1288: resolve any machine netbios name (0x00) and not just
3732 * BUG 1199: Fix potential symlink issue in
3733 examples/printing/smbprint.
3736 o Robert Dahlem <Robert.Dahlem@gmx.net>
3737 * BUG 1048: Don't return short names when when 'mangled names = no'
3740 o Guenther Deschner <gd@suse.com>
3741 * Remove hard coded attribute name in the ads ranged retrieval
3743 * Add --with-libdir and --with-mandir to autoconf script.
3746 o Bostjan Golob <golob@gimb.org>
3747 * BUG 1046: Fix getpwent_list() so that the username is not
3748 overwritten by other fields.
3751 o Landon Fuller <landonf@opendarwin.org>
3752 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
3753 to fix user/group enumeration on systems whose libc does not
3754 call setgrent() before trying to enumerate users (i.e.
3758 o Steve French <sfrench@us.ibm.com>
3759 * Update mount.cifs to version 1.1.
3760 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3761 * Fixes to minor security bug in the mount helper.
3762 * Fix credential file mounting for cifs vfs.
3763 * Fix free of incremented pointer in cifsvfs mount helper.
3764 * Fix path canonicalization of the mount target path and help
3765 text display in the cifs mount helper.
3766 * Add missing guest mount option for mount.cifs.
3769 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3770 * BUG 1055; formatting fixes for 'net share'.
3771 * BUG 692: correct truncation of share names and workgroup
3773 * BUG 1088: use strchr_m() for query_host (smbclient -L).
3774 * Patch from to internally count characters correctly.
3777 o Paul Green <paulg@samba.org>
3778 * Update VOS _POSIX_C_SOURCE macro to 200112L.
3779 * Fix bug in configure.ion by moving the first use of
3780 AC_CHECK_HEADERS so it is always executed.
3781 * Fix configure.in to only use $BLDSHARED to select whether to
3782 build static or shared libraries.
3785 o Pat Haywarrd <Pat.Hayward@propero.net>
3786 * Make the session_users list dynamic (max of 128K).
3789 o Cal Heldenbrand <calzplace@yahoo.com>
3790 * Fix for for 'pam_smbpass migrate' functionality.
3793 o Chris Hertel <crh@samba.org>
3794 * fix enumeration of shares 12 characters in length via
3798 o Ulrich Holeschak <ulrich@holeschak.de>
3799 * BUG 932: fix local password change using pam_smbpass
3802 o Krischan Jodies <kj@sernet.de>
3803 * Implement 'net rpc group delete'
3806 o John Klinger <john.klinger@lmco.com>
3807 * Return NSS_SUCCESS once the max number of gids possible
3808 has been found in initgroups() on Solaris.
3809 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
3812 o Volker Lendecke <vl@samba.org>
3813 * Fix success message for net groupmap modify.
3814 * Fix errors when enumerating members of groups in 'net rpc'.
3815 * Match Windows behavior in samr_lookup_names() by returning
3816 ALIAS(4) when you search in BUILTIN.
3817 * Fix server SAMR code to be able to set alias info for
3819 * Fix duplication of logic when creating groups via smbd.
3820 * Ensure that the HWM values are set correctly after running
3822 * Add 'net rpc group add'.
3823 * Implement 'net groupmap set' and 'net groupmap cleanup'.
3824 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
3825 * Fix wb_delgrpmem (wbinfo -o).
3826 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
3827 * Fix sambaUserWorkstations on a Samba DC.
3828 * Implement wbinfo -k: Have winbind generate an AFS token after
3829 authenticating the user.
3830 * Add expand_msdfs VFS module for providing referrals based on the
3831 the client's IP address.
3832 * Implement client side NETLOGON GetDCName function.
3833 * Fix caching of name->sid lookups.
3834 * Add support in winbindd for expanding nested local groups.
3835 * Fix memleak in winbindd.
3837 * Don't list domain groups from BUILTIN.
3838 * Fix memleak in policy handle utility functions.
3839 * Decrease winbindd startup time by only contacting trusted
3840 domains as necessary.
3841 * Allow winbindd to ask the DC for its domain for a trusted
3843 * Fix Netscape DS schema based on comments from
3844 <thomas.mueller@christ-wasser.de>.
3845 * Correct case where adding a domain user to a XP local group
3846 did a lsalookupname on the user without domain prefix, and
3848 * Fix segfault in winbindd caused by 'wbinfo -a'.
3851 o Herb Lewis <herb@samba.org>
3852 * Fix typo for tag in proto file.
3853 * Add missing #ifdef HAVE_BICONV stuff.
3854 * Truncate Samba's netbios name at the first '.' (not
3858 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
3859 * Bug fixes and enhancements to libsmbclient library.
3862 o Jianliang Lu <j.lu@tiesse.com>
3863 * Enforce the 'user must change password at next login' flag.
3864 * Decode meaning of 'fields present' flags (improves support
3867 * Don't force an upper case domain name in the ntlmssp code.
3870 o L. Lucius <ib@digicron.com>.
3874 o Jim McDonough <jmcd@us.ibm.com>
3875 * Add versioning support to tdbsam.
3876 * Update the IBM Directory Server schema with the OpenLDAP
3878 * Various decoding fixes to improve usrmgr.exe support.
3879 * Fix statfs redeclaration of statfs struct on ppc
3880 * Implement support for password lockout of Samba domain
3881 controllers and standalone servers.
3882 * Get MungedDial attribute actually working with full TS
3883 strings in it for pdb_ldap.
3884 * BUG 1208 (partial): Improvements for working with expired krb5
3885 tickets in winbindd.
3886 * Use timegm, or our already existing replacement instead of
3887 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3888 * Remove modifyTimestamp from list of our attributes.
3889 * Fix lsalookupnames to check for domain users as well as local
3891 * Merge struct uuid replacement for GUID from trunk.
3892 * BUG 1208: Finish support for handling expired tickets in
3893 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3896 o Stefan Metzmacher <metze@samba.org>
3897 * Implement new VERSION schema based on subversion revision
3899 * Add shadow_copy vfs module.
3900 * Fix segault in login_cache support.
3903 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3904 o BUG 979 -- Fix quota display on AIX.
3907 o James Peach <jpeach@sgi.com>
3908 * Correct check for printf() format when using the SGI MIPSPro
3910 * BUG 1038: support backtrace for 'panic action' on IRIX.
3911 * BUG 768: Accept profileing arg to IRIX init script.
3912 * BUG 748: Relax arg parsing to sambalp script (IRIX).
3913 * BUG 758: Fix pdma build.
3914 * Search IRIX ABI paths for libiconv. Based on initial fix from
3918 o Kurt Pfeifle <kpfeifle@danka.de>
3919 * Add example shell script for migrating drivers and printers
3920 from a Windows print server to a Samba print server using
3921 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3924 o Tim Potter <tpot@samba.org>
3925 * Fix logic bug in tdb non-blocking lock routines when
3927 * BUG 1025: Include sys/acl.h in check for broken nisplus
3929 * BUG 1066: s/printf/d_printf/g in SWAT.
3930 * BUG 1098: rename internal msleep() function to fix build
3932 * BUG 1112: Fix for writable printerdata problem in python bindings.
3933 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3934 * BUG 1155: enclose use of fchown() with guards.
3935 * Relicense tdb python module as LGPL.
3938 o Richard Sharpe <rsharpe@samba.org>
3939 * Add support to smbclient for multiple logins on the same
3940 session (based on work by abartlet@samba.org).
3941 * Correct blocking condition in smbd's use of accept() on IRIX.
3942 * Add support for printing out the MAC address on nmblookup.
3945 o Simo Sorce <idra@samba.org>
3946 * Replace unknown_3 with fields_present in SAMR code.
3947 * More length checks in strlcat().
3950 o Andrew Tridgell <tridge@samba.org>
3951 * Rewrote the AIX UESS backend for winbindd.
3952 * Fixed compilation with --enable-dmalloc.
3953 * Change tdb license to LGPL (see source/tdb/tdb.c).
3954 * Force winbindd to use schannel in clients connections to
3958 o Jelmer Vernooij <jelmer@samba.org>
3959 * Fix ETA Calculation when resuming downloads in smbget.
3960 * Add -O (for writing downloaded files to standard out)
3961 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3962 * Fix syntax error in example mysql table
3965 o TAKEDA yasuma <yasuma@miraclelinux.com>
3966 * BUG 900: fix token processing in cmd_symlink, cmd_link,
3967 cmd_chown, cmd_chmod smbclient functions.
3970 o Shiro Yamada <shiro@miraclelinux.com>
3971 * BUG 1129: install image files for SWAT.
3974 --------------------------------------------------
3976 ==============================
3977 Release Notes for Samba 3.0.2a
3979 ==============================
3981 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3982 to address, in particular, a problem when using pdbedit to
3983 sanitize (--force-initialized-passwords) Samba's tdbsam
3984 backend. This is the latest stable release of Samba. This
3985 is the version that all production Samba servers should be
3986 running for all current bug-fixes.
3988 ******************* Attention! Achtung! Kree! *********************
3990 Beginning with Samba 3.0.2, passwords for accounts with a last
3991 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3992 ldapsam, etc...) of zero (0) will be regarded as uninitialized
3993 strings. This will cause authentication to fail for such
3994 accounts. If you have valid passwords that meet this criteria,
3995 you must update the last change time to a non-zero value. If you
3996 do not, then 'pdbedit --force-initialized-passwords' will disable
3997 these accounts and reset the password hashes to a string of X's.
3999 ******************* Attention! Achtung! Kree! *********************
4008 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4009 details. The list of changes per contributor are as follows:
4012 o Jeremy Allison <jra@samba.org>
4013 * Added paranoia checks in parsing code.
4016 o Andrew Bartlett <abartlet@samba.org>
4017 * Ensure that changes to uninitialized passwords in ldapsam
4018 are written to the DIT.
4021 o Gerald (Jerry) Carter <jerry@samba.org>
4022 * Fixed iterator in tdbsam.
4023 * Fix bug that disabled accounts with a valid NT password
4024 hash, but no LanMan hash.
4027 o Steve French <sfrench@us.ibm.com>
4028 * Added missing nosetuid and noexec options.
4031 o Bostjan Golob <golob@gimb.org>
4032 * BUG 1046: Don't overwrite usernames of entries returned
4036 o Sebastian Krahmer <krahmer@suse.de>
4037 * Fixed potential crash bug in NTLMSSP parsing code.
4040 o Tim Potter <tpot@samba.org>
4041 * Fixed logic in tdb_brlock error checking.
4044 o Urban Widmark <urban@teststation.com>
4045 * Set nosuid,nodev flags in smbmnt by default.
4048 --------------------------------------------------
4050 =============================
4051 Release Notes for Samba 3.0.2
4053 =============================
4055 It has been confirmed that previous versions of Samba 3.0 are
4056 susceptible to a password initialization bug that could grant an
4057 attacker unauthorized access to a user account created by the
4058 mksmbpasswd.sh shell script.
4060 The Common Vulnerabilities and Exposures project (cve.mitre.org)
4061 has assigned the name CAN-2004-0082 to this issue.
4063 Samba administrators not wishing to upgrade to the current
4064 version should download the 3.0.2 release, build the pdbedit
4067 root# pdbedit-3.0.2 --force-initialized-passwords
4069 This will disable all accounts not possessing a valid password
4070 (e.g. the password field has been set a string of X's).
4072 Samba servers running 3.0.2 are not vulnerable to this bug
4073 regardless of whether or not pdbedit has been used to sanitize
4076 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4079 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4080 o Logging onto a Samba domain from Windows XP clients.
4081 o Problems with the %U and %u smb.conf variables in relation to
4082 Windows 9x/ME clients.
4083 o Kerberos failures due to an invalid in memory keytab detection
4085 o Updates to the ntlm_auth tool.
4086 o Fixes for various SMB signing errors.
4087 o Better separation of WINS and DNS queries for domain controllers.
4088 o Issues with nss_winbind FreeBSD and Solaris.
4089 o Several crash bugs in smbd and winbindd.
4090 o Output formatting fixes for smbclient for better compatibility
4091 with scripts based on the 2.2 version.
4100 Parameter Name Action
4101 -------------- ------
4102 ldap replication sleep New
4103 read size removed (unused)
4104 source environment removed (unused)
4110 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4111 details. The list of changes per contributor are as follows:
4113 o Jeremy Allison <jra@samba.org>
4114 * Revert change that broke Exchange clear text samlogons.
4115 * Fix gcc 3.4 warning in MS-DFS code.
4116 * Tidy up of NTLMSSP code.
4117 * Fixes for SMB signing errors
4118 * BUG 815: Workaround NT4 bug to support plaintext
4119 password logins and UNICODE.
4120 * Fix SMB signing bug when copying large files.
4121 * Correct error logic in mkdir_internals() (caused a panic
4122 when combined with --enable-developer).
4123 * BUG 830: Protect against crashes due to bad character
4127 o Petri Asikainen <paca@sci.fi>
4128 * BUG 330, 387:Fix single valued attribute updates when
4129 working with Novell NDS.
4132 o Andrew Bartlett <abartlet@samba.org>
4133 * Correctly handle per-pipe NTLMSSP inside a NULL session.
4134 * Fix segfault in gencache
4135 * Fix early free() of encrypted_session_key.
4136 * Change DC lookup routines to more carefully separate
4137 DNS names (realms) from NetBIOS domain names.
4138 * Add new sid_to_dn() function for internal winbindd use.
4139 * Refactor cli_ds_enum_domain_trusts().
4140 * BUG 707: Implement range retrieval of ADS attributes (based
4141 on work from Volker <vl@samba.org> and Guenther Deschner
4143 * Automatically initialize the signing engine if a session key
4145 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
4146 encoded strings, only form input in SWAT.
4147 * Resets the NTLMSSP state for new negotiate packets.
4148 * Add 2-byte alignments in net_samlogon() queries to parse
4149 odd-length plain text passwords.
4150 * Allow Windows groups with no members in winbindd.
4151 * Allow normal authentication in the absence of a server
4152 generated session key.
4153 * More optimizations for looking up UNIX group lists.
4154 * Clean up error codes and return values for pam_winbindd
4155 and winbindd PAM interface.
4156 * Fix string return values in ntlm_auth tool.
4157 * Fix segfault when 'security = ads' but no realm is defined.
4158 * BUG 722: Allow winbindd to map machine accounts to uids.
4159 * More cleanups for winbindd's find_our_domain().
4160 * More clearly detect whether a domain controller is an NT4
4161 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4162 * Increase separation between DNS queries for hosts and queries
4163 for AD domain controllers.
4164 * Include additional NT_STATUS to PAM error mappings.
4165 * Password initialization fixes.
4168 o Justin Baugh <justin.baugh@request.com>
4169 * BUG 948: Implement missing functions required for FreeBSD
4170 nss_winbind support.
4173 o Alexander Bokovoy <ab@samba.org>
4174 * BUG 922: Make sure enable fast path for strlower_m() and
4178 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4179 * Fix crash when using 'security = server' and 'encrypt
4180 passwords = no' by always initializing the session key.
4183 o Dmitry Butskoj <buc@odusz.elektra.ru>
4184 * Fix for special files being hidden from admins.
4187 o Gerald (Jerry) Carter <jerry@samba.org>
4188 * Fix bug in the lanman session key generation. Caused
4189 "decode_pw: incorrect password length" error messages.
4190 * Save the right case for the located user name in
4191 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4192 * BUG 897: Add well known rid for pre win2k compatible access
4194 * BUG 887: Correct typo in delete user script example.
4195 * Use short lived TALLOC_CTX* for allocating printer objects
4196 from the print handle cache.
4197 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4198 * Fix several warnings reported by the SUN Forte C compiler.
4199 * Fully control DNS queries for AD DC's using 'name resolve order'.
4200 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4201 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4202 * BUG 936: fix bind credentials for schannel binds in smbd.
4203 * BUG 446: Fix output of smbclient for better compatibility
4204 with scripts based on the 2.2 version (including Amanda).
4205 * BUG 891, 949: Fedora packaging fixes.
4206 * Fix bug that caused rpcclient to incorrectly retrieve
4207 the SID for a server (this causing all calls that required
4208 this information to fail).
4209 * BUG 977: Don't create a homes share for a user if a static
4210 share already exists by the same name.
4211 * Removed unused smb.conf options.
4212 * Password initialization fixes.
4213 * Set the disable flag for template accounts created by
4215 * Disable any account has no passwords and does not have the
4216 ACB_PWNOTREQ bit set.
4219 o Guenther Deschner <gd@suse.com>
4220 * Install smbwrapper.so should be put into the $(libdir)
4222 * Add the capability to specify the new user password
4223 for "net ads password" on the command line.
4224 * Correctly detect AFS headers on SuSE.
4227 o James Flemer <jflemer@uvm.edu>
4228 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4229 HAVE_SYS_ATTRIBUTES_H.
4232 o Luke Howard <lukeh@PADL.COM>
4233 * Fix segfault in session setup reply caused by a early free().
4236 o Stoian Ivanov <sdr@bultra.com>
4237 * Implement grepable output for smbclient -L.
4240 o LaMont Jones <lamont@debian.org>
4241 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4242 in _GNU_SOURCE not being defined (thus resulting in strndup()
4246 o Volker Lendecke <vl@samba.org>
4247 * BUG 583: Ensure that user names always contain the short
4248 version of the domain name.
4249 * Fix our parsing of the LDAP uri.
4250 * Don't show the 'afs username map' in the SWAT basic view.
4251 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4252 * BUG 924: Fix return codes in smbtorture harness.
4253 * Always lower-case usernames before handing it to AFS code.
4254 * Add a German translation for SWAT.
4255 * Fix a segfaults in winbindd.
4256 * Fix the user's domain passed to register_vuid() from
4257 reply_spnego_kerberos().
4258 * Add NSS example code in nss_winbind to convert UNIX
4259 id's <-> Windows SIDs.
4260 * Display more descriptive error messages for login via 'net'.
4261 * Fix compiler warning in the net tool.
4262 * Fix length bug when decoding base64 strings.
4263 * Ensure we don't call getpwnam() inside a loop that is iterating
4264 over users with getpwent(). This broke on glibc 2.3.2.
4267 o Herb Lewis <herb@samba.org>
4268 * Fix bit rot in psec.
4271 o Jianliang Lu <j.lu@tiesse.com>
4272 * Ensure we delete the group mapping before calling the delete
4274 * Define well known RID for managing the "Power Users" group.
4275 * BUG 381: check builtin (not local) group SID when updating
4277 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
4281 o John Klinger <john.klinger@lmco.com>
4282 * Implement initgroups() call in nss_winbind on Solaris.
4285 o Jim McDonough <jmcd@us.ibm.com>
4286 * Fix regression in net rpc join caused by recent changes
4287 to cli_lsa_query_info_policy().
4288 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4292 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
4293 * BUG 570: Ensure that configure honors the LDFLAGS variable.
4296 o Stefan Metzmacher <metze@samba.org>
4297 * Implement LDAP rebind sleep patch.
4298 * Revert to 2.2 quota code because of so many broken quota files
4300 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4301 XFS_USER_QUOTA -> USRQUOTA
4302 XFS_GROUP_QUOTA -> GRPQUOTA
4303 * Fix disk_free calculation with group quotas.
4304 * Add debug class 'quota' and a lot of DEBUG()'s
4306 * Fix sys_chown() when no chown() is present.
4307 * Add SIGABRT to fault handling in order to catch got a
4308 backtrace if an error occurs the OpenLDAP client libs.
4312 * Allow an existing LDAP machine account to be re-used when
4313 joining an AD domain.
4316 o James Peach <jpeach@sgi.com>
4317 * BUG 889: Change smbd to use pread/pwrite on platforms that
4318 support these calls. Can lead to a significant speed increase.
4321 o Tim Potter <tpot@samba.org>
4322 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4323 * BUG 924: Fix typo in RW2 torture test.
4326 o Richard Sharpe <rsharpe@samba.org>
4327 * Small fixes to torture.c to cleanup the error handling
4328 and prevent crashes.
4331 o J. Tournier <jerome.tournier@IDEALX.com>
4332 * Small fixes for the smbldap-tool scripts.
4335 o Andrew Tridgell <tridge@samba.org>
4336 * Fix src len check in pull_usc2().
4339 o Jelmer Vernooij <jelmer@samba.org>
4340 * Put functions for generating SQL queries in pdb_sql.c
4341 * Add pgSQL backend (based on patch by Hamish Friedlander)
4342 * BUG 908: Fix -s option to smbcontrol.
4343 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4344 * Fix for libnss_wins on IRIX platforms.
4345 * Fix swatdir for --with-fhs.
4348 --------------------------------------------------
4350 =============================
4351 Release Notes for Samba 3.0.1
4353 =============================
4355 Some of the more common bugs in 3.0.0 addressed in the release
4358 o Substitution problems with smb.conf variables.
4359 o Errors in return codes which caused some applications
4360 to fail to open files.
4361 o General Protection Faults on Windows 2000/XP clients
4362 using Samba point-n-print features.
4363 o Several miscellaneous crash bugs.
4364 o Access problems when enumerating group mappings are
4365 stored in an LDAP Directory.
4366 o Several common SWAT bugs when writing changes to
4368 o Internal inconsistencies when 'winbind use default
4374 ----------------------
4376 Parameter Name Action
4377 -------------- ------
4378 hide local users Removed
4379 mangled map Deprecated
4380 mangled stack Removed
4381 passwd chat timeout New
4387 o Change the interface for init_unistr2 to not take a length
4388 but a flags field. We were assuming that
4389 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
4390 o Allow d_printf() to handle strings with escaped quotation
4391 marks since the msg file includes the escape character (bug 489).
4392 o Fix bad html table row termination in SWAT wizard code (bug 413).
4393 o Fix to parse the level-2 strings.
4394 o Fix for "valid users = %S" in [homes]. Fix read/write
4396 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
4397 This is the same way AC_CHECK_LIB works (bug 508).
4398 o Testparm output fixes for clarity.
4399 o Fix broken wins hook functionality -- i18n bug (bug 528).
4400 o Take care of condition where DOS and NT error codes must differ.
4401 o Default to using only built-in charsets when a working iconv
4402 implementation cannot be located.
4403 o Wrap internals of sys_setgroups() so the sys_XX() call can
4404 be done unconditionally (bug 550).
4405 o Remove duplicate smbspool link on SWAT's front page (bug 541).
4406 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
4407 --enable-debug=[yes|no] works correctly.
4408 o Allow ^C to interrupt smbpasswd if using our getpass
4409 (e.g. smbpasswd command).
4410 o Support signing only on RPC's (bug 167).
4411 o Correct bug that prevented Excel 2000 clients from opening
4412 files marked as read-only.
4413 o Portability fix bugs 546 - 549).
4414 o Explicitly initialize the value of AR for vendor makes that don't
4415 do this (e.g. HPUX 11). (bug 552).
4416 o More i18n fixes for SWAT (bug 413).
4417 o Change the cwd before the postexec script to ensure that a
4418 umount will succeed.
4419 o Correct double free that caused winbindd to crash when a DC
4420 is rebooted (bug 437).
4421 o Fix incorrect mode sum (bug 562).
4422 o Canonicalize SMB_INFO_ALLOCATION in the same was as
4423 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4424 o Add script to generate *msg files.
4425 o Add Dutch SWAT translation file.
4426 o Make sure to call get_user_groups() with the full winbindd
4427 name for a user if he/she has one (bug 406).
4428 o Fix up error code returns from Samba4 tester. Ensure invalid
4429 paths are validated the same way.
4430 o Allow Samba3 to pass the Samba4 RAW-READ tests.
4431 o Refuse to configure if --with-expsam=$BACKEND was used but no
4432 libraries were found for $BACKEND.
4433 o Move sysquotas autoconf tests to a separate file.
4434 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
4436 o Make sure that the files that contain the static_init_$subsystem;
4437 macro get recompiled after configure by removing the object
4439 o Ensure canceling a blocking lock returns the correct error
4441 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4442 o Updated Japanese welcome file in SWAT.
4443 o Fix to nt-time <-> unix-time functions reversible.
4444 o Ensure that winbindd uses the the escaped DN when querying
4446 o Fix portability issues when compiling (bug 505, 550)
4447 o Compile fix for tdbbackup when Samba needs to override
4448 non-C99 compliant implementations of snprintf().
4449 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4450 o Make sure we break out of samsync loop on error.
4451 o Ensure error code path doesn't free unmalloc()'d memory
4453 o Add configure test for krb5_keytab_entry keyblock vs key
4456 o Modified testparm so that all output so all debug output goes
4457 to stderr, and all file processing goes to stdout.
4458 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
4460 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
4461 we have a devmode before copying a string to the devicename.
4462 o Support mapping REALM.COM\user to a local user account (without
4463 running winbindd) for compatibility with 2.2.x release.
4464 o Ensure we don't use mmap() on blacklisted systems.
4465 o fixed a number of bugs and memory leaks in the AIX
4467 o Call initgroups() in SWAT before becomming the user so that
4468 secondary group permissions can be used when writing to
4470 o Fix signing problems when reverse connecting back to a
4471 client for printer notify
4472 o Fix signing problems caused by a miss-sequence bug.
4473 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4474 Fixes NEXUS tools running on Win9x clients (bug 64).
4475 o Don't leave the domain field uninitialized in cli_lsa.c if some
4476 SID could not be mapped.
4477 o Fix segfault in mount.cifs helper when there is no options
4478 specified during mount.
4479 o Change the \n after the password prompt to go to tty instead
4480 of stdout (bug 668).
4481 o Stop net -P from prompting for machine account password (bug 451).
4482 o Change in behavior to Not only change the effective uid but also
4483 the real uid when becoming unprivileged.
4484 o Cope with Exchange 5.5 cleartext pop password auth.
4485 o New files for support of initshutdown pipe. Win2k doesn't
4486 respond properly to all requests on the winreg pipe, so we need
4487 to handle this new pipe (bug 534).
4488 o Added more va_copy() checks in configure.in.
4489 o Include fixes for libsmbclient build problems.
4490 o Missing UNIX -> DOS codepage conversion in lanman.c.
4491 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
4492 o Parameterize the listen backlog in smbd and make it larger by
4493 default. A backlog of 5 is way too small these days.
4494 o Check for an invalid fid before dereferencing the fsp pointer
4496 o Remove invalid memory frees and return codes in pdb_ldap.c.
4497 o Prompt for password when invoking --set-auth-user and no
4499 o Bind the nmbd sending socket to the 'socket address'.
4500 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
4501 $LDFLAGS occurs before any library specification (bug 661).
4502 o Fix large number of printf() calls for 64-bit size_t.
4503 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
4504 keyblock in the krb5 structs.
4505 o Remove #include <compat.h> in hopes to avoid problems with
4506 apache header files.
4507 o Correct winbindd build problems on HP-UX 11.
4508 o Lowercase netgroups lookups (bug 703).
4509 o Use the actual size of the buffer in strftime instead of a made
4510 up value which just happens to be less than sizeof(fstring).
4512 o Add ldaplibs to pdbedit link line (bug 651).
4513 o Fix crash bug in smbclient completion (bug 659).
4514 o Fix packet length for browse list reply (bug 771).
4515 o Fix coredump in cli_get_backup_list().
4516 o Make sure that we expand %N (bug 612).
4517 o Allow rpcclient adddriver command to specify printer driver
4519 o Compile tdbdump by default.
4520 o Apply patches to fix iconv detection for FreeBSD.
4521 o Do not allow the 'guest account' to be added to a passdb backend
4522 using smbpasswd or pdbedit (bug 624).
4523 o Save LDFLAGS during iconv detection (bug 57).
4524 o Run krb5 logins through the username map if the winbindd
4525 lookup fails (bug 698).
4526 o Add const for lp_set_name_resolve_order() to avoid compiler
4528 o Add support for the %i macro in smb.conf to stand in for the for
4529 the local IP address to which a client connected.
4530 o Allow winbindd to match local accounts to domain SID when
4531 'winbind trusted domains only = yes' (bug 680).
4532 o Remove code in idmap_ldap that searches the user suffix and group
4533 suffix. It's not needed and provides inconsistent functionality
4534 from the tdb backend.
4535 o Patch to handle munged dial string for Windows 2000 TSE.
4536 Thanks to Gaz de France, Direction de la Recherche, Service
4537 Informatique Métier for their supporting this work by Aurelien
4538 Degrémont <adegremont@idealx.com>.
4539 o Correct the "smbldap_open: cannot access when not root error"
4540 messages when looking up group information (bug 281).
4541 o Skip over the winbind separator when looking up a user.
4542 This fixes the bug that prevented local users from
4543 matching an AD user when not running winbindd (bug 698).
4544 o Fix a problem with configure on *BSD systems. Make sure
4545 we add -liconv etc to LDFLAGS.
4546 o Fix core dump bug when "security = server" and the authentication
4548 o Correct crash bug due to an empty munged dial string.
4549 o Show files locked by a specific user (smbstatus -u 'user')
4551 o Fix bug preventing print jobs from display in the queue
4552 monitor used by Windows NT and later clients (bug 660).
4553 o Fix several reported problems with point-n-print from
4554 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4555 reply (bug 338, 527 & 643).
4556 o Fix a handful of potential memory leaks in the LDAP code used
4557 by ldapsam[_compat] and the LDAP idmap backend.
4558 o Fix for pdbedit error code returns (bug 763).
4559 o Make sure we only enumerate group mapping entries (not
4560 /etc/group) even when doing local aliases.
4561 o Relax check on the pipe name in a dce/rpc bind response to work
4562 around issues with establishing trusts to a Windows 2003 domain.
4563 o Ensure we mangle names ending in '.' in hash2 mangling method.
4564 o Correct parsing issues with munged dial string.
4565 o Fix bugs in quota support for XFS.
4566 o Add a cleaner method for applications that need to provide
4567 name->SID mappings to do this via NSS rather than having to
4568 know the winbindd pipe protocol.
4569 o Adds a variant of the winbindd_getgroups() call called
4570 winbindd_getusersids() that provides direct SID->SIDs listing of
4571 a users supplementary groups. This is enough to allow non-Samba
4572 applications to do ACL checking.
4573 o Make sure we don't append the 'ldap suffix' when writing out the
4574 'ldap XXX suffix' values in SWAT (bug 328).
4575 o Fix renames across file systems.
4576 o Ensure that items in a list of strings containing whitespace are
4577 written out surrounded by single quotes. This means that both
4578 double and single quotes are now used to surround strings in
4580 o Enable SWAT to correctly determine if winbindd is running (bug
4582 o Include WWW-Authenticate field in 401 response for bad auth
4584 o Add support for NTLM2 (NTLMv2 session security).
4585 o Add support for variable-length session keys.
4586 o More privilege fixes for group enumeration in LDAP (bug 281).
4587 o Use the dns name (or IP) as the originating client name when
4588 using CUPS (bug 467).
4589 o Fix various SMB signing bugs.
4590 o Fix ACL propagation on a DFS root (bug 263).
4591 o Disable NTLM2 for RPC pipes.
4592 o Allow the client to specify the NTLM2 flags got NTLMSSP
4594 o Change the name of the job passed off to cups from "Test Page"
4595 to "smbprn.00000033 Test Page" so that we can get the smb
4596 jobid back. This allow users to delete jobs with cups printing
4597 backend (partial work on bug 770).
4598 o Fix build of winbindd with static pdb modules.
4599 o Retrieve the correct ACL group bits if the file has an ACL
4601 o Implement "net rpc group members": Get members of a domain group
4602 in human-readable format.
4603 o Add MacOSX (Darwin) specific charset module code.
4604 o Use samr_dispinfo(level == 1) for enumerating domain users so we
4605 can include the full name in gecos field (bug 587).
4606 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4607 o Implement 'net rpc group list [global|local|builtin]*' for a
4608 select listing of the respective user databases.
4609 o Don't automatically set NT status code flag unless client tells
4611 o Add 'net status [sessions|shares] [parseable]'.
4612 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
4614 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
4616 o Fix inverted logic in hosts allow/deny checks caused by
4617 s/strcmp/strequal/ (bug 846).
4618 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4619 o Fix typo in 'hash' mangling algorithm.
4620 o Support munged dial for ldapsam (bug 800).
4621 o Fix process_incoming_data() to return the number of bytes handled
4622 this call whether we have a complete PDU or not; fixes bug
4623 with multiple PDU request rpc's broken over SMBwriteX calls
4625 o Fix incorrect smb flags2 for connections to pre-NT servers
4626 (causes smbclient to fail to OS2 for example) (bug 821).
4627 o Update version string in smbldap-tools Makefile to 0.8.2.
4628 o Correct a problem with "net rpc vampire" mis-parsing the
4629 alias member info reply.
4630 o Ensure the ${libdir} is created by the installclientlib script.
4631 o Fix detection of Windows 2003 client architecture in the smb.conf
4633 o Ensure that smbd calls the add user script for a missing UNIX
4634 user on kerberos auth call (bug 445).
4635 o Fix bugs in hosts allow/deny when using a mismatched
4636 network/netmask pair.
4637 o Protect alloc_sub_basic() from crashing when the source string
4638 is NULL (partial work on bug 687).
4639 o Fix spinlocks on IRIX.
4640 o Corrected some bad destination paths when running "configure
4642 o Add packaging files for Fedora Core 1.
4643 o Correct bug in SWAT install script for non-english languages.
4644 o Support character set ISO-8859-1 internally (bug 558).
4645 o Fixed more LDAP access errors when looking up group mappings
4647 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
4648 resolution to fail on local files on on domain members
4650 o Fix uninitialized variable in passdb.c.
4651 o Fix formal parameter type in get_static() in nsswitch/wins.c.
4652 o Fix problem mounting directories when mount.cifs is installed
4653 with the setuid bit on.
4654 o Fix bug that prevent --mandir from overriding the defaults
4655 given in the --with-fhs macro.
4656 o Fix bug in in-memory Kerberos keytab detection routines
4661 ######################################################################
4663 The original 3.0.0 release notes follow
4664 =======================================
4665 WHATS NEW IN Samba 3.0.0
4667 =======================================
4673 1) Active Directory support. Samba 3.0 is now able to
4674 join a ADS realm as a member server and authenticate
4675 users using LDAP/Kerberos.
4677 2) Unicode support. Samba will now negotiate UNICODE on the wire
4678 and internally there is now a much better infrastructure for
4679 multi-byte and UNICODE character sets.
4681 3) New authentication system. The internal authentication system
4682 has been almost completely rewritten. Most of the changes are
4683 internal, but the new auth system is also very configurable.
4685 4) New default filename mangling system.
4687 5) A new "net" command has been added. It is somewhat similar to
4688 the "net" command in windows. Eventually we plan to replace
4689 numerous other utilities (such as smbpasswd) with subcommands
4692 6) Samba now negotiates NT-style status32 codes on the wire. This
4693 improves error handling a lot.
4695 7) Better Windows 2000/XP/2003 printing support including publishing
4696 printer attributes in active directory.
4698 8) New loadable module support for passdb backends and character
4701 9) New default dual-daemon winbindd support for better performance.
4703 10) Support for migrating from a Windows NT 4.0 domain to a Samba
4704 domain and maintaining user, group and domain SIDs.
4706 11) Support for establishing trust relationships with Windows NT 4.0
4709 12) Initial support for a distributed Winbind architecture using
4710 an LDAP directory for storing SID to uid/gid mappings.
4712 13) Major updates to the Samba documentation tree.
4714 14) Full support for client and server SMB signing to ensure
4715 compatibility with default Windows 2003 security settings.
4717 15) Improvement of ACL mapping features based on code donated by
4718 Andreas Grünbacher.
4721 Plus lots of other improvements!
4724 Additional Documentation
4725 ------------------------
4727 Please refer to Samba documentation tree (included in the docs/
4728 subdirectory) for extensive explanations of installing, configuring
4729 and maintaining Samba 3.0 servers and clients. It is advised to
4730 begin with the Samba-HOWTO-Collection for overviews and specific
4731 tasks (the current book is up to approximately 400 pages) and to
4732 refer to the various man pages for information on individual options.
4734 We are very glad to be able to include the second edition of
4735 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4736 (O'Reilly & Associates) in this release. The book is available
4737 on-line at http://samba.org/samba/docs/ and is included with
4738 the Samba Web Administration Tool (SWAT). Thanks to the authors and
4739 publisher for making "Using Samba" under the GNU Free Documentation
4743 ######################################################################
4744 Upgrading from a previous Samba 3.0 beta
4745 ########################################
4747 Beginning with Samba 3.0.0beta3, the RID allocation functions
4748 have been moved into winbindd. Previously these were handled
4749 by each passdb backend. This means that winbindd must be running
4750 to automatically allocate RIDs for users and/or groups. Otherwise,
4751 smbd will use the 2.2 algorithm for generating new RIDs.
4753 If you are using 'passdb backend = tdbsam' with a previous Samba
4754 3.0 beta release (or possibly alpha), it may be necessary to
4755 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4756 to winbindd_idmap.tdb. To do this:
4758 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
4760 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
4762 3) run: (note that 'tdb>' is the tool's prompt for input)
4764 root# ./tdbtool /usr/local/samba/private/passdb.tdb
4765 tdb> show RID_COUNTER
4769 [000] 0A 52 00 00 .R.
4771 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
4775 If you are using 'passdb backend = ldapsam', it will be necessary to
4776 store idmap entries in the LDAP directory as well (i.e. idmap backend
4777 = ldap). Refer to the 'net idmap' command for more information on
4778 migrating SID<->UNIX id mappings from one backend to another.
4780 If the RID_COUNTER record does not exist, then these instructions are
4781 unneccessary and the new RID_COUNTER record will be correctly generated
4786 ########################
4787 Upgrading from Samba 2.2
4788 ########################
4790 This section is provided to help administrators understand the details
4791 involved with upgrading a Samba 2.2 server to Samba 3.0.
4797 Many of the options to the GNU autoconf script have been modified
4798 in the 3.0 release. The most noticeable are:
4800 * removal of --with-tdbsam (is now included by default; see section
4801 on passdb backends and authentication for more details)
4803 * --with-ldapsam is now on used to provided backward compatible
4804 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
4805 backend and authentication section for more details
4807 * inclusion of non-standard passdb modules may be enabled using
4808 --with-expsam. This includes an XML backend and a mysql backend.
4810 * removal of --with-msdfs (is now enabled by default)
4812 * removal of --with-ssl (no longer supported)
4814 * --with-utmp now defaults to 'yes' on supported systems
4816 * --with-sendfile-support is now enabled by default on supported
4823 This section contains a brief listing of changes to smb.conf options
4824 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
4825 complete descriptions of new or modified parameters.
4827 Removed Parameters (order alphabetically):
4830 * alternate permissions
4833 * code page directory
4835 * domain admin group
4836 * domain guest group
4837 * force unknown acl user
4843 * printer driver file
4844 * printer driver location
4846 * source environment
4854 New Parameters (new parameters have been grouped by function):
4858 * abort shutdown script
4861 User and Group Account Management
4862 ---------------------------------
4864 * add machine script
4865 * add user to group script
4866 * algorithmic rid base
4867 * delete group script
4868 * delete user from group script
4870 * set primary group script
4876 * passwd chat timeout
4880 * client lanman auth
4881 * client NTLMv2 auth
4887 * paranoid server security
4896 * hide special files
4897 * hide unwriteable files
4899 * kernel change notify
4909 * max reported print jobs
4911 UNICODE and Character Sets
4912 --------------------------
4918 SID to uid/gid Mappings
4919 -----------------------
4923 * winbind enable local accounts
4924 * winbind trusted domains only
4925 * template primary group
4926 * enable rid algorithm
4933 * ldap machine suffix
4935 * ldap replication sleep
4938 General Configuration
4939 ---------------------
4943 Modified Parameters (changes in behavior):
4945 * encrypt passwords (enabled by default)
4946 * mangling method (set to 'hash2' by default)
4949 * restrict anonymous (integer value)
4950 * security (new 'ads' value)
4951 * strict locking (enabled by default)
4952 * unix extensions (enabled by default)
4953 * winbind cache time (increased to 5 minutes)
4954 * winbind uid (deprecated in favor of 'idmap uid')
4955 * winbind gid (deprecated in favor of 'idmap gid')
4961 This section contains brief descriptions of any new databases
4962 introduced in Samba 3.0. Please remember to backup your existing
4963 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
4964 upgrade databases as they are opened (if necessary), but downgrading
4965 from 3.0 to 2.2 is an unsupported path.
4967 Name Description Backup?
4968 ---- ----------- -------
4969 account_policy User policy settings yes
4970 gencache Generic caching db no
4971 group_mapping Mapping table from Windows yes
4972 groups/SID to unix groups
4973 winbindd_idmap ID map table from SIDS to UNIX yes
4975 namecache Name resolution cache entries no
4976 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
4977 returned as part of a successful
4978 net_sam_logon request
4979 printing/*.tdb Cached output from 'lpq no
4980 command' created on a per print
4982 registry Read-only samba registry skeleton no
4983 that provides support for exporting
4984 various db tables via the winreg RPCs
4990 The following issues are known changes in behavior between Samba 2.2 and
4991 Samba 3.0 that may affect certain installations of Samba.
4993 1) When operating as a member of a Windows domain, Samba 2.2 would
4994 map any users authenticated by the remote DC to the 'guest account'
4995 if a uid could not be obtained via the getpwnam() call. Samba 3.0
4996 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
4997 current work around to re-establish the 2.2 behavior.
4999 2) When adding machines to a Samba 2.2 controlled domain, the
5000 'add user script' was used to create the UNIX identity of the
5001 machine trust account. Samba 3.0 introduces a new 'add machine
5002 script' that must be specified for this purpose. Samba 3.0 will
5003 not fall back to using the 'add user script' in the absence of
5004 an 'add machine script'
5007 ######################################################################
5008 Passdb Backends and Authentication
5009 ##################################
5011 There have been a few new changes that Samba administrators should be
5012 aware of when moving to Samba 3.0.
5014 1) encrypted passwords have been enabled by default in order to
5015 inter-operate better with out-of-the-box Windows client
5016 installations. This does mean that either (a) a samba account
5017 must be created for each user, or (b) 'encrypt passwords = no'
5018 must be explicitly defined in smb.conf.
5020 2) Inclusion of new 'security = ads' option for integration
5021 with an Active Directory domain using the native Windows
5022 Kerberos 5 and LDAP protocols.
5024 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
5025 type which is neccessary for servers on which the
5026 administrator password has not been changed, or kerberos-enabled
5027 SMB connections to servers that require Kerberos SMB signing.
5028 Besides this one difference, either MIT or Heimdal Kerberos
5029 distributions are usable by Samba 3.0.
5032 Samba 3.0 also includes the possibility of setting up chains
5033 of authentication methods (auth methods) and account storage
5034 backends (passdb backend). Please refer to the smb.conf(5)
5035 man page for details. While both parameters assume sane default
5036 values, it is likely that you will need to understand what the
5037 values actually mean in order to ensure Samba operates correctly.
5039 The recommended passdb backends at this time are
5041 * smbpasswd - 2.2 compatible flat file format
5042 * tdbsam - attribute rich database intended as an smbpasswd
5043 replacement for stand alone servers
5044 * ldapsam - attribute rich account storage and retrieval
5045 backend utilizing an LDAP directory.
5046 * ldapsam_compat - a 2.2 backward compatible LDAP account
5049 Certain functions of the smbpasswd(8) tool have been split between the
5050 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
5051 utility. See the respective man pages for details.
5054 ######################################################################
5058 This section outlines the new features affecting Samba / LDAP
5064 A new object class (sambaSamAccount) has been introduced to replace
5065 the old sambaAccount. This change aids us in the renaming of
5066 attributes to prevent clashes with attributes from other vendors.
5067 There is a conversion script (examples/LDAP/convertSambaAccount) to
5068 modify and LDIF file to the new schema.
5072 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5073 $ convertSambaAccount --sid=<Domain SID> \
5074 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5075 --changetype=[modify|add]
5077 The <DOM SID> can be obtained by running 'net getlocalsid
5078 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
5079 the format of the generated LDIF output--either create new entries
5080 or modify existing entries.
5082 The old sambaAccount schema may still be used by specifying the
5083 "ldapsam_compat" passdb backend. However, the sambaAccount and
5084 associated attributes have been moved to the historical section of
5085 the schema file and must be uncommented before use if needed.
5086 The 2.2 object class declaration for a sambaAccount has not changed
5087 in the 3.0 samba.schema file.
5089 Other new object classes and their uses include:
5091 * sambaDomain - domain information used to allocate rids
5092 for users and groups as necessary. The attributes are added
5093 in 'ldap suffix' directory entry automatically if
5094 an idmap uid/gid range has been set and the 'ldapsam'
5095 passdb backend has been selected.
5097 * sambaGroupMapping - an object representing the
5098 relationship between a posixGroup and a Windows
5099 group/SID. These entries are stored in the 'ldap
5100 group suffix' and managed by the 'net groupmap' command.
5102 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
5103 automatically and contains the next available 'idmap uid' and
5106 * sambaIdmapEntry - object storing a mapping between a
5107 SID and a UNIX uid/gid. These objects are created by the
5108 idmap_ldap module as needed.
5110 * sambaSidEntry - object representing a SID alone, as a Structural
5111 class on which to build the sambaIdmapEntry.
5114 New Suffix for Searching
5115 ------------------------
5117 The following new smb.conf parameters have been added to aid in directing
5118 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5121 * ldap suffix - used to search for user and computer accounts
5122 * ldap user suffix - used to store user accounts
5123 * ldap machine suffix - used to store machine trust accounts
5124 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
5125 * ldap idmap suffix - location of sambaIdmapEntry objects
5127 If an 'ldap suffix' is defined, it will be appended to all of the
5128 remaining sub-suffix parameters. In this case, the order of the suffix
5129 listings in smb.conf is important. Always place the 'ldap suffix' first
5132 Due to a limitation in Samba's smb.conf parsing, you should not surround
5133 the DN's with quotation marks.
5139 Samba 3.0 supports an ldap backend for the idmap subsystem. The
5140 following options would inform Samba that the idmap table should be
5141 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5146 idmap backend = ldap:ldap://onterose/
5147 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5148 idmap uid = 40000-50000
5149 idmap gid = 40000-50000
5151 This configuration allows winbind installations on multiple servers to
5152 share a uid/gid number space, thus avoiding the interoperability problems
5153 with NFS that were present in Samba 2.2.
5157 ######################################################################
5158 Trust Relationships and a Samba Domain
5159 ######################################
5161 Samba 3.0.0beta2 is able to utilize winbindd as the means of
5162 allocating uids and gids to trusted users and groups. More
5163 information regarding Samba's support for establishing trust
5164 relationships can be found in the Samba-HOWTO-Collection included
5165 in the docs/ directory of this release.
5167 First create your Samba PDC and ensure that everything is
5168 working correctly before moving on the trusts.
5170 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5171 4.0 domain named WINDOWS:
5173 1) create the trust account for SAMBA in "User Manager for Domains"
5174 2) connect the trust from the Samba domain using
5175 'net rpc trustdom establish GLASS'
5177 To create a trustlationship with SAMBA as the trusted domain:
5179 1) create the initial trust account for GLASS using
5180 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5181 account for GLASS$ prior to this step (depending on your
5182 local configuration).
5183 2) connect the trust from a WINDOWS DC using "User Manager
5186 Now join winbindd on the Samba PDC to the SAMBA domain using
5187 the normal steps for adding a Samba server to an NT4 domain:
5188 (note that smbd & nmbd must be running at this point)
5190 root# net rpc join -U root
5191 Password: <enter root password from smbpasswd file here>
5193 Start winbindd and test the join with 'wbinfo -t'.
5195 Now test the trust relationship by connecting to the SAMBA DC
5196 (e.g. POGO) as a user from the WINDOWS domain:
5198 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5201 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5203 $ smbclient //crystal/netlogon -U root -W WINDOWS
5206 ######################################################################
5210 Beginning with Samba3.0.0beta3, winbindd has been given new account
5211 manage functionality equivalent to the 'add user script' family of
5212 smb.conf parameters. The idmap design has also been changed to
5213 centralize control of foreign SID lookups and matching to UNIX
5217 Brief Description of Changes
5218 ----------------------------
5220 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5221 reverted to the 2.2.x design. This means that when resolving a
5222 SID to a UID or similar mapping:
5224 a) First consult winbindd
5225 b) perform a local lookup only if winbindd fails to
5226 return a successful answer
5228 There are some variations to this, but these two rules generally
5231 2) All idmap lookups have been moved into winbindd. This means that
5232 a server must run winbindd (and support NSS) in order to achieve
5233 any mappings of SID to dynamically allocated UNIX ids. This was
5234 a conscious design choice.
5236 3) (OBSOLETE) New functions have been added to winbindd to emulate
5237 the 'add user script' family of smbd functions without requiring
5238 that external scripts be defined. This functionality is controlled
5239 by the 'winbind enable local accounts' smb.conf parameter (enabled
5242 However, this account management functionality is only supported
5243 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5244 must be shared among multiple Samba servers (such as a PDC and BDCs),
5245 it will be necessary to define your own 'add user script', et. al.
5246 programs that place the accounts/groups in some form of directory
5247 such as NIS or LDAP. This requirement was deemed beyond the scope
5248 of winbind's account management functions. Solutions for
5249 distributing UNIX system information have been deployed and tested
5250 for many years. We saw no need to reinvent the wheel.
5252 4) A member of a Samba controlled domain running winbindd is now able
5253 to map domain users directly onto existing UNIX accounts while still
5254 automatically creating accounts for trusted users and groups. This
5255 behavior is controlled by the 'winbind trusted domains only' smb.conf
5256 parameter (disabled by default to provide 2.2.x winbind behavior).
5258 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5259 in smbd/uid.c. The reason that group mappings are not included
5260 in winbindd is because the purpose of Samba's group map is to
5261 match any Windows SID with an existing UNIX group. These UNIX
5262 groups can be created by winbindd (see next section), but the
5263 SID<->gid mapping is retreived by smbd, not winbindd.
5269 * security = server running winbindd to allocate accounts on demand
5271 * Samba PDC running winbindd to handle the automatic creation of UNIX
5272 identities for machine trust accounts
5274 * Automtically creating UNIX user and groups when migrating a Windows NT
5275 4.0 PDC to a Samba PDC. Winbindd must be running when executing
5276 'net rpc vampire' for this to work.
5279 ######################################################################
5283 * There are several bugs currently logged against the 3.0 codebase
5284 that affect the use of NT 4.0 GUI domain management tools when run
5285 against a Samba 3.0 PDC. This bugs should be released in an early
5288 Please refer to https://bugzilla.samba.org/ for a current list of bugs
5289 filed against the Samba 3.0 codebase.
5292 ######################################################################
5293 Reporting bugs & Development Discussion
5294 #######################################
5296 Please discuss this release on the samba-technical mailing list or by
5297 joining the #samba-technical IRC channel on irc.freenode.net.
5299 If you do report problems then please try to send high quality
5300 feedback. If you don't provide vital information to help us track down
5301 the problem then you will probably be ignored.
5303 A new bugzilla installation has been established to help support the
5304 Samba 3.0 community of users. This server, located at
5305 https://bugzilla.samba.org/, has replaced the older jitterbug server
5306 previously located at http://bugs.samba.org/.