1 =================================
2 Release Notes for Samba 3.0.20rc1
4 ==================================
6 This is a release candidate of the 3.0.20 code base and is provided
7 for testing purposes only. While close to the final stable release,
8 this snapshot is *not* intended for production servers. If all goes
9 well, this could become the final 3.0.20 release.
11 Common bugs fixed in 3.0.20rc1 include:
13 o Print server upgrade failures.
14 o OS/2 interoperability bugs.
15 o Winbindd crashes on Solaris Sparc.
16 o Interoperability problems with Win2003-SP1 & Win2000-SP4.SR1.
19 What happened to 3.0.15 - 3.0.19?
20 ==================================
22 After some discussion it was deemed that the amount of changes
23 going into the next Samba 3.0 release needed something to catch
24 people's attention. Skipping several releases was chosen as
25 the best solution with the least overhead. There will be no
26 3.0.15 - 3.0.19 ever released. The next production release
27 following 3.0.20 should be 3.0.21.
29 The original announcement about the version number change can
30 be found in the samba mailing list archives:
32 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
36 ######################################################################
40 Changes since 3.0.20pre1
41 ------------------------
46 min password length Removed
47 username map script New
53 o Jeremy Allison <jra@samba.org>
54 * BUG 2878: Fix Norton commander not running on OS/2 clients.
55 * Cleanup SAMR user info structure naming.
56 * BUG 2889: Fix directly listings from OS/2 clients.
57 * Added "acl group control" parameter.
58 * Add debug warning if AddPrinterEx() is called without having
59 an 'add printer command' defined.
60 * Add better log messages when modifying ldap entries.
61 * BUG 2829: Fix strXX_w() functions on non-x86 platforms when
62 when string is unaligned.
63 * BUG 2918: Fix SMB chaining by ensuring that deferred open
64 message buffer is nor reused.
67 o Timur Bakeyev <timur@com.bat.ru>
68 * Fix detection of FreeBSD 7.x platforms in autoconf checks.
69 * BUG 2908: Fix string length logic error in msdfs code.
70 * BUG 2909: Fix typo that caused smbd to call the wrong
74 o Andrew Bartlett <abartlet@samba.org>
75 * Fix parallel NTLMSSP processing by removing global state.
78 o Gerald (Jerry) Carter <jerry@samba.org>
79 * BUG 2872: Fix cut-n-paste error when checking pointer value
80 in ntlmssp_set_workstation().
81 * Fix upgrade path from earlier nt*tdb files.
82 * Removed print handle object cache.
83 * BUG 2853: Don't strip out characters like '$' from printer
84 names when substituting for the lpq command.
85 * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
86 * Fix build issues on x86_64-linux systems caused by valgrind
87 headers. Thanks to Bent Vangli to the suggestions.
88 * Refactor spoolss client calls.
89 * Adding 'username map script'.
90 * Disable schannel on the LSA and SAMR pipes in winbindd client
91 code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
94 o Guenther Deschner <gd@samba.org>
95 * Various compiler warning fixes.
96 * Fix segfault in the client AddPrinterEx-call of 'net
98 * Fix build issues when --with-aio-support is enabled.
99 * BUG 2502: Removed the deprecated 'min passwd length parameter'.
100 * Honour the CC environment variable in python build.
101 * Fix searches in pdb_ldap for inter-domain trust accounts.
102 * Don't expand the %L in %LOGONSERVER% from user attributes.
103 * Fix bug in 'net rpc vampire' that caused accounts to be created
104 with no assigned ACB flags.
105 * Fix enumeration of builtin-aliases.
106 * Avoid unset rids for builtin-aliases.
109 o John Janosik <jpjanosi@us.ibm.com>
110 * BUG 2077: Correctly fill in the correct server name when
111 processing trusted domain logins.
114 o Volker Lendecke <vl@samba.org>
115 * Fix set afs ACL calls on files and directories in the root of
117 * Refactoring work on internal open code
118 * Correctly initialize the version in a new set of nt*tdb files.
119 * Remove smb_run_idle_events() from main process loop in smbd
120 and instead rely upon the timeout processing to handle
121 dropping idle LDAP connections.
124 o Jason Mader <jason@ncac.gwu.edu>
125 * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes
129 o Kalim Moghul <kalim@samba.org>
130 * Removed unused printmode command from smbclient.
133 o Lars Müller <lmuelle@samba.org>
134 * Fix spoolss python bindings after C++ compiler changes and
136 * BUG 2659: Don't trump on memory in smbtorture.
137 * BUG 2060: Add -fPIC which is the case for all other Samba
141 o Marcel Müller <mueller@maazl.de>
142 * Ensure we correctly set the return packet size to include the
143 pad bytes in reply_readbmpx().
146 o James Peach <jpeach@sgi.com>
147 * BUG 2285: Patch for hires timestamps and efficient notify code.
150 o Tim Potter <tpot@samba.org>
151 * Remove unused autoconf #define's.
152 * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
153 * Removed unused function declarations in tdb.h.
154 * BUG 2895: Don't wrap non-existent functions in the python
158 o Smitty <smitty@plainjoe.org>
159 * Compile fixes for smbget when using --enable-developer.
162 o Simo Sorce <idra@samba.org>
163 * Fix memory issues issues in vfstest (reported by Rainer Link).
166 o Andrew Tridgell <tridge@samba.org>
167 * Merge socket wrapper library fixes from Samba 4.
171 Release Notes for older release follow:
173 --------------------------------------------------
174 ==================================
175 Release Notes for Samba 3.0.20pre2
177 ==================================
179 Additional features introduced in Samba 3.0.20pre2 include:
181 o Experimental, asynchronous IO file serving support.
182 o Completed Support for Microsoft Print Migrator.
183 o New Winbind IDmap plugin (ad) for retrieving uid and gid
184 from AD servers which maintain the SFU user and group
186 o Rewritten support for POSIX pathnames when utilizing
187 the Linux CIFS fs client.
190 What happened to 3.0.15 - 3.0.19?
191 ==================================
193 After some discussion it was deemed that the amount of changes
194 going into the next Samba 3.0 release needed something to catch
195 people's attention. Skipping several releases was chosen as
196 the best solution with the least overhead. There will be no
197 3.0.15 - 3.0.19 ever released. The next production release
198 following 3.0.20 should be 3.0.21.
200 The original announcement about the version number change can
201 be found in the samba mailing list archives:
203 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
206 Support for Microsoft Print Migrator
207 ====================================
209 Samba 3.0.20pre2 includes full support for migrating printers from
210 Windows servers or other Samba servers via the Microsoft Print
211 Migrator tool. Restoring printers requires a working "add printer
212 command" defined in smb.conf. Current; support also allows
213 administrators to create a master list of printer drivers which
214 can be restored in bulk on new (or existing) Samba installations.
217 Asynchronous IO Support
218 =======================
220 Experimental support for async IO has been added to smbd for
221 certain platforms. To enable this new feature, Samba must be
222 compiled to include the --with-aio-support configure option.
223 In addition, the "aio read size" and "aio write size" to non-zero
224 values. See the smb,conf(5) man page for more details on these
228 ######################################################################
232 Changes since 3.0.20pre1
233 ------------------------
235 Parameter Name Action
236 -------------- ------
237 acl map full control New
240 winbindd nss info New
246 o Jeremy Allison <jra@samba.org>
247 * Add support for client setting capabilities to select posix
248 pathnames on the wire.
249 * Stop using C++ reserved words so that Samba can be compiled
250 using g++. Also allows VFS modules in C++.
251 * More fixes to allow better large directory scaling.
252 * BUG 2827: Ensure we call the vfs connection hook before
253 doing a vfs stat. Allows database vfs backends to initialize
254 with a working connection.
255 * BUG 2826: Ensure the correct return value for symlink and
257 * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
258 * Added AIO support to smbd.
259 * Add "acl map full control", true by default, to allow people
260 to change mapping of rwx to full control or not.
261 * Transition smbd to use NTcreate&X for internal file opens.
264 o David.Collier-Brown <David.Collier-Brown@sun.com>
265 * Added panic action script for Solaris.
268 o Gerald (Jerry) Carter <jerry@samba.org>
269 * Cleanup of winreg API functions.
270 * Add server stubs for RegSetKeySec() and RegGetKeySec().
271 * Map generic bits to specific bits in reg_open_entry()
273 * Add write support to registry tdb and printing backends.
274 * Use tdb lookups rather than hard-coding certain registry
275 value names and data.
276 * BUG 2808: don't try to install man pages if they are not
278 * Fix initialized variables reported by valgrind.
279 * Normalize key lookups in ntprinters.tdb.
280 * Mark "enumports command" as deprecated.
281 * Add missing class file for python share command example.
282 * Fix smbclient build issue on Solaris.
285 o Guenther Deschner <gd@samba.org>
286 * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
287 * More "net rpc share migrate" fixes.
288 * Merge PADL's idmap_ad plugin (taken from the latest
289 xad_oss_plugins-tarball).
290 * Add support for "idmap backend = ad" when "security = ads".
291 * Add home directory and shell support from AD via "winbindd nss
292 support = sfu" and "security = ads".
293 * Provide better feedback when we fail share-manipulation
294 due to missing scripts.
295 * Correctly substitute "\" as default winbind separator in
296 generate_parm_table.py example share command script.
299 o Björn Jacke <bj@sernet.de>
300 * Added ioctl constants reported by msbackup.exe and filemon.exe.
303 o Kevin Jamieson <bugzilla@kevinjamieson.com>
304 * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
307 o Volker Lendecke <vl@samba.org>
308 * Fix the bug where users show up as trusting domains.
309 * Fix an assertion failure in winbindd.
310 * Fix a memleak in vfs_afsacl.
311 * Various compiler warning fixes.
312 * Fix compile when --enable-socket-wrapper is defined.
313 * Fixes for top level acls in vfs_acl.c.
316 o Jim McDonough <jmcd@us.ibm.com>
317 * Added subcommands to "net rpc vampire" (mostly done by Don
318 Watson <dwatson@us.ibm.com>) to allow data to be put into an
319 ldif file instead of actually writing to the passdb.
322 o Lars Mueller <lmuelle@samba.org>
323 * Fix argv parsing in "net rpc".
324 * Add support to create position independent executable (PIE)
325 code if the compiler supports it.
328 o Marcel Müller <mueller@maazl.de>
329 * Fix for bug in SMBwriteBraw that incorrectly returned the
330 number of bytes written.
333 o Ricky Nance <ricky.nance@gmail.com>
334 * Implemented mklogon script generator for domain logon scripts.
337 o James Peach <jpeach@sgi.com>
338 * MS-DFS tidyup patches.
339 * Build fixes on IRIX.
342 o Marcin Porwit <mporwit@centeris.com>
343 * Fix a memleak in the eventlog code.
346 o Smitty <smitty@plainjoe.org>
347 * Include LUID values to match Windows privileges since
348 apparently this matters to printmig.exe
351 o Simo Sorce <idra@samba.org>
352 * Randomize reloading as to not overload cupsd.
355 o Brett Trotter <blt@iastate.edu>
356 * Fix definition of global_sid_* in vfs_acl.c.
360 --------------------------------------------------
361 ==================================
362 Release Notes for Samba 3.0.20pre1
364 ==================================
366 Additional features introduced in Samba 3.0.20pre1 include:
368 o New asynchronous winbindd.
369 o Support for Microsoft Print Migrator.
370 o New Windows NT registry file I/O library.
371 o New user right (SeTakeOwnershipPrivilege) added.
372 o New "net share migrate" options.
375 Asynchronous Winbind Implementation
376 ===================================
378 Winbindd has been completely rewritten in this release to support
379 an almost completely non-blocking, asynchronous request/reply
380 model. This means that winbindd will scale much better in
381 large domain environments and on high latency networks. Neither
382 the client interface nor the command line tools (i.e. wbinfo) have
383 changed in their calling conventions or syntax. However, due to
384 internal structure changes, it is required (more so than normal)
385 that you install the nss_winbind.so library included in this release.
389 ######################################################################
393 Changes since 3.0.15pre2
394 ------------------------
396 Parameter Name Action
397 -------------- ------
398 acl check permissions New
399 enable asu support New
401 map to guest Modified (new value added)
402 printer admin Deprecated
403 winbind enable local accounts Removed
409 o Jeremy Allison <jra@samba.org>
410 * Add checks against the current effective group id (e.g. force
411 user) when testing write permissions one ACLs.
412 * Fix FindFirst/FindNext server code when parsing directories
413 on old IRIX XFS file systems (thanks to Cale Fairchild
414 for the debugging help).
415 * BUG 2644: Test for special files to be ignored was reversed.
416 * Ensure yield_connection() is called on all appropriate error
418 * Fix EDEADLCK problem with deferred open calls.
419 * BUG 2622: Remove DPTR_MASK as it makes no sense.
420 * Fix the write cache based on some VERY good detective work
422 * BUG 2346: Fix read-only excel file bugs.
423 * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just
424 return ENOSYS if not implemented.
425 * Add new CAP for POSIX pathnames.
426 * BUG 2703: Add NULL guard for disp_fields[0].
427 * BUG 2681: With "strict allocate = yes" we now zero fill when
428 a file is extended. Should catch disk full errors on write
430 * Add "acl check permissions" to turn on/off the new
431 behavior of checking for write access in a directory
433 * Refactor printing interface to take offset into job.
434 * Allow mapping of POSIX ACLs to NT perms to differentiate
435 between directories and files.
436 * Added encrypt/decrypt function for LSA secrets and trusted
437 domain passwords on the wire.
438 * BUG 2729: Resume keys are *mandatory* for a search when
439 listing a W2K and above server from a FATxx filesystem only.
440 * BUG 2735: Ensure that smbd mangles control characters in file
442 * Refactor small pieces of socket handling code (in conjunction
444 * BUG 2698: Fix infinite listing loop in smbclient caused by
445 an invalid character set conversion.
446 * Add client code that will abort a directory listing if we
447 see the same name twice between packets.
448 * Performance improvements in trans2 qfilepathinfo code by
449 removing unnecessary memset() calls.
450 * Rewrite the RPC bind parsing functions to follow the
451 spec; fixes bug with 64-bit Windows XP and OS X 10.4.
452 * BUG 2774: Set sparse flag if needed when returning
454 * Fix errors listing directories from Windows NT clients
455 which caused "." and ".." to show up in explorer.exe.
456 * Merge of error code fixes from SAMBA_4_0 branch.
457 * BUG 2801: Fix regression in the "delete veto files" option.
458 * Fix based on work from Shlomi Yaakobovich to catch loops
459 in corrupted tdb files.
460 * Allow someone with SeTakeOwnershipPrivilege to chown the
461 user of a file to herself.
464 o Andrew Bartlett <abartlet@samba.org>
465 * BUG 2684: Add per service hosts allow/deny checks for
466 printers when connecting via MS-RPC.
467 * BUG 2391: Fix segv caused by free a static pointer returned
469 * Support kerberos authentication in smbd when using a keytab
470 and participating in a non-Microsoft Kerberos realm.
473 o Ed Boraas <ed.boraas@concordia.ab.ca>.
474 * Added Linux per-socket TCP settings.
477 o Gerald (Jerry) Carter <jerry@samba.org>
478 * BUG 2626: ensure that the calling_name is set to something
479 after parsing smb.conf (if not set via -n).
480 * Use "add machine script" when creating a user (ACB_NORMAL)
481 who has a name ending in '$' (e.g. usrmgr.exe creating
482 domain trust accounts).
483 * Add 'rid' synonym for idmap_rid IDMap module.
484 * Ensure that we set full access on the handle returned
485 from _samr_create_dom_{alias,group}() so that future
486 set_{alias,group}() commands succeed.
487 * Fix bug when looking for internal domains in winbindd
488 (caused winbindd_getgrgid() for local groups to fail).
489 * Fix query and set alias info calls (level 1 from the MMC
490 manage computer plug-in.
491 * Remove bogus log messages about unknown specversions.
492 * BUG 2680: copy files from an MS-DFS win2k root share
493 * BUG 2688: re-implement support for the -P (--port) option
494 * Support connecting to an 'msdfs proxy' share on a Samba
496 * Strip the directory path from cups command line printing
498 * Fix bug that prevented smbclient from creating directories
500 * Deprecate the "printer admin" parameter in favor of the
501 SePrintOperatorPrivilege.
502 * Add the capability to read and write WinNT regf registry
504 * Implement access checks for RegOpenXXX() server calls.
505 * Extend registry client rpc calls.
506 * Add "net rpc registry" set of commands.
507 * Remove testprns tool.
508 * Ensure that printer ACLs use the specific bits as well as
509 the generic bits. Upgrade existing ntprinters.tdb SECDESC
511 * Add server support for RegSaveKey() for dumping registry
512 trees to a regf file.
513 * Add "enable asu support" smb.conf parameter.
514 * Merge various small file changes from trunk.
515 * Remove "winbind enable local accounts" support.
516 * Remove "ldap filter" smb.conf option.
517 * Remove editreg utility (needs to be rewritten using regfio.c).
518 * Fix build failure when running 'make torture' without first
519 running 'make all' first.
520 * BUG 1261: Remove unusable libbiconv from iconv detection
522 * Add new option for "map to guest". "Bad Uid" re-enables the
523 Samba 2.2 behavior of mapping authenticated users to the
524 guest account if there does not exist a valid Unix account
525 for the Windows domain user (based on patch from
526 aruna.prabakar@hp.com).
527 * Fix a couple of regressions after introduction of new winbindd.
528 * Fix smbpasswd user password change (still worked by bad error
529 messages) due to trying to strdup a NULL pointer.
530 * Implement default security descriptors for the
531 OpenService[Manager]() calls and check requested access mask
533 * Include access checks on handle mask for \svcctl operations
534 such as ControlService() and StartService().
535 * Implement simulated start and stop service control for
536 the spooler service as a per smbd service state value.
537 * Add interface structure for controlling service via rc.init
538 scripts (incomplete).
539 * Convert move_driver_to_download_area() to use copy_file()
540 rather than moving the files.
541 * Add version number to registry.tdb file since it can be
543 * Remove over-paranoid assert() call when checking spoolss
547 o <core@road-star.jp>
548 * BUG 2792: Ensure the shadow copy module hooks seekdir,
549 telldir, rewinddir to match updated large directory code.
552 o Guenther Deschner <gd@samba.org>
553 * Document pam_winbind.c to clarify the working status of
554 require-membership-of option.
555 * Added client-support for various lsa_query_trust_dom_info()
556 calls and a rpcclient-tester for some info-levels.
557 * Add "net rpc trustdom vampire" tool (in conjunction with
559 * Add missing cli_srvsvc_net_share_set_info-function and
560 rpcclient-testers (in preparation for net share acl migration).
561 * Print trusted domain passwords returned via rpcclient in
563 * Error code fixes when attempting to manipulating
565 * Cleanup "net share migrate" code.
566 * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime
570 o Renaud Duhaut <rd@duhaut.com>
571 * BUG 1040: Add directory_mode parameter when creating recycle
575 o Steven Edwards <steven_ed4153@yahoo.com>.
576 * Use chsize() if we don't have ftruncate().
579 o Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
580 * BUG 1780: Add kerberos (file based ticket cache) support
584 o Steve French <sfrench@us.ibm.com>
585 * Add missing error code mappings when a client unsuccessfully
586 tries to create a hard-link.
587 * Add support so umount.cifs can update mtab.
588 * Add two newer mount options to syntax help for mount.cifs.
589 * Add missing remount flag handling.
590 * Allow domain= to be specified in credentials file.
591 * Fix umount.cifs help, allow root to unmount someone else's
593 * Lock mtab when updating it during umount.cifs, also delete
594 only one matching entry at a time.
597 o Deryck Hodge <deryck@samba.org>
598 * BUG 2137: Encode quotes for display in HTML (original patch
602 o Olaf Imig <Olaf.Imig@bifab.de>
603 * BUG 1998: Correct byte ordering bug when storing 16-bit RAP
605 * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
608 o Volker Lendecke <vl@samba.org>
609 * Refactor passdb interface functions.
610 * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
611 * Correct 2 segv's in "net rpc printer migrate".
612 * Return correct group type from smbd for BUILTIN groups.
613 * Backport the talloc() layer from Samba 4.
614 * BUG 2701: Fix segv in ldap reconnection code.
615 * BUG 2705: Fix segv when connecting from usrmgr.exe.
616 * Use the SID in the user token for the %s expansion in 'afs
618 * Memory leak fixes in passdb code.
619 * BUG 2720: Fixes for "net usersidlist".
620 * BUG 2725: Fix segv in "net ads user".
621 * Only allow schannel connections if a successful Auth2
622 has been previously performed.
623 * Don't look at gencache.tdb for the trusted domains if
625 * Rewrite winbindd using an asynchronous process model.
628 o Herb Lewis <herb@samba.org>
629 * Adding robustness checks for tdbdump and tdbtool.
630 * Extend tdb command line parsing to arbitrary hex characters.
631 * Add LOCKING debug class.
632 * Fix more compiler warnings.
635 o Derrell Lipman <derrell@samba.org>
636 * BUG 2564: Ensure correct errno when smbc_opendir() was called
637 with a file rather than a directory.
638 * Correct deprecated lvalue casts in testsuite/libsmbclient.
639 * BUG 2663. cli_getattrE() and cli_setattrE() were not
640 formatting or parsing the timestamp values correctly.
641 * Correctly detect AF_LOCAL support in configure.
642 * Fix problem updating file times on Windows 98 hosts using
644 * Fix compile breakage on Solaris by eliminating the use of
645 ctime_r() in libsmbclient DEBUG statement.
648 o Jason Mader <jason@ncac.gwu.edu>
649 * BUG 2527, 2538: Removed unused variables.
652 o Jim McDonough <jmcd@us.ibm.com>
653 * BUG 2736: Add retries to workaround winbind race condition
654 with detecting idle clients.
657 o Lars Mueller <lmuelle@samba.org>
658 * BUG 2767: Add new options to testparm (--show-all-parameters,
659 --parameter-name, and --section-name).
660 * Fix net share migrate files to also migrate the ACLs of
661 the top level dir of a share.
664 o James Peach <jpeach@sgi.com>
665 * IRIX compiler warning fixes.
666 * BUG 2596: Fix become_root link issues and one IRIX stack
668 * Fix for null pointer ACL free.
671 o Marcin Porwit <mporwit@centeris.com>
672 * Miscellaneous fixes for Samba's experimental event log support.
673 * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server
677 o Tim Potter <tpot@samba.org>
678 * BUG 2623, 2630: $< and $* are not valid in explicit rules
680 * BUG 2560: Fix compile error lurking where PATH_MAX is not
682 * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
683 * BUG 2611: Add fflush(stdout) after displaying username prompt
684 in smbsh if username not specified on command line.
685 * BUG 2699: Fix for segfault in samba.winbind.auth_crap module
686 * BUG 2808: Update install swat message to reflect the fact
687 that swat/README no longer exists.
690 o Denis Sbragion <d.sbragion@infotecna.it>
691 * BUG 2196: Allow absolute path (system wide) recycle bin.
694 o Fernando Schapachnik <fernando@mecon.gov.ar>
695 * Add logon hours support for the Postgres backend.
698 o Richard Sharpe <rsharpe@samba.org>
699 * Fix bug in profiles tool caused by use of MAP_PRIVATE.
702 o Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
703 * BUG 2362: Quota support fix for DragonFly.
704 * Fix dragonfly detection in configure.
707 o John Terpstra <jht@samba.org>
708 * Solaris packaging fixes.
709 * Clean up usage help text in "net rpc user"
712 o Jelmer Vernooij <jelmer@samba.org>
713 * Add socket_wrapper library to 3.0. Can be enabled by passing
714 --enable-socket-wrapper to configure.
715 * Fix build of the various sql pdb backends after new talloc.
718 o Qiao Yang <qyang@stbernard.com>
719 * Use our own DC when getting the SID for a domain.
722 --------------------------------------------------
723 ==================================
724 Release Notes for Samba 3.0.15pre2
726 ==================================
728 Additional features introduced in Samba 3.0.15pre2 include:
730 o Support for several new Win32 rpc pipes.
731 o Improved support for OS/2 clients.
732 o New 'net rpc service' tool for managing Win32 services.
733 o Capability to set the owner on new files and directory
734 based on the parent's ownership.
737 ######################################################################
741 Changes since 3.0.14a
742 ---------------------
744 Parameter Name Action
745 -------------- ------
747 max stat cache size New
752 o Jeremy Allison <jra@samba.org>
753 * BUG 2533: Fix incorrect directory listings for OS/2 clients.
754 * Ensure the old SMB search calls always ask mask_match() to
755 translate patterns like ????????.???.
756 * Split out the check_path_syntax() into a findfirst, findnext,
758 * Fix checks for matching groups in an file ACL against the
759 user's primary and supplementary group list.
760 * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select
761 LANMAN2 protocol, ensure the EA size is always correctly
762 set on a query for a file with no EA's.
763 * BUG 2551: Look at the incoming flags2 flag
764 FLAGS2_LONG_PATH_COMPONENTS determines if a reply is
765 uppercased on a SMBsearch request, not the protocol level.
766 * Added "volume" command to smbclient that prints out the
767 volume name and serial number.
768 * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
769 * Add support for OS/2 Extended Attributes.
770 * Correctly check OpenX open modes.
771 * Ensure allocation size is correctly returned for OpenX.
772 * Only set allocation on create/truncate for nttrans.
773 * Fix oplock bug in trans2open() code.
774 * Remove unix_ERR_XXX global nastiness.
775 * Only do the strange DOS error for openX, not trans2open.
776 * Ensure SMBopen replies includes the share modes as well as
778 * BUG 2581: Add size limit (in kb) to stat cache.
779 * Fix bug in the trans2 secondary processing.
780 * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
781 * Add an SMB counter per connection struct for gathering
783 * BUG 2605: Ensure smbclient doesn't perform commands if
784 the "chdir" fails in a scripted set.
785 * Ensure a 'forced group' is added to the list of effective
786 gids when processing ACLs.
789 o Timur Bakeyev <timur@com.bat.ru>
790 * BUG 2546: Add support for FreeBSD EA API
793 o Gerald (Jerry) Carter <jerry@samba.org>
794 * Added support for \svcctl pipe rpcs.
795 * Added 'net rpc service' subcommand for managing Win32
797 * Refactoring work on the rpc [un]marshalling layer and
799 * Verify privilege name in 'net rpc rights privileges' in
800 order to provide better error messages.
801 * Cleanup rpc structures in rpc_spoolss.h.
802 * Cleanups and fixes for the \winreg server code.
803 * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
806 o Jeremy Cooper <jeremy@ncircle.com>
807 * Added support for several new \winreg client rpcs.
810 o Guenther Deschner <gd@samba.org>
811 * Close handles on group creation in rpcclient to better
812 support mass group account creation.
813 * Fix account policy key lookup for minimum and maximum
815 * Fix some compiler warnings and add missing exclude-block
816 in 'net rpc share migrate'.
819 o Steve French <sfrench@us.ibm.com>
820 * Update list of mount options for mount.cifs.
821 * Add more defines for POSIX extensions to match the newly
822 added client implementation.
823 * Add initial support for cifs umount utility.
824 * Fix cifs mounts to handle commas embedded in prompted
825 password, and password and credential files.
826 * Fix cifs mounts to handle domain name and user name in
827 username field (in form domain\user).
830 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
831 * BUG 2541: Fix copying of file(s) from samba share to an OS/2
835 o Tom Lackemann <cessnatomny@yahoo.com>
836 * BUG 2242: Patch to ensure that we only set the security
837 descriptor on an NTtransact create if we created the file.
840 o Volker Lendecke <vl@samba.org>
841 * Port some of the non-critical changes from HEAD to 3_0.
842 The main one is the change in pdb_enum_alias_memberships
843 to match samr.idl a bit closer.
844 * Close handles on user creation in rpcclient to better
845 support mass user account creation.
846 * Implement client RAP calls for enumusers/enumgroups level 0.
847 * Implement a new caching API for enumerating the pdb elements.
848 * Convert the RAP user and group enumeration functions to the
849 utilized the pdb_search API.
850 * BUG 2438: Partial fix for 'net rpc trustdom establish' in
851 RestrictAnonymous environments.
852 * Internal passdb API changes for better search capabilities
853 (based on original work by Guenther Deschner).
856 o Herb Lewis <herb@samba.org>
857 * Compiler warning cleanups.
858 * smbwrapper Makefile and compile time check cleanups.
861 o Derrell Lipman <derrell@samba.org>
862 * add support for opening a file for write with O_APPEND
864 * Added smbsh/smbwrapper for Linux to example/libsmbclient
866 * Fix smbc_stat() from returning incorrect timestamps IFF
867 it used cli_qpathinfo2() to retrieve the timestamps (Win2k)
868 and not if it used cli-getatr() to retrieve the timestamps
870 * Fix handful of compiler warnings.
871 * BUG 2498, 2484: smbc_getxattr() fixes.
872 * BUG 1133: Added provision for overloading some global
873 configuration options via the new, per-user file
874 ~/.smb/smb.conf.append.
875 * BUG 2543: Properly cache anonymous username when reverting
876 to anonymous login, in libsmbclient.
877 * BUG 2505: Fix large file support in libsmbclient.
880 o Jason Mader <jason@ncac.gwu.edu>
881 * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
884 o Jim McDonough <jmcd@us.ibm.com>
885 * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
886 (in conjunction with Volker).
889 o Marcel Muller <mueller@maazl.de>
890 * Patch to fix the OS/2 EA_FROM_LIST info level call.
891 * Mangled names fix for OS/2 clients.
895 o James Peach <jpeach@sgi.com>
896 * BUG 1843: Fix quotas (with no soft limits) on IRIX.
899 o Marcin Porwit <mporwit@centeris.com>
900 * Initial support for the \eventlog pipe.
903 o Simo Sorce <idra@samba.org>
904 * Allow Domain Admins to force user sessions to close via the
905 Windows Server Manager.
906 * Add support to 'net rpc right privileges <name>' to enumerate
907 accounts which possess a specific privilege.
910 o Mark Weaver <mark-clist@npsl.co.uk>
911 * Patch to fix sys_select so it can't drop signals if another
915 o Jelmer Vernooij <jelmer@samba.org>
916 * Remove --with-manpage-languages configure option.
919 --------------------------------------------------
920 ===============================
921 Release Notes for Samba 3.0.14a
923 ===============================
925 Common bugs fixed in 3.0.14a include:
927 o Compatibility issues between Winbind and Windows 2003 SP1
928 domain controllers (*2k3sp1*).
929 o MS-DFS errors with Windows XP SP2 clients.
930 o High CPU loads caused by infinite loops in the FindNext()
932 o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd
936 ######################################################################
945 o Jeremy Allison <jra@samba.org>
946 * Fixed invalid SMB_ASSERT() triggered by checking access on
956 Parameter Name Action
957 -------------- ------
958 dos filetimes Enabled by default
963 o Jeremy Allison <jra@samba.org>
964 * Prevent nt_status code support when negotiating protocols
966 * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
967 as this SMB is DOS codepage only.
968 * BUG 2585: Fix printf() issues in smbpasswd which caused
970 * BUG 2563: Fix infinite loop on non-existent file with
972 * BUG 2581 (partial): Ensure if realloc fails on an internal
973 tdb we fail gracefully.
974 * Ensure that 'dos filetimes' works with ACLs.
975 * Set 'dos filetimes = yes' as the default for smb.conf.
978 o Gerald (Jerry) Carter <jerry@samba.org>
979 * Workaround autoconf issue to prevent debug symbols from
980 being included in the default build.
981 * Disable schannel on the \lsarpc pipe in order to successfully
982 enumerate users and groups (*2k3sp1*)
983 * Fix parsing error in rpc binds which broke NTLMSSP
984 authentication. And as a result broke CTL+ALT+DEL password
985 changes from a Windows 2003 SP1 member of a Samba domain
987 * Revert change to FindFirst() server code that broke WinXP
988 SP2 clients from launching *.exe files from a dfs target
990 * BUG 2588: Force smbclient to send netbios messages to port
991 139 unless otherwise instructed (based on patch from Thomas
995 o Volker Lendecke <vl@samba.org>
996 * Fix build on FreeBSD 4 where Winbind is not supported.
997 * Fix 'wbinfo --user-sids' when using domain local groups.
998 * Restrict domain local groups reported by 'wbinfo -r' to
999 the Samba server domain and not the users domain.
1002 o Lin Li <linl@xandros.com>
1003 * Ensure that winbind initializes internal trusted domain
1004 structures when enumerating users and groups.
1007 o Tim Potter <tpot@samba.org>
1008 * BUG 2565: Fix crash bug and compiler warnings in strchr_m()
1010 * Fix compiler warnings.
1013 o <psz@maths.usyd.edu.au>
1014 * Fix for possible root squash NFS bugs.
1017 o Simo Sorce <irda@samba.org>
1018 * Debian packaging fixes.
1024 Release Notes for older release follow:
1026 --------------------------------------------------
1027 ==============================
1028 Release Notes for Samba 3.0.13
1030 ==============================
1032 Common bugs fixed in 3.0.13 include:
1034 o Infinite FindNext() loop from Windows 9x client when
1035 copying or deleting files on a Samba file share using
1037 o Numerous smbclient bugs when listing directories.
1038 o Failures in smbclient when connecting to a Windows 9x
1042 ######################################################################
1046 Changes since 3.0.12
1047 --------------------
1049 o Jeremy Allison <jra@samba.org>
1050 * Fix typo bug in smbclient where flags overwrote info level
1051 in the cli_list_new().
1052 * Fix old smbclient bug where ff_searchcount was being compared
1053 to -1 resulting in processing a filename twice.
1054 * Fix segv in smbclient caused by overwriting the last 2 bytes
1056 * BUG 2530: Fix potential segv in smbclient when talking to a
1057 Windows 9x file server.
1058 * Fix last entry offset in cli_list_new() when using a
1059 FindFirst/FindNext info level of 0x104.
1060 * BUG 2501: Stop Win98 from looping doing FindNext on a
1061 singleton directory.
1062 * BUG 2521: Fix error in access checks when user group ACLs.
1065 o Gerald (Jerry) Carter <jerry@samba.org>
1066 * BUG 2497: Fix bug in rpcclient's deletedriverex when asking
1067 to delete all versions of a driver.
1068 * BUG 2517: use the realm from smb.conf for 'net ads info' when
1069 'disable netbios = yes'.
1070 * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1072 * Update RedHat packaging files to require cups support. Also
1073 remove requirement for 'idmap {uid,gid}' settings in smb.conf
1074 from winbindd init script.
1075 * BUG 2516: fix compile issue on True64.
1079 o Guenther Deschner <gd@samba.org>
1080 * Check for the correct cli-struct when copying files in 'net
1081 rpc printer' routines.
1084 o Herb Lewis <herb@samba.org>
1085 * Fix incorrect test in 'net rpc user' when the user is not
1086 a member of any groups.
1089 o Jim McDonough <jmcd@us.ibm.com>
1090 * Make sure that enum_group_members() searches the correct suffix.
1093 --------------------------------------------------
1094 ==============================
1095 Release Notes for Samba 3.0.12
1097 ==============================
1099 Common bugs fixed in 3.0.12 include:
1101 o Winbind failures when using 'disable netbios = yes'
1102 o Failure to establish a trust relationship via 'net rpc trust
1104 o Various portability & compiler issues.
1105 o Read only file deletion failure caused by new delete semantics
1106 in Windows XP SP2 and the MS 04-044 security hotfix.
1107 o Error messages from shared Excel workbooks residing on Samba
1109 o Missing files in the output of smbclient -c 'dir' when run
1110 against Windows file servers.
1111 o Inability for Print Administrators to pause/resume/purge print
1114 Additional features introduced in Samba 3.0.12:
1116 o Performance enhancements when serving directories containing
1117 large number of files.
1118 o MS-DFS support added to smbclient.
1119 o More performance improvements when using Samba/OpenLDAP based
1120 DC's via the 'ldapsam:trusted=yes' option.
1121 o Support for the Novell NDS universal password when using the
1122 ldapsam passdb backend.
1123 o New 'net rpc trustdom {add,del}' functionality to eventually
1124 replace 'smbpasswd {-a,-x} -i'.
1125 o New libsmbclient functionality.
1129 =======================
1130 Large Directory Support
1131 =======================
1133 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1134 with file services that frequently contain a large number of files
1135 per directory. Historically Samba's performance has suffered
1136 in such environments due to the translation from case
1137 insensitive lookups by Windows client to the case sensitive
1138 storage mechanisms used by UNIX filesystems.
1140 Configuration details along with a short HOWTO can be found at:
1142 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1145 ==================================
1146 libsmbclient Binary Compatibility
1147 ==================================
1149 Please note that a change has been made to the _SMBCCTX structure
1150 in source/include/libsmbclient.h. This change is not backwards
1151 compatible with applications linked against the libsmbclient.so
1152 library from Samba 3.0.11. However, it is compatible with all
1153 other Samba 3.0.x releases. This means that it will be most likely
1154 be necessary to recompile any applications linked against the
1155 3.0.11 version of the library.
1158 ######################################################################
1165 Parameter Name Action
1166 -------------- ------
1167 allocation roundup size New
1168 log nt token command New
1169 write cache Deprecated
1171 Changes since 3.0.12rc1
1172 -----------------------
1175 o Jeremy Allison <jra@samba.org>
1176 * Debug log message cleanups.
1177 * Add case insensitive search for a principal match on logon
1178 verification in the system keytab (based on patch by
1179 Michael Brown <mbrown@fensystems.co.uk>).
1180 * Revert the previous SMB signing change from Nalin Dahyabhai
1181 when using DES keys.
1182 * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1183 * Fix FindFirst() server code to deal with resume names of ".."
1184 and "." (found by Jim McDonough).
1185 * BUG 2451: Fix missing functions in full audit VFS module.
1186 * Ensure that smbd logs failures reported by DISK_FREE()
1187 (reported by Ying Li <ying.li2@hp.com>).
1188 * Ensure that smbclient obeys the max protocol argument again.
1189 * BUG 2335: Return correct error code for OS/2 clients (based on
1190 negotiated protocol level).
1191 * BUG 2460, 2464: remove dead code and unused variables
1192 (reported by Jason Mader).
1195 o Vince Brimhall <vbrimhall@novell.com>
1196 * BUG 2453: Change the way pdb_nds.c handles users with no
1197 Universal or Simple Password.
1198 * NDS schema file corrections.
1201 o Gerald (Jerry) Carter <jerry@samba.org>
1202 * Various small compile fixes and cleanup warnings.
1203 * BUG 2456: Fix compile failure on non-gcc platforms due to
1204 non-standard pragma.
1207 o Guenther Deschner <gd@samba.org>
1208 * Add example perl script to check for multiple LDAP entries
1209 after running 'net rpc vampire'.
1210 * Add more output when listing printer forms via rpcclient.
1211 * Debug log message cleanup.
1214 o William Jojo <jojowil@hvcc.edu>
1215 * BUG 2445: Patch to avoid default ACLs on AIX.
1218 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1219 * Implement better solution for backwards binary compatibility
1220 in libsmbclient while adding new fields to struct _SMBCCTX.
1223 o Mark Loeser <halcy0n@gentoo.org>
1224 * BUG 2443: Compile fix for gcc4.
1227 o Jim McDonough <jmcd@us.ibm.com>
1228 * BUG 2338: Fix coredump when OS/2 checks for long file name
1229 support (with .+,;=[].) (thanks to Guenter Kukkukk).
1232 o John Terpstra <jht@samba.org>
1233 * Add the capability to set account description using pdbedit.
1236 o Doug VanLeuven <roamdad@sonic.net>
1237 * Add more case/realm/name permutations to the kerberos keytab.
1240 Changes since 3.0.11
1241 --------------------
1245 o Jeremy Allison <jra@samba.org>
1246 * BUG 2146: Return correct allocation sizes so as not to crash
1248 * BUG 962: Ensure that parsing of service names in smb.conf is
1250 * BUG 2201, 2227: Support new delete semantics used by MS04-044
1252 * BUG 1525: Correctly timestamps interpreted on 64-bit time_t
1253 values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1254 * Add special hooks when serving directories containing large
1256 * Ensure that WINS negative name query responses and WACK
1257 packets use the correct RR type of 0xA instead of reflecting
1258 back what the query RR type was (0x20).
1259 * BUG 2310: Only do 16-bit normalization on small dfree request.
1260 * BUG 2323: Correct authentication failure when using plaintext
1261 passwords from Windows XP clients.
1262 * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1263 work around issues building MS Visual Studio 6.0 project
1264 on a Samba file share while restoring the pre-3.0.21pre1
1265 behavior by default.
1266 * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of
1267 stat when checking for existence of a pathname.
1268 * Check the sticky bit on the parent directory for supporting
1269 the new WinXP SP2 file deletion semantics.
1270 * Various oplock, share mode, and byte range locking fixes
1271 found by Connectathon tests.
1272 * BUG 2271: Fix resume key issues in trans2FindFirst() client
1274 * BUG 2382, 2045: More pending modtime and delayed write fixes
1275 for MS Excel (incorporates partial patches from
1276 ke_miyata@itg.hitachi.co.jp).
1279 o Andrew Bartlett <abartlet@samba.org>
1280 * Avoid length-limited intermediate copy of NT and LM responses
1282 * Debug message cleanups in the NTLMSSP implementation.
1285 o Manuel Baena <mbaena@lcc.uma.es>
1286 * Print actual error message in smbmnt.c:fullpath().
1289 o Vince Brimhall <vbrimhall@novell.com>
1290 * Add support for Novell NDS universal password.
1291 * BUG 2424: Ensure that uidNumber and gidNumber use match
1295 o Gerald (Jerry) Carter <jerry@samba.org>
1296 * Add trans2 client call for checking dfs referrals
1297 * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO)
1298 when checking directories on modern CIFS servers.
1299 * Add MS-DFS support to smbclient.
1300 * Code cleanup of adt_tree.[ch].
1301 * Add missing checks to allow root to manage user rights.
1302 * Allow domain admins to manage rights assignments on domain members
1304 * BUG 2333: Use the lpq command to pass in the correct printer name
1305 for cups_queue_get(). CUPS backend now sets 'lpq command= %p' as
1307 * BUG 1439: make sure to initialize pointer to prevent invalid
1309 * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable
1311 * Add cups-devel to BuidlRequires directive in Fedora spec file.
1312 * BUG 858: Fix order of popt args evaluation so we don't crash
1313 when given no command line args.
1314 * Remove dependency on bash for source/autogen.sh.
1315 * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1316 * Implement MS-DFS for recursive directory listings in smbclient.
1317 * BUG 2394: Fix nmbd linking issue on IRIX.
1318 * Only display the publish check box in the client's printer
1319 properties dialog if we are a member of an AD domain.
1320 * BUG 2363: allow 'in use' driver to be removed as long as
1321 one 'Windows NT x86' driver remains.
1322 * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for
1324 * Enforce better printer.tdb cache consistency when removing
1325 jobs from a print queue via SMB.
1326 * Ensure that pause/resume/purge print queue commands are run
1327 with the appropriate level of privilege necessary to actually
1329 * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1330 for 'printing = cups' installations that do not actually have
1332 * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1333 * BUG 2215: Rewrite questionable code that was causing gcc to
1335 * Add server support for LsaLookupPrivValue().
1338 o Kevin Dalley <kevin@kelphead.org>
1339 * BUG 2398: Don't force smbclient to assume a dry run if the
1340 target tarfile is /dev/null.
1343 o Guenther Deschner <gd@samba.org>
1344 * Fix crash bug in the client-spoolss enumdataex-call.
1345 * Expand the valid-workstation-scheme by expanding names
1346 beginning with a plus (+) as a unix group.
1347 * Allow own netbios name to be set in smbclient's session setup.
1348 * Better handling of LDAP over IPC connections that have expired
1350 * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1351 * Add examples/misc/adssearch.pl.
1352 * BUG 2343: Build fixes.
1353 * Support get_user_info_7 in SAMR server RPC.
1354 * Fix server_role in the samr_query_dom_info calls.
1357 o Steve French <sfrench@us.ibm.com>
1358 * On failed mount (ENXIO) retry share name in uppercase (fix
1359 mount to FastConnect AIX SMB server).
1360 * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1361 * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1362 it with a user name.
1363 * Update for new CIFS POSIX info levels.
1364 * Ignore users mount parm in mount.cifs.
1367 o SATOH Fumiyasu <fumiya@samba.gr.jp>
1368 * BUG 1549: Don't truncate service names in smbstatus.
1371 o S Murthy Kambhampaty <smk_va@yahoo.com>
1372 * Add idmap_rid module to Fedora and RedHat spec files.
1375 o Volker Lendecke <vl@samba.org>
1376 * BUG 2401: Flush internal getpwnam() cache after deleting a
1378 * BUG 1604: Make winbind work with more than 10 trusted domains.
1379 * Cleanup various compiler warnings.
1380 * Fix a memory leaks in privileges code and passdb backends.
1381 * Fixes for samr_lookup_sids() client call.
1382 * Optimize _samr_query_groupmem with LDAP backend for large
1384 * Support SIDs as %s replacements in the afs username map
1386 * Add 'log nt token command' parameter. If set, %s is replaced
1387 with the user sid, and %t takes all the group sids.
1388 * Do not use the "Local Unix Group"-default description for
1389 all kinds of group-mappings.
1390 * Fix uninitialized variable in Linux nss_winbind library.
1391 * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1392 * Implement 'net afs impersonate'.
1395 o Herb Lewis <herb@samba.org>
1396 * Fix build problem when HAVE_POSIX_ACL is not defined.
1397 * BUG 2417: Add help lines for net rpc group addmem and
1401 o Jason Mader <jason@ncac.gwu.edu>
1402 * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1406 o Derrell Lipman <derrell.lipman@unwireduniverse.com>
1407 * Add support to libsmbclient for getting and setting DOS
1408 attributes using EA functions.
1409 * Fix libsmbclient's URL encoding/decoding.
1410 * Replace browse listing URI queries with an internal options
1411 structure (previous method violated the SMB URI syntax).
1412 * Allow tree connects to be multiplexed over a single CIFS server
1414 * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1415 can determine a dead tree connection.
1418 o Justin Ossevoort <justin@snt.utwente.nl>
1419 * BUG 2316: Fix crashes in pdb_pgsql.
1422 o Jim McDonough <jmcd@us.ibm.com>
1423 * Fixes for server schannel implementation when 'restrict
1424 anonymous = 1' is set in smb.conf.
1425 * Fix bug in server side lookupsids reply that crashed lsass.exe
1427 * Fix 'net rpc trustdom establish'.
1428 * BUG 2062: Turn off broadcast for all 390 NICs.
1429 * Fix 'net rpc trustdom add' to correctly add new domain trust
1430 accounts. This will eventually replace 'smbpasswd -a -i'.
1431 * Implement 'net rpc trustdom del', including client side of
1432 samr_remove_sid_from_foreign_domain.
1433 * Bring IBM Directory Server schema up to date with openldap
1435 * Allow for better protection of sensitive attributes in IBM
1439 o Stefan Metzmacher <metze@samba.org>
1440 * Fix memleaks in the nttrans code.
1443 o Mike Nix <mnix@wanm.com.au>
1444 * Add SMBsplopen and SMBsplclose client calls.
1447 o James Peach <jpeach@sgi.com>
1448 * Fixes in string handling code.
1449 * Fix oplock2 test in client smbtorture.
1452 o Tim Potter <tpot@samba.org>
1453 * Fix up example pdb modules after prototype change for
1455 * BUG 2058: Fix for shared object creation in examples.
1456 * BUG 2315: Fix segv in LSA privileges server code.
1457 * Build fixes for python wrapper libraries.
1460 o Richard Sharpe <rsharpe@samba.org>
1461 * BUG 2044: Fix segv in profiles tool.
1462 * Fix bogus error messages when enumerating user group
1463 membership via 'net rpc'.
1466 o Simo Sorce <idra@samba.org>
1467 * Debian packaging fixes.
1470 o Doug VanLeuven <roamdad@sonic.net>
1471 * AIX compile fixes.
1474 o Jelmer Vernooij <jelmer@samba.org>
1475 * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1476 * BUG 1957: Implement minimal update of fields in mySQL pdb
1480 o Torsten Werner <torsten.werner@assyst-intl.com>
1481 * BUG 2405: Define 'lpstat' printcap output on HPUX.
1484 o Shlomi Yaakobovich" <Shlomi@exanet.com>
1485 * Detect infinite loops when traversing tdbs.
1488 --------------------------------------------------
1489 ==============================
1490 Release Notes for Samba 3.0.11
1492 ==============================
1494 Common bugs fixed in 3.0.11 include:
1496 o Crash in smbd when using CUPS printing.
1497 o Parsing error of other SIDs included in the user_info_3
1498 structure returned from domain controllers.
1499 o Inefficiencies when searching non-AD LDAP directories.
1500 o Failure to expand variables in user domain attributes
1501 in tdbsam and ldapsam.
1503 o Failure to retrieve certain attribute when migrating from
1504 a Windows DC to a Samba DC via 'net rpc vampire'.
1505 o Numerous printing bugs bugs including memory
1506 bloating on large/busy print servers.
1507 o Compatibility issues with Exchange 5.5 SP4.
1510 Additional features introduced in Samba 3.0.11:
1512 o Winbindd performance improvements.
1513 o More 'net rpc vampire' functionality.
1514 o Support for the Windows privilege model to assign rights
1516 o New administrative options to the 'net rpc' command.
1523 If "ldap user suffix" or "ldap machine suffix" are defined in
1524 smb.conf, all user-accounts must reside below the user suffix,
1525 and all machine and inter-domain trust-accounts must be located
1526 below the machine suffix. Previous Samba releases would fall
1527 back to searching the 'ldap suffix' in some cases.
1534 Samba 3.0.11 supports the following assignable rights
1536 SeMachineAccountPrivilege Add machines to domain
1537 SePrintOperatorPrivilege Manage printers
1538 SeAddUsersPrivilege Add users and groups to the domain
1539 SeRemoteShutdownPrivilege Force shutdown from a remote system
1540 SeDiskOperatorPrivilege Manage disk shares
1542 These rights can be assigned to arbitrary users or groups
1543 via the 'net rpc rights grant/revoke' command. More details
1544 of Samba's privilege implementation can be found in the
1545 Samba-HOWTO-Collection.
1548 ######################################################################
1552 Changes since 3.0.10
1553 --------------------
1558 Parameter Name Action
1559 -------------- ------
1560 afs token lifetime New
1561 enable privileges New
1562 ldap password sync Alias
1563 min password length Deprecated
1564 winbind enable local accounts Deprecated
1569 o Jeremy Allison <jra@samba.org>
1570 * Extend vfs to add seekdir/telldir/rewinddir.
1571 * Fix dirent return.
1572 * Fix bugs when handling secondary trans2 requests.
1573 * Implementation of get posix acls in UNIX extensions.
1574 * Added set posix acl functionality into the UNIX extensions code.
1575 * Updated config.guess/config.sub .
1576 * Fix error reply when 'follow symlinks = no'.
1577 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
1579 * Fixes for LARGE_READX support.
1580 * Fix the problem we get on Linux where sendfile fails, but we've
1581 already sent the header using send().
1582 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
1584 * BUG 2088: Ensure inherit permissions is only applied on a new
1585 file, not an existing one.
1586 * Don't go fishing for the krb5 authorization data unless we know
1588 * Fixes for libsmbclient to ensure that interrupted system calls
1589 are restarted minus the already expired portion of the timeout
1590 (based on work by Derrell Lipman).
1591 * More Unicode string parsing fixes.
1592 * Convert the winreg pipe to use WERROR returns.
1593 * Make all LDAP timeouts consistent (input from Joe Meadows
1594 <jameadows@webopolis.com>).
1595 * BUG 2231: Remove double "\\" from client findfirst.
1596 * BUG 2238: Fix memory leak in shadow copy vfs.
1597 * Return correct DOS/NT error code on transact named pipe on
1599 * BUG 2211: Fix security descriptor parsing bug (based on work by
1600 Mrinal Kalakrishnan <mail@mrinal.net>).
1601 * BUG 2270: Fix memory leaks in cups printing backend support
1602 (based on work by Lars Mueller).
1603 * BUG 2255: Fix debug level in kerberos error messages.
1604 * BUG 2110: Ensure we convert to ucs2 correctly after the
1605 CAN-2004-0930 patch.
1606 * Make strict locking an enum. Auto means use oplock optimization.
1607 * Fix client & server to allow 127k READX calls.
1608 * More *alloc fixes (includes additional fixes by Albert Chin.
1609 * Catch sendfile errors correctly and return the correct values
1610 we want the caller to return.
1611 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
1612 for better use by desktop environments such as GNOME.
1613 * Ensure we can't remove a level II oplock without having the
1614 shared memory area locked.
1617 o Timur Bakeyev <timur@com.bat.ru>
1618 * BUG 2100: change the way we check for errors after a dlopen().
1619 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
1622 o Andrew Bartlett <abartlet@samba.org>
1623 * Clarify error message when 'lanman auth = no'.
1624 * Remove the unnecessary UTF-8 conversion calls in the calls to
1625 auth_winbind from smbd.
1626 * Don't store the auth-user credentials with the cli_state* as
1627 this can cause the schannel setup to fail when the auth-user
1628 domain is not our primary domain.
1631 o Grigory Batalov <bga@altlinux.org>
1632 * Fix encoding while receiving of a message which was actually
1633 sent using STR_ASCII.
1636 o Daniel Beschorner <db@unit-netz.de>
1637 * BUG 603: Correct access mask check for _samr_lookup_domain()
1638 to work with Windows RAS server
1641 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1642 * Fix missing printer_tdb reference decrement.
1645 o Gerald (Jerry) Carter <jerry@samba.org>
1646 * BUG 2073: fall back to smb_name if current_user_info is not
1647 available in lp_file_list_changed().
1648 * Fixes the spurious 'register_message_flags: tdb fetch failed'
1650 * Don't run the background LPQ daemon when we are running in
1652 * prevent the background LPQ daemon from updating the print queue
1653 cache just because multiple smbd processes sent a message that
1655 * consolidate printer searches to use find_service rather than
1657 * BUG 2091: don't remove statically defined printers in
1658 remove_stale_printers().
1659 * Fix logic error in add_a_form() that only compared N characters
1660 instead of the entire form name.
1661 * BUG 2107: fix memory bloating caused by large numbers of
1662 print_queue_updates() requests sent via messages.tdb.
1663 * Check the setprinter(3) based on the access permissions on
1664 the handle and avoid the call to print_access_check().
1665 * Re-instantiate previous semantics for calling init_unistr2()
1666 with a NULL source buffer.
1667 * Support Windows privilege model for assigning rights
1668 to specific SIDs. Based on work by Simo Sorce in the trunk
1669 svn branch. This feature is controlled by the 'enable
1670 privileges = [yes|no]' smb.conf(5) option.
1671 * Add some smb.conf scripts for add/delete/change shares and
1672 deleting cups printers.
1673 * Expand variables in the profile path, logon home and logon script
1674 values when using either tdbsam or ldapsam.
1675 * Add Domain Admins (Full Control) to the default printer security
1676 descriptor if we are a DC.
1677 * RedHat and Fedora Packaging fixes for perl dependencies.
1678 * Remove unused schema items from OpenLDAP schema file.
1679 * Remove duplicate enumeration of "Windows x86" architecture
1680 when listing printer drivers via rpcclient.
1681 * Fail set_privileges() if 'enable privileges = no' to prevent
1683 * Fix segfault in cups_queue_get().
1684 * Tighten restrictions on changing user passwords when
1685 the connected user possesses the SeMachineAccountPrivilege.
1686 * Ensure we set NETBIOSNAME.domainname for the long machine name
1687 when publishing printers in AD (based on input from Rob Foehl).
1688 * Mark 'winbind enable local accounts' as deprecated.
1689 * Mark testprns tool as deprecated.
1690 * Allow root to grant/revoke privilege assignments.
1691 * Correct interaction between user rights and se_access_check() on
1693 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
1695 * BUG 2262: Add support in configure.in for *freebsd6*.
1696 * BUG 2266: Portability fixes for quota code on FreeBSD4.
1697 * BUG 2264: Remove shutdown and abortshutdown commands from
1698 rpcclient in favor of using the same functions in 'net'.
1699 * BUG 2295: Prevent smbd from returning an empty server name
1700 in certain lanman api calls.
1701 * BUG 2290: Fix autogen.sh script in examples (based on original
1702 patch from Lars Mueller).
1703 * Fix bug enumerating domain trusts in security = ads.
1704 * Fix segv in rpcclient's dsenumdomtrusts.
1705 * Fix bug in expansion of %U and %G in included filenames.
1706 * BUG 2291: Restrict creation of server trust and domain trust
1707 accounts to members of the "Domain Admins" group.
1709 o Nadav Danieli <nadavd@exanet.com>
1710 * Short circuit some is_locked() tests if we are oplocked.
1713 o Guenther Deschner <gd@samba.org>
1714 * Allow 'localhost' as a valid server name in the smbd for the
1716 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1717 Mewburn for the input).
1718 * BUG 2059: Add additional checks needed after logic change to the
1719 HAVE_WRFILE_KEYTAB detection test.
1720 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
1721 Samba DC. Allow us to lookup at least our own SID.
1722 * More fixes to have proper German in swat (Thanks to Reiner
1723 Klaproth and Björn Jacke.
1724 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
1725 setting security descriptors with smbcacls and using with
1726 the -S or -M switch.
1727 * Include the munged_dial, bad_password_count, logon_count, and
1728 logon_hours attributes when running 'net rpc vampire'.
1729 * Fix segfault in idmap_rid.
1730 * When winbindd is operating in the multi-mapping mode of
1731 idmap_rid, allow BUILTIN domain-mapping.
1732 * Display infolevel 12 in query_dom_info in rpcclient.
1733 * Fix bug in winbindd's lowercasing of usernames.
1734 * Allow -v or -l for displaying verbose groupmap-listing
1735 as well as "verbose".
1736 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
1738 * Close LDAP-Connection before retrying to open a new connection
1740 * Marking "min password length" as depreciated.
1741 * Implement SAMR query_dom_info-call info-level 8 server- and
1742 client-side, based on samba4-idl.
1743 * Allow rpcclient to define a port to use when connecting
1745 * Allow Account Lockout with Lockout Duration "forever" (until
1746 admin unlocks) to be set and displayed in User Manager.
1747 * Allow to set acb_mask in rpcclient's enumdomusers.
1748 * Add more generic rootDSE inspection function to check
1749 for given controls or extensions and remember these on a
1751 * Improve LDAP search efficiency by passing the acb_mask to
1753 * Fixes for ldapsam_enum_group_memberships().
1754 * Add createdomgroup to rpcclient.
1755 * Add "net rpc user RENAME"-command.
1756 * Display sam_user_info_7 in rpcclient.
1757 * Make multi-domain-mode in idmap_rid accessible from outside
1758 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1759 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
1760 "Lockout Duration: Forever".
1761 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1763 * Require assignment of Administrator SID in the passdb
1764 backend. Fall back to the default name of 'Administrator' if
1765 the lookup fails rather than using the first name in the
1766 default 'admin users' list.
1767 * Enhance LDAP failure debug messages.
1768 * BUG 2291: Call the 'add machine script' for server trust and
1769 domain trust accounts as well as workstation accounts.
1772 o Levente Farkas <lfarkas@lfarkas.org>
1773 * BUG 2299: Better logrotate scripts for RedHat and Fedora
1777 o Jay Fenlason <fenlason@redhat.com>
1778 * Fix crash in 'net join' due to calling free on
1780 * Several patches from RedHat's Fedora Core RPMS.
1783 o Rob Foehl <rwf@loonybin.net>.
1784 * Compiler warnings.
1785 * Try modifying printer published attributes before adding it a
1787 * Solaris packaging fixes.
1788 * Don't force the cups printer-make-and-model tag as the comment
1789 for autoloaded printers.
1790 * Implement caching of names from printcap to support a true
1791 'printcap cache time'.
1794 o Johann Hanne <jhml@gmx.net>
1795 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1798 o Jeff Hardy <hardyjm@potsdam.edu>
1799 * Example script for 'add print command' when using CUPS.
1802 o Deryck Hodge <deryck@samba.org>
1803 * Add -P (--password-only-menu) to SWAT for displaying only the
1804 password change page to non-root users.
1807 o David Hu <david.hu@hp.com>
1808 * Copy structure from print_queue_update() message rather than
1809 referencing it. Fixes seg fault on HP-UX.
1812 o Buck Huppmann <buckh@pobox.com>
1813 * BUG 2186: Don't free uninitialized credentials.
1814 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
1815 dnsDomainName != realm.
1818 o Björn Jacke <bjoern@j3e.de>
1819 * BUG 2040: Ensure the locale is reset to C to get ASCII-
1820 compatible toupper/lower functions.
1823 o William Jojo <jojowil@hvcc.edu>
1824 * Fix HPUX sendfile and add configure.in tests and code for
1826 * AIX 5.3 compile fixes.
1829 o Volker Lendecke <vl@samba.org>
1830 * Optimize anonymous session setups by workstations in a
1832 * Reimplment the QueryUserAliases() server RPC reply.
1833 * Re-add the getpwnam-cache for performance.
1834 * Cache the result of a pdb_getsampwnam for later SID lookup
1836 * Unify the means of localtaing a user's global groups on a
1838 * Fix bug when serving the 'Start Menu' in a roaming user profile..
1839 * Map more pre-defined NT security descriptors to AFS acls.
1840 * Add timeout to AD search requests.
1841 * If a connection to a DC is requested (in winbindd), open
1842 connections simultaneously to all DCs found.
1844 * Fix logic error in handling of 'printcap name' parameter.
1845 * Prevent winbindd from SPAM'ing the log files with 'user root
1847 * Backport samr_DomInfo2 IDL specification from Samba 4.
1848 * Implement smbstatus -n, don't lookup users and groups.
1849 * Implement simple mapping that maps the space to another character
1850 defined by afsacl:space.
1851 * Add support for 'net idmap delete <idmap-file> <SID>'.
1852 * Add new parameter 'afs token lifetime' tells the AFS client
1853 when to throw away a token (patch from kllin@it.su.se).
1854 * Initial work to allow support for multiple pipe opens on a
1856 * Ensure that we still retrieve the netbios name of any DC
1857 listed as a 'password server' to work around cases where the
1858 DC was defined using an IP address or fqdn.
1859 * Fix memleak in winbindd connection code.
1860 * Fix cli_samr_queryuseraliases.
1861 * Allow wbinfo --user-sids to expand expand domain local groups.
1862 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
1863 * Fix parsing of other_sids in net_user_info3.
1864 * Correct bad failure logic when user was not a member of any
1865 domain local groups.
1868 o Jason Mader <jason@ncac.gwu.edu>
1869 * BUG 2113, 2289: Remove dead code.
1872 o Jim McDonough <jmcd@us.ibm.com>
1873 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
1874 clients. If it fails, fall back to WINREG.
1875 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
1876 * BUG 2198: Set password last change time when running 'net rpc
1878 * Add "refuse machine password change" policy field.
1881 o Luke Mewburn <lukem@NetBSD.org>
1882 * BUG 2150: shmget() - Use POSIX definitions instead of non-
1886 o Stefan Metzmacher <metze@samba.org>
1890 o Buchan Milne <bgmilne@mandrake.org>
1891 * Mandrake packaging fixes.
1894 o Lars Mueller <lmuelle@samba.org>
1895 * Fix build of libsmbclient on x86_64.
1896 * BUG 2013: Fix testsuite build issues when libsmbclient.so
1897 is installed in a non-default location.
1898 * BUG 2050: Calculate max_fd for select correctly.
1899 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
1903 o Jason Mader <jason@ncac.gwu.edu>
1904 * BUG 2069: Remove unused variables.
1905 * BUG 2075: Remove dead code paths.
1906 * BUG 2083: Fix compiler warnings caused by bad type casts.
1909 o James Peach <jpeach@sgi.com>
1910 * Fix rewinddir -> rewind_dir when using VFS macros.
1913 o Gavrie Philipson <gavrie@disksites.com>
1914 * BUG 1838: Remove stale printers imeeddiately when
1915 processing a SIGHUP and during smb.conf reload.
1918 o Tim Potter <tpot@samba.org>
1919 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
1920 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
1921 * Change the license for the winbindd external interface
1923 * HP-UX compile fixes.
1924 * Compile fixes after new setsampwent() API.
1927 o Richard Renard <rrenard@idealx.com>
1928 * Update Netscape DS 5.2 LDAP schema.
1931 o Simo Sorce <idra@samba.org>
1932 * Backport pdbedit changes from trunk.
1933 * Allows the add/change share command to create the shared
1934 directory directory on disk.
1935 * Log a warning in testparm if a print command is defined for
1936 a print service using 'printing = cups'.
1938 o Jelmer Vernooij <jelmer@samba.org>
1939 * Bug fixes for pdb_{xml,pqsql,xml}
1940 * Fixes for pdb_mysql.
1943 o Andrew Tridgell <tridge@samba.org>
1944 * Bring Samba3 into line with the Samba4 password change code.
1947 o Shiro Yamada <shiro@miraclelinux.com>
1948 * BUG 2190: Force SWAT to display parameters in unix charset and
1952 --------------------------------------------------
1953 ==============================
1954 Release Notes for Samba 3.0.10
1956 ==============================
1958 Common bugs fixed in 3.0.10 include:
1960 o Fix for security issues described in CAN-2004-1154.
1969 o Jeremy Allison <jra@samba.org>
1970 * Added checks surrounding all *alloc() calls to fix
1972 * Fix long standing memory size bug in bitmap_allocate().
1973 * Remove bogus error check in deferred open file serving
1977 o Thomas Bork <tombork@web.de>
1978 * Fix autoconf script on platforms using a version of GNU ld
1979 that does not include a date stamp in the output of --version.
1982 o Luke Mewburn <lukem@NetBSD.org>
1983 * Fix the swat install script to deal with the new image
1984 destination directory used by the docs.
1988 --------------------------------------------------
1990 =============================
1991 Release Notes for Samba 3.0.9
1993 =============================
1995 Common bugs fixed in 3.0.9 include:
1997 o Problem updating roaming user profiles.
1998 o Crash in smbd when printing from a Windows 9x client.
1999 o Unresolved symbols in libsmbclient which caused
2000 applications such as KDE's konqueror to fail when
2001 accessing smb:// URLs.
2011 o Jeremy Allison <jra@samba.org>
2012 * Correctly detect errno for no acl/ea support.
2013 * BUG 2036: Fix seg fault in 'net ads join'.
2016 o Gerald (Jerry) Carter <jerry@samba.org>
2017 * Solaris packaging fixes.
2018 * Fix seg fault in lanman printing code.
2019 * BUG 2017: fix testparm reporting for the passwd program
2021 * Fix output of smbstatus to match the man page.
2022 * BUG 2027: fix conflict with declaration MD5_CTX in system
2024 * 2028: Avoid false error messages when copying a long
2025 printer name to the device mode.
2028 o Guenther Deschner <gd@samba.org>
2029 * Allow deldriverex in rpcclient to delete drivers for a
2030 specific architecture and a specific version.
2031 * Fix a couple of rpcclient spoolss commands (setprinter,
2032 setprintername, getdriver) w.r.t to printer-naming scheme.
2033 Allow 'localhost' in the server string for certain server-side
2035 * BUG 2015: Do not fail on setting file attributes with
2036 acl support enabled.
2039 o Michel Gravey <michel.gravey@optogone.com>
2040 * Fix build when using gcc 3.0.
2043 o Volker Lendecke <vl@samba.org>
2044 * Fix tdb open logic when checking our local_pid after
2048 o Jim McDonough <jmcd@us.ibm.com>
2049 * BUG 1932: Fix crash in 'net getlocalsid' when run as
2053 o Luke Mewburn <lukem@NetBSD.org>
2054 BUG 1661: Fix KRB5_SETPW-defines
2057 o Buchan Milne <bgmilne@mandrake.org>
2058 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2061 o Lars Mueller <lmuelle@samba.org>
2062 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2065 o Martin Zielinski <mz@seh.de>
2066 * Add DeletePrinterDriverEx() functionality to rpcclient.
2069 --------------------------------------------------
2071 =============================
2072 Release Notes for Samba 3.0.8
2074 =============================
2076 Common bugs fixed in 3.0.8 include:
2078 o Compile fixes for HP-UX
2079 o Fixes for the printer publishing code used when joined to
2081 o Incompatibilities with file system quotas.
2082 o Several bugs in the spoolss printing code and print system
2084 o Inconsistencies in the username map functionality when
2085 configured on domain member servers.
2086 o Various compile warnings and errors on various platforms.
2087 o Fixes for kerberos interoperability with Windows 200x
2088 domains when using DES keys.
2089 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2090 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2093 New features included in the 3.0.8 release are:
2095 o New migration functionality added the the net tool
2096 for files/directories, printers, and shares.
2097 o New experimental idmap backend for assigning uids/gids
2098 directly based on the user/group RID when acting as a
2099 member of single domain without any trusts.
2100 o Additional printer migration support for XP/2003 platforms.
2103 ===========================
2104 Change in Winbindd Behavior
2105 ===========================
2107 All usernames returned by winbindd are now converted to lower
2108 case for better consistency. This means any winbind installation
2109 relying on the winbind username will need to rename existing
2110 directories and/or files based on the username (%u and %U) to lower
2111 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
2112 include mail spool files, home directories, valid user lines in
2116 ======================
2117 Change in Username Map
2118 ======================
2120 Previous Samba releases would only support reading the fully qualified
2121 username (e.g. DOMAIN\user) from the username map when performing a
2122 kerberos login from a client. However, when looking up a map
2123 entry for a user authenticated by NTLM[SSP], only the login name would be
2124 used for matches. This resulted in inconsistent behavior sometimes
2125 even on the same server.
2127 Samba 3.0.8 obeys the following rules when applying the username
2130 * When performing local authentication, the username map is
2131 applied to the login name before attempting to authenticate
2133 * When relying upon a external domain controller for validating
2134 authentication requests, smbd will apply the username map
2135 to the fully qualified username (i.e. DOMAIN\user) only
2136 after the user has been successfully authenticated.
2139 ######################################################################
2148 Parameter Name Action
2149 -------------- ------
2150 force printername New
2151 sendfile disabled by default
2157 o Jeremy Allison <jra@samba.org>
2158 * Ensure extended security bit is on only if we negotiated
2160 * Simplify statcache to use an in-memory tdb.
2161 * If you're selecting a hash algorithm for tdb, you need
2162 to do it at open time.
2163 * Removed old dir caching code - not being used now we
2164 have the statcache anyway.
2165 * Simplify the mangle hash code to use an in-memory tdb.
2166 * Merge iconv changes from Samba 4 branch.
2167 * Fix parsing of names ending in dot and a few other error
2169 * BUG 1667: Smbpasswd file could be left locked on some
2171 * Fixes for smbclient tar functionality.
2172 * BUG 1743: Fix logic bug the deferred open code.
2173 * Don't try to set security descriptors on shares where
2174 this has been turned off.
2175 * Return correct error codes on old SEARCH call.
2176 * Ensure we set errno = E2BIG when we overflow in the
2177 fast-path character conversion code.
2178 * Fix the roundup problem (returning 1mb roundup) for
2179 non-Windows clients.
2180 * Added 'stat' command to smbclient to exercise the
2181 UNIX_FILE_BASIC info level.
2182 * Fix bug where we could incorrectly set sparse attribute.
2183 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2184 (reported by Taj Khattra <taj.khattra@gmail.com>).
2185 * Remove locked keys tdb code.
2186 * BUG 1886: Prevent delete on close being set for readonly files
2187 (and return the correct error code).
2188 * Ensure we pass most of the new lock tests except for the cancel
2189 lock which is yet to be added (merged from Samba 4 branch).
2190 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2191 * BUG 1956: Ensure errno is saved and restored consistently on a
2193 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
2194 that all of the appropriate service principal names are set
2195 upon joining an AD domain.
2196 * Fix the correct use of resume name in the trans2 code.
2197 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2198 correct salt used when generated the DES key after joining an
2200 * Enhanced krb5 detection routines in the autoconf scripts.
2203 o Andrew Bartlett <abartlet@samba.org>
2204 * Avoid changing the machine account password in the passdb
2205 backend, when it has 'already been changed'. This occurs
2206 in situations where the secure channel between the workstation
2207 and the DC breaks down, such as occurred in the MS04-11
2209 * Fix utility name in error message in ntlm_auth.
2210 * Fix NTLMv2 for use with pam_winbind.
2211 * Remove conversion to and from UTF8 on the winbind pipe.
2212 * Allow 'require_membership_of' and 'require-membership-of'.
2213 * Fix the error code for 'you didn't specify a domain' in
2215 * Use sys_getgroups() rather than scanning all groups
2216 when generating SAMR replies.
2219 o Igor Belyi <sambauser@katehok.ac93.org>
2220 * Ensure pdb user is deleted first before deleting UNIX
2221 user (LDAP backend needs this ordering).
2224 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
2225 * Fix core dump in 'net rpc vampire'.
2228 o Vince Brimhall <vbrimhall@novell.com>
2229 * Make ldapsam_compat robust against NULL attributes.
2232 o Gerald Carter <jerry@samba.org>
2233 * Don't limit the number of groups returned by winbindd_getgroups()
2235 * BUG 1519: Match Windows 2000 behavior when opening a
2236 printer using a servername in the form of an IP address or
2238 * BUG 1907: remove extra slashes from the printer name in
2239 getprinterdriverdir_1().
2240 * Fix standard_sub_snum() to use the current user's gid.
2241 * Fix background queue update bug (based on Volker's initial work
2243 * Add 'force printername' service parameter for people that want
2244 to enforce printername == sharename for spoolss printing.
2245 * Ensure consistent usage of the username map. Use the fully
2246 qualified DOMAIN\user format for 'security = domain|ads' and
2247 apply after authentication has succeeded.
2248 * Cosmetic fix for getent output -- lowercase the username only
2249 and not the complete domain\username string.
2250 * Packaging fixes for Solaris, Redhat, & Fedora.
2253 o Sean Chandler <sean.chandler@verizon.net>
2254 * Fix memlieak in cliconnect.c.
2257 o Darren Chew <darrenc@vicscouts.asn.au>
2258 * Solaris packaging fixes.
2261 o Nalin Dahyabhai <nalin@redhat.com>
2262 * SMB signing fix for 56-bit DES session keys.
2265 o Guenther Deschner <gd@samba.org>
2266 * add IA64 to the architecture table of printer-drivers.
2267 * Add file/share/printer migration functionality to
2269 * Show correct help for net groupmap commands.
2270 * Fix deadlock loop in winbind's required_membership_sid
2272 * Bring the same level of "required_membership"-functionality
2273 that ntlm_auth uses, to pam_winbindd as well.
2274 * Prevent "net lookup kdc" from seg-faulting when
2275 using our own implementation of krb5_lookup_kdc with
2277 * Adding getprinter level 7 to rpcclient.
2278 * Support migrating printers|shares|files from Server A
2279 to Server B while running the net-command on client C.
2280 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
2281 failure of this call non-critical (Thanks to Love @ Heimdal
2282 for the explanation and patch).
2283 * Fix typos in net's usage-output.
2284 * Fix the paranoia-check to ensure the ldap-attribute and the
2285 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
2287 * Fix several bugs in the _samr_query_useraliases() rpc reply.
2288 * Check correct string length when verifying password-policies
2289 and using extended characters (Thanks to Uwe Morgenroth from CC
2290 Compunet and Volker).
2291 * Make 'password history'-behavior in ldapsam more consistent.
2292 * Adding "Windows x64" as architecture string and driverdir "x64"
2293 for the 64bit AMD platform.
2294 * BUG 1343: Readd WKGUID-binding to match the correct default-
2295 locations of new User-, Group- and Machine-Accounts in Active
2296 Directory (this got lost during the last trunk-merge).
2297 * Fix printer-migration w.r.t. to new naming-convention for
2299 * Allow to migrate win2k3/xp-drivers as well.
2300 * Add client-side support of triggering ads printer publishing
2301 over msrpc setprinter calls inside the net-tool.
2302 * Add the idmap_rid module (written in conjunction with
2303 Sumit Bose <sbose@suse.de>).
2304 * BUG 1661: Fix build with recent heimdal releases.
2305 * Prevent idmap_rid from making unnecessary calls to domain
2306 controllers for trusted domains.
2309 o Arthur van Dongen <avdongen@xs4all.nl>
2310 * Fix typos in pam_winbind log messages and SuSE
2314 o Rob Foehl <rwf@loonybin.net>
2315 * Typo fixes for log messages in printer publishing code.
2316 * Fix memory leak in printer publishing code.
2317 * Ensure print_backend_init() only gets called once.
2318 * Have smbd check the published status of all printers
2320 * Cleanup up the XXX_a_printer() API for consistency.
2321 * Refactored the printer publishing code and include better
2325 o Steve French <sfrench@us.ibm.com>
2326 * Fix IP address override in mount.cifs mount helper and clean
2327 up warning messages from the sparse tool and expand syntax help.
2328 * Strip guest mount option off before sending to kernel mount
2329 routine to avoid logging spurious message.
2332 o Satoh Fumiyasu <fumiya@samba.gr.jp>
2333 * BUG 1732: Limit share names returned by RAP based on windows
2334 character width, not unix character width.
2335 * BUG 1498: Ensure that acl entries are stored in the correct
2339 o Brett Funderburg <brett@deepfile.com>
2340 * Pass create options parameter to nt_create_andx() function
2341 from the python bindings.
2342 * BUG 1864: Add sd->type field to security descriptor Python
2344 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2345 when trying to return the security descriptor for a file.
2346 * BUG 1884: Fixes for the Python bindings to use the value
2347 of the desired_access filed passed into the lsa_open_policy()
2351 o Michael Gravey <michel.gravey@optogone.com>
2352 * BUG 1776: Fix warnings when building modules caused by
2353 certain versions of GNU ld not using the the default
2354 --allow-shlib-undefined flag.
2357 o Chris Hertel <crh@samba.org>
2358 * Fix logic bug in splay tree data structure when finding
2360 * Fix bug where an invalid MAC address would be printed by
2361 a node status lookup from nmblookup.
2364 o Uli Iske <iske@elkb.de>
2365 * Update the DNS/eDirectory LDAP schema file.
2368 o Björn Jacke <bjacke@sernet.de>
2369 * BUG 1766: Unify charset-handling in Content-Type:-headers to
2370 UTF-8. Reformat msgstr in msg-files to UTF-8.
2371 * Do not use display charset for swat output.
2372 * Convert the share names correctly from unix encoding to web
2373 encoding and vice versa.
2374 * Convert files from status page from unix charset to UTF-8.
2377 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2378 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2381 o Tom Lackemann <cessnatomny@yahoo.com>
2382 * BUG 1954: Fix memory leak in posix acl code.
2385 o Volker Lendecke <vl@samba.org>
2386 * Robustnss fix for winbindd when sending multiple requests
2387 at a high rate for a slow operation.
2388 * Solve the problem of user sids ending up with gid's
2390 * Use sys_fork instead of fork for the dual daemon so that
2391 we get the correct debug pid in the logfiles.
2392 * Based on patch from jmcd, implement special lists for the LDAP
2393 user attributes to delete.
2394 * Fix creation of aliases via usrmgr. Winbind was too strict
2395 checking the type of sids.
2396 * Lowercase all usernames returned by winbind.
2397 * BUG 1545, 1823: Only issue the ldap extended password change
2398 operation if the ldap server supports it. Also ignore object
2399 class violation errors from the extended operation.
2400 * Optimization for 'idmap backend = ldap': When asking sid2id
2401 for the wrong type, don't ask ldap when we have the opposite mapping
2403 * Fix ldapsam_compat homeDrive.
2404 * Add usersidlist and allowedusers subcommands to the net tool
2405 in order to support scanning a file server's share and list
2406 all users who have permission to connect there.
2407 * Allow for multiple DC's to be named as #1c names in lmhosts.
2408 * Memory leak fixes.
2409 * Fix checks for the local pid of an smbd process after
2413 o Herb Lewis <herb@samba.org>
2414 * Added tdbtool to be built by default.
2417 o Love <lha@stacken.kth.se>
2418 * BUG 1955: Inconsistent error return.
2421 o Sorin Manolache <sorinm@gmail.com>
2425 o Jim McDonough <jmcd@us.ibm.com>
2426 * Allow 'net ads lookup' to rely on command line arguments
2427 if contacting an ADS server fails; utilize cldap for lookups.
2428 * Fixup formatting errors in TDB_LOG calls; add printf attribute
2429 support to tdb log functions.
2432 o Bill McGonigle <bill+samba@bfccomputing.com>
2433 * BUG 1926: Type in debug message.
2437 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2441 o Luke Mewburn <lukem@NetBSD.org>
2442 * BUG 1782: Prevent testparm from displaying parameter synonyms.
2445 o Stefan Metzmacher <metze@samba.org>
2446 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2447 * Fix client quota support.
2448 * Fix opening of system quota file.
2451 o Lars Mueller <lmuelle@samba.org>
2452 * Small fixes for autogen.sh to deal with version detection
2453 of autoconf and autoheader; fixes for examples using
2454 libtool to adhere to stricter syntax of newer version.
2457 o Henrik Nordstrom <hno@squid-cache.org>
2458 * Allow winbindd to return the correct number of groups
2459 when the groups array must be enlarged.
2462 o Narayana Pattipati <narayana.pattipati@wipro.com>
2463 * Solaris autoconf detection fixes.
2466 o Tim Potter <tpot@samba.org>
2467 * BUG 1360: (correct fix) Use -Wl when passing flags to
2469 * HP-UX compile fixes (from JBravo on #samba-technical).
2470 * BUG 1731: More HP-UX compiles fixes.
2471 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
2472 spits the dummy otherwise.
2473 * Fix bug in Python printerdata wrapper.
2474 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
2475 <bugzilla-samba@thewrittenword.com>).
2476 * Fix parameter confusion in priming of name-to-sid cache
2477 (Found by Qiao Yang).
2478 * BUG 1888: Remove '..' from all pre-processor commands.
2479 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
2483 o Matt Selsky <selsky@columbia.edu>
2484 * BUG 350: use autoconf 2.57 feature for checking header file
2485 preprocessing (fixes configure warnings on Solaris).
2488 o Richard Renard <rrenard@idealx.com>
2489 * Fix usermgr.exe and trust relationships.
2492 o Paul Szabo <psz@maths.usyd.edu.au>
2493 * Fix to make find_workgroup use the same
2494 truncation as create_workgroup.
2497 o Richard Sharpe <rsharpe@samba.org>
2498 * Ensure cli_write() can support writes >= 65536 bytes.
2501 o Simo Sorce <idra@samba.org>
2502 * Added check password script code in examples/auth/crackcheck/
2503 * Fix memory corruption bug caused in freeing static memory.
2506 o Andrew Tridgell <tridge@samba.org>
2507 * Remove lp_use_mmap() from map_file() since the latter
2508 is for read only and does not require coherence.
2509 * Ensure that the uuid pack/unpack routines do not go past
2510 the end of the structure.
2511 * Converted Samba 3 tree to use the new utf-16 aware iconv
2513 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2514 * Ensure configure only uses '=' instead of the bashism '=='.
2515 * Reduces the number of tdb locking calls made on file IO.
2518 o Jelmer Vernooij <jelmer@samba.org>
2519 * Convert internal data to UTF-8 before calling libxml2.
2520 * Complain if 'password chat' doesn't contain the %u variable
2521 (based on a patch by Ronan Waide).
2525 * BUG 1541: Fix recursive ls in smbclient.
2528 o Igor Zhbanov <bsg@uniyar.ac.ru>
2529 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
2532 --------------------------------------------------
2534 =============================
2535 Release Notes for Samba 3.0.7
2537 =============================
2539 This is the latest stable release of Samba. This is the version
2540 that production Samba servers should be running for all
2541 current bug-fixes. There have been several important issues
2542 fixes since the 3.0.6 release. See the "Changes" section for
2543 details on exact updates.
2545 Common bugs fixed in 3.0.7 include:
2547 o Fixes for two Denial of Service vulnerabilities
2548 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2549 o Winbind failure to return user entries under certain
2551 o Syntax errors in the OpenLDAP schema file (samba.schema).
2552 o Printing errors caused by not setting default values
2553 for the various printing commands.
2562 Parameter Name Action
2563 -------------- ------
2564 winbind enable local accounts disabled by default
2569 o Jeremy Allison <jra@samba.org>
2570 * Fix parsing of names ending in dot and a few other error
2572 * BUG 1674: Move the symlinks checks into reduce_name().
2573 * Fix memleak when checking the valid names smb.conf option.
2574 * Fix memleak on error return path in the file open code.
2575 * More paranoia checks in the hash2 mangling code.
2576 * Fix syntax error in configure.in.
2577 * Match Win2k3's behavior for pathname parsing error returns.
2578 * Make nmbd more robust against bad netbios packets
2580 * Add more checks for invalid ASN.1 packets for SPNEGO packets
2584 o Andrew Bartlett <abartlet@samba.org>
2585 * Janitor work in loadparm.c -- remove unused parameters.
2588 o Gerald Carter <jerry@samba.org>
2589 * BUG 1464: Ensure that printing commands are initialized even
2590 if the 'printing' parameter is not explicitly set.
2591 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
2592 Adharsh Praveen <rprav@india.hp.com>)
2593 * Work around parsing error in the print change notify code.
2594 * remove duplicate declaration of getprintprocdir from
2596 * Only use sAMAccountName and not userPrincipalName when looking
2597 up a username in AD since the breaks winbindd (lookup_name()
2598 only works with the sAMAccountName).
2599 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
2600 filling in the username in the user_info3.
2601 * Fix logic bug in the check for creating a user's home directory
2602 in register_vuid(); caused home directory to be mismatched to
2603 the first share in smb.conf under certain conditions.
2604 * BUG 1656: rename auto.a to auto.smb.
2605 * Ensure that we assign our pid to print jobs (and not our
2606 parent's pid); ensures that spooling jobs from dead smbds
2607 are removed from the tdb.
2608 * Disable 'winbind enable local accounts' by default.
2609 * Adding some initial checks for DragonFly (same as
2613 o Guenther Deschner <gd@samba.org>
2614 * Use SMB_ASSERT() to track down NULL printer names in
2616 * Revert fix for BUG 1474 to avoid unnecessary packaging
2620 o Olaf Flebbe <o.flebbe@science-computing.de>.
2621 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
2623 * BUG 1626: More compile fixes.
2626 o Rob Foehl <rwf@loonybin.net>
2627 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
2628 by attempts to sanitize the defined attributes.
2631 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2632 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
2635 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
2636 * BUG 1657: Remove used initialized variable,
2637 * BUG 1658: Add a little bit of const.
2640 o Volker Lendecke <vl@samba.org>
2641 * If there's garbage in the pidfile, we should not panic
2642 but assume that no one else is around. We can't find the
2646 o Jim McDonough <jmcd@us.ibm.com>
2647 * Fixup format string in the tdb error messages.
2650 o Jonas Olsson <lexicon@lysator.liu.se>
2651 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
2652 reporting the list in usrmgr.exe.
2655 o Tim Potter <tpot@samba.org>
2656 * Fix out-of-tree builds (problem with the script to generate
2657 the svn version number).
2658 * BUG 1360: Need to use -Wl when passing flags to the linker.
2659 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
2660 doesn't have one of its own.
2662 o Simo Sorce <idra@samba.org>
2663 * Fixup compile issues on AIX caused by broken strlen() and
2665 * Update debian packaging files.
2668 o Dimitri van der Spek <dwspek@aboveit.nl>
2669 * Use the correct counter when copying group rids from the
2670 user_info3 struct in pam_winbind.
2673 o Qiao Yang <qyang@stbernard.com>
2674 * BUG 1622: Only cache the user
2677 --------------------------------------------------
2679 =============================
2680 Release Notes for Samba 3.0.6
2682 =============================
2684 Common bugs fixed in 3.0.6 include:
2686 o Schannel failure in winbindd.
2687 o Numerous memory leaks.
2688 o Incompatibilities between the 'write list' and 'force user'
2690 o Premature optimization of the open_directory() internal
2691 function that broke tools such as the ArcServe backup
2692 agent, Macromedia HomeSite, and Robocopy.
2693 o Corrupt workgroup names in nmbd's browse.dat.
2694 o Sharing violation errors commonly seen when opening
2695 when serving Microsoft Office documents from a Samba
2697 o Browsing problems caused by an apostrophe (') in the
2698 computer's description field.
2699 o Problems creating special file types from UNIX CIFS
2700 clients and enabling 'unix extensions'.
2701 o Fix stalls in smbd caused by inaccessible LDAP servers.
2702 o Remove various memory leaks.
2703 o Fix issues in the password lockout feature.
2705 New features introduced in this release include:
2707 O Support symlinks created by CIFS clients which
2708 can be followed on the server.
2709 o Using a cups server other than localhost.
2710 o Maintaining the service principal entry in the system
2711 keytab for integration with other kerberized services.
2712 Please refer to the 'use kerberos keytab' entry in
2713 smb.conf(5). When using the heimdal kerberos libraries,
2714 you must also specify the following in /etc/krb5.conf:
2716 default_keytab_name = FILE:/etc/krb5.keytab
2717 o Support for maintaining individual printer names
2718 stored separately from the printer's sharename.
2719 o Support for maintaining user password history.
2720 o Support for honoring the logon times for user in a
2724 ============================================
2725 unix extensions = yes (default) and symlinks
2726 ============================================
2728 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
2729 clients supporting the UNIX extensions to the CIFS protocol
2730 can create symlinks to absolute paths which will be **followed**
2731 by the server. This functionality has been requested in order
2732 to correctly support certain applications when the user's home
2733 directory is mounted using some type of CIFS client (e.g. the
2734 cifsvfs in the Linux 2.6 kernel).
2736 If this behavior is not acceptable for your production environment
2737 you can set 'wide links = no' in the specific share declaration in
2738 the server's smb.conf. Be aware that disabling wide link support
2739 out of a share in Samba may impact the server's performance due
2740 to the fact that smbd will now have to check each path additional
2741 times before traversing it.
2744 ========================
2745 Password History Support
2746 ========================
2748 The new password history feature allows smbd to check the new
2749 password in password change requests against a list of the user's
2750 previous passwords. The number of previous passwords to save can
2751 be set using pdbedit (4 in this example):
2753 root# pdbedit -P "password history" -C 4
2755 When using the ldapsam passdb backend, it is vital to secure the
2756 following attributes from access by non-administrative users:
2760 * sambaPasswordHistory
2762 You should refer to your directory server's documentation on how
2763 to implement this restriction.
2772 Parameter Name Action
2773 -------------- ------
2775 defer sharing violations New
2776 force unknown acl user New
2778 printcap cache time New
2779 use kerberos keytab New
2783 o Jeremy Allison <jra@samba.org>
2784 * Correct path parsing bug that broke DeletePrinterDriverEx().
2785 * Fix bugs in check_path_syntax() caught by asserts.
2786 * Internal change - rearrange internal global case setting
2787 variables to a per connection basis.
2788 * BUG 1345: Fix premature optimization in unix_convert().
2789 * Allow clients to truncate a locked file.
2790 * BUG 1319: Always check to see if a user as write access
2791 to a share, even when 'force user' is set.
2792 * Fix specific case of open that doesn't cause oplock break,
2793 or share mode check.
2794 * Correct sid type is WKN_GROUP, not alias. Added some
2795 more known types (inspired by patch from Jianliang Lu).
2796 * Allow creation of absolute symlink paths via CIFS clients.
2797 * Fix charset bug in when invoking send_mailslot().
2798 * When using widelinks = no, use realpath to canonicalize
2799 the connection path on connection create for the user.
2800 * Enhance stat open code.
2801 * Fix unix extensions mknod code path.
2802 * Allow unix domain socket creation via unix extensions.
2803 * Auto disable the 'store dos attribute' parameter if the
2804 underlying filesystem doesn't support EAs.
2805 * Implement deferred open code to fix a bug with Excel files
2807 * BUG 1427: Catch bad path errors at the right point. Ensure
2808 all our pathname parsing is consistent.
2809 * Fix SMB signing error introduced by the new deferred open
2811 * Change default setting for case sensitivity to "auto". (see
2812 commit message -- r1154 -- for details).
2813 * Add new remote client arch -- CIFSFS.
2814 * Allow smbd to maintain the service principal entry in the
2815 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
2816 Guenther Deschner, et. al.).
2817 * Fix longstanding memleak bug with logfile name.
2818 * Fix incorrect type in printer publishing (struct uuid,
2820 * Heimdal compile fixes after introduction of the new ketyab
2822 * Ensure we check attributes correctly on rename request.
2823 * Ensure we defer a sharing violation on rename correctly.
2824 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
2826 * Fix bogus error message when using "mangling method = hash"
2828 * Turn on sendfile by default for non-Win9x clients.
2829 * Handle non-io opens that cause oplock breaks correctly.
2830 * Ensure ldap replication sleep time is not more than 5 seconds.
2831 * Add support for storing a user's password history.
2832 LDAP portion of the code was based on a patch from
2833 Jianliang Lu <j.lu@tiesse.com>.
2834 * Correct memory leaks found in the password change code.
2835 * Fix support for the mknod command with the Linux CIFS client.
2836 * Remove support for passing the new password to smbpasswd
2837 on the command line without using the -s option.
2838 * Ensure home directory service number is correctly reused
2839 (inspired by patches from Michael Collin Nielsen
2840 <michael@hum.aau.dk>).
2841 * Fix to stop printing accounts from resetting the bas
2842 password and account lockout flags.
2843 * If a account was locked out by an admin (and has a bad
2844 password count of zero) leave it locked out until an admin
2845 unlocks it (but log a message).
2846 * Ensure we return the same ACL revision on the wire that
2848 * BUG 1578: Hardcode replacement for invalid characters as '_'
2849 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
2850 * Fix hashed password history for LDAP backends.
2851 * Enforce logon hours restrictions if confiogured (based on code
2852 from Richard Renard <rrenard@idealx.com>).
2853 * BUG 1606: Force smbd to disable sendfile with DOS clients
2854 and ensure that the chained header is filled in for ...&X
2856 * BUG 1602: Fix access to shares when all symlink support
2861 o Tom Alsberg <alsbergt@cs.huji.ac.il>
2862 * Allow pdbedit to export a single user from a passdb backend.
2865 o Andrew Bartlett <abartlet@samba.org>
2866 * Fix parsing bug in GetDomPwInfo().
2867 * Fix segfault in 'ntlm_auth --diagnostics'.
2868 * Re-enable code to allow sid_to_gid() to perform a group
2869 mapping lookup before checking with winbindd.
2870 * Fix memory leak in the trans2 signing code.
2871 * Allow more flexible GSS-SPENGO client and server operation
2873 * Improve smbd's internal random number generation.
2874 * Fix a few outstanding long password changes in smbd.
2875 * Fix LANMAN2 session setup code.
2878 o Eric Boehm <boehm@nortelnetworks.com>
2879 BUG 703: Final touches on netgroup case lookups.
2882 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
2883 * Ensure error status codes don't get overwritten in
2884 lsa_lookup_sids() server code.
2885 * Correct bug that caused smbd to overwrite certain error
2886 codes when returning up the call stack.
2887 * Ensure the correct sid type returned for builtin sids.
2890 o Gerald Carter <jerry@samba.org>
2891 * Fix a few bugs in the Fedora Packaging files.
2892 * Fix for setting the called name to by our IP if the
2893 called name was *SMBSERVER and *SMBSERV. Fixes issue
2894 with connecting to printers via \\ip.ad.dr.ess\printer
2896 * BUG 1315: fix for schannel client connections to servers
2897 when we haven't specifically negotiated AUTH_PIPE_SEAL.
2898 * Allow PrinterDriverData valuenames with embedded backslashes
2899 (Fixes bug with one of the Konica Fiery drivers).
2900 * Fixed string length miscalculation in netbios names that
2901 resulted in corrupt workgroup names in browse.dat.
2902 * When running smbd as a daemon, launch child smbd to update
2903 the lpq cache listing in the background.
2904 * Allow printers "Printers..." folder to be renamed to a string
2905 other than the share name.
2906 * Allow winbindd to use domain trust account passwords when
2907 running on a Samba DC to establish an schannel to remote
2909 * Fix bad merge and ensure that we always use tdb_open_log()
2910 instead of tdb_open_ex() (the former call enforce the 'use
2912 * BUG 1221: revert old change that used single and double
2913 quotes as delimeters in next_token(), and change
2914 print_parameter() to print out parm values surrounded by
2915 double quotes (instead of single quotes).
2916 * Prevent home directories added during the SMBsesssetup&X from
2917 being removed as unused services.
2918 * Invalidate the print object cache for open printer handles when
2919 smbd receives a message that an attribute on a given printer
2921 * Cause the configure script to exit if --enable-cups[=yes] is
2922 defined and the system does not have the cups devel files
2924 * BUG 1297: Prevent map_username() from being called twice
2926 * Ensure that we use the userPrincipalName AD attribute
2927 value for LDAP SASL binds.
2928 * Ensure we remove the tdb entry when deleting a job that
2930 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
2931 client sends a FindNextPrintChangeNotify() request without
2932 previously sending a FindFirstPrintChangeNotify(). Return
2933 the same error code as Windows 2000 SP4.
2934 * BUG 1516: Manually declare ldap_open_with_timeout() to
2935 workaround compiler errors on IRIX (or other systems without
2937 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
2939 * Corrected syntax error in the OID for sambaUnixIdPool,
2940 sambaSidEntry, & sambaIdmapEntry object classes.
2941 * Tighten the cache consistency with the ntprinters.tdb entry
2942 an the in memory cache associated with open printer handles.
2943 * Make sure that register_messages_flags() doesn't overwrite
2944 the originally registered flags.
2947 o Fabien Chevalier <fabien.chevalier@supelec.fr>
2948 * Debian BUG 252591: Ensure that the return value from the
2949 number of available interfaces is initialized in case no
2950 interfaces are actually available.
2953 o Guenther Deschner <gd@sernet.de>
2954 * Implement 'rpcclient setprintername'.
2955 * Add local groups to the user's NT_TOKEN since they are
2956 actually supported now.
2957 * Heimdal compile fixes after introduction of the new keytab
2959 * Correctly honor the info level parameter in 'rpcclient
2961 * Reintroduce 'force unknown acl user' parameter. When getting a
2962 security descriptor for a file, if the owner sid is not known,
2963 the owner uid is set to the current uid. Same for group sid.
2964 * Ensure that REG_SZ values in the SetPrinterData actually
2965 get written in UNICODE strings rather than ASCII.
2966 * Ensure that the last kerberos error return is not invalid.
2967 * Display share ACL entries from rpcclient.
2968 * Correct infinite loop in pam_winbind's verification of
2969 group membership in the 'other sids' field in the user_info3
2973 o Fabian Franz <FabianFranz@gmx.de>
2974 * Support specifying a port in the device URL passed to smbspool.
2977 o Steve French <sfrench@us.ibm.com>
2978 * Handle -S and user mount parms in mount.cifs.
2979 * Fix user unmount of shares mount with suid mount.cifs.
2980 * prevent infinite recusion in reopen_logs() when expanding
2981 the smb.conf variable %I.
2984 o Bjoern Jacke <bj@sernet.de>
2985 * Install libsmbclient into $(LIBDIR), not into hard coded
2986 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
2987 and an explicit configure --libdir setting.
2990 o <kawasa_r@itg.hitachi.co.jp>
2991 * Correct more memory leaks and initialization bugs.
2992 * Fix bug that prevented core dumps from being generated
2994 * Connect to the winbind pipe in non-blocking mode to
2995 prevent processes from hanging.
2996 * Memory leak fixes.
2999 o Stephan Kulow <coolo@suse.de>
3000 * Fix crash bug in libsmbclient.
3003 o Volker Lendecke <vl@samba.org>
3004 * Added vfs_full_audit module.
3005 * Add vfs_afsacl.c which can display & set AFS acls via
3006 the NT security editor.
3007 * Fix crash bug caused by trying to Base64 encode a NULL string.
3008 * Fix DOS error code bug in reply_chkpath().
3009 * Correct misunderstanding of the max_size field in
3010 cli_samr_enum_als_groups; it is more like an account_control
3011 field with individual bits what to retrieve.
3012 * Implement 'net rpc group rename' -- rename domain groups.
3013 * Implement the 'cups server' option. This makes it possible
3014 to have virtual smbd's connect to different cups daemons.
3015 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3016 * Fix sid_to_gid() calls in winbindd to prevent loops.
3017 * Ensure that local_sid_to_gid() sets the type of the group on
3019 * Make sure that the clients are given back the IP address to
3020 which they connected in the case of a multi-homed host. Only
3021 affects strings the spoolss printing replies.
3022 * Fix the bad password lockout. This has not worked as pdb_ldap.c
3023 did not ask for the modifyTimestamp attribute, so it could
3024 not find it. Try not to regress by not putting that attrib
3025 in the main list but append it manually for the relevant searches.
3026 * Fix two memleaks in login_cache.c.
3027 * fixes memory bloat when unmarshalling strings.
3028 * Fix compile errors using gcc 3.2 on SuSE 8.2.
3029 * Fix the build for systems without kerberos headers.
3030 * Allow winbindd to handle authentication requests only when
3031 started without either an 'idmap uid' or 'idmap gid' range.
3032 * Fix the build for systems without ldap headers.
3033 * Fix interaction between share security descriptor and the
3034 'read only' smb.conf option.
3035 * Fix bug that caused _samr_lookupsids() with more than 32 (
3036 MAX_REF_DOMAINS) SIDs to fail.
3037 * Allow the 'idmap backend' parameter to accept a list of
3038 LDAP servers for failover purposes.
3039 * Revert code in smbd to remove a tdb when it has become
3041 * Add paranoid checks when mapping SIDs to a uid/gid to
3042 ensure that the type is correct.
3043 * Initial work on getting client support for sending mailslot
3045 * Add 'ldap timeout' parameter.
3046 * Dont always uppercase 'afs username map'.
3047 * Expand aliases for getusersids as well.
3048 * Improved NT->AFS ACL mapping VFS module.
3051 o Herb Lewis <herb@samba.org>
3052 * Add the acls debug class.
3053 * Fix logic bug in netbios name truncate routine.
3054 * Fix smbd crash caused by smbtorture IOCTL test.
3055 * Fix errno tromping before calling iconv to reset the
3057 * need to leave empty dacl so we can remove last ACE.
3060 o Jianliang Lu <Jianliang.Lu@getronics.com>
3061 * Fix to stop smbd hanging on missing group member in
3063 * Make sure Samba returns the correct group types.
3064 * Reset the bad password count password counts upon a successful login.
3067 o Jason Mader <jason@ncac.gwu.edu>
3068 * BUG 1385: Don't use non-consts in a structure initialization.
3071 o Jim McDonough <jmcd@us.ibm.com>
3072 * BUG 1279: SMBjobid fix for Samba print servers running on
3073 Big-Endian platforms.
3076 o Joe Meadows <jameadows@webopolis.com>
3077 * Add optional timeout parameter to ldap open calls.
3078 * Allow get_dc_list() to check the negative cache.
3081 o Stefan Metzmacher <metze@samba.org>
3082 * fix a configure logic bug for linux/XFS quotas when
3083 using --with-sys-quotas.
3084 * Use quota debug class in quota code.
3085 * print out the SVN revision by configure,
3088 o Buchan Milne <bgmilne@mandrake.org>
3089 * Mandrake packaging fixes.
3092 o Lars Mueller <lmuelle@samba.org>
3093 * BUG 1279: Added 'printcap cache time' parameter.
3094 * Fix afs related build issues on SuSE.
3095 * Fix compiler warnings in the kerberos client code.
3098 o James Peach <jpeach@sgi.com>
3099 * More iconv detection fixes for IRIX.
3100 * Compile fixed for systems that do not have C99/UNIX98 compliant
3101 vsnprintf by default.
3102 * Prevent smbd from attempting to use sendfile at all if it is
3103 not supported by the server's OS.
3104 * Allow SWAT to search for index.html when serving html files
3109 * Implement NFS quota support on FreeBSD.
3112 o Tim Potter <tpot@samba.org>
3113 * BUG 1360: Use -Bsymbolic when creating shared libraries to
3114 avoid conflicts with identical symbols in the global namespace
3115 when loading libnss_wins.so.
3118 o Richard Renard <rrenard@idealx.com>
3119 * Save the current password as it is being changed into the
3120 password history list.
3123 o Richard Sharpe <rsharpe@samba.org>
3124 * Fix error return codes on some lock messages.
3125 * BUG 1178: Make the libsmbclient routines callable
3127 * BUG 1333: Make sure we return an error code when
3129 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
3130 share mode locking requests fail.
3133 o Simo Sorce <idra@samba.org>
3134 * Update Debian stable & unstable packaging.
3135 * Tidy up parametric options in testparm output.
3138 o Richard Sharpe <rsharpe@samba.org>
3139 * Add sigchild handling to winbindd to restart the child
3140 daemon if necessary.
3143 o Tom Shaw <tomisfaraway@gmail.com>
3144 * Use winbindd_fill_pwent() consistently.
3147 o Nick Thompson <nickthompson@agere.com>
3148 * Protect smbd against broken filesystems which return zero
3152 o Andrew Tridgell <tridge@samba.org>
3153 * Fixed bug in handling of timeout in socket connections.
3156 o Nick Wellnhofer <wellnhofer@aevum.de>
3157 * Prevent lp_interfaces() list from being corrupted. Fixes
3158 bug where nmbd would lose the list of network interfaces
3159 on the system and consequently shutdown.
3162 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3163 * Fix ntlm_auth memory leaks.
3166 o Jelmer Vernooij <jelmer@samba.org>
3167 * Additional NT status to unix error mappings.
3168 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
3169 get duplicate symbol errors.
3170 * Return an error when the last command read from stdin
3172 * Prepare for better error checking in tar.
3173 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3176 --------------------------------------------------
3178 =============================
3179 Release Notes for Samba 3.0.5
3181 =============================
3183 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
3184 the exception of correcting the two security issues outlined
3187 ######################## SECURITY RELEASE ########################
3189 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
3190 CVE ID: CAN-2004-0600, CAN-2004-0686
3191 (http://cve.mitre.org/)
3194 This is the latest stable release of Samba. This is the version
3195 that production Samba servers should be running for all current
3198 It has been confirmed that versions of Samba 3 prior to v3.0.4
3199 are vulnerable to two potential buffer overruns. The individual
3200 details are given below.
3206 Affected Versions: Samba 3.0.2 and later
3208 The internal routine used by the Samba Web Administration
3209 Tool (SWAT v3.0.2 and later) to decode the base64 data
3210 during HTTP basic authentication is subject to a buffer
3211 overrun caused by an invalid base64 character. It is
3212 recommended that all Samba v3.0.2 or later installations
3213 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3214 the swat administration service as a temporary workaround.
3216 This same code is used internally to decode the
3217 sambaMungedDial attribute value when using the ldapsam
3218 passdb backend. While we do not believe that the base64
3219 decoding routines used by the ldapsam passdb backend can
3220 be exploited, sites using an LDAP directory service with
3221 Samba are strongly encouraged to verify that the DIT only
3222 allows write access to sambaSamAccount attributes by a
3223 sufficiently authorized user.
3225 The Samba Team would like to heartily thank Evgeny Demidov
3226 for analyzing and reporting this bug.
3232 Affected Versions: Samba 3.0.0 and later
3234 A buffer overrun has been located in the code used to support
3235 the 'mangling method = hash' smb.conf option. Please be aware
3236 that the default setting for this parameter is 'mangling method
3237 = hash2' and therefore not vulnerable.
3239 Affected Samba 3 installations can avoid this possible security
3240 bug by using the default hash2 mangling method. Server
3241 installations requiring the hash mangling method are encouraged
3242 to upgrade to Samba 3.0.5.
3245 ##################################################################
3247 --------------------------------------------------
3249 =============================
3250 Release Notes for Samba 3.0.4
3252 =============================
3254 Common bugs fixed in Samba 3.0.4 include:
3256 o Password changing after applying the patch described in
3257 the Microsoft KB828741 article to Windows clients.
3259 o Managing print jobs via Windows on Big-Endian servers.
3260 o Several memory leaks in winbindd and smbd.
3261 o Compile issues on AIX and *BSD.
3264 --------------------
3269 o Jeremy Allison <jra@samba.org>
3270 * Fix path processing for DeletePrinterDriverEx().
3271 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
3275 o Andrew Bartlett <abartlet@samba.org>
3276 * Fix alignment bug in GetDomPwInfo().
3279 o Alexander Bokovoy <ab@samba.org>
3280 * Fix utime[s]() issues in smbwrapper on systems
3281 that can boot both the 2.4 and 2.6 Linux kernels.
3284 o Gerald Carter <jerry@samba.org>
3285 * Fedora packaging fixes.
3286 * BUG 1302: Fix seg fault by not trying to optimize a list of
3287 invalid gids using the wrong array size.
3288 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3289 seen when 'security = share'.
3290 * Fix problems when using IBM's compiler on AIX.
3291 * Link Developer's Guide, Example Guide, and multi-page HOWTO
3292 into SWAT's welcome page.
3293 * BUG 1293: fix double free in printer publishing code.
3296 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3297 * Fix for handling timeouts in socket connections.
3300 o Michel Gravey <michel.gravey@optogone.com>
3301 * BUG 483: patch from to fix password hash creation in SWAT.
3304 o Volker Lendecke <vl@samba.org>
3305 * Close the open NT pipes before the tdis.
3306 * Fix AFS related build issues.
3307 * Handle error conditions when base64 encoding a blob of 0 bytes.
3310 o Herb Lewis <herb@samba.org>
3311 * Added 'acls' debug class.
3313 o kawasa_r@itg.hitachi.co.jp
3314 * Multiple variable initialization and memory leak fixes.
3317 o Stephan Kulow <coolo@suse.de>
3318 * Fix string length bug in libsmbclient that caused KDE's
3320 * BUG 429: More libsmbclient fixes.
3323 o Jim McDonough <jmcd@us.ibm.com>
3324 * BUG 1007, 1279: Store the print job using a little-endian key.
3328 o Compile fix for OpenBSD (ENOTSUP not supported).
3331 o Stefan Metzmacher <metze@samba.org>
3332 * Correct bug in disks quota views from explorer.
3335 o Tim Potter <tpot@samba.org>
3336 BUG 1305: Correct debug output.
3339 o Richard Sharpe <rsharpe@samba.org>
3340 * Fix incorrect error code mapping.
3343 o Jelmer Vernooij <jelmer@samba.org>
3344 * Add additional NT_STATUS errorm mappings.
3347 --------------------------------------------------
3349 =============================
3350 Release Notes for Samba 3.0.3
3352 =============================
3355 Common bugs fixed in Samba 3.0.3 include:
3357 o Crash bugs and change notify issues in Samba's printing code.
3358 o Honoring secondary group membership on domain member servers.
3359 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3360 o Substitution errors for %[UuGg] in smb.conf.
3361 o winbindd crashes when using ADS security mode.
3362 o SMB signing errors.
3363 o Delays in winbindd startup caused by unnecessary
3364 connections to trusted domain controllers.
3365 o Various small memory leaks.
3366 o Winbindd failing due to expired Kerberos tickets.
3368 New features introduced in Samba 3.0.3 include:
3370 o Improved support for i18n character sets.
3371 o Support for account lockout policy based on
3372 bad password attempts.
3373 o Improved support for long password changes (>14
3374 characters) and strong password enforcement.
3375 o Support for Windows aliases (i.e. nested groups).
3376 o Experimental support for storing DOS attribute on files
3377 and folders in Extended Attributes.
3378 o Support for local nested groups via winbindd.
3379 o Specifying options to be passed directly to the CUPS libraries.
3381 Please be aware that the Samba source code repository was
3382 migrated from CVS to Subversion on April 4, 2004. Details on
3383 accessing the Samba source tree via anonymous svn can be found
3384 at http://svn.samba.org/samba/subversion.html.
3387 Changes since 3.0.2a
3388 --------------------
3392 Parameter Name Action
3393 -------------- ------
3396 only user Deprecated
3397 store dos attributes New
3399 winbind nested groups New
3405 o Jeremy Allison <jra@samba.org>
3406 * Ensure that Kerberos mutex is always properly unlocked.
3407 * Removed Heimdal "in-memory keytab" support.
3408 * Fixup the 'multiple-vuids' bugs in our server code.
3409 * Correct return code from lsa_lookup_sids() on unmapped
3410 sids (based on work by vl@samba.org).
3411 * Fix the "too many fcntl locks" scalability problem
3413 * Fixup correct (as per W2K3) returns for lookupsids
3414 as well as lookupnames.
3415 * Fixups for delete-on-close semantics as per Win2k3 behavior.
3416 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3417 * Fix "unable to initialize" bug when smbd hasn't been run with
3418 new system and a user is being added via pdbedit/smbpasswd.
3419 * Added NTrename SMB (0xA5).
3420 * Fixup correct timeout values for blocking lock timeouts.
3421 * Fix various bugs reported by 'gentest'.
3422 * More locking fixes in the case where we own the lock.
3423 * Fix up regression in IS_NAME_VALID and renames.
3424 * Don't set allocation size on directories.
3425 * Return correct error code on fail if file exists and target
3427 * Added client "hardlink" comment to test doing NT rename with
3428 hard links. Added hardlink_internals() code - UNIX extensions
3429 now use this as well.
3430 * Use a common function to parse all pathnames from the wire for
3431 much closer emulation of Win2k3 error return codes.
3432 * Implement check_path_syntax() and rewrite string sub
3433 functions for better multibyte support.
3434 * Ensure msdfs referrals are multibyte safe.
3435 * Allow msdfs symlink syntax to be more forgiving.
3436 eg. sym_link -> msdfs://server/share/path/in/share
3437 or sym_link -> msdfs:\\server\share\path\in\share.
3438 * Cleanup multibyte netbios name support in nmbd ( based on patch
3439 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3440 * Fix check_path_syntax() for multibyte encodings which have
3441 no '\' as second byte (based on work by ab@samba.org.
3442 * Fix the "dfs self-referrals as anonymous user" problem
3443 (based on patch from vl@samba.org).
3444 * BUG 1064: Ensure truncate attribute checking is done correctly
3445 on "hidden" dot files.
3446 * Fix bug in anonymous dfs self-referrals again.
3447 * Fix get/set of EA's in client library
3448 * Added support for OS/2 EA's in smbd server.
3449 * Added 'ea support' parameter to smb.conf.
3450 * Added 'store dos attributes' parameter to smb.conf.
3451 * Fix wildcard identical rename.
3452 * Fix reply_ctemp - make compatible with w2k3.
3453 * Fix wildcard unlink.
3454 * Fix wildcard src with wildcard dest renames.
3455 * BUG 1139: Fix based on suggestion by jdev@panix.com.
3456 swap lookups for user and group - group will do an
3457 algorithmic lookup if it fails, user won't.
3458 * Make EA's lookups case independent.
3459 * Fix SETPATHINFO in 'unix extensions' support.
3460 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
3461 the UNIX info levels, and the short case preserve names.
3464 o Timur Bakeyev <timur@com.bat.ru>
3465 * BUG 1144: only set --with-fhs when the argument is 'yes'
3466 * BUG 1152: Allow python modules to build despite libraries added
3467 to LDFLAGS instead of LDPATH.
3468 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3471 o Craig Barratt <cbarratt@users.sourceforge.net>
3472 * BUG 389: Allow multiple exclude arguments with smbclient
3473 tar -Xr options (better support for Amanda backup client).
3476 o Andrew Bartlett <abartlet@samba.org>
3477 * Include support for linking with cracklib for enforcing strong
3479 * Add support for >14 character password changes from Windows
3481 * Add 'admin set password' capability to 'net rpc'.
3482 * Allow 'net rpc samdump' to work with any joined domain
3483 regardless of smb.conf settings.
3484 * Use an allocated buffer for count_chars.
3485 * Add sanity checks for changes in the domain SID in an
3487 * Implement python unit tests for Samba's multibyte string
3489 * Remove 'unicode' smb.conf option.
3490 * BUG 1138: Fix support for 'optional' SMB signing and other
3492 * BUG 169: Fix NTLMv2-only behavior.
3493 * Ensure 'net' honors the 'netbios name' in the smb.conf by
3495 * Support SMB signing on connections using only the LANMAN
3496 password and generate the correct the 'session key' for these
3498 * Implement --required-membership-of=, an ntlm_auth option
3499 that restricts all authentication to members of this particular
3501 * Improve our fall back code for password changes.
3502 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
3503 after the server had said something (such as an error).
3504 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3507 o Alexander Bokovoy <ab@samba.org>
3508 * Fix incorrect size calculation of the directory name
3510 * Fix problems with very long filenames in both smbd and smbclient
3511 caused by truncating paths during character conversions.
3512 * Fix smbfs problem with Tree Disconnect issued before smbfs
3516 o Gerald Carter <jerry@samba.org>
3517 * BUG 850: Fix 'make installmodules' bug on True64.
3518 * BUG 66: mark 'only user' deprecated.
3519 * Remove corrupt tdb and shutdown (only for printing tdbs,
3520 connections, sessionid & locking).
3521 * decrement smbd counter in connections.tdb in smb_panic().
3522 * RedHat specfile updates.
3523 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3524 * BUG 1147; bad pointer case in get_stored_queue_info()
3526 * BUG 761: read the config file before initialized default
3527 values for printing options; don't default to bsd printing
3529 * Allow the 'printing' parameter to be set on a per share basis.
3530 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3531 * BUG 848: don't create winbind local users/groups that already
3533 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
3535 * BUG 488: fix the 'show client in col 1' button and correctly
3536 enumerate active connections.
3537 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
3538 problem when storing the updating pid for the lpq cache.
3539 * BUG 1007 (partial): Fix print change notify bugs.
3540 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
3541 and winbind use default domain = yes. Also ensures that
3542 * BUG 1151: Ensure that winbindd users are passed through
3544 * Fix client rpc binds for ASU derived servers (pc netlink,
3546 * BUG 417, 1128: Ensure that the current_user_info is set
3547 consistently so that %[UuGg] is expanded correctly.
3548 * BUG 1195: Fix crash in winbindd when the ADS server is
3550 * BUG 1185: Set reconnect time to be the same as the
3551 'winbind cache time'.
3552 * Ensure that we return the sec_desc in smb_io_printer_info_2.
3553 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3554 * BUG 1095: Honor the '-l' option in smbclient.
3555 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
3557 * Ensure server schannel uses the auth level requested by the
3559 * Removed --with-cracklib option due to potential crash issue.
3560 * Fix -lcrypto linking problem with wbinfo.
3561 * BUG 761: allow printing parameter to set defaults on a per
3563 * Add 'cups options' parameter to allow raw printing without
3564 changing /etc/cups/cupsd.conf.
3565 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
3567 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3568 * BUG 1288: resolve any machine netbios name (0x00) and not just
3570 * BUG 1199: Fix potential symlink issue in
3571 examples/printing/smbprint.
3574 o Robert Dahlem <Robert.Dahlem@gmx.net>
3575 * BUG 1048: Don't return short names when when 'mangled names = no'
3578 o Guenther Deschner <gd@suse.com>
3579 * Remove hard coded attribute name in the ads ranged retrieval
3581 * Add --with-libdir and --with-mandir to autoconf script.
3584 o Bostjan Golob <golob@gimb.org>
3585 * BUG 1046: Fix getpwent_list() so that the username is not
3586 overwritten by other fields.
3589 o Landon Fuller <landonf@opendarwin.org>
3590 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
3591 to fix user/group enumeration on systems whose libc does not
3592 call setgrent() before trying to enumerate users (i.e.
3596 o Steve French <sfrench@us.ibm.com>
3597 * Update mount.cifs to version 1.1.
3598 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3599 * Fixes to minor security bug in the mount helper.
3600 * Fix credential file mounting for cifs vfs.
3601 * Fix free of incremented pointer in cifsvfs mount helper.
3602 * Fix path canonicalization of the mount target path and help
3603 text display in the cifs mount helper.
3604 * Add missing guest mount option for mount.cifs.
3607 o SATOH Fumiyasu <fumiya@miraclelinux.com>
3608 * BUG 1055; formatting fixes for 'net share'.
3609 * BUG 692: correct truncation of share names and workgroup
3611 * BUG 1088: use strchr_m() for query_host (smbclient -L).
3612 * Patch from to internally count characters correctly.
3615 o Paul Green <paulg@samba.org>
3616 * Update VOS _POSIX_C_SOURCE macro to 200112L.
3617 * Fix bug in configure.ion by moving the first use of
3618 AC_CHECK_HEADERS so it is always executed.
3619 * Fix configure.in to only use $BLDSHARED to select whether to
3620 build static or shared libraries.
3623 o Pat Haywarrd <Pat.Hayward@propero.net>
3624 * Make the session_users list dynamic (max of 128K).
3627 o Cal Heldenbrand <calzplace@yahoo.com>
3628 * Fix for for 'pam_smbpass migrate' functionality.
3631 o Chris Hertel <crh@samba.org>
3632 * fix enumeration of shares 12 characters in length via
3636 o Ulrich Holeschak <ulrich@holeschak.de>
3637 * BUG 932: fix local password change using pam_smbpass
3640 o Krischan Jodies <kj@sernet.de>
3641 * Implement 'net rpc group delete'
3644 o John Klinger <john.klinger@lmco.com>
3645 * Return NSS_SUCCESS once the max number of gids possible
3646 has been found in initgroups() on Solaris.
3647 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
3650 o Volker Lendecke <vl@samba.org>
3651 * Fix success message for net groupmap modify.
3652 * Fix errors when enumerating members of groups in 'net rpc'.
3653 * Match Windows behavior in samr_lookup_names() by returning
3654 ALIAS(4) when you search in BUILTIN.
3655 * Fix server SAMR code to be able to set alias info for
3657 * Fix duplication of logic when creating groups via smbd.
3658 * Ensure that the HWM values are set correctly after running
3660 * Add 'net rpc group add'.
3661 * Implement 'net groupmap set' and 'net groupmap cleanup'.
3662 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
3663 * Fix wb_delgrpmem (wbinfo -o).
3664 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
3665 * Fix sambaUserWorkstations on a Samba DC.
3666 * Implement wbinfo -k: Have winbind generate an AFS token after
3667 authenticating the user.
3668 * Add expand_msdfs VFS module for providing referrals based on the
3669 the client's IP address.
3670 * Implement client side NETLOGON GetDCName function.
3671 * Fix caching of name->sid lookups.
3672 * Add support in winbindd for expanding nested local groups.
3673 * Fix memleak in winbindd.
3675 * Don't list domain groups from BUILTIN.
3676 * Fix memleak in policy handle utility functions.
3677 * Decrease winbindd startup time by only contacting trusted
3678 domains as necessary.
3679 * Allow winbindd to ask the DC for its domain for a trusted
3681 * Fix Netscape DS schema based on comments from
3682 <thomas.mueller@christ-wasser.de>.
3683 * Correct case where adding a domain user to a XP local group
3684 did a lsalookupname on the user without domain prefix, and
3686 * Fix segfault in winbindd caused by 'wbinfo -a'.
3689 o Herb Lewis <herb@samba.org>
3690 * Fix typo for tag in proto file.
3691 * Add missing #ifdef HAVE_BICONV stuff.
3692 * Truncate Samba's netbios name at the first '.' (not
3696 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
3697 * Bug fixes and enhancements to libsmbclient library.
3700 o Jianliang Lu <j.lu@tiesse.com>
3701 * Enforce the 'user must change password at next login' flag.
3702 * Decode meaning of 'fields present' flags (improves support
3705 * Don't force an upper case domain name in the ntlmssp code.
3708 o L. Lucius <ib@digicron.com>.
3712 o Jim McDonough <jmcd@us.ibm.com>
3713 * Add versioning support to tdbsam.
3714 * Update the IBM Directory Server schema with the OpenLDAP
3716 * Various decoding fixes to improve usrmgr.exe support.
3717 * Fix statfs redeclaration of statfs struct on ppc
3718 * Implement support for password lockout of Samba domain
3719 controllers and standalone servers.
3720 * Get MungedDial attribute actually working with full TS
3721 strings in it for pdb_ldap.
3722 * BUG 1208 (partial): Improvements for working with expired krb5
3723 tickets in winbindd.
3724 * Use timegm, or our already existing replacement instead of
3725 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3726 * Remove modifyTimestamp from list of our attributes.
3727 * Fix lsalookupnames to check for domain users as well as local
3729 * Merge struct uuid replacement for GUID from trunk.
3730 * BUG 1208: Finish support for handling expired tickets in
3731 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3734 o Stefan Metzmacher <metze@samba.org>
3735 * Implement new VERSION schema based on subversion revision
3737 * Add shadow_copy vfs module.
3738 * Fix segault in login_cache support.
3741 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3742 o BUG 979 -- Fix quota display on AIX.
3745 o James Peach <jpeach@sgi.com>
3746 * Correct check for printf() format when using the SGI MIPSPro
3748 * BUG 1038: support backtrace for 'panic action' on IRIX.
3749 * BUG 768: Accept profileing arg to IRIX init script.
3750 * BUG 748: Relax arg parsing to sambalp script (IRIX).
3751 * BUG 758: Fix pdma build.
3752 * Search IRIX ABI paths for libiconv. Based on initial fix from
3756 o Kurt Pfeifle <kpfeifle@danka.de>
3757 * Add example shell script for migrating drivers and printers
3758 from a Windows print server to a Samba print server using
3759 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3762 o Tim Potter <tpot@samba.org>
3763 * Fix logic bug in tdb non-blocking lock routines when
3765 * BUG 1025: Include sys/acl.h in check for broken nisplus
3767 * BUG 1066: s/printf/d_printf/g in SWAT.
3768 * BUG 1098: rename internal msleep() function to fix build
3770 * BUG 1112: Fix for writable printerdata problem in python bindings.
3771 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3772 * BUG 1155: enclose use of fchown() with guards.
3773 * Relicense tdb python module as LGPL.
3776 o Richard Sharpe <rsharpe@samba.org>
3777 * Add support to smbclient for multiple logins on the same
3778 session (based on work by abartlet@samba.org).
3779 * Correct blocking condition in smbd's use of accept() on IRIX.
3780 * Add support for printing out the MAC address on nmblookup.
3783 o Simo Sorce <idra@samba.org>
3784 * Replace unknown_3 with fields_present in SAMR code.
3785 * More length checks in strlcat().
3788 o Andrew Tridgell <tridge@samba.org>
3789 * Rewrote the AIX UESS backend for winbindd.
3790 * Fixed compilation with --enable-dmalloc.
3791 * Change tdb license to LGPL (see source/tdb/tdb.c).
3792 * Force winbindd to use schannel in clients connections to
3796 o Jelmer Vernooij <jelmer@samba.org>
3797 * Fix ETA Calculation when resuming downloads in smbget.
3798 * Add -O (for writing downloaded files to standard out)
3799 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3800 * Fix syntax error in example mysql table
3803 o TAKEDA yasuma <yasuma@miraclelinux.com>
3804 * BUG 900: fix token processing in cmd_symlink, cmd_link,
3805 cmd_chown, cmd_chmod smbclient functions.
3808 o Shiro Yamada <shiro@miraclelinux.com>
3809 * BUG 1129: install image files for SWAT.
3812 --------------------------------------------------
3814 ==============================
3815 Release Notes for Samba 3.0.2a
3817 ==============================
3819 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3820 to address, in particular, a problem when using pdbedit to
3821 sanitize (--force-initialized-passwords) Samba's tdbsam
3822 backend. This is the latest stable release of Samba. This
3823 is the version that all production Samba servers should be
3824 running for all current bug-fixes.
3826 ******************* Attention! Achtung! Kree! *********************
3828 Beginning with Samba 3.0.2, passwords for accounts with a last
3829 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3830 ldapsam, etc...) of zero (0) will be regarded as uninitialized
3831 strings. This will cause authentication to fail for such
3832 accounts. If you have valid passwords that meet this criteria,
3833 you must update the last change time to a non-zero value. If you
3834 do not, then 'pdbedit --force-initialized-passwords' will disable
3835 these accounts and reset the password hashes to a string of X's.
3837 ******************* Attention! Achtung! Kree! *********************
3846 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3847 details. The list of changes per contributor are as follows:
3850 o Jeremy Allison <jra@samba.org>
3851 * Added paranoia checks in parsing code.
3854 o Andrew Bartlett <abartlet@samba.org>
3855 * Ensure that changes to uninitialized passwords in ldapsam
3856 are written to the DIT.
3859 o Gerald (Jerry) Carter <jerry@samba.org>
3860 * Fixed iterator in tdbsam.
3861 * Fix bug that disabled accounts with a valid NT password
3862 hash, but no LanMan hash.
3865 o Steve French <sfrench@us.ibm.com>
3866 * Added missing nosetuid and noexec options.
3869 o Bostjan Golob <golob@gimb.org>
3870 * BUG 1046: Don't overwrite usernames of entries returned
3874 o Sebastian Krahmer <krahmer@suse.de>
3875 * Fixed potential crash bug in NTLMSSP parsing code.
3878 o Tim Potter <tpot@samba.org>
3879 * Fixed logic in tdb_brlock error checking.
3882 o Urban Widmark <urban@teststation.com>
3883 * Set nosuid,nodev flags in smbmnt by default.
3886 --------------------------------------------------
3888 =============================
3889 Release Notes for Samba 3.0.2
3891 =============================
3893 It has been confirmed that previous versions of Samba 3.0 are
3894 susceptible to a password initialization bug that could grant an
3895 attacker unauthorized access to a user account created by the
3896 mksmbpasswd.sh shell script.
3898 The Common Vulnerabilities and Exposures project (cve.mitre.org)
3899 has assigned the name CAN-2004-0082 to this issue.
3901 Samba administrators not wishing to upgrade to the current
3902 version should download the 3.0.2 release, build the pdbedit
3905 root# pdbedit-3.0.2 --force-initialized-passwords
3907 This will disable all accounts not possessing a valid password
3908 (e.g. the password field has been set a string of X's).
3910 Samba servers running 3.0.2 are not vulnerable to this bug
3911 regardless of whether or not pdbedit has been used to sanitize
3914 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
3917 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
3918 o Logging onto a Samba domain from Windows XP clients.
3919 o Problems with the %U and %u smb.conf variables in relation to
3920 Windows 9x/ME clients.
3921 o Kerberos failures due to an invalid in memory keytab detection
3923 o Updates to the ntlm_auth tool.
3924 o Fixes for various SMB signing errors.
3925 o Better separation of WINS and DNS queries for domain controllers.
3926 o Issues with nss_winbind FreeBSD and Solaris.
3927 o Several crash bugs in smbd and winbindd.
3928 o Output formatting fixes for smbclient for better compatibility
3929 with scripts based on the 2.2 version.
3938 Parameter Name Action
3939 -------------- ------
3940 ldap replication sleep New
3941 read size removed (unused)
3942 source environment removed (unused)
3948 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3949 details. The list of changes per contributor are as follows:
3951 o Jeremy Allison <jra@samba.org>
3952 * Revert change that broke Exchange clear text samlogons.
3953 * Fix gcc 3.4 warning in MS-DFS code.
3954 * Tidy up of NTLMSSP code.
3955 * Fixes for SMB signing errors
3956 * BUG 815: Workaround NT4 bug to support plaintext
3957 password logins and UNICODE.
3958 * Fix SMB signing bug when copying large files.
3959 * Correct error logic in mkdir_internals() (caused a panic
3960 when combined with --enable-developer).
3961 * BUG 830: Protect against crashes due to bad character
3965 o Petri Asikainen <paca@sci.fi>
3966 * BUG 330, 387:Fix single valued attribute updates when
3967 working with Novell NDS.
3970 o Andrew Bartlett <abartlet@samba.org>
3971 * Correctly handle per-pipe NTLMSSP inside a NULL session.
3972 * Fix segfault in gencache
3973 * Fix early free() of encrypted_session_key.
3974 * Change DC lookup routines to more carefully separate
3975 DNS names (realms) from NetBIOS domain names.
3976 * Add new sid_to_dn() function for internal winbindd use.
3977 * Refactor cli_ds_enum_domain_trusts().
3978 * BUG 707: Implement range retrieval of ADS attributes (based
3979 on work from Volker <vl@samba.org> and Guenther Deschner
3981 * Automatically initialize the signing engine if a session key
3983 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
3984 encoded strings, only form input in SWAT.
3985 * Resets the NTLMSSP state for new negotiate packets.
3986 * Add 2-byte alignments in net_samlogon() queries to parse
3987 odd-length plain text passwords.
3988 * Allow Windows groups with no members in winbindd.
3989 * Allow normal authentication in the absence of a server
3990 generated session key.
3991 * More optimizations for looking up UNIX group lists.
3992 * Clean up error codes and return values for pam_winbindd
3993 and winbindd PAM interface.
3994 * Fix string return values in ntlm_auth tool.
3995 * Fix segfault when 'security = ads' but no realm is defined.
3996 * BUG 722: Allow winbindd to map machine accounts to uids.
3997 * More cleanups for winbindd's find_our_domain().
3998 * More clearly detect whether a domain controller is an NT4
3999 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4000 * Increase separation between DNS queries for hosts and queries
4001 for AD domain controllers.
4002 * Include additional NT_STATUS to PAM error mappings.
4003 * Password initialization fixes.
4006 o Justin Baugh <justin.baugh@request.com>
4007 * BUG 948: Implement missing functions required for FreeBSD
4008 nss_winbind support.
4011 o Alexander Bokovoy <ab@samba.org>
4012 * BUG 922: Make sure enable fast path for strlower_m() and
4016 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
4017 * Fix crash when using 'security = server' and 'encrypt
4018 passwords = no' by always initializing the session key.
4021 o Dmitry Butskoj <buc@odusz.elektra.ru>
4022 * Fix for special files being hidden from admins.
4025 o Gerald (Jerry) Carter <jerry@samba.org>
4026 * Fix bug in the lanman session key generation. Caused
4027 "decode_pw: incorrect password length" error messages.
4028 * Save the right case for the located user name in
4029 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
4030 * BUG 897: Add well known rid for pre win2k compatible access
4032 * BUG 887: Correct typo in delete user script example.
4033 * Use short lived TALLOC_CTX* for allocating printer objects
4034 from the print handle cache.
4035 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4036 * Fix several warnings reported by the SUN Forte C compiler.
4037 * Fully control DNS queries for AD DC's using 'name resolve order'.
4038 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4039 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4040 * BUG 936: fix bind credentials for schannel binds in smbd.
4041 * BUG 446: Fix output of smbclient for better compatibility
4042 with scripts based on the 2.2 version (including Amanda).
4043 * BUG 891, 949: Fedora packaging fixes.
4044 * Fix bug that caused rpcclient to incorrectly retrieve
4045 the SID for a server (this causing all calls that required
4046 this information to fail).
4047 * BUG 977: Don't create a homes share for a user if a static
4048 share already exists by the same name.
4049 * Removed unused smb.conf options.
4050 * Password initialization fixes.
4051 * Set the disable flag for template accounts created by
4053 * Disable any account has no passwords and does not have the
4054 ACB_PWNOTREQ bit set.
4057 o Guenther Deschner <gd@suse.com>
4058 * Install smbwrapper.so should be put into the $(libdir)
4060 * Add the capability to specify the new user password
4061 for "net ads password" on the command line.
4062 * Correctly detect AFS headers on SuSE.
4065 o James Flemer <jflemer@uvm.edu>
4066 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
4067 HAVE_SYS_ATTRIBUTES_H.
4070 o Luke Howard <lukeh@PADL.COM>
4071 * Fix segfault in session setup reply caused by a early free().
4074 o Stoian Ivanov <sdr@bultra.com>
4075 * Implement grepable output for smbclient -L.
4078 o LaMont Jones <lamont@debian.org>
4079 * BUG 225328 (Debian): Correct false failure LFS test that resulted
4080 in _GNU_SOURCE not being defined (thus resulting in strndup()
4084 o Volker Lendecke <vl@samba.org>
4085 * BUG 583: Ensure that user names always contain the short
4086 version of the domain name.
4087 * Fix our parsing of the LDAP uri.
4088 * Don't show the 'afs username map' in the SWAT basic view.
4089 * Fix SMB signing issues in relation to failed NTLMSSP logins.
4090 * BUG 924: Fix return codes in smbtorture harness.
4091 * Always lower-case usernames before handing it to AFS code.
4092 * Add a German translation for SWAT.
4093 * Fix a segfaults in winbindd.
4094 * Fix the user's domain passed to register_vuid() from
4095 reply_spnego_kerberos().
4096 * Add NSS example code in nss_winbind to convert UNIX
4097 id's <-> Windows SIDs.
4098 * Display more descriptive error messages for login via 'net'.
4099 * Fix compiler warning in the net tool.
4100 * Fix length bug when decoding base64 strings.
4101 * Ensure we don't call getpwnam() inside a loop that is iterating
4102 over users with getpwent(). This broke on glibc 2.3.2.
4105 o Herb Lewis <herb@samba.org>
4106 * Fix bit rot in psec.
4109 o Jianliang Lu <j.lu@tiesse.com>
4110 * Ensure we delete the group mapping before calling the delete
4112 * Define well known RID for managing the "Power Users" group.
4113 * BUG 381: check builtin (not local) group SID when updating
4115 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
4119 o John Klinger <john.klinger@lmco.com>
4120 * Implement initgroups() call in nss_winbind on Solaris.
4123 o Jim McDonough <jmcd@us.ibm.com>
4124 * Fix regression in net rpc join caused by recent changes
4125 to cli_lsa_query_info_policy().
4126 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4130 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
4131 * BUG 570: Ensure that configure honors the LDFLAGS variable.
4134 o Stefan Metzmacher <metze@samba.org>
4135 * Implement LDAP rebind sleep patch.
4136 * Revert to 2.2 quota code because of so many broken quota files
4138 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4139 XFS_USER_QUOTA -> USRQUOTA
4140 XFS_GROUP_QUOTA -> GRPQUOTA
4141 * Fix disk_free calculation with group quotas.
4142 * Add debug class 'quota' and a lot of DEBUG()'s
4144 * Fix sys_chown() when no chown() is present.
4145 * Add SIGABRT to fault handling in order to catch got a
4146 backtrace if an error occurs the OpenLDAP client libs.
4150 * Allow an existing LDAP machine account to be re-used when
4151 joining an AD domain.
4154 o James Peach <jpeach@sgi.com>
4155 * BUG 889: Change smbd to use pread/pwrite on platforms that
4156 support these calls. Can lead to a significant speed increase.
4159 o Tim Potter <tpot@samba.org>
4160 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4161 * BUG 924: Fix typo in RW2 torture test.
4164 o Richard Sharpe <rsharpe@samba.org>
4165 * Small fixes to torture.c to cleanup the error handling
4166 and prevent crashes.
4169 o J. Tournier <jerome.tournier@IDEALX.com>
4170 * Small fixes for the smbldap-tool scripts.
4173 o Andrew Tridgell <tridge@samba.org>
4174 * Fix src len check in pull_usc2().
4177 o Jelmer Vernooij <jelmer@samba.org>
4178 * Put functions for generating SQL queries in pdb_sql.c
4179 * Add pgSQL backend (based on patch by Hamish Friedlander)
4180 * BUG 908: Fix -s option to smbcontrol.
4181 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4182 * Fix for libnss_wins on IRIX platforms.
4183 * Fix swatdir for --with-fhs.
4186 --------------------------------------------------
4188 =============================
4189 Release Notes for Samba 3.0.1
4191 =============================
4193 Some of the more common bugs in 3.0.0 addressed in the release
4196 o Substitution problems with smb.conf variables.
4197 o Errors in return codes which caused some applications
4198 to fail to open files.
4199 o General Protection Faults on Windows 2000/XP clients
4200 using Samba point-n-print features.
4201 o Several miscellaneous crash bugs.
4202 o Access problems when enumerating group mappings are
4203 stored in an LDAP Directory.
4204 o Several common SWAT bugs when writing changes to
4206 o Internal inconsistencies when 'winbind use default
4212 ----------------------
4214 Parameter Name Action
4215 -------------- ------
4216 hide local users Removed
4217 mangled map Deprecated
4218 mangled stack Removed
4219 passwd chat timeout New
4225 o Change the interface for init_unistr2 to not take a length
4226 but a flags field. We were assuming that
4227 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
4228 o Allow d_printf() to handle strings with escaped quotation
4229 marks since the msg file includes the escape character (bug 489).
4230 o Fix bad html table row termination in SWAT wizard code (bug 413).
4231 o Fix to parse the level-2 strings.
4232 o Fix for "valid users = %S" in [homes]. Fix read/write
4234 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
4235 This is the same way AC_CHECK_LIB works (bug 508).
4236 o Testparm output fixes for clarity.
4237 o Fix broken wins hook functionality -- i18n bug (bug 528).
4238 o Take care of condition where DOS and NT error codes must differ.
4239 o Default to using only built-in charsets when a working iconv
4240 implementation cannot be located.
4241 o Wrap internals of sys_setgroups() so the sys_XX() call can
4242 be done unconditionally (bug 550).
4243 o Remove duplicate smbspool link on SWAT's front page (bug 541).
4244 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
4245 --enable-debug=[yes|no] works correctly.
4246 o Allow ^C to interrupt smbpasswd if using our getpass
4247 (e.g. smbpasswd command).
4248 o Support signing only on RPC's (bug 167).
4249 o Correct bug that prevented Excel 2000 clients from opening
4250 files marked as read-only.
4251 o Portability fix bugs 546 - 549).
4252 o Explicitly initialize the value of AR for vendor makes that don't
4253 do this (e.g. HPUX 11). (bug 552).
4254 o More i18n fixes for SWAT (bug 413).
4255 o Change the cwd before the postexec script to ensure that a
4256 umount will succeed.
4257 o Correct double free that caused winbindd to crash when a DC
4258 is rebooted (bug 437).
4259 o Fix incorrect mode sum (bug 562).
4260 o Canonicalize SMB_INFO_ALLOCATION in the same was as
4261 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4262 o Add script to generate *msg files.
4263 o Add Dutch SWAT translation file.
4264 o Make sure to call get_user_groups() with the full winbindd
4265 name for a user if he/she has one (bug 406).
4266 o Fix up error code returns from Samba4 tester. Ensure invalid
4267 paths are validated the same way.
4268 o Allow Samba3 to pass the Samba4 RAW-READ tests.
4269 o Refuse to configure if --with-expsam=$BACKEND was used but no
4270 libraries were found for $BACKEND.
4271 o Move sysquotas autoconf tests to a separate file.
4272 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
4274 o Make sure that the files that contain the static_init_$subsystem;
4275 macro get recompiled after configure by removing the object
4277 o Ensure canceling a blocking lock returns the correct error
4279 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4280 o Updated Japanese welcome file in SWAT.
4281 o Fix to nt-time <-> unix-time functions reversible.
4282 o Ensure that winbindd uses the the escaped DN when querying
4284 o Fix portability issues when compiling (bug 505, 550)
4285 o Compile fix for tdbbackup when Samba needs to override
4286 non-C99 compliant implementations of snprintf().
4287 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4288 o Make sure we break out of samsync loop on error.
4289 o Ensure error code path doesn't free unmalloc()'d memory
4291 o Add configure test for krb5_keytab_entry keyblock vs key
4294 o Modified testparm so that all output so all debug output goes
4295 to stderr, and all file processing goes to stdout.
4296 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
4298 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
4299 we have a devmode before copying a string to the devicename.
4300 o Support mapping REALM.COM\user to a local user account (without
4301 running winbindd) for compatibility with 2.2.x release.
4302 o Ensure we don't use mmap() on blacklisted systems.
4303 o fixed a number of bugs and memory leaks in the AIX
4305 o Call initgroups() in SWAT before becomming the user so that
4306 secondary group permissions can be used when writing to
4308 o Fix signing problems when reverse connecting back to a
4309 client for printer notify
4310 o Fix signing problems caused by a miss-sequence bug.
4311 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4312 Fixes NEXUS tools running on Win9x clients (bug 64).
4313 o Don't leave the domain field uninitialized in cli_lsa.c if some
4314 SID could not be mapped.
4315 o Fix segfault in mount.cifs helper when there is no options
4316 specified during mount.
4317 o Change the \n after the password prompt to go to tty instead
4318 of stdout (bug 668).
4319 o Stop net -P from prompting for machine account password (bug 451).
4320 o Change in behavior to Not only change the effective uid but also
4321 the real uid when becoming unprivileged.
4322 o Cope with Exchange 5.5 cleartext pop password auth.
4323 o New files for support of initshutdown pipe. Win2k doesn't
4324 respond properly to all requests on the winreg pipe, so we need
4325 to handle this new pipe (bug 534).
4326 o Added more va_copy() checks in configure.in.
4327 o Include fixes for libsmbclient build problems.
4328 o Missing UNIX -> DOS codepage conversion in lanman.c.
4329 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
4330 o Parameterize the listen backlog in smbd and make it larger by
4331 default. A backlog of 5 is way too small these days.
4332 o Check for an invalid fid before dereferencing the fsp pointer
4334 o Remove invalid memory frees and return codes in pdb_ldap.c.
4335 o Prompt for password when invoking --set-auth-user and no
4337 o Bind the nmbd sending socket to the 'socket address'.
4338 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
4339 $LDFLAGS occurs before any library specification (bug 661).
4340 o Fix large number of printf() calls for 64-bit size_t.
4341 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
4342 keyblock in the krb5 structs.
4343 o Remove #include <compat.h> in hopes to avoid problems with
4344 apache header files.
4345 o Correct winbindd build problems on HP-UX 11.
4346 o Lowercase netgroups lookups (bug 703).
4347 o Use the actual size of the buffer in strftime instead of a made
4348 up value which just happens to be less than sizeof(fstring).
4350 o Add ldaplibs to pdbedit link line (bug 651).
4351 o Fix crash bug in smbclient completion (bug 659).
4352 o Fix packet length for browse list reply (bug 771).
4353 o Fix coredump in cli_get_backup_list().
4354 o Make sure that we expand %N (bug 612).
4355 o Allow rpcclient adddriver command to specify printer driver
4357 o Compile tdbdump by default.
4358 o Apply patches to fix iconv detection for FreeBSD.
4359 o Do not allow the 'guest account' to be added to a passdb backend
4360 using smbpasswd or pdbedit (bug 624).
4361 o Save LDFLAGS during iconv detection (bug 57).
4362 o Run krb5 logins through the username map if the winbindd
4363 lookup fails (bug 698).
4364 o Add const for lp_set_name_resolve_order() to avoid compiler
4366 o Add support for the %i macro in smb.conf to stand in for the for
4367 the local IP address to which a client connected.
4368 o Allow winbindd to match local accounts to domain SID when
4369 'winbind trusted domains only = yes' (bug 680).
4370 o Remove code in idmap_ldap that searches the user suffix and group
4371 suffix. It's not needed and provides inconsistent functionality
4372 from the tdb backend.
4373 o Patch to handle munged dial string for Windows 2000 TSE.
4374 Thanks to Gaz de France, Direction de la Recherche, Service
4375 Informatique Métier for their supporting this work by Aurelien
4376 Degrémont <adegremont@idealx.com>.
4377 o Correct the "smbldap_open: cannot access when not root error"
4378 messages when looking up group information (bug 281).
4379 o Skip over the winbind separator when looking up a user.
4380 This fixes the bug that prevented local users from
4381 matching an AD user when not running winbindd (bug 698).
4382 o Fix a problem with configure on *BSD systems. Make sure
4383 we add -liconv etc to LDFLAGS.
4384 o Fix core dump bug when "security = server" and the authentication
4386 o Correct crash bug due to an empty munged dial string.
4387 o Show files locked by a specific user (smbstatus -u 'user')
4389 o Fix bug preventing print jobs from display in the queue
4390 monitor used by Windows NT and later clients (bug 660).
4391 o Fix several reported problems with point-n-print from
4392 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4393 reply (bug 338, 527 & 643).
4394 o Fix a handful of potential memory leaks in the LDAP code used
4395 by ldapsam[_compat] and the LDAP idmap backend.
4396 o Fix for pdbedit error code returns (bug 763).
4397 o Make sure we only enumerate group mapping entries (not
4398 /etc/group) even when doing local aliases.
4399 o Relax check on the pipe name in a dce/rpc bind response to work
4400 around issues with establishing trusts to a Windows 2003 domain.
4401 o Ensure we mangle names ending in '.' in hash2 mangling method.
4402 o Correct parsing issues with munged dial string.
4403 o Fix bugs in quota support for XFS.
4404 o Add a cleaner method for applications that need to provide
4405 name->SID mappings to do this via NSS rather than having to
4406 know the winbindd pipe protocol.
4407 o Adds a variant of the winbindd_getgroups() call called
4408 winbindd_getusersids() that provides direct SID->SIDs listing of
4409 a users supplementary groups. This is enough to allow non-Samba
4410 applications to do ACL checking.
4411 o Make sure we don't append the 'ldap suffix' when writing out the
4412 'ldap XXX suffix' values in SWAT (bug 328).
4413 o Fix renames across file systems.
4414 o Ensure that items in a list of strings containing whitespace are
4415 written out surrounded by single quotes. This means that both
4416 double and single quotes are now used to surround strings in
4418 o Enable SWAT to correctly determine if winbindd is running (bug
4420 o Include WWW-Authenticate field in 401 response for bad auth
4422 o Add support for NTLM2 (NTLMv2 session security).
4423 o Add support for variable-length session keys.
4424 o More privilege fixes for group enumeration in LDAP (bug 281).
4425 o Use the dns name (or IP) as the originating client name when
4426 using CUPS (bug 467).
4427 o Fix various SMB signing bugs.
4428 o Fix ACL propagation on a DFS root (bug 263).
4429 o Disable NTLM2 for RPC pipes.
4430 o Allow the client to specify the NTLM2 flags got NTLMSSP
4432 o Change the name of the job passed off to cups from "Test Page"
4433 to "smbprn.00000033 Test Page" so that we can get the smb
4434 jobid back. This allow users to delete jobs with cups printing
4435 backend (partial work on bug 770).
4436 o Fix build of winbindd with static pdb modules.
4437 o Retrieve the correct ACL group bits if the file has an ACL
4439 o Implement "net rpc group members": Get members of a domain group
4440 in human-readable format.
4441 o Add MacOSX (Darwin) specific charset module code.
4442 o Use samr_dispinfo(level == 1) for enumerating domain users so we
4443 can include the full name in gecos field (bug 587).
4444 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4445 o Implement 'net rpc group list [global|local|builtin]*' for a
4446 select listing of the respective user databases.
4447 o Don't automatically set NT status code flag unless client tells
4449 o Add 'net status [sessions|shares] [parseable]'.
4450 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
4452 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
4454 o Fix inverted logic in hosts allow/deny checks caused by
4455 s/strcmp/strequal/ (bug 846).
4456 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4457 o Fix typo in 'hash' mangling algorithm.
4458 o Support munged dial for ldapsam (bug 800).
4459 o Fix process_incoming_data() to return the number of bytes handled
4460 this call whether we have a complete PDU or not; fixes bug
4461 with multiple PDU request rpc's broken over SMBwriteX calls
4463 o Fix incorrect smb flags2 for connections to pre-NT servers
4464 (causes smbclient to fail to OS2 for example) (bug 821).
4465 o Update version string in smbldap-tools Makefile to 0.8.2.
4466 o Correct a problem with "net rpc vampire" mis-parsing the
4467 alias member info reply.
4468 o Ensure the ${libdir} is created by the installclientlib script.
4469 o Fix detection of Windows 2003 client architecture in the smb.conf
4471 o Ensure that smbd calls the add user script for a missing UNIX
4472 user on kerberos auth call (bug 445).
4473 o Fix bugs in hosts allow/deny when using a mismatched
4474 network/netmask pair.
4475 o Protect alloc_sub_basic() from crashing when the source string
4476 is NULL (partial work on bug 687).
4477 o Fix spinlocks on IRIX.
4478 o Corrected some bad destination paths when running "configure
4480 o Add packaging files for Fedora Core 1.
4481 o Correct bug in SWAT install script for non-english languages.
4482 o Support character set ISO-8859-1 internally (bug 558).
4483 o Fixed more LDAP access errors when looking up group mappings
4485 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
4486 resolution to fail on local files on on domain members
4488 o Fix uninitialized variable in passdb.c.
4489 o Fix formal parameter type in get_static() in nsswitch/wins.c.
4490 o Fix problem mounting directories when mount.cifs is installed
4491 with the setuid bit on.
4492 o Fix bug that prevent --mandir from overriding the defaults
4493 given in the --with-fhs macro.
4494 o Fix bug in in-memory Kerberos keytab detection routines
4499 ######################################################################
4501 The original 3.0.0 release notes follow
4502 =======================================
4503 WHATS NEW IN Samba 3.0.0
4505 =======================================
4511 1) Active Directory support. Samba 3.0 is now able to
4512 join a ADS realm as a member server and authenticate
4513 users using LDAP/Kerberos.
4515 2) Unicode support. Samba will now negotiate UNICODE on the wire
4516 and internally there is now a much better infrastructure for
4517 multi-byte and UNICODE character sets.
4519 3) New authentication system. The internal authentication system
4520 has been almost completely rewritten. Most of the changes are
4521 internal, but the new auth system is also very configurable.
4523 4) New default filename mangling system.
4525 5) A new "net" command has been added. It is somewhat similar to
4526 the "net" command in windows. Eventually we plan to replace
4527 numerous other utilities (such as smbpasswd) with subcommands
4530 6) Samba now negotiates NT-style status32 codes on the wire. This
4531 improves error handling a lot.
4533 7) Better Windows 2000/XP/2003 printing support including publishing
4534 printer attributes in active directory.
4536 8) New loadable module support for passdb backends and character
4539 9) New default dual-daemon winbindd support for better performance.
4541 10) Support for migrating from a Windows NT 4.0 domain to a Samba
4542 domain and maintaining user, group and domain SIDs.
4544 11) Support for establishing trust relationships with Windows NT 4.0
4547 12) Initial support for a distributed Winbind architecture using
4548 an LDAP directory for storing SID to uid/gid mappings.
4550 13) Major updates to the Samba documentation tree.
4552 14) Full support for client and server SMB signing to ensure
4553 compatibility with default Windows 2003 security settings.
4555 15) Improvement of ACL mapping features based on code donated by
4559 Plus lots of other improvements!
4562 Additional Documentation
4563 ------------------------
4565 Please refer to Samba documentation tree (included in the docs/
4566 subdirectory) for extensive explanations of installing, configuring
4567 and maintaining Samba 3.0 servers and clients. It is advised to
4568 begin with the Samba-HOWTO-Collection for overviews and specific
4569 tasks (the current book is up to approximately 400 pages) and to
4570 refer to the various man pages for information on individual options.
4572 We are very glad to be able to include the second edition of
4573 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4574 (O'Reilly & Associates) in this release. The book is available
4575 on-line at http://samba.org/samba/docs/ and is included with
4576 the Samba Web Administration Tool (SWAT). Thanks to the authors and
4577 publisher for making "Using Samba" under the GNU Free Documentation
4581 ######################################################################
4582 Upgrading from a previous Samba 3.0 beta
4583 ########################################
4585 Beginning with Samba 3.0.0beta3, the RID allocation functions
4586 have been moved into winbindd. Previously these were handled
4587 by each passdb backend. This means that winbindd must be running
4588 to automatically allocate RIDs for users and/or groups. Otherwise,
4589 smbd will use the 2.2 algorithm for generating new RIDs.
4591 If you are using 'passdb backend = tdbsam' with a previous Samba
4592 3.0 beta release (or possibly alpha), it may be necessary to
4593 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4594 to winbindd_idmap.tdb. To do this:
4596 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
4598 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
4600 3) run: (note that 'tdb>' is the tool's prompt for input)
4602 root# ./tdbtool /usr/local/samba/private/passdb.tdb
4603 tdb> show RID_COUNTER
4607 [000] 0A 52 00 00 .R.
4609 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
4613 If you are using 'passdb backend = ldapsam', it will be necessary to
4614 store idmap entries in the LDAP directory as well (i.e. idmap backend
4615 = ldap). Refer to the 'net idmap' command for more information on
4616 migrating SID<->UNIX id mappings from one backend to another.
4618 If the RID_COUNTER record does not exist, then these instructions are
4619 unneccessary and the new RID_COUNTER record will be correctly generated
4624 ########################
4625 Upgrading from Samba 2.2
4626 ########################
4628 This section is provided to help administrators understand the details
4629 involved with upgrading a Samba 2.2 server to Samba 3.0.
4635 Many of the options to the GNU autoconf script have been modified
4636 in the 3.0 release. The most noticeable are:
4638 * removal of --with-tdbsam (is now included by default; see section
4639 on passdb backends and authentication for more details)
4641 * --with-ldapsam is now on used to provided backward compatible
4642 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
4643 backend and authentication section for more details
4645 * inclusion of non-standard passdb modules may be enabled using
4646 --with-expsam. This includes an XML backend and a mysql backend.
4648 * removal of --with-msdfs (is now enabled by default)
4650 * removal of --with-ssl (no longer supported)
4652 * --with-utmp now defaults to 'yes' on supported systems
4654 * --with-sendfile-support is now enabled by default on supported
4661 This section contains a brief listing of changes to smb.conf options
4662 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
4663 complete descriptions of new or modified parameters.
4665 Removed Parameters (order alphabetically):
4668 * alternate permissions
4671 * code page directory
4673 * domain admin group
4674 * domain guest group
4675 * force unknown acl user
4681 * printer driver file
4682 * printer driver location
4684 * source environment
4692 New Parameters (new parameters have been grouped by function):
4696 * abort shutdown script
4699 User and Group Account Management
4700 ---------------------------------
4702 * add machine script
4703 * add user to group script
4704 * algorithmic rid base
4705 * delete group script
4706 * delete user from group script
4708 * set primary group script
4714 * passwd chat timeout
4718 * client lanman auth
4719 * client NTLMv2 auth
4725 * paranoid server security
4734 * hide special files
4735 * hide unwriteable files
4737 * kernel change notify
4747 * max reported print jobs
4749 UNICODE and Character Sets
4750 --------------------------
4756 SID to uid/gid Mappings
4757 -----------------------
4761 * winbind enable local accounts
4762 * winbind trusted domains only
4763 * template primary group
4764 * enable rid algorithm
4771 * ldap machine suffix
4773 * ldap replication sleep
4776 General Configuration
4777 ---------------------
4781 Modified Parameters (changes in behavior):
4783 * encrypt passwords (enabled by default)
4784 * mangling method (set to 'hash2' by default)
4787 * restrict anonymous (integer value)
4788 * security (new 'ads' value)
4789 * strict locking (enabled by default)
4790 * unix extensions (enabled by default)
4791 * winbind cache time (increased to 5 minutes)
4792 * winbind uid (deprecated in favor of 'idmap uid')
4793 * winbind gid (deprecated in favor of 'idmap gid')
4799 This section contains brief descriptions of any new databases
4800 introduced in Samba 3.0. Please remember to backup your existing
4801 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
4802 upgrade databases as they are opened (if necessary), but downgrading
4803 from 3.0 to 2.2 is an unsupported path.
4805 Name Description Backup?
4806 ---- ----------- -------
4807 account_policy User policy settings yes
4808 gencache Generic caching db no
4809 group_mapping Mapping table from Windows yes
4810 groups/SID to unix groups
4811 winbindd_idmap ID map table from SIDS to UNIX yes
4813 namecache Name resolution cache entries no
4814 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
4815 returned as part of a successful
4816 net_sam_logon request
4817 printing/*.tdb Cached output from 'lpq no
4818 command' created on a per print
4820 registry Read-only samba registry skeleton no
4821 that provides support for exporting
4822 various db tables via the winreg RPCs
4828 The following issues are known changes in behavior between Samba 2.2 and
4829 Samba 3.0 that may affect certain installations of Samba.
4831 1) When operating as a member of a Windows domain, Samba 2.2 would
4832 map any users authenticated by the remote DC to the 'guest account'
4833 if a uid could not be obtained via the getpwnam() call. Samba 3.0
4834 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
4835 current work around to re-establish the 2.2 behavior.
4837 2) When adding machines to a Samba 2.2 controlled domain, the
4838 'add user script' was used to create the UNIX identity of the
4839 machine trust account. Samba 3.0 introduces a new 'add machine
4840 script' that must be specified for this purpose. Samba 3.0 will
4841 not fall back to using the 'add user script' in the absence of
4842 an 'add machine script'
4845 ######################################################################
4846 Passdb Backends and Authentication
4847 ##################################
4849 There have been a few new changes that Samba administrators should be
4850 aware of when moving to Samba 3.0.
4852 1) encrypted passwords have been enabled by default in order to
4853 inter-operate better with out-of-the-box Windows client
4854 installations. This does mean that either (a) a samba account
4855 must be created for each user, or (b) 'encrypt passwords = no'
4856 must be explicitly defined in smb.conf.
4858 2) Inclusion of new 'security = ads' option for integration
4859 with an Active Directory domain using the native Windows
4860 Kerberos 5 and LDAP protocols.
4862 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
4863 type which is neccessary for servers on which the
4864 administrator password has not been changed, or kerberos-enabled
4865 SMB connections to servers that require Kerberos SMB signing.
4866 Besides this one difference, either MIT or Heimdal Kerberos
4867 distributions are usable by Samba 3.0.
4870 Samba 3.0 also includes the possibility of setting up chains
4871 of authentication methods (auth methods) and account storage
4872 backends (passdb backend). Please refer to the smb.conf(5)
4873 man page for details. While both parameters assume sane default
4874 values, it is likely that you will need to understand what the
4875 values actually mean in order to ensure Samba operates correctly.
4877 The recommended passdb backends at this time are
4879 * smbpasswd - 2.2 compatible flat file format
4880 * tdbsam - attribute rich database intended as an smbpasswd
4881 replacement for stand alone servers
4882 * ldapsam - attribute rich account storage and retrieval
4883 backend utilizing an LDAP directory.
4884 * ldapsam_compat - a 2.2 backward compatible LDAP account
4887 Certain functions of the smbpasswd(8) tool have been split between the
4888 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
4889 utility. See the respective man pages for details.
4892 ######################################################################
4896 This section outlines the new features affecting Samba / LDAP
4902 A new object class (sambaSamAccount) has been introduced to replace
4903 the old sambaAccount. This change aids us in the renaming of
4904 attributes to prevent clashes with attributes from other vendors.
4905 There is a conversion script (examples/LDAP/convertSambaAccount) to
4906 modify and LDIF file to the new schema.
4910 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
4911 $ convertSambaAccount --sid=<Domain SID> \
4912 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
4913 --changetype=[modify|add]
4915 The <DOM SID> can be obtained by running 'net getlocalsid
4916 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
4917 the format of the generated LDIF output--either create new entries
4918 or modify existing entries.
4920 The old sambaAccount schema may still be used by specifying the
4921 "ldapsam_compat" passdb backend. However, the sambaAccount and
4922 associated attributes have been moved to the historical section of
4923 the schema file and must be uncommented before use if needed.
4924 The 2.2 object class declaration for a sambaAccount has not changed
4925 in the 3.0 samba.schema file.
4927 Other new object classes and their uses include:
4929 * sambaDomain - domain information used to allocate rids
4930 for users and groups as necessary. The attributes are added
4931 in 'ldap suffix' directory entry automatically if
4932 an idmap uid/gid range has been set and the 'ldapsam'
4933 passdb backend has been selected.
4935 * sambaGroupMapping - an object representing the
4936 relationship between a posixGroup and a Windows
4937 group/SID. These entries are stored in the 'ldap
4938 group suffix' and managed by the 'net groupmap' command.
4940 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
4941 automatically and contains the next available 'idmap uid' and
4944 * sambaIdmapEntry - object storing a mapping between a
4945 SID and a UNIX uid/gid. These objects are created by the
4946 idmap_ldap module as needed.
4948 * sambaSidEntry - object representing a SID alone, as a Structural
4949 class on which to build the sambaIdmapEntry.
4952 New Suffix for Searching
4953 ------------------------
4955 The following new smb.conf parameters have been added to aid in directing
4956 certain LDAP queries when 'passdb backend = ldapsam://...' has been
4959 * ldap suffix - used to search for user and computer accounts
4960 * ldap user suffix - used to store user accounts
4961 * ldap machine suffix - used to store machine trust accounts
4962 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
4963 * ldap idmap suffix - location of sambaIdmapEntry objects
4965 If an 'ldap suffix' is defined, it will be appended to all of the
4966 remaining sub-suffix parameters. In this case, the order of the suffix
4967 listings in smb.conf is important. Always place the 'ldap suffix' first
4970 Due to a limitation in Samba's smb.conf parsing, you should not surround
4971 the DN's with quotation marks.
4977 Samba 3.0 supports an ldap backend for the idmap subsystem. The
4978 following options would inform Samba that the idmap table should be
4979 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
4984 idmap backend = ldap:ldap://onterose/
4985 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
4986 idmap uid = 40000-50000
4987 idmap gid = 40000-50000
4989 This configuration allows winbind installations on multiple servers to
4990 share a uid/gid number space, thus avoiding the interoperability problems
4991 with NFS that were present in Samba 2.2.
4995 ######################################################################
4996 Trust Relationships and a Samba Domain
4997 ######################################
4999 Samba 3.0.0beta2 is able to utilize winbindd as the means of
5000 allocating uids and gids to trusted users and groups. More
5001 information regarding Samba's support for establishing trust
5002 relationships can be found in the Samba-HOWTO-Collection included
5003 in the docs/ directory of this release.
5005 First create your Samba PDC and ensure that everything is
5006 working correctly before moving on the trusts.
5008 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5009 4.0 domain named WINDOWS:
5011 1) create the trust account for SAMBA in "User Manager for Domains"
5012 2) connect the trust from the Samba domain using
5013 'net rpc trustdom establish GLASS'
5015 To create a trustlationship with SAMBA as the trusted domain:
5017 1) create the initial trust account for GLASS using
5018 'smbpasswd -a -i GLASS'. You may need to create a UNIX
5019 account for GLASS$ prior to this step (depending on your
5020 local configuration).
5021 2) connect the trust from a WINDOWS DC using "User Manager
5024 Now join winbindd on the Samba PDC to the SAMBA domain using
5025 the normal steps for adding a Samba server to an NT4 domain:
5026 (note that smbd & nmbd must be running at this point)
5028 root# net rpc join -U root
5029 Password: <enter root password from smbpasswd file here>
5031 Start winbindd and test the join with 'wbinfo -t'.
5033 Now test the trust relationship by connecting to the SAMBA DC
5034 (e.g. POGO) as a user from the WINDOWS domain:
5036 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5039 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5041 $ smbclient //crystal/netlogon -U root -W WINDOWS
5044 ######################################################################
5048 Beginning with Samba3.0.0beta3, winbindd has been given new account
5049 manage functionality equivalent to the 'add user script' family of
5050 smb.conf parameters. The idmap design has also been changed to
5051 centralize control of foreign SID lookups and matching to UNIX
5055 Brief Description of Changes
5056 ----------------------------
5058 1) The sid_to_uid() family of functions (smbd/uid.c) have been
5059 reverted to the 2.2.x design. This means that when resolving a
5060 SID to a UID or similar mapping:
5062 a) First consult winbindd
5063 b) perform a local lookup only if winbindd fails to
5064 return a successful answer
5066 There are some variations to this, but these two rules generally
5069 2) All idmap lookups have been moved into winbindd. This means that
5070 a server must run winbindd (and support NSS) in order to achieve
5071 any mappings of SID to dynamically allocated UNIX ids. This was
5072 a conscious design choice.
5074 3) (OBSOLETE) New functions have been added to winbindd to emulate
5075 the 'add user script' family of smbd functions without requiring
5076 that external scripts be defined. This functionality is controlled
5077 by the 'winbind enable local accounts' smb.conf parameter (enabled
5080 However, this account management functionality is only supported
5081 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
5082 must be shared among multiple Samba servers (such as a PDC and BDCs),
5083 it will be necessary to define your own 'add user script', et. al.
5084 programs that place the accounts/groups in some form of directory
5085 such as NIS or LDAP. This requirement was deemed beyond the scope
5086 of winbind's account management functions. Solutions for
5087 distributing UNIX system information have been deployed and tested
5088 for many years. We saw no need to reinvent the wheel.
5090 4) A member of a Samba controlled domain running winbindd is now able
5091 to map domain users directly onto existing UNIX accounts while still
5092 automatically creating accounts for trusted users and groups. This
5093 behavior is controlled by the 'winbind trusted domains only' smb.conf
5094 parameter (disabled by default to provide 2.2.x winbind behavior).
5096 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5097 in smbd/uid.c. The reason that group mappings are not included
5098 in winbindd is because the purpose of Samba's group map is to
5099 match any Windows SID with an existing UNIX group. These UNIX
5100 groups can be created by winbindd (see next section), but the
5101 SID<->gid mapping is retreived by smbd, not winbindd.
5107 * security = server running winbindd to allocate accounts on demand
5109 * Samba PDC running winbindd to handle the automatic creation of UNIX
5110 identities for machine trust accounts
5112 * Automtically creating UNIX user and groups when migrating a Windows NT
5113 4.0 PDC to a Samba PDC. Winbindd must be running when executing
5114 'net rpc vampire' for this to work.
5117 ######################################################################
5121 * There are several bugs currently logged against the 3.0 codebase
5122 that affect the use of NT 4.0 GUI domain management tools when run
5123 against a Samba 3.0 PDC. This bugs should be released in an early
5126 Please refer to https://bugzilla.samba.org/ for a current list of bugs
5127 filed against the Samba 3.0 codebase.
5130 ######################################################################
5131 Reporting bugs & Development Discussion
5132 #######################################
5134 Please discuss this release on the samba-technical mailing list or by
5135 joining the #samba-technical IRC channel on irc.freenode.net.
5137 If you do report problems then please try to send high quality
5138 feedback. If you don't provide vital information to help us track down
5139 the problem then you will probably be ignored.
5141 A new bugzilla installation has been established to help support the
5142 Samba 3.0 community of users. This server, located at
5143 https://bugzilla.samba.org/, has replaced the older jitterbug server
5144 previously located at http://bugs.samba.org/.