r10928: final touches on release notes:
[Samba.git] / SAMBA_3_0_20B / WHATSNEW.txt
blob4495786eb150fda46559d6644e46d6f16f8b8a54
1                    ===============================
2                    Release Notes for Samba 3.0.20b
3                              Oct 12, 2005
4                    ===============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all current
8 bug-fixes.  Please read the following important changes in this
9 release.
11 Common bugs fixed in 3.0.20b include:
13   o A crash bug in winbindd
14   o Reporting files as read-only instead of returning the 
15     correct error code of "access denied"
16   o File system quota support defects
17   
19 ######################################################################
20 Changes
21 #######
24 Changes since 3.0.20a
25 ---------------------
27 commits
28 -------
30 o   Jeremy Allison <jra@samba.org>
31     * BUG 3088: Fix error condition for files on a read-write share 
32       which cannot be read due to permissions.
35 o   Gerald (Jerry) Carter <jerry@samba.org>
36     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
37       details.
38     * BUG 1473, 3090: Quota detection and compilation problems on 
39       Solaris.
42 o   Marc Balmer <marc@msys.ch>
43     * Build fixes when builddir != srcdir
46 o   Alex Deiter <tiamat@komi.mts.ru>
47     * BUG 3145: Fix build issue regarding quota support on Solaris.
50 o   Volker Lendecke <vl@samba.org>
51     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
52       name.
55 Release Notes for older release follow:
57       --------------------------------------------------
58                    ===============================
59                    Release Notes for Samba 3.0.20a
60                              Sept 30, 2005
61                    ===============================
63 Common bugs fixed in 3.0.20a include:
65   o Stability problems with winbindd.
66   o Crash bugs caused by incompatibilities on 64-bit systems.
67   o Missing files from directory listings on AIX servers
68   o User Manager interoperability problems.
69   o Minor build difficulties on various platforms such as 
70     Solaris and OpenBSD, 
73 Winbind, security = domain, and Active Directory
74 ================================================
76 Recent security updates for Windows 2000 and Windows 2003 have 
77 changed the fashion in which user and group lists can be obtained 
78 from domain controllers.  In short, the RPC mechanisms used by 
79 "security = domain" to retrieve users and groups is not compatible 
80 with these changes.   The "security = ads" configuration is not 
81 affected by the Windows protocol changes.
83 Samba developers are actively working to correct this problem in 
84 the 3.0.21 release.  In the meantime, Administrators who are unable 
85 to migrate to "security = ads" and must continue using "security = 
86 domain", can define credentials to be used by winbindd for account
87 enumeration by executing the following command as root.
89         wbinfo --set-auth-user='DOMAIN\username%password'
93 ######################################################################
94 Changes
95 #######
98 Changes since 3.0.20
99 --------------------
101 commits
102 -------
104 o   Jeremy Allison <jra@samba.org>
105     * BUG 3065: Fix for legacy clients retrieving a listing of 
106       an empty directory.
107     * Added external library for accessing Samba's share mode 
108       database.
109     * Fix winbindd credentials chain which caused logon failures 
110       after attempting to authenticate an unknown user.
111     * Fix recursive looping bug in winbindd.
112     * Fix build errors on 64-bit systems.
113     * Posix ACL memory leak and crash bug fixes.
114     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
115     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
116     * Hide dot files and directory logic fixes.
117     * Correct display of open file modes by smbstatus.
118     * BUG 3010: Fix missing files bug on AIX systems.
121 o   Gerald (Jerry) Carter <jerry@samba.org>
122     * Allow the root user to automatically pass se_access_checks()
123       in the registry and service control server code.
124     * Ensure that winbindd uses the correct name in the net_auth2()
125       request when running on a Samba PDC.
126     * Fix linking problem with tdb utilities.
127     * BUG 3080: Fix regression in 'net rpc shutdown' command.
128     * Fix segv in 'net rpc' when the pipe open fails.
129     * Fix upload bug when installing 64-bit Windows printer drivers.
130     * Fix regression in the smburi syntax used by smbspool.
131     * Fix sorting of subkey hash records in registry files.
132     * Correct REG_CREATE_KEY_EX parsing error.
133     * Interoperability issues with usrmgr.exe and Samba groups.
134     * Use the display names and not the Unix names when enumerating
135       groups in the ldapsam passdb backend.
136     * Ensure that Windows domain user names are converted to lower case.
139 o   Guenther Deschner <gd@samba.org>
140     * Prevent BUILTIN sids returned in the user's token from 
141       a Windows DC from being applied to any local group mappings
142       on the Samba host.
143     * Plug memory leaks in the kerberos keytab code.
144     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
145       backend when 'winbind nested groups' is enabled.
146     * Fix crash bug in winbindd caused by 64-bit build issues.
147     * Improve debug messages in smbspool.
148     * Give better error-message when "NDS Universal Password" change fails.
149     * Fix password history error in the eDirectory schema file.
150     * Ensure that Windows domain group names are converted to lower case.
153 o   Steve French <sfrench@us.ibm.com>
154     * Allow disabling mandatory byte range lock mount flag, and fix 
155       corresponding entry in mtab.
158 o   Volker Lendecke <vl@samba.org>
159     * Fix race condition in the NTcreate&X open code when the 
160       disposition is NTCREATEX_DISP_CREATE.
161     * Correct logic error when checking the pid for pending print 
162       change notify messages.
163     * Ensure that winbindd child process complete startup even when
164       the parent is receiving authentication requests.
165     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
166       when authentication fails.
169 o   Jason Mader <jason@ncac.gwu.edu>
170     * Compile warning fixes.
173 o   Uli Meis <a.sporto@gmail.com>
174     * Patches for pdb_*sql.c
177 o   Luke Mewburn <lukem@NetBSD.org>
178     * Autoconf syntax fixes.
181 o   James Peach <jpeach@sgi.com>
182     * Correct problem with creating a core file in Linux.
185 o   Stefan Metzmacher <metze@samba.org>    
186     * Quota fixes in smbd.
189 o   Peter Rindfuss <rindfuss@wz-berlin.de>
190     * Patches for pdb_*sql.c
193 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
194     * Solaris toolchain patches for autoconf scripts.
197 o   Andrew Tridgell <tridge@samba.org>
198     * Fix for tdb clear-if-first race condition.
201 o   Leo Weppelman <leo@wau.mis.ah.nl>
202     * BUG 3104: Don't allow time updates to files on read-only shares.
205 o   Steve Williams <steve@celineandsteve.com>
206     * BUG 3052: Fix compile issues on OpenBSD.
209       --------------------------------------------------
210                    ==============================
211                    Release Notes for Samba 3.0.20
212                              Aug 19, 2005
213                    ==============================
215 Additional features introduced in Samba 3.0.20 include:
217   o Support for several new Win32 rpc pipes.
218   o Improved support for OS/2 clients.
219   o New 'net rpc service' tool for managing Win32 services.
220   o Capability to set the owner on new files and directory
221     based on the parent's ownership.
222   o Experimental, asynchronous IO file serving support.
223   o Completed Support for Microsoft Print Migrator.
224   o New Winbind IDmap plugin (ad) for retrieving uid and gid
225     from AD servers which maintain the SFU user and group 
226     attributes.
227   o Rewritten support for POSIX pathnames when utilizing 
228     the Linux CIFS fs client.
229   o New asynchronous winbindd.
230   o Support for Microsoft Print Migrator.
231   o New Windows NT registry file I/O library.
232   o New user right (SeTakeOwnershipPrivilege) added.
233   o New "net share migrate" options.
236 What happened to 3.0.15 - 3.0.19?
237 ==================================
239 After some discussion it was deemed that the amount of changes 
240 going into the next Samba 3.0 release needed something to catch
241 people's attention.  Skipping several releases was chosen as 
242 the best solution with the least overhead.  There will be no
243 3.0.15 - 3.0.19 ever released.  The next production release
244 following 3.0.20 should be 3.0.21.
246 The original announcement about the version number change can 
247 be found in the samba mailing list archives:
249 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
252 Asynchronous Winbind Implementation
253 ===================================
255 Winbindd has been completely rewritten in this release to support
256 an almost completely non-blocking, asynchronous request/reply
257 model.  This means that winbindd will scale much better in 
258 large domain environments and on high latency networks.  Neither 
259 the client interface nor the command line tools (i.e. wbinfo) have 
260 changed in their calling conventions or syntax.  However, due to 
261 internal structure changes, it is required (more so than normal) 
262 that you install the nss_winbind.so library included in this release.
265 Support for Microsoft Print Migrator
266 ====================================
268 Samba 3.0.20 includes full support for migrating printers from 
269 Windows servers or other Samba servers via the Microsoft Print 
270 Migrator tool.  Restoring printers requires a working "add printer 
271 command" defined in smb.conf.  Current support also allows
272 administrators to create a master list of printer drivers which
273 can be restored in bulk on new (or existing) Samba installations.
276 Asynchronous IO Support
277 =======================
279 Experimental support for async IO has been added to smbd for 
280 certain platforms.  To enable this new feature, Samba must be 
281 compiled to include the --with-aio-support configure option.
282 In addition, the "aio read size" and "aio write size" to non-zero
283 values.  See the smb.conf(5) man page for more details on these 
284 settings.
287 ######################################################################
288 Changes
289 #######
291 smb.conf changes
292 ----------------
294     Parameter Name                      Action
295     --------------                      ------
296     acl check permissions               New
297     acl group control                   New
298     acl map full control                New
299     aio read size                       New
300     aio write size                      New
301     enable asu support                  New
302     inherit owner                       New
303     ldap filter                         Removed
304     map to guest                        Modified (new value added)
305     max stat cache size                 New
306     min password length                 Removed
307     printer admin                       Deprecated
308     username map script                 New
309     winbind enable local accounts       Removed
310     winbindd nss info                   New
313 Changes since 3.0.14a
314 ---------------------
317 commits
318 -------
320 o   Jeremy Allison <jra@samba.org>
321     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
322     * Ensure the old SMB search calls always ask mask_match() to 
323       translate patterns like ????????.???.
324     * Split out the check_path_syntax() into a findfirst, findnext,
325       & wildcard versions.
326     * Fix checks for matching groups in an file ACL against the
327       user's primary and supplementary group list.
328     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
329       LANMAN2 protocol, ensure the EA size is always correctly 
330       set on a query for a file with no EA's.
331     * BUG 2551: Look at the incoming flags2 flag 
332       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
333       uppercased on a SMBsearch request, not the protocol level.
334     * Added "volume" command to smbclient that prints out the 
335       volume name and serial number.
336     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
337     * Add support for OS/2 Extended Attributes.
338     * Correctly check OpenX open modes.
339     * Ensure allocation size is correctly returned for OpenX. 
340     * Only set allocation on create/truncate for nttrans.
341     * Fix oplock bug in trans2open() code.
342     * Remove unix_ERR_XXX global nastiness.
343     * Only do the strange DOS error for openX, not trans2open.
344     * Ensure SMBopen replies includes the share modes as well as 
345       open modes.
346     * BUG 2581: Add size limit (in kb) to stat cache.
347     * Fix bug in the trans2 secondary processing.
348     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
349     * Add an SMB counter per connection struct for gathering
350       profiling data.
351     * BUG 2605: Ensure smbclient doesn't perform commands if 
352       the "chdir" fails in a scripted set.
353     * Ensure a 'forced group' is added to the list of effective
354       gids when processing ACLs.
355     * Refactor rpc_bind structures for better future work.
356     * BUG 2942: Add missing value in debug message.
357     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
358       by 'mangling method = hash'.
359     * Fix memory leaks in the msdfs trans2 server code.
360     * Convert msdfs server to be talloc'd based.
361     * Fix up stackable vfs interface.
362     * Fix rpc fault when encountering an unknown rpc_bind auth 
363       type.
364     * BUG 2954: More AIX 5.1 AIO compile fixes.
365     * Fix valgrind bug in interaction with new aio buffer (found
366       by Volker).
367     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
368     * Cleanup SAMR user info structure naming.
369     * BUG 2889:  Fix directly listings from OS/2 clients.
370     * Added "acl group control" parameter.
371     * Add debug warning if AddPrinterEx() is called without having
372       an 'add printer command'  defined.
373     * Add better log messages when modifying ldap entries.
374     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
375       when string is unaligned.
376     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
377       message buffer is nor reused.
378     * Add support for client setting capabilities to select posix 
379       pathnames on the wire.
380     * Stop using C++ reserved words so that Samba can be compiled 
381       using g++.  Also allows VFS modules in C++.
382     * More fixes to allow better large directory scaling.
383     * BUG 2827: Ensure we call the vfs connection hook before 
384       doing a vfs stat.  Allows database vfs backends to initialize 
385       with a working connection.
386     * BUG 2826: Ensure the correct return value for symlink and 
387       readlink in the VFS.
388     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
389     * Added AIO support to smbd.
390     * Add "acl map full control", true by default, to allow people 
391       to change mapping of rwx to full control or not.
392     * Transition smbd to use NTcreate&X for internal file opens.
393     * Add checks against the current effective group id (e.g. force 
394       user) when testing write permissions one ACLs.
395     * Fix FindFirst/FindNext server code when parsing directories
396       on old IRIX XFS file systems (thanks to Cale Fairchild
397       for the debugging help).
398     * BUG 2644: Test for special files to be ignored was reversed.
399     * Ensure yield_connection() is called on all appropriate error
400       conditions.
401     * Fix EDEADLCK problem with deferred open calls.
402     * BUG 2622: Remove DPTR_MASK as it makes no sense.
403     * Fix the write cache based on some VERY good detective work
404       from Ingo Kilian.
405     * BUG 2346: Fix read-only excel file bugs.
406     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
407       return ENOSYS if not implemented.
408     * Add new CAP for POSIX pathnames.
409     * BUG 2703: Add NULL guard for disp_fields[0].
410     * BUG 2681: With "strict allocate = yes" we now zero fill when 
411       a file is extended. Should catch disk full errors on write
412       from MS-Office.
413     * Add "acl check permissions" to turn on/off the new 
414       behavior of checking for write access in a directory 
415       before delete. 
416     * Refactor printing interface to take offset into job. 
417     * Allow mapping of POSIX ACLs to NT perms to differentiate 
418       between directories and files.
419     * Added encrypt/decrypt function for LSA secrets and trusted
420       domain passwords on the wire.
421     * BUG 2729: Resume keys are *mandatory* for a search when 
422       listing a W2K and above server from a FATxx filesystem only.
423     * BUG 2735: Ensure that smbd mangles control characters in file 
424       and directory names.
425     * Refactor small pieces of socket handling code (in conjunction 
426       with Derrell).
427     * BUG 2698: Fix infinite listing loop in smbclient caused by
428       an invalid character set conversion.
429     * Add client code that will abort a directory listing if we 
430       see the same name twice between packets.
431     * Performance improvements in trans2 qfilepathinfo code by 
432       removing unnecessary memset() calls.
433     * Rewrite the RPC bind parsing functions to follow the 
434       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
435     * BUG 2774: Set sparse flag if needed when returning 
436       file attributes.
437     * Fix errors listing directories from Windows NT clients 
438       which caused "." and ".." to show up in explorer.exe.
439     * Merge of error code fixes from SAMBA_4_0 branch.
440     * BUG 2801: Fix regression in the "delete veto files" option.
441     * Fix based on work from  Shlomi Yaakobovich to catch loops 
442       in corrupted tdb files.
443     * Allow someone with SeTakeOwnershipPrivilege to chown the 
444       user of a file to herself.
445     * Fix minor compiler warnings in printing/printing.c.
446     * Merge new DOS error code from SAMBA_4.
447     * Fix issue when non-English characters in filenames and 
448       directories.
449     * Fix bogus error message in smbstatus about unknown share modes.
452 o   Andrew Bartlett <abartlet@samba.org>
453     * Support raw NTLMSSP authentication for Windows Vista 
454       clients.
455     * Fix parallel NTLMSSP processing by removing global state.
456     * BUG 2684: Add per service hosts allow/deny checks for 
457       printers when  connecting via MS-RPC.
458     * BUG 2391: Fix segv caused by free a static pointer returned 
459       from getpwnam().
460     * Support kerberos authentication in smbd when using a keytab
461       and participating in a non-Microsoft Kerberos realm.
464 o   Timur Bakeyev <timur@com.bat.ru>
465     * BUG 2546: Add support for FreeBSD EA API
466     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
467     * BUG 2908: Fix string length logic error in msdfs code.
468     * BUG 2909: Fix typo that caused smbd to call the wrong 
469       aio_fsync function.
472 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
473     * Added Linux per-socket TCP settings.
476 o   Gerald (Jerry) Carter <jerry@samba.org>
477     * Added support for \svcctl pipe rpcs.
478     * Added 'net rpc service' subcommand for managing Win32 
479       services.
480     * Refactoring work on the rpc [un]marshalling layer and 
481       structures.
482     * Verify privilege name in 'net rpc rights privileges' in 
483       order to provide better error messages.
484     * Cleanup rpc structures in rpc_spoolss.h.
485     * Cleanups and fixes for the \winreg server code.
486     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
487     * Fix bugs in client spoolss code after refactoring work.
488     * Fix Valgrind warnings of invalid reads in the spoolss 
489       server code.
490     * Fixed a segv when enumerating services on a Samba host.
491     * Fix segv in the service control server code.
492     * Fix crashes in client spoolss calls caused by not checking 
493       for a valid pointer from the caller.
494     * Fix regression in DeleteDriver() server routines.
495     * Fix dup_a_regval() when size is 0.
496     * Fix usrmgr.exe crash when viewing user properties at 
497       debuglevel 10.
498     * Do not enumerate any privileges when 'enable privileges = no'
499       and log a message if a client tries.
500     * BUG 2872: Fix cut-n-paste error when checking pointer value 
501       in ntlmssp_set_workstation().
502     * Fix upgrade path from earlier nt*tdb files.
503     * Removed print handle object cache.
504     * BUG 2853: Don't strip out characters like '$' from printer 
505       names when substituting for the lpq command.
506     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
507     * Fix build issues on x86_64-linux systems caused by valgrind 
508       headers.  Thanks to Bent Vangli to the suggestions.
509     * Refactor spoolss client calls.
510     * Adding 'username map script'.
511     * Disable schannel on the LSA and SAMR pipes in winbindd client 
512       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
513     * Cleanup of winreg API functions.
514     * Add server stubs for RegSetKeySec() and RegGetKeySec().
515     * Map generic bits to specific bits in reg_open_entry() 
516       requests.
517     * Add write support to registry tdb and printing backends.
518     * Use tdb lookups rather than hard-coding certain registry 
519       value names and data.
520     * BUG 2808: don't try to install man pages if they are not 
521       present.
522     * Fix initialized variables reported by valgrind.
523     * Normalize key lookups in ntprinters.tdb.
524     * Mark "enumports command" as deprecated.
525     * Add missing class file for python share command example.
526     * Fix smbclient build issue on Solaris.
527     * BUG 2626: ensure that the calling_name is set to something 
528       after parsing smb.conf (if not set via -n).
529     * Use "add machine script" when creating a user (ACB_NORMAL)
530       who has a name ending in '$' (e.g. usrmgr.exe creating
531       domain trust accounts).
532     * Add 'rid' synonym for idmap_rid IDMap module.
533     * Ensure that we set full access on the handle returned 
534       from _samr_create_dom_{alias,group}() so that future 
535       set_{alias,group}() commands succeed.
536     * Fix bug when looking for internal domains in winbindd
537       (caused winbindd_getgrgid() for local groups to fail).
538     * Fix query and set alias info calls (level 1 from the MMC 
539       manage computer plug-in.
540     * Remove bogus log messages about unknown specversions.
541     * BUG 2680: copy files from an MS-DFS win2k root share
542     * BUG 2688: re-implement support for the -P (--port) option
543     * Support connecting to an 'msdfs proxy' share on a Samba
544       server.
545     * Strip the directory path from cups command line printing 
546       defaults.
547     * Fix bug that prevented smbclient from creating directories 
548       on non-dfs paths.
549     * Deprecate the "printer admin" parameter in favor of the 
550       SePrintOperatorPrivilege.
551     * Add the capability to read and write WinNT regf registry 
552       files.
553     * Implement access checks for RegOpenXXX() server calls.
554     * Extend registry client rpc calls.
555     * Add "net rpc registry" set of commands.
556     * Remove testprns tool.
557     * Ensure that printer ACLs use the specific bits as well as 
558       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
559       records.
560     * Add server support for RegSaveKey() for dumping registry 
561       trees to a regf file.
562     * Add "enable asu support" smb.conf parameter.
563     * Merge various small file changes from trunk.
564     * Remove "winbind enable local accounts" support.
565     * Remove "ldap filter" smb.conf option.
566     * Remove editreg utility (needs to be rewritten using regfio.c).
567     * Fix build failure when running 'make torture' without first 
568       running 'make all' first.
569     * BUG 1261: Remove unusable libbiconv from iconv detection 
570       in configure.
571     * Add new option for "map to guest".  "Bad Uid" re-enables the
572       Samba 2.2 behavior of mapping authenticated users to the
573       guest account if there does not exist a valid Unix account 
574       for the Windows domain user (based on patch from 
575       aruna.prabakar@hp.com).
576     * Fix a couple of regressions after introduction of new winbindd.
577     * Fix smbpasswd user password change (still worked by bad error
578       messages) due to trying to strdup a NULL pointer.
579     * Implement default security descriptors for the
580       OpenService[Manager]() calls and check requested access mask 
581       at connect time.
582     * Include access checks on handle mask for \svcctl operations
583       such as ControlService() and StartService().
584     * Implement simulated start and stop service control for 
585       the spooler service as a per smbd service state value.
586     * Add interface structure for controlling service via rc.init
587       scripts (incomplete).
588     * Convert move_driver_to_download_area() to use copy_file()
589       rather than moving the files.
590     * Add version number to registry.tdb file since it can be 
591       modified now.
592     * Remove over-paranoid assert() call when checking spoolss 
593       buffer pointers
594     * Fix error in EnumPrinterData() reported by valgrind.
595     * Fix broken help links in SWAT editor caused by new doc layout.
596     * Ensure that a domain structure in winbind is initialized prior
597       to assigning the methods for communicating to a DC.
598     * BUG 3000: Remove background updates of winbind cache and allow
599       child processes to immediately update and expired cache entry.
602 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
603     * Added panic action script for Solaris.
606 o   Jeremy Cooper <jeremy@ncircle.com>
607     * Added support for several new \winreg client rpcs.
610 o   <core@road-star.jp>
611     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
612       telldir, rewinddir to match updated large directory code.
615 o   Guenther Deschner <gd@samba.org>
616     * Close handles on group creation in rpcclient to better 
617       support mass group account creation.
618     * Fix account policy key lookup for minimum and maximum
619       password lengths.
620     * Fix some compiler warnings and add missing exclude-block 
621       in 'net rpc share migrate'.
622     * Allow use of a non-default smb.conf by rpcclient.
623     * Fix querydispinfo search semantics in rpcclient test code.
624     * Fix querydispinfo server semantics to allow to list more 
625       then 511 users.
626     * Fix server crash bug in ancient OpenPrinter() call.
627     * Fix a crash bug when enumerating privileges via the LSA 
628       calls.
629     * Fix crash in EnumPrinterKey() client calls caused by previous 
630       refactoring work.
631     * Various compiler warning fixes.
632     * Fix segfault in the client AddPrinterEx-call of 'net 
633       rpc printer'.
634     * Fix build issues when --with-aio-support is enabled.
635     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
636     * Honour the CC environment variable in python build.
637     * Fix searches in pdb_ldap for inter-domain trust accounts.
638     * Don't expand the %L in %LOGONSERVER% from user attributes.
639     * Fix bug in 'net rpc vampire' that caused accounts to be created 
640       with no assigned ACB flags.
641     * Fix enumeration of builtin-aliases.
642     * Avoid unset rids for builtin-aliases.
643     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
644     * More "net rpc share migrate" fixes.
645     * Merge PADL's idmap_ad plugin (taken from the latest 
646       xad_oss_plugins-tarball).
647     * Add support for "idmap backend = ad" when "security = ads".
648     * Add home directory and shell support from AD via "winbindd nss 
649       support = sfu" and "security = ads".
650     * Provide better feedback when we fail share-manipulation 
651       due to missing scripts.
652     * Correctly substitute "\" as default winbind separator in 
653       generate_parm_table.py example share command script.
654     * Document pam_winbind.c to clarify the working status of
655       require-membership-of option.
656     * Added client-support for various lsa_query_trust_dom_info()
657       calls and a rpcclient-tester for some info-levels.
658     * Add "net rpc trustdom vampire" tool (in conjunction with 
659       Lars Mueller).
660     * Add missing cli_srvsvc_net_share_set_info-function and
661       rpcclient-testers (in preparation for net share acl migration).
662     * Print trusted domain passwords returned via rpcclient in 
663       display charset.
664     * Error code fixes when attempting to manipulating 
665       non-existent shares.
666     * Cleanup "net share migrate" code. 
667     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
668       = true".
669     * Allow admins to uncheck the "User must change Password at 
670       next Logon" checkbox in User manager (merge from trunk).
673 o   Renaud Duhaut <rd@duhaut.com> 
674     * BUG 1040: Add directory_mode parameter when creating recycle
675       directories.
678 o   Steven Edwards <steven_ed4153@yahoo.com>.
679     * Use chsize() if we don't have ftruncate().
682 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
683     * BUG 1780: Add kerberos (file based ticket cache) support 
684       to smbspool.
687 o   Steve French <sfrench@us.ibm.com>
688     * Update list of mount options for mount.cifs.
689     * Add more defines for POSIX extensions to match the newly 
690       added client implementation.
691     * Add initial support for cifs umount utility.
692     * Fix cifs mounts to handle commas embedded in prompted 
693       password, and password and credential files.
694     * Fix cifs mounts to handle domain name and user name in 
695       username field (in form domain\user).
696     * Add missing error code mappings when a client unsuccessfully 
697       tries to create a hard-link.
698     * Add support so umount.cifs can update mtab.
699     * Add two newer mount options to syntax help for mount.cifs.
700     * Add missing remount flag handling.
701     * Allow domain= to be specified in credentials file. 
702     * Fix umount.cifs help, allow root to unmount someone else's
703       mount.
704     * Lock mtab when updating it during umount.cifs, also delete
705       only one matching entry at a time.
706     * Fix minor compiler warnings in the mount.cifs helper.
709 o   Deryck Hodge <deryck@samba.org>
710     * BUG 2137: Encode quotes for display in HTML (original patch 
711       from Jay Fenlason).
714 o   Olaf Imig <Olaf.Imig@bifab.de>
715     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
716       print job ids.
717     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
720 o   Björn Jacke <bj@sernet.de>
721     * Added ioctl constants reported by msbackup.exe and filemon.exe.
724 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
725     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
728 o   John Janosik <jpjanosi@us.ibm.com>
729     * BUG 2077: Correctly fill in the correct server name when 
730       processing trusted domain logins.
731     * BUG 2976: Mark logons for unknown domains with a 
732       non-authoritative response.
735 o   William Jojo <jojowil@hvcc.edu>
736     * AIX AIO fixes.
739 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
740     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
741       local drive.
744 o   Tom Lackemann <cessnatomny@yahoo.com>
745     * BUG 2242: Patch to ensure that we only set the security 
746       descriptor on an NTtransact create if we created the file.
749 o   Volker Lendecke <vl@samba.org>
750     * Port some of the non-critical changes from HEAD to 3_0. 
751       The main one is the change in pdb_enum_alias_memberships 
752       to match samr.idl a bit closer.
753     * Close handles on user creation in rpcclient to better 
754       support mass user account creation.
755     * Implement client RAP calls for enumusers/enumgroups level 0.
756     * Implement a new caching API for enumerating the pdb elements.
757     * Convert the RAP user and group enumeration functions to the 
758       utilized the pdb_search API. 
759     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
760       RestrictAnonymous environments.
761     * Internal passdb API changes for better search capabilities
762       (based on original work by Guenther Deschner).
763     * Fix various compiler warnings.
764     * Add chain length statistics to tdbtool.
765     * Fix set afs ACL calls on files and directories in the root of 
766       a share.
767     * Refactoring work on internal open code
768     * Correctly initialize the version in a new set of nt*tdb files.
769     * Remove smb_run_idle_events() from main process loop in smbd 
770       and instead rely upon the timeout processing to handle 
771       dropping idle LDAP connections.
772     * Fix the bug where users show up as trusting domains.
773     * Fix an assertion failure in winbindd.
774     * Fix a memleak in vfs_afsacl.
775     * Various compiler warning fixes.
776     * Fix compile when --enable-socket-wrapper is defined.
777     * Fixes for top level acls in vfs_acl.c.
778     * Refactor passdb interface functions.
779     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
780     * Correct 2 segv's in "net rpc printer migrate".
781     * Return correct group type from smbd for BUILTIN groups.
782     * Backport the talloc() layer from Samba 4.
783     * BUG 2701: Fix segv in ldap reconnection code.
784     * BUG 2705: Fix segv when connecting from usrmgr.exe.
785     * Use the SID in the user token for the %s expansion in 'afs 
786       username map'.
787     * Memory leak fixes in passdb code.
788     * BUG 2720: Fixes for "net usersidlist".
789     * BUG 2725: Fix segv in "net ads user".
790     * Only allow schannel connections if a successful Auth2 
791       has been previously performed.
792     * Don't look at gencache.tdb for the trusted domains if 
793       winbind is present.
794     * Rewrite winbindd using an asynchronous process model.
797 o   Herb Lewis <herb@samba.org>
798     * Compiler warning cleanups.
799     * smbwrapper Makefile and compile time check cleanups.
800     * Adding robustness checks for tdbdump and tdbtool.
801     * Extend tdb command line parsing to arbitrary hex characters.
802     * Add LOCKING debug class.
803     * Fix more compiler warnings.
806 o   Derrell Lipman <derrell@samba.org>
807     * add support for opening a file for write with O_APPEND 
808       in libsmbclient.
809     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
810       tree.
811     * Fix smbc_stat() from returning incorrect timestamps IFF 
812       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
813       and not if it used cli-getatr() to retrieve the timestamps 
814       (Win98). 
815     * Fix handful of compiler warnings.
816     * BUG 2498, 2484: smbc_getxattr() fixes.
817     * BUG 1133: Added provision for overloading some global 
818       configuration options via the new, per-user file 
819       ~/.smb/smb.conf.append.
820     * BUG 2543: Properly cache anonymous username when reverting 
821       to anonymous login, in libsmbclient.
822     * BUG 2505: Fix large file support in libsmbclient.
823     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
824       with a file rather than a directory.
825     * Correct deprecated lvalue casts in testsuite/libsmbclient.
826     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
827       formatting or parsing the timestamp values correctly.
828     * Correctly detect AF_LOCAL support in configure.
829     * Fix problem updating file times on Windows 98 hosts using 
830       libsmbclient.
831     * Fix compile breakage on Solaris by eliminating the use of 
832       ctime_r() in libsmbclient DEBUG statement.
835 o   Jason Mader <jason@ncac.gwu.edu>
836     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
837     * Various compiler warning fixes about mistyped variables.
838     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
839       and code  cleanups.
840     * BUG 2527, 2538: Removed unused variables.
843 o   Marcel <samba.10.maazl@spamgourmet.com>
844     * Fix regression in OS/2 trans2 open code.
847 o   Jim McDonough <jmcd@us.ibm.com>
848     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
849       (in conjunction with Volker).
850     * BUG 2953: Prevent the credentials chain on DC gets out 
851       of sync with client when NT_STATUS_NO_USER is returned.
852     * Added subcommands to "net rpc vampire" (mostly done by Don 
853       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
854       ldif file instead of actually writing to the passdb.  
855     * BUG 2736: Add retries to workaround winbind race condition 
856       with detecting idle clients.
857     * BUG 2953: Additional fixes for domain trusts.  Also clears
858       up the "bad stub" error when attempting to logon to a Samba
859       domain with a bad username.
862 o   Luke Mewburn <lukem@NetBSD.org>
863     * Compiler warning fixes.
866 o   Kalim Moghul <kalim@samba.org>
867     * Removed unused printmode command from smbclient.
870 o   Lars Müller <lmuelle@samba.org>
871     * Re-enable the VERSION_REVISION option in case of another 
872       letter release.
873     * Fix spoolss python bindings after C++ compiler changes and 
874       other python fixes.
875     * BUG 2659: Don't trump on memory in smbtorture.
876     * BUG 2060: Add -fPIC which is the case for all other Samba 
877       shared libs.
878     * Fix argv parsing in "net rpc".
879     * Add support to create position independent executable (PIE) 
880       code if the compiler supports it.
881     * BUG 2767: Add new options to testparm (--show-all-parameters,
882       --parameter-name, and --section-name).
883     * Fix net share migrate files to also migrate the ACLs of 
884       the top level dir of a share.
887 o   Marcel Muller <mueller@maazl.de>
888     * Patch to fix the OS/2 EA_FROM_LIST info level call.
889     * Mangled names fix for OS/2 clients.
890     * Ensure we correctly set the return packet size to include the 
891       pad bytes in reply_readbmpx().
892     * Fix for bug in SMBwriteBraw that incorrectly returned the 
893       number of bytes written. 
896 o   Ricky Nance <ricky.nance@gmail.com>
897     * Implemented mklogon script generator for domain logon scripts.
900 o   James Peach <jpeach@sgi.com>
901     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
902     * BUG 2285: Patch for hires timestamps and efficient notify code.
903     * MS-DFS tidyup patches.
904     * Build fixes on IRIX.
905     * IRIX compiler warning fixes.
906     * BUG 2596: Fix become_root link issues and one IRIX stack 
907       backtrace bug.
908     * Fix for null pointer ACL free.
909     * BUG 2314: Fix const compiler warnings in the quota code.
912 o   Ed Plese <ed@edplese.com>
913     * Fix faulty logic which caused winbindd to return failure 
914       when a user possessed no supplementary groups.
917 o   Marcin Porwit <mporwit@centeris.com>
918     * Initial support for the \eventlog pipe.
919     * Fix a memleak in the eventlog code.
920     * Miscellaneous fixes for Samba's experimental event log support.
921     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
922       calls.
925 o   Tim Potter <tpot@samba.org>
926     * BUG 2940, 2943: Fixed various compiler warnings regarding 
927       mismatched types and unused variables.
928     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
929     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
930       configure script on HPUX IA.
931     * Remove unused autoconf #define's.
932     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
933     * Removed unused function declarations in tdb.h.
934     * BUG 2895: Don't wrap non-existent functions in the python 
935       tdb bindings.
936     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
937       according to POSIX.
938     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
939       defined.
940     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
941     * BUG 2611: Add fflush(stdout) after displaying username prompt 
942       in smbsh if username not specified on command line.
943     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
944     * BUG 2808: Update install swat message to reflect the fact 
945       that swat/README no longer exists.
948 o   Denis Sbragion <d.sbragion@infotecna.it>
949     * BUG 2196: Allow absolute path (system wide) recycle bin.
952 o   Fernando Schapachnik <fernando@mecon.gov.ar>
953     * Add logon hours support for the Postgres backend.
956 o   Richard Sharpe <rsharpe@samba.org>
957     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
959 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
960     * BUG 2362: Quota support fix for DragonFly.
961     * Fix dragonfly detection in configure.
964 o   Simo Sorce <idra@samba.org>
965     * Allow Domain Admins to force user sessions to close via the 
966       Windows Server Manager.
967     * Add support to 'net rpc right privileges <name>' to enumerate 
968       accounts which possess a specific privilege.
969     * Fix memory issues issues in vfstest (reported by Rainer Link).
970     * Randomize reloading as to not overload cupsd.
973 o   Smitty <smitty@plainjoe.org>
974     * Compile fixes for smbget when using --enable-developer.
975     * Include LUID values to match Windows privileges since 
976       apparently this matters to printmig.exe
979 o   John Terpstra <jht@samba.org>
980     * Solaris packaging fixes.
981     * Clean up usage help text in "net rpc user"
984 o   Andrew Tridgell <tridge@samba.org>
985     * Merge socket wrapper library fixes from Samba 4.
988 o   Brett Trotter <blt@iastate.edu>
989     * Fix definition of global_sid_* in vfs_acl.c.
992 o   Mark Weaver <mark-clist@npsl.co.uk>
993     * Patch to fix sys_select so it can't drop signals if another 
994       fd is ready to read. 
997 o   Jelmer Vernooij <jelmer@samba.org>
998     * Remove --with-manpage-languages configure option.
999     * Merge socket wrapper fixes for IRIX systems from the 
1000       Samba 4 branch.
1001     * Add socket_wrapper library to 3.0. Can be enabled by passing
1002       --enable-socket-wrapper to configure.
1003     * Fix build of the various sql pdb backends after new talloc.
1006 o   Qiao Yang <qyang@stbernard.com>
1007     * Use our own DC when getting the SID for a domain.
1011 Release Notes for older release follow:
1013       --------------------------------------------------
1014                    ===============================
1015                    Release Notes for Samba 3.0.14a
1016                               Apr 14, 2005
1017                    ===============================
1019 Common bugs fixed in 3.0.14a include:
1021   o Compatibility issues between Winbind and Windows 2003 SP1
1022     domain controllers (*2k3sp1*).
1023   o MS-DFS errors with Windows XP SP2 clients.
1024   o High CPU loads caused by infinite loops in the FindNext()
1025     server code.
1026   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
1027     files.
1029     
1030 ######################################################################
1031 Changes
1032 #######
1034 Changes since 3.0.14
1035 --------------------
1037 commits
1038 -------
1039 o   Jeremy Allison <jra@samba.org>
1040     * Fixed invalid SMB_ASSERT() triggered by checking access on
1041        ACL'd files.
1044 Changes since 3.0.13
1045 --------------------
1047 smb.conf changes
1048 ----------------
1050     Parameter Name                      Action
1051     --------------                      ------
1052     dos filetimes                       Enabled by default
1055 commits
1056 -------
1057 o   Jeremy Allison <jra@samba.org>
1058     * Prevent nt_status code support when negotiating protocols
1059       earlier than NT1.
1060     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1061       as this SMB is DOS codepage only.
1062     * BUG 2585: Fix printf() issues in smbpasswd which caused
1063       seg faults.
1064     * BUG 2563: Fix infinite loop on non-existent file with 
1065       FindNext().
1066     * BUG 2581 (partial): Ensure if realloc fails on an internal 
1067       tdb we fail gracefully.
1068     * Ensure that 'dos filetimes' works with ACLs.
1069     * Set 'dos filetimes = yes' as the default for smb.conf.
1071       
1072 o   Gerald (Jerry) Carter <jerry@samba.org>
1073     * Workaround autoconf issue to prevent debug symbols from 
1074       being included in the default build.
1075     * Disable schannel on the \lsarpc pipe in order to successfully 
1076       enumerate users and groups (*2k3sp1*)
1077     * Fix parsing error in rpc binds which broke NTLMSSP 
1078       authentication.   And as a result broke CTL+ALT+DEL password 
1079       changes from a Windows 2003 SP1 member of a Samba domain 
1080       (*2k3sp1*).
1081     * Revert change to FindFirst() server code that broke WinXP
1082       SP2 clients from launching *.exe files from a dfs target 
1083       share.
1084     * BUG 2588: Force smbclient to send netbios messages to port 
1085       139 unless otherwise instructed (based on patch from Thomas 
1086       Bork).
1087       
1089 o   Volker Lendecke <vl@samba.org>
1090     * Fix build on FreeBSD 4 where Winbind is not supported.
1091     * Fix 'wbinfo --user-sids' when using domain local groups.
1092     * Restrict domain local groups reported by 'wbinfo -r' to
1093       the Samba server domain and not the users domain.
1096 o   Lin Li <linl@xandros.com>
1097     * Ensure that winbind initializes internal trusted domain 
1098       structures when enumerating users and groups.
1099       
1101 o   Tim Potter <tpot@samba.org>
1102     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
1103       test.
1104     * Fix compiler warnings.
1107 o   <psz@maths.usyd.edu.au>
1108     * Fix for possible root squash NFS bugs.
1109     
1110     
1111 o   Simo Sorce <irda@samba.org>
1112     * Debian packaging fixes.
1113     
1115       --------------------------------------------------
1116                    ==============================
1117                    Release Notes for Samba 3.0.13
1118                             Mar 24, 2005
1119                    ==============================
1121 Common bugs fixed in 3.0.13 include:
1123   o Infinite FindNext() loop from Windows 9x client when
1124     copying or deleting files on a Samba file share using 
1125     explorer.exe.
1126   o Numerous smbclient bugs when listing directories.
1127   o Failures in smbclient when connecting to a Windows 9x 
1128     file server.
1130     
1131 ######################################################################
1132 Changes
1133 #######
1135 Changes since 3.0.12
1136 --------------------
1138 o   Jeremy Allison <jra@samba.org>
1139     * Fix typo bug in smbclient where flags overwrote info level
1140       in the cli_list_new().
1141     * Fix old smbclient bug where ff_searchcount was being compared 
1142       to -1 resulting in processing a filename twice.
1143     * Fix segv in smbclient caused by overwriting the last 2 bytes 
1144       in cli_list_new().
1145     * BUG 2530: Fix potential segv in smbclient when talking to a 
1146       Windows 9x file server.
1147     * Fix last entry offset in cli_list_new() when using a 
1148       FindFirst/FindNext info level of 0x104.
1149     * BUG 2501: Stop Win98 from looping doing FindNext on a 
1150       singleton directory. 
1151     * BUG 2521: Fix error in access checks when user group ACLs.
1152       
1153       
1154 o   Gerald (Jerry) Carter <jerry@samba.org>
1155     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
1156       to delete all versions of a driver.
1157     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
1158       'disable netbios = yes'.
1159     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1160       shares.  
1161     * Update RedHat packaging files to require cups support.  Also
1162       remove requirement for 'idmap {uid,gid}' settings in smb.conf
1163       from winbindd init script.
1164     * BUG 2516: fix compile issue on True64.
1165     
1166       
1167       
1168 o   Guenther Deschner <gd@samba.org>
1169     * Check for the correct cli-struct when copying files in 'net 
1170       rpc printer' routines.
1173 o   Herb Lewis <herb@samba.org>
1174     * Fix incorrect test in 'net rpc user' when the user is not
1175       a member of any groups.
1176       
1177       
1178 o   Jim McDonough <jmcd@us.ibm.com>
1179     * Make sure that enum_group_members() searches the correct suffix.
1180     
1182       --------------------------------------------------
1183                    ==============================
1184                    Release Notes for Samba 3.0.12
1185                             Mar 18, 2005
1186                    ==============================
1188 Common bugs fixed in 3.0.12 include:
1190   o Winbind failures when using 'disable netbios = yes'
1191   o Failure to establish a trust relationship via 'net rpc trust 
1192     establish'
1193   o Various portability & compiler issues.
1194   o Read only file deletion failure caused by new delete semantics 
1195     in Windows XP SP2 and the MS 04-044 security hotfix.
1196   o Error messages from shared Excel workbooks residing on Samba 
1197     file shares.
1198   o Missing files in the output of smbclient -c 'dir' when run 
1199     against Windows file servers.
1200   o Inability for Print Administrators to pause/resume/purge print 
1201     queues.
1203 Additional features introduced in Samba 3.0.12:
1205   o Performance enhancements when serving directories containing 
1206     large number of files.
1207   o MS-DFS support added to smbclient.
1208   o More performance improvements when using Samba/OpenLDAP based 
1209     DC's via the 'ldapsam:trusted=yes' option.
1210   o Support for the Novell NDS universal password when using the
1211     ldapsam passdb backend.
1212   o New 'net rpc trustdom {add,del}' functionality to eventually 
1213     replace 'smbpasswd {-a,-x} -i'.
1214   o New libsmbclient functionality.
1218 =======================
1219 Large Directory Support
1220 =======================
1222 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1223 with file services that frequently contain a large number of files
1224 per directory.  Historically Samba's performance has suffered 
1225 in such environments due to the translation from case 
1226 insensitive lookups by Windows client to the case sensitive
1227 storage mechanisms used by UNIX filesystems.
1229 Configuration details along with a short HOWTO can be found at:
1231 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1234 ==================================
1235 libsmbclient Binary Compatibility
1236 ==================================
1238 Please note that a change has been made to the _SMBCCTX structure 
1239 in source/include/libsmbclient.h.  This change is not backwards
1240 compatible with applications linked against the libsmbclient.so
1241 library from Samba 3.0.11.  However, it is compatible with all 
1242 other Samba 3.0.x releases.  This means that it will be most likely
1243 be necessary to recompile any applications linked against the 
1244 3.0.11 version of the library.
1247 ######################################################################
1248 Changes
1249 #######
1251 smb.conf changes
1252 ----------------
1254     Parameter Name                      Action
1255     --------------                      ------
1256     allocation roundup size             New
1257     log nt token command                New
1258     write cache                         Deprecated
1262 Changes since 3.0.11
1263 --------------------
1265 commits
1266 -------
1267 o   Jeremy Allison <jra@samba.org>
1268     * BUG 2146: Return correct allocation sizes so as not to crash 
1269       the VC++ compiler.
1270     * BUG 962: Ensure that parsing of service names in smb.conf is 
1271       multibyte safe.
1272     * BUG 2201, 2227: Support new delete semantics used by MS04-044
1273       and XP SP2.
1274     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
1275       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1276     * Add special hooks when serving directories containing large
1277       numbers of files.
1278     * Ensure that WINS negative name query responses and WACK 
1279       packets use the correct RR type of 0xA instead of reflecting 
1280       back what the query RR type was (0x20).
1281     * BUG 2310: Only do 16-bit normalization on small dfree request.
1282     * BUG 2323: Correct authentication failure when using plaintext 
1283       passwords from Windows XP clients.
1284     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1285       work around issues building MS Visual Studio 6.0 project 
1286       on a Samba file share while restoring the pre-3.0.21pre1 
1287       behavior by default.
1288     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
1289       stat when checking for existence of a pathname.
1290     * Check the sticky bit on the parent directory for supporting
1291       the new WinXP SP2 file deletion semantics.
1292     * Various oplock, share mode, and byte range locking fixes
1293       found by Connectathon tests.
1294     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
1295       code (inspired by patch from Satwik Hebbar).
1296     * BUG 2382, 2045: More pending modtime and delayed write fixes
1297       for MS Excel (incorporates partial patches from 
1298       ke_miyata@itg.hitachi.co.jp).
1299     * Debug log message cleanups.
1300     * Add case insensitive search for a principal match on logon 
1301       verification in the system keytab (based on patch by 
1302       Michael Brown <mbrown@fensystems.co.uk>).
1303     * Revert the previous SMB signing change from Nalin Dahyabhai
1304       when using DES keys.
1305     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1306     * Fix FindFirst() server code to deal with resume names of ".."
1307       and "." (found by Jim McDonough).
1308     * BUG 2451: Fix missing functions in full audit VFS module.
1309     * Ensure that smbd logs failures reported by DISK_FREE()
1310       (reported by Ying Li <ying.li2@hp.com>).
1311     * Ensure that smbclient obeys the max protocol argument again.
1312     * BUG 2335: Return correct error code for OS/2 clients (based on
1313       negotiated protocol level).
1314     * BUG 2460, 2464: remove dead code and unused variables 
1315       (reported by Jason Mader).
1318 o   Andrew Bartlett <abartlet@samba.org>
1319     * Avoid length-limited intermediate copy of NT and LM responses 
1320       in NETLOGON client.
1321     * Debug message cleanups in the NTLMSSP implementation.
1324 o   Manuel Baena <mbaena@lcc.uma.es>
1325     * Print actual error message in smbmnt.c:fullpath().
1328 o   Vince Brimhall <vbrimhall@novell.com>
1329     * Add support for Novell NDS universal password.
1330     * BUG 2424: Ensure that uidNumber and gidNumber use match 
1331       the RFC2307 schema.
1332     * BUG 2453: Change the way pdb_nds.c handles users with no 
1333       Universal or Simple Password.
1334     * NDS schema file corrections.
1337 o   Gerald (Jerry) Carter <jerry@samba.org>
1338     * Add trans2 client call for checking dfs referrals
1339     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
1340       when checking directories on modern CIFS servers.
1341     * Add MS-DFS support to smbclient.
1342     * Code cleanup of adt_tree.[ch].
1343     * Add missing checks to allow root to manage user rights.
1344     * Allow domain admins to manage rights assignments on domain members
1345       servers.
1346     * BUG 2333: Use the lpq command to pass in the correct printer name 
1347       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
1348       the default.
1349     * BUG 1439: make sure to initialize pointer to prevent invalid 
1350       free()'s on exit.
1351     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
1352       netbios = yes'.
1353     * Add cups-devel to BuidlRequires directive in Fedora spec file.
1354     * BUG 858: Fix order of popt args evaluation so we don't crash 
1355       when given no command line args.
1356     * Remove dependency on bash for source/autogen.sh.
1357     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1358     * Implement MS-DFS for recursive directory listings in smbclient.
1359     * BUG 2394: Fix nmbd linking issue on IRIX.
1360     * Only display the publish check box in the client's printer 
1361       properties dialog if we are a member of an AD domain.
1362     * BUG 2363: allow 'in use' driver to be removed as long as 
1363       one 'Windows NT x86' driver remains.
1364     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
1365       porting purposes.
1366     * Enforce better printer.tdb cache consistency when removing 
1367       jobs from a print queue via SMB.
1368     * Ensure that pause/resume/purge print queue commands are run
1369       with the appropriate level of privilege necessary to actually
1370       work.
1371     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1372       for 'printing = cups' installations that do not actually have 
1373       libcups.
1374     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1375     * BUG 2215: Rewrite questionable code that was causing gcc to 
1376       choke.
1377     * Add server support for LsaLookupPrivValue().
1378     * Various small compile fixes and cleanup warnings.
1379     * BUG 2456: Fix compile failure on non-gcc platforms due to
1380       non-standard pragma.
1383 o   Kevin Dalley <kevin@kelphead.org>
1384     * BUG 2398: Don't force smbclient to assume a dry run if the 
1385       target tarfile is /dev/null.
1388 o   Guenther Deschner <gd@samba.org>
1389     * Fix crash bug in the client-spoolss enumdataex-call.
1390     * Expand the valid-workstation-scheme by expanding names 
1391       beginning with a plus (+) as a unix group.
1392     * Allow own netbios name to be set in smbclient's session setup.
1393     * Better handling of LDAP over IPC connections that have expired 
1394       on the LDAP-Server.
1395     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1396     * Add examples/misc/adssearch.pl.
1397     * BUG 2343: Build fixes.
1398     * Support get_user_info_7 in SAMR server RPC.
1399     * Fix server_role in the samr_query_dom_info calls.
1400     * Add example perl script to check for multiple LDAP entries
1401       after running 'net rpc vampire'.
1402     * Add more output when listing printer forms via rpcclient.
1403     * Debug log message cleanup.
1406 o   Steve French <sfrench@us.ibm.com>
1407     * On failed mount (ENXIO) retry share name in uppercase (fix
1408       mount to FastConnect AIX SMB server).
1409     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1410     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1411       it with a user name.
1412     * Update for new CIFS POSIX info levels.
1413     * Ignore users mount parm in mount.cifs.
1415 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
1416     * BUG 1549: Don't truncate service names in smbstatus.
1419 o   William Jojo <jojowil@hvcc.edu>
1420     * BUG 2445: Patch to avoid default ACLs on AIX.
1423 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1424     * Add idmap_rid module to Fedora and RedHat spec files.      
1427 o   Volker Lendecke <vl@samba.org>
1428     * BUG 2401: Flush internal getpwnam() cache after deleting a 
1429       user.
1430     * BUG 1604: Make winbind work with more than 10 trusted domains.
1431     * Cleanup various compiler warnings.
1432     * Fix a memory leaks in privileges code and passdb backends.
1433     * Fixes for samr_lookup_sids() client call.
1434     * Optimize _samr_query_groupmem with LDAP backend for large 
1435       domains.
1436     * Support SIDs as %s replacements in the afs username map 
1437       parameter.
1438     * Add 'log nt token command' parameter. If set, %s is replaced 
1439       with the user sid, and %t takes all the group sids.
1440     * Do not use the "Local Unix Group"-default description for 
1441       all kinds of group-mappings. 
1442     * Fix uninitialized variable in Linux nss_winbind library.
1443     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1444     * Implement 'net afs impersonate'.
1445     
1447 o   Herb Lewis <herb@samba.org>
1448     * Fix build problem when HAVE_POSIX_ACL is not defined.
1449     * BUG 2417: Add help lines for net rpc group addmem and 
1450       delmem commands.
1451     
1453 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
1454     * Add support to libsmbclient for getting and setting DOS 
1455       attributes using EA functions.
1456     * Fix libsmbclient's URL encoding/decoding.
1457     * Replace browse listing URI queries with an internal options 
1458       structure (previous method violated the SMB URI syntax).
1459     * Allow tree connects to be multiplexed over a single CIFS server 
1460       connection context.
1461     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1462       can determine a dead tree connection.
1463     * Implement better solution for backwards binary compatibility
1464       in libsmbclient while adding new fields to struct _SMBCCTX.
1467 o   Mark Loeser <halcy0n@gentoo.org>
1468     * BUG 2443: Compile fix for gcc4.
1471 o   Jim McDonough <jmcd@us.ibm.com>
1472     * BUG 2338: Fix coredump when OS/2 checks for long file name 
1473       support (with .+,;=[].) (thanks to Guenter Kukkukk).
1476 o   Jason Mader <jason@ncac.gwu.edu>
1477     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1478       2341, 2342)
1481 o   Jim McDonough <jmcd@us.ibm.com>
1482     * Fixes for server schannel implementation when 'restrict 
1483       anonymous = 1' is set in smb.conf.
1484     * Fix bug in server side lookupsids reply that crashed lsass.exe 
1485       on Windows clients.
1486     * Fix 'net rpc trustdom establish'.
1487     * BUG 2062: Turn off broadcast for all 390 NICs.
1488     * Fix 'net rpc trustdom add' to correctly add new domain trust 
1489       accounts.  This will eventually replace 'smbpasswd -a -i'.
1490     * Implement 'net rpc trustdom del', including client side of 
1491       samr_remove_sid_from_foreign_domain.
1492     * Bring IBM Directory Server schema up to date with openldap 
1493       schema.
1494     * Allow for better protection of sensitive attributes in IBM
1495       Directory Server.
1498 o   Stefan Metzmacher <metze@samba.org>    
1499     * Fix memleaks in the nttrans code.
1502 o   Mike Nix <mnix@wanm.com.au>
1503     * Add SMBsplopen and SMBsplclose client calls.
1506 o   Justin Ossevoort <justin@snt.utwente.nl>
1507     * BUG 2316: Fix crashes in pdb_pgsql.
1510 o   James Peach <jpeach@sgi.com>
1511     * Fixes in string handling code.
1512     * Fix oplock2 test in client smbtorture.
1515 o   Tim Potter <tpot@samba.org>
1516     * Fix up example pdb modules after prototype change for 
1517       setsampwent.
1518     * BUG 2058: Fix for shared object creation in examples.
1519     * BUG 2315: Fix segv in LSA privileges server code.
1520     * Build fixes for python wrapper libraries.
1523 o   Richard Sharpe <rsharpe@samba.org>
1524     * BUG 2044: Fix segv in profiles tool.
1525     * Fix bogus error messages when enumerating user group 
1526       membership via 'net rpc'.
1529 o   Simo Sorce <idra@samba.org>
1530     * Debian packaging fixes.
1533 o   John Terpstra <jht@samba.org>
1534     * Add the capability to set account description using pdbedit.
1537 o   Doug VanLeuven <roamdad@sonic.net> 
1538     * Add more case/realm/name permutations to the kerberos keytab.
1539     * AIX compile fixes.
1542 o   Jelmer Vernooij <jelmer@samba.org>
1543     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1544     * BUG 1957: Implement minimal update of fields in mySQL pdb 
1545       module.
1546     
1548 o   Torsten Werner <torsten.werner@assyst-intl.com>
1549     * BUG 2405: Define 'lpstat' printcap output on HPUX.
1550     
1552 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
1553     * Detect infinite loops when traversing tdbs.
1556       --------------------------------------------------
1557                    ==============================
1558                    Release Notes for Samba 3.0.11
1559                              Feb 5, 2005
1560                    ==============================
1562 Common bugs fixed in 3.0.11 include:
1564   o Crash in smbd when using CUPS printing.
1565   o Parsing error of other SIDs included in the user_info_3
1566     structure returned from domain controllers.
1567   o Inefficiencies when searching non-AD LDAP directories.
1568   o Failure to expand variables in user domain attributes
1569     in tdbsam and ldapsam.
1570   o Memory leaks.
1571   o Failure to retrieve certain attribute when migrating from 
1572     a Windows DC to a Samba DC via 'net rpc vampire'.
1573   o Numerous printing bugs bugs including memory 
1574     bloating on large/busy print servers.
1575   o Compatibility issues with Exchange 5.5 SP4.
1576   o sendfile fixes.
1578 Additional features introduced in Samba 3.0.11:
1580   o Winbindd performance improvements.
1581   o More 'net rpc vampire' functionality.
1582   o Support for the Windows privilege model to assign rights
1583     to specific SIDs.
1584   o New administrative options to the 'net rpc' command.
1587 ============
1588 LDAP Changes
1589 ============
1591 If "ldap user suffix" or "ldap machine suffix" are defined in
1592 smb.conf, all user-accounts must reside below the user suffix,
1593 and all machine and inter-domain trust-accounts must be located 
1594 below the machine suffix.  Previous Samba releases would fall 
1595 back to searching the 'ldap suffix' in some cases.
1598 ===============
1599 Privilege Model
1600 ===============
1602 Samba 3.0.11 supports the following assignable rights
1604 SeMachineAccountPrivilege  Add machines to domain
1605 SePrintOperatorPrivilege   Manage printers
1606 SeAddUsersPrivilege        Add users and groups to the domain
1607 SeRemoteShutdownPrivilege  Force shutdown from a remote system
1608 SeDiskOperatorPrivilege    Manage disk shares
1610 These rights can be assigned to arbitrary users or groups
1611 via the 'net rpc rights grant/revoke' command.  More details
1612 of Samba's privilege implementation can be found in the 
1613 Samba-HOWTO-Collection.
1614     
1616 ######################################################################
1617 Changes
1618 #######
1620 Changes since 3.0.10
1621 --------------------
1623 smb.conf changes
1624 ----------------
1626     Parameter Name                      Action
1627     --------------                      ------
1628     afs token lifetime                  New
1629     enable privileges                   New
1630     ldap password sync                  Alias
1631     min password length                 Deprecated
1632     winbind enable local accounts       Deprecated
1635 commits
1636 -------
1637 o   Jeremy Allison <jra@samba.org>
1638     * Extend vfs to add seekdir/telldir/rewinddir.
1639     * Fix dirent return.
1640     * Fix bugs when handling secondary trans2 requests.
1641     * Implementation of get posix acls in UNIX extensions.
1642     * Added set posix acl functionality into the UNIX extensions code.
1643     * Updated config.guess/config.sub .
1644     * Fix error reply when 'follow symlinks = no'.
1645     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
1646       not already zero.
1647     * Fixes for LARGE_READX support.
1648     * Fix the problem we get on Linux where sendfile fails, but we've
1649       already sent the header using send().
1650     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
1651       inherit = no'.
1652     * BUG 2088: Ensure inherit permissions is only applied on a new 
1653       file, not an existing one.
1654     * Don't go fishing for the krb5 authorization data unless we know
1655       it's there.
1656     * Fixes for libsmbclient to ensure that interrupted system calls
1657       are restarted minus the already expired portion of the timeout
1658       (based on work by Derrell Lipman).
1659     * More Unicode string parsing fixes.
1660     * Convert the winreg pipe to use WERROR returns.
1661     * Make all LDAP timeouts consistent (input from Joe Meadows 
1662       <jameadows@webopolis.com>).
1663     * BUG 2231: Remove double "\\" from client findfirst.
1664     * BUG 2238: Fix memory leak in shadow copy vfs.
1665     * Return correct DOS/NT error code on transact named pipe on 
1666       closed pipe handle.
1667     * BUG 2211: Fix security descriptor parsing bug (based on work by 
1668       Mrinal Kalakrishnan <mail@mrinal.net>).
1669     * BUG 2270: Fix memory leaks in cups printing backend support 
1670       (based on work by Lars Mueller).
1671     * BUG 2255: Fix debug level in kerberos error messages.
1672     * BUG 2110: Ensure we convert to ucs2 correctly after the 
1673       CAN-2004-0930 patch.
1674     * Make strict locking an enum. Auto means use oplock optimization.
1675     * Fix client  & server to allow 127k READX calls.
1676     * More *alloc fixes (includes additional fixes by Albert Chin.
1677     * Catch sendfile errors correctly and return the correct values 
1678       we want the caller to return.
1679     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
1680       for better use by desktop environments such as GNOME.
1681     * Ensure we can't remove a level II oplock without having the
1682       shared memory area locked.
1683             
1685 o   Timur Bakeyev <timur@com.bat.ru>
1686     * BUG 2100: change the way we check for errors after a dlopen().
1687     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
1688     
1689     
1690 o   Andrew Bartlett <abartlet@samba.org>
1691     * Clarify error message when 'lanman auth = no'.
1692     * Remove the unnecessary UTF-8 conversion calls in the calls to
1693       auth_winbind from smbd.
1694     * Don't store the auth-user credentials with the cli_state* as 
1695       this can cause the schannel setup to fail when the auth-user
1696       domain is not our primary domain.
1699 o   Grigory Batalov <bga@altlinux.org>
1700     * Fix encoding while receiving of a message which was actually 
1701       sent using STR_ASCII.
1704 o   Daniel Beschorner <db@unit-netz.de>
1705     * BUG 603: Correct access mask check for _samr_lookup_domain()
1706       to work with Windows RAS server
1709 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
1710     * Fix missing printer_tdb reference decrement.
1711     
1713 o   Gerald (Jerry) Carter <jerry@samba.org>
1714     * BUG 2073: fall back to smb_name if current_user_info is not
1715       available in lp_file_list_changed().
1716     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
1717       errors.
1718     * Don't run the background LPQ daemon when we are running in
1719       interactive mode.
1720     * prevent the background LPQ daemon from updating the print queue
1721       cache just because multiple smbd processes sent a message that
1722       it was out of date.
1723     * consolidate printer searches to use find_service rather than 
1724       for(...) loops.
1725     * BUG 2091: don't remove statically defined printers in 
1726       remove_stale_printers().
1727     * Fix logic error in add_a_form() that only compared N characters 
1728       instead of the entire form name.
1729     * BUG 2107: fix memory bloating caused by large numbers of 
1730       print_queue_updates() requests sent via messages.tdb.
1731     * Check the setprinter(3) based on the access permissions on 
1732       the handle and avoid the call to print_access_check().
1733     * Re-instantiate previous semantics for calling init_unistr2() 
1734       with a NULL source buffer.
1735     * Support Windows privilege model for assigning rights
1736       to specific SIDs.  Based on work by Simo Sorce in the trunk 
1737       svn branch.  This feature is controlled by the 'enable 
1738       privileges = [yes|no]' smb.conf(5) option.
1739     * Add some smb.conf scripts for add/delete/change shares and 
1740       deleting cups printers.
1741     * Expand variables in the profile path, logon home and logon script 
1742       values when using either tdbsam or ldapsam.
1743     * Add Domain Admins (Full Control) to the default printer security 
1744       descriptor if we are a DC.
1745     * RedHat and Fedora Packaging fixes for perl dependencies.
1746     * Remove unused schema items from OpenLDAP schema file.
1747     * Remove duplicate enumeration of "Windows x86" architecture
1748       when listing printer drivers via rpcclient.
1749     * Fail set_privileges() if 'enable privileges = no' to prevent 
1750       confused admins.
1751     * Fix segfault in cups_queue_get().
1752     * Tighten restrictions on changing user passwords when 
1753       the connected user possesses the SeMachineAccountPrivilege.
1754     * Ensure we set NETBIOSNAME.domainname for the long machine name
1755       when publishing printers in AD (based on input from Rob Foehl).
1756     * Mark 'winbind enable local accounts' as deprecated.
1757     * Mark testprns tool as deprecated.
1758     * Allow root to grant/revoke privilege assignments.
1759     * Correct interaction between user rights and se_access_check() on
1760       SAMR objects.
1761     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
1762       class.
1763     * BUG 2262: Add support in configure.in for *freebsd6*.
1764     * BUG 2266: Portability fixes for quota code on FreeBSD4.
1765     * BUG 2264: Remove shutdown and abortshutdown commands from 
1766       rpcclient in favor of using the same functions in 'net'.
1767     * BUG 2295: Prevent smbd from returning an empty server name
1768       in certain lanman api calls.
1769     * BUG 2290: Fix autogen.sh script in examples (based on original
1770       patch from Lars Mueller).
1771     * Fix bug enumerating domain trusts in security = ads.
1772     * Fix segv in rpcclient's dsenumdomtrusts.
1773     * Fix bug in expansion of %U and %G in included filenames.
1774     * BUG 2291: Restrict creation of server trust and domain trust
1775       accounts to members of the "Domain Admins" group.
1777 o   Nadav Danieli <nadavd@exanet.com>
1778     * Short circuit some is_locked() tests if we are oplocked.
1779     
1780     
1781 o   Guenther Deschner <gd@samba.org>
1782     * Allow 'localhost' as a valid server name in the smbd for the
1783       spoolss calls.
1784     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
1785       Mewburn for the input).
1786     * BUG 2059: Add additional checks needed after logic change to the
1787       HAVE_WRFILE_KEYTAB detection test.
1788     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
1789       Samba DC.  Allow us to lookup at least our own SID.
1790     * More fixes to have proper German in swat (Thanks to Reiner 
1791       Klaproth and Björn Jacke.
1792     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
1793       setting security descriptors with smbcacls and using with 
1794       the -S or -M switch. 
1795     * Include the munged_dial, bad_password_count, logon_count, and 
1796       logon_hours attributes when running 'net rpc vampire'.
1797     * Fix segfault in idmap_rid.
1798     * When winbindd is operating in the multi-mapping mode of 
1799       idmap_rid, allow BUILTIN domain-mapping.
1800     * Display infolevel 12 in query_dom_info in rpcclient.
1801     * Fix bug in winbindd's lowercasing of usernames.
1802     * Allow -v or -l for displaying verbose groupmap-listing 
1803       as well as "verbose".
1804     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
1805       vampire'.
1806     * Close LDAP-Connection before retrying to open a new connection 
1807       in the retry-loop.
1808     * Marking "min password length" as depreciated.  
1809     * Implement SAMR query_dom_info-call info-level 8 server- and 
1810       client-side, based on samba4-idl.
1811     * Allow rpcclient to define a port to use when connecting 
1812       to a remote server.
1813     * Allow Account Lockout with Lockout Duration "forever" (until 
1814       admin unlocks) to be set and displayed in User Manager.
1815     * Allow to set acb_mask in rpcclient's enumdomusers.
1816     * Add more generic rootDSE inspection function to check 
1817       for given controls or extensions and remember these on a 
1818       per server basis.
1819     * Improve LDAP search efficiency by passing the acb_mask to 
1820       pdb_setsampwent().
1821     * Fixes for ldapsam_enum_group_memberships().
1822     * Add createdomgroup to rpcclient.
1823     * Add "net rpc user RENAME"-command.
1824     * Display sam_user_info_7 in rpcclient.
1825     * Make multi-domain-mode in idmap_rid accessible from outside 
1826       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
1827     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
1828       "Lockout Duration: Forever".
1829     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
1830       config utility.
1831     * Require assignment of Administrator SID in the passdb 
1832       backend.  Fall back to the default name of 'Administrator' if
1833       the lookup fails rather than using the first name in the
1834       default 'admin users' list.
1835     * Enhance LDAP failure debug messages.
1836     * BUG 2291: Call the 'add machine script' for server trust and 
1837       domain trust accounts as well as workstation accounts.
1838     
1839     
1840 o   Levente Farkas <lfarkas@lfarkas.org>
1841     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
1842       packages.
1845 o   Jay Fenlason <fenlason@redhat.com>
1846     * Fix crash in 'net join' due to calling free on 
1847       static buffers.
1848     * Several patches from RedHat's Fedora Core RPMS.
1851 o   Rob Foehl <rwf@loonybin.net>.
1852     * Compiler warnings.
1853     * Try modifying printer published attributes before adding it a
1854       new entry in AD.
1855     * Solaris packaging fixes.
1856     * Don't force the cups printer-make-and-model tag as the comment
1857       for autoloaded printers.
1858     * Implement caching of names from printcap to support a true
1859       'printcap cache time'.
1862 o   Johann Hanne <jhml@gmx.net>
1863     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
1866 o   Jeff Hardy <hardyjm@potsdam.edu>
1867     * Example script for 'add print command' when using CUPS.
1870 o   Deryck Hodge <deryck@samba.org>
1871     * Add -P (--password-only-menu) to SWAT for displaying only the
1872       password change page to non-root users.
1875 o   David Hu <david.hu@hp.com>
1876     * Copy structure from print_queue_update() message rather than 
1877       referencing it.  Fixes seg fault on HP-UX.
1878       
1879       
1880 o   Buck Huppmann <buckh@pobox.com>
1881     * BUG 2186: Don't free uninitialized credentials.
1882     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
1883       dnsDomainName != realm.
1884    
1886 o   Björn Jacke <bjoern@j3e.de>
1887     * BUG 2040: Ensure the locale is reset to C to get ASCII-
1888       compatible toupper/lower functions.
1891 o   William Jojo <jojowil@hvcc.edu>
1892     * Fix HPUX sendfile and add configure.in tests and code for
1893       sendfile on AIX.
1894     * AIX 5.3 compile fixes.
1897 o   Volker Lendecke <vl@samba.org>
1898     * Optimize anonymous session setups by workstations in a 
1899       Samba domain.
1900     * Reimplment the QueryUserAliases() server RPC reply.
1901     * Re-add the getpwnam-cache for performance.
1902     * Cache the result of a pdb_getsampwnam for later SID lookup 
1903       queries.
1904     * Unify the means of localtaing a user's global groups on a 
1905       Samba DC.
1906     * Fix bug when serving the 'Start Menu' in a roaming user profile..
1907     * Map more pre-defined NT security descriptors to AFS acls.
1908     * Add timeout to AD search requests.
1909     * If a connection to a DC is requested (in winbindd), open
1910       connections simultaneously to all DCs found.
1911     * Memleak fixes.
1912     * Fix logic error in handling of 'printcap name' parameter.
1913     * Prevent winbindd from SPAM'ing the log files with 'user root 
1914       does not exist'.
1915     * Backport samr_DomInfo2 IDL specification from Samba 4.
1916     * Implement smbstatus -n, don't lookup users and groups.
1917     * Implement simple mapping that maps the space to another character 
1918       defined by afsacl:space.
1919     * Add support for 'net idmap delete <idmap-file> <SID>'.
1920     * Add new parameter 'afs token lifetime' tells the AFS client 
1921       when to throw away a token (patch from kllin@it.su.se).
1922     * Initial work to allow support for multiple pipe opens on a 
1923       single cli_state*.
1924     * Ensure that we still retrieve the netbios name of any DC 
1925       listed as a 'password server' to work around cases where the 
1926       DC was defined using an IP address or fqdn.
1927     * Fix memleak in winbindd connection code.
1928     * Fix cli_samr_queryuseraliases.
1929     * Allow wbinfo --user-sids to expand expand domain local groups.
1930     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
1931     * Fix parsing of other_sids in net_user_info3.
1932     * Correct bad failure logic when user was not a member of any 
1933       domain local groups.
1934     
1936 o   Jason Mader <jason@ncac.gwu.edu>
1937     * BUG 2113, 2289: Remove dead code.
1940 o   Jim McDonough <jmcd@us.ibm.com>
1941     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
1942       clients.  If it fails, fall back to WINREG.
1943     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
1944     * BUG 2198: Set password last change time when running 'net rpc 
1945       vampire'.
1946     * Add "refuse machine password change" policy field.
1949 o   Luke Mewburn <lukem@NetBSD.org>
1950     * BUG 2150: shmget() - Use POSIX definitions instead of non-
1951       standard SHM_.
1952       
1954 o   Stefan Metzmacher <metze@samba.org>    
1955     * autogen.sh fixes.
1958 o   Buchan Milne <bgmilne@mandrake.org>
1959     * Mandrake packaging fixes.
1962 o   Lars Mueller <lmuelle@samba.org>
1963     * Fix build of libsmbclient on x86_64.
1964     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
1965       is installed in a non-default location.
1966     * BUG 2050: Calculate max_fd for select correctly.
1967     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
1968       script.
1971 o   Jason Mader <jason@ncac.gwu.edu>
1972     * BUG 2069: Remove unused variables.
1973     * BUG 2075: Remove dead code paths.
1974     * BUG 2083: Fix compiler warnings caused by bad type casts.
1977 o   James Peach <jpeach@sgi.com>
1978     * Fix rewinddir -> rewind_dir when using VFS macros.
1979     
1981 o   Gavrie Philipson <gavrie@disksites.com>
1982     * BUG 1838: Remove stale printers imeeddiately when 
1983       processing a SIGHUP and during smb.conf reload.
1985       
1986 o   Tim Potter <tpot@samba.org>
1987     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
1988     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
1989     * Change the license for the winbindd external interface 
1990       more liberal.
1991     * HP-UX compile fixes.
1992     * Compile fixes after new setsampwent() API.
1995 o   Richard Renard <rrenard@idealx.com>
1996     * Update Netscape DS 5.2 LDAP schema.
1999 o   Simo Sorce <idra@samba.org>
2000     * Backport pdbedit changes from trunk.
2001     * Allows the add/change share command to create the shared 
2002       directory directory on disk.
2003     * Log a warning in testparm if a print command is defined for
2004       a print service using 'printing = cups'.
2005      
2006 o   Jelmer Vernooij <jelmer@samba.org>
2007     * Bug fixes for pdb_{xml,pqsql,xml}
2008     * Fixes for pdb_mysql.
2011 o   Andrew Tridgell <tridge@samba.org>
2012     * Bring Samba3 into line with the Samba4 password change code.
2013     
2015 o   Shiro Yamada <shiro@miraclelinux.com>
2016     * BUG 2190: Force SWAT to display parameters in unix charset and 
2017       not UTF-8.
2020       --------------------------------------------------
2021                    ==============================
2022                    Release Notes for Samba 3.0.10
2023                              Dec 16, 2004
2024                    ==============================
2026 Common bugs fixed in 3.0.10 include:
2028   o Fix for security issues described in CAN-2004-1154.
2031 Changes since 3.0.9
2032 -------------------
2034 commits
2035 -------
2037 o   Jeremy Allison <jra@samba.org>
2038     * Added checks surrounding all *alloc() calls to fix
2039       CAN-2004-1154.
2040     * Fix long standing memory size bug in bitmap_allocate().
2041     * Remove bogus error check in deferred open file serving 
2042       code.
2045 o   Thomas Bork <tombork@web.de>
2046     * Fix autoconf script on platforms using a version of GNU ld
2047       that does not include a date stamp in the output of --version.
2050 o   Luke Mewburn <lukem@NetBSD.org>
2051     * Fix the swat install script to deal with the new image
2052       destination directory used by the docs.
2053      
2056       --------------------------------------------------
2058                    =============================
2059                    Release Notes for Samba 3.0.9
2060                              Nov 15, 2004
2061                    =============================
2063 Common bugs fixed in 3.0.9 include:
2065   o Problem updating roaming user profiles.
2066   o Crash in smbd when printing from a Windows 9x client.
2067   o Unresolved symbols in libsmbclient which caused
2068     applications such as KDE's konqueror to fail when
2069     accessing smb:// URLs.
2072 Changes since 3.0.8
2073 -------------------
2076 commits
2077 -------
2079 o   Jeremy Allison <jra@samba.org>
2080     * Correctly detect errno for no acl/ea support.
2081     * BUG 2036: Fix seg fault in 'net ads join'.
2083     
2084 o   Gerald (Jerry) Carter <jerry@samba.org>
2085     * Solaris packaging fixes.
2086     * Fix seg fault in lanman printing code.
2087     * BUG 2017: fix testparm reporting for the passwd program 
2088       string.
2089     * Fix output of smbstatus to match the man page.
2090     * BUG 2027: fix conflict with declaration MD5_CTX in system 
2091       headers.
2092     * 2028: Avoid false error messages when copying a long 
2093       printer name to the device mode.
2096 o   Guenther Deschner <gd@samba.org> 
2097     * Allow deldriverex in rpcclient to delete drivers for a 
2098       specific architecture and a specific version.
2099     * Fix a couple of rpcclient spoolss commands (setprinter, 
2100       setprintername, getdriver) w.r.t to printer-naming scheme.
2101       Allow 'localhost' in the server string for certain server-side
2102       spoolss functions.
2103     * BUG 2015: Do not fail on setting file attributes with 
2104       acl support enabled.
2107 o   Michel Gravey <michel.gravey@optogone.com>
2108     * Fix build when using gcc 3.0.
2111 o   Volker Lendecke <vl@samba.org>
2112     * Fix tdb open logic when checking our local_pid after 
2113       the fork().
2116 o   Jim McDonough <jmcd@us.ibm.com>
2117     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
2118       non-root user.
2121 o   Luke Mewburn <lukem@NetBSD.org>
2122     BUG 1661: Fix KRB5_SETPW-defines
2125 o   Buchan Milne <bgmilne@mandrake.org> 
2126     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2129 o   Lars Mueller <lmuelle@samba.org>
2130     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2133 o   Martin Zielinski <mz@seh.de>
2134     * Add DeletePrinterDriverEx() functionality to rpcclient.
2135     
2137       --------------------------------------------------
2139                    =============================
2140                    Release Notes for Samba 3.0.8
2141                              Nov 7, 2004
2142                    =============================
2144 Common bugs fixed in 3.0.8 include:
2146   o Compile fixes for HP-UX
2147   o Fixes for the printer publishing code used when joined to 
2148     an AD domain.
2149   o Incompatibilities with file system quotas.
2150   o Several bugs in the spoolss printing code and print system 
2151     backends.
2152   o Inconsistencies in the username map functionality when 
2153     configured on domain member servers.
2154   o Various compile warnings and errors on various platforms.
2155   o Fixes for kerberos interoperability with Windows 200x 
2156     domains when using DES keys.
2157   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2158   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2160     
2161 New features included in the 3.0.8 release are:
2163   o New migration functionality added the the net tool
2164     for files/directories, printers, and shares.
2165   o New experimental idmap backend for assigning uids/gids
2166     directly based on the user/group RID when acting as a
2167     member of single domain without any trusts.
2168   o Additional printer migration support for XP/2003 platforms.
2171 ===========================
2172 Change in Winbindd Behavior
2173 ===========================
2175 All usernames returned by winbindd are now converted to lower 
2176 case for better consistency.  This means any winbind installation
2177 relying on the winbind username will need to rename existing 
2178 directories and/or files based on the username (%u and %U) to lower 
2179 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
2180 include mail spool files, home directories, valid user lines in 
2181 smb.conf, etc....
2184 ======================
2185 Change in Username Map
2186 ======================
2188 Previous Samba releases would only support reading the fully qualified 
2189 username (e.g. DOMAIN\user) from the username map when performing a 
2190 kerberos login from a client.  However, when looking up a map 
2191 entry for a user authenticated by NTLM[SSP], only the login name would be
2192 used for matches.  This resulted in inconsistent behavior sometimes
2193 even on the same server.
2195 Samba 3.0.8 obeys the following rules when applying the username
2196 map functionality:
2198   * When performing local authentication, the username map is 
2199     applied to the login name before attempting to authenticate 
2200     the connection.
2201   * When relying upon a external domain controller for validating
2202     authentication requests, smbd will apply the username map 
2203     to the fully qualified username (i.e. DOMAIN\user) only
2204     after the user has been successfully authenticated.
2207 ######################################################################
2208 Changes
2209 #######
2211 Changes since 3.0.7
2212 -------------------
2214 smb.conf changes
2215 ----------------
2216     Parameter Name                      Action
2217     --------------                      ------
2218     force printername                   New
2219     sendfile                            disabled by default
2222 commits
2223 -------
2225 o   Jeremy Allison <jra@samba.org>
2226     * Ensure extended security bit is on only if we negotiated 
2227       extended security.
2228     * Simplify statcache to use an in-memory tdb. 
2229     * If you're selecting a hash algorithm for tdb, you need 
2230       to do it at open time.
2231     * Removed old dir caching code - not being used now we 
2232       have the statcache anyway.
2233     * Simplify the mangle hash code to use an in-memory tdb.
2234     * Merge iconv changes from Samba 4 branch.
2235     * Fix parsing of names ending in dot and a few other error 
2236       returns.
2237     * BUG 1667: Smbpasswd file could be left locked on some 
2238       error exits.
2239     * Fixes for smbclient tar functionality.
2240     * BUG 1743: Fix logic bug the deferred open code.
2241     * Don't try to set security descriptors on shares where 
2242       this has been turned off.
2243     * Return correct error codes on old SEARCH call.
2244     * Ensure we set errno = E2BIG when we overflow in the 
2245       fast-path character conversion code.
2246     * Fix the roundup problem (returning 1mb roundup) for 
2247       non-Windows clients.
2248     * Added 'stat' command to smbclient to exercise the 
2249       UNIX_FILE_BASIC info level.
2250     * Fix bug where we could incorrectly set sparse attribute.
2251     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2252       (reported by Taj Khattra <taj.khattra@gmail.com>).
2253     * Remove locked keys tdb code.
2254     * BUG 1886: Prevent delete on close being set for readonly files 
2255       (and return the correct error code).
2256     * Ensure we pass most of the new lock tests except for the cancel 
2257       lock which is yet to be added (merged from Samba 4 branch).
2258     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2259     * BUG 1956: Ensure errno is saved and restored consistently on a 
2260       normal_close.
2261     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
2262       that all of the appropriate service principal names are set 
2263       upon joining an AD domain.
2264     * Fix the correct use of resume name in the trans2 code.
2265     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2266       correct salt used when generated the DES key after joining an 
2267       AD domain.
2268     * Enhanced krb5 detection routines in the autoconf scripts.
2269   
2271 o   Andrew Bartlett <abartlet@samba.org>
2272     * Avoid changing the machine account password in the passdb 
2273       backend, when it has 'already been changed'.  This occurs 
2274       in situations where the secure channel between the workstation 
2275       and the DC breaks down, such as occurred in the MS04-11 
2276       security patch.
2277     * Fix utility name in error message in ntlm_auth.
2278     * Fix NTLMv2 for use with pam_winbind.
2279     * Remove conversion to and from UTF8 on the winbind pipe.
2280     * Allow 'require_membership_of' and 'require-membership-of'.
2281     * Fix the error code for 'you didn't specify a domain' in 
2282       ntlm_auth.
2283     * Use sys_getgroups() rather than scanning all groups 
2284       when generating SAMR replies.
2287 o   Igor Belyi <sambauser@katehok.ac93.org>
2288     * Ensure pdb user is deleted first before deleting UNIX 
2289       user (LDAP backend needs this ordering).
2292 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
2293     * Fix core dump in 'net rpc vampire'.
2294     
2296 o   Vince Brimhall <vbrimhall@novell.com>
2297     * Make ldapsam_compat robust against NULL attributes.
2300 o   Gerald Carter <jerry@samba.org>
2301     * Don't limit the number of groups returned by winbindd_getgroups()
2302       by NGROUPS_MAX.
2303     * BUG 1519: Match Windows 2000 behavior when opening a 
2304       printer using a servername in the form of an IP address or 
2305       DNS name.
2306     * BUG 1907: remove extra slashes from the printer name in 
2307       getprinterdriverdir_1().  
2308     * Fix standard_sub_snum() to use the current user's gid.
2309     * Fix background queue update bug (based on Volker's initial work 
2310       in 3.1.0).
2311     * Add 'force printername' service parameter for people that want 
2312       to enforce printername == sharename for spoolss printing.
2313     * Ensure consistent usage of the username map.  Use the fully 
2314       qualified DOMAIN\user format for 'security = domain|ads' and 
2315       apply after authentication has succeeded.
2316     * Cosmetic fix for getent output -- lowercase the username only 
2317       and not the complete domain\username string.
2318     * Packaging fixes for Solaris, Redhat, & Fedora.
2320     
2321 o   Sean Chandler <sean.chandler@verizon.net>
2322     * Fix memlieak in cliconnect.c.
2325 o   Darren Chew <darrenc@vicscouts.asn.au>
2326     * Solaris packaging fixes.
2327     
2329 o   Nalin Dahyabhai <nalin@redhat.com>
2330     * SMB signing fix for 56-bit DES session keys.
2333 o   Guenther Deschner <gd@samba.org> 
2334     * add IA64 to the architecture table of printer-drivers.
2335     * Add file/share/printer migration functionality to 
2336       the net command.
2337     * Show correct help for net groupmap commands.
2338     * Fix deadlock loop in winbind's required_membership_sid
2339       verification.
2340     * Bring the same level of "required_membership"-functionality 
2341       that ntlm_auth uses, to pam_winbindd as well.
2342     * Prevent "net lookup kdc" from seg-faulting when
2343       using our own implementation of krb5_lookup_kdc with 
2344       heimdal.
2345     * Adding getprinter level 7 to rpcclient.
2346     * Support migrating printers|shares|files from Server A 
2347       to Server B while running the net-command on client C.
2348     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
2349       failure of this call non-critical (Thanks to Love @ Heimdal
2350       for the explanation and patch).
2351     * Fix typos in net's usage-output.
2352     * Fix the paranoia-check to ensure the ldap-attribute and the
2353       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
2354       are identical.
2355     * Fix several bugs in the _samr_query_useraliases() rpc reply.
2356     * Check correct string length when verifying password-policies 
2357       and using extended characters (Thanks to Uwe Morgenroth from CC 
2358       Compunet and Volker).
2359     * Make 'password history'-behavior in ldapsam more consistent. 
2360     * Adding "Windows x64" as architecture string and driverdir "x64" 
2361       for the 64bit AMD platform.
2362     * BUG 1343: Readd WKGUID-binding to match the correct default-
2363       locations of new User-, Group- and Machine-Accounts in Active 
2364       Directory (this got lost during the last trunk-merge).
2365     * Fix printer-migration w.r.t. to new naming-convention for
2366       policy-handles.
2367     * Allow to migrate win2k3/xp-drivers as well. 
2368     * Add client-side support of triggering ads printer publishing 
2369       over msrpc setprinter calls inside the net-tool. 
2370     * Add the idmap_rid module (written in conjunction with 
2371       Sumit Bose <sbose@suse.de>).
2372     * BUG 1661: Fix build with recent heimdal releases.
2373     * Prevent idmap_rid from making unnecessary calls to domain 
2374       controllers for trusted domains.
2377 o   Arthur van Dongen <avdongen@xs4all.nl>
2378     * Fix typos in pam_winbind log messages and SuSE 
2379       packaging files.
2382 o   Rob Foehl <rwf@loonybin.net>
2383     * Typo fixes for log messages in printer publishing code.
2384     * Fix memory leak in printer publishing code.
2385     * Ensure print_backend_init() only gets called once.
2386     * Have smbd check the published status of all printers 
2387       at startup.
2388     * Cleanup up the XXX_a_printer() API for consistency.
2389     * Refactored the printer publishing code and include better 
2390       error handling.
2393 o   Steve French <sfrench@us.ibm.com>
2394     * Fix IP address override in mount.cifs mount helper and clean 
2395       up warning messages from the sparse tool and expand syntax help.
2396     * Strip guest mount option off before sending to kernel mount 
2397       routine to avoid logging spurious message.
2400 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
2401     * BUG 1732: Limit share names returned by RAP based on windows 
2402       character width, not unix character width.
2403     * BUG 1498: Ensure that acl entries are stored in the correct 
2404       order.
2407 o   Brett Funderburg <brett@deepfile.com>
2408     * Pass create options parameter to nt_create_andx() function
2409       from the python bindings.
2410     * BUG 1864: Add sd->type field to security descriptor Python 
2411       representation.
2412     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2413       when trying to return the security descriptor for a file.
2414     * BUG 1884: Fixes for the Python bindings to use the value
2415       of the desired_access filed passed into the lsa_open_policy()
2416       routines.
2419 o   Michael Gravey <michel.gravey@optogone.com>
2420     * BUG 1776: Fix warnings when building modules caused by 
2421       certain versions of GNU ld not using the the default 
2422       --allow-shlib-undefined flag.
2425 o   Chris Hertel <crh@samba.org>
2426     * Fix logic bug in splay tree data structure when finding 
2427       a leaf node.
2428     * Fix bug where an invalid MAC address would be printed by 
2429       a node status lookup from nmblookup.
2431       
2432 o   Uli Iske <iske@elkb.de>
2433     * Update the DNS/eDirectory LDAP schema file.
2436 o   Björn Jacke <bjacke@sernet.de>
2437     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
2438       UTF-8.  Reformat msgstr in msg-files to UTF-8.
2439     * Do not use display charset for swat output.
2440     * Convert the share names correctly from unix encoding to web 
2441       encoding and vice versa. 
2442     * Convert files from status page from unix charset to UTF-8.
2445 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2446     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2449 o   Tom Lackemann <cessnatomny@yahoo.com>
2450     * BUG 1954: Fix memory leak in posix acl code.
2453 o   Volker Lendecke <vl@samba.org>
2454     * Robustnss fix for winbindd when sending multiple requests 
2455       at a high rate for a slow operation.  
2456     * Solve the problem of user sids ending up with gid's 
2457       and vice versa.
2458     * Use sys_fork instead of fork for the dual daemon so that 
2459       we get the correct debug pid in the logfiles.
2460     * Based on patch from jmcd, implement special lists for the LDAP 
2461       user attributes to delete.
2462     * Fix creation of aliases via usrmgr. Winbind was too strict 
2463       checking the type of sids.
2464     * Lowercase all usernames returned by winbind.
2465     * BUG 1545, 1823: Only issue the ldap extended password change 
2466       operation if the ldap server supports it.  Also ignore object 
2467       class violation errors from the extended operation.
2468     * Optimization for 'idmap backend = ldap': When asking sid2id 
2469       for the wrong type, don't ask ldap when we have the opposite mapping 
2470       in the local tdb.
2471     * Fix ldapsam_compat homeDrive.
2472     * Add usersidlist and allowedusers subcommands to the net tool
2473       in order to support scanning a file server's share and list 
2474       all users who have permission to connect there.
2475     * Allow for multiple DC's to be named as #1c names in lmhosts.
2476     * Memory leak fixes.
2477     * Fix checks for the local pid of an smbd process after 
2478       reopening tdbs.
2481 o   Herb Lewis <herb@samba.org>
2482     * Added tdbtool to be built by default.
2485 o   Love <lha@stacken.kth.se>
2486     * BUG 1955: Inconsistent error return.
2489 o   Sorin Manolache <sorinm@gmail.com>
2490     * Memory leak fix.
2493 o   Jim McDonough <jmcd@us.ibm.com>
2494     * Allow 'net ads lookup' to rely on command line arguments 
2495       if contacting an ADS server fails; utilize cldap for lookups.
2496     * Fixup formatting errors in TDB_LOG calls; add printf attribute
2497       support to tdb log functions.
2500 o   Bill McGonigle <bill+samba@bfccomputing.com>
2501     * BUG 1926: Type in debug message.
2504 o   Sean McGrath
2505     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2506       for libsmbclient.
2509 o   Luke Mewburn <lukem@NetBSD.org>
2510     * BUG 1782: Prevent testparm from displaying parameter synonyms.
2513 o   Stefan Metzmacher <metze@samba.org>    
2514     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2515     * Fix client quota support.
2516     * Fix opening of system quota file.
2519 o   Lars Mueller <lmuelle@samba.org>
2520     * Small fixes for autogen.sh to deal with version detection 
2521       of autoconf and autoheader; fixes for examples using 
2522       libtool to adhere to stricter syntax of newer version.
2525 o   Henrik Nordstrom <hno@squid-cache.org>
2526     * Allow winbindd to return the correct number of groups 
2527       when the groups array must be enlarged.
2530 o   Narayana Pattipati <narayana.pattipati@wipro.com>
2531     * Solaris autoconf detection fixes.
2534 o   Tim Potter <tpot@samba.org>
2535     * BUG 1360: (correct fix) Use -Wl when passing flags to 
2536       the linker.
2537     * HP-UX compile fixes (from JBravo on #samba-technical).
2538     * BUG 1731: More HP-UX compiles fixes.
2539     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
2540       spits the dummy otherwise.
2541     * Fix bug in Python printerdata wrapper.
2542     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
2543       <bugzilla-samba@thewrittenword.com>).
2544     * Fix parameter confusion in priming of name-to-sid cache
2545       (Found by Qiao Yang).
2546     * BUG 1888: Remove '..' from all pre-processor commands.
2547     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
2548       DEBUG_PASSWORD.
2551 o   Matt Selsky <selsky@columbia.edu>
2552     * BUG 350: use autoconf 2.57 feature for checking header file
2553       preprocessing (fixes configure warnings on Solaris).
2556 o   Richard Renard <rrenard@idealx.com>
2557     * Fix usermgr.exe and trust relationships.
2560 o   Paul Szabo <psz@maths.usyd.edu.au>
2561     * Fix to make find_workgroup use the same 
2562       truncation as create_workgroup.
2565 o   Richard Sharpe <rsharpe@samba.org>
2566     * Ensure cli_write() can support writes >= 65536 bytes.
2569 o   Simo Sorce <idra@samba.org>
2570     * Added check password script code in examples/auth/crackcheck/
2571     * Fix memory corruption bug caused in freeing static memory.
2574 o   Andrew Tridgell <tridge@samba.org>
2575     * Remove lp_use_mmap() from map_file() since the latter 
2576       is for read only and does not require coherence.
2577     * Ensure that the uuid pack/unpack routines do not go past 
2578       the end of the structure.
2579     * Converted Samba 3 tree to use the new utf-16 aware iconv 
2580       code. 
2581     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
2582     * Ensure configure only uses '=' instead of the bashism '=='.
2583     * Reduces the number of tdb locking calls made on file IO.
2584     
2586 o   Jelmer Vernooij <jelmer@samba.org>
2587     * Convert internal data to UTF-8 before calling libxml2.
2588     * Complain if 'password chat' doesn't contain the %u variable
2589       (based on a patch by Ronan Waide).
2590     
2592 o   Josef Zlomek
2593     * BUG 1541:  Fix recursive ls in smbclient. 
2595     
2596 o   Igor Zhbanov <bsg@uniyar.ac.ru>
2597     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
2598       option.
2600       --------------------------------------------------
2602                   =============================
2603                   Release Notes for Samba 3.0.7
2604                            Sept 13, 2004
2605                   =============================
2607 Common bugs fixed in 3.0.7 include:
2609   o Fixes for two Denial of Service vulnerabilities
2610     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
2611   o Winbind failure to return user entries under certain
2612     conditions.
2613   o Syntax errors in the OpenLDAP schema file (samba.schema).
2614   o Printing errors caused by not setting default values
2615     for the various printing commands.
2618 Changes since 3.0.6
2619 -------------------
2621 smb.conf changes
2622 ----------------
2624     Parameter Name                      Action
2625     --------------                      ------
2626     winbind enable local accounts       disabled by default
2628     
2629 commits
2630 -------
2631 o   Jeremy Allison <jra@samba.org>
2632     * Fix parsing of names ending in dot and a few other error 
2633       returns.
2634     * BUG 1674: Move the symlinks checks into reduce_name().
2635     * Fix memleak when checking the valid names smb.conf option.
2636     * Fix memleak on error return path in the file open code.
2637     * More paranoia checks in the hash2 mangling code.
2638     * Fix syntax error in configure.in.
2639     * Match Win2k3's behavior for pathname parsing error returns.
2640     * Make nmbd more robust against bad netbios packets 
2641       (CAN-2004-0808).
2642     * Add more checks for invalid ASN.1 packets for SPNEGO packets
2643       (CAN-2004-0807).
2645   
2646 o   Andrew Bartlett <abartlet@samba.org>  
2647     * Janitor work in loadparm.c -- remove unused parameters.
2650 o   Gerald Carter <jerry@samba.org>
2651     * BUG 1464: Ensure that printing commands are initialized even
2652       if the 'printing' parameter is not explicitly set.
2653     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
2654       Adharsh Praveen <rprav@india.hp.com>)
2655     * Work around parsing error in the print change notify code.
2656     * remove duplicate declaration of getprintprocdir from 
2657       rpcclient.
2658     * Only use sAMAccountName and not userPrincipalName when looking
2659       up a username in AD since the breaks winbindd (lookup_name() 
2660       only works with the sAMAccountName).
2661     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
2662       filling in the username in the user_info3.
2663     * Fix logic bug in the check for creating a user's home directory 
2664       in register_vuid(); caused home directory to be mismatched to 
2665       the first share in smb.conf under certain conditions.
2666     * BUG 1656: rename auto.a to auto.smb.
2667     * Ensure that we assign our pid to print jobs (and not our 
2668       parent's pid); ensures that spooling jobs from dead smbds 
2669       are removed from the tdb.
2670     * Disable 'winbind enable local accounts' by default.
2671     * Adding some initial checks for DragonFly (same as 
2672       FreeBSD 4.1).
2673     
2675 o   Guenther Deschner <gd@samba.org> 
2676     * Use SMB_ASSERT() to track down NULL printer names in 
2677       the tdb open code.
2678     * Revert fix for BUG 1474 to avoid unnecessary packaging 
2679       dependencies.
2682 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
2683     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
2684       and 5.1.
2685     * BUG 1626: More compile fixes.
2688 o   Rob Foehl <rwf@loonybin.net>
2689     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
2690       by attempts to sanitize the defined attributes.
2693 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
2694     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
2697 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
2698     * BUG 1657: Remove used initialized variable, 
2699     * BUG 1658: Add a little bit of const.
2702 o   Volker Lendecke <vl@samba.org>
2703     * If there's garbage in the pidfile, we should not panic 
2704       but assume that no one else is around. We can't find the 
2705       other guy anyway.
2708 o   Jim McDonough <jmcd@us.ibm.com>
2709     * Fixup format string in the tdb error messages.
2712 o   Jonas Olsson <lexicon@lysator.liu.se>
2713     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
2714       reporting the list in usrmgr.exe.
2717 o   Tim Potter <tpot@samba.org>
2718     * Fix out-of-tree builds (problem with the script to generate 
2719       the svn version number).
2720     * BUG 1360:  Need to use -Wl when passing flags to the linker.
2721     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
2722       doesn't have one of its own.
2724 o   Simo Sorce <idra@samba.org>
2725     * Fixup compile issues on AIX caused by broken strlen() and 
2726       strdup().
2727     * Update debian packaging files.
2730 o   Dimitri van der Spek <dwspek@aboveit.nl>
2731     * Use the correct counter when copying group rids from the 
2732       user_info3 struct in pam_winbind.
2733       
2735 o   Qiao Yang <qyang@stbernard.com>
2736     * BUG 1622: Only cache the user
2739       --------------------------------------------------
2740       
2741                   =============================
2742                   Release Notes for Samba 3.0.6
2743                            Aug 19, 2004
2744                   =============================
2746 Common bugs fixed in 3.0.6 include:
2748   o Schannel failure in winbindd.
2749   o Numerous memory leaks.
2750   o Incompatibilities between the 'write list' and 'force user'
2751     smb.conf options.
2752   o Premature optimization of the open_directory() internal 
2753     function that broke tools such as the ArcServe backup 
2754     agent, Macromedia HomeSite, and Robocopy.
2755   o Corrupt workgroup names in nmbd's browse.dat.
2756   o Sharing violation errors commonly seen when opening
2757     when serving Microsoft Office documents from a Samba 
2758     file share.
2759   o Browsing problems caused by an apostrophe (') in the 
2760     computer's description field.
2761   o Problems creating special file types from UNIX CIFS 
2762     clients and enabling 'unix extensions'.
2763   o Fix stalls in smbd caused by inaccessible LDAP servers.
2764   o Remove various memory leaks.
2765   o Fix issues in the password lockout feature.
2767 New features introduced in this release include:
2769   O Support symlinks created by CIFS clients which 
2770     can be followed on the server.
2771   o Using a cups server other than localhost.
2772   o Maintaining the service principal entry in the system 
2773     keytab for integration with other kerberized services.
2774     Please refer to the 'use kerberos keytab' entry in 
2775     smb.conf(5).  When using the heimdal kerberos libraries,
2776     you must also specify the following in /etc/krb5.conf:
2777     [libdefaults]
2778        default_keytab_name = FILE:/etc/krb5.keytab
2779   o Support for maintaining individual printer names
2780     stored separately from the printer's sharename.
2781   o Support for maintaining user password history.
2782   o Support for honoring the logon times for user in a 
2783     Samba domain.
2786 ============================================
2787 unix extensions = yes (default) and symlinks
2788 ============================================
2790 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
2791 clients supporting the UNIX extensions to the CIFS protocol 
2792 can create symlinks to absolute paths which will be **followed** 
2793 by the server.  This functionality has been requested in order 
2794 to correctly support certain applications when the user's home 
2795 directory is mounted using some type of CIFS client (e.g. the 
2796 cifsvfs in the Linux 2.6 kernel).
2798 If this behavior is not acceptable for your production environment
2799 you can set 'wide links = no' in the specific share declaration in 
2800 the server's smb.conf.  Be aware that disabling wide link support 
2801 out of a share in Samba may impact the server's performance due 
2802 to the fact that smbd will now have to check each path additional 
2803 times before traversing it.
2804   
2806 ========================
2807 Password History Support 
2808 ========================
2810 The new password history feature allows smbd to check the new 
2811 password in password change requests against a list of the user's
2812 previous passwords.  The number of previous passwords to save can 
2813 be set using pdbedit (4 in this example):
2815    root# pdbedit -P "password history" -C 4
2817 When using the ldapsam passdb backend, it is vital to secure the 
2818 following attributes from access by non-administrative users:
2820    * sambaNTPassword
2821    * sambaLMPassword
2822    * sambaPasswordHistory
2824 You should refer to your directory server's documentation on how 
2825 to implement this restriction.
2828 Changes since 3.0.5
2829 -------------------
2831 smb.conf changes
2832 ----------------
2834     Parameter Name              Action
2835     --------------              ------
2836     cups server                 New
2837     defer sharing violations    New
2838     force unknown acl user      New
2839     ldap timeout                New
2840     printcap cache time         New
2841     use kerberos keytab         New
2842     
2843 commits
2844 -------
2845 o   Jeremy Allison <jra@samba.org> 
2846     * Correct path parsing bug that broke DeletePrinterDriverEx().
2847     * Fix bugs in check_path_syntax() caught by asserts.
2848     * Internal change - rearrange internal global case setting 
2849       variables to a per connection basis.
2850     * BUG 1345: Fix premature optimization in unix_convert(). 
2851     * Allow clients to truncate a locked file.
2852     * BUG 1319: Always check to see if a user as write access
2853       to a share, even when 'force user' is set.
2854     * Fix specific case of open that doesn't cause oplock break, 
2855       or share mode check.
2856     * Correct sid type is WKN_GROUP, not alias. Added some 
2857       more known types (inspired by patch from Jianliang Lu).
2858     * Allow creation of absolute symlink paths via CIFS clients.
2859     * Fix charset bug in when invoking send_mailslot().
2860     * When using widelinks = no, use realpath to canonicalize 
2861       the connection path on connection create for the user. 
2862     * Enhance stat open code.
2863     * Fix unix extensions mknod code path.
2864     * Allow unix domain socket creation via unix extensions.
2865     * Auto disable the 'store dos attribute' parameter if the 
2866       underlying filesystem doesn't support EAs.
2867     * Implement deferred open code to fix a bug with Excel files 
2868       on Samba shares.
2869     * BUG 1427: Catch bad path errors at the right point.  Ensure 
2870       all our pathname parsing is consistent.
2871     * Fix SMB signing error introduced by the new deferred open 
2872       code.
2873     * Change default setting for case sensitivity to "auto". (see 
2874       commit message -- r1154 -- for details).
2875     * Add new remote client arch -- CIFSFS.
2876     * Allow smbd to maintain the service principal entry in the 
2877       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
2878       Guenther Deschner, et. al.).
2879     * Fix longstanding memleak bug with logfile name.
2880     * Fix incorrect type in printer publishing (struct uuid, 
2881       not UUID_FLAT).
2882     * Heimdal compile fixes after introduction of the new ketyab 
2883       feature.
2884     * Ensure we check attributes correctly on rename request.
2885     * Ensure we defer a sharing violation on rename correctly.
2886     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
2887       on timeout.
2888     * Fix bogus error message when using "mangling method = hash" 
2889       rather than hash2.
2890     * Turn on sendfile by default for non-Win9x clients.
2891     * Handle non-io opens that cause oplock breaks correctly.
2892     * Ensure ldap replication sleep time is not more than 5 seconds.
2893     * Add support for storing a user's password history.
2894       LDAP portion of the code was based on a patch from 
2895       Jianliang Lu <j.lu@tiesse.com>.
2896     * Correct memory leaks found in the password change code.
2897     * Fix support for the mknod command with the Linux CIFS client.
2898     * Remove support for passing the new password to smbpasswd 
2899       on the command line without using the -s option.
2900     * Ensure home directory service number is correctly reused
2901       (inspired by patches from Michael Collin Nielsen 
2902       <michael@hum.aau.dk>).
2903     * Fix to stop printing accounts from resetting the bas 
2904       password and account lockout flags.
2905     * If a account was locked out by an admin (and has a bad 
2906       password count of zero) leave it locked out until an admin 
2907       unlocks it (but log a message).
2908     * Ensure we return the same ACL revision on the wire that 
2909       W2K3 does.
2910     * BUG 1578: Hardcode replacement for invalid characters as '_'
2911       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
2912     * Fix hashed password history for LDAP backends.
2913     * Enforce logon hours restrictions if confiogured (based on code 
2914       from Richard Renard <rrenard@idealx.com>).
2915     * BUG 1606: Force smbd to disable sendfile with DOS clients 
2916       and ensure that the chained header is filled in for ...&X 
2917       commands.
2918     * BUG 1602: Fix access to shares when all symlink support 
2919       has been disabled.
2923 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
2924     * Allow pdbedit to export a single user from a passdb backend.
2925     
2927 o   Andrew Bartlett <abartlet@samba.org>  
2928     * Fix parsing bug in GetDomPwInfo().
2929     * Fix segfault in 'ntlm_auth --diagnostics'.
2930     * Re-enable code to allow sid_to_gid() to perform a group 
2931       mapping lookup before checking with winbindd.
2932     * Fix memory leak in the trans2 signing code.
2933     * Allow more flexible GSS-SPENGO client and server operation 
2934       in ntlm_auth.
2935     * Improve smbd's internal random number generation.
2936     * Fix a few outstanding long password changes in smbd.
2937     * Fix LANMAN2 session setup code.
2940 o   Eric Boehm <boehm@nortelnetworks.com>
2941     BUG 703: Final touches on netgroup case lookups.
2942     
2943     
2944 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
2945     * Ensure error status codes don't get overwritten in 
2946       lsa_lookup_sids() server code.
2947     * Correct bug that caused smbd to overwrite certain error 
2948       codes when returning up the call stack.
2949     * Ensure the correct sid type returned for builtin sids.
2952 o   Gerald Carter <jerry@samba.org>
2953     * Fix a few bugs in the Fedora Packaging files.
2954     * Fix for setting the called name to by our IP if the 
2955       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
2956       with connecting to printers via \\ip.ad.dr.ess\printer 
2957       UNC path.
2958     * BUG 1315: fix for schannel client connections to servers
2959       when we haven't specifically negotiated AUTH_PIPE_SEAL.
2960     * Allow PrinterDriverData valuenames with embedded backslashes
2961       (Fixes bug with one of the Konica Fiery drivers).
2962     * Fixed string length miscalculation in netbios names that 
2963       resulted in corrupt workgroup names in browse.dat.
2964     * When running smbd as a daemon, launch child smbd to update 
2965       the lpq cache listing in the background.
2966     * Allow printers "Printers..." folder to be renamed to a string 
2967       other than the share name.
2968     * Allow winbindd to use domain trust account passwords when 
2969       running on a Samba DC to establish an schannel to remote 
2970       domains.
2971     * Fix bad merge and ensure that we always use tdb_open_log() 
2972       instead of tdb_open_ex() (the former call enforce the 'use 
2973       mmap' parameter).
2974     * BUG 1221: revert old change that used single and double 
2975       quotes as delimeters in next_token(), and change 
2976       print_parameter() to print out parm values surrounded by 
2977       double quotes (instead of single quotes).
2978     * Prevent home directories added during the SMBsesssetup&X from 
2979       being removed as unused services.
2980     * Invalidate the print object cache for open printer handles when
2981       smbd receives a message that an attribute on a given printer 
2982       has been changed.
2983     * Cause the configure script to exit if --enable-cups[=yes] is 
2984       defined and the system does not have the cups devel files 
2985       installed.
2986     * BUG 1297: Prevent map_username() from being called twice 
2987       during logon.
2988     * Ensure that we use the userPrincipalName AD attribute 
2989       value for LDAP SASL binds.
2990     * Ensure we remove the tdb entry when deleting a job that 
2991       is being spooled.
2992     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
2993       client sends a FindNextPrintChangeNotify() request without 
2994       previously sending a FindFirstPrintChangeNotify().  Return 
2995       the same error code as Windows 2000 SP4.
2996     * BUG 1516: Manually declare ldap_open_with_timeout() to 
2997       workaround compiler errors on IRIX (or other systems without 
2998       LDAP headers).
2999     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
3000       3.0.5.
3001     * Corrected syntax error in the OID for sambaUnixIdPool, 
3002       sambaSidEntry, & sambaIdmapEntry object classes.
3003     * Tighten the cache consistency with the ntprinters.tdb entry 
3004       an the in memory cache associated with open printer handles.
3005     * Make sure that register_messages_flags() doesn't overwrite 
3006       the originally registered flags.
3009 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
3010     * Debian BUG 252591: Ensure that the return value from the 
3011       number of available interfaces is initialized in case no 
3012       interfaces are actually available.
3015 o   Guenther Deschner <gd@sernet.de> 
3016     * Implement 'rpcclient setprintername'.
3017     * Add local groups to the user's NT_TOKEN since they are 
3018       actually supported now.
3019     * Heimdal compile fixes after introduction of the new keytab 
3020       feature.
3021     * Correctly honor the info level parameter in 'rpcclient 
3022       enumprinters'.
3023     * Reintroduce 'force unknown acl user' parameter.  When getting a 
3024       security descriptor for a file, if the owner sid is not known, 
3025       the owner uid is set to the current uid. Same for group sid.
3026     * Ensure that REG_SZ values in the SetPrinterData actually 
3027       get written in UNICODE strings rather than ASCII.
3028     * Ensure that the last kerberos error return is not invalid.
3029     * Display share ACL entries from rpcclient.
3030     * Correct infinite loop in pam_winbind's verification of 
3031       group membership in the 'other sids' field in the user_info3 
3032       struct.
3035 o   Fabian Franz <FabianFranz@gmx.de>
3036     * Support specifying a port in the device URL passed to smbspool.
3037     
3038     
3039 o   Steve French <sfrench@us.ibm.com>
3040     * Handle -S and user mount parms in mount.cifs.
3041     * Fix user unmount of shares mount with suid mount.cifs.
3042     * prevent infinite recusion in reopen_logs() when expanding 
3043       the smb.conf variable %I.
3046 o   Bjoern Jacke <bj@sernet.de>
3047     * Install libsmbclient into $(LIBDIR), not into hard coded 
3048       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
3049       and an explicit configure --libdir setting.
3052 o   <kawasa_r@itg.hitachi.co.jp>
3053     * Correct more memory leaks and initialization bugs.
3054     * Fix bug that prevented core dumps from being generated 
3055       even if you tried.
3056     * Connect to the winbind pipe in non-blocking mode to 
3057       prevent processes from hanging.
3058     * Memory leak fixes.
3061 o   Stephan Kulow <coolo@suse.de>
3062     * Fix crash bug in libsmbclient.
3065 o   Volker Lendecke <vl@samba.org>
3066     * Added vfs_full_audit module.
3067     * Add vfs_afsacl.c which can display & set AFS acls via 
3068       the NT security editor.
3069     * Fix crash bug caused by trying to Base64 encode a NULL string.
3070     * Fix DOS error code bug in reply_chkpath().
3071     * Correct misunderstanding of the max_size field in 
3072       cli_samr_enum_als_groups;  it is more like an account_control 
3073       field with individual bits what to retrieve.
3074     * Implement 'net rpc group rename' -- rename domain groups.
3075     * Implement the 'cups server' option. This makes it possible 
3076       to have virtual smbd's connect to different cups daemons.
3077     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3078     * Fix sid_to_gid() calls in winbindd to prevent loops.
3079     * Ensure that local_sid_to_gid() sets the type of the group on 
3080       return.
3081     * Make sure that the clients are given back the IP address to 
3082       which they connected in the case of a multi-homed host. Only 
3083       affects strings the spoolss printing replies.
3084     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
3085       did not ask for the modifyTimestamp attribute, so it could 
3086       not find it.   Try not to regress by not putting that attrib 
3087       in the main list but append it manually for the relevant searches.
3088     * Fix two memleaks in login_cache.c.
3089     * fixes memory bloat when unmarshalling strings.
3090     * Fix compile errors using gcc 3.2 on SuSE 8.2.
3091     * Fix the build for systems without kerberos headers.
3092     * Allow winbindd to handle authentication requests only when 
3093       started without either an 'idmap uid' or 'idmap gid' range.
3094     * Fix the build for systems without ldap headers.
3095     * Fix interaction between share security descriptor and the 
3096       'read only' smb.conf option.
3097     * Fix bug that caused _samr_lookupsids() with more than 32 (
3098       MAX_REF_DOMAINS) SIDs to fail.
3099     * Allow the 'idmap backend' parameter to accept a list of 
3100       LDAP servers for failover purposes.
3101     * Revert code in smbd to remove a tdb when it has become 
3102       corrupted.
3103     * Add paranoid checks when mapping SIDs to a uid/gid to 
3104       ensure that the type is correct.
3105     * Initial work on getting client support for sending mailslot 
3106       datagrams.
3107     * Add 'ldap timeout' parameter.
3108     * Dont always uppercase 'afs username map'.
3109     * Expand aliases for getusersids as well.
3110     * Improved NT->AFS ACL mapping VFS module.
3113 o   Herb Lewis <herb@samba.org>
3114     * Add the acls debug class.
3115     * Fix logic bug in netbios name truncate routine.
3116     * Fix smbd crash caused by smbtorture IOCTL test.
3117     * Fix errno tromping before calling iconv to reset the 
3118       conversion state.
3119     * need to leave empty dacl so we can remove last ACE.
3122 o   Jianliang Lu <Jianliang.Lu@getronics.com>
3123     * Fix to stop smbd hanging on missing group member in 
3124       get_memberuids().
3125     * Make sure Samba returns the correct group types.
3126      * Reset the bad password count password counts upon a successful login.
3127      
3128      
3129 o   Jason Mader <jason@ncac.gwu.edu>
3130     * BUG 1385: Don't use non-consts in a structure initialization.
3131     
3133 o   Jim McDonough <jmcd@us.ibm.com>
3134     * BUG 1279: SMBjobid fix for Samba print servers running on 
3135       Big-Endian platforms.
3138 o   Joe Meadows <jameadows@webopolis.com>
3139     * Add optional timeout parameter to ldap open calls.
3140     * Allow get_dc_list() to check the negative cache.
3143 o   Stefan Metzmacher <metze@samba.org>    
3144     * fix a configure logic bug for linux/XFS quotas when 
3145       using --with-sys-quotas.
3146     * Use quota debug class in quota code.
3147     * print out the SVN revision by configure,
3148     
3150 o   Buchan Milne <bgmilne@mandrake.org>
3151     * Mandrake packaging fixes.
3152     
3153     
3154 o   Lars Mueller <lmuelle@samba.org>
3155     * BUG 1279: Added 'printcap cache time' parameter.
3156     * Fix afs related build issues on SuSE.
3157     * Fix compiler warnings in the kerberos client code.
3160 o   James Peach <jpeach@sgi.com>
3161     * More iconv detection fixes for IRIX.
3162     * Compile fixed for systems that do not have C99/UNIX98 compliant 
3163       vsnprintf by default.
3164     * Prevent smbd from attempting to use sendfile at all if it is 
3165       not supported by the server's OS.
3166     * Allow SWAT to search for index.html when serving html files 
3167       in a directory.
3170 o   Dan Peterson
3171     * Implement NFS quota support on FreeBSD.
3174 o   Tim Potter <tpot@samba.org>
3175     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
3176       avoid conflicts with identical symbols in the global namespace 
3177       when loading libnss_wins.so.
3180 o   Richard Renard <rrenard@idealx.com>
3181     * Save the current password as it is being changed into the 
3182       password history list.
3185 o   Richard Sharpe <rsharpe@samba.org>
3186     * Fix error return codes on some lock messages.
3187     * BUG 1178: Make the libsmbclient routines callable 
3188       by C++ programs.
3189     * BUG 1333: Make sure we return an error code when 
3190       things go wrong.
3191     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
3192       share mode locking requests fail.
3195 o   Simo Sorce <idra@samba.org>
3196     * Update Debian stable & unstable packaging.
3197     * Tidy up parametric options in testparm output.
3200 o   Richard Sharpe <rsharpe@samba.org>
3201     * Add sigchild handling to winbindd to restart the child 
3202       daemon if necessary.
3205 o   Tom Shaw <tomisfaraway@gmail.com>
3206     * Use winbindd_fill_pwent() consistently.
3209 o   Nick Thompson <nickthompson@agere.com>
3210     * Protect smbd against broken filesystems which return zero 
3211       blocksize.
3214 o   Andrew Tridgell <tridge@samba.org>
3215     * Fixed bug in handling of timeout in socket connections.
3216      
3218 o   Nick Wellnhofer <wellnhofer@aevum.de>    
3219     * Prevent lp_interfaces() list from being corrupted.  Fixes
3220       bug where nmbd would lose the list of network interfaces 
3221       on the system and consequently shutdown.
3223       
3224 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3225     * Fix ntlm_auth memory leaks.
3228 o   Jelmer Vernooij <jelmer@samba.org>
3229     * Additional NT status to unix error mappings.
3230     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
3231       get duplicate symbol errors.
3232     * Return an error when the last command read from stdin 
3233       fails in smbclient.
3234     * Prepare for better error checking in tar.
3235     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3236       
3238       --------------------------------------------------
3239       
3240                  =============================
3241                  Release Notes for Samba 3.0.5
3242                          July 20, 2004
3243                  =============================
3245 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
3246 the exception of correcting the two security issues outlined 
3247 below.
3249 ######################## SECURITY RELEASE ########################
3251 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
3252 CVE ID:        CAN-2004-0600, CAN-2004-0686
3253                (http://cve.mitre.org/)
3256 This is the latest stable release of Samba. This is the version
3257 that production Samba servers should be running for all current
3258 bug-fixes.
3260 It has been confirmed that versions of Samba 3 prior to v3.0.4
3261 are vulnerable to two potential buffer overruns.  The individual
3262 details are given below.
3264 =============
3265 CAN-2004-0600
3266 =============
3268 Affected Versions:      Samba 3.0.2 and later
3270 The internal routine used by the Samba Web Administration
3271 Tool (SWAT v3.0.2 and later) to decode the base64 data
3272 during HTTP basic authentication is subject to a buffer
3273 overrun caused by an invalid base64 character.  It is
3274 recommended that all Samba v3.0.2 or later installations
3275 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3276 the swat administration service as a temporary workaround.
3278 This same code is used internally to decode the
3279 sambaMungedDial attribute value when using the ldapsam
3280 passdb backend. While we do not believe that the base64
3281 decoding routines used by the ldapsam passdb backend can
3282 be exploited, sites using an LDAP directory service with
3283 Samba are strongly encouraged to verify that the DIT only
3284 allows write access to sambaSamAccount attributes by a
3285 sufficiently authorized user.
3287 The Samba Team would like to heartily thank Evgeny Demidov
3288 for analyzing and reporting this bug.
3290 -------------
3291 CAN-2004-0686
3292 -------------
3294 Affected Versions:      Samba 3.0.0 and later
3296 A buffer overrun has been located in the code used to support
3297 the 'mangling method = hash' smb.conf option.  Please be aware
3298 that the default setting for this parameter is 'mangling method
3299 = hash2' and therefore not vulnerable.
3301 Affected Samba 3 installations can avoid this possible security
3302 bug by using the default hash2 mangling method.  Server
3303 installations requiring the hash mangling method are encouraged
3304 to upgrade to Samba 3.0.5.
3307 ##################################################################
3309     --------------------------------------------------
3310                  
3311                  =============================
3312                  Release Notes for Samba 3.0.4
3313                           May 8, 2004
3314                  =============================
3316 Common bugs fixed in Samba 3.0.4 include:
3318   o Password changing after applying the patch described in 
3319     the Microsoft KB828741 article to Windows clients.
3320   o Crashes in smbd.
3321   o Managing print jobs via Windows on Big-Endian servers.
3322   o Several memory leaks in winbindd and smbd.
3323   o Compile issues on AIX and *BSD.
3325 Changes since 3.0.3
3326 --------------------
3328 commits
3329 -------
3331 o   Jeremy Allison <jra@samba.org>
3332     * Fix path processing for DeletePrinterDriverEx().
3333     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
3334       breakage.
3337 o   Andrew Bartlett <abartlet@samba.org>
3338     * Fix alignment bug in GetDomPwInfo().
3341 o   Alexander Bokovoy <ab@samba.org>
3342     * Fix utime[s]() issues in smbwrapper on systems 
3343       that can boot both the 2.4 and 2.6 Linux kernels.
3346 o   Gerald Carter <jerry@samba.org>
3347     * Fedora packaging fixes.
3348     * BUG 1302: Fix seg fault by not trying to optimize a list of 
3349       invalid gids using the wrong array size.
3350     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3351       seen when 'security = share'.
3352     * Fix problems when using IBM's compiler on AIX.
3353     * Link Developer's Guide, Example Guide, and multi-page HOWTO
3354       into SWAT's welcome page.
3355     * BUG 1293: fix double free in printer publishing code.
3357     
3358 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3359     * Fix for handling timeouts in socket connections.
3362 o   Michel Gravey <michel.gravey@optogone.com>
3363     * BUG 483: patch from  to fix password hash creation in SWAT.
3364     
3366 o   Volker Lendecke <vl@samba.org>
3367     * Close the open NT pipes before the tdis.
3368     * Fix AFS related build issues.
3369     * Handle error conditions when base64 encoding a blob of 0 bytes.
3371     
3372 o   Herb Lewis <herb@samba.org>
3373     * Added 'acls' debug class.
3375 o   kawasa_r@itg.hitachi.co.jp
3376     * Multiple variable initialization and memory leak fixes.
3377     
3378     
3379 o   Stephan Kulow <coolo@suse.de>
3380     * Fix string length bug in libsmbclient that caused KDE's 
3381       Konqueror to crash.
3382     * BUG 429: More libsmbclient fixes.
3385 o   Jim McDonough <jmcd@us.ibm.com>
3386     * BUG 1007, 1279: Store the print job using a little-endian key.
3389 o   Eric Mertens
3390     o Compile fix for OpenBSD (ENOTSUP not supported).
3392     
3393 o   Stefan Metzmacher <metze@samba.org>
3394     * Correct bug in disks quota views from explorer.
3396     
3397 o   Tim Potter <tpot@samba.org>
3398     BUG 1305: Correct debug output.
3401 o   Richard Sharpe <rsharpe@samba.org>
3402     * Fix incorrect error code mapping.
3405 o   Jelmer Vernooij <jelmer@samba.org>
3406     * Add additional NT_STATUS errorm mappings.
3407     
3409     --------------------------------------------------
3411                  =============================
3412                  Release Notes for Samba 3.0.3
3413                         April 29, 2004
3414                  =============================
3417 Common bugs fixed in Samba 3.0.3 include:
3419   o Crash bugs and change notify issues in Samba's printing code.
3420   o Honoring secondary group membership on domain member servers.
3421   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3422   o Substitution errors for %[UuGg] in smb.conf.
3423   o winbindd crashes when using ADS security mode.
3424   o SMB signing errors.
3425   o Delays in winbindd startup caused by unnecessary 
3426     connections to trusted domain controllers.
3427   o Various small memory leaks.
3428   o Winbindd failing due to expired Kerberos tickets.
3430 New features introduced in Samba 3.0.3 include:
3432   o Improved support for i18n character sets.
3433   o Support for account lockout policy based on
3434     bad password attempts.
3435   o Improved support for long password changes (>14
3436     characters) and strong password enforcement.
3437   o Support for Windows aliases (i.e. nested groups).
3438   o Experimental support for storing DOS attribute on files
3439     and folders in Extended Attributes.
3440   o Support for local nested groups via winbindd.
3441   o Specifying options to be passed directly to the CUPS libraries.
3443 Please be aware that the Samba source code repository was 
3444 migrated from CVS to Subversion on April 4, 2004.  Details on 
3445 accessing the Samba source tree via anonymous svn can be found 
3446 at http://svn.samba.org/samba/subversion.html.
3449 Changes since 3.0.2a
3450 --------------------
3451 smb.conf changes
3452 ----------------
3454     Parameter Name              Action
3455     --------------              ------
3456     cups options                New
3457     ea support                  New
3458     only user                   Deprecated
3459     store dos attributes        New
3460     unicode                     Removed
3461     winbind nested groups       New
3463     
3464 commits
3465 -------
3467 o   Jeremy Allison <jra@samba.org>
3468     * Ensure that Kerberos mutex is always properly unlocked.
3469     * Removed Heimdal "in-memory keytab" support.
3470     * Fixup the 'multiple-vuids' bugs in our server code.
3471     * Correct return code from lsa_lookup_sids() on unmapped
3472       sids (based on work by vl@samba.org).
3473     * Fix the "too many fcntl locks" scalability problem 
3474       raised by tridge.
3475     * Fixup correct (as per W2K3) returns for lookupsids 
3476       as well as lookupnames.
3477     * Fixups for delete-on-close semantics as per Win2k3 behavior.
3478     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3479     * Fix "unable to initialize" bug when smbd hasn't been run with 
3480       new system and a user is being added via pdbedit/smbpasswd.
3481     * Added NTrename SMB (0xA5).
3482     * Fixup correct timeout values for blocking lock timeouts.
3483     * Fix various bugs reported by 'gentest'.
3484     * More locking fixes in the case where we own the lock.
3485     * Fix up regression in IS_NAME_VALID and renames.
3486     * Don't set allocation size on directories.
3487     * Return correct error code on fail if file exists and target 
3488       is a directory.
3489     * Added client "hardlink" comment to test doing NT rename with 
3490       hard links.  Added hardlink_internals() code - UNIX extensions 
3491       now use this as well.
3492     * Use a common function to parse all pathnames from the wire for 
3493       much closer emulation of Win2k3 error return codes.
3494     * Implement check_path_syntax() and rewrite string sub 
3495       functions for better multibyte support.
3496     * Ensure msdfs referrals are multibyte safe.
3497     * Allow msdfs symlink syntax to be more forgiving.
3498       eg. sym_link -> msdfs://server/share/path/in/share 
3499       or  sym_link -> msdfs:\\server\share\path\in\share.
3500     * Cleanup multibyte netbios name support in nmbd ( based on patch
3501       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3502     * Fix check_path_syntax() for multibyte encodings which have 
3503       no '\' as second byte (based on work by ab@samba.org.
3504     * Fix the "dfs self-referrals as anonymous user" problem
3505       (based on patch from vl@samba.org).
3506     * BUG 1064: Ensure truncate attribute checking is done correctly 
3507       on "hidden" dot files.
3508     * Fix bug in anonymous dfs self-referrals again.
3509     * Fix get/set of EA's in client library
3510     * Added support for OS/2 EA's in smbd server.
3511     * Added 'ea support' parameter to smb.conf.
3512     * Added 'store dos attributes' parameter to smb.conf.
3513     * Fix wildcard identical rename.
3514     * Fix reply_ctemp - make compatible with w2k3.
3515     * Fix wildcard unlink.
3516     * Fix wildcard src with wildcard dest renames.      
3517     * BUG 1139: Fix based on suggestion by jdev@panix.com.
3518       swap lookups for user and group - group will do an
3519       algorithmic lookup if it fails, user won't.
3520     * Make EA's lookups case independent.
3521     * Fix SETPATHINFO in 'unix extensions' support.
3522     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
3523       the UNIX info levels, and the short case preserve names.
3526 o   Timur Bakeyev <timur@com.bat.ru>
3527     * BUG 1144: only set --with-fhs when the argument is 'yes'
3528     * BUG 1152: Allow python modules to build despite libraries added 
3529       to LDFLAGS instead of LDPATH.
3530     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3533 o   Craig Barratt <cbarratt@users.sourceforge.net>
3534     * BUG 389: Allow multiple exclude arguments with smbclient 
3535       tar -Xr options (better support for Amanda backup client).
3538 o   Andrew Bartlett <abartlet@samba.org>
3539     * Include support for linking with cracklib for enforcing strong 
3540       password changes.
3541     * Add support for >14 character password changes from Windows 
3542       clients.
3543     * Add 'admin set password' capability to 'net rpc'.
3544     * Allow 'net rpc samdump' to work with any joined domain 
3545       regardless of smb.conf settings.
3546     * Use an allocated buffer for count_chars.
3547     * Add sanity checks for changes in the domain SID in an 
3548       LDAP DIT.
3549     * Implement python unit tests for Samba's multibyte string 
3550       support.
3551     * Remove 'unicode' smb.conf option.
3552     * BUG 1138: Fix support for 'optional' SMB signing and other 
3553       signing bugs.
3554     * BUG 169: Fix NTLMv2-only behavior.
3555     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
3556       default.
3557     * Support SMB signing on connections using only the LANMAN 
3558       password and generate the correct the 'session key' for these 
3559       connections.
3560     * Implement --required-membership-of=, an ntlm_auth option 
3561       that restricts all authentication to members of this particular 
3562       group.
3563     * Improve our fall back code for password changes.
3564     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
3565       after the server had said something (such as an error).
3566     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
3568       
3569 o   Alexander Bokovoy <ab@samba.org>
3570     * Fix incorrect size calculation of the directory name 
3571       in recycle.so.
3572     * Fix problems with very long filenames in both smbd and smbclient
3573       caused by truncating paths during character conversions.
3574     * Fix smbfs problem with Tree Disconnect issued before smbfs 
3575       starts its work.
3578 o   Gerald Carter <jerry@samba.org>
3579     * BUG 850: Fix 'make installmodules' bug on True64.
3580     * BUG 66: mark 'only user' deprecated.
3581     * Remove corrupt tdb and shutdown (only for printing tdbs, 
3582       connections, sessionid & locking).
3583     * decrement smbd counter in connections.tdb in smb_panic().
3584     * RedHat specfile updates.
3585     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
3586     * BUG 1147; bad pointer case in get_stored_queue_info() 
3587       causing seg fault.
3588     * BUG 761: read the config file before initialized default 
3589       values for printing options; don't default to bsd printing 
3590       Linux.
3591     * Allow the 'printing' parameter to be set on a per share basis.
3592     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
3593     * BUG 848: don't create winbind local users/groups that already 
3594       exist in the tdb.
3595     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
3596       LynxOS/ppc).
3597     * BUG 488: fix the 'show client in col 1' button and correctly 
3598       enumerate active connections.
3599     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
3600       problem when storing the updating pid for the lpq cache.
3601     * BUG 1007 (partial): Fix print change notify bugs.
3602     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
3603       and winbind use default domain = yes.  Also ensures that 
3604     * BUG 1151: Ensure that winbindd users are passed through 
3605       the username map.
3606     * Fix client rpc binds for ASU derived servers (pc netlink, 
3607       etc...).
3608     * BUG 417, 1128: Ensure that the current_user_info is set
3609       consistently so that %[UuGg] is expanded correctly.
3610     * BUG 1195: Fix crash in winbindd when the ADS server is 
3611       unavailable.
3612     * BUG 1185: Set reconnect time to be the same as the 
3613       'winbind cache time'.
3614     * Ensure that we return the sec_desc in smb_io_printer_info_2.
3615     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
3616     * BUG 1095: Honor the '-l' option in smbclient.
3617     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
3618       block.
3619     * Ensure server schannel uses the auth level requested by the 
3620       client.
3621     * Removed --with-cracklib option due to potential crash issue.
3622     * Fix -lcrypto linking problem with wbinfo.
3623     * BUG 761: allow printing parameter to set defaults on a per 
3624       share basis.
3625     * Add 'cups options' parameter to allow raw printing without 
3626       changing /etc/cups/cupsd.conf.
3627     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
3628       winbindd.
3629     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
3630     * BUG 1288: resolve any machine netbios name (0x00) and not just 
3631       servers (0x20).
3632     * BUG 1199: Fix potential symlink issue in 
3633       examples/printing/smbprint.
3636 o   Robert Dahlem <Robert.Dahlem@gmx.net>
3637     * BUG 1048:  Don't return short names when when 'mangled names = no'
3640 o   Guenther Deschner <gd@suse.com>
3641     * Remove hard coded attribute name in the ads ranged retrieval
3642       code.
3643     * Add --with-libdir and --with-mandir to autoconf script.
3646 o   Bostjan Golob <golob@gimb.org>
3647     * BUG 1046: Fix  getpwent_list() so that the username is not 
3648       overwritten by other fields.
3651 o   Landon Fuller <landonf@opendarwin.org>
3652     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
3653       to fix user/group enumeration on systems whose libc does not 
3654       call setgrent() before trying to enumerate users (i.e. 
3655       FreeBSD 5.2).
3658 o   Steve French <sfrench@us.ibm.com>
3659     * Update mount.cifs to version 1.1.
3660     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
3661     * Fixes to minor security bug in the mount helper.
3662     * Fix credential file mounting for cifs vfs.
3663     * Fix free of incremented pointer in cifsvfs mount helper.
3664     * Fix path canonicalization of the mount target path and help 
3665       text display in the cifs mount helper.
3666     * Add missing guest mount option for mount.cifs.
3669 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
3670     * BUG 1055; formatting fixes for 'net share'.
3671     * BUG 692: correct truncation of share names and workgroup 
3672       names in smbclient.
3673     * BUG 1088: use strchr_m() for query_host (smbclient -L).
3674     * Patch from to internally count characters correctly.
3677 o   Paul Green <paulg@samba.org>
3678     * Update VOS _POSIX_C_SOURCE macro to 200112L.
3679     * Fix bug in configure.ion by moving the first use of 
3680       AC_CHECK_HEADERS so it is always executed.
3681     * Fix configure.in to only use $BLDSHARED to select whether to 
3682       build static or shared libraries.
3685 o   Pat Haywarrd <Pat.Hayward@propero.net>
3686     * Make the session_users list dynamic (max of 128K).
3687     
3688     
3689 o   Cal Heldenbrand <calzplace@yahoo.com> 
3690     * Fix for for 'pam_smbpass migrate' functionality.
3693 o   Chris Hertel <crh@samba.org>
3694     * fix enumeration of shares 12 characters in length via 
3695       smbclient.
3698 o   Ulrich Holeschak <ulrich@holeschak.de>
3699     * BUG 932: fix local password change using pam_smbpass
3702 o   Krischan Jodies <kj@sernet.de>
3703     * Implement 'net rpc group delete'
3706 o   John Klinger <john.klinger@lmco.com>
3707     * Return NSS_SUCCESS once the max number of gids possible 
3708        has been found in initgroups() on Solaris.
3709     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
3712 o   Volker Lendecke <vl@samba.org>
3713     * Fix success message for net groupmap modify.
3714     * Fix errors when enumerating members of groups in 'net rpc'.
3715     * Match Windows behavior in samr_lookup_names() by returning
3716       ALIAS(4) when you search in BUILTIN. 
3717     * Fix server SAMR code to be able to set alias info for 
3718       builtin as well. 
3719     * Fix duplication of logic when creating groups via smbd.
3720     * Ensure that the HWM values are set correctly after running 
3721       'net idmap'.
3722     * Add 'net rpc group add'.
3723     * Implement 'net groupmap set' and 'net groupmap cleanup'.
3724     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
3725     * Fix wb_delgrpmem (wbinfo -o).
3726     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
3727     * Fix sambaUserWorkstations on a Samba DC.
3728     * Implement wbinfo -k: Have winbind generate an AFS token after
3729       authenticating the user.
3730     * Add expand_msdfs VFS module for providing referrals based on the
3731       the client's IP address.
3732     * Implement client side NETLOGON GetDCName function.
3733     * Fix caching of name->sid lookups.
3734     * Add support in winbindd for expanding nested local groups.
3735     * Fix memleak in winbindd.
3736     * Fix msdfs proxy.
3737     * Don't list domain groups from BUILTIN.
3738     * Fix memleak in policy handle utility functions.
3739     * Decrease winbindd startup time by only contacting trusted 
3740       domains as necessary.
3741     * Allow winbindd to ask the DC for its domain for a trusted 
3742       DC.
3743     * Fix Netscape DS schema based on comments from 
3744       <thomas.mueller@christ-wasser.de>.
3745     * Correct case where adding a domain user to a XP local group 
3746       did a lsalookupname on the user without domain prefix, and 
3747       failed.
3748     * Fix segfault in winbindd caused by 'wbinfo -a'.
3749     
3751 o   Herb Lewis <herb@samba.org>
3752     * Fix typo for tag in proto file.
3753     * Add missing #ifdef HAVE_BICONV stuff.
3754     * Truncate Samba's netbios name at the first '.' (not 
3755       right to left).
3758 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
3759     * Bug fixes and enhancements to libsmbclient library.
3761     
3762 o   Jianliang Lu <j.lu@tiesse.com>
3763     * Enforce the 'user must change password at next login' flag.
3764     * Decode meaning of 'fields present' flags (improves support 
3765       for usrmgr.exe).
3766     * NTLMv2 fixes.
3767     * Don't force an upper case domain name in the ntlmssp code.
3768     
3770 o   L. Lucius <ib@digicron.com>.
3771     * type fixes.
3774 o   Jim McDonough <jmcd@us.ibm.com>
3775     * Add versioning support to tdbsam.
3776     * Update the IBM Directory Server schema with the OpenLDAP 
3777       file.
3778     * Various decoding fixes to improve usrmgr.exe support.
3779     * Fix statfs redeclaration of statfs struct on ppc
3780     * Implement support for password lockout of Samba domain 
3781       controllers and standalone servers.
3782     * Get MungedDial attribute actually working with full TS 
3783       strings in it for pdb_ldap.
3784     * BUG 1208 (partial): Improvements for working with expired krb5 
3785       tickets in winbindd.
3786     * Use timegm, or our already existing replacement instead of 
3787       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
3788     * Remove modifyTimestamp from list of our attributes.  
3789     * Fix lsalookupnames to check for domain users as well as local 
3790       users. 
3791     * Merge struct uuid replacement for GUID from trunk.
3792     * BUG 1208: Finish support for handling expired tickets in 
3793       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
3796 o   Stefan Metzmacher <metze@samba.org>
3797     * Implement new VERSION schema based on subversion revision 
3798       numbers.
3799     * Add shadow_copy vfs module.
3800     * Fix segault in login_cache support.
3803 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
3804      o BUG 979 -- Fix quota display on AIX.
3807 o   James Peach <jpeach@sgi.com>
3808     * Correct check for printf() format when using the SGI MIPSPro 
3809       compiler.
3810     * BUG 1038: support backtrace for 'panic action' on IRIX.
3811     * BUG 768: Accept profileing arg to IRIX init script.
3812     * BUG 748: Relax arg parsing to sambalp script (IRIX).
3813     * BUG 758: Fix pdma build.
3814     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
3815       Jason Mader.
3816       
3818 o   Kurt Pfeifle <kpfeifle@danka.de>
3819     * Add example shell script for migrating drivers and printers 
3820       from a Windows print server to a Samba print server using 
3821       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
3824 o   Tim Potter <tpot@samba.org>
3825     * Fix logic bug in tdb non-blocking lock routines when 
3826       errno == EAGAIN.
3827     * BUG 1025: Include sys/acl.h in check for broken nisplus 
3828       include files.      
3829     * BUG 1066: s/printf/d_printf/g in SWAT.
3830     * BUG 1098: rename internal msleep() function to fix build 
3831       problems on AIX.
3832     * BUG 1112: Fix for writable printerdata problem in python bindings.
3833     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
3834     * BUG 1155: enclose use of fchown() with guards.
3835     * Relicense tdb python module as LGPL.
3838 o   Richard Sharpe <rsharpe@samba.org>
3839     * Add support to smbclient for multiple logins on the same 
3840       session (based on work by abartlet@samba.org).
3841     * Correct blocking condition in smbd's use of accept() on IRIX.
3842     * Add support for printing out the MAC address on nmblookup.
3845 o   Simo Sorce <idra@samba.org>
3846     * Replace unknown_3 with fields_present in SAMR code.
3847     * More length checks in strlcat().
3850 o   Andrew Tridgell <tridge@samba.org>
3851     * Rewrote the AIX UESS backend for winbindd.
3852     * Fixed compilation with --enable-dmalloc.
3853     * Change tdb license to LGPL (see source/tdb/tdb.c).
3854     * Force winbindd to use schannel in clients connections to 
3855       DC's if possible.
3858 o   Jelmer Vernooij <jelmer@samba.org>
3859    * Fix ETA Calculation when resuming downloads in smbget.
3860    * Add -O (for writing downloaded files to standard out) 
3861      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
3862     * Fix syntax error in example mysql table
3864            
3865 o   TAKEDA yasuma <yasuma@miraclelinux.com>
3866     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
3867       cmd_chown, cmd_chmod smbclient functions.
3870 o   Shiro Yamada <shiro@miraclelinux.com>
3871     * BUG 1129: install image files for SWAT.
3873       
3874     --------------------------------------------------
3876                   ==============================
3877                   Release Notes for Samba 3.0.2a
3878                         February 13, 2004
3879                   ==============================
3881 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
3882 to address, in particular, a problem when using pdbedit to 
3883 sanitize (--force-initialized-passwords) Samba's tdbsam 
3884 backend.   This is the latest stable release of Samba. This 
3885 is the version that all production Samba servers should be 
3886 running for all current bug-fixes.  
3888 ******************* Attention! Achtung! Kree! *********************
3890 Beginning with Samba 3.0.2, passwords for accounts with a last 
3891 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
3892 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
3893 strings.  This will cause authentication to fail for such
3894 accounts.  If you have valid passwords that meet this criteria, 
3895 you must update the last change time to a non-zero value.  If you 
3896 do not, then  'pdbedit --force-initialized-passwords' will disable 
3897 these accounts and reset the password hashes to a string of X's.
3899 ******************* Attention! Achtung! Kree! *********************
3902 Changes since 3.0.2
3903 -------------------
3905 commits
3906 -------
3908 Please refer to the CVS log for the SAMBA_3_0 branch for complete
3909 details.  The list of changes per contributor are as follows:
3912 o   Jeremy Allison <jra@samba.org>
3913     * Added paranoia checks in parsing code.
3914     
3916 o   Andrew Bartlett <abartlet@samba.org>
3917     * Ensure that changes to uninitialized passwords in ldapsam 
3918       are written to the DIT.
3921 o   Gerald (Jerry) Carter <jerry@samba.org>
3922     * Fixed iterator in tdbsam.
3923     * Fix bug that disabled accounts with a valid NT password 
3924       hash, but no LanMan hash.
3925     
3927 o   Steve French <sfrench@us.ibm.com>
3928     * Added missing nosetuid and noexec options.
3930     
3931 o   Bostjan Golob <golob@gimb.org>
3932     * BUG 1046: Don't overwrite usernames of entries returned 
3933       by getpwent_list().
3936 o   Sebastian Krahmer <krahmer@suse.de>
3937     * Fixed potential crash bug in NTLMSSP parsing code.
3940 o   Tim Potter <tpot@samba.org>
3941     * Fixed logic in tdb_brlock error checking.
3943     
3944 o   Urban Widmark <urban@teststation.com>
3945     * Set nosuid,nodev flags in smbmnt by default.
3946     
3947     
3948         --------------------------------------------------
3949                   
3950                   =============================
3951                   Release Notes for Samba 3.0.2
3952                         February 9, 2004
3953                   =============================
3955 It has been confirmed that previous versions of Samba 3.0 are
3956 susceptible to a password initialization bug that could grant an 
3957 attacker unauthorized access to a user account created by the
3958 mksmbpasswd.sh shell script.
3960 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
3961 has assigned the name CAN-2004-0082 to this issue.
3963 Samba administrators not wishing to upgrade to the current 
3964 version should download the 3.0.2 release, build the pdbedit 
3965 tool, and run 
3967    root# pdbedit-3.0.2 --force-initialized-passwords
3968       
3969 This will disable all accounts not possessing a valid password
3970 (e.g. the password field has been set a string of X's).
3972 Samba servers running 3.0.2 are not vulnerable to this bug 
3973 regardless of whether or not pdbedit has been used to sanitize
3974 the passdb backend.
3976 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
3977 release include:
3979   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
3980   o Logging onto a Samba domain from Windows XP clients.
3981   o Problems with the %U and %u smb.conf variables in relation to 
3982     Windows 9x/ME clients.
3983   o Kerberos failures due to an invalid in memory keytab detection
3984     test.
3985   o Updates to the ntlm_auth tool.
3986   o Fixes for various SMB signing errors.
3987   o Better separation of WINS and DNS queries for domain controllers.
3988   o Issues with nss_winbind FreeBSD and Solaris.
3989   o Several crash bugs in smbd and winbindd.
3990   o Output formatting fixes for smbclient for better compatibility
3991     with scripts based on the 2.2 version.
3994 Changes since 3.0.1
3995 -------------------
3997 smb.conf changes
3998 ----------------
4000     Parameter Name              Action
4001     --------------              ------
4002     ldap replication sleep      New
4003     read size                   removed (unused)
4004     source environment          removed (unused)
4007 commits
4008 -------
4010 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4011 details.  The list of changes per contributor are as follows:
4013 o   Jeremy Allison <jra@samba.org>
4014     * Revert change that broke Exchange clear text samlogons.
4015     * Fix gcc 3.4 warning in MS-DFS code.
4016     * Tidy up of NTLMSSP code.
4017     * Fixes for SMB signing errors
4018     * BUG 815: Workaround NT4 bug to support plaintext
4019       password logins and UNICODE.
4020     * Fix SMB signing bug when copying large files.
4021     * Correct error logic in mkdir_internals() (caused a panic
4022       when combined with --enable-developer).
4023     * BUG 830: Protect against crashes due to bad character 
4024       conversions.
4026       
4027 o   Petri Asikainen <paca@sci.fi>
4028     * BUG 330, 387:Fix single valued attribute updates when 
4029       working with Novell NDS.
4032 o   Andrew Bartlett <abartlet@samba.org>
4033     * Correctly handle per-pipe NTLMSSP inside a NULL session.
4034     * Fix segfault in gencache 
4035     * Fix early free() of encrypted_session_key.
4036     * Change DC lookup routines to more carefully separate
4037       DNS names (realms) from NetBIOS domain names.
4038     * Add new sid_to_dn() function for internal winbindd use.
4039     * Refactor cli_ds_enum_domain_trusts().
4040     * BUG 707: Implement range retrieval of ADS attributes (based 
4041       on work from Volker <vl@samba.org> and Guenther Deschner 
4042       <gd@suse.com>).
4043     * Automatically initialize the signing engine if a session key
4044       is available.
4045     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
4046       encoded strings, only form input in SWAT.
4047     * Resets the NTLMSSP state for new negotiate packets.
4048     * Add 2-byte alignments in net_samlogon() queries to parse 
4049       odd-length plain text passwords.
4050     * Allow Windows groups with no members in winbindd.
4051     * Allow normal authentication in the absence of a server 
4052       generated session key.
4053     * More optimizations for looking up UNIX group lists.
4054     * Clean up error codes and return values for pam_winbindd
4055       and winbindd PAM interface.
4056     * Fix string return values in ntlm_auth tool.
4057     * Fix segfault when 'security = ads' but no realm is defined.
4058     * BUG 722: Allow winbindd to map machine accounts to uids.
4059     * More cleanups for winbindd's find_our_domain().
4060     * More clearly detect whether a domain controller is an NT4
4061       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4062     * Increase separation between DNS queries for hosts and queries
4063       for AD domain controllers.
4064     * Include additional NT_STATUS to PAM error mappings.
4065     * Password initialization fixes.
4067     
4068 o   Justin Baugh <justin.baugh@request.com>
4069     * BUG 948: Implement missing functions required for FreeBSD 
4070       nss_winbind support. 
4073 o   Alexander Bokovoy <ab@samba.org>
4074     * BUG 922: Make sure enable fast path for strlower_m() and 
4075       strupper_m().
4078 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
4079     * Fix crash when using 'security = server' and 'encrypt 
4080       passwords = no' by always initializing the session key.
4082       
4083 o   Dmitry Butskoj <buc@odusz.elektra.ru>
4084     * Fix for special files being hidden from admins.
4087 o   Gerald (Jerry) Carter <jerry@samba.org>
4088     * Fix bug in the lanman session key generation.  Caused 
4089       "decode_pw: incorrect password length" error messages.
4090     * Save the right case for the located user name in 
4091       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
4092     * BUG 897: Add well known rid for pre win2k compatible access
4093       group.
4094     * BUG 887: Correct typo in delete user script example.
4095     * Use short lived TALLOC_CTX* for allocating printer objects 
4096       from the print handle cache.
4097     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4098     * Fix several warnings reported by the SUN Forte C compiler.
4099     * Fully control DNS queries for AD DC's using 'name resolve order'.
4100     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4101     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4102     * BUG 936: fix bind credentials for schannel binds in smbd.
4103     * BUG 446: Fix output of smbclient for better compatibility 
4104       with scripts based on the 2.2 version (including Amanda).
4105     * BUG 891, 949: Fedora packaging fixes.
4106     * Fix bug that caused rpcclient to incorrectly retrieve 
4107       the SID for a server (this causing all calls that required 
4108       this information to fail). 
4109     * BUG 977: Don't create a homes share for a user if a static 
4110       share already exists by the same name.
4111     * Removed unused smb.conf options.
4112     * Password initialization fixes.
4113     * Set the disable flag for template accounts created by
4114       mksmbpasswd.sh.
4115     * Disable any account has no passwords and does not have the
4116       ACB_PWNOTREQ bit set.
4119 o   Guenther Deschner <gd@suse.com>
4120     * Install smbwrapper.so should be put into the $(libdir) 
4121       and not $(bindir).
4122     * Add the capability to specify the new user password 
4123       for "net ads password" on the command line.
4124     * Correctly detect AFS headers on SuSE.
4125         
4127 o   James Flemer <jflemer@uvm.edu>
4128     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
4129       HAVE_SYS_ATTRIBUTES_H.
4132 o   Luke Howard <lukeh@PADL.COM>
4133     * Fix segfault in session setup reply caused by a early free().
4136 o   Stoian Ivanov <sdr@bultra.com>
4137     * Implement grepable output for smbclient -L.
4140 o   LaMont Jones <lamont@debian.org>
4141     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
4142       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
4143       not being defined).
4145       
4146 o   Volker Lendecke <vl@samba.org>
4147     * BUG 583: Ensure that user names always contain the short 
4148       version of the domain name.
4149     * Fix our parsing of the LDAP uri.
4150     * Don't show the 'afs username map' in the SWAT basic view.
4151     * Fix SMB signing issues in relation to failed NTLMSSP logins.
4152     * BUG 924: Fix return codes in smbtorture harness.
4153     * Always lower-case usernames before handing it to AFS code.
4154     * Add a German translation for SWAT.
4155     * Fix a segfaults in winbindd.
4156     * Fix the user's domain passed to register_vuid() from 
4157       reply_spnego_kerberos().
4158     * Add NSS example code in nss_winbind to convert UNIX 
4159       id's <-> Windows SIDs.
4160     * Display more descriptive error messages for login via 'net'.
4161     * Fix compiler warning in the net tool.
4162     * Fix length bug when decoding base64 strings.
4163     * Ensure we don't call getpwnam() inside a loop that is iterating 
4164       over users with getpwent().  This broke on glibc 2.3.2.
4167 o   Herb Lewis <herb@samba.org>
4168     * Fix bit rot in psec.
4171 o   Jianliang Lu <j.lu@tiesse.com>
4172     * Ensure we delete the group mapping before calling the delete 
4173       group script.
4174     * Define well known RID for managing the  "Power Users" group.
4175     * BUG 381: check builtin (not local) group SID when updating 
4176       group membership.
4177     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
4178       packet.
4181 o   John Klinger <john.klinger@lmco.com>
4182     * Implement initgroups() call in nss_winbind on Solaris.
4185 o   Jim McDonough <jmcd@us.ibm.com>
4186     * Fix regression in net rpc join caused by recent changes 
4187       to cli_lsa_query_info_policy().
4188     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4189       machine account.
4192 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
4193     * BUG 570: Ensure that configure honors the LDFLAGS variable.
4196 o   Stefan Metzmacher <metze@samba.org>
4197     * Implement LDAP rebind sleep patch.
4198     * Revert to 2.2 quota code because of so many broken quota files 
4199       out there.
4200     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4201                       XFS_USER_QUOTA -> USRQUOTA
4202                       XFS_GROUP_QUOTA -> GRPQUOTA
4203     * Fix disk_free calculation with group quotas.
4204     * Add debug class 'quota' and a lot of DEBUG()'s 
4205       to the quota code.
4206     * Fix sys_chown() when no chown() is present.
4207     * Add SIGABRT to fault handling in order to catch got a 
4208       backtrace if an error occurs the OpenLDAP client libs.
4211 o   <ndb@theghet.to>
4212     * Allow an existing LDAP machine account to be re-used when 
4213       joining an AD domain.
4216 o   James Peach <jpeach@sgi.com>
4217     * BUG 889: Change smbd to use pread/pwrite on platforms that 
4218       support these calls. Can lead to a significant speed increase.
4221 o   Tim Potter <tpot@samba.org>
4222     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4223     * BUG 924: Fix typo in RW2 torture test.
4224     
4225     
4226 o   Richard Sharpe <rsharpe@samba.org>
4227     * Small fixes to torture.c to cleanup the error handling 
4228       and prevent crashes.
4231 o   J. Tournier <jerome.tournier@IDEALX.com>
4232     * Small fixes for the smbldap-tool scripts.
4235 o   Andrew Tridgell <tridge@samba.org>
4236     * Fix src len check in pull_usc2().
4237     
4238     
4239 o   Jelmer Vernooij <jelmer@samba.org>
4240     * Put functions for generating SQL queries in pdb_sql.c
4241     * Add pgSQL backend (based on patch by Hamish Friedlander)
4242     * BUG 908: Fix -s option to smbcontrol.    
4243     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4244     * Fix for libnss_wins on IRIX platforms.
4245     * Fix swatdir for --with-fhs.
4248         --------------------------------------------------
4250                   =============================
4251                   Release Notes for Samba 3.0.1
4252                         December 15, 2003
4253                   =============================
4255 Some of the more common bugs in 3.0.0 addressed in the release 
4256 include:
4258   o Substitution problems with smb.conf variables.
4259   o Errors in return codes which caused some applications
4260     to fail to open files.
4261   o General Protection Faults on Windows 2000/XP clients
4262     using Samba point-n-print features.
4263   o Several miscellaneous crash bugs.
4264   o Access problems when enumerating group mappings are
4265     stored in an LDAP Directory.
4266   o Several common SWAT bugs when writing changes to
4267     smb.conf.
4268   o Internal inconsistencies when 'winbind use default
4269     domain = yes'
4273 Changes since 3.0.0
4274 ----------------------
4276     Parameter Name              Action
4277     --------------              ------
4278     hide local users            Removed
4279     mangled map                 Deprecated
4280     mangled stack               Removed
4281     passwd chat timeout         New
4284 commits
4285 -------
4287 o   Change the interface for init_unistr2 to not take a length 
4288     but a flags field.  We were assuming that 
4289     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
4290 o   Allow d_printf() to handle strings with escaped quotation 
4291     marks since the msg file includes the escape character (bug 489).
4292 o   Fix bad html table row termination in SWAT wizard code (bug 413).
4293 o   Fix to parse the level-2 strings.
4294 o   Fix for "valid users = %S" in [homes].  Fix read/write 
4295     list as well. 
4296 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
4297     This is the same way AC_CHECK_LIB works (bug 508).
4298 o   Testparm output fixes for clarity.
4299 o   Fix broken wins hook functionality -- i18n bug (bug 528).
4300 o   Take care of condition where DOS and NT error codes must differ.
4301 o   Default to using only built-in charsets when a working iconv 
4302     implementation cannot be located.
4303 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
4304     be done unconditionally (bug 550).
4305 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
4306 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
4307     --enable-debug=[yes|no] works correctly.
4308 o   Allow ^C to interrupt smbpasswd if using our getpass 
4309     (e.g. smbpasswd command).
4310 o   Support signing only on RPC's (bug 167).
4311 o   Correct bug that prevented  Excel 2000 clients from opening 
4312     files marked as read-only.
4313 o   Portability fix bugs 546 - 549).
4314 o   Explicitly initialize the value of AR for vendor makes that don't
4315     do this (e.g. HPUX 11).  (bug 552).
4316 o   More i18n fixes for SWAT (bug 413).
4317 o   Change the cwd before the postexec script to ensure that a
4318     umount will succeed.
4319 o   Correct double free that caused winbindd to crash when a DC 
4320     is rebooted (bug 437).
4321 o   Fix incorrect mode sum (bug 562).
4322 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
4323     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4324 o   Add script to generate *msg files.
4325 o   Add Dutch SWAT translation file.
4326 o   Make sure to call get_user_groups() with the full winbindd 
4327     name for a user if he/she has one (bug 406).
4328 o   Fix up error code returns from Samba4 tester. Ensure invalid 
4329     paths are validated the same way.  
4330 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
4331 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
4332     libraries were found for $BACKEND.
4333 o   Move sysquotas autoconf tests to a separate file.
4334 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
4335     tester
4336 o   Make sure that the files that contain the static_init_$subsystem; 
4337     macro get recompiled after configure by removing the object 
4338     files.
4339 o   Ensure canceling a blocking lock returns the correct error 
4340     message.
4341 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4342 o   Updated Japanese welcome file in SWAT.
4343 o   Fix to  nt-time <-> unix-time functions reversible.
4344 o   Ensure that winbindd uses the the escaped DN when querying
4345     an AD ldap server.
4346 o   Fix portability issues when compiling (bug 505, 550)
4347 o   Compile fix for tdbbackup when Samba needs to override 
4348     non-C99 compliant implementations of snprintf().
4349 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4350 o   Make sure we break out of samsync loop on error.
4351 o   Ensure error code path doesn't free unmalloc()'d memory
4352     (bug 628).
4353 o   Add configure test for krb5_keytab_entry keyblock vs key 
4354     member (bug 636).
4355 o   Fixed spinlocks.
4356 o   Modified testparm so that all output so all debug output goes 
4357     to stderr, and all file processing goes to stdout.
4358 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
4359     and smbcquotas.
4360 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
4361     we have a devmode before copying a string to the devicename.
4362 o   Support mapping REALM.COM\user to a local user account (without 
4363     running winbindd)  for compatibility with 2.2.x release.
4364 o   Ensure we don't use mmap() on blacklisted systems.
4365 o   fixed a number of bugs and memory leaks in the AIX 
4366     winbindd shim
4367 o   Call initgroups() in SWAT before becomming the user so that
4368     secondary group permissions can be used when writing to 
4369     smb.conf.
4370 o   Fix signing problems when reverse connecting back to a 
4371     client for printer notify
4372 o   Fix signing problems caused by a miss-sequence bug.
4373 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4374     Fixes NEXUS tools running on Win9x clients (bug 64).
4375 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
4376     SID could not be mapped.
4377 o   Fix segfault in mount.cifs helper when there is no options 
4378     specified during mount.
4379 o   Change the \n after the password prompt to go to tty instead 
4380     of stdout (bug 668).
4381 o   Stop net -P from prompting for machine account password (bug 451).
4382 o   Change in behavior to Not only change the effective uid but also
4383     the real uid when becoming unprivileged.
4384 o   Cope with Exchange 5.5 cleartext pop password auth.
4385 o   New files for support of initshutdown pipe.  Win2k doesn't 
4386     respond properly to all requests on the winreg pipe, so we need 
4387     to handle this new pipe (bug 534).
4388 o   Added more va_copy() checks in configure.in.
4389 o   Include fixes for libsmbclient build problems.
4390 o   Missing UNIX -> DOS codepage conversion in lanman.c.
4391 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
4392 o   Parameterize the listen backlog in smbd and make it larger by
4393     default. A backlog of 5 is way too small these days.
4394 o   Check for an invalid fid before dereferencing the fsp pointer
4395     (bug 696).
4396 o   Remove invalid memory frees and return codes in pdb_ldap.c.
4397 o   Prompt for password when invoking --set-auth-user and no 
4398     password is given.
4399 o   Bind the nmbd sending socket to the 'socket address'.
4400 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
4401     $LDFLAGS occurs before any library specification (bug 661).
4402 o   Fix large number of printf() calls for 64-bit size_t.
4403 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
4404     keyblock in the krb5 structs.
4405 o   Remove #include <compat.h> in hopes to avoid problems with 
4406     apache header files.
4407 o   Correct winbindd build problems on HP-UX 11.
4408 o   Lowercase netgroups lookups (bug 703).
4409 o   Use the actual size of the buffer in strftime instead of a made
4410     up value which just happens to be less than sizeof(fstring).  
4411     (bug 713).
4412 o   Add ldaplibs to pdbedit link line (bug 651).
4413 o   Fix crash bug in smbclient completion (bug 659).
4414 o   Fix packet length for browse list reply (bug 771).
4415 o   Fix coredump in cli_get_backup_list().
4416 o   Make sure that we expand %N (bug 612).
4417 o   Allow rpcclient adddriver command to specify printer driver 
4418     version (bug 514).
4419 o   Compile tdbdump by default.
4420 o   Apply patches to fix iconv detection for FreeBSD.
4421 o   Do not allow the 'guest account' to be added to a passdb backend 
4422     using smbpasswd or pdbedit (bug 624).
4423 o   Save LDFLAGS during iconv detection (bug 57).
4424 o   Run krb5 logins through the username map if the winbindd 
4425     lookup fails (bug 698).
4426 o   Add const for lp_set_name_resolve_order() to avoid compiler 
4427     warnings (bug 471).
4428 o   Add support for the %i macro in smb.conf to stand in for the for
4429     the local IP address to which a client connected.
4430 o   Allow winbindd to match local accounts to domain SID when 
4431     'winbind trusted domains only = yes' (bug 680).
4432 o   Remove code in idmap_ldap that searches the user suffix and group 
4433     suffix.  It's not needed and provides inconsistent functionality 
4434     from the tdb backend.
4435 o   Patch to handle munged dial string for Windows 2000 TSE.
4436     Thanks to Gaz de France, Direction de la Recherche, Service 
4437     Informatique Métier for their supporting this work by Aurelien 
4438     Degrémont <adegremont@idealx.com>.
4439 o   Correct the "smbldap_open: cannot access when not root error"
4440     messages when looking up group information (bug 281).
4441 o   Skip over the winbind separator when looking up a user.
4442     This fixes the bug that prevented local users from
4443     matching an AD user when not running winbindd (bug 698).
4444 o   Fix a problem with configure on *BSD systems. Make sure
4445     we add -liconv etc to LDFLAGS.
4446 o   Fix core dump bug when "security = server" and the authentication
4447     server goes away.
4448 o   Correct crash bug due to an empty munged dial string.
4449 o   Show files locked by a specific user (smbstatus -u 'user') 
4450     (bug 590).
4451 o   Fix bug preventing print jobs from display in the queue
4452     monitor used by Windows NT and later clients (bug 660).
4453 o   Fix several reported problems with point-n-print from
4454     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4455     reply (bug 338, 527 & 643).
4456 o   Fix a handful of potential memory leaks in the LDAP code used
4457     by ldapsam[_compat] and the LDAP idmap backend.
4458 o   Fix for pdbedit error code returns (bug 763).
4459 o   Make sure we only enumerate group mapping entries  (not 
4460     /etc/group) even when doing local aliases.
4461 o   Relax check on the pipe name in a dce/rpc bind response to work 
4462     around issues with establishing trusts to a Windows 2003 domain.
4463 o   Ensure we mangle names ending in '.' in hash2 mangling method.
4464 o   Correct parsing issues with munged dial string.
4465 o   Fix bugs in quota support for XFS.
4466 o   Add a cleaner method for applications that need to provide 
4467     name->SID mappings to do this via NSS rather than having to 
4468     know the winbindd pipe protocol.
4469 o   Adds a variant of the winbindd_getgroups() call called 
4470     winbindd_getusersids() that provides direct SID->SIDs listing of 
4471     a users supplementary groups. This is enough to allow non-Samba 
4472     applications to do ACL checking.
4473 o   Make sure we don't append the 'ldap suffix' when writing out the 
4474     'ldap XXX suffix' values in SWAT (bug 328).
4475 o   Fix renames across file systems.
4476 o   Ensure that items in a list of strings containing whitespace are 
4477     written out surrounded by single quotes.  This means that both 
4478     double and single quotes are now used to surround strings in 
4479     smb.conf (bug 481).
4480 o   Enable SWAT to correctly determine if winbindd is running (bug 
4481     398).
4482 o   Include WWW-Authenticate field in 401 response for bad auth 
4483     attempt (bug 629).
4484 o   Add support for NTLM2 (NTLMv2 session security).
4485 o   Add support for variable-length session keys.
4486 o   More privilege fixes for group enumeration in LDAP (bug 281).
4487 o   Use the dns name (or IP) as the originating client name when
4488     using CUPS (bug 467).
4489 o   Fix various SMB signing bugs.
4490 o   Fix ACL propagation on a DFS root (bug 263).
4491 o   Disable NTLM2 for RPC pipes.
4492 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
4493     authentication.
4494 o   Change the name of the job passed off to cups from "Test Page" 
4495     to "smbprn.00000033 Test Page" so that we can get the smb 
4496     jobid back. This allow users to delete jobs with cups printing 
4497     backend (partial work on bug 770).
4498 o   Fix build of winbindd with static pdb modules.
4499 o   Retrieve the correct ACL group bits if the file has an ACL 
4500     (bug 802).
4501 o   Implement "net rpc group members": Get members of a domain group 
4502     in human-readable format.
4503 o   Add MacOSX (Darwin) specific charset module code.
4504 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
4505     can include the full name in gecos field (bug 587).
4506 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4507 o   Implement 'net rpc group list [global|local|builtin]*' for a 
4508     select listing of the respective user databases.
4509 o   Don't automatically set NT status code flag unless client tells 
4510     us it can cope.
4511 o   Add 'net status [sessions|shares] [parseable]'.
4512 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
4513     bug 770).
4514 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
4515    (bug 608).
4516 o   Fix inverted logic in hosts allow/deny checks caused by 
4517     s/strcmp/strequal/ (bug 846).
4518 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4519 o   Fix typo in 'hash' mangling algorithm.
4520 o   Support munged dial for ldapsam (bug 800).
4521 o   Fix process_incoming_data() to return the number of bytes handled 
4522     this call whether we have a complete PDU or not; fixes bug 
4523     with multiple PDU request rpc's broken over SMBwriteX calls 
4524     each.
4525 o   Fix incorrect smb flags2 for connections to pre-NT servers 
4526     (causes smbclient to fail to OS2 for example) (bug 821).
4527 o   Update version string in smbldap-tools Makefile to 0.8.2.
4528 o   Correct a problem with "net rpc vampire" mis-parsing the 
4529     alias member info reply.
4530 o   Ensure the ${libdir} is created by the installclientlib script.
4531 o   Fix detection of Windows 2003 client architecture in the smb.conf
4532     %a variable.
4533 o   Ensure that smbd calls the add user script for a missing UNIX 
4534     user on kerberos auth call (bug 445).
4535 o   Fix bugs in hosts allow/deny when using a mismatched 
4536     network/netmask pair.
4537 o   Protect alloc_sub_basic() from crashing when the source string 
4538     is NULL (partial work on bug 687).
4539 o   Fix spinlocks on IRIX.
4540 o   Corrected some bad destination paths when running "configure 
4541     --with-fhs".
4542 o   Add packaging files for Fedora Core 1.
4543 o   Correct bug in SWAT install script for non-english languages.
4544 o   Support character set ISO-8859-1 internally (bug 558).
4545 o   Fixed more LDAP access errors when looking up group mappings 
4546     (bug 281).
4547 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
4548     resolution to fail on local files on on domain members 
4549     (bug 875).
4550 o   Fix uninitialized variable in passdb.c.
4551 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
4552 o   Fix problem mounting directories when mount.cifs is installed 
4553     with the setuid bit on.
4554 o   Fix bug that prevent --mandir from overriding the defaults
4555     given in the --with-fhs macro.
4556 o   Fix bug in in-memory Kerberos keytab detection routines 
4557     in configure.in
4561 ######################################################################
4563               The original 3.0.0 release notes follow
4564               =======================================
4565                     WHATS NEW IN Samba 3.0.0
4566                         September 24, 2003
4567               =======================================
4570 Major new features:
4571 -------------------
4573 1)  Active Directory support.  Samba 3.0 is now able to  
4574     join a ADS realm as a member server and authenticate 
4575     users using LDAP/Kerberos.
4577 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
4578     and internally there is now a much better infrastructure for 
4579     multi-byte and UNICODE character sets.
4581 3)  New authentication system. The internal authentication system 
4582     has been almost completely rewritten. Most of the changes are 
4583     internal, but the new auth system is also very configurable.
4585 4)  New default filename mangling system.
4587 5)  A new "net" command has been added. It is somewhat similar to 
4588     the "net" command in windows. Eventually we plan to replace 
4589     numerous other utilities (such as smbpasswd) with subcommands 
4590     in "net".
4592 6)  Samba now negotiates NT-style status32 codes on the wire. This
4593     improves error handling a lot.
4595 7)  Better Windows 2000/XP/2003 printing support including publishing
4596     printer attributes in active directory.
4598 8)  New loadable module support for passdb backends and character 
4599     sets.
4601 9)  New default dual-daemon winbindd support for better performance.
4603 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
4604     domain and maintaining user, group and domain SIDs.
4606 11) Support for establishing trust relationships with Windows NT 4.0
4607     domain controllers.
4608   
4609 12) Initial support for a distributed Winbind architecture using
4610     an LDAP directory for storing SID to uid/gid mappings.
4611   
4612 13) Major updates to the Samba documentation tree.
4614 14) Full support for client and server SMB signing to ensure
4615     compatibility with default Windows 2003 security settings.
4617 15) Improvement of ACL mapping features based on code donated by
4618     Andreas Grünbacher.
4621 Plus lots of other improvements!
4624 Additional Documentation
4625 ------------------------
4627 Please refer to Samba documentation tree (included in the docs/ 
4628 subdirectory) for extensive explanations of installing, configuring
4629 and maintaining Samba 3.0 servers and clients.  It is advised to 
4630 begin with the Samba-HOWTO-Collection for overviews and specific 
4631 tasks (the current book is up to approximately 400 pages) and to 
4632 refer to the various man pages for information on individual options.
4634 We are very glad to be able to include the second edition of
4635 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
4636 (O'Reilly & Associates) in this release.  The book is available
4637 on-line at http://samba.org/samba/docs/ and is included with 
4638 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
4639 publisher for making "Using Samba" under the GNU Free Documentation 
4640 License.
4643 ######################################################################
4644 Upgrading from a previous Samba 3.0 beta
4645 ########################################
4647 Beginning with Samba 3.0.0beta3, the RID allocation functions
4648 have been moved into winbindd.  Previously these were handled
4649 by each passdb backend.  This means that winbindd must be running
4650 to automatically allocate RIDs for users and/or groups.  Otherwise,
4651 smbd will use the 2.2 algorithm for generating new RIDs.
4653 If you are using 'passdb backend = tdbsam' with a previous Samba 
4654 3.0 beta release (or possibly alpha), it may be necessary to 
4655 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
4656 to winbindd_idmap.tdb.  To do this:
4658 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
4659     once)
4660 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
4661     directory
4662 3)  run: (note that 'tdb>' is the tool's prompt for input)
4664        root# ./tdbtool /usr/local/samba/private/passdb.tdb
4665        tdb> show RID_COUNTER
4666        key 12 bytes
4667        RID_COUNTER
4668        data 4 bytes
4669        [000] 0A 52 00 00                                       .R.
4671        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
4672        ....
4673        record moved
4675 If you are using 'passdb backend = ldapsam', it will be necessary to 
4676 store idmap entries in the LDAP directory as well (i.e. idmap backend 
4677 = ldap).  Refer to the 'net idmap' command for more information on 
4678 migrating SID<->UNIX id mappings from one backend to another.
4680 If the RID_COUNTER record does not exist, then these instructions are
4681 unneccessary and the new RID_COUNTER record will be correctly generated
4682 if needed.  
4686 ########################
4687 Upgrading from Samba 2.2
4688 ########################
4690 This section is provided to help administrators understand the details
4691 involved with upgrading a Samba 2.2 server to Samba 3.0.
4694 Building
4695 --------
4697 Many of the options to the GNU autoconf script have been modified 
4698 in the 3.0 release.  The most noticeable are:
4700   * removal of --with-tdbsam (is now included by default; see section
4701     on passdb backends and authentication for more details)
4702     
4703   * --with-ldapsam is now on used to provided backward compatible
4704     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
4705     backend and authentication section for more details
4706   
4707   * inclusion of non-standard passdb modules may be enabled using
4708     --with-expsam.  This includes an XML backend and a mysql backend.
4709       
4710   * removal of --with-msdfs (is now enabled by default)
4711   
4712   * removal of --with-ssl (no longer supported)
4713   
4714   * --with-utmp now defaults to 'yes' on supported systems
4715   
4716   * --with-sendfile-support is now enabled by default on supported 
4717     systems
4718   
4719     
4720 Parameters
4721 ----------
4723 This section contains a brief listing of changes to smb.conf options
4724 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
4725 complete descriptions of new or modified parameters.
4727 Removed Parameters (order alphabetically):
4729   * admin log
4730   * alternate permissions
4731   * character set
4732   * client codepage
4733   * code page directory
4734   * coding system
4735   * domain admin group
4736   * domain guest group
4737   * force unknown acl user
4738   * hide local users
4739   * mangled stack
4740   * nt smb support
4741   * postscript
4742   * printer driver
4743   * printer driver file
4744   * printer driver location
4745   * read size
4746   * source environment
4747   * status
4748   * strip dot
4749   * total print jobs
4750   * use rhosts
4751   * valid chars
4752   * vfs options
4754 New Parameters (new parameters have been grouped by function):
4756   Remote management
4757   -----------------
4758   * abort shutdown script
4759   * shutdown script
4761   User and Group Account Management
4762   ---------------------------------
4763   * add group script
4764   * add machine script
4765   * add user to group script
4766   * algorithmic rid base
4767   * delete group script
4768   * delete user from group script
4769   * passdb backend
4770   * set primary group script
4772   Authentication
4773   --------------
4774   * auth methods
4775   * realm
4776   * passwd chat timeout
4778   Protocol Options
4779   ----------------
4780   * client lanman auth
4781   * client NTLMv2 auth
4782   * client schannel
4783   * client signing
4784   * client use spnego
4785   * disable netbios
4786   * ntlm auth
4787   * paranoid server security
4788   * server schannel
4789   * server signing
4790   * smb ports
4791   * use spnego
4793   File Service
4794   ------------
4795   * get quota command
4796   * hide special files
4797   * hide unwriteable files
4798   * hostname lookups
4799   * kernel change notify
4800   * mangle prefix
4801   * map acl inherit
4802   * msdfs proxy
4803   * set quota command
4804   * use sendfile
4805   * vfs objects
4806   
4807   Printing
4808   --------
4809   * max reported print jobs
4811   UNICODE and Character Sets
4812   --------------------------
4813   * display charset
4814   * dos charset
4815   * unicode
4816   * unix charset
4817   
4818   SID to uid/gid Mappings
4819   -----------------------
4820   * idmap backend
4821   * idmap gid
4822   * idmap uid
4823   * winbind enable local accounts
4824   * winbind trusted domains only
4825   * template primary group
4826   * enable rid algorithm
4828   LDAP
4829   ----
4830   * ldap delete dn
4831   * ldap group suffix
4832   * ldap idmap suffix
4833   * ldap machine suffix
4834   * ldap passwd sync
4835   * ldap replication sleep
4836   * ldap user suffix
4837   
4838   General Configuration
4839   ---------------------
4840   * preload modules
4841   * private dir
4843 Modified Parameters (changes in behavior):
4845   * encrypt passwords (enabled by default)
4846   * mangling method (set to 'hash2' by default)
4847   * passwd chat
4848   * passwd program
4849   * restrict anonymous (integer value)
4850   * security (new 'ads' value)
4851   * strict locking (enabled by default)
4852   * unix extensions (enabled by default)
4853   * winbind cache time (increased to 5 minutes)
4854   * winbind uid (deprecated in favor of 'idmap uid')
4855   * winbind gid (deprecated in favor of 'idmap gid')
4858 Databases
4859 ---------
4861 This section contains brief descriptions of any new databases 
4862 introduced in Samba 3.0.  Please remember to backup your existing 
4863 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
4864 upgrade databases as they are opened (if necessary), but downgrading 
4865 from 3.0 to 2.2 is an unsupported path.
4867 Name                    Description                             Backup?
4868 ----                    -----------                             -------
4869 account_policy          User policy settings                    yes
4870 gencache                Generic caching db                      no
4871 group_mapping           Mapping table from Windows              yes
4872                         groups/SID to unix groups        
4873 winbindd_idmap          ID map table from SIDS to UNIX          yes
4874                         uids/gids.
4875 namecache               Name resolution cache entries           no
4876 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
4877                         returned as part of a successful
4878                         net_sam_logon request 
4879 printing/*.tdb          Cached output from 'lpq                 no
4880                         command' created on a per print 
4881                         service basis
4882 registry                Read-only samba registry skeleton       no
4883                         that provides support for exporting
4884                         various db tables via the winreg RPCs
4887 Changes in Behavior
4888 -------------------
4890 The following issues are known changes in behavior between Samba 2.2 and 
4891 Samba 3.0 that may affect certain installations of Samba.
4893   1)  When operating as a member of a Windows domain, Samba 2.2 would 
4894       map any users authenticated by the remote DC to the 'guest account'
4895       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
4896       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
4897       current work around to re-establish the 2.2 behavior.
4898       
4899   2)  When adding machines to a Samba 2.2 controlled domain, the 
4900       'add user script' was used to create the UNIX identity of the 
4901       machine trust account.  Samba 3.0 introduces a new 'add machine 
4902       script' that must be specified for this purpose.  Samba 3.0 will
4903       not fall back to using the 'add user script' in the absence of 
4904       an 'add machine script'
4905   
4907 ######################################################################
4908 Passdb Backends and Authentication
4909 ##################################
4911 There have been a few new changes that Samba administrators should be
4912 aware of when moving to Samba 3.0.
4914   1) encrypted passwords have been enabled by default in order to 
4915      inter-operate better with out-of-the-box Windows client 
4916      installations.  This does mean that either (a) a samba account
4917      must be created for each user, or (b) 'encrypt passwords = no'
4918      must be explicitly defined in smb.conf.
4919     
4920   2) Inclusion of new 'security = ads' option for integration 
4921      with an Active Directory domain using the native Windows
4922      Kerberos 5 and LDAP protocols.
4924      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
4925      type which is neccessary for servers on which the 
4926      administrator password has not been changed, or kerberos-enabled 
4927      SMB connections to servers that require Kerberos SMB signing.
4928      Besides this one difference, either MIT or Heimdal Kerberos
4929      distributions are usable by Samba 3.0.
4930      
4932 Samba 3.0 also includes the possibility of setting up chains
4933 of authentication methods (auth methods) and account storage 
4934 backends (passdb backend).  Please refer to the smb.conf(5) 
4935 man page for details.  While both parameters assume sane default 
4936 values, it is likely that you will need to understand what the 
4937 values actually mean in order to ensure Samba operates correctly.
4939 The recommended passdb backends at this time are
4941   * smbpasswd - 2.2 compatible flat file format
4942   * tdbsam - attribute rich database intended as an smbpasswd
4943     replacement for stand alone servers
4944   * ldapsam - attribute rich account storage and retrieval 
4945     backend utilizing an LDAP directory.  
4946   * ldapsam_compat - a 2.2 backward compatible LDAP account 
4947     backend
4948     
4949 Certain functions of the smbpasswd(8) tool have been split between the 
4950 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
4951 utility.  See the respective man pages for details.
4952     
4953      
4954 ######################################################################
4955 LDAP
4956 ####
4958 This section outlines the new features affecting Samba / LDAP 
4959 integration.
4961 New Schema
4962 ----------
4963   
4964 A new object class (sambaSamAccount) has been introduced to replace 
4965 the old sambaAccount.  This change aids us in the renaming of 
4966 attributes to prevent clashes with attributes from other vendors.  
4967 There is a conversion script (examples/LDAP/convertSambaAccount) to 
4968 modify and LDIF file to the new schema.
4969   
4970 Example:
4971   
4972   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
4973   $ convertSambaAccount --sid=<Domain SID> \
4974     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
4975     --changetype=[modify|add]
4976         
4977 The <DOM SID> can be obtained by running 'net getlocalsid 
4978 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
4979 the format of the generated LDIF output--either create new entries 
4980 or modify existing entries.
4981     
4982 The old sambaAccount schema may still be used by specifying the 
4983 "ldapsam_compat" passdb backend.  However, the sambaAccount and
4984 associated attributes have been moved to the historical section of
4985 the schema file and must be uncommented before use if needed.
4986 The 2.2 object class declaration for a sambaAccount has not changed
4987 in the 3.0 samba.schema file. 
4988   
4989 Other new object classes and their uses include:
4990   
4991   * sambaDomain - domain information used to allocate rids 
4992     for users and groups as necessary.  The attributes are added
4993     in 'ldap suffix' directory entry automatically if 
4994     an idmap uid/gid range has been set and the 'ldapsam'
4995     passdb backend has been selected.
4996       
4997   * sambaGroupMapping - an object representing the 
4998     relationship between a posixGroup and a Windows
4999     group/SID.  These entries are stored in the 'ldap 
5000     group suffix' and managed by the 'net groupmap' command.
5001     
5002   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
5003     automatically and contains the next available 'idmap uid' and 
5004     'idmap gid'
5005     
5006   * sambaIdmapEntry - object storing a mapping between a 
5007     SID and a UNIX uid/gid.  These objects are created by the 
5008     idmap_ldap module as needed.
5010   * sambaSidEntry - object representing a SID alone, as a Structural
5011     class on which to build the sambaIdmapEntry.
5013     
5014 New Suffix for Searching
5015 ------------------------
5016   
5017 The following new smb.conf parameters have been added to aid in directing
5018 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5019 specified.
5021   * ldap suffix         - used to search for user and computer accounts
5022   * ldap user suffix    - used to store user accounts
5023   * ldap machine suffix - used to store machine trust accounts
5024   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
5025   * ldap idmap suffix   - location of sambaIdmapEntry objects
5027 If an 'ldap suffix' is defined, it will be appended to all of the 
5028 remaining sub-suffix parameters.  In this case, the order of the suffix
5029 listings in smb.conf is important.  Always place the 'ldap suffix' first
5030 in the list.  
5032 Due to a limitation in Samba's smb.conf parsing, you should not surround 
5033 the DN's with quotation marks.
5036 IdMap LDAP support
5037 ------------------
5039 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
5040 following options would inform Samba that the idmap table should be
5041 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5042 dc=org" partition.
5044  [global]
5045     ...
5046     idmap backend     = ldap:ldap://onterose/
5047     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5048     idmap uid         = 40000-50000
5049     idmap gid         = 40000-50000
5051 This configuration allows winbind installations on multiple servers to
5052 share a uid/gid number space, thus avoiding the interoperability problems
5053 with NFS that were present in Samba 2.2.
5054     
5057 ######################################################################
5058 Trust Relationships and a Samba Domain
5059 ######################################
5061 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
5062 allocating uids and gids to trusted users and groups.  More
5063 information regarding Samba's support for establishing trust 
5064 relationships can be found in the Samba-HOWTO-Collection included
5065 in the docs/ directory of this release.
5067 First create your Samba PDC and ensure that everything is 
5068 working correctly before moving on the trusts.
5070 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5071 4.0 domain named WINDOWS:
5073   1) create the trust account for SAMBA in "User Manager for Domains"
5074   2) connect the trust from the Samba domain using
5075      'net rpc trustdom establish GLASS'
5077 To create a trustlationship with SAMBA as the trusted domain:
5079   1) create the initial trust account for GLASS using
5080      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
5081      account for GLASS$ prior to this step (depending on your
5082      local configuration).
5083   2) connect the trust from a WINDOWS DC using "User Manager
5084      for Domains"
5086 Now join winbindd on the Samba PDC to the SAMBA domain using
5087 the normal steps for adding a Samba server to an NT4 domain:
5088 (note that smbd & nmbd must be running at this point)
5090    root# net rpc join -U root
5091    Password: <enter root password from smbpasswd file here>
5093 Start winbindd and test the join with 'wbinfo -t'.
5095 Now test the trust relationship by connecting to the SAMBA DC
5096 (e.g. POGO) as a user from the WINDOWS domain:
5098    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5099    Password:
5101 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5103    $ smbclient //crystal/netlogon -U root -W WINDOWS
5104    Password:
5106 ######################################################################
5107 Changes in Winbind
5108 ##################
5110 Beginning with Samba3.0.0beta3, winbindd has been given new account
5111 manage functionality equivalent to the 'add user script' family of
5112 smb.conf parameters.  The idmap design has also been changed to 
5113 centralize control of foreign SID lookups and matching to UNIX 
5114 uids and gids.
5117 Brief Description of Changes
5118 ----------------------------
5120 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
5121    reverted to the 2.2.x design.  This means that when resolving a 
5122    SID to a UID or similar mapping:
5124         a) First consult winbindd
5125         b) perform a local lookup only if winbindd fails to
5126            return a successful answer
5128    There are some variations to this, but these two rules generally
5129    apply.
5131 2) All idmap lookups have been moved into winbindd.  This means that
5132    a server must run winbindd (and support NSS) in order to achieve
5133    any mappings of SID to dynamically allocated UNIX ids.  This was
5134    a conscious design choice.
5136 3) (OBSOLETE) New functions have been added to winbindd to emulate 
5137    the 'add user script' family of smbd functions without requiring 
5138    that external scripts be defined.  This functionality is controlled 
5139    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
5140    by default).
5142    However, this account management functionality is only supported 
5143    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
5144    must be shared among multiple Samba servers (such as a PDC and BDCs), 
5145    it will be necessary to define your own 'add user script', et. al.
5146    programs that place the accounts/groups in some form of directory
5147    such as NIS or LDAP.  This requirement was deemed beyond the scope
5148    of winbind's account management functions.  Solutions for 
5149    distributing UNIX system information have been deployed and tested 
5150    for many years.  We saw no need to reinvent the wheel.
5152 4) A member of a Samba controlled domain running winbindd is now able 
5153    to map domain users directly onto existing UNIX accounts while still
5154    automatically creating accounts for trusted users and groups.  This
5155    behavior is controlled by the 'winbind trusted domains only' smb.conf
5156    parameter (disabled by default to provide 2.2.x winbind behavior).
5158 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5159    in smbd/uid.c.  The reason that group mappings are not included
5160    in winbindd is because the purpose of Samba's group map is to
5161    match any Windows SID with an existing UNIX group.  These UNIX
5162    groups can be created by winbindd (see next section), but the
5163    SID<->gid mapping is retreived by smbd, not winbindd.
5166 Examples
5167 --------
5169 * security = server running winbindd to allocate accounts on demand
5171 * Samba PDC running winbindd to handle the automatic creation of UNIX
5172   identities for machine trust accounts
5174 * Automtically creating UNIX user and groups when migrating a Windows NT
5175   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
5176   'net rpc vampire' for this to work.
5178    
5179 ######################################################################
5180 Known Issues
5181 ############
5183 * There are several bugs currently logged against the 3.0 codebase
5184   that affect the use of NT 4.0 GUI domain management tools when run
5185   against a Samba 3.0 PDC.  This bugs should be released in an early 
5186   3.0.x release.
5188 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
5189 filed against the Samba 3.0 codebase.
5192 ######################################################################
5193 Reporting bugs & Development Discussion
5194 #######################################
5196 Please discuss this release on the samba-technical mailing list or by
5197 joining the #samba-technical IRC channel on irc.freenode.net.
5199 If you do report problems then please try to send high quality
5200 feedback. If you don't provide vital information to help us track down
5201 the problem then you will probably be ignored.  
5203 A new bugzilla installation has been established to help support the 
5204 Samba 3.0 community of users.  This server, located at 
5205 https://bugzilla.samba.org/, has replaced the older jitterbug server 
5206 previously located at http://bugs.samba.org/.