[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[Samba.git] / WHATSNEW.txt
blob5868036878807f2d50a092eadc397e64344ab5e6
1                    ===============================
2                    Release Notes for Samba 3.0.25b
3                              June 20, 2007
4                    ===============================
6 This is the third production release of the Samba 3.0.25 code 
7 base and is the version that servers should be run for for all 
8 current bug fixes.  
10 Major bug fixes included in Samba 3.0.25b are:
12   o Offline caching of files with Windows XP/Vista clients.
13   o Improper cleanup of expired or invalid byte range locks 
14     on files.
15   o Crashes is idmap_ldap and idmap_rid.
18 ######################################################################
19 Changes
20 #######
22 Changes since 3.0.25a
23 ---------------------
25 o   Jeremy Allison <jra@samba.org>
26     * BUG 4655: Fix client parsing bug in spoolss EnumPrinterDataEx().
27     * Ensure that proper oplock break requests occur during file open
28       and performing internal checks for compatible open modes.
29     * Fix offline file caching with Windows XP/Vista clients.
30     * Coverity fixes.
31     * Ensure that winbindd reports the correct client connection
32       details in response to a SIGUSR2.
33     * Fix timespec_current() to return the correct nano-second time.
34     * Fix lock logic inconsistencies in tdb_traverse().
35     * Remove restriction on string length for rpcclient commands.
36     * BUG 4683: Fix LSA crash bug.
37     * BUG 3204: Fix file descriptor leak in the parent winbindd when
38       child processes hang.
39     * Avoid calling rename_open_files() when the old and new names 
40       are identical.
41     * BUG 4689: Fix bug in new change notify code caused by not
42       ignoring the max_params_return value and as a resulting
43       returning truncated names.
44     * Fix sync_file() to return NTSTATUS and return this on failure in
45       the write reply path.
46     * BUG 4678,4697: Fix token creation for clear text logins.  
49 o   Jacob Berkman <jberkman@novell.com>
50     * BUG 4566: Pass password data to krb5_prompter.
53 o   Guenther Deschner <gd@samba.org>
54     * BUG 4657: Fix compilation and linking of pam_smbpass.so.
55     * Add more netlogon GetDcName() client calls.
58 o   Steve Langasek <vorlon@debian.org>
59     * Allow SIGTERM to cause nmbd to exit on awaiting an interface 
60       to come up.
63 o   Volker Lendecke <vl@samba.org>
64     * Fix record state check error when reviewing entries in nmbd's
65       WINS database.
68 o   Justin Maggard <jmaggard@infrant.com>
69     * Don't expire a password if it's explicitly set as ACB_PWNOTREQ.
72 o   <mnix@wanm.com.au>
73     * Fix old old bug in cli_smbwrite() (not incrementing data 
74       being sent).
77 o   Jens Nissen <jens.nissen@gmx.net>
78     * BUG 4537: Fix smbtorture deny test2.
81 o   James Peach <jpeach@apple.com>
82     * Fix structure types in the vfs_catia NT_ACL operations.
85 o   Doug Rudoff <doug_rudoff@isilon.com>
86     * Ensure that the the lck struct for invalid locks are correctly
87       saved and therefore cleaned up.
90 o   Simo Sorce <idra@samba.org>
91     * Updates for the packaging/Debian directory.
92     * Add missing 'c' character to the list of shell safe characters.
93     * BUG 4667 (partial): Fix crash bug in idmap_ldap.c.
94     * Fix inconsistencies between creating machine and user accounts.
95     * Fix bug deleting LDAP user accounts that used the account 
96       objectclass as its structural basis.
97     * BUG 2319: Ensure that smbspool correctly decodes %-encoded
98       characters.
99     * BUG 4624: Fix crashes in idmap_rid.
102 Release notes for older releases follow:
104       --------------------------------------------------
105                    ===============================
106                    Release Notes for Samba 3.0.25a
107                              May 25, 2007
108                    ===============================
110 Major bug fixes included in Samba 3.0.25a are:
112   o Missing supplementary Unix group membership when using "force 
113     group".
114   o Premature expiration of domain user passwords when using a 
115     Samba domain controller.
116   o Failure to open the Windows object picker against a server
117     configured to use "security = domain".
118   * Authentication failures when using security = server.
121 Changes to MS-DFS Root Share Behavior
122 =====================================
124 Please be aware that the initial value for the "msdfs root" share 
125 parameter was changed in the 3.0.25 release series and that this 
126 option is now disabled by default.  Windows clients frequently require 
127 a reboot in order to clear any cached information about MS-DFS
128 root shares on a server and you may experience failures accessing
129 file services on Samba 3.0.25 servers until the client reboot 
130 is performed.  Alternately, you may explicitly re-enable the 
131 parameter in smb.conf.   Please refer to the smb.conf(5) man page
132 for more details.
136 ######################################################################
137 Changes
138 #######
140 Changes since 3.0.25
141 --------------------
143 o   Michael Adam <obnox@samba.org>
144     * Fix logic in detection of the need to replace dlopen, et. al.
145     * Add HP-UX ACL VFS module.
146     * Fix build of Tru64 ACL VFS module.
149 o   Jeremy Allison <jra@samba.org>
150     * BUG 4622: Fix authentication failures in security = server.
151     * Fix pointer marshalling in srvsvc parsing code.
152     * BUG 4630: Fix conversion of 8 byte time_t and NT_TIME values.
153     * Ensure that if we're blocked on a POSIX lock we know nothing
154       about that we retry the lock every 10 seconds instead of waiting
155       for the standard select timeout.
156     * BUG 4637: Fix samlogon reply regression that broke domain logons.
157     * Fix rename on open files and improved delete-on-close semantics.
158     * Fix POSIX setfilepathinfo to use lstat.
161 o   Alexander Bokovoy <ab@samba.org>
162     * Add -pie support to Python's setup.py.
163     * Strip STYPE_TEMPORARY and STYPE_HIDDEN when printing share
164       listing from 'net rap shares".
165     * Fix argument parsing in "net rap server domain".
166    
168 o   Gerald (Jerry) Carter <jerry@samba.org>
169     * BUG 4616: Don't return a dns or forest name when replying to the
170       DsGetPrimaryRoleInfo() and configured for security = domain.
171     * Trim noise by removing redundant WARNING log message that would 
172       flood at log level 2. 
173     * Fix truncation of supplementary Unix groups when using "force group".
176 o   Guenther Deschner <gd@samba.org>
177     * Always fallback to NTLM authentication in pam_winbind when the 
178       user's account has UF_DONT_REQUIRE_PREAUTH set.
181 o   Steve French <sfrench@us.ibm.com> 
182     * Valgrind fixes in mount.cifs.
185 o   Volker Lendecke <vl@samba.org>
186     * Fix crash bug in the Solaria ACL VFS module caused by
187       uninitialized variables.
190 o   Herb Lewis <herb@samba.org>
191     * Update connection structure definition for tdbtool display
192       output.
195 o   Derrell Lipman <derrell@samba.org>
196     * BUG 4601: Fix smbc_getxattr() to properly return the required
197       size of the buffer needed to contain the extended attributes.
198     * BUG 4599: Fix failure when setting attributes.
199     * BUG 4634: Type of the size parameter to getpeername in
200       libsmbclient code was wrong.
201     * Fix libsmbclient interaction with links on Vista and properly
202       detect non-NTSTATUS errors.
203     
205 o   Jim McDonough <jmcd@us.ibm.com>
206     * BUG 4630: Fix special case of unix_to_nt_time() for TIME_T_MAX
207       and the output from http_timestring().
210 o   Stefan Metzmacher <metze@samba.org>
211     * Merge gdb_backtrace script changes form SAMBA_4_0.
214 o   Lars Mueller <lars@samba.org>
215     * Allow idmap_ldap to be built as a shared lib.
218 o   James Peach <jpeach@apple.com>
219     * BUG 4426: Move FAM libraries from smbd to vfs_fam_notify.
220     * BUG 2287: Replace unnecessary AC_TRY_RUN with AC_TRY_LINK.
221     * BUG 4589: Fix typo in pdbedit output.
224 o   Simo Sorce <idra@samba.org>
225     * Short circuit Unix Users and Unix Groups Domain SID checks 
226       in smbd to avoid unnecessary calls to winbindd.
228       --------------------------------------------------
229                    ==============================
230                    Release Notes for Samba 3.0.25
231                             May 14, 2007
232                    ==============================
234 The 3.0.25 release is an upgrade release over the 3.0.23/3.0.24 
235 series which means that a substantial amount of development has 
236 occurred and many new features have been added since the last
237 Samba production release.  We would like to thank everyone in 
238 the Samba community that help to test the preview snapshots and 
239 release candidates.  We believe that the this production release 
240 is in much better shape due to your help.  
242 Major features included in the 3.0.25 code base include:
244   o Significant improvements in the winbind off-line logon support.
245   o Support for secure DDNS updates as part of the 'net ads join' 
246     process.
247   o Rewritten IdMap interface which allows for TTL based caching and 
248     per domain backends.
249   o New plug-in interface for the "winbind nss info" parameter.
250   o New file change notify subsystem which is able to make use of 
251     inotify on Linux.
252   o Support for passing Windows security descriptors to a VFS 
253     plug-in allowing for multiple Unix ACL implements to running side 
254     by side on the Same server.
255   o Improved compatibility with Windows Vista clients including 
256     improved read performance with Linux servers.
257   o Man pages for IdMap and VFS plug-ins.
259 Security Fixes included in the Samba 3.0.25 release are:
261   o CVE-2007-2444
262         Versions: Samba 3.0.23d - 3.0.25pre2
263         Local SID/Name translation bug can result in
264         user privilege elevation
266   o CVE-2007-2446
267         Versions: Samba 3.0.0 - 3.0.24
268         Multiple heap overflows allow remote code execution
270   o CVE-2007-2447
271         Versions: Samba 3.0.0 - 3.0.24
272         Unescaped user input parameters are passed as
273         arguments to /bin/sh allowing for remote command
274         execution
277 Off-line Logons and AD Site Support
278 ===================================
280 Winbind's capability to support offline logons has been greatly
281 improved with the 3.0.25 release including support for locating 
282 domain controllers asynchronously using Active Directory Site
283 information.
286 New IdMap Interface for Winbindd
287 ================================
289 The 3.0.25 release of Samba includes a rewritten IdMap interface
290 for winbindd which replaces the "idmap backend" parameter.  Please 
291 refer to the "idmap domains" description in the smb.conf(5) man 
292 page for more details.
295 Dynamic DNS Updates
296 ===================
298 The "net ads join" command is now able to register the host's DNS A
299 records with Windows 2000 SP4 and 2003 DNS servers.  This 
300 feature must be enabled at compile time using the --with-dnsupdate 
301 when running the ./configure script.  There is also a related "net ads 
302 dns" command for refreshing a host's records which could be launched
303 from a dhcp client script when a new IP address is obtained.
306 Support for Additional ACL Modules
307 ==================================
309 Samba's POSIX ACL support has been moved inside of the VFS layer 
310 which means it is now possible to support multiple ACL implementations
311 on the same server including NFSv4 and GPFS ACLs.
314 VFS ReadAhead Plugin
315 ====================
317 Windows Vista introduces pipe-lined read support for improved 
318 performance when transferring files.  The new vfs_readahead plugin
319 allows Linux file servers to utilize additional Kernel buffers
320 for caching files in order to avoid Disk I/O wait time when serving
321 Vista clients.  If you experience poor read performance between 
322 Linux servers and Vista clients, please test the vfs_readahead
323 module by adding the following lines to the share definition
324 in smb.conf:
326 [file_share]
327         vfs objects = readahead
329 Note that this plugin will result in additional RAM requirements
330 due to the increased amount of kernel buffer caches used by smbd.
331 Please refer to vfs_readahead(8) for more information.
334 Windows Vista, Office 2007, and Offline Files
335 =============================================
337 Research surrounding offline files, Windows Vista, and Microsoft 
338 Office 2007 has revealed a incompatibility between these 
339 applications and the "map acl inherit = no" setting in smb.conf.  
340 Users requiring support client side caching (csc) and offline 
341 files are encouraged to enable the "map acl inherit" for any 
342 affected share definitions in the server's configuration.
343 Future versions of Samba will enable this setting by default.
345 Please refer to the smb.conf(5) man page for more details on 
346 "map acl inherit".
349 ######################################################################
350 Changes
351 #######
353 smb.conf changes
354 ----------------
356     Parameter Name                      Description     Default
357     --------------                      -----------     -------
358     change notify timeout               Removed         n/a
359     change notify                       New             Yes
360     debug prefix timestamp              New             No
361     fam change notify                   Removed         n/a
362     idmap domains                       New             ""
363     idmap alloc backend                 New             ""
364     idmap cache time                    New             900
365     idmap negative cache time           New             120
366     kernel change notify                Per share       Yes
367     lock spin count                     Removed         n/a
368     max stat cache size                 Modified        1024KB
369     msdfs root                          Modified        no
370     printjob username                   New             %U
371     winbind normalize names             New             no
376 Changes since 3.0.25rc3
377 -----------------------
380 o   Jeremy Allison <jra@samba.org>
381     * Fix memory corruption bug during string processing.
382     * Instantiate idiom that malloc/tallocs of array of 0 elements
383       returns NULL.
384     * Fix marshalling bugs in samr code based on incorrect
385       assumptions.
386     * Fix DFS MS-RPC enumeration reply when we have no DFS shares.
387     * Fix memory corruption when enumerating accounts in the 
388       LsaPrivilege database.
389     * Fixes for CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447.
392 o   Gerald (Jerry) Carter <jerry@samba.org>
393     * Fix memory corruption when adding/removing members from Local 
394       Groups.
397 o   Guenther Deschner <gd@samba.org>
398     * Prevent leaking on full NET_USER_INFO_3 structure memory on each
399       cached login.
400     * Plug memory leak in client SPNEGO session setup code.
401     * Don't clear cached U/SID and UG/SID entries when we want to 
402       logon offline.
405 o   Steve French <sfrench@us.ibm.com> 
406     * Allow prepaths in mount.cifs.
407     * Don't prompt for a password in mount.cifs when sec=none has been 
408       specified.
411 o   Steve Langasek <vorlon@debian.org>
412     * BUG 4600: Fix compilation of --with-python.
415 o   Volker Lendecke <vl@samba.org>
416     * Fix memory corruption bug in string_replace().
417     * Fix valgrind error in parse_domain_user().
418     * Fix compilation of explicit --without-winbind.
419     * Fix an uninitialized variable and other compiler warnings.
420     * Fix memory leak in smbd's claim session code.
421     * BUG 4613: Fix incorrect password expiration caused by stomping on 
422       the time values in the NET_USER_INFO_3 for remote users.
423     * Fixes for CVE-2007-2446.
426 o   Stefan Metzmacher <metze@samba.org>
427     * Add AC_GNU_SOURCE macro in libreplace for systems which don't have it.
428     * Fix libreplace compiler warnings.
431 o   Jens Nissen <jens.nissen@gmx.net>
432     * Fix memory leak on the file/directory ACL processing code.
435 o   Simo Sorce <idra@samba.org>
436     * Memory allocation cleanups and sanity checks after the malloc(0)
437       == NULL crusade.
438     * Fix socket leak in idmap_ldap.c.
439     * Fix failure in "net idmap restore".
440     * Fix crash bug in idmap_ldap's get_credentials() code.
441     * Fixes for CVE-2007-2446.
444 o   Alison Winters <alisonw@sgi.com>
445     * Add missing return calls in sendfilereadbraw.
448 Changes since 3.0.24
449 --------------------
452 commits
453 -------
455 o   Michael Adam <ma@sernet.de>
456     * Patch to lib/sysquotas_linux.c replacing some "get"s by "set"s.  
457       This makes the difference between the get and set calls for
458       SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE. 
459     * Prevent collision from config.h created by stand alone component
460       builds.
463 o   Jeremy Allison <jra@samba.org>
464     * Fix CIFS POSIX unlink behavior.
465     * Change POSIX_UNLINK to allow clients to differentiate between 
466       unlink/rmdir calls.
467     * Add smbclient implementations of POSIX open/mkdir/unlink/rmdir.
468     * Refactor MS-DFS server and client code.
469     * Support deep MS-DFS referrals in Samba client applications.
470     * Change the VFS interface to use struct timespec for utimes.
471     * Fix build failures on *BSD platforms caused by introduction of 
472       memalign().
473     * Optimize exit path in the byte-range locking code in smbd to 
474       only read the locking db if there are outstanding lock requests.
475     * Fix long-standing bug in our chain processing code.
476     * BUG 4384: Fix bug in old search code.
477     * Add support for the UNIX_INFO2 info level.
478     * Add in the "create info" field to the reply from POSIX_OPEN 
479       and POSIX_MKDIR.
480     * Refactor the sessionsetupX code a little to allow us to return 
481       a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client.
482     * Fix memory leaks in the LDAP sasl bind code.
483     * Fix crash in vfs audit/full audit modules caused by API changes.
484     * Fix connection problem between pre-3.0.25 smbclient and new DFS
485       server code.
486     * Fix valgrind errors in credentials.c.
487     * Fix logic error in CIFS POSIX extensions for open() and mkdir().
488     * Fix if logic error when checking for password resets of machine
489       trust accounts in Samba's passdb.
490     * Ensure we use the same technique to pull the share mode data out
491       that locking.c does.
492     * Fixes buffer parsing in the server side Lanman and RAP calls.
493     * Fix GetPrinter() info level 3 to fix displaying and setting
494       security descriptors on printers from WinXP x86_64 clients.
495     * Return correct error code to the trans2 GetDfsReferral() request
496       from Vista clients (fixes listing share contents in the Vista
497       explorer.exe).
498     * BUG 4486: Fix the exclude_dir parameter in the VFS recycle
499       plugin.
500     * Consolidate the become_root_uid_only() calls to only use
501       become_root().
502     * Add vfs_readahead module to deal with the pipe-lined reads 
503       from Vista clients.
504     * BUG 4404: Fix server SMB/CIFS protocol bugs that broke Vista
505       clients trying to utilize offline file support.
506     * BUG 4494: Make sure to fail immediately if sendfile fails and
507       don't continue on to call chain_reply() (based on report from
508       Kevin Jamieson).
509     * Remove tdb.h from the libsmbsharemodes.so header file.
510     * BUG 3634: Fix crash in nmbd caused by a bad "interfaces" include
511       in smb.conf.
512     * Add initial version to winbindd_cache.tdb file.  Automatically
513       delete existing non-versioned cache files.
514     * Fix the storage size of time_t in winbindd_cache.tdb to be 8
515       bytes.
516     * Cope with signature errors on sessionsetupX logins where the
517       server just reflects our signature back to us. Allow the upper 
518       layer to see the real error.  
519     * BUG 4512: Limit the volume label for a share to 32 UNICODE
520       characters.
521     * Allow arbitrary bases in int and ulong parsing in smb.conf.
522     * Fix off-by-one error in tconX parsing.
523     * Winbind off-line logon fixes.
524     * Support for AD sites when locating domain controllers.
525     * Fix libsmbclient bug with Konqueror and NetApp filers that need 
526       a leading / in OpenAndX calls. 
527     * BUG 4187: Possible crash in signing on/off code.
528     * Fix memory leaks in pam_winbind.c.
529     * Fix a bug in the sequence number store/fetch routines in
530       winbindd_cache.tdb.
531     * Fix the problem with Linux clients requesting O_WRONLY on write-only
532       files.
533     * Fix a class of memory allocation bugs in the handling of user tokens.
534     * Fix crash bug in winbindd caused by a bug in the messaging dispatch
535       code.
536     * Fix memory bloat in trans calls caused by talloc()'ing memory off the
537       wrong context.
538     * Fix wildcard renames with SMBmv.
539     * Fixes for pathname handling code.
540     * Add in the wdel smbclient command to perform wildcard deletes.
541     * Fix a bug that causes smbd to 'hang' intermittently while updating
542       the trusted domain cache.
543     * Cleanup error path processing in reduce_name().
544     * Fixes for smbtorture tests (BASE-DELETE, ...)
545     * Delete on close fixes ("I completely understand it this time").
546     * Remove unneeded checks on incoming uid/gid for mknod (fifo) Unix
547       extensions code.
548     * More fixes for Unix Extensions include support for POSIX locking.
549     * NTLMv2 fixes for Vista clients.
550     * Add an optimized lookup for Domain Users and only report the current
551       user (which is generally what the calling application wants to know 
552       anyways).
553     * Fixes for supporting the Vista backup utility based on work by Joe
554       Meadows <jameadows@webopolis.com>.
555     * Fix 4377: Fix rename of "foo" -> "Foo".
556     * BUG 4188: Fix for Vista delete directory bug.
557     * BUG 4400: Add support for processing large Krb5 tickets in SMB
558       sesssetup&X.  Based on work by <todd.stecher@isilon.com>.
559     * Fix trans2 file size reporting for Linux CIFS client.
560     * Allow Well-Known and Local Groups to be stored in POSIX ACLs
561       as long as there is a SID/gid mapping entry available.
562     * Fix memory corruption bug in the CIFS POSIX open/mkdir.
563     * BUG 4536: Correctly delete symlinks pointing to a directory.
566 o   Danilo Almeida <dalmeida@centeris.com>
567     * Add additional debug support for pam_winbind.
568     * Add support for listing multiple groups in pam_winbind's 
569       require-membership-of option which act as a logical OR.
572 o   Andrew Bartlett <abartlet@samba.org>
573     * Ensure debug messages from tools print the correct config file 
574       location if the file was defined as a command line option.
577 o   Andrew Benham <andrew.benham@thus.net>
578     * BUG 4290: Properly compute time to password expiration in message
579       from pam_winbind.
582 o   Alexander Bokovoy <ab@samba.org>
583     * Ensure nfsv4 chown logic is controlled by "nfs4:chown=[yes|no]".
584     * Add GPFS-provided DMAPI support
587 o   Kai Blin <kai.blin@gmail.com>
588     * Match Windows NTLMSSP flags.
591 o   Gerald (Jerry) Carter <jerry@samba.org>
592     * Implement pluggable "winbind nss info" interface.
593     * Removal of unmaintained smbwrapper utility.
594     * Fix server affinity bugs in the 'net ads join' code to include
595       support for AD sites.
596     * Implement DDNS update client code.
597     * Upper case the host/sAMAccountName in the keytab file.
598     * Fix lookupname call in winbindd when joined to a child domain and
599       trying to resolve a SID in a sibling domain.
600     * Fix password changes against a Windows 2000 DC using pam_winbind.
601     * Fix crash in "pdbedit -L -w"
602     * Add "winbind normalize names" option.
603     * BUG 4093: Make %a resolve correctly for Windows Vista and Windows 
604       XP 64bit clients.
605     * Printing fixes for Windows Vista.
606     * Protect the sasl bind against a NULL principal string in the 
607       SPNEGO negTokenInit
608     * Fix some "cannot access LDAP when no root" bugs.
609     * NSS and PAM fixes on AIX.
610     * Cached credentials and Krb5 ticket renewal fixes in winbindd.
611     * Fix server affinity bug in Winbind's ADS connection handling.
612     * Fix crash when enumerating local group membership in usrmgr.exe
613       on a Samba DC.
614     * Rework parsing for NetFileEnum() and NetSessionEnum()
615     * Add server stub for NetFileClose()
616     * Return correct information for sessions and open files
617       including session duration, number of open files, and open pipes.
618     * Fixes for "winbind normalize names" functionality: 
619       - Fix getgroups() call called using a normalized name
620       - Fix some more name mappings that could cause for example
621         a user to be unable to unlock the screen as the username
622         would not match in the PAM authenticate call.
623      * Blacklist BUILTIN and MACHINE domains from the idmap domains as 
624        these should only be handled by the winbindd_passdb.c backend.
625      * Allow the alloc init to fail for backwards compatible 
626        configurations such as with idmap_ad.
627      * Remove the deprecated flags from idmap backend, et. al. These 
628        are mutually exclusive with the "idmap domains".
629      * Add the osname and osver options to 'net ads join'
630     * Ensure winbindd honors the "idmap domains" option and not 
631       default to idmap_tdb.
632     * Fix memory corruption caused by calling free() on talloc()'d
633       memory when adding and removing users from local groups.
634     * BUG 4501 (partial): Fix crash bugs in idmap_ad plugin by adding
635       the schema_mode option when using "winbind nss info = template".
636     * BUG 4491, 4501 (partial): Disable attempts to allocate a uid/gid if no
637       idmap alloc backend has been defined.  Do not defined a default
638       alloc backend.
639     * Fix "make install" to include creating the links between
640       idmap_ad and the nss_info_rfc2307 and nss_info_sfu plugins.
641     * Enable the --with-dnsupdate in the Fedora/RHEL RPM packaging
642       files.
643     * BUG 4508: Remove potential loops in the idmap API by requiring
644       the caller defined the SID type rather than having the idmap layer
645       call back up to determine the SID type when allocating
646       uids/gids.
647     * Don't inherit the offline flag for winbindd_domains that have
648       not been initialized yet.
649     * Fix a crash in idmap_ldap caused by a NULL pointer dereference.
650     * Fix deadlock and timeout conditions in idmap_rid.
653 o   Steven Danneman <steven.danneman@isilon.com>
654     * Memory leak fixes.
655     * Fix core dump when config file in same directory.
658 o   Mathias Dietz <mdietz@de.ibm.com>
659     * Initial implementation of the GPFS VFS module.
660     * Work on NFSv4 ACL VFS plugin.
661     * Add support for share modes to the GPFS VFS plugin.
664 o   Guenther Deschner <gd@samba.org>
665     * Winbind off-line logon fixes.
666     * Support for AD sites when locating domain controllers.
667     * Various fixes for 'net ads' user management functions.
668     * Add an CLDAP client written in Perl.
669     * Cleanups to the Krb5 ticket refresh code in winbindd.
670     * Fixes for various error messages from pam_winbind when password
671       policies are being enforced.
672     * Implement grace logons for offline authentications in pam_winbind.
673     * Fixes for idmap_ad.
674     * Memory leak fixes.
675     * BUG 4009: Fixes leaking file descriptors (CLOSE_WAIT) in winbindd
676       with short lived service tickets
677     * Implement basic AD group policy library
678     * Adding experimental krb5 lib locator plugin.
679     * Ensure that Samba clients are correctly reported by the %a 
680       smb.conf as "Samba" and not "Vista".
681     * Prevent a user from issuing a PAM_DELETE_CREDS request in 
682       pam_close_session() for another user.
683     * Fix tdb keynames in netsamlogon_clear_cached_user().
684     * Add missing proto_exists dependency for the Winbind NSS target
685       in the Makefile.
686     * Build fixes when linking against Heimdal 0.8 Kerberos libraries.
687     * Build fixes when using older Heimdal Krb5 libs (e.g. 0.6.3).
688     * Memory allocation error checks in libgpo.
691 o   Steve French <sfrench@us.ibm.com> 
692     * Fix mount.cifs compile on old libc missing bind mount #define.
695 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
696     * Fix memory leaks in the error paths used by winbindd's credential 
697       cache code.
698     * BUG 4409: Add minsize parameter to the vfs_recycle plugin.
699     * BUG 3319: Ensure that 'hide unreadable' does not filter MS-DFS links.
702 o   Krishna Ganugapati <krishnag@centeris.com>
703     * Implement DDNS update client code.
706 o   YAMASAKI Hiroyuki <h-yamasaki@pd.jp.nec.com>
707     * BUG 4346: Fix type reported for hidden shares via MS-RPC.
710 o   David Hu <david.hu@hp.com>
711     * BUG 4267: Fix memory leaks in ldapsam.
714 o   Bjoern Jacke <bj@sernet.de>
715     * BUG 4244: Limit stat cache to a default of 1MB.
718 o   William Jojo <jojowil@hvcc.edu>
719     * BUG 3713: Re-add reporting what the profiles tool does (-v).
720     * BUG 3632: Fix for EISCON in open_any_socket_out() on AIX.
721     * BUG 4447: Fix compile failure on AIX 5.2.
724 o   Taj Khattra <taj.khattra@gmail.com>
725     * Fix missing lock count release in transaction cancel.
728 o   Zack Kirsch <zack.kirsch@isilon.com>
729     * Fix memory leaks on some error paths.
730     * Memory leak fixes on error paths in various places.
733 o   Derrell Lipman <derrell@samba.org>
734     * BUG 4115: Fix for using kerberos logins in libsmbclient.so.
735     * BUG 4309: Prevent netbios keepalive on port 445 which causes
736       Vista to disconnect Samba clients.
737     * Ensure that the libsmbclient example programs link with the
738       libsmbclient library that's part of the current tree.
741 o   Volker Lendecke <vl@samba.org>
742     * Replace snum references with a structure based array.
743     * Allow changing of the hashsize when running tdbbackup.
744     * Implement secure DDNS update code
745     * Klocwork, Coverity, and IBM Checker fixes.
746     * BUG 4273: Fix crash in 'net rpc vampire'
747     * Refactor older SMB file serving code.
748     * Refactor open directory file serving code.
749     * Implement support for inotify when serving CIFS change notification
750       requests (includes merge work from SAMBA_4_0).
751     * Fixes to allow Samba 3.0 to pass various smbtorture tests (RAW-OPEN,
752       RAW-UNLINK, RAW-CLOSE, ...)
753     * Refactor delete on close file server code.
754     * MS-DFS fixes for Vista clients.
755     * BUG 4372: Long timeout in LDAP setup when accessing files after 
756       10 secs.
757     * Change the static array for the in-memory mirrors of the hash chain
758       locks to a dynamically allocated one.
759     * Use inotify for file change notification on Linux.
760     * Revert "msdfs root" to default to "no".
761     * Refactor AIO code.
762     * Fix memory leaks when returning user lists to clients via SAMR calls.
763     * BUG 4365: Fix NTLMv2 implementation on Samba member servers not 
764       running winbindd.
765     * Reduce contention on the tdb free list by periodic reclamation
766       of dead tdb records into groups
767     * Split tdb free lists per hash chain.
768     * Coverity fixes.
769     * Add winbindd_priv_request_response() request that kills the 
770       existing winbind pipe connection if it's not privileged to prevent
771       race conditions during the challenge/response authentication sequence.
772     * BUG 4460: Fix compile error in winbind_nss_irix.c.
773     * Fix Coverity bug reports.
774     * Fixes buffer parsing in the server side Lanman and RAP calls.
777 o   David Leonard <dleonard@vintela.com>.
778     * Fix file descriptor leak from an error path in winbindd.
779     * BUG 4369: Fix smbclient's showacls on files in subdirectories.
782 o   Herb Lewis <herb@samba.org>
783     * Cleanups to sharesec utility.
784     * Compiler warning cleanups.
785     * Compiler warning fixes.
786     * Allow smbcontrol to use POPT_COMMON_SAMBA options to allow setting
787       debug level.
788     * Add "debug prefix timestamp" to allow syslog type timestamps to be 
789       added in the Samba log files.
790     * Fix compile error in nmbd_incomingdgrams.c.
791     * Allow profiling level to be set on startup.
794 o   Ying Li <ying.li2@hp.com>
795     * Use the default tdb idmap plugin when neither idmap domains
796       nor idmap backend have been defined.
799 o   Jason Mader <jason@ncac.gwu.edu>
800     * Various compile warning fixes. 
801     * Initial patch set for strptime() in libreplace.
804 o   Don McCall <don.mccall@hp.com>
805     * Fix compile bug in vfs_default on platforms without utimes().
806     * HP-UX compile fixes.
809 o   Jim McDonough <jmcd@us.ibm.com>
810     * Bug fixes for GPFS VFS module.
811     * Fix "password never expires" policy which would be incorrectly 
812       require all users to change their password at login time.
813     * Fix the GPFS VFS module to pass the POSIX ACL tests (Thanks to
814       Gomati Mohanan).
815     * Fix crate_user() access checks when setting the "User Cannot 
816       Change Password" flag.
819 o   Stefan Metzmacher <metze@samba.org>
820     * POSIX ACL compile warning fixes.
821     * Fix --with-fhs, where confdir is set to \${sysconfdir} but
822       sysconfdir wasn't defined in the Makefile.
823     * Add localstatedir to configure.in for completeness.
824     * BUG 4496: Fix libreplace failure on ulibc systems.    
825     * Merge numerous libreplace fixes from the SAMBA_4_0 code base 
826       (stdint.h, stdbool.h, unsetenv, strptime(), strtoll(), et. al.).
827     * Move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace.
828     * Portability fixes for dlopen() (merge from SAMBA_4_0)
829     * Sync libreplace (merge from SAMBA_4_0)
832 o   Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
833     * AIX quota fixes.
836 o   Gomati Mohanan <gomati.mohanan@in.ibm.com>
837     * Work on NFSv4 ACL VFS plugin.
840 o   Lars Mueller <lars@samba.org>
841     * Provide better feedback about deprecated use of multiple passdb
842       backends.  Use the first backend to have at least this one working.
843     * Fix make install to include smbmount, et. al. docs.
844     * Merge more proto_exists dependency fixes from SAMBA_3_0.
845     * Makefile cleanups.
846     * Log the reason for failures when not creating a core file on a
847       crash due to restrictive permissions on the log file directory.
850 o   James Peach <jpeach@apple.com>
851     * Replace exit_server with exit_server_cleanly where appropriate.
852     * Add docs for VFS modules.
853     * Portability fixes for autoconf and character set modules on 
854       OS X.
855     * Only attempt to reload the config file after the fork point 
856       if we are in daemon mode.
857     * Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.
858     * Changing the FindFirst response for the UNIX_INFO2 level to
859       include a length field before the name.
860     * Add call to chflags(2) in the default VFS module.
863 o   Andy Polyakov <appro@fy.chalmers.se>
864     * Pull the CUPS comment and location attributes when not overridden 
865       by values stored in Samba's ntprinters.tdb.
866     * BUG 3275: Allow upload of x64 printer drivers by relaxing the COFF 
867       header parsing code in smbd.
870 o   J Raynor <raynorj@mn.rr.com>
871     * Make sure we are privileged when doing DMAPI operations on systems
872       that don't have capability support.
875 o   Jorge Santos <jorge_a_santos@hotmail.com>
876     * BUG 4500: Fix compile bug in quota.c.
879 o   Jiri Sasek <jiri.sasek@sun.com>
880     * Fix incorrect Krb5 linking on Solaris.
881     * Fix possible NULL dereference in adt_tree.c
884 o   Karolin Seeger <ks@sernet.de> 
885     * Fix a compile problem in shadow_copy_test.c.
886     * Add 'net sam policy' commands.
887     * Fixes for "net usershare" and "guest_ok=y"
890 o   Robert Shearman <rob@codeweavers.com>
891     * Allow NULL domain and username in the form of user@domain to be 
892       interpreted correctly by ntlm_auth for use by Wine applications.
895 o   Simo Sorce <idra@samba.org>
896     * Remove redundant log messages from idmap_ad.c.
897     * BUG 3974: Fix ambiguity between the -N option and the -T
898       tar options.
899     * Fix linking flags used when creating shared libraries.
900     * Offline logon fixes in the idmap backend manager.
901     * Cleanup initialization code in the sfu and rfc2307 nss_info
902       plugins to protect against a crash if called before the idmap_ad
903       module has been initialized.
904     * Protect against crashes in get_dc_name() in the idmap_ad code
905       when we are working offline.
906     * BUG 4438, 4440: Fix bugs in "net sam provision".
907     * Initial implementation of new IdMap interface.
908     * Fix crash in pam_winbind caused by referencing a pointer after the 
909       memory had been freed.
910     * Implement escaping function for ldap RDN values.
913 o   Peter Somogyi <SOMOGYI@de.ibm.com>
914     * Work on NFSv4 ACL VFS plugin.
917 o   Andrew Tridgell <tridge@samba.org>
918     * Fix an integer overflow in the ndr library code used by PIDL.
921 o   Jelmer Vernooij <jelmer@samba.org>
922     * Implement support for IDL autogenerated code to
923       handle the MS-RPC parsing functions.
926 o   Don Watson <dwwatson@us.ibm.com>
927     * Fixes for 'net rpc vampire' and the guest account
930 o   Martin Zielinski <mz@seh.de>
931     * Printing fixes for Windows Vista clients.
934       --------------------------------------------------
935                    ==============================
936                    Release Notes for Samba 3.0.24
937                              Feb 5, 2007
938                    ==============================
941 Important issues addressed in 3.0.24 include:
943   o Fixes for the following security advisories:
944     - CVE-2007-0452 (Potential Denial of Service bug in smbd)
945     - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
946       NSS library on Solaris)
947     - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)
950 ######################################################################
951 Changes
952 #######
954 Changes since 3.0.23d
955 ---------------------
957 commits
958 -------
960 o   Jeremy Allison <jra@samba.org>
961     * Fix for CVE-2007-0452 & CVE-2007-0454
964 o   Olivier Gay <ouah@ouah.org>
965     * Fix for CVE-2007-0453
968 o   Volker Lendecke <vl@samba.org>
969     * Fix for CVE-2007-0452
972       --------------------------------------------------
973                    ===============================
974                    Release Notes for Samba 3.0.23d
975                              Nov 14, 2006
976                    ===============================
978 This is the latest stable release of Samba. This is the version 
979 that production Samba servers should be running for all current 
980 bug-fixes.  Please read the changes in this section and for the 
981 original 3.0.23 release regarding new features and difference 
982 in behavior from previous releases.
984 Important issues addressed in 3.0.23d include:
986   o Stability fixes for winbindd
987   o Portability fixes on FreeBSD and Solaris operating systems.
989 ######################################################################
990 Changes
991 #######
993 Changes since 3.0.23c
994 ---------------------
996 commits
997 -------
999 o   Jeremy Allison <jra@samba.org>
1000     * Changes to ntlm_auth to better support Firefox's NTLM 
1001       authentication.
1002     * Make the "max usershares" parameter an advisory limit.
1003     * BUG 4095: Cleanup bad substitution causing the username 
1004       to be translated to domain\user twice in spnego path. 
1005     * BUG 4097: Ensure all pdb_XXX calls are wrapped in 
1006       [un]become_root() pairs.
1007     * Ensure we always return the canonicalized name 
1008     * Add in fixes to mangling dir code.
1009     * Do not assume that gencache can always be opened for RW access.
1010       Fall back to RO.
1011     * Always initialize variables in winbindd request/response 
1012       structure.
1013     * Fix libsmbclient bug with Konqueror and NetApp filers that 
1014       need a leading / in OpenAndX calls. 
1015     * Added showacls toggle in the smbclient code.
1016     * Add a suffix to the pidfile's program name if this is a process
1017       with a non-default configuration file name.
1018     * Fix protection from invalid struct tm values.
1019     * BUG 4187: Possible crash in signing on/off code.
1020     * BUG 4214: Fix crash bug in find_forced_group().
1021     * BUG 4224: Fix enforcement of the deadtime parameter.
1024 o   Timur Bakeyev <timur@com.bat.ru>
1025     * BUG 3856: Set the nss soname version on FreeBSD.
1026     * BUG 4109: Fix bug causing smbd to turn off winbindd and 
1027       fail to disable the _NO_WINBIND environment.
1028     * BUG 3868: Prevent --with-aio-support from trimming the 
1029       $LIBS variable in configure.in.
1032 o   Dmitry Butskoy <dmitry@butskoy.name>
1033     * BUG 4075: Allow smbd to use winbindd to lookup uids/gids 
1034       outside the idmap range if 'winbind trusted domains 
1035       only = yes'.
1038 o   Gerald (Jerry) Carter <jerry@samba.org>
1039     * Fix primary group lookup failures.  Use the Get_Pwnam_alloc() 
1040       call to ensure it finds the Unix user first.
1041     * Only grant privs to Administrators if privileges are enabled 
1042       to avoid bogus error messages in the logs.
1045 o   Alex Deiter <tiamat@komi.mts.ru>
1046     * BUG 3524: Fix for quota support on Solaris.
1049 o   Guenther Deschner <gd@samba.org>
1050     * Close socket when the CLDAP request has failed.
1051     * Memory leak fixes in the libads/ldap.c code.
1052     * Printer publishing fixes for "net ads".
1053     * Fix error code returns in the CLDAP client code.
1054     * Do not anonymously query for AD schema items in winbindd.
1055     * Protect against storing null-sids in the winbind cache.
1056     * Fallback to non-paging LDAP searches for anonymous bound 
1057       connections.
1058     * More workarounds when nscd.
1059     * Fix error code typoe in the GetDcName() netlogon call  
1060       (including two new error codes).
1061     * Fix valgrind warnings in pam_winbind
1062     * Add two missing refresh_sequence_number calls where they are 
1063       missing just before writing to the winbind cache tdb.
1064     * Attempt to locate a valid domain controller before prompting
1065       for credentials in "net ads".
1066     * Set 35 second timeout in winbindd's netlogon code when sending 
1067       a GETDC request.
1068     * Stop "net ads {user,group} delete" from doing funny things.
1069     * Fix container handling for "net ads user" and "net ads group" 
1070       functions.
1071     * Fix various memleaks and seg faults in "net ads {user,group}".
1074 o   Udo Eberhardt <udo.eberhardt@thesycon.de>
1075     * BUG 4100: Fix crash in the server spooler code by initializing 
1076       values for smb_io_notify_info_data_strings.
1079 o   Olaf Flebbe <o.flebbe@science-computing.de>
1080     * BUG 4133: pam_winbind.c compile fix on AIX 5.1.
1083 o   David Hu <david.hu@hp.com>
1084     * BUG 4212: Fix memleak in the default_ou_string handling.
1087 o   Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
1088     * BUG 4229: Compile fix for systems without kerberos.
1091 o   Volker Lendecke <vl@samba.org>
1092     * NTLMSSP LanMan session key fixes.
1093     * Various potential seg fault fixes.
1094     * Extra logic in share access checks for bad smb.conf parameter 
1095       settings.
1096     * Fixes to allow smbclient to connect to Vista RC1 workstations.
1097     * Fix bad search filter in ldapsam when enumerating group 
1098       members.
1101 o   Jim McDonough <jmcd@us.ibm.com>
1102     * Correctly handle the password expiration policy on Samba DCs.
1105 o   Nils Nordman <nils.nordman@nordman.org>
1106     * BUG 4085: Allow smbpasswd to change expired passwords on 
1107       remote servers.
1110 o   Simo Sorce <idra@samba.org>
1111     * Merge uid2sid and gid2sid async calls for SAMBA_3_0.
1112     * Better fqdn handling when parsing the /etc/hosts file.
1113     * Fix crash bug in pam_winbind.
1115 o   Andrew Tridgell <tridge@samba.org>
1116     * Fix string alignment problem in password change code.
1119 o   Jim Wang
1120     * BUG 4211: Logic error when enforcing "acl group control"
1121       behavior.
1124 Release Notes for older release follow:
1126       --------------------------------------------------
1127                    ===============================
1128                    Release Notes for Samba 3.0.23c
1129                              Aug 30, 2006
1130                    ===============================
1132 We would like to thank the developers of the Saturn code analysis 
1133 tool from Stanford University (http://glide.stanford.edu/saturn).
1134 This release includes several code fixes based on its reports.
1136 Common bugs fixed in 3.0.23c include:
1138   o Authentication failures in pam_winbind when the AD domain
1139     policy is set to not expire passwords.
1140   o Authorization failures when using smb.conf options such
1141     as "valid users" with the smbpasswd passdb backend.
1144 RID Algorithms & Passdb
1145 =======================
1147 Starting with the 3.0.23c release, the officially supported passdb 
1148 backends (smbpasswd, tdbsam, and ldapsam) now operate identically
1149 with regards to the historical RID algorithm for unmapped users 
1150 and groups (i.e. accounts not in the passdb or group mapping table).
1151 The resulting behavior is that all unmapped users are resolved 
1152 to a SID in the S-1-22-1 domain and all unmapped groups resolve
1153 to a SID in the S-1-22-2 domain.  Previously, when using the 
1154 smbpasswd passdb, such users and groups would resolve to an 
1155 algorithmic SID in the machine's own domain (S-1-5-XX-XX-XX).
1156 However, the smbpasswd backend still utilizes the RID algorithm
1157 when creating new user accounts or allocating a RID for a new 
1158 group mapping entry.
1160 With the changes in the 3.0.23c release, it is now possible to 
1161 resolve a uid/gid, name, or SID in any direction and always obtain
1162 a symmetric mapping.  This is important so that values for smb.conf 
1163 parameters such as "valid users" resolve to the same SIDs as those 
1164 included  in the local user's initial token.
1166 Most installations will notice no change.  However, because
1167 an unmapped account's SID will now change even when using 
1168 smbpasswd it is possible that any security descriptors on files
1169 previously copied from a Samba host to a Windows NTFS partition
1170 may now fail to give access. The workaround is to either manually
1171 map all affect groups (or add impacted users to the server's 
1172 passdb) or to manually reset the file's ACL.
1175 ######################################################################
1176 Changes
1177 #######
1179 Changes since 3.0.23b
1180 ---------------------
1182 commits
1183 -------
1184 o   Michael Adam <ma@sernet.de>
1185     * Fix incorrect logic in internal_resolve_name() caused by if 
1186       statement.
1189 o   Jeremy Allison <jra@samba.org>
1190     * Don't store a NULL SID in winbindd's offline cache.
1191     * Ensure we store the offline password hash in the correct format.
1192     * OS/2 fixes for large Extended Attributes data.
1193     * Fix nmbd crashes caused by miscalculation in pushing 
1194       announcements.
1195     * Handle times consistently across all client utils including
1196       libsmbclient.
1197     * Fix a file descriptor leak in nmbd sync DNS lookup code.
1198     * Fix inconsistency found in checking for NULL in DLIST_REMOVE
1199       macro.
1200     * Pointer dereference fixes based on the Saturn analysis tool.
1201     * Fix memory leak in the AD DC lookup code.
1204 o   Gerald (Jerry) Carter <jerry@samba.org>
1205     * RHEL4  and Fedora packaging updates.
1206     * Remove RID algorithm support for unmapped users and groups
1207       when using an smbpasswd backend.
1208     * Extend the NT token for local users' with the S-1-22-2 
1209       SID for each supplementary group
1210     * BUG 3969: Fix unsigned time comparison with expiration 
1211       policy from AD DC.
1212     * Merge Guenther's fixes from the SuSE SLES10 tree to ensure 
1213       that winbindd talks to the correct DC when servicing PAM 
1214       authentication requests.
1215     * Do not use the generic IP address sort routines for AD DCs
1216       since the SRV lookup include a sorting algorithm based
1217       on priority and weight. 
1218     * Fix our DNS SRV lookup code to deal with multi-homed hosts.
1219     * More changes to ensure that the primary group SID for 
1220       a local user is based on the primary Unix group and not the
1221       primaryGroupSID passdb attribute.
1222     * Disable storing SIDs in the S-1-22-1 and S-1-22-2 domain 
1223       to the SID<->uid/gid cache.
1226 o   Guenther Deschner <gd@samba.org>
1227     * Fix msdfs RPC client and server management RPCs.
1228     * Align idmap_ad with the current idmap_methods interface.
1231 o   Volker Lendecke <vl@samba.org>
1232     * Re-add support for "username level" when looking up the 
1233       matching Unix user for an smbpasswd entry.
1234     * snprintf() fixes.
1237 o   Simo Sorce <idra@samba.org>
1238     * Let innetgr() work without binding its use to a 
1239       NIS domain to support netgroups in local files.
1242 o   Ben Winslow <rain@bluecherry.net>
1243     * Allow client smb signing to be turned off correctly.
1246       --------------------------------------------------
1247                    ===============================
1248                    Release Notes for Samba 3.0.23b
1249                              Aug 7, 2006
1250                    ===============================
1252 Common bugs fixed in 3.0.23b include:
1254   o Ambiguity with unqualified names in smb.conf parameters
1255     such as "force user" and "valid users".
1256   o Errors in 'net ads join' caused by bad IP address in the list
1257     of domain controllers.
1258   o SMB signing errors in the client and server code.
1259   o Domain join failures when using smbpasswd on a Samba PDC.
1262 Member servers, domain accounts, and smb.conf
1263 =============================================
1265 Since Samba 3.0.8, it has been recommended that all domain accounts 
1266 listed in smb.conf on a member server be fully qualified with the 
1267 domain name.  This is now a requirement.  All unqualified names are 
1268 assumed to be local to the Unix host, either as part of the server's 
1269 local passdb or in the local system list of accounts (e.g. /etc/passwd 
1270 or /etc/group).
1272 The reason for this change is that smbd has transitioned from
1273 access checks based on string comparisons to token based
1274 authorization.  All names are resolved to a SID and then verified
1275 against the logged on user's NT user token.  Local names will
1276 resolve to a local SID, while qualified domain names will resolve
1277 to the appropriate domain SID.  
1279 If the member server is not running winbindd at all, domain 
1280 accounts will be implicitly mapped to local accounts and their
1281 tokens will be modified appropriately to reflect the local 
1282 SID and group membership.
1284 For example, the following share will restrict access to the
1285 domain group "Linux Admins" and the local group srvadmin.
1287 [restricted]
1288         path = /data
1289         valid users = +"DOMAIN\Linux Admins" +srvadmin
1291 Note that to restrict the [homes] share on a member server to the 
1292 owner of that directory, it is necessary to prefix the %S value 
1293 to "valid users".
1295 [global]
1296         security = {domain,ads}
1297         workgroup = DOM
1298         winbind separator = +
1299 [homes]
1300         valid users = DOM+%S
1304 ######################################################################
1305 Changes
1306 #######
1308 Changes since 3.0.23a
1309 ---------------------
1311 commits
1312 -------
1313 o   Michael Adams <ma@sernet.de>
1314     * Fix memory leaks on error paths in 'net ads join'.
1317 o   Jeremy Allison <jra@samba.org>
1318     * BUG 3962: Fix memory leak when enumerating print jobs.
1319     * Fix file access flags for the Linux CIFS fs client.
1320     * Fix memory leaks in the smbclient DFS code.
1321     * BUG 3967: Fix SMB signing client bug in trans calls.
1322     * BUG 3985: Ensure in msdfs we check for our NetBIOS aliases.
1323     * Added lookup_name_smbconf() to be called when looking up names 
1324       from smb.conf.  Unqualified names are assumed to be local.
1325     * BUG 4003: Fix SMB signing server error in NTcancel reply.
1328 o   Gerald (Jerry) Carter <jerry@samba.org>
1329     * Fix a few "smbldap_open(): Cannot open when not root" bugs when 
1330       viewing or modifying local group membership.
1331     * Make LsaLookupSids() reply include the full SID of unresolved 
1332       SIDs.
1333     * BUG 3957: Prevent returning strange DC IP addresses by zeroing 
1334       memory in the SRV hostlist in case there is not an A record for 
1335       each SRV name.
1336     * BUG 3964: normalize the case of usernames prior to getpwnam() 
1337       call in the smbpasswd backend.
1338     * Cleanup the 'net ads help join' output and document createupn 
1339       and createcomputer options.
1340     * Fix a regression in the ldapsam URI syntax.  Allow multiple 
1341       LDAP URIs to be grouped by  "".
1344 o   William Charles <william@charles.name>
1345     * BUG 3959: Remove rand() from SRV RR comparison to fix crashes 
1346       in qsort().
1349 o   Guenther Deschner <gd@samba.org>
1350     * Fix memory leaks in pam_winbind.
1351     * Save the logon script path from the info3 in the PAM session 
1352       allowing other PAM modules to pick it up from there.
1355 o   Volker Lendecke <vl@samba.org>
1356     * BUG 3991: Fix problem with user tokens on standalone systems
1357       configured to use a username map.
1358     * Fix bug where qualified user or group names in smb.conf
1359       were assumed to use the '\' character as the winbind separator.
1361       --------------------------------------------------
1362                    ===============================
1363                    Release Notes for Samba 3.0.23a
1364                              Jul 21, 2006
1365                    ===============================
1367 Common bugs fixed in 3.0.23a include:
1369   o Failure to strip the domain name from groups when 'winbind 
1370     use default domain = yes'
1371   o Failure in pam_winbind to correctly parse arguments.
1372   o Bad token creation of local users on member servers not 
1373     running winbindd.
1374   o Failure to add users or groups to ACLs using the Windows
1375     object picker.
1376   o Failure in file serving code when 'kernel oplocks = yes'.
1378 New features in 3.0.23a include:
1380   o New "createupn" option to "net ads join"
1381   o Rewritten Kerberos keytab generation when 'use kerberos 
1382     keytab = yes'
1386 ######################################################################
1387 Changes
1388 #######
1390 Changes since 3.0.23
1391 --------------------
1393 commits
1394 -------
1395 o   Jeremy Allison <jra@samba.org>
1396     * Fix memory leaks in the POSIX locking for for the Linux CIFS fs 
1397       client.
1398     * Fix memory leaks in the AD schema parsing code.
1399     * Fixed bug in interaction with Linux kernel oplocks.
1402 o   Gerald (Jerry) Carter <jerry@samba.org>
1403     * Rewrite the detection of the correct DES salting principal name
1404       when joining an Active Directory Domain.
1405     * Rewrite the keytab generation code based on existing SPN, 
1406       UPN, and sAMAccountName attributes in the AD machine object.
1407     * Cleanup of dead code from idmap_ad.
1408     * Fix Winbind 32bit/64bit portability issues.
1409     * Fail 'net ads join' and disable the machine account if we cannot 
1410       set any SPNs for ourselves.
1411     * Make sure to lower case all usernames before calling the create, 
1412       delete, or rename hooks.
1413     * Preserve case for usernames in passdb
1414     * Flush the getpwnam cache after renaming a user
1415     * Add become/unbecome root block in _samr_delete_dom_user() when 
1416       trying to verify the account's existence.
1417     * Changed 'net ads join' syntax for specifying an alternate 
1418       OU.  New syntax is createcomputer=<ou path top to bottom>.
1419     * Add createupn=[UPN] option to 'net ads join' for setting the
1420       userPrincipalName attribute.
1421     * Bug 3920: Restore winbind use default domain behavior for domain 
1422       groups.  This break local users and 'winbind nested groups' on 
1423       domain members.
1426 o   Guenther Deschner <gd@samba.org>
1427     * Don't clear the cache when starting winbindd in off line mode.
1428     * Fix errno reporting in pam_winbind debug messages.
1429     * BUG 3937: Fix segv in libnss_wins.so.
1432 o   Volker Lendecke <vl@samba.org>
1433     * Fix memory leaks in the in error paths out of the CLDAP 
1434       request code.
1435     * AIX portability fixes for DNS client code.
1436     * BUG 3811, 3948: Fix alignment bug in on lsaquery. 
1437     * BUG 3949: Fixed authorization issue on domain member 
1438       servers not running winbindd.
1441 o   Andrew Tridgell <tridge@samba.org>
1442     * Fixed a bug which caused resolve_ads() to spin forever if 
1443       one of the DCs isn't resolvable in DNS.
1446 o   Simo Sorce <idra@samba.org>
1447     * Debian packaging fixes.
1450 o   Dietrich Streifert <dietrich.streifert@visionet.de>
1451     * BUG 3916: Fix error parsing pam_winbind config arguments.
1454 Release Notes for older release follow:
1456       --------------------------------------------------
1458                    ==============================
1459                    Release Notes for Samba 3.0.23
1460                             Jul 10, 2006
1461                    ==============================
1463 There has been a substantial amount of cleanup work done during 
1464 this development cycle.  We would like to thank both Coverity 
1465 (http://www.coverity.com/) and Klocwork (http://www.klocwork.com/)
1466 for analyzing the Samba source code. As a result, this release 
1467 includes fixes for over 400 defects.  The coverage was approximately 
1468 even with over 200 defects reported by each tool.
1470 Thanks very much to those people who spent time testing the 
1471 release candidates and reported their findings.  We would like to 
1472 especially thank Thomas Bork <tombork@web.de> for his numerous 
1473 reports.  We believe that the final release is in much better shape 
1474 in large part due to his efforts.
1476 New features in 3.0.23 include:
1478    o Improved 'make test'
1479    o New offline mode in winbindd.
1480    o New Kerberos support for pam_winbind.so.
1481    o New handling of unmapped users and groups. 
1482    o New non-root share management tools.
1483    o Improved support for local and BUILTIN groups.
1484    o Winbind IDMAP integration with RFC2307 schema objects supported 
1485      by Windows 2003 R2.
1486    o Rewritten 'net ads join' to mimic Windows XP without requiring 
1487      administrative rights to join a domain.
1490 User and Group changes
1491 ======================
1493 The user and group internal management routines have been 
1494 rewritten to prevent overlaps of assigned Relative Identifiers 
1495 (RIDs).  In the past the has been a potential problem when either 
1496 manually mapping Unix groups with the 'net groupmap' command or 
1497 when migrating a Windows domain to a Samba domain using 'net rpc 
1498 vampire'.
1500 Unmapped users are now assigned a SID in the S-1-22-1 domain and 
1501 unmapped groups are assigned a SID in the S-1-22-2 domain. 
1502 Previously they were assign a RID within the SAM on the Samba 
1503 server.  For a DC this would have been under the authority of the 
1504 domain SID where as on a member server or standalone host, this 
1505 would have been under the authority of the local SAM (hint: net 
1506 getlocalsid).
1508 The result is that any unmapped users or groups on an upgraded 
1509 Samba domain controller may be assigned a new SID.  Because the 
1510 SID rather than a name is stored in Windows security descriptors, 
1511 this can cause a user to no longer have access to a resource for 
1512 example if a file was copied from a Samba file server to a local 
1513 NTFS partition.  Any files stored on the Samba server itself will 
1514 continue to be accessible because Unix stores the Unix gid and not 
1515 the SID for authorization checks.
1517 A further example will help illustrate the change.  Assume that a 
1518 group named 'developers' exists with a Unix gid of 782 but this 
1519 user does not exist in Samba's group mapping table. it would be 
1520 perfectly normal for this group to be appear in an ACL editor.  
1521 Prior to 3.0.23, the group SID might appear as 
1522 S-1-5-21-647511796-4126122067-3123570092-2565. With 3.0.23, the 
1523 group SID would be reported as S-1-22-2-782. Any security 
1524 descriptors associated with files stored on an NTFS disk partition 
1525 would not allow access based on the group permissions if the user 
1526 was not a member of the 
1527 S-1-5-21-647511796-4126122067-3123570092-2565 group. Because this 
1528 group SID not reported in a user's token is S-1-22-2-782, Windows 
1529 would fail the authorization check even though both SIDs in some 
1530 respect referred to the same Unix group.
1532 The current workaround is to create a manual domain group mapping 
1533 entry for the group 'developers' to point at the 
1534 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
1537 Passdb Changes
1538 ==============
1540 The "passdb backend" parameter no long accepts multiple backends 
1541 in a chaining configuration.  Also be aware that the SQL and XML 
1542 based passdb modules have been removed in this release.  More 
1543 information of external support for a SQL passdb module can be 
1544 found at http://pdbsql.sourceforge.net/.
1547 Group Mapping Changes
1548 =====================
1550 The default mapping entries for groups such as "Domain Admins" are 
1551 no longer created when using an smbpasswd file or a tdbsam passdb 
1552 backend.  This means that it is necessary to use 'net groupmap 
1553 add' rather than 'net groupmap modify' to set these entries.  
1554 This change has no effect on winbindd's IDmap functionality for 
1555 domain groups.
1558 LDAP Changes
1559 ============
1561 There has also been a minor update the Samba LDAP schema file. A 
1562 substring matching rule has been added to the sambaSID attribute 
1563 definition.  For OpenLDAP servers, this will require the addition 
1564 of 'index sambaSID sub' to the slapd.conf configuration file.  It 
1565 will be necessary to run slapindex after making this change. There 
1566 has been no change to actual data storage schema.
1569 ######################################################################
1570 Changes
1571 #######
1573 smb.conf changes
1574 ----------------
1576     Parameter Name                      Description       Default
1577     --------------                      -----------       -------
1578     acl group control                   Deprecated        No
1579     add port command                    New               ""
1580     change notify timeout               Changed Scope
1581     dmapi support                       New               No
1582     dos filemode                        Modified          No
1583     enable asu support                  Changed default   No
1584     enable core files                   New               Yes
1585     enable privileges                   Changed default   Yes
1586     enable rid algorithm                Removed
1587     fam change notify                   New               Yes
1588     hosts equiv                         Removed
1589     host msdfs                          Changed default   Yes
1590     msdfs root                          Changed default   Yes
1591     open files database hash size       New               10007
1592     passdb expand explicit              Changed default   No
1593     strict locking                      Changed default   auto
1594     usershare allow guests              New               No
1595     usershare max shares                New               0
1596     usershare owner only                New               Yes
1597     usershare path                      New               ${lockdir}
1598     usershare prefix allow list         New               ""
1599     usershare prefix deny list          New               ""
1600     usershare template share            New               ""
1601     winbind enum users                  Changed default   No
1602     winbind enum groups                 Changed default   No
1603     winbind nested groups               Changed default   Yes
1604     winbind offline logon               New               No
1605     winbind refresh tickets             New               No
1606     winbind max idle children           Removed
1607     wins partners                       Removed
1610 Changes since 3.0.22
1611 --------------------
1613 commits
1614 -------
1615 o   Jeremy Allison <jra@samba.org>
1616     * Fixes for various Klocwork defect reports.
1617     * Cleanup pdb_get_XXX() methods and ensure that a failure
1618       to allocate memory for a samu user structure is reported 
1619       as a failure to the calling function.
1620     * Fix memleak in printing gencache contents.
1621     * Fix warnings reported by gcc4 -O6 on 64-bit systems 
1622     * Fix naming conflicts with 'net usershare' structures and 
1623       Solaris header files.
1624     * Fix memleaks on error paths from the ASN.1 parsing code.
1625     * Add uid to share_mode_entry structure so we can report who 
1626       opened the file.
1627     * Ensure we use sys_write in password chats so we're not 
1628       interrupted.
1629     * Ensure all new rid allocation goes through the same pdb_ldap 
1630       interface.
1631     * BUG 3308: Stop us returning duplicate mid replies on path 
1632       based set-EOF trans2 calls.
1633     * Pass RAW-OPLOCK with kernel oplocks off.
1634     * Fix bug in OS/2 Warp - it doesn't set the ff_last offset 
1635       correctly when doing info level 1 directory scans.
1636     * Add Samba4 replacement for timegm() to work on Solaris.
1637     * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
1638     * BUG 3592: Ignore a file in the tar output from smbclient if the 
1639       read failed (e.g. due to ACCESS_DENIED).  (Based on ideas from
1640       Justin Best <justinb@pdxmission.org>).
1641     * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
1642     * Push/Pull Kerberos principal and realm names to/from UTF-8.
1643     * Fix incorrect boolean in assert to make POSIX lock tests
1644       pass with CIFSFS.
1645     * Don't ever set O_SYNC on open unless "strict sync = yes".
1646     * Remove dead printing code.
1647     * Allow configurable guest access to Samba's usershare functionality.
1648     * BUG 3587: Make byte-range locking tdb self-cleaning.
1649     * Ensure every exit error path in the session setup code calls 
1650       nt_status_squash().
1651     * Use portable wrapper functions instead of seteuid directly in 
1652       winbindd.
1653     * Make "change notify timeout" a per-share parameter.
1654     * Fix regression in SAMBA_4_0's smbtorture DENY tests.
1655     * Fix valgrind-spotted issue in BASE-DELETE test.
1656     * Fix early termination condition in winbindd when trying to 
1657       connect to a remote DC.
1658     * Instruct winbindd to ignore fd_set when select() returns -1.
1659     * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
1660       with select returning true but no data being available.
1661     * Back port talloc_steal() fixes from SAMBA_4_0 (original fixes by 
1662       Andrew Tridgell).
1663     * BUG 3467: Fix delete on close semantics needed by WinXP Media 
1664       Center Ed. for simultaneous recording and playback (thanks to 
1665       Jason Qian for the debugging assistance).
1666     * BUG 3347: Save the Unix user token used to set the 
1667       delete-on-close flag.
1668     * Fix parsing of SAMR_Q_CONNECT_ANON.
1669     * Add in support for userinfo26 structure and re-enable 
1670       userinfo25 
1671     * Schannel server fixes.  Fix the credentials chaining across 
1672       \netlogon pipe disconnects.
1673     * Replace ubqix code in nmbd with an internal tdb.
1674     * Fix struct timespec checks in configure.in.
1675     * Add in server support for the NetSamLogonEx().
1676     * Add support for LsaLookupSids2() and LsaLookupSids3().
1677     * Add LsaLookupNames[2-4]().
1678     * Add support for 'net usershare'.
1679     * BUG 3522: Fix error code return on SMBmkdir(foo) when foo 
1680       already exists (thanks to Sandeep Tamhankar).
1681     * BUG 3510: Fix 'net rpc join' against a server when 
1682       schannel is disabled.
1683     * Get rid of poor errno mapping table. Bounce through NTSTATUS 
1684       instead.
1685     * Check for SeMachineAccountPrivilege when deleting machine 
1686       accounts.
1687     * Fix a logic bug with multiple oplock contention.
1688     * Add the replacements for opendir/readdir etc from SAMBA_4_0.
1689       Attempt to fix the broken directory handling in the *BSD.
1690     * Allow run time tuning of the locking tdb hash size for
1691       very busy servers.
1692     * BUG 3642: Ensure we don't call FD_SET on read with 
1693       fd == -1.
1694     * BUG 3569: Work around linear posix locking issue on AIX
1695       which was causing high loads due to the tdb CLEAR_IF_FIRST
1696       flag (based on work from William JoJo).
1697     * Fix OS/2 directory delete bug found by kukks.
1698     * Match the Windows 2003 NTLMSSP signature.
1699     * Performance tuning work in core read & write file serving 
1700       paths.
1701     * Change default to 'strict locking' to better reflect 
1702       real world clients.
1703     * Fix error return on session setup. Ensure no data blob is 
1704       added if the logon call failed so that Windows clients 
1705       interpret the NT_STATUS code correctly.
1706     * Teach Samba the difference between exclusive and batch 
1707       oplocks.
1708     * BUG 3592: Ignore a file in a smbtar output if the first 
1709       read fails (inspired by Justin Best).
1710     * BUG 3668: Workaround Windows bug with LARGE_READX where if 
1711       you ask for exactly 64k bytes it returns 0.
1712     * BUG 3858: Ensure that all files are removed by a wildcard 
1713       delete when 'hide unreadable = yes'.
1714     * Fix various issues raised by the Klocwork code analyzer.
1715     * Fix nmbd WINS serving bug causing duplicate IPs in the *<1b> 
1716       query reply ("enhanced browsing = yes").
1717     * Fix SMB signing failures in client tools.
1718     * BUG 3909: Avoid EA lookups on MS-DFS links.
1721 o   Andrew Bartlett <abartlet@samba.org>
1722     * Work around abort() in the OpenLDAP client libs caused by a NULL 
1723       msg pointer.
1726 o   Timur Bakeyev <timur@com.bat.ru>
1727     * BUG 2961: Fix compile warnings for pam_smbpass.
1728     * BUG 2746, 3763: Fix compile warnings in pam_winbind.
1731 o   Alexander Bokovoy <ab@samba.org>
1732     * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
1733     * Fix absolute symlinks in the installbin.sh script.
1736 o   Max N. Boyarov <m.boyarov@sam-solutions.net>
1737     * Fix crash bug in perfmon daemon example code.
1740 o   Nicholas Brealey <nick@brealey.org>
1741     * Compile fix for pam_winbind.
1744 o   Gerald (Jerry) Carter <jerry@samba.org>
1745     * Fix 'make install' problem when building outside source/.
1746     * Fix 'net ads join' when the workgroup is set incorrectly in 
1747       smb.conf.
1748     * Re-add code to include the BUILTIN\Administrators SID when
1749       winbindd is not running, but the user's token includes the 
1750       Domain Admin SID.  Fixes access problem for managing Services.
1751     * Only call the printer publishing calls if 'security = ads'.
1752     * Normalize printing keys when deleting.
1753     * Only store LANMAN passwords on a change if 'lanman auth = yes'.
1754     * Look at the NT password (not lanman one) when determining if 'smbpasswd 
1755       -e' should probably for a password.
1756     * Default eventlog tdbs to mode 0660 to allow easier access by 
1757       BUILTIN\Administrators.
1758     * Remove extra call to create_user on member servers without winbindd.
1759     * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating 
1760       AD DC's with out own DNS SRV queries.
1761     * Fix compile error on HP-UX reported by Ryan Novosielski.
1762     * Rewrite 'net ads join' to share common code with 'net rpc join' 
1763       and behave more like a Windows XP client.
1764     * Remove --with-ldapsam option from configure (only used for 
1765       backwards compatibility for 2.2 smb.conf files).
1766     * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
1767     * Remove rhosts authentication module.
1768     * Reimplement 'net ads leave' to disable the machine account in the 
1769       domain rather than removing it.
1770     * Rewrite of tdbsam file descriptor handling.
1771     * Add server affinity support when selecting a remote 
1772       domain controller.
1773     * Remove chaining of passdb modules.
1774     * Generate a local users primary group SID based on his 
1775       or her primary Unix group rather than storing the attribute 
1776       in the passdb entry.
1777     * Default primary group SID to 'Domain Users' if the real Unix 
1778       primary group maps to the S-1-22-2 domain.
1779     * Refactor memory management in passdb user objects.
1780     * RHEL and Fedora packaging fixes.
1781     * Implement XcvDataPort() spooler call and supporting 'add 
1782       port command'.
1783     * BUG 3534: Ignore lines in the username map file with no right 
1784       hand list.
1785     * Add support for the experimental %(DomainSID) smb.conf 
1786       variable.
1787     * Add support for parsing SIDs in smb.conf value lists.
1788     * Fix vuid allocation in Kerberos SMBsesssetup reply. 
1789     * Ensure that local group membership is included in the 
1790       getgroups() NSS reply.
1791     * Automatically create a BUILTIN\{Administrators,Users} if
1792       winbindd is running.
1793     * Automatically grant all privileges to members of the local 
1794       Administrators group.
1795     * Protect against NULL cli_state* pointers in 
1796       cli_rpc_pipe_open().
1797     * Add a SUBSTR matching rule the the Samba LDAP schema 
1798       file for the sambaSID attribute.  This will allow for 
1799       Searching group mapping entries within a given domain
1800       without reorganizing the directory namespace.  Also 
1801       requires 'index sambaSID sub' in slapd.conf.
1802     * Fix parsing of 'idmap uid/gid' values that broke when
1803       the range included any whitespace.
1804     * Support renaming local groups (protect against renaming 
1805       BUILTIN groups).
1806     * Do not allow the root account to be deleted via MS-RPC.
1807     * Fix RID allocation to skip over RIDs that resolve in our
1808       own domain (work around upgraded users and groups).
1809     * Store the name/ip address combination when we do a reverse 
1810       look up in case future forward lookups would fail.
1811       Fixes cases where a DC name could not be resolved via 
1812       NetBIOS queries,
1813     * Allow winbindd to run on standalone servers in order to
1814       provide support for local groups.
1815     * Deprecate 'acl group control' and replace it with added 
1816       functionality to 'dos filemode'.
1817     * Ensure that all global memory is freed from pam_winbind 
1818       when unloading the shared library (based on work from Arkady 
1819       Glabek).
1820     * Fix 32-bit/64-bit portability issues between PAM & NSS winbind 
1821       libraries and winbindd.
1822     * Add defensive checks about create local accounts (i.e. calling
1823       'add user script') on domain member servers when winbindd
1824       is running but having problems.
1825     * Use system provided killproc() in RedHat init scripts for 
1826       more robust shutdown.
1827     * Fix a crash in the printer publishing code when adding a 
1828       new printer via the APW.
1829     * Fix broken compile of unsupported smbwrapper utility.
1830     * BUG 3905: Fix smbd startup failure caused by a failure to
1831       create an NT token for the guest account.
1832     * BUG 3908: Fix RPC bind authentication failure which broke
1833       user password changes.
1834     * Ensure that "net ads join" reports failure correctly if
1835       it cannot set the machine account password.
1838 o   Mathias Dietz <MDIETZ@de.ibm.com>
1839     * EPERM can be a valid return from getting an xattr. 
1840       Don't disable if we get it.
1843 o   Guenther Deschner <gd@samba.org>
1844     * Fix memleaks in winbindd ads searches.
1845     * Fix timestamp bug in pam_winbindd which forced users to change
1846       passwords prematurely.
1847     * Small debug message cleanups.
1848     * Small fixes for 'net ads password'.
1849     * BUG 3843: Allow to set passwords directly when creating users 
1850       via "net rpc user add" 
1851     * Add "rpc shell" to the usage text for the net command.
1852     * Winbindd user aliases lookup fixes for large domains.
1853     * Fix memleak in the CLDAP processing code.
1854     * Enable AD features in winbindd's PAM support only when 
1855       communicating with an AD domain controller.
1856     * Set our internal domains to "online" by default in winbindd.
1857     * BUG 3800: Fill the password_policy method in winbindd for 
1858       winbindd_passdb.
1859     * Fix memory leak when LDAP POSIX attribute queries fail.
1860     * Honor the krb5 principal name change (of the new ads join code) 
1861       in the kerberized winbind pam_auth.
1862     * Correctly handle the case when there is no configuration file 
1863       for pam_winbind.
1864     * Adding "own-domain" switch to wbinfo which is handy from time 
1865       to time.
1866     * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
1867     * Fix winbindd group enumeration for groups with no members.
1868     * Correct "net ads changetrustpw" to use the sAMAccountName.
1869     * Fix winbindd in ADS domains by removing code using the 
1870       UPN and rely upon the sAMAccountName.
1871     * Fix a eDir related memory leak.
1872     * Don't try to add the sn attribute twice to an LDAP 
1873       inetOrgPerson + samSamAccount entry.
1874     * Fix winbind function table typo.
1875     * Attempt to send the correct warning from pam_winbind when a password 
1876       change was attempted too early.
1877     * Don't use cached credentials when changing passwords.
1878     * Correctly disallow unauthorized access when logging on with the
1879       kerberized pam_winbind and workstation restrictions are in effect.
1880     * Save useless round trips in pam_winbind's auth calls.
1881     * Make the existence of the /etc/security/pam_winbind.conf file
1882       non-critical and fallback to only parse the argv options in that 
1883       case.
1884     * Add winbind debug class to the main winbindd process.
1885     * Be consistent between rpc and ads winbind backend: let the 
1886       ads backend query the samlogon cache first as well.
1887     * Ignore BUILTIN groups when searching AD for group memberships.
1888     * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
1889     * Cleanup credential caches from winbind's linked list.
1890     * Fix 'winbindd -n' for new persistent caches.
1891     * Fix searching by SID in winbindd.
1892     * Add "smbcontrol winbind onlinestatus" for debugging purpose.
1893     * Prefer to use the indexed objectCategory attribute (instead of
1894       objectClass which is not indexed on AD) in LDAP queries.
1895     * Free LDAP result in ads_get_attrname_by_oid().
1896     * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
1897     * Prevent passwords of winbindd's list of credential caches from 
1898       being swapped to disk using mlock().
1899     * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to 
1900       support the plain posix attributes LDAP schema from win2k3-r2
1901       (based on patches from Howard Wilkinson and Bob Gautier).
1902     * Add more robust code for fallback when lookup_usergroups() fails.
1903     * Fix 'net rpc join' for winbindd running on a Samba DC.
1904     * Add help text for new 'net rpc audit' utility.
1905     * Add net ads search SID.
1906     * samrQueryDomainInfo level 5 should return the domain name, not our 
1907       NetBIOS name when we are a DC.
1908     * Add some more client rpc for the querydominfo calls (from samba4 idl).
1909     * Process all the supported info levels in the samr_query_domain_info2 
1910       call.
1911     * Wrap the samr_query_domain_info2() call around 
1912       samr_query_domain_info().
1913     * Fix segv in smbctool.
1914     * Honor the time_offset also when verifying Kerberos tickets.
1915     * Prevent unnecessary longstanding LDAP connection to eDirectory.
1916     * Fix segv in smbspool.
1917     * BUG 1914: Allow to store 24 password history entries in ldapsam.
1918     * Enhancements to various commands in rpcclient 
1919     * Don't force 'Administrator' to change an expired password on 
1920       logon.
1921     * Add support for offline mode in winbindd.
1922     * Provide support in pam_winbind for initializing a user's 
1923       ticket cache.
1924     * Implement samr_chgpasswd_user3 server-side.
1925     * Make pam_winbind more robust when detecting domain users.
1926     * Add client side support for SAMR_GET_USRDOM_PWINFO.
1927     * Re-enable strict checking on C++ reserved keywords since Heimdal 
1928       0.7.2 has been released.
1929     * Allow renaming of machine accounts in a Samba domain.
1930     * BUG 3539: Let winbindd try to obtain the gecos field from 
1931       the msSFU30Gecos attribute when "winbind nss info = sfu" is 
1932       set. 
1933     * Correctly handle acb_info/acct_flags as uint32 not as uint16.
1934     * Return the real ACB-flags in the SamLogon() reply.
1935     * Some client side cleanup for the samr set security object 
1936       functions.
1937     * Make sure we always reset the userAccountControl bits when 
1938       re-joining (net ads join) with an existing account.
1939     * Document some more MSV1_0 bits and their behavior.
1940     * Only set the last rebind timestamp when we did rebind 
1941       after a update LDAP operation to avoid the ldap replication 
1942       sleep period.
1943     * Fix incorrect error checking in winbindd for domains with 
1944       no trusts.
1945     * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3 
1946       structure.
1947     * Work around crash bug in MIT krb5 libs when reading a 
1948       keytab file.  Stop trying to decrypt a ticket as soon as 
1949       we have a clear indication that the ticket is bad.
1950     * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
1951     * Adding client side samr querygroup infolevels 2 & 5.
1952     * Make smbpasswd -a root work for eDirectory where there 
1953       is no "account" structural objectclass.
1954     * Make sure we only send out a CLDAP request (net ads) to 
1955       an connected AD server.
1956     * Fix a broken LDAP search filter when looking for groups.
1957     * Add in-tree version of iniparser library from 
1958       http://ndevilla.free.fr/iniparser/ for use by pam_winbind
1959       (rather than linking in loadparm.c).  Settings are now stored
1960       in /etc/security/pam_winbind.conf.
1961     * Fix different extended_dn handling in adssearch.pl
1962       (Thanks to Frederic Brin at Novell).
1963     * Fix a memleak in winbindd's credentials cache.
1964     * Protect against crashes in CLDAP request processing.
1965     * Remove incomplete DfsEnum() info level to avoid an smbd crash.
1968 o   Aleksey Fedoseev <fedoseev@ru.ibm.com>
1969     * Fix parameter type for 'acl compatibility'.
1970     * Fixes for msgtest torture tool.
1971     * Fix crash bug in the file locking code.
1974 o   Arek Glabek <aglabek@centeris.com>
1975     *  Fix parsing error on input parameters in eventlogadm.
1978 o   Paul Green <paulg@samba.org>
1979     * Properly rebuild time limit on systems with executable extensions.
1980     * Fix build on platforms that do not support shared libs.
1981     * Remove dead code in the auth_script module. 
1984 o   Bjoern Jacke <samba@j3e.de>.
1985     * Fix DMAPI compile failures on AIX and True64.
1986     * Fix AIX PIC suffix (use .o instead of .po).
1987     * Fall back to less-preferred clocks until we find one that we 
1988       can use if clock_gmtime() is not available at run-time.
1989     * Fix EA support on AIX platforms.
1990     * Automatically disable file shares with no explicit path set.
1991     * Remove the local hack to set the RO bit on directories in 
1992       user profiles when profile acls = yes.  Rely on EAs instead.
1993     * Compile fixes for Solaris LDAP client libs.
1994     * Add DMAPI/XDSM support for AIX.
1995     * Find JFS DMAPI libs on Linux when only they are available.
1998 o   William Jojo <jojowil@hvcc.edu>
1999     * Fixes for the winbind NSS library on AIX.
2000     * Fix VFS builds on AIX platforms.
2001     * Fixes for the AIX version of libnss_winbind.so
2004 o   Leonid Kabanov <lkabanov@mail.ru> 
2005     * BUG 3711: Shell portability fixes for 'make test'.
2008 o   Volker Lendecke <vl@samba.org>
2009     * Fixes for various Klocwork defect reports.
2010     * Fixes for various Coverity defect reports.
2011     * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
2012     * Fix more potential seg-faults when something on our way to a 
2013       DC connection fails.
2014     * Never fall back to using the IP address for a DC's name in RPC 
2015       connections.
2016     * Implement recycle:subdir_mode.
2017     * Activate RPC-AUTHCONTEXT in "make test".
2018     * Portability fixes for 'make test'.
2019     * Correctly set the group RID in init_sam_from_buffer.
2020     * Fix missing prompt in smbclient.
2021     * Return correct error code upon success from _net_srv_pwset().
2022     * Fix Windows XP joins to a Samba domain.
2023     * Fix 'valid users = +unixgroup' which was failing with smbpasswd
2024       when mapped to a non-algorithmic rid.
2025     * Fix regression which upper-cased machine names passed to the
2026       'add machine script'.
2027     * Correct parsing error in parse_net.c for user's with no group
2028       membership.
2029     * Fix off by one error in client SPNEGO code and other klocwork
2030       bug fixes.
2031     * Memory leak fixes in 'net sam'.
2032     * BUG 3720: Fix uninitialized error return variable.
2033     * Default "passdb expand explicit" to no.
2034     * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
2035     * Fix user NT token creation when utilizing a username map.
2036     * More coverity fixes.
2037     * Fix a VUID bug in 'security = share'.
2038     * Correctly fill in the gid for local users.
2039     * Fix some warnings on True64.
2040     * Add special close handling for fake files.
2041     * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
2042     * BUG 3435: Fix 'msdfs root = yes' in [homes].
2043     * Instruct winbindd to find a trusted DC on its own when running on 
2044       a Samba DC.
2045     * Fix segv in child winbindd processes caused by a failed tconX 
2046       to the DC.
2047     * Dynamically compute the maximum password age based no the 
2048       last change time rather than reading the must change time 
2049       from the passdb record.
2050     * Rewrite mechanisms for handling lookup_{name,sid} resolution.
2051     * Assign unmapped users to the S-1-22-1 domain and unmapped 
2052       groups to the S-1-22-2 domain
2053     * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
2054     * Remove sql passdb backends.
2055     * Implement rpccli_samr_set_domain_info()
2056     * Add initial support for 'net sam' command.
2057     * BUG 2413: Remove anonymous connections in 'net rpc info'.
2058     * Implement asynchronous support for trans2 calls.
2059     * Make smbclient -L use RPC to list shares, fall back to RAP.
2060     * Ensure that the global SAM SID is initialized before any
2061       dependent routines are called.
2062     * Enhance consistency checks on local configuration when joining
2063       a domain.
2064     * Fix a memleak in the server registry code for enumeration 
2065       shares.
2066     * Fix an invalid munlock() call in winbindd's credentials cache.
2067     * Fix compile warnings when passing NULL to snprintf().
2068     * BUG 3915: Fall back to a pure unix user with S-1-22 SIDs in the
2069       token in case anything weird is going on with the 'force user'.
2070     * CVE-2006-3403: Fix minor memory exhaustion DoS in smbd.
2073 o   Derrell Lipman <derrell@samba.org>
2074     [libsmbclient]
2075     * BUG 3814: Only set the DFS capability flag in client requests
2076       if the share is a DFS root.
2077     * Fix bug causing previous settings to be re-initialized 
2078       when parsing new configuration files.
2079     * BUG 3446: Don't ignore the authentication domain when parsing 
2080       the SMB URI.
2081     * Fix cli_setpathinfo() to actually do what it's supposed to.
2082     * Fix libsmbclient to make correct use of the new "one connection
2083       per server feature".
2086 o   Jason Mader <jason@ncac.gwu.edu>
2087     * Numerous compiler warning fixes.
2090 o   John E. Malmberg <wb8tyw@qsl.net>
2091     * Make smbldap obey config tests.
2094 o   Jim McDonough <jmcd@us.ibm.com>
2095     * Fixes for 'make test' on AIX.
2096     * Ensure we do a wildcard search for SID's starting with the global SAM 
2097       sid, not an exact search (from John Janosik).
2098     * Adapt smbclient fix to smbtree to enable long share names.
2099     * Prevent machines and users with no home directory from 
2100       getting the previous entries home path when migrating via 
2101       'net rpc vampire' (based on a patch from Richard Renard).
2102     * Remove hard-coded LDIF names when dumping a migrated 
2103       domain's users and groups.
2104     * BUG 1374: Can't join an OU with name that contains '#'.
2107 o   Stefan Metzmacher <metze@samba.org>
2108     * Add more tests to 'make test'.
2109     * Try to make timelimit.c more portable.
2110     * Fix linking of smbmount tools with --enable-socket-wrapper.
2111     * Pass 'target:samba3=yes' to samba4's smbtorture when running 
2112       samba3's make test.
2113     * Miscellaneous fixes for 'make test'.
2114     * Add improved support for 'make test' including making 
2115       use of smbtorture from SAMBA_4_0.
2116     * Add --no-process-group to all server programs 
2117       (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
2118     * Add configure tests --with-selftest-prefix=/tmp/samba-test
2121 o   Lars Müller <lmuelle@samba.org>
2122     * Fix lock calls in the python tdb bindings.
2123     * Add -k switch to tdbdump for accessing a single key.
2124     * Debian packaging fixes.
2125     * Add -t|--password-from-stdin option to pdbedit as we had 
2126       with Samba 2.2.
2127     * Various minor fixes to install scripts used by 'make install'.
2130 o   James Peach <jpeach@sgi.com>
2131     * Ensure smbclient always prompts on standard output when in
2132       interactive mode.
2133     * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
2134     * Introduce command line options to set the remainder of the 
2135       parameters in dynconfig.c.
2136     * Avoid pulling in -lpthreads caused by -lrt.
2137     * Fix build failures on IRIX 6.4 due to DMAPI support.
2138     * Isolate the slow CLOCK_REALTIME message in the profiling code.
2139     * Correct comparison logic so that libunwind can be correctly detected.
2140     * Implement a "stacktrace" smbcontrol option using libunwind's remote
2141       stack tracing support (ia64 only).
2142     * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
2143       of long group lists.
2144     * New autoconf macro to test for sysconf variables.
2145     * Change profiling data macros to use stack variables rather than
2146       globals. This catches mismatched start/end calls and removes
2147       the need for special nested profiling calls.
2148     * Rewrite AC_LIBTESTFUNC so that it works like the callers
2149       of it expect.
2150     * Use clock_gettime for profiling timstamps if it is available. Use
2151       the fastest clock available on uniprocessors.
2152     * Preserve errno in fcntl lock wrappers.
2153     * Initialize our saved uid and gid so that we can tell when we 
2154       created the profiling shmem segment and don't bogusly refuse to 
2155       look at it.
2156     * Add a new option "enable core files" which can be used to disable 
2157       automatic core file dumping. 
2158     * Update our internal copy of popt to that distributed with the RPM 
2159       4.2 source code.
2160     * Add support for FAM for file change notification.
2161     * Disable sendfile if the 'write cache;' has been enabled.
2162     * Refactor capability interface from being IRIX-specific to 
2163       using only the POSIX interface.
2164     * Consolidate core dumping code to aid in debugging.
2165     * Add support for libunwind to generating a backtrace.
2166     * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
2167       and --without-ads are specified.
2168     * Allow the user to set winbind nss timeouts in seconds on IRIX.
2169     * Set the FILE_STATUS_OFFLINE bit by observing the events 
2170       a DMAPI-based HSM is interested in.
2173 o   Tim Potter <tpot@samba.org>
2174     * Build janitorial duties.
2175     * BUG 3725: Put references to $PICFLAGS in quotes.
2178 o   Aruna Prabakar <aruna.prabakar@hp.com>
2179     * Show -W option in smbpasswd usage text.
2182 o   ISHIKAWA Tomonori <toishika@fsi.co.jp>
2183     * BUG 2715: Fix nmbd datagram comment buffer size for multibyte 
2184       character strings
2187 o   Andreas Schwab
2188     * Correct syntax error in aclocal.m4.
2191 o   Simo Sorce <idra@samba.org>
2192     * Pam modules install fix.
2193     * Allow "net changesecretpw" to accept a password via stdin.
2194     * Implement 'net setdomainsid' command.
2195     * Ensure that sid -> group conversion are done as root.
2196     * BUG 3413: Sanity check for existence of 'ldap admin 
2197       dn' before setting a password in secrets.tdb (based on
2198       work by William Jojo).
2199     * New revision of the snprintf replace code.
2200     * Set the correct sid type when looking up a gid.
2203 o   Todd Stecher <tstecher@isilon.com>
2204     * Add TCP fallback for our implementation of the CHANGEPW 
2205       kpasswd calls.
2208 o   Ronan Waide <waider@waider.ie>
2209     * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam() 
2210       functionality.
2213 o   Shlomi Yaakobovich <Shlomi@exanet.com>
2214     * Fix for machine password time_t overflow.
2217       --------------------------------------------------
2218                    ==============================
2219                    Release Notes for Samba 3.0.22
2220                             Mar 30, 2006
2221                    ==============================
2223 This is a security release of Samba. The Samba 3.0.21 release 
2224 series (including the patch releases a through c) has been 
2225 discovered to expose the clear text of the server's machine 
2226 account credentials in the winbind log files when the log 
2227 level is set to 5 or higher.  This defect has been assigned 
2228 the CVE number CAN-2006-1059.
2230 Summary
2231 =======
2233 The machine trust account password is the secret shared
2234 between a domain controller and a specific member server.
2235 Access to the member server machine credentials allows
2236 an attacker to impersonate the server in the domain and 
2237 gain access to additional information regarding domain 
2238 users and groups.
2240 The winbindd daemon included in Samba 3.0.21 and subsequent
2241 patch releases (3.0.21a-c) writes the clear text of server's
2242 machine credentials to its log file at level 5.  The winbindd
2243 log files are world readable by default and often log files
2244 are requested on open mailing lists as tools used to debug
2245 server misconfigurations.
2247 This affects servers configured to use domain or ads security
2248 and possibly Samba domain controllers as well (if configured
2249 to use winbindd).
2251 =======
2253       --------------------------------------------------
2255                    ===============================
2256                    Release Notes for Samba 3.0.21c
2257                               Feb 24, 2006
2258                    ===============================
2260 Common bugs fixed in 3.0.21c include:
2262   o Access checks when deleting printer driver meta-data.
2263   o Several non-default combinations schannel and SPNEGO support.
2264   o Password changes with NT4 and Win2k pre-SP4 clients.
2265   o High load issues on IRIX caused by a bug when interfacing 
2266     with kernel oplocks.
2269 ######################################################################
2270 Changes
2271 #######
2273 Changes since 3.0.21b
2274 ---------------------
2276 commits
2277 -------
2278 o   Michael Adam <ma@SerNet.DE>
2279     * Add popt to the include path for examples/VFS.
2282 o   Jeremy Allison <jra@samba.org>
2283     * Fix bug in the USC2 macros on big-endian CPUs.
2284     * Filter deleted oplocks from the output of smbstatus.
2285     * Remove invalid test check_for_pipe().
2286     * BUG 3515: Fix kernel oplock support on IRIX.
2287     * BUG 3522: Fix return value for mkdir request when the directory
2288       already exists.
2289     * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna 
2290       Vinschen).
2291     * BUG 3330: Fix username parsing in Kerberos PAC (based on work 
2292       by Guenther).
2293     * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto" 
2294       resulting in a client disconnect after negprot.
2295     * BUG 3510: Fix 'net join' against a server with client schannel 
2296       disabled.
2297     * Fix negprot bug causing a 2k client with cached domain 
2298       credentials to refuse to connect to a standalone Samba host.
2299     * Ensure that the correct error is checked when encountering a 
2300       socket error (fixes crashes in winbindd).
2303 o   Andrew Bartlett <abartlet@samba.org>
2304     * Fix domain joins from NT4 clients and password changes.
2307 o   Richard Bollinger <rabollinger@gmail.com>.
2308     * Compile fix in pdbedit.
2311 o   Gerald (Jerry) Carter <jerry@samba.org>
2312     * Break RHEL/Fedora packaging out to include a samba-docs rpm.
2313     * Remove use of /var/cache/samba from RHEL/Fedora packaging.
2314     * Fix bug in loadparm.c that caused builtin services to be also
2315       listed as external services (e.g. Spooler, NETLOGON, etc..).
2316     * Fix bug in the samr dispinfo enumeration code.
2317     * Add earlier checks to deny deleting a printer driver meta-data.
2320 o   Guenther Deschner <gd@samba.org>
2321     * Add Account Policy LDAP attributes for eDirectory schema.
2324 o   William JoJo <jojowil@hvcc.edu>
2325     * BUG 1870: Make nmblookup do a node status on all IP's when 
2326       requested.
2327     * BUG 2353: Fix clitar -F processing.
2330 o   Volker Lendecke <vl@samba.org>
2331     * Fix the build for --with-aio-support.
2332     * Fix remote password changing if password must change is set.
2333     * Fix rpcclient to obey the -W parameter.
2334     * Fix segv in smbmount and the profiles tool.
2335     * Fix typo in pdbedit help text (reported by Karolin Seeger).
2338 o   Vladimir Lettiev
2339     * Honour the $(DESTDIR) Makefile variable when installing 
2340       Python extensions.
2343 o   Jason Mader <jason@ncac.gwu.edu>
2344     * Compiler warning fixes.
2347 o   Lars Müller <lmuelle@samba.org>
2348     * Fix python build with older python versions.
2349     * Update dhcp.conf files in Debian packaging
2350     * SWAT welcome file updates
2351     * Compiler warning fixes.
2352     * Add .2 to the SONAME as version suffix if we link the nss 
2353       modules on linux.
2354     * Add -t|--password-from-stdin option to pdbedit.
2357 o   James Peach <jpeach@sgi.com>
2358     * Continue not enabling valgrind on 64-bit Linux.
2361 o   Tim Potter <tpot@samba.org>
2362     * Remove unused #defines.
2365 o   Simo Sorce <idra@samba.org>
2366     * Debian packaging updates.
2369 o   Qiao Yang <qyang@stbernard.com>
2370     * Make sure to refresh the timestamp on entries in the failed 
2371       connection code in winbindd.
2374       --------------------------------------------------
2375                    ===============================
2376                    Release Notes for Samba 3.0.21b
2377                               Jan 30, 2006
2378                    ===============================
2380 Common bugs fixed in 3.0.21b include:
2382   o Server crashes in smbd.
2383   o Compile issues on 64-bit platforms.
2384   o Crash bugs on big-endian systems.
2385   o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
2386   o Over 30 bugzilla reports closed.
2389 ######################################################################
2390 Changes
2391 #######
2393 Changes since 3.0.21a
2394 ---------------------
2396 commits
2397 -------
2398 o   Jeremy Allison <jra@samba.org>
2399     * Fix the SAMR cache across handles opens and closes.
2400     * Re-add the talloc_describe_all() function for reporting pool 
2401       usage.
2402     * Merge talloc license change from Samba 4.
2403     * Fix 64-bit compile warnings reported by gcc.
2404     * Add the share path into the sharemode db. 
2405     * Consistency fixes: Remove use of uint8_t -> uint8.
2406     * BUG 3346: Fix crash bug in big-endian boxes by linearizing 
2407       structure when passing through the messaging API.
2408     * BUG 3421: Fix segv in the Kerberos key tab code (Thanks to 
2409       Luke Deller).
2410     * Force smbd to exit if the guest account internal setup fails.
2411     * BUG 3419: vfs_full_audit fixes for multiple connections.
2412     * Ensure SWAT lists running processes.
2413     * Fix NTLMv2 interoperability bug between Samba servers.
2414     * Oplock break logic fixes.
2417 o   Andrew Bartlett <abartlet@samba.org>
2418     * BUG 3401: Fix crash bug caused by incorrect handling of weak 
2419       session keys.  Based on original patch from Yau Lam Yiu.
2422 o   Alexander Bokovoy <ab@samba.org>
2423     * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from 
2424       Samba TNG code).
2427 o   Stefan Burkei <stefan@burkei.de>
2428     * BUG 3248: When doing auth_crap authentication use the client 
2429       given workstation name not our own.
2432 o   Gerald (Jerry) Carter <jerry@samba.org>
2433     * Fixing net rpc registry enumerate from overwriting the open 
2434       subkey handle.
2435     * BUG 3380: fix crash when changing printer drivers.
2436     * BUG 3391: ensure we can lookup account policies for failed 
2437       logons.
2438     * Adding query/set ops for security descriptors on services.
2439     * BUG 3329: Solaris packaging fixes.
2440     * Better formatting for smbstatus output (based on patch from
2441       Adam Neilson).
2442     * Hook the max connections spin box in the share properties 
2443       MMC plug-in dialog to the 'max connections' smb.conf parameter
2444       and the 'modify share command' option.
2445     * Work around building libnss_winbind.so on Solaris when 
2446       --enable-developer is specified.
2447     * Add vendor patch level string to VERSION.
2448     * Consolidate packaging for RHEL4 and Fedora based on initial
2449       work by jht.  
2452 o   Albert Chin <@thewrittenword.com>
2453     * BUG 3374: Build failures on True64.
2456 o   Guenther Deschner <gd@samba.org>
2457     * Fill in samr_get_dom_pwinfo based on Samba4.
2458     * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
2459     * Fixes for adssearch.pl example script.
2460     * Prevent 'net rpc' from dumping clear text password at high log 
2461       levels unless built with DEBUG_PASSWORD.
2462     * Fix 'net ads user add' with a Windows 2003 SP1 DC.
2463     * Fix python build.
2464     * Fix segfault in pdb_nds.c.
2465     * Don't write null sid mappings into the winbindd_cache.tdb.
2466     * Save sid_to_name lookup result in winbindd already after doing 
2467       a successful name_to_sid.
2468     * BUG 3390: Fix segfault in "net rpc vampire|samdump".
2469     * BUG 1524, 3205: Support changing expired passwords in 
2470       pam_winbindd.
2471     * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
2472     * BUG 3264: Allow idmap_ad to load as 'ad'.  Cleanup the way 
2473       idmap modules are build and loaded, idmap_rid now will have 
2474       to be loaded without prefix, just "rid".
2475     * Prevent cli_krb5_get_ticket of getting into an infinite loop. 
2478 o   Andrew Esh <Andrew_Esh@adaptec.com>
2479     * BUG 1061: Fix nmbd to correctly the path to an lmhosts files 
2480       specified on the command line with -H.
2483 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
2484     * End profile fixes.
2485     * BUG 3348: Don't assume owning sticky bit directory means 
2486       write access allowed.
2487     * Fix double free in on failure path in POSIX acl code.
2490 o   Andriy Gapon <avg@icyb.net.ua>
2491     * BUG 3458: Fix crash bug in smbd and winbindd caused by 
2492       accessing freed memory.
2495 o   Björn Jacke <bj@sernet.de>
2496     * Configure check for Tru64 EA functions (not yet implemented).
2497     * Find Tru64 AIO lib in configure.
2498     * Cut-n-paste fixes in configure.in.
2501 o   John Janosik <jpjanosi@us.ibm.com>
2502     * IBM Tivoli Directory Server schema updates.
2505 o   Michael James <michael@james.st>
2506     * sid2string fix in adssearch.pl.
2509 o   William JoJo <jojowil@hvcc.edu>
2510     * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
2511     * BUG 3389: Failures on AIX in linking smbd when the symbol 
2512       table for ld exceeds 65536 bytes.
2513     * Add -W to smbpassword so that the ldap admin dn password does
2514       not have to be specified on the command line.
2515     * BUG 3408: Fix for external password change programs on AIX.
2516     * BUG 1779: 64-bit compile fixes.
2519 o   Martin Koeppe <mkoeppe@gmx.de>
2520     * BUG 3287: Match SFU behavior for dev/inode numbers.
2523 o   Volker Lendecke <vl@samba.org>
2524     * BUG 3291: Fix valgrind error in client connection code.
2525     * BUG 3292: Prevent smbclient from spinning if server terminates
2526       connection.
2527     * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient 
2528       connection alive smbclient.
2529     * Add lookupname to rpcclient query_user as a fallback, we now 
2530       accept both rid and username.
2531     * Introduce yet another copy of the string_sub function: 
2532       talloc_string_sub use by AFS token code in winbindd.
2533     * BUG 3351: pdb_mysql again overwrites password fields.
2534     * BUG 3384: Fix segv in tdbtool.
2535     * Use the same CFLAGS for generating the pch as we use to 
2536       actually compile.
2537     * Correct typo when compiling the vfs_catia module.
2538     * Fix automatic recreation of a new tdb sam file.
2541 o   Derrell Lipman <derrell@samba.org>
2542     [libsmbclient]
2543     * Fix parsing of file times (w_time and m_time were reversed).
2544     * Add additional libsmbclient test programs.
2545     * BUG 3336: Load networks interfaces in libsmbcliebt after parsing 
2546       the configuration files.
2547     * Avoid doing a NetBIOS name query for each server and workgroup 
2548       enumeration call.
2549     * Do not open connection when only looking for cached connection.
2550     * BUG 2651: Add option to log debug messages to stderr instead 
2551       of stdout.
2552     * Added flag to not request authentication information.
2553     * Enhancements to smbwrapper example code.
2554     * Replace smbwrapper call to dlopen(/lib/libc...) with direct 
2555       use of RTLD_NEXT.
2558 o   David May <mayd@cygnus.uwa.edu.au>
2559     * BUG 3329: Shell scripting portability fixes on 'make test'.
2562 o   Tony Mountifield <tony@softins.co.uk>
2563     * BUG 3327: fix bad access to gencache.tdb after fork() in 
2564       smbmount.
2567 o   Lars Müller <lmuelle@samba.org>
2568     * BUG 3264: Support backwards compatible setups using 
2569       'idmap backend = idmap_rid'.
2570     * Add %w macro for the winbind separator.
2571     * Convert net command to use stderr for error messages rather 
2572       than stdout.
2575 o   James Peach <jpeach@sgi.com>
2576     * Portability fixes in LDAP code.  Don't use non-static array 
2577       initializers.
2578     * Support the TCP_FASTACK socket option if it is available. 
2579     * Tell the MIPSPro compiler to push DEBUG calls out of line.
2582 o   Makr Proehl <m.proehl@science-computing.de>
2583     * BUG 1336: Print the server role when calling testparm in 
2584       non-verbose mode.
2587 o   Simo Sorce <idra@samba.org>
2588     * Crackcheck utility enhancement based on patch sent by 
2589       Tom Geissler.
2590     * BUG 3405: Fix segv in vfs_recycle module on platforms wither 
2591       mode_t is not 32-bits.
2594 o   John Terpstra <jht@samba.org>
2595     * RHEL/Fedora spec file patches.
2598       --------------------------------------------------
2599                    ===============================
2600                    Release Notes for Samba 3.0.21a
2601                               Dec 30, 2005
2602                    ===============================
2604 Common bugs fixed in 3.0.21a include:
2606   o Deadlocks when multiple users access an oplocked file 
2607     concurrently
2610 ######################################################################
2611 Changes
2612 #######
2614 Changes since 3.0.21
2615 --------------------
2617 commits
2618 -------
2619 o   Gerald (Jerry) Carter <jerry@samba.org>
2620     * RedHat 9 packaging Fixes.
2623 o   Guenther Deschner <gd@samba.org>
2624     * eDirectory schema syntax fixes.
2627 o   Volker Lendecke <vl@samba.org>
2628     * BUG 3349: Deadlock caused logic error in oplock code.
2630       --------------------------------------------------
2631                    ==============================
2632                    Release Notes for Samba 3.0.21
2633                             Dec 20, 2005
2634                    ==============================
2636 Common bugs fixed in 3.0.21 include:
2638   o Missing groups in a user's token when logging in via Kerberos
2639   o Incompatibilities with newer MS Windows hotfixes and 
2640     embedded OS platforms
2641   o Portability and crash bugs.
2642   o Performance issues in winbindd.
2644 New features introduced in Samba 3.0.21 include:
2646   o Complete NTLMv2 support by consolidating authentication
2647     mechanism used at the CIFS and RPC layers.
2648   o The capability to manage Unix services using the Win32 
2649     Service Control API.
2650   o The capability to view external Unix log files via the
2651     Microsoft Event Viewer.
2652   o New libmsrpc share library for application developers.
2653   o Rewrite of CIFS oplock implementation.
2654   o Performance Counter external daemon.
2655   o Winbindd auto-detection query methods when communicating with
2656     a domain controller.
2657   o The ability to enumerate long share names in libsmbclient 
2658     applications.
2661 ######################################################################
2662 Changes
2663 #######
2665 smb.conf changes
2666 ----------------
2668     Parameter Name                      Action
2669     --------------                      ------
2670     dfree cache time                    New
2671     dfree command                       Per share
2672     eventlog list                       New
2673     iprint server                       New
2674     map read only                       New
2675     passdb expand explicit              New
2676     rename user script                  New
2677     reset on zero vc                    New
2678     svcctl list                         Renamed from 'enable svcctl'
2682 Changes since 3.0.20b
2683 ---------------------
2685 o   Jeremy Allison <jra@samba.org>
2686     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
2687     * Added 'map readonly' parameter.
2688     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
2689       not defined.
2690     * Maintain schannel client session keys in volatile 
2691       $(privatedir)/schannel_store.tdb.
2692     * BUG 2769: Ensure we mangle filenames ending in a space
2693     * Catch corner case of renaming a symlinked directory into 
2694       itself
2695     * Ensure that smb.conf requests for hidden files are honored, 
2696       even when DOS attributes are stored in EA's
2697     * Add new auth method "auth_script" for calling an external 
2698       program
2699     * BUG 2152: Fix for mangled filenames when the client does 
2700       support long filenames
2701     * Rewritten implementation of client and server DCE/RPC infrastructure 
2702     * BUG 3192: Adds a "dfree cache time" parameter.
2703     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
2704       the S_IWGRP mask in the absence of a POSIX ACL.
2705     * Remove use of 'long long' in libsmbclient code.
2706     * Ensure the new canonicalize_servicename() in name/snum hash 
2707       is multi-byte safe.
2708     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
2709       Bakeyev.
2710     * BUG 3216: Put directory opens into the share mode db so we 
2711       can treat them similarly to file opens (delete on close, 
2712       share mode violations etc.).
2713     * Fix bug in name mangling code when case sensitivity is enabled.
2714     * Remove external dependencies from the sharemodes library.
2715     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
2716     * Don't misinterpret wild card characters in file names on disk
2717       as they are actually valid characters.
2718     * BUG 3223: Fix bug in account policy management when 
2719       account_pol.tdb settings have been migrating to an LDAP 
2720       backend.
2721     * Allow the hash size of the tdb open (locking) database to be 
2722       set in local.h.
2723     * Fix error code returns on client spoolss code.
2724     * Remove unneeded strncpy use.
2725     * Fix uninitialized variables warnings.
2726     * Cleanup smbcacls security descriptor parsing and error codes.
2727     * BUG 3224: Correctly use machine_account_name and client_name 
2728       when doing netlogon credential setup.  Fixes winbindd running 
2729       on a Samba PDC.
2730     * Backport Samba 4 time zone handling.
2731     * Fix core dump if setmntent() returns NULL.
2732     * Replace old crc32 code with one from the FreeBSD tree.
2733     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
2734     * Remove #define of close -> close_fn macro in libsmbclient.
2735     * Return early if -1 returned from *BSD EA call (reported by 
2736       Timur).
2737     * Name space cleanup by marking local functions static.
2738     * Move samr enumeration cache from per handle basis to a shared 
2739       cache.
2740     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
2741       OS/2 servers (based on patch from Guenter Kukkukk).
2742     * Ensure default applies to new files (reported by Thomas 
2743       Neumann).
2744     * BUG 3293: Use SMBecho to testing the server in client rather 
2745       than SMBchkpath.
2746     * Merge talloc fixes from Samba 4 branch.
2747     * Add support DCE/RPC cancel operation.
2748     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
2749       when using EA for DOS attributes.
2750     * Fix bug in returning remote time (reported by Thomas Bork).
2751     * No users or groups to return in BUILTIN domain.
2752     * Removed separate "builtin" search enumeration.
2753     * Added count_sam_aliases to return the correct alias count.
2754     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
2755       eDirectory when accessing the universal password.
2756     * Fix deadlock condition in share mode locking code.
2757     * Fix logic bug in unix_mask_match().
2758     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
2762 o   Rashid N. Achilov <shelton@granch.ru>
2763     * Add better service description names to the svcctl code.
2766 o   Timur Bakeyev <timur@com.bat.ru>
2767     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
2770 o   Andrew Bartlett <abartlet@samba.org>
2771     * Remove another ancient NTLMSSP implementation.
2772     * Allow machine account logons work if the client gives the 
2773       appropriate flags. 
2776 o   Alexander Bokovoy <ab@samba.org>
2777     * Add POSIX statvfs() to VFS api.
2780 o   Gerald (Jerry) Carter <jerry@samba.org>
2781     * Eventlog and ServiceControl support.
2782     * BUG 1051: store the directory path so we can send the full 
2783       name in the unlink call from smbclient.
2784     * Use reference count strategy for keeping the registry tdb 
2785       open.
2786     * Convert internal registry objects to new hierarchical talloc
2787     * Allow the root user a free pass for access checks in the
2788       registry and service control checks.
2789     * Sanity checks in the privilege code to prevent empty SID 
2790       entries
2791     * Add basic infrastructure for 'make test' when the socket 
2792       wrapper library is configured at compile time
2793     * Convert profiles utility to use the current regfio interface 
2794       for reading and writing user profiles
2795     * Remove netsamlogon_cache interface
2796     * Ensure that print jobs are removed even when the cancel 
2797       command is received before the print cache has been updated
2798     * Fix linking problem on Solaris when including ACL support.
2799     * Give root a free pass to open the eventlog tdb files.
2800     * Fix segfault in addprinter due to mixing talloc() and 
2801       malloc()'d memory.
2802     * fix invalid read reported by valgrind in the spoolss 
2803       backchannel connection.
2804     * Remove use of 'long long' in perfcounter registry code.
2805     * BUG 3201: make sure request structure is cleared prior to 
2806       sending the request to winbindd.
2807     * Don't count open pipes in the num_files_open on a connection
2808       (regression from Samba 2.2).
2809     * Ensure servername hashing code normalizes the name.
2810     * Fix checks for connect() in -lnsl[_s].
2811     * Convert eventlog API to use NTSTATUS return codes rather 
2812       than WERROR.
2813     * Fix segv in winbindd caused by an uninitialized variable 
2814       in winbindd_dual_getsidaliases().
2815     * Allow winbindd to select the appropriate backend methods
2816       based on the DC attributes and not the security parameter.
2817     * Re-add the netsamlogon_cache tdb and ensure that user entries
2818       are updated from the PAC data during Kerberos ticket 
2819       validation.
2820     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
2821       by mangling machine names in sub_set_smb_name().
2822     * Add smbget to the list of tools built by default.
2823     * Fix clearing of eventlog tdb files.
2824     * Fix sequential reads in eventlog support.
2825     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
2826       is Win9x.
2827     * Fix build issues with the Sun compiler.
2828     * BUG 3156: Don't use find_service() when explicitly looking 
2829       for a printer.
2830     * Fix nss_winbind_solaris.c build breakage on HP-UX.
2831     * Initialize the local group description.
2832     * Disable WINS and NetLogon services in the MMC services
2833       plugin when the associated smb.conf features are not enabled.
2834     * Add checks for invalid characters in new share names on the 
2835       srvsvc pipe.
2836     * Fix SWAT installation issues with 'make install'.
2837     * Always add the BUILTIN\Administrators SID to a Domain 
2838       Admins token.
2841 o   Alex Deiter <tiamat@komi.mts.ru>
2842     * BUG 3196: Patch to compile against the Sun LDAP client libs.
2843       (not for AD support; just ldap support).
2846 o   Guenther Deschner <gd@samba.org>
2847     * Fixed compile problems and warnings with newer OpenLDAP 
2848       and OpenSSL libs
2849     * Fix bug when enumerating trusted domains via 'wbinfo -m'
2850     * Parse the MS Kerberos PAC to obtain the user group 
2851       membership during logon.
2852     * Add support for SeRestorePrivilege to allow a process to 
2853       change the ownership of a file to any arbitrary account
2854     * Fix password history storage when using Novell eDirectory for 
2855       ldapsam storage
2856     * Backport Kerberos PAC parsing from Samba 4 branch in order to
2857       correctly create the NT User Token when logging into a Samba 
2858       member server
2859     * Add small helper function to return a PAC_LOGON_INFO.
2860     * Use LDAP bitwise matching rule when searching for groups 
2861       in ADS.
2862     * Avoid an infinite loop when retrying to connect in smbspool.
2863     * Memory leak fixes in the Kerberos PAC parsing code.
2864     * Improve NT_STATUS error messages returned from pam_winbind.
2865     * Rename unknown samr group fields in samr structures with 
2866       the correct name.removed separate "builtin" search enumeration.
2867     * Cleanup redundant StartTLS code.
2868     * Allow StartTLS support when connecting to Windows 2003 by
2869       setting 'ldap ssl = start_tls'.
2870     * Support raw NTLMSSP session setups in smbspool.
2871     * Add rpccli_samr_chgpasswd3().
2872     * Add 'wbinfo --separator'.
2873     * Uninitialized warnings fixes.
2874     * Fix return value in client spooler code.
2875     * Require forced migration of account policies.  
2878 o   Steve French <sfrench@us.ibm.com>
2879     * Fix cifs to handle non-numeric uid and gid parameters.
2880     * Merge trunk and SAMBA_3_0 mount.cifs code.
2881     * Cleanup cifs cfs help message.
2884 o   Paul Green <paulg@samba.org>
2885     * Update to the latest config.guess and config.sub files.
2888 o   Deryck Hodge <deryck@samba.org>
2889     * Allow control of syslog facility and level in audit vfs modules.
2892 o   S Murthy Kambhampaty <smk_va@yahoo.com>
2893     * Patches for Fedora RPM specfile and init script
2896 o   Krishna Ganugapati <krishnag@centeris.com>
2897     * Use the subtree delete ldap control when running 'net ads 
2898       leave'.
2901 o   Volker Lendecke <vl@samba.org>
2902     * New oplock implementation.
2903     * Add assert() call if winbindd cannot locate the domain SID in 
2904       secrets.tdb on startup
2905     * Fix an annoying timeout in winbindd when nmbd is not running.
2906     * Speed up loading smb.conf for large numbers of share 
2907       definitions by adding an internal hashing of names to snums. 
2908       Thanks to Michael Adam.
2909     * Fix potential segv in rpcclient's lsarpc calls.
2910     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
2911     * Fix alignment in getdc response.
2912     * Allow pdbedit to set the domain for a user account.
2913     * Fix fallback logic in rpc binds.
2914     * Fix memleak in message handling code.
2915     * Fix connection bug to port 445 and 139 after a successful 
2916       getdcname response.
2917     * Add additional calls to initialize_krb5_error_table() for 
2918       Kerberos client code.
2919     * Implement the possibility to have AFS users as SIDs in pts.
2920     * Removed unused alternative_name code from winbindd.
2921     * Protect against NULL alternative_name strings in winbindd.
2922     * Define a default panic action with -DEVELOPER is defined.
2923     * Add the capability to reset smbd connections on a zero VC id.
2924     * Allow smb.conf variable expansion to be disabled in passdb 
2925       backends.
2926     * Add lookupname to rpcclient query_user as a fallback.
2927     * BUG 3292: Prevent smbclient from spinning when the server 
2928       disconnects.
2929     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
2930     * Add samr_lookup_rids for the builtin domain.
2931     * Memory allocation cleanups in passdb.
2932     * Restrict samr_open_domain() to our domain only.
2933     * Change local_lookup_sid() to local_lookup_rid() since it 
2934       is responsible for our domain only.
2935     * Fix some uninitialized variable warnings.
2936     * Fix winbind_lookup_name for the local domain, 
2939 o   Derrell Lipman <derrell@samba.org>
2940     * Cleanup libmsrpc version numbers.
2941     * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.    
2942     * Fix crash bug in libsmbclient.
2943     * Add long share name support to libsmbclient when enumerating 
2944       shares.
2947 o   Jason Mader <jason@ncac.gwu.edu>
2948     * Removed compiler various warnings.
2951 o   Alex Masterov <alex@infobit.ru>
2952     * BUG 3218: Fix XATTR calls on *BSD systems.
2955 o   Jim McDonough <jmcd@us.ibm.com>
2956     * Speed up string_to_sid by removing next_token calls and 
2957       unneeded strncmp() calls.
2958     * Implement user rename for smbpasswd and LDAP backends.
2959     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
2960     * BUG 3187: Fix time zone offset in logon hours restrictions.
2963 o   Stefan Metzmacher <metze@samba.org>
2964     * Fix setting of quotas on linux kernel with the struct 
2965       if_dqblk interface
2966     * Enable sysquota interface on Linux by default
2967     * Use lp_socket_address() when binding to port 138/udp in nmbd.
2970 o   Brian Moran <bmoran@centeris.com>
2971     * Eventlog and ServiceControl support.
2972     * Added eventlogadm tool for writing Eventlog records.
2973     * Fix typo when creating Eventlog source DLL registry paths.
2974     * Add simple script to tail syslog and write records to 
2975       eventlog tdb.
2976     * Fix segv in eventlogadm when not event logs are listed in 
2977       smb.conf.
2980 o   Lars Müller <lmuelle@samba.org>
2981     * Only install smbsh manpage if smbwrapper has been successfully
2982       built.
2983     * Ensure setmntent() returns with != NULL in the disk_quotas() 
2984       Linux version.
2985     * Add configure switch to disable libmsrpc build.
2986     * Add a soname to libmsrpc.
2989 o   Ricky Nance <ricky.nance@gmail.com>
2990     * Updates for the mklogon perl scripts.
2993 o   Chris Nicholls <skel@samba.org>
2994     * New libmsrpc library (Google SoC Project).
2995     * Fix libmsrpc build of on the Sun compiler by removing empty 
2996       structure declarations.
2999 o   James Peach <jpeach@sgi.com>
3000     * Fix parsing error for smb ports parameter.
3003 o   Tim Potter <tpot@samba.org>
3004     * BUG 3260: Fix DYNEXP flags on HPUX.
3007 o   Marcin Porwit <mporwit@centeris.com>
3008     * Eventlog and ServiceControl support.
3009     * Added basic Performance Counter daemon which can feed data
3010       for the Windows perfmon.exe tool.
3011     * Fix directory permissions in the perfcounter daemon.
3012     * Add the 'File' registry value for the eventlog keys.
3015 o   Aruna Prabakar <aruna.prabakar@hp.com.
3016     * Add checks to verify that the spooler is running on HP-UX when
3017       reloading the printer name cache.
3020 o   Joel Smith <joel.j.smith@novell.com>
3021     * Add iPrint printing backend support.
3024 o   Toomas Soome <Toomas.Soome@mls.ee>
3025     * Implement host lookups in nss_winbind.so.1 on Solaris
3028 o   Simo Sorce <idra@samba.org>
3029     * Update Debian packaging.
3032 o   John Terpstra <jht@samba.org>
3033     * Add 'net idmap' usage help text.
3036 o   Andrew Tridgell <tridge@samba.org>
3037     * Change license notice of standalone talloc library to LGPL.
3040 o   Darren Tucker <dtucker@zip.com.au>
3041     o Crash fix for snprintf() code.
3044 o   Rainer Weikusat <rainer.weikusat@sncag.com>
3045     * Fix function name typo in skeleton VFS code.
3049 Release Notes for older release follow:
3051       --------------------------------------------------
3052                    ===============================
3053                    Release Notes for Samba 3.0.20b
3054                              Oct 12, 2005
3055                    ===============================
3057 Common bugs fixed in 3.0.20b include:
3059   o A crash bug in winbindd
3060   o Reporting files as read-only instead of returning the 
3061     correct error code of "access denied"
3062   o File system quota support defects
3063   
3065 ######################################################################
3066 Changes
3067 #######
3070 Changes since 3.0.20a
3071 ---------------------
3073 commits
3074 -------
3076 o   Jeremy Allison <jra@samba.org>
3077     * BUG 3088: Fix error condition for files on a read-write share 
3078       which cannot be read due to permissions.
3081 o   Gerald (Jerry) Carter <jerry@samba.org>
3082     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
3083       details.
3084     * BUG 1473, 3090: Quota detection and compilation problems on 
3085       Solaris.
3088 o   Marc Balmer <marc@msys.ch>
3089     * Build fixes when builddir != srcdir
3092 o   Alex Deiter <tiamat@komi.mts.ru>
3093     * BUG 3145: Fix build issue regarding quota support on Solaris.
3096 o   Volker Lendecke <vl@samba.org>
3097     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
3098       name.
3101       --------------------------------------------------
3102                    ===============================
3103                    Release Notes for Samba 3.0.20a
3104                              Sept 30, 2005
3105                    ===============================
3107 Common bugs fixed in 3.0.20a include:
3109   o Stability problems with winbindd.
3110   o Crash bugs caused by incompatibilities on 64-bit systems.
3111   o Missing files from directory listings on AIX servers
3112   o User Manager interoperability problems.
3113   o Minor build difficulties on various platforms such as 
3114     Solaris and OpenBSD, 
3117 Winbind, security = domain, and Active Directory
3118 ================================================
3120 Recent security updates for Windows 2000 and Windows 2003 have 
3121 changed the fashion in which user and group lists can be obtained 
3122 from domain controllers.  In short, the RPC mechanisms used by 
3123 "security = domain" to retrieve users and groups is not compatible 
3124 with these changes.   The "security = ads" configuration is not 
3125 affected by the Windows protocol changes.
3127 Samba developers are actively working to correct this problem in 
3128 the 3.0.21 release.  In the meantime, Administrators who are unable 
3129 to migrate to "security = ads" and must continue using "security = 
3130 domain", can define credentials to be used by winbindd for account
3131 enumeration by executing the following command as root.
3133         wbinfo --set-auth-user='DOMAIN\username%password'
3137 ######################################################################
3138 Changes
3139 #######
3142 Changes since 3.0.20
3143 --------------------
3145 commits
3146 -------
3148 o   Jeremy Allison <jra@samba.org>
3149     * BUG 3065: Fix for legacy clients retrieving a listing of 
3150       an empty directory.
3151     * Added external library for accessing Samba's share mode 
3152       database.
3153     * Fix winbindd credentials chain which caused logon failures 
3154       after attempting to authenticate an unknown user.
3155     * Fix recursive looping bug in winbindd.
3156     * Fix build errors on 64-bit systems.
3157     * Posix ACL memory leak and crash bug fixes.
3158     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
3159     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
3160     * Hide dot files and directory logic fixes.
3161     * Correct display of open file modes by smbstatus.
3162     * BUG 3010: Fix missing files bug on AIX systems.
3165 o   Gerald (Jerry) Carter <jerry@samba.org>
3166     * Allow the root user to automatically pass se_access_checks()
3167       in the registry and service control server code.
3168     * Ensure that winbindd uses the correct name in the net_auth2()
3169       request when running on a Samba PDC.
3170     * Fix linking problem with tdb utilities.
3171     * BUG 3080: Fix regression in 'net rpc shutdown' command.
3172     * Fix segv in 'net rpc' when the pipe open fails.
3173     * Fix upload bug when installing 64-bit Windows printer drivers.
3174     * Fix regression in the smburi syntax used by smbspool.
3175     * Fix sorting of subkey hash records in registry files.
3176     * Correct REG_CREATE_KEY_EX parsing error.
3177     * Interoperability issues with usrmgr.exe and Samba groups.
3178     * Use the display names and not the Unix names when enumerating
3179       groups in the ldapsam passdb backend.
3180     * Ensure that Windows domain user names are converted to lower case.
3183 o   Guenther Deschner <gd@samba.org>
3184     * Prevent BUILTIN sids returned in the user's token from 
3185       a Windows DC from being applied to any local group mappings
3186       on the Samba host.
3187     * Plug memory leaks in the Kerberos keytab code.
3188     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
3189       backend when 'winbind nested groups' is enabled.
3190     * Fix crash bug in winbindd caused by 64-bit build issues.
3191     * Improve debug messages in smbspool.
3192     * Give better error-message when "NDS Universal Password" change fails.
3193     * Fix password history error in the eDirectory schema file.
3194     * Ensure that Windows domain group names are converted to lower case.
3197 o   Steve French <sfrench@us.ibm.com>
3198     * Allow disabling mandatory byte range lock mount flag, and fix 
3199       corresponding entry in mtab.
3202 o   Volker Lendecke <vl@samba.org>
3203     * Fix race condition in the NTcreate&X open code when the 
3204       disposition is NTCREATEX_DISP_CREATE.
3205     * Correct logic error when checking the pid for pending print 
3206       change notify messages.
3207     * Ensure that winbindd child process complete startup even when
3208       the parent is receiving authentication requests.
3209     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
3210       when authentication fails.
3213 o   Jason Mader <jason@ncac.gwu.edu>
3214     * Compile warning fixes.
3217 o   Uli Meis <a.sporto@gmail.com>
3218     * Patches for pdb_*sql.c
3221 o   Luke Mewburn <lukem@NetBSD.org>
3222     * Autoconf syntax fixes.
3225 o   James Peach <jpeach@sgi.com>
3226     * Correct problem with creating a core file in Linux.
3229 o   Stefan Metzmacher <metze@samba.org>    
3230     * Quota fixes in smbd.
3233 o   Peter Rindfuss <rindfuss@wz-berlin.de>
3234     * Patches for pdb_*sql.c
3237 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
3238     * Solaris toolchain patches for autoconf scripts.
3241 o   Andrew Tridgell <tridge@samba.org>
3242     * Fix for tdb clear-if-first race condition.
3245 o   Leo Weppelman <leo@wau.mis.ah.nl>
3246     * BUG 3104: Don't allow time updates to files on read-only shares.
3249 o   Steve Williams <steve@celineandsteve.com>
3250     * BUG 3052: Fix compile issues on OpenBSD.
3253       --------------------------------------------------
3254                    ==============================
3255                    Release Notes for Samba 3.0.20
3256                              Aug 19, 2005
3257                    ==============================
3259 Additional features introduced in Samba 3.0.20 include:
3261   o Support for several new Win32 rpc pipes.
3262   o Improved support for OS/2 clients.
3263   o New 'net rpc service' tool for managing Win32 services.
3264   o Capability to set the owner on new files and directory
3265     based on the parent's ownership.
3266   o Experimental, asynchronous IO file serving support.
3267   o Completed Support for Microsoft Print Migrator.
3268   o New Winbind IDmap plugin (ad) for retrieving uid and gid
3269     from AD servers which maintain the SFU user and group 
3270     attributes.
3271   o Rewritten support for POSIX pathnames when utilizing 
3272     the Linux CIFS fs client.
3273   o New asynchronous winbindd.
3274   o Support for Microsoft Print Migrator.
3275   o New Windows NT registry file I/O library.
3276   o New user right (SeTakeOwnershipPrivilege) added.
3277   o New "net share migrate" options.
3280 What happened to 3.0.15 - 3.0.19?
3281 ==================================
3283 After some discussion it was deemed that the amount of changes 
3284 going into the next Samba 3.0 release needed something to catch
3285 people's attention.  Skipping several releases was chosen as 
3286 the best solution with the least overhead.  There will be no
3287 3.0.15 - 3.0.19 ever released.  The next production release
3288 following 3.0.20 should be 3.0.21.
3290 The original announcement about the version number change can 
3291 be found in the samba mailing list archives:
3293 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
3296 Asynchronous Winbind Implementation
3297 ===================================
3299 Winbindd has been completely rewritten in this release to support
3300 an almost completely non-blocking, asynchronous request/reply
3301 model.  This means that winbindd will scale much better in 
3302 large domain environments and on high latency networks.  Neither 
3303 the client interface nor the command line tools (i.e. wbinfo) have 
3304 changed in their calling conventions or syntax.  However, due to 
3305 internal structure changes, it is required (more so than normal) 
3306 that you install the nss_winbind.so library included in this release.
3309 Support for Microsoft Print Migrator
3310 ====================================
3312 Samba 3.0.20 includes full support for migrating printers from 
3313 Windows servers or other Samba servers via the Microsoft Print 
3314 Migrator tool.  Restoring printers requires a working "add printer 
3315 command" defined in smb.conf.  Current support also allows
3316 administrators to create a master list of printer drivers which
3317 can be restored in bulk on new (or existing) Samba installations.
3320 Asynchronous IO Support
3321 =======================
3323 Experimental support for async IO has been added to smbd for 
3324 certain platforms.  To enable this new feature, Samba must be 
3325 compiled to include the --with-aio-support configure option.
3326 In addition, the "aio read size" and "aio write size" to non-zero
3327 values.  See the smb.conf(5) man page for more details on these 
3328 settings.
3331 ######################################################################
3332 Changes
3333 #######
3335 smb.conf changes
3336 ----------------
3338     Parameter Name                      Action
3339     --------------                      ------
3340     acl check permissions               New
3341     acl group control                   New
3342     acl map full control                New
3343     aio read size                       New
3344     aio write size                      New
3345     enable asu support                  New
3346     inherit owner                       New
3347     ldap filter                         Removed
3348     map to guest                        Modified (new value added)
3349     max stat cache size                 New
3350     min password length                 Removed
3351     printer admin                       Deprecated
3352     username map script                 New
3353     winbind enable local accounts       Removed
3354     winbindd nss info                   New
3357 Changes since 3.0.14a
3358 ---------------------
3361 commits
3362 -------
3364 o   Jeremy Allison <jra@samba.org>
3365     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
3366     * Ensure the old SMB search calls always ask mask_match() to 
3367       translate patterns like ????????.???.
3368     * Split out the check_path_syntax() into a findfirst, findnext,
3369       & wildcard versions.
3370     * Fix checks for matching groups in an file ACL against the
3371       user's primary and supplementary group list.
3372     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
3373       LANMAN2 protocol, ensure the EA size is always correctly 
3374       set on a query for a file with no EA's.
3375     * BUG 2551: Look at the incoming flags2 flag 
3376       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
3377       uppercased on a SMBsearch request, not the protocol level.
3378     * Added "volume" command to smbclient that prints out the 
3379       volume name and serial number.
3380     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
3381     * Add support for OS/2 Extended Attributes.
3382     * Correctly check OpenX open modes.
3383     * Ensure allocation size is correctly returned for OpenX. 
3384     * Only set allocation on create/truncate for nttrans.
3385     * Fix oplock bug in trans2open() code.
3386     * Remove unix_ERR_XXX global nastiness.
3387     * Only do the strange DOS error for openX, not trans2open.
3388     * Ensure SMBopen replies includes the share modes as well as 
3389       open modes.
3390     * BUG 2581: Add size limit (in kb) to stat cache.
3391     * Fix bug in the trans2 secondary processing.
3392     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
3393     * Add an SMB counter per connection struct for gathering
3394       profiling data.
3395     * BUG 2605: Ensure smbclient doesn't perform commands if 
3396       the "chdir" fails in a scripted set.
3397     * Ensure a 'forced group' is added to the list of effective
3398       gids when processing ACLs.
3399     * Refactor rpc_bind structures for better future work.
3400     * BUG 2942: Add missing value in debug message.
3401     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
3402       by 'mangling method = hash'.
3403     * Fix memory leaks in the msdfs trans2 server code.
3404     * Convert msdfs server to be talloc'd based.
3405     * Fix up stackable vfs interface.
3406     * Fix rpc fault when encountering an unknown rpc_bind auth 
3407       type.
3408     * BUG 2954: More AIX 5.1 AIO compile fixes.
3409     * Fix valgrind bug in interaction with new aio buffer (found
3410       by Volker).
3411     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
3412     * Cleanup SAMR user info structure naming.
3413     * BUG 2889:  Fix directly listings from OS/2 clients.
3414     * Added "acl group control" parameter.
3415     * Add debug warning if AddPrinterEx() is called without having
3416       an 'add printer command'  defined.
3417     * Add better log messages when modifying ldap entries.
3418     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
3419       when string is unaligned.
3420     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
3421       message buffer is nor reused.
3422     * Add support for client setting capabilities to select posix 
3423       pathnames on the wire.
3424     * Stop using C++ reserved words so that Samba can be compiled 
3425       using g++.  Also allows VFS modules in C++.
3426     * More fixes to allow better large directory scaling.
3427     * BUG 2827: Ensure we call the vfs connection hook before 
3428       doing a vfs stat.  Allows database vfs backends to initialize 
3429       with a working connection.
3430     * BUG 2826: Ensure the correct return value for symlink and 
3431       readlink in the VFS.
3432     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
3433     * Added AIO support to smbd.
3434     * Add "acl map full control", true by default, to allow people 
3435       to change mapping of rwx to full control or not.
3436     * Transition smbd to use NTcreate&X for internal file opens.
3437     * Add checks against the current effective group id (e.g. force 
3438       user) when testing write permissions one ACLs.
3439     * Fix FindFirst/FindNext server code when parsing directories
3440       on old IRIX XFS file systems (thanks to Cale Fairchild
3441       for the debugging help).
3442     * BUG 2644: Test for special files to be ignored was reversed.
3443     * Ensure yield_connection() is called on all appropriate error
3444       conditions.
3445     * Fix EDEADLCK problem with deferred open calls.
3446     * BUG 2622: Remove DPTR_MASK as it makes no sense.
3447     * Fix the write cache based on some VERY good detective work
3448       from Ingo Kilian.
3449     * BUG 2346: Fix read-only excel file bugs.
3450     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
3451       return ENOSYS if not implemented.
3452     * Add new CAP for POSIX pathnames.
3453     * BUG 2703: Add NULL guard for disp_fields[0].
3454     * BUG 2681: With "strict allocate = yes" we now zero fill when 
3455       a file is extended. Should catch disk full errors on write
3456       from MS-Office.
3457     * Add "acl check permissions" to turn on/off the new 
3458       behavior of checking for write access in a directory 
3459       before delete. 
3460     * Refactor printing interface to take offset into job. 
3461     * Allow mapping of POSIX ACLs to NT perms to differentiate 
3462       between directories and files.
3463     * Added encrypt/decrypt function for LSA secrets and trusted
3464       domain passwords on the wire.
3465     * BUG 2729: Resume keys are *mandatory* for a search when 
3466       listing a W2K and above server from a FATxx filesystem only.
3467     * BUG 2735: Ensure that smbd mangles control characters in file 
3468       and directory names.
3469     * Refactor small pieces of socket handling code (in conjunction 
3470       with Derrell).
3471     * BUG 2698: Fix infinite listing loop in smbclient caused by
3472       an invalid character set conversion.
3473     * Add client code that will abort a directory listing if we 
3474       see the same name twice between packets.
3475     * Performance improvements in trans2 qfilepathinfo code by 
3476       removing unnecessary memset() calls.
3477     * Rewrite the RPC bind parsing functions to follow the 
3478       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
3479     * BUG 2774: Set sparse flag if needed when returning 
3480       file attributes.
3481     * Fix errors listing directories from Windows NT clients 
3482       which caused "." and ".." to show up in explorer.exe.
3483     * Merge of error code fixes from SAMBA_4_0 branch.
3484     * BUG 2801: Fix regression in the "delete veto files" option.
3485     * Fix based on work from  Shlomi Yaakobovich to catch loops 
3486       in corrupted tdb files.
3487     * Allow someone with SeTakeOwnershipPrivilege to chown the 
3488       user of a file to herself.
3489     * Fix minor compiler warnings in printing/printing.c.
3490     * Merge new DOS error code from SAMBA_4.
3491     * Fix issue when non-English characters in filenames and 
3492       directories.
3493     * Fix bogus error message in smbstatus about unknown share modes.
3496 o   Andrew Bartlett <abartlet@samba.org>
3497     * Support raw NTLMSSP authentication for Windows Vista 
3498       clients.
3499     * Fix parallel NTLMSSP processing by removing global state.
3500     * BUG 2684: Add per service hosts allow/deny checks for 
3501       printers when  connecting via MS-RPC.
3502     * BUG 2391: Fix segv caused by free a static pointer returned 
3503       from getpwnam().
3504     * Support Kerberos authentication in smbd when using a keytab
3505       and participating in a non-Microsoft Kerberos realm.
3508 o   Timur Bakeyev <timur@com.bat.ru>
3509     * BUG 2546: Add support for FreeBSD EA API
3510     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
3511     * BUG 2908: Fix string length logic error in msdfs code.
3512     * BUG 2909: Fix typo that caused smbd to call the wrong 
3513       aio_fsync function.
3516 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
3517     * Added Linux per-socket TCP settings.
3520 o   Gerald (Jerry) Carter <jerry@samba.org>
3521     * Added support for \svcctl pipe rpcs.
3522     * Added 'net rpc service' subcommand for managing Win32 
3523       services.
3524     * Refactoring work on the rpc [un]marshalling layer and 
3525       structures.
3526     * Verify privilege name in 'net rpc rights privileges' in 
3527       order to provide better error messages.
3528     * Cleanup rpc structures in rpc_spoolss.h.
3529     * Cleanups and fixes for the \winreg server code.
3530     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
3531     * Fix bugs in client spoolss code after refactoring work.
3532     * Fix Valgrind warnings of invalid reads in the spoolss 
3533       server code.
3534     * Fixed a segv when enumerating services on a Samba host.
3535     * Fix segv in the service control server code.
3536     * Fix crashes in client spoolss calls caused by not checking 
3537       for a valid pointer from the caller.
3538     * Fix regression in DeleteDriver() server routines.
3539     * Fix dup_a_regval() when size is 0.
3540     * Fix usrmgr.exe crash when viewing user properties at 
3541       debuglevel 10.
3542     * Do not enumerate any privileges when 'enable privileges = no'
3543       and log a message if a client tries.
3544     * BUG 2872: Fix cut-n-paste error when checking pointer value 
3545       in ntlmssp_set_workstation().
3546     * Fix upgrade path from earlier nt*tdb files.
3547     * Removed print handle object cache.
3548     * BUG 2853: Don't strip out characters like '$' from printer 
3549       names when substituting for the lpq command.
3550     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
3551     * Fix build issues on x86_64-linux systems caused by valgrind 
3552       headers.  Thanks to Bent Vangli to the suggestions.
3553     * Refactor spoolss client calls.
3554     * Adding 'username map script'.
3555     * Disable schannel on the LSA and SAMR pipes in winbindd client 
3556       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
3557     * Cleanup of winreg API functions.
3558     * Add server stubs for RegSetKeySec() and RegGetKeySec().
3559     * Map generic bits to specific bits in reg_open_entry() 
3560       requests.
3561     * Add write support to registry tdb and printing backends.
3562     * Use tdb lookups rather than hard-coding certain registry 
3563       value names and data.
3564     * BUG 2808: don't try to install man pages if they are not 
3565       present.
3566     * Fix initialized variables reported by valgrind.
3567     * Normalize key lookups in ntprinters.tdb.
3568     * Mark "enumports command" as deprecated.
3569     * Add missing class file for python share command example.
3570     * Fix smbclient build issue on Solaris.
3571     * BUG 2626: ensure that the calling_name is set to something 
3572       after parsing smb.conf (if not set via -n).
3573     * Use "add machine script" when creating a user (ACB_NORMAL)
3574       who has a name ending in '$' (e.g. usrmgr.exe creating
3575       domain trust accounts).
3576     * Add 'rid' synonym for idmap_rid IDMap module.
3577     * Ensure that we set full access on the handle returned 
3578       from _samr_create_dom_{alias,group}() so that future 
3579       set_{alias,group}() commands succeed.
3580     * Fix bug when looking for internal domains in winbindd
3581       (caused winbindd_getgrgid() for local groups to fail).
3582     * Fix query and set alias info calls (level 1 from the MMC 
3583       manage computer plug-in.
3584     * Remove bogus log messages about unknown specversions.
3585     * BUG 2680: copy files from an MS-DFS win2k root share
3586     * BUG 2688: re-implement support for the -P (--port) option
3587     * Support connecting to an 'msdfs proxy' share on a Samba
3588       server.
3589     * Strip the directory path from cups command line printing 
3590       defaults.
3591     * Fix bug that prevented smbclient from creating directories 
3592       on non-dfs paths.
3593     * Deprecate the "printer admin" parameter in favor of the 
3594       SePrintOperatorPrivilege.
3595     * Add the capability to read and write WinNT regf registry 
3596       files.
3597     * Implement access checks for RegOpenXXX() server calls.
3598     * Extend registry client rpc calls.
3599     * Add "net rpc registry" set of commands.
3600     * Remove testprns tool.
3601     * Ensure that printer ACLs use the specific bits as well as 
3602       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
3603       records.
3604     * Add server support for RegSaveKey() for dumping registry 
3605       trees to a regf file.
3606     * Add "enable asu support" smb.conf parameter.
3607     * Merge various small file changes from trunk.
3608     * Remove "winbind enable local accounts" support.
3609     * Remove "ldap filter" smb.conf option.
3610     * Remove editreg utility (needs to be rewritten using regfio.c).
3611     * Fix build failure when running 'make torture' without first 
3612       running 'make all' first.
3613     * BUG 1261: Remove unusable libbiconv from iconv detection 
3614       in configure.
3615     * Add new option for "map to guest".  "Bad Uid" re-enables the
3616       Samba 2.2 behavior of mapping authenticated users to the
3617       guest account if there does not exist a valid Unix account 
3618       for the Windows domain user (based on patch from 
3619       aruna.prabakar@hp.com).
3620     * Fix a couple of regressions after introduction of new winbindd.
3621     * Fix smbpasswd user password change (still worked by bad error
3622       messages) due to trying to strdup a NULL pointer.
3623     * Implement default security descriptors for the
3624       OpenService[Manager]() calls and check requested access mask 
3625       at connect time.
3626     * Include access checks on handle mask for \svcctl operations
3627       such as ControlService() and StartService().
3628     * Implement simulated start and stop service control for 
3629       the spooler service as a per smbd service state value.
3630     * Add interface structure for controlling service via rc.init
3631       scripts (incomplete).
3632     * Convert move_driver_to_download_area() to use copy_file()
3633       rather than moving the files.
3634     * Add version number to registry.tdb file since it can be 
3635       modified now.
3636     * Remove over-paranoid assert() call when checking spoolss 
3637       buffer pointers
3638     * Fix error in EnumPrinterData() reported by valgrind.
3639     * Fix broken help links in SWAT editor caused by new doc layout.
3640     * Ensure that a domain structure in winbind is initialized prior
3641       to assigning the methods for communicating to a DC.
3642     * BUG 3000: Remove background updates of winbind cache and allow
3643       child processes to immediately update and expired cache entry.
3646 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
3647     * Added panic action script for Solaris.
3650 o   Jeremy Cooper <jeremy@ncircle.com>
3651     * Added support for several new \winreg client rpcs.
3654 o   <core@road-star.jp>
3655     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
3656       telldir, rewinddir to match updated large directory code.
3659 o   Guenther Deschner <gd@samba.org>
3660     * Close handles on group creation in rpcclient to better 
3661       support mass group account creation.
3662     * Fix account policy key lookup for minimum and maximum
3663       password lengths.
3664     * Fix some compiler warnings and add missing exclude-block 
3665       in 'net rpc share migrate'.
3666     * Allow use of a non-default smb.conf by rpcclient.
3667     * Fix querydispinfo search semantics in rpcclient test code.
3668     * Fix querydispinfo server semantics to allow to list more 
3669       then 511 users.
3670     * Fix server crash bug in ancient OpenPrinter() call.
3671     * Fix a crash bug when enumerating privileges via the LSA 
3672       calls.
3673     * Fix crash in EnumPrinterKey() client calls caused by previous 
3674       refactoring work.
3675     * Various compiler warning fixes.
3676     * Fix segfault in the client AddPrinterEx-call of 'net 
3677       rpc printer'.
3678     * Fix build issues when --with-aio-support is enabled.
3679     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
3680     * Honour the CC environment variable in python build.
3681     * Fix searches in pdb_ldap for inter-domain trust accounts.
3682     * Don't expand the %L in %LOGONSERVER% from user attributes.
3683     * Fix bug in 'net rpc vampire' that caused accounts to be created 
3684       with no assigned ACB flags.
3685     * Fix enumeration of builtin-aliases.
3686     * Avoid unset rids for builtin-aliases.
3687     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
3688     * More "net rpc share migrate" fixes.
3689     * Merge PADL's idmap_ad plugin (taken from the latest 
3690       xad_oss_plugins-tarball).
3691     * Add support for "idmap backend = ad" when "security = ads".
3692     * Add home directory and shell support from AD via "winbindd nss 
3693       support = sfu" and "security = ads".
3694     * Provide better feedback when we fail share-manipulation 
3695       due to missing scripts.
3696     * Correctly substitute "\" as default winbind separator in 
3697       generate_parm_table.py example share command script.
3698     * Document pam_winbind.c to clarify the working status of
3699       require-membership-of option.
3700     * Added client-support for various lsa_query_trust_dom_info()
3701       calls and a rpcclient-tester for some info-levels.
3702     * Add "net rpc trustdom vampire" tool (in conjunction with 
3703       Lars Mueller).
3704     * Add missing cli_srvsvc_net_share_set_info-function and
3705       rpcclient-testers (in preparation for net share acl migration).
3706     * Print trusted domain passwords returned via rpcclient in 
3707       display charset.
3708     * Error code fixes when attempting to manipulating 
3709       non-existent shares.
3710     * Cleanup "net share migrate" code. 
3711     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
3712       = true".
3713     * Allow admins to uncheck the "User must change Password at 
3714       next Logon" checkbox in User manager (merge from trunk).
3717 o   Renaud Duhaut <rd@duhaut.com> 
3718     * BUG 1040: Add directory_mode parameter when creating recycle
3719       directories.
3722 o   Steven Edwards <steven_ed4153@yahoo.com>.
3723     * Use chsize() if we don't have ftruncate().
3726 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
3727     * BUG 1780: Add Kerberos (file based ticket cache) support 
3728       to smbspool.
3731 o   Steve French <sfrench@us.ibm.com>
3732     * Update list of mount options for mount.cifs.
3733     * Add more defines for POSIX extensions to match the newly 
3734       added client implementation.
3735     * Add initial support for cifs umount utility.
3736     * Fix cifs mounts to handle commas embedded in prompted 
3737       password, and password and credential files.
3738     * Fix cifs mounts to handle domain name and user name in 
3739       username field (in form domain\user).
3740     * Add missing error code mappings when a client unsuccessfully 
3741       tries to create a hard-link.
3742     * Add support so umount.cifs can update mtab.
3743     * Add two newer mount options to syntax help for mount.cifs.
3744     * Add missing remount flag handling.
3745     * Allow domain= to be specified in credentials file. 
3746     * Fix umount.cifs help, allow root to unmount someone else's
3747       mount.
3748     * Lock mtab when updating it during umount.cifs, also delete
3749       only one matching entry at a time.
3750     * Fix minor compiler warnings in the mount.cifs helper.
3753 o   Deryck Hodge <deryck@samba.org>
3754     * BUG 2137: Encode quotes for display in HTML (original patch 
3755       from Jay Fenlason).
3758 o   Olaf Imig <Olaf.Imig@bifab.de>
3759     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
3760       print job ids.
3761     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
3764 o   Björn Jacke <bj@sernet.de>
3765     * Added ioctl constants reported by msbackup.exe and filemon.exe.
3768 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
3769     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
3772 o   John Janosik <jpjanosi@us.ibm.com>
3773     * BUG 2077: Correctly fill in the correct server name when 
3774       processing trusted domain logins.
3775     * BUG 2976: Mark logons for unknown domains with a 
3776       non-authoritative response.
3779 o   William Jojo <jojowil@hvcc.edu>
3780     * AIX AIO fixes.
3783 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3784     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
3785       local drive.
3788 o   Tom Lackemann <cessnatomny@yahoo.com>
3789     * BUG 2242: Patch to ensure that we only set the security 
3790       descriptor on an NTtransact create if we created the file.
3793 o   Volker Lendecke <vl@samba.org>
3794     * Port some of the non-critical changes from HEAD to 3_0. 
3795       The main one is the change in pdb_enum_alias_memberships 
3796       to match samr.idl a bit closer.
3797     * Close handles on user creation in rpcclient to better 
3798       support mass user account creation.
3799     * Implement client RAP calls for enumusers/enumgroups level 0.
3800     * Implement a new caching API for enumerating the pdb elements.
3801     * Convert the RAP user and group enumeration functions to the 
3802       utilized the pdb_search API. 
3803     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
3804       RestrictAnonymous environments.
3805     * Internal passdb API changes for better search capabilities
3806       (based on original work by Guenther Deschner).
3807     * Fix various compiler warnings.
3808     * Add chain length statistics to tdbtool.
3809     * Fix set afs ACL calls on files and directories in the root of 
3810       a share.
3811     * Refactoring work on internal open code
3812     * Correctly initialize the version in a new set of nt*tdb files.
3813     * Remove smb_run_idle_events() from main process loop in smbd 
3814       and instead rely upon the timeout processing to handle 
3815       dropping idle LDAP connections.
3816     * Fix the bug where users show up as trusting domains.
3817     * Fix an assertion failure in winbindd.
3818     * Fix a memleak in vfs_afsacl.
3819     * Various compiler warning fixes.
3820     * Fix compile when --enable-socket-wrapper is defined.
3821     * Fixes for top level acls in vfs_acl.c.
3822     * Refactor passdb interface functions.
3823     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
3824     * Correct 2 segv's in "net rpc printer migrate".
3825     * Return correct group type from smbd for BUILTIN groups.
3826     * Backport the talloc() layer from Samba 4.
3827     * BUG 2701: Fix segv in ldap reconnection code.
3828     * BUG 2705: Fix segv when connecting from usrmgr.exe.
3829     * Use the SID in the user token for the %s expansion in 'afs 
3830       username map'.
3831     * Memory leak fixes in passdb code.
3832     * BUG 2720: Fixes for "net usersidlist".
3833     * BUG 2725: Fix segv in "net ads user".
3834     * Only allow schannel connections if a successful Auth2 
3835       has been previously performed.
3836     * Don't look at gencache.tdb for the trusted domains if 
3837       winbind is present.
3838     * Rewrite winbindd using an asynchronous process model.
3841 o   Herb Lewis <herb@samba.org>
3842     * Compiler warning cleanups.
3843     * smbwrapper Makefile and compile time check cleanups.
3844     * Adding robustness checks for tdbdump and tdbtool.
3845     * Extend tdb command line parsing to arbitrary hex characters.
3846     * Add LOCKING debug class.
3847     * Fix more compiler warnings.
3850 o   Derrell Lipman <derrell@samba.org>
3851     * add support for opening a file for write with O_APPEND 
3852       in libsmbclient.
3853     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
3854       tree.
3855     * Fix smbc_stat() from returning incorrect timestamps IFF 
3856       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
3857       and not if it used cli-getatr() to retrieve the timestamps 
3858       (Win98). 
3859     * Fix handful of compiler warnings.
3860     * BUG 2498, 2484: smbc_getxattr() fixes.
3861     * BUG 1133: Added provision for overloading some global 
3862       configuration options via the new, per-user file 
3863       ~/.smb/smb.conf.append.
3864     * BUG 2543: Properly cache anonymous username when reverting 
3865       to anonymous login, in libsmbclient.
3866     * BUG 2505: Fix large file support in libsmbclient.
3867     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
3868       with a file rather than a directory.
3869     * Correct deprecated lvalue casts in testsuite/libsmbclient.
3870     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
3871       formatting or parsing the timestamp values correctly.
3872     * Correctly detect AF_LOCAL support in configure.
3873     * Fix problem updating file times on Windows 98 hosts using 
3874       libsmbclient.
3875     * Fix compile breakage on Solaris by eliminating the use of 
3876       ctime_r() in libsmbclient DEBUG statement.
3879 o   Jason Mader <jason@ncac.gwu.edu>
3880     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
3881     * Various compiler warning fixes about mistyped variables.
3882     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
3883       and code  cleanups.
3884     * BUG 2527, 2538: Removed unused variables.
3887 o   Marcel <samba.10.maazl@spamgourmet.com>
3888     * Fix regression in OS/2 trans2 open code.
3891 o   Jim McDonough <jmcd@us.ibm.com>
3892     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
3893       (in conjunction with Volker).
3894     * BUG 2953: Prevent the credentials chain on DC gets out 
3895       of sync with client when NT_STATUS_NO_USER is returned.
3896     * Added subcommands to "net rpc vampire" (mostly done by Don 
3897       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
3898       ldif file instead of actually writing to the passdb.  
3899     * BUG 2736: Add retries to workaround winbind race condition 
3900       with detecting idle clients.
3901     * BUG 2953: Additional fixes for domain trusts.  Also clears
3902       up the "bad stub" error when attempting to logon to a Samba
3903       domain with a bad username.
3906 o   Luke Mewburn <lukem@NetBSD.org>
3907     * Compiler warning fixes.
3910 o   Kalim Moghul <kalim@samba.org>
3911     * Removed unused printmode command from smbclient.
3914 o   Lars Müller <lmuelle@samba.org>
3915     * Re-enable the VERSION_REVISION option in case of another 
3916       letter release.
3917     * Fix spoolss python bindings after C++ compiler changes and 
3918       other python fixes.
3919     * BUG 2659: Don't trump on memory in smbtorture.
3920     * BUG 2060: Add -fPIC which is the case for all other Samba 
3921       shared libs.
3922     * Fix argv parsing in "net rpc".
3923     * Add support to create position independent executable (PIE) 
3924       code if the compiler supports it.
3925     * BUG 2767: Add new options to testparm (--show-all-parameters,
3926       --parameter-name, and --section-name).
3927     * Fix net share migrate files to also migrate the ACLs of 
3928       the top level dir of a share.
3931 o   Marcel Muller <mueller@maazl.de>
3932     * Patch to fix the OS/2 EA_FROM_LIST info level call.
3933     * Mangled names fix for OS/2 clients.
3934     * Ensure we correctly set the return packet size to include the 
3935       pad bytes in reply_readbmpx().
3936     * Fix for bug in SMBwriteBraw that incorrectly returned the 
3937       number of bytes written. 
3940 o   Ricky Nance <ricky.nance@gmail.com>
3941     * Implemented mklogon script generator for domain logon scripts.
3944 o   James Peach <jpeach@sgi.com>
3945     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
3946     * BUG 2285: Patch for hires timestamps and efficient notify code.
3947     * MS-DFS tidyup patches.
3948     * Build fixes on IRIX.
3949     * IRIX compiler warning fixes.
3950     * BUG 2596: Fix become_root link issues and one IRIX stack 
3951       backtrace bug.
3952     * Fix for null pointer ACL free.
3953     * BUG 2314: Fix const compiler warnings in the quota code.
3956 o   Ed Plese <ed@edplese.com>
3957     * Fix faulty logic which caused winbindd to return failure 
3958       when a user possessed no supplementary groups.
3961 o   Marcin Porwit <mporwit@centeris.com>
3962     * Initial support for the \eventlog pipe.
3963     * Fix a memleak in the eventlog code.
3964     * Miscellaneous fixes for Samba's experimental event log support.
3965     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
3966       calls.
3969 o   Tim Potter <tpot@samba.org>
3970     * BUG 2940, 2943: Fixed various compiler warnings regarding 
3971       mismatched types and unused variables.
3972     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
3973     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
3974       configure script on HPUX IA.
3975     * Remove unused autoconf #define's.
3976     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
3977     * Removed unused function declarations in tdb.h.
3978     * BUG 2895: Don't wrap non-existent functions in the python 
3979       tdb bindings.
3980     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
3981       according to POSIX.
3982     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
3983       defined.
3984     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
3985     * BUG 2611: Add fflush(stdout) after displaying username prompt 
3986       in smbsh if username not specified on command line.
3987     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
3988     * BUG 2808: Update install swat message to reflect the fact 
3989       that swat/README no longer exists.
3992 o   Denis Sbragion <d.sbragion@infotecna.it>
3993     * BUG 2196: Allow absolute path (system wide) recycle bin.
3996 o   Fernando Schapachnik <fernando@mecon.gov.ar>
3997     * Add logon hours support for the Postgres backend.
4000 o   Richard Sharpe <rsharpe@samba.org>
4001     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
4003 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
4004     * BUG 2362: Quota support fix for DragonFly.
4005     * Fix dragonfly detection in configure.
4008 o   Simo Sorce <idra@samba.org>
4009     * Allow Domain Admins to force user sessions to close via the 
4010       Windows Server Manager.
4011     * Add support to 'net rpc right privileges <name>' to enumerate 
4012       accounts which possess a specific privilege.
4013     * Fix memory issues issues in vfstest (reported by Rainer Link).
4014     * Randomize reloading as to not overload cupsd.
4017 o   Smitty <smitty@plainjoe.org>
4018     * Compile fixes for smbget when using --enable-developer.
4019     * Include LUID values to match Windows privileges since 
4020       apparently this matters to printmig.exe
4023 o   John Terpstra <jht@samba.org>
4024     * Solaris packaging fixes.
4025     * Clean up usage help text in "net rpc user"
4028 o   Andrew Tridgell <tridge@samba.org>
4029     * Merge socket wrapper library fixes from Samba 4.
4032 o   Brett Trotter <blt@iastate.edu>
4033     * Fix definition of global_sid_* in vfs_acl.c.
4036 o   Mark Weaver <mark-clist@npsl.co.uk>
4037     * Patch to fix sys_select so it can't drop signals if another 
4038       fd is ready to read. 
4041 o   Jelmer Vernooij <jelmer@samba.org>
4042     * Remove --with-manpage-languages configure option.
4043     * Merge socket wrapper fixes for IRIX systems from the 
4044       Samba 4 branch.
4045     * Add socket_wrapper library to 3.0. Can be enabled by passing
4046       --enable-socket-wrapper to configure.
4047     * Fix build of the various sql pdb backends after new talloc.
4050 o   Qiao Yang <qyang@stbernard.com>
4051     * Use our own DC when getting the SID for a domain.
4055 Release Notes for older release follow:
4057       --------------------------------------------------
4058                    ===============================
4059                    Release Notes for Samba 3.0.14a
4060                               Apr 14, 2005
4061                    ===============================
4063 Common bugs fixed in 3.0.14a include:
4065   o Compatibility issues between Winbind and Windows 2003 SP1
4066     domain controllers (*2k3sp1*).
4067   o MS-DFS errors with Windows XP SP2 clients.
4068   o High CPU loads caused by infinite loops in the FindNext()
4069     server code.
4070   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
4071     files.
4073     
4074 ######################################################################
4075 Changes
4076 #######
4078 Changes since 3.0.14
4079 --------------------
4081 commits
4082 -------
4083 o   Jeremy Allison <jra@samba.org>
4084     * Fixed invalid SMB_ASSERT() triggered by checking access on
4085        ACL'd files.
4088 Changes since 3.0.13
4089 --------------------
4091 smb.conf changes
4092 ----------------
4094     Parameter Name                      Action
4095     --------------                      ------
4096     dos filetimes                       Enabled by default
4099 commits
4100 -------
4101 o   Jeremy Allison <jra@samba.org>
4102     * Prevent nt_status code support when negotiating protocols
4103       earlier than NT1.
4104     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
4105       as this SMB is DOS codepage only.
4106     * BUG 2585: Fix printf() issues in smbpasswd which caused
4107       seg faults.
4108     * BUG 2563: Fix infinite loop on non-existent file with 
4109       FindNext().
4110     * BUG 2581 (partial): Ensure if realloc fails on an internal 
4111       tdb we fail gracefully.
4112     * Ensure that 'dos filetimes' works with ACLs.
4113     * Set 'dos filetimes = yes' as the default for smb.conf.
4115       
4116 o   Gerald (Jerry) Carter <jerry@samba.org>
4117     * Workaround autoconf issue to prevent debug symbols from 
4118       being included in the default build.
4119     * Disable schannel on the \lsarpc pipe in order to successfully 
4120       enumerate users and groups (*2k3sp1*)
4121     * Fix parsing error in rpc binds which broke NTLMSSP 
4122       authentication.   And as a result broke CTL+ALT+DEL password 
4123       changes from a Windows 2003 SP1 member of a Samba domain 
4124       (*2k3sp1*).
4125     * Revert change to FindFirst() server code that broke WinXP
4126       SP2 clients from launching *.exe files from a dfs target 
4127       share.
4128     * BUG 2588: Force smbclient to send netbios messages to port 
4129       139 unless otherwise instructed (based on patch from Thomas 
4130       Bork).
4131       
4133 o   Volker Lendecke <vl@samba.org>
4134     * Fix build on FreeBSD 4 where Winbind is not supported.
4135     * Fix 'wbinfo --user-sids' when using domain local groups.
4136     * Restrict domain local groups reported by 'wbinfo -r' to
4137       the Samba server domain and not the users domain.
4140 o   Lin Li <linl@xandros.com>
4141     * Ensure that winbind initializes internal trusted domain 
4142       structures when enumerating users and groups.
4143       
4145 o   Tim Potter <tpot@samba.org>
4146     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
4147       test.
4148     * Fix compiler warnings.
4151 o   <psz@maths.usyd.edu.au>
4152     * Fix for possible root squash NFS bugs.
4153     
4154     
4155 o   Simo Sorce <irda@samba.org>
4156     * Debian packaging fixes.
4157     
4159       --------------------------------------------------
4160                    ==============================
4161                    Release Notes for Samba 3.0.13
4162                             Mar 24, 2005
4163                    ==============================
4165 Common bugs fixed in 3.0.13 include:
4167   o Infinite FindNext() loop from Windows 9x client when
4168     copying or deleting files on a Samba file share using 
4169     explorer.exe.
4170   o Numerous smbclient bugs when listing directories.
4171   o Failures in smbclient when connecting to a Windows 9x 
4172     file server.
4174     
4175 ######################################################################
4176 Changes
4177 #######
4179 Changes since 3.0.12
4180 --------------------
4182 o   Jeremy Allison <jra@samba.org>
4183     * Fix typo bug in smbclient where flags overwrote info level
4184       in the cli_list_new().
4185     * Fix old smbclient bug where ff_searchcount was being compared 
4186       to -1 resulting in processing a filename twice.
4187     * Fix segv in smbclient caused by overwriting the last 2 bytes 
4188       in cli_list_new().
4189     * BUG 2530: Fix potential segv in smbclient when talking to a 
4190       Windows 9x file server.
4191     * Fix last entry offset in cli_list_new() when using a 
4192       FindFirst/FindNext info level of 0x104.
4193     * BUG 2501: Stop Win98 from looping doing FindNext on a 
4194       singleton directory. 
4195     * BUG 2521: Fix error in access checks when user group ACLs.
4196       
4197       
4198 o   Gerald (Jerry) Carter <jerry@samba.org>
4199     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
4200       to delete all versions of a driver.
4201     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
4202       'disable netbios = yes'.
4203     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
4204       shares.  
4205     * Update RedHat packaging files to require cups support.  Also
4206       remove requirement for 'idmap {uid,gid}' settings in smb.conf
4207       from winbindd init script.
4208     * BUG 2516: fix compile issue on True64.
4209     
4210       
4211       
4212 o   Guenther Deschner <gd@samba.org>
4213     * Check for the correct cli-struct when copying files in 'net 
4214       rpc printer' routines.
4217 o   Herb Lewis <herb@samba.org>
4218     * Fix incorrect test in 'net rpc user' when the user is not
4219       a member of any groups.
4220       
4221       
4222 o   Jim McDonough <jmcd@us.ibm.com>
4223     * Make sure that enum_group_members() searches the correct suffix.
4224     
4226       --------------------------------------------------
4227                    ==============================
4228                    Release Notes for Samba 3.0.12
4229                             Mar 18, 2005
4230                    ==============================
4232 Common bugs fixed in 3.0.12 include:
4234   o Winbind failures when using 'disable netbios = yes'
4235   o Failure to establish a trust relationship via 'net rpc trust 
4236     establish'
4237   o Various portability & compiler issues.
4238   o Read only file deletion failure caused by new delete semantics 
4239     in Windows XP SP2 and the MS 04-044 security hotfix.
4240   o Error messages from shared Excel workbooks residing on Samba 
4241     file shares.
4242   o Missing files in the output of smbclient -c 'dir' when run 
4243     against Windows file servers.
4244   o Inability for Print Administrators to pause/resume/purge print 
4245     queues.
4247 Additional features introduced in Samba 3.0.12:
4249   o Performance enhancements when serving directories containing 
4250     large number of files.
4251   o MS-DFS support added to smbclient.
4252   o More performance improvements when using Samba/OpenLDAP based 
4253     DC's via the 'ldapsam:trusted=yes' option.
4254   o Support for the Novell NDS universal password when using the
4255     ldapsam passdb backend.
4256   o New 'net rpc trustdom {add,del}' functionality to eventually 
4257     replace 'smbpasswd {-a,-x} -i'.
4258   o New libsmbclient functionality.
4262 =======================
4263 Large Directory Support
4264 =======================
4266 Samba 3.0.12pre1 introduces a specific mechanism for dealing
4267 with file services that frequently contain a large number of files
4268 per directory.  Historically Samba's performance has suffered 
4269 in such environments due to the translation from case 
4270 insensitive lookups by Windows client to the case sensitive
4271 storage mechanisms used by UNIX filesystems.
4273 Configuration details along with a short HOWTO can be found at:
4275 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
4278 ==================================
4279 libsmbclient Binary Compatibility
4280 ==================================
4282 Please note that a change has been made to the _SMBCCTX structure 
4283 in source/include/libsmbclient.h.  This change is not backwards
4284 compatible with applications linked against the libsmbclient.so
4285 library from Samba 3.0.11.  However, it is compatible with all 
4286 other Samba 3.0.x releases.  This means that it will be most likely
4287 be necessary to recompile any applications linked against the 
4288 3.0.11 version of the library.
4291 ######################################################################
4292 Changes
4293 #######
4295 smb.conf changes
4296 ----------------
4298     Parameter Name                      Action
4299     --------------                      ------
4300     allocation roundup size             New
4301     log nt token command                New
4302     write cache                         Deprecated
4306 Changes since 3.0.11
4307 --------------------
4309 commits
4310 -------
4311 o   Jeremy Allison <jra@samba.org>
4312     * BUG 2146: Return correct allocation sizes so as not to crash 
4313       the VC++ compiler.
4314     * BUG 962: Ensure that parsing of service names in smb.conf is 
4315       multibyte safe.
4316     * BUG 2201, 2227: Support new delete semantics used by MS04-044
4317       and XP SP2.
4318     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
4319       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
4320     * Add special hooks when serving directories containing large
4321       numbers of files.
4322     * Ensure that WINS negative name query responses and WACK 
4323       packets use the correct RR type of 0xA instead of reflecting 
4324       back what the query RR type was (0x20).
4325     * BUG 2310: Only do 16-bit normalization on small dfree request.
4326     * BUG 2323: Correct authentication failure when using plaintext 
4327       passwords from Windows XP clients.
4328     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
4329       work around issues building MS Visual Studio 6.0 project 
4330       on a Samba file share while restoring the pre-3.0.21pre1 
4331       behavior by default.
4332     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
4333       stat when checking for existence of a pathname.
4334     * Check the sticky bit on the parent directory for supporting
4335       the new WinXP SP2 file deletion semantics.
4336     * Various oplock, share mode, and byte range locking fixes
4337       found by Connectathon tests.
4338     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
4339       code (inspired by patch from Satwik Hebbar).
4340     * BUG 2382, 2045: More pending modtime and delayed write fixes
4341       for MS Excel (incorporates partial patches from 
4342       ke_miyata@itg.hitachi.co.jp).
4343     * Debug log message cleanups.
4344     * Add case insensitive search for a principal match on logon 
4345       verification in the system keytab (based on patch by 
4346       Michael Brown <mbrown@fensystems.co.uk>).
4347     * Revert the previous SMB signing change from Nalin Dahyabhai
4348       when using DES keys.
4349     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
4350     * Fix FindFirst() server code to deal with resume names of ".."
4351       and "." (found by Jim McDonough).
4352     * BUG 2451: Fix missing functions in full audit VFS module.
4353     * Ensure that smbd logs failures reported by DISK_FREE()
4354       (reported by Ying Li <ying.li2@hp.com>).
4355     * Ensure that smbclient obeys the max protocol argument again.
4356     * BUG 2335: Return correct error code for OS/2 clients (based on
4357       negotiated protocol level).
4358     * BUG 2460, 2464: remove dead code and unused variables 
4359       (reported by Jason Mader).
4362 o   Andrew Bartlett <abartlet@samba.org>
4363     * Avoid length-limited intermediate copy of NT and LM responses 
4364       in NETLOGON client.
4365     * Debug message cleanups in the NTLMSSP implementation.
4368 o   Manuel Baena <mbaena@lcc.uma.es>
4369     * Print actual error message in smbmnt.c:fullpath().
4372 o   Vince Brimhall <vbrimhall@novell.com>
4373     * Add support for Novell NDS universal password.
4374     * BUG 2424: Ensure that uidNumber and gidNumber use match 
4375       the RFC2307 schema.
4376     * BUG 2453: Change the way pdb_nds.c handles users with no 
4377       Universal or Simple Password.
4378     * NDS schema file corrections.
4381 o   Gerald (Jerry) Carter <jerry@samba.org>
4382     * Add trans2 client call for checking dfs referrals
4383     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
4384       when checking directories on modern CIFS servers.
4385     * Add MS-DFS support to smbclient.
4386     * Code cleanup of adt_tree.[ch].
4387     * Add missing checks to allow root to manage user rights.
4388     * Allow domain admins to manage rights assignments on domain members
4389       servers.
4390     * BUG 2333: Use the lpq command to pass in the correct printer name 
4391       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
4392       the default.
4393     * BUG 1439: make sure to initialize pointer to prevent invalid 
4394       free()'s on exit.
4395     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
4396       netbios = yes'.
4397     * Add cups-devel to BuidlRequires directive in Fedora spec file.
4398     * BUG 858: Fix order of popt args evaluation so we don't crash 
4399       when given no command line args.
4400     * Remove dependency on bash for source/autogen.sh.
4401     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
4402     * Implement MS-DFS for recursive directory listings in smbclient.
4403     * BUG 2394: Fix nmbd linking issue on IRIX.
4404     * Only display the publish check box in the client's printer 
4405       properties dialog if we are a member of an AD domain.
4406     * BUG 2363: allow 'in use' driver to be removed as long as 
4407       one 'Windows NT x86' driver remains.
4408     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
4409       porting purposes.
4410     * Enforce better printer.tdb cache consistency when removing 
4411       jobs from a print queue via SMB.
4412     * Ensure that pause/resume/purge print queue commands are run
4413       with the appropriate level of privilege necessary to actually
4414       work.
4415     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
4416       for 'printing = cups' installations that do not actually have 
4417       libcups.
4418     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
4419     * BUG 2215: Rewrite questionable code that was causing gcc to 
4420       choke.
4421     * Add server support for LsaLookupPrivValue().
4422     * Various small compile fixes and cleanup warnings.
4423     * BUG 2456: Fix compile failure on non-gcc platforms due to
4424       non-standard pragma.
4427 o   Kevin Dalley <kevin@kelphead.org>
4428     * BUG 2398: Don't force smbclient to assume a dry run if the 
4429       target tarfile is /dev/null.
4432 o   Guenther Deschner <gd@samba.org>
4433     * Fix crash bug in the client-spoolss enumdataex-call.
4434     * Expand the valid-workstation-scheme by expanding names 
4435       beginning with a plus (+) as a unix group.
4436     * Allow own netbios name to be set in smbclient's session setup.
4437     * Better handling of LDAP over IPC connections that have expired 
4438       on the LDAP-Server.
4439     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
4440     * Add examples/misc/adssearch.pl.
4441     * BUG 2343: Build fixes.
4442     * Support get_user_info_7 in SAMR server RPC.
4443     * Fix server_role in the samr_query_dom_info calls.
4444     * Add example perl script to check for multiple LDAP entries
4445       after running 'net rpc vampire'.
4446     * Add more output when listing printer forms via rpcclient.
4447     * Debug log message cleanup.
4450 o   Steve French <sfrench@us.ibm.com>
4451     * On failed mount (ENXIO) retry share name in uppercase (fix
4452       mount to FastConnect AIX SMB server).
4453     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
4454     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
4455       it with a user name.
4456     * Update for new CIFS POSIX info levels.
4457     * Ignore users mount parm in mount.cifs.
4459 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
4460     * BUG 1549: Don't truncate service names in smbstatus.
4463 o   William Jojo <jojowil@hvcc.edu>
4464     * BUG 2445: Patch to avoid default ACLs on AIX.
4467 o   S Murthy Kambhampaty <smk_va@yahoo.com>
4468     * Add idmap_rid module to Fedora and RedHat spec files.      
4471 o   Volker Lendecke <vl@samba.org>
4472     * BUG 2401: Flush internal getpwnam() cache after deleting a 
4473       user.
4474     * BUG 1604: Make winbind work with more than 10 trusted domains.
4475     * Cleanup various compiler warnings.
4476     * Fix a memory leaks in privileges code and passdb backends.
4477     * Fixes for samr_lookup_sids() client call.
4478     * Optimize _samr_query_groupmem with LDAP backend for large 
4479       domains.
4480     * Support SIDs as %s replacements in the afs username map 
4481       parameter.
4482     * Add 'log nt token command' parameter. If set, %s is replaced 
4483       with the user sid, and %t takes all the group sids.
4484     * Do not use the "Local Unix Group"-default description for 
4485       all kinds of group-mappings. 
4486     * Fix uninitialized variable in Linux nss_winbind library.
4487     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
4488     * Implement 'net afs impersonate'.
4489     
4491 o   Herb Lewis <herb@samba.org>
4492     * Fix build problem when HAVE_POSIX_ACL is not defined.
4493     * BUG 2417: Add help lines for net rpc group addmem and 
4494       delmem commands.
4495     
4497 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
4498     * Add support to libsmbclient for getting and setting DOS 
4499       attributes using EA functions.
4500     * Fix libsmbclient's URL encoding/decoding.
4501     * Replace browse listing URI queries with an internal options 
4502       structure (previous method violated the SMB URI syntax).
4503     * Allow tree connects to be multiplexed over a single CIFS server 
4504       connection context.
4505     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
4506       can determine a dead tree connection.
4507     * Implement better solution for backwards binary compatibility
4508       in libsmbclient while adding new fields to struct _SMBCCTX.
4511 o   Mark Loeser <halcy0n@gentoo.org>
4512     * BUG 2443: Compile fix for gcc4.
4515 o   Jim McDonough <jmcd@us.ibm.com>
4516     * BUG 2338: Fix coredump when OS/2 checks for long file name 
4517       support (with .+,;=[].) (thanks to Guenter Kukkukk).
4520 o   Jason Mader <jason@ncac.gwu.edu>
4521     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
4522       2341, 2342)
4525 o   Jim McDonough <jmcd@us.ibm.com>
4526     * Fixes for server schannel implementation when 'restrict 
4527       anonymous = 1' is set in smb.conf.
4528     * Fix bug in server side lookupsids reply that crashed lsass.exe 
4529       on Windows clients.
4530     * Fix 'net rpc trustdom establish'.
4531     * BUG 2062: Turn off broadcast for all 390 NICs.
4532     * Fix 'net rpc trustdom add' to correctly add new domain trust 
4533       accounts.  This will eventually replace 'smbpasswd -a -i'.
4534     * Implement 'net rpc trustdom del', including client side of 
4535       samr_remove_sid_from_foreign_domain.
4536     * Bring IBM Directory Server schema up to date with openldap 
4537       schema.
4538     * Allow for better protection of sensitive attributes in IBM
4539       Directory Server.
4542 o   Stefan Metzmacher <metze@samba.org>    
4543     * Fix memleaks in the nttrans code.
4546 o   Mike Nix <mnix@wanm.com.au>
4547     * Add SMBsplopen and SMBsplclose client calls.
4550 o   Justin Ossevoort <justin@snt.utwente.nl>
4551     * BUG 2316: Fix crashes in pdb_pgsql.
4554 o   James Peach <jpeach@sgi.com>
4555     * Fixes in string handling code.
4556     * Fix oplock2 test in client smbtorture.
4559 o   Tim Potter <tpot@samba.org>
4560     * Fix up example pdb modules after prototype change for 
4561       setsampwent.
4562     * BUG 2058: Fix for shared object creation in examples.
4563     * BUG 2315: Fix segv in LSA privileges server code.
4564     * Build fixes for python wrapper libraries.
4567 o   Richard Sharpe <rsharpe@samba.org>
4568     * BUG 2044: Fix segv in profiles tool.
4569     * Fix bogus error messages when enumerating user group 
4570       membership via 'net rpc'.
4573 o   Simo Sorce <idra@samba.org>
4574     * Debian packaging fixes.
4577 o   John Terpstra <jht@samba.org>
4578     * Add the capability to set account description using pdbedit.
4581 o   Doug VanLeuven <roamdad@sonic.net> 
4582     * Add more case/realm/name permutations to the Kerberos keytab.
4583     * AIX compile fixes.
4586 o   Jelmer Vernooij <jelmer@samba.org>
4587     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
4588     * BUG 1957: Implement minimal update of fields in mySQL pdb 
4589       module.
4590     
4592 o   Torsten Werner <torsten.werner@assyst-intl.com>
4593     * BUG 2405: Define 'lpstat' printcap output on HPUX.
4594     
4596 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
4597     * Detect infinite loops when traversing tdbs.
4600       --------------------------------------------------
4601                    ==============================
4602                    Release Notes for Samba 3.0.11
4603                              Feb 5, 2005
4604                    ==============================
4606 Common bugs fixed in 3.0.11 include:
4608   o Crash in smbd when using CUPS printing.
4609   o Parsing error of other SIDs included in the user_info_3
4610     structure returned from domain controllers.
4611   o Inefficiencies when searching non-AD LDAP directories.
4612   o Failure to expand variables in user domain attributes
4613     in tdbsam and ldapsam.
4614   o Memory leaks.
4615   o Failure to retrieve certain attribute when migrating from 
4616     a Windows DC to a Samba DC via 'net rpc vampire'.
4617   o Numerous printing bugs bugs including memory 
4618     bloating on large/busy print servers.
4619   o Compatibility issues with Exchange 5.5 SP4.
4620   o sendfile fixes.
4622 Additional features introduced in Samba 3.0.11:
4624   o Winbindd performance improvements.
4625   o More 'net rpc vampire' functionality.
4626   o Support for the Windows privilege model to assign rights
4627     to specific SIDs.
4628   o New administrative options to the 'net rpc' command.
4631 ============
4632 LDAP Changes
4633 ============
4635 If "ldap user suffix" or "ldap machine suffix" are defined in
4636 smb.conf, all user-accounts must reside below the user suffix,
4637 and all machine and inter-domain trust-accounts must be located 
4638 below the machine suffix.  Previous Samba releases would fall 
4639 back to searching the 'ldap suffix' in some cases.
4642 ===============
4643 Privilege Model
4644 ===============
4646 Samba 3.0.11 supports the following assignable rights
4648 SeMachineAccountPrivilege  Add machines to domain
4649 SePrintOperatorPrivilege   Manage printers
4650 SeAddUsersPrivilege        Add users and groups to the domain
4651 SeRemoteShutdownPrivilege  Force shutdown from a remote system
4652 SeDiskOperatorPrivilege    Manage disk shares
4654 These rights can be assigned to arbitrary users or groups
4655 via the 'net rpc rights grant/revoke' command.  More details
4656 of Samba's privilege implementation can be found in the 
4657 Samba-HOWTO-Collection.
4658     
4660 ######################################################################
4661 Changes
4662 #######
4664 Changes since 3.0.10
4665 --------------------
4667 smb.conf changes
4668 ----------------
4670     Parameter Name                      Action
4671     --------------                      ------
4672     afs token lifetime                  New
4673     enable privileges                   New
4674     ldap password sync                  Alias
4675     min password length                 Deprecated
4676     winbind enable local accounts       Deprecated
4679 commits
4680 -------
4681 o   Jeremy Allison <jra@samba.org>
4682     * Extend vfs to add seekdir/telldir/rewinddir.
4683     * Fix dirent return.
4684     * Fix bugs when handling secondary trans2 requests.
4685     * Implementation of get posix acls in UNIX extensions.
4686     * Added set posix acl functionality into the UNIX extensions code.
4687     * Updated config.guess/config.sub .
4688     * Fix error reply when 'follow symlinks = no'.
4689     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
4690       not already zero.
4691     * Fixes for LARGE_READX support.
4692     * Fix the problem we get on Linux where sendfile fails, but we've
4693       already sent the header using send().
4694     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
4695       inherit = no'.
4696     * BUG 2088: Ensure inherit permissions is only applied on a new 
4697       file, not an existing one.
4698     * Don't go fishing for the krb5 authorization data unless we know
4699       it's there.
4700     * Fixes for libsmbclient to ensure that interrupted system calls
4701       are restarted minus the already expired portion of the timeout
4702       (based on work by Derrell Lipman).
4703     * More Unicode string parsing fixes.
4704     * Convert the winreg pipe to use WERROR returns.
4705     * Make all LDAP timeouts consistent (input from Joe Meadows 
4706       <jameadows@webopolis.com>).
4707     * BUG 2231: Remove double "\\" from client findfirst.
4708     * BUG 2238: Fix memory leak in shadow copy vfs.
4709     * Return correct DOS/NT error code on transact named pipe on 
4710       closed pipe handle.
4711     * BUG 2211: Fix security descriptor parsing bug (based on work by 
4712       Mrinal Kalakrishnan <mail@mrinal.net>).
4713     * BUG 2270: Fix memory leaks in cups printing backend support 
4714       (based on work by Lars Mueller).
4715     * BUG 2255: Fix debug level in Kerberos error messages.
4716     * BUG 2110: Ensure we convert to ucs2 correctly after the 
4717       CAN-2004-0930 patch.
4718     * Make strict locking an enum. Auto means use oplock optimization.
4719     * Fix client  & server to allow 127k READX calls.
4720     * More *alloc fixes (includes additional fixes by Albert Chin.
4721     * Catch sendfile errors correctly and return the correct values 
4722       we want the caller to return.
4723     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
4724       for better use by desktop environments such as GNOME.
4725     * Ensure we can't remove a level II oplock without having the
4726       shared memory area locked.
4727             
4729 o   Timur Bakeyev <timur@com.bat.ru>
4730     * BUG 2100: change the way we check for errors after a dlopen().
4731     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
4732     
4733     
4734 o   Andrew Bartlett <abartlet@samba.org>
4735     * Clarify error message when 'lanman auth = no'.
4736     * Remove the unnecessary UTF-8 conversion calls in the calls to
4737       auth_winbind from smbd.
4738     * Don't store the auth-user credentials with the cli_state* as 
4739       this can cause the schannel setup to fail when the auth-user
4740       domain is not our primary domain.
4743 o   Grigory Batalov <bga@altlinux.org>
4744     * Fix encoding while receiving of a message which was actually 
4745       sent using STR_ASCII.
4748 o   Daniel Beschorner <db@unit-netz.de>
4749     * BUG 603: Correct access mask check for _samr_lookup_domain()
4750       to work with Windows RAS server
4753 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
4754     * Fix missing printer_tdb reference decrement.
4755     
4757 o   Gerald (Jerry) Carter <jerry@samba.org>
4758     * BUG 2073: fall back to smb_name if current_user_info is not
4759       available in lp_file_list_changed().
4760     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
4761       errors.
4762     * Don't run the background LPQ daemon when we are running in
4763       interactive mode.
4764     * prevent the background LPQ daemon from updating the print queue
4765       cache just because multiple smbd processes sent a message that
4766       it was out of date.
4767     * consolidate printer searches to use find_service rather than 
4768       for(...) loops.
4769     * BUG 2091: don't remove statically defined printers in 
4770       remove_stale_printers().
4771     * Fix logic error in add_a_form() that only compared N characters 
4772       instead of the entire form name.
4773     * BUG 2107: fix memory bloating caused by large numbers of 
4774       print_queue_updates() requests sent via messages.tdb.
4775     * Check the setprinter(3) based on the access permissions on 
4776       the handle and avoid the call to print_access_check().
4777     * Re-instantiate previous semantics for calling init_unistr2() 
4778       with a NULL source buffer.
4779     * Support Windows privilege model for assigning rights
4780       to specific SIDs.  Based on work by Simo Sorce in the trunk 
4781       svn branch.  This feature is controlled by the 'enable 
4782       privileges = [yes|no]' smb.conf(5) option.
4783     * Add some smb.conf scripts for add/delete/change shares and 
4784       deleting cups printers.
4785     * Expand variables in the profile path, logon home and logon script 
4786       values when using either tdbsam or ldapsam.
4787     * Add Domain Admins (Full Control) to the default printer security 
4788       descriptor if we are a DC.
4789     * RedHat and Fedora Packaging fixes for perl dependencies.
4790     * Remove unused schema items from OpenLDAP schema file.
4791     * Remove duplicate enumeration of "Windows x86" architecture
4792       when listing printer drivers via rpcclient.
4793     * Fail set_privileges() if 'enable privileges = no' to prevent 
4794       confused admins.
4795     * Fix segfault in cups_queue_get().
4796     * Tighten restrictions on changing user passwords when 
4797       the connected user possesses the SeMachineAccountPrivilege.
4798     * Ensure we set NETBIOSNAME.domainname for the long machine name
4799       when publishing printers in AD (based on input from Rob Foehl).
4800     * Mark 'winbind enable local accounts' as deprecated.
4801     * Mark testprns tool as deprecated.
4802     * Allow root to grant/revoke privilege assignments.
4803     * Correct interaction between user rights and se_access_check() on
4804       SAMR objects.
4805     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
4806       class.
4807     * BUG 2262: Add support in configure.in for *freebsd6*.
4808     * BUG 2266: Portability fixes for quota code on FreeBSD4.
4809     * BUG 2264: Remove shutdown and abortshutdown commands from 
4810       rpcclient in favor of using the same functions in 'net'.
4811     * BUG 2295: Prevent smbd from returning an empty server name
4812       in certain lanman api calls.
4813     * BUG 2290: Fix autogen.sh script in examples (based on original
4814       patch from Lars Mueller).
4815     * Fix bug enumerating domain trusts in security = ads.
4816     * Fix segv in rpcclient's dsenumdomtrusts.
4817     * Fix bug in expansion of %U and %G in included filenames.
4818     * BUG 2291: Restrict creation of server trust and domain trust
4819       accounts to members of the "Domain Admins" group.
4821 o   Nadav Danieli <nadavd@exanet.com>
4822     * Short circuit some is_locked() tests if we are oplocked.
4823     
4824     
4825 o   Guenther Deschner <gd@samba.org>
4826     * Allow 'localhost' as a valid server name in the smbd for the
4827       spoolss calls.
4828     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
4829       Mewburn for the input).
4830     * BUG 2059: Add additional checks needed after logic change to the
4831       HAVE_WRFILE_KEYTAB detection test.
4832     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
4833       Samba DC.  Allow us to lookup at least our own SID.
4834     * More fixes to have proper German in swat (Thanks to Reiner 
4835       Klaproth and Björn Jacke.
4836     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
4837       setting security descriptors with smbcacls and using with 
4838       the -S or -M switch. 
4839     * Include the munged_dial, bad_password_count, logon_count, and 
4840       logon_hours attributes when running 'net rpc vampire'.
4841     * Fix segfault in idmap_rid.
4842     * When winbindd is operating in the multi-mapping mode of 
4843       idmap_rid, allow BUILTIN domain-mapping.
4844     * Display infolevel 12 in query_dom_info in rpcclient.
4845     * Fix bug in winbindd's lowercasing of usernames.
4846     * Allow -v or -l for displaying verbose groupmap-listing 
4847       as well as "verbose".
4848     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
4849       vampire'.
4850     * Close LDAP-Connection before retrying to open a new connection 
4851       in the retry-loop.
4852     * Marking "min password length" as depreciated.  
4853     * Implement SAMR query_dom_info-call info-level 8 server- and 
4854       client-side, based on samba4-idl.
4855     * Allow rpcclient to define a port to use when connecting 
4856       to a remote server.
4857     * Allow Account Lockout with Lockout Duration "forever" (until 
4858       admin unlocks) to be set and displayed in User Manager.
4859     * Allow to set acb_mask in rpcclient's enumdomusers.
4860     * Add more generic rootDSE inspection function to check 
4861       for given controls or extensions and remember these on a 
4862       per server basis.
4863     * Improve LDAP search efficiency by passing the acb_mask to 
4864       pdb_setsampwent().
4865     * Fixes for ldapsam_enum_group_memberships().
4866     * Add createdomgroup to rpcclient.
4867     * Add "net rpc user RENAME"-command.
4868     * Display sam_user_info_7 in rpcclient.
4869     * Make multi-domain-mode in idmap_rid accessible from outside 
4870       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
4871     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
4872       "Lockout Duration: Forever".
4873     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
4874       config utility.
4875     * Require assignment of Administrator SID in the passdb 
4876       backend.  Fall back to the default name of 'Administrator' if
4877       the lookup fails rather than using the first name in the
4878       default 'admin users' list.
4879     * Enhance LDAP failure debug messages.
4880     * BUG 2291: Call the 'add machine script' for server trust and 
4881       domain trust accounts as well as workstation accounts.
4882     
4883     
4884 o   Levente Farkas <lfarkas@lfarkas.org>
4885     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
4886       packages.
4889 o   Jay Fenlason <fenlason@redhat.com>
4890     * Fix crash in 'net join' due to calling free on 
4891       static buffers.
4892     * Several patches from RedHat's Fedora Core RPMS.
4895 o   Rob Foehl <rwf@loonybin.net>.
4896     * Compiler warnings.
4897     * Try modifying printer published attributes before adding it a
4898       new entry in AD.
4899     * Solaris packaging fixes.
4900     * Don't force the cups printer-make-and-model tag as the comment
4901       for autoloaded printers.
4902     * Implement caching of names from printcap to support a true
4903       'printcap cache time'.
4906 o   Johann Hanne <jhml@gmx.net>
4907     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
4910 o   Jeff Hardy <hardyjm@potsdam.edu>
4911     * Example script for 'add print command' when using CUPS.
4914 o   Deryck Hodge <deryck@samba.org>
4915     * Add -P (--password-only-menu) to SWAT for displaying only the
4916       password change page to non-root users.
4919 o   David Hu <david.hu@hp.com>
4920     * Copy structure from print_queue_update() message rather than 
4921       referencing it.  Fixes seg fault on HP-UX.
4922       
4923       
4924 o   Buck Huppmann <buckh@pobox.com>
4925     * BUG 2186: Don't free uninitialized credentials.
4926     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
4927       dnsDomainName != realm.
4928    
4930 o   Björn Jacke <bjoern@j3e.de>
4931     * BUG 2040: Ensure the locale is reset to C to get ASCII-
4932       compatible toupper/lower functions.
4935 o   William Jojo <jojowil@hvcc.edu>
4936     * Fix HPUX sendfile and add configure.in tests and code for
4937       sendfile on AIX.
4938     * AIX 5.3 compile fixes.
4941 o   Volker Lendecke <vl@samba.org>
4942     * Optimize anonymous session setups by workstations in a 
4943       Samba domain.
4944     * Reimplment the QueryUserAliases() server RPC reply.
4945     * Re-add the getpwnam-cache for performance.
4946     * Cache the result of a pdb_getsampwnam for later SID lookup 
4947       queries.
4948     * Unify the means of localtaing a user's global groups on a 
4949       Samba DC.
4950     * Fix bug when serving the 'Start Menu' in a roaming user profile..
4951     * Map more pre-defined NT security descriptors to AFS acls.
4952     * Add timeout to AD search requests.
4953     * If a connection to a DC is requested (in winbindd), open
4954       connections simultaneously to all DCs found.
4955     * Memleak fixes.
4956     * Fix logic error in handling of 'printcap name' parameter.
4957     * Prevent winbindd from SPAM'ing the log files with 'user root 
4958       does not exist'.
4959     * Backport samr_DomInfo2 IDL specification from Samba 4.
4960     * Implement smbstatus -n, don't lookup users and groups.
4961     * Implement simple mapping that maps the space to another character 
4962       defined by afsacl:space.
4963     * Add support for 'net idmap delete <idmap-file> <SID>'.
4964     * Add new parameter 'afs token lifetime' tells the AFS client 
4965       when to throw away a token (patch from kllin@it.su.se).
4966     * Initial work to allow support for multiple pipe opens on a 
4967       single cli_state*.
4968     * Ensure that we still retrieve the netbios name of any DC 
4969       listed as a 'password server' to work around cases where the 
4970       DC was defined using an IP address or fqdn.
4971     * Fix memleak in winbindd connection code.
4972     * Fix cli_samr_queryuseraliases.
4973     * Allow wbinfo --user-sids to expand expand domain local groups.
4974     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
4975     * Fix parsing of other_sids in net_user_info3.
4976     * Correct bad failure logic when user was not a member of any 
4977       domain local groups.
4978     
4980 o   Jason Mader <jason@ncac.gwu.edu>
4981     * BUG 2113, 2289: Remove dead code.
4984 o   Jim McDonough <jmcd@us.ibm.com>
4985     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
4986       clients.  If it fails, fall back to WINREG.
4987     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
4988     * BUG 2198: Set password last change time when running 'net rpc 
4989       vampire'.
4990     * Add "refuse machine password change" policy field.
4993 o   Luke Mewburn <lukem@NetBSD.org>
4994     * BUG 2150: shmget() - Use POSIX definitions instead of non-
4995       standard SHM_.
4996       
4998 o   Stefan Metzmacher <metze@samba.org>    
4999     * autogen.sh fixes.
5002 o   Buchan Milne <bgmilne@mandrake.org>
5003     * Mandrake packaging fixes.
5006 o   Lars Mueller <lmuelle@samba.org>
5007     * Fix build of libsmbclient on x86_64.
5008     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
5009       is installed in a non-default location.
5010     * BUG 2050: Calculate max_fd for select correctly.
5011     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
5012       script.
5015 o   Jason Mader <jason@ncac.gwu.edu>
5016     * BUG 2069: Remove unused variables.
5017     * BUG 2075: Remove dead code paths.
5018     * BUG 2083: Fix compiler warnings caused by bad type casts.
5021 o   James Peach <jpeach@sgi.com>
5022     * Fix rewinddir -> rewind_dir when using VFS macros.
5023     
5025 o   Gavrie Philipson <gavrie@disksites.com>
5026     * BUG 1838: Remove stale printers imeeddiately when 
5027       processing a SIGHUP and during smb.conf reload.
5029       
5030 o   Tim Potter <tpot@samba.org>
5031     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
5032     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
5033     * Change the license for the winbindd external interface 
5034       more liberal.
5035     * HP-UX compile fixes.
5036     * Compile fixes after new setsampwent() API.
5039 o   Richard Renard <rrenard@idealx.com>
5040     * Update Netscape DS 5.2 LDAP schema.
5043 o   Simo Sorce <idra@samba.org>
5044     * Backport pdbedit changes from trunk.
5045     * Allows the add/change share command to create the shared 
5046       directory directory on disk.
5047     * Log a warning in testparm if a print command is defined for
5048       a print service using 'printing = cups'.
5049      
5050 o   Jelmer Vernooij <jelmer@samba.org>
5051     * Bug fixes for pdb_{xml,pqsql,xml}
5052     * Fixes for pdb_mysql.
5055 o   Andrew Tridgell <tridge@samba.org>
5056     * Bring Samba3 into line with the Samba4 password change code.
5057     
5059 o   Shiro Yamada <shiro@miraclelinux.com>
5060     * BUG 2190: Force SWAT to display parameters in unix charset and 
5061       not UTF-8.
5064       --------------------------------------------------
5065                    ==============================
5066                    Release Notes for Samba 3.0.10
5067                              Dec 16, 2004
5068                    ==============================
5070 Common bugs fixed in 3.0.10 include:
5072   o Fix for security issues described in CAN-2004-1154.
5075 Changes since 3.0.9
5076 -------------------
5078 commits
5079 -------
5081 o   Jeremy Allison <jra@samba.org>
5082     * Added checks surrounding all *alloc() calls to fix
5083       CAN-2004-1154.
5084     * Fix long standing memory size bug in bitmap_allocate().
5085     * Remove bogus error check in deferred open file serving 
5086       code.
5089 o   Thomas Bork <tombork@web.de>
5090     * Fix autoconf script on platforms using a version of GNU ld
5091       that does not include a date stamp in the output of --version.
5094 o   Luke Mewburn <lukem@NetBSD.org>
5095     * Fix the swat install script to deal with the new image
5096       destination directory used by the docs.
5097      
5100       --------------------------------------------------
5102                    =============================
5103                    Release Notes for Samba 3.0.9
5104                              Nov 15, 2004
5105                    =============================
5107 Common bugs fixed in 3.0.9 include:
5109   o Problem updating roaming user profiles.
5110   o Crash in smbd when printing from a Windows 9x client.
5111   o Unresolved symbols in libsmbclient which caused
5112     applications such as KDE's konqueror to fail when
5113     accessing smb:// URLs.
5116 Changes since 3.0.8
5117 -------------------
5120 commits
5121 -------
5123 o   Jeremy Allison <jra@samba.org>
5124     * Correctly detect errno for no acl/ea support.
5125     * BUG 2036: Fix seg fault in 'net ads join'.
5127     
5128 o   Gerald (Jerry) Carter <jerry@samba.org>
5129     * Solaris packaging fixes.
5130     * Fix seg fault in lanman printing code.
5131     * BUG 2017: fix testparm reporting for the passwd program 
5132       string.
5133     * Fix output of smbstatus to match the man page.
5134     * BUG 2027: fix conflict with declaration MD5_CTX in system 
5135       headers.
5136     * 2028: Avoid false error messages when copying a long 
5137       printer name to the device mode.
5140 o   Guenther Deschner <gd@samba.org> 
5141     * Allow deldriverex in rpcclient to delete drivers for a 
5142       specific architecture and a specific version.
5143     * Fix a couple of rpcclient spoolss commands (setprinter, 
5144       setprintername, getdriver) w.r.t to printer-naming scheme.
5145       Allow 'localhost' in the server string for certain server-side
5146       spoolss functions.
5147     * BUG 2015: Do not fail on setting file attributes with 
5148       acl support enabled.
5151 o   Michel Gravey <michel.gravey@optogone.com>
5152     * Fix build when using gcc 3.0.
5155 o   Volker Lendecke <vl@samba.org>
5156     * Fix tdb open logic when checking our local_pid after 
5157       the fork().
5160 o   Jim McDonough <jmcd@us.ibm.com>
5161     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
5162       non-root user.
5165 o   Luke Mewburn <lukem@NetBSD.org>
5166     BUG 1661: Fix KRB5_SETPW-defines
5169 o   Buchan Milne <bgmilne@mandrake.org> 
5170     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
5173 o   Lars Mueller <lmuelle@samba.org>
5174     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
5177 o   Martin Zielinski <mz@seh.de>
5178     * Add DeletePrinterDriverEx() functionality to rpcclient.
5179     
5181       --------------------------------------------------
5183                    =============================
5184                    Release Notes for Samba 3.0.8
5185                              Nov 7, 2004
5186                    =============================
5188 Common bugs fixed in 3.0.8 include:
5190   o Compile fixes for HP-UX
5191   o Fixes for the printer publishing code used when joined to 
5192     an AD domain.
5193   o Incompatibilities with file system quotas.
5194   o Several bugs in the spoolss printing code and print system 
5195     backends.
5196   o Inconsistencies in the username map functionality when 
5197     configured on domain member servers.
5198   o Various compile warnings and errors on various platforms.
5199   o Fixes for Kerberos interoperability with Windows 200x 
5200     domains when using DES keys.
5201   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
5202   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
5204     
5205 New features included in the 3.0.8 release are:
5207   o New migration functionality added the the net tool
5208     for files/directories, printers, and shares.
5209   o New experimental idmap backend for assigning uids/gids
5210     directly based on the user/group RID when acting as a
5211     member of single domain without any trusts.
5212   o Additional printer migration support for XP/2003 platforms.
5215 ===========================
5216 Change in Winbindd Behavior
5217 ===========================
5219 All usernames returned by winbindd are now converted to lower 
5220 case for better consistency.  This means any winbind installation
5221 relying on the winbind username will need to rename existing 
5222 directories and/or files based on the username (%u and %U) to lower 
5223 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
5224 include mail spool files, home directories, valid user lines in 
5225 smb.conf, etc....
5228 ======================
5229 Change in Username Map
5230 ======================
5232 Previous Samba releases would only support reading the fully qualified 
5233 username (e.g. DOMAIN\user) from the username map when performing a 
5234 Kerberos login from a client.  However, when looking up a map 
5235 entry for a user authenticated by NTLM[SSP], only the login name would be
5236 used for matches.  This resulted in inconsistent behavior sometimes
5237 even on the same server.
5239 Samba 3.0.8 obeys the following rules when applying the username
5240 map functionality:
5242   * When performing local authentication, the username map is 
5243     applied to the login name before attempting to authenticate 
5244     the connection.
5245   * When relying upon a external domain controller for validating
5246     authentication requests, smbd will apply the username map 
5247     to the fully qualified username (i.e. DOMAIN\user) only
5248     after the user has been successfully authenticated.
5251 ######################################################################
5252 Changes
5253 #######
5255 Changes since 3.0.7
5256 -------------------
5258 smb.conf changes
5259 ----------------
5260     Parameter Name                      Action
5261     --------------                      ------
5262     force printername                   New
5263     sendfile                            disabled by default
5266 commits
5267 -------
5269 o   Jeremy Allison <jra@samba.org>
5270     * Ensure extended security bit is on only if we negotiated 
5271       extended security.
5272     * Simplify statcache to use an in-memory tdb. 
5273     * If you're selecting a hash algorithm for tdb, you need 
5274       to do it at open time.
5275     * Removed old dir caching code - not being used now we 
5276       have the statcache anyway.
5277     * Simplify the mangle hash code to use an in-memory tdb.
5278     * Merge iconv changes from Samba 4 branch.
5279     * Fix parsing of names ending in dot and a few other error 
5280       returns.
5281     * BUG 1667: Smbpasswd file could be left locked on some 
5282       error exits.
5283     * Fixes for smbclient tar functionality.
5284     * BUG 1743: Fix logic bug the deferred open code.
5285     * Don't try to set security descriptors on shares where 
5286       this has been turned off.
5287     * Return correct error codes on old SEARCH call.
5288     * Ensure we set errno = E2BIG when we overflow in the 
5289       fast-path character conversion code.
5290     * Fix the roundup problem (returning 1mb roundup) for 
5291       non-Windows clients.
5292     * Added 'stat' command to smbclient to exercise the 
5293       UNIX_FILE_BASIC info level.
5294     * Fix bug where we could incorrectly set sparse attribute.
5295     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
5296       (reported by Taj Khattra <taj.khattra@gmail.com>).
5297     * Remove locked keys tdb code.
5298     * BUG 1886: Prevent delete on close being set for readonly files 
5299       (and return the correct error code).
5300     * Ensure we pass most of the new lock tests except for the cancel 
5301       lock which is yet to be added (merged from Samba 4 branch).
5302     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
5303     * BUG 1956: Ensure errno is saved and restored consistently on a 
5304       normal_close.
5305     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
5306       that all of the appropriate service principal names are set 
5307       upon joining an AD domain.
5308     * Fix the correct use of resume name in the trans2 code.
5309     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
5310       correct salt used when generated the DES key after joining an 
5311       AD domain.
5312     * Enhanced krb5 detection routines in the autoconf scripts.
5313   
5315 o   Andrew Bartlett <abartlet@samba.org>
5316     * Avoid changing the machine account password in the passdb 
5317       backend, when it has 'already been changed'.  This occurs 
5318       in situations where the secure channel between the workstation 
5319       and the DC breaks down, such as occurred in the MS04-11 
5320       security patch.
5321     * Fix utility name in error message in ntlm_auth.
5322     * Fix NTLMv2 for use with pam_winbind.
5323     * Remove conversion to and from UTF8 on the winbind pipe.
5324     * Allow 'require_membership_of' and 'require-membership-of'.
5325     * Fix the error code for 'you didn't specify a domain' in 
5326       ntlm_auth.
5327     * Use sys_getgroups() rather than scanning all groups 
5328       when generating SAMR replies.
5331 o   Igor Belyi <sambauser@katehok.ac93.org>
5332     * Ensure pdb user is deleted first before deleting UNIX 
5333       user (LDAP backend needs this ordering).
5336 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
5337     * Fix core dump in 'net rpc vampire'.
5338     
5340 o   Vince Brimhall <vbrimhall@novell.com>
5341     * Make ldapsam_compat robust against NULL attributes.
5344 o   Gerald Carter <jerry@samba.org>
5345     * Don't limit the number of groups returned by winbindd_getgroups()
5346       by NGROUPS_MAX.
5347     * BUG 1519: Match Windows 2000 behavior when opening a 
5348       printer using a servername in the form of an IP address or 
5349       DNS name.
5350     * BUG 1907: remove extra slashes from the printer name in 
5351       getprinterdriverdir_1().  
5352     * Fix standard_sub_snum() to use the current user's gid.
5353     * Fix background queue update bug (based on Volker's initial work 
5354       in 3.1.0).
5355     * Add 'force printername' service parameter for people that want 
5356       to enforce printername == sharename for spoolss printing.
5357     * Ensure consistent usage of the username map.  Use the fully 
5358       qualified DOMAIN\user format for 'security = domain|ads' and 
5359       apply after authentication has succeeded.
5360     * Cosmetic fix for getent output -- lowercase the username only 
5361       and not the complete domain\username string.
5362     * Packaging fixes for Solaris, Redhat, & Fedora.
5364     
5365 o   Sean Chandler <sean.chandler@verizon.net>
5366     * Fix memlieak in cliconnect.c.
5369 o   Darren Chew <darrenc@vicscouts.asn.au>
5370     * Solaris packaging fixes.
5371     
5373 o   Nalin Dahyabhai <nalin@redhat.com>
5374     * SMB signing fix for 56-bit DES session keys.
5377 o   Guenther Deschner <gd@samba.org> 
5378     * add IA64 to the architecture table of printer-drivers.
5379     * Add file/share/printer migration functionality to 
5380       the net command.
5381     * Show correct help for net groupmap commands.
5382     * Fix deadlock loop in winbind's required_membership_sid
5383       verification.
5384     * Bring the same level of "required_membership"-functionality 
5385       that ntlm_auth uses, to pam_winbindd as well.
5386     * Prevent "net lookup kdc" from seg-faulting when
5387       using our own implementation of krb5_lookup_kdc with 
5388       heimdal.
5389     * Adding getprinter level 7 to rpcclient.
5390     * Support migrating printers|shares|files from Server A 
5391       to Server B while running the net-command on client C.
5392     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
5393       failure of this call non-critical (Thanks to Love @ Heimdal
5394       for the explanation and patch).
5395     * Fix typos in net's usage-output.
5396     * Fix the paranoia-check to ensure the ldap-attribute and the
5397       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
5398       are identical.
5399     * Fix several bugs in the _samr_query_useraliases() rpc reply.
5400     * Check correct string length when verifying password-policies 
5401       and using extended characters (Thanks to Uwe Morgenroth from CC 
5402       Compunet and Volker).
5403     * Make 'password history'-behavior in ldapsam more consistent. 
5404     * Adding "Windows x64" as architecture string and driverdir "x64" 
5405       for the 64bit AMD platform.
5406     * BUG 1343: Readd WKGUID-binding to match the correct default-
5407       locations of new User-, Group- and Machine-Accounts in Active 
5408       Directory (this got lost during the last trunk-merge).
5409     * Fix printer-migration w.r.t. to new naming-convention for
5410       policy-handles.
5411     * Allow to migrate win2k3/xp-drivers as well. 
5412     * Add client-side support of triggering ads printer publishing 
5413       over msrpc setprinter calls inside the net-tool. 
5414     * Add the idmap_rid module (written in conjunction with 
5415       Sumit Bose <sbose@suse.de>).
5416     * BUG 1661: Fix build with recent heimdal releases.
5417     * Prevent idmap_rid from making unnecessary calls to domain 
5418       controllers for trusted domains.
5421 o   Arthur van Dongen <avdongen@xs4all.nl>
5422     * Fix typos in pam_winbind log messages and SuSE 
5423       packaging files.
5426 o   Rob Foehl <rwf@loonybin.net>
5427     * Typo fixes for log messages in printer publishing code.
5428     * Fix memory leak in printer publishing code.
5429     * Ensure print_backend_init() only gets called once.
5430     * Have smbd check the published status of all printers 
5431       at startup.
5432     * Cleanup up the XXX_a_printer() API for consistency.
5433     * Refactored the printer publishing code and include better 
5434       error handling.
5437 o   Steve French <sfrench@us.ibm.com>
5438     * Fix IP address override in mount.cifs mount helper and clean 
5439       up warning messages from the sparse tool and expand syntax help.
5440     * Strip guest mount option off before sending to kernel mount 
5441       routine to avoid logging spurious message.
5444 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
5445     * BUG 1732: Limit share names returned by RAP based on windows 
5446       character width, not unix character width.
5447     * BUG 1498: Ensure that acl entries are stored in the correct 
5448       order.
5451 o   Brett Funderburg <brett@deepfile.com>
5452     * Pass create options parameter to nt_create_andx() function
5453       from the python bindings.
5454     * BUG 1864: Add sd->type field to security descriptor Python 
5455       representation.
5456     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
5457       when trying to return the security descriptor for a file.
5458     * BUG 1884: Fixes for the Python bindings to use the value
5459       of the desired_access filed passed into the lsa_open_policy()
5460       routines.
5463 o   Michael Gravey <michel.gravey@optogone.com>
5464     * BUG 1776: Fix warnings when building modules caused by 
5465       certain versions of GNU ld not using the the default 
5466       --allow-shlib-undefined flag.
5469 o   Chris Hertel <crh@samba.org>
5470     * Fix logic bug in splay tree data structure when finding 
5471       a leaf node.
5472     * Fix bug where an invalid MAC address would be printed by 
5473       a node status lookup from nmblookup.
5475       
5476 o   Uli Iske <iske@elkb.de>
5477     * Update the DNS/eDirectory LDAP schema file.
5480 o   Björn Jacke <bjacke@sernet.de>
5481     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
5482       UTF-8.  Reformat msgstr in msg-files to UTF-8.
5483     * Do not use display charset for swat output.
5484     * Convert the share names correctly from unix encoding to web 
5485       encoding and vice versa. 
5486     * Convert files from status page from unix charset to UTF-8.
5489 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
5490     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
5493 o   Tom Lackemann <cessnatomny@yahoo.com>
5494     * BUG 1954: Fix memory leak in posix acl code.
5497 o   Volker Lendecke <vl@samba.org>
5498     * Robustnss fix for winbindd when sending multiple requests 
5499       at a high rate for a slow operation.  
5500     * Solve the problem of user sids ending up with gid's 
5501       and vice versa.
5502     * Use sys_fork instead of fork for the dual daemon so that 
5503       we get the correct debug pid in the logfiles.
5504     * Based on patch from jmcd, implement special lists for the LDAP 
5505       user attributes to delete.
5506     * Fix creation of aliases via usrmgr. Winbind was too strict 
5507       checking the type of sids.
5508     * Lowercase all usernames returned by winbind.
5509     * BUG 1545, 1823: Only issue the ldap extended password change 
5510       operation if the ldap server supports it.  Also ignore object 
5511       class violation errors from the extended operation.
5512     * Optimization for 'idmap backend = ldap': When asking sid2id 
5513       for the wrong type, don't ask ldap when we have the opposite mapping 
5514       in the local tdb.
5515     * Fix ldapsam_compat homeDrive.
5516     * Add usersidlist and allowedusers subcommands to the net tool
5517       in order to support scanning a file server's share and list 
5518       all users who have permission to connect there.
5519     * Allow for multiple DC's to be named as #1c names in lmhosts.
5520     * Memory leak fixes.
5521     * Fix checks for the local pid of an smbd process after 
5522       reopening tdbs.
5525 o   Herb Lewis <herb@samba.org>
5526     * Added tdbtool to be built by default.
5529 o   Love <lha@stacken.kth.se>
5530     * BUG 1955: Inconsistent error return.
5533 o   Sorin Manolache <sorinm@gmail.com>
5534     * Memory leak fix.
5537 o   Jim McDonough <jmcd@us.ibm.com>
5538     * Allow 'net ads lookup' to rely on command line arguments 
5539       if contacting an ADS server fails; utilize cldap for lookups.
5540     * Fixup formatting errors in TDB_LOG calls; add printf attribute
5541       support to tdb log functions.
5544 o   Bill McGonigle <bill+samba@bfccomputing.com>
5545     * BUG 1926: Type in debug message.
5548 o   Sean McGrath
5549     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
5550       for libsmbclient.
5553 o   Luke Mewburn <lukem@NetBSD.org>
5554     * BUG 1782: Prevent testparm from displaying parameter synonyms.
5557 o   Stefan Metzmacher <metze@samba.org>    
5558     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
5559     * Fix client quota support.
5560     * Fix opening of system quota file.
5563 o   Lars Mueller <lmuelle@samba.org>
5564     * Small fixes for autogen.sh to deal with version detection 
5565       of autoconf and autoheader; fixes for examples using 
5566       libtool to adhere to stricter syntax of newer version.
5569 o   Henrik Nordstrom <hno@squid-cache.org>
5570     * Allow winbindd to return the correct number of groups 
5571       when the groups array must be enlarged.
5574 o   Narayana Pattipati <narayana.pattipati@wipro.com>
5575     * Solaris autoconf detection fixes.
5578 o   Tim Potter <tpot@samba.org>
5579     * BUG 1360: (correct fix) Use -Wl when passing flags to 
5580       the linker.
5581     * HP-UX compile fixes (from JBravo on #samba-technical).
5582     * BUG 1731: More HP-UX compiles fixes.
5583     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
5584       spits the dummy otherwise.
5585     * Fix bug in Python printerdata wrapper.
5586     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
5587       <bugzilla-samba@thewrittenword.com>).
5588     * Fix parameter confusion in priming of name-to-sid cache
5589       (Found by Qiao Yang).
5590     * BUG 1888: Remove '..' from all pre-processor commands.
5591     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
5592       DEBUG_PASSWORD.
5595 o   Matt Selsky <selsky@columbia.edu>
5596     * BUG 350: use autoconf 2.57 feature for checking header file
5597       preprocessing (fixes configure warnings on Solaris).
5600 o   Richard Renard <rrenard@idealx.com>
5601     * Fix usermgr.exe and trust relationships.
5604 o   Paul Szabo <psz@maths.usyd.edu.au>
5605     * Fix to make find_workgroup use the same 
5606       truncation as create_workgroup.
5609 o   Richard Sharpe <rsharpe@samba.org>
5610     * Ensure cli_write() can support writes >= 65536 bytes.
5613 o   Simo Sorce <idra@samba.org>
5614     * Added check password script code in examples/auth/crackcheck/
5615     * Fix memory corruption bug caused in freeing static memory.
5618 o   Andrew Tridgell <tridge@samba.org>
5619     * Remove lp_use_mmap() from map_file() since the latter 
5620       is for read only and does not require coherence.
5621     * Ensure that the uuid pack/unpack routines do not go past 
5622       the end of the structure.
5623     * Converted Samba 3 tree to use the new utf-16 aware iconv 
5624       code. 
5625     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
5626     * Ensure configure only uses '=' instead of the bashism '=='.
5627     * Reduces the number of tdb locking calls made on file IO.
5628     
5630 o   Jelmer Vernooij <jelmer@samba.org>
5631     * Convert internal data to UTF-8 before calling libxml2.
5632     * Complain if 'password chat' doesn't contain the %u variable
5633       (based on a patch by Ronan Waide).
5634     
5636 o   Josef Zlomek
5637     * BUG 1541:  Fix recursive ls in smbclient. 
5639     
5640 o   Igor Zhbanov <bsg@uniyar.ac.ru>
5641     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
5642       option.
5644       --------------------------------------------------
5646                   =============================
5647                   Release Notes for Samba 3.0.7
5648                            Sept 13, 2004
5649                   =============================
5651 Common bugs fixed in 3.0.7 include:
5653   o Fixes for two Denial of Service vulnerabilities
5654     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
5655   o Winbind failure to return user entries under certain
5656     conditions.
5657   o Syntax errors in the OpenLDAP schema file (samba.schema).
5658   o Printing errors caused by not setting default values
5659     for the various printing commands.
5662 Changes since 3.0.6
5663 -------------------
5665 smb.conf changes
5666 ----------------
5668     Parameter Name                      Action
5669     --------------                      ------
5670     winbind enable local accounts       disabled by default
5672     
5673 commits
5674 -------
5675 o   Jeremy Allison <jra@samba.org>
5676     * Fix parsing of names ending in dot and a few other error 
5677       returns.
5678     * BUG 1674: Move the symlinks checks into reduce_name().
5679     * Fix memleak when checking the valid names smb.conf option.
5680     * Fix memleak on error return path in the file open code.
5681     * More paranoia checks in the hash2 mangling code.
5682     * Fix syntax error in configure.in.
5683     * Match Win2k3's behavior for pathname parsing error returns.
5684     * Make nmbd more robust against bad netbios packets 
5685       (CAN-2004-0808).
5686     * Add more checks for invalid ASN.1 packets for SPNEGO packets
5687       (CAN-2004-0807).
5689   
5690 o   Andrew Bartlett <abartlet@samba.org>  
5691     * Janitor work in loadparm.c -- remove unused parameters.
5694 o   Gerald Carter <jerry@samba.org>
5695     * BUG 1464: Ensure that printing commands are initialized even
5696       if the 'printing' parameter is not explicitly set.
5697     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
5698       Adharsh Praveen <rprav@india.hp.com>)
5699     * Work around parsing error in the print change notify code.
5700     * remove duplicate declaration of getprintprocdir from 
5701       rpcclient.
5702     * Only use sAMAccountName and not userPrincipalName when looking
5703       up a username in AD since the breaks winbindd (lookup_name() 
5704       only works with the sAMAccountName).
5705     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
5706       filling in the username in the user_info3.
5707     * Fix logic bug in the check for creating a user's home directory 
5708       in register_vuid(); caused home directory to be mismatched to 
5709       the first share in smb.conf under certain conditions.
5710     * BUG 1656: rename auto.a to auto.smb.
5711     * Ensure that we assign our pid to print jobs (and not our 
5712       parent's pid); ensures that spooling jobs from dead smbds 
5713       are removed from the tdb.
5714     * Disable 'winbind enable local accounts' by default.
5715     * Adding some initial checks for DragonFly (same as 
5716       FreeBSD 4.1).
5717     
5719 o   Guenther Deschner <gd@samba.org> 
5720     * Use SMB_ASSERT() to track down NULL printer names in 
5721       the tdb open code.
5722     * Revert fix for BUG 1474 to avoid unnecessary packaging 
5723       dependencies.
5726 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
5727     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
5728       and 5.1.
5729     * BUG 1626: More compile fixes.
5732 o   Rob Foehl <rwf@loonybin.net>
5733     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
5734       by attempts to sanitize the defined attributes.
5737 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
5738     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
5741 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
5742     * BUG 1657: Remove used initialized variable, 
5743     * BUG 1658: Add a little bit of const.
5746 o   Volker Lendecke <vl@samba.org>
5747     * If there's garbage in the pidfile, we should not panic 
5748       but assume that no one else is around. We can't find the 
5749       other guy anyway.
5752 o   Jim McDonough <jmcd@us.ibm.com>
5753     * Fixup format string in the tdb error messages.
5756 o   Jonas Olsson <lexicon@lysator.liu.se>
5757     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
5758       reporting the list in usrmgr.exe.
5761 o   Tim Potter <tpot@samba.org>
5762     * Fix out-of-tree builds (problem with the script to generate 
5763       the svn version number).
5764     * BUG 1360:  Need to use -Wl when passing flags to the linker.
5765     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
5766       doesn't have one of its own.
5768 o   Simo Sorce <idra@samba.org>
5769     * Fixup compile issues on AIX caused by broken strlen() and 
5770       strdup().
5771     * Update debian packaging files.
5774 o   Dimitri van der Spek <dwspek@aboveit.nl>
5775     * Use the correct counter when copying group rids from the 
5776       user_info3 struct in pam_winbind.
5777       
5779 o   Qiao Yang <qyang@stbernard.com>
5780     * BUG 1622: Only cache the user
5783       --------------------------------------------------
5784       
5785                   =============================
5786                   Release Notes for Samba 3.0.6
5787                            Aug 19, 2004
5788                   =============================
5790 Common bugs fixed in 3.0.6 include:
5792   o Schannel failure in winbindd.
5793   o Numerous memory leaks.
5794   o Incompatibilities between the 'write list' and 'force user'
5795     smb.conf options.
5796   o Premature optimization of the open_directory() internal 
5797     function that broke tools such as the ArcServe backup 
5798     agent, Macromedia HomeSite, and Robocopy.
5799   o Corrupt workgroup names in nmbd's browse.dat.
5800   o Sharing violation errors commonly seen when opening
5801     when serving Microsoft Office documents from a Samba 
5802     file share.
5803   o Browsing problems caused by an apostrophe (') in the 
5804     computer's description field.
5805   o Problems creating special file types from UNIX CIFS 
5806     clients and enabling 'unix extensions'.
5807   o Fix stalls in smbd caused by inaccessible LDAP servers.
5808   o Remove various memory leaks.
5809   o Fix issues in the password lockout feature.
5811 New features introduced in this release include:
5813   O Support symlinks created by CIFS clients which 
5814     can be followed on the server.
5815   o Using a cups server other than localhost.
5816   o Maintaining the service principal entry in the system 
5817     keytab for integration with other kerberized services.
5818     Please refer to the 'use Kerberos keytab' entry in 
5819     smb.conf(5).  When using the heimdal Kerberos libraries,
5820     you must also specify the following in /etc/krb5.conf:
5821     [libdefaults]
5822        default_keytab_name = FILE:/etc/krb5.keytab
5823   o Support for maintaining individual printer names
5824     stored separately from the printer's sharename.
5825   o Support for maintaining user password history.
5826   o Support for honoring the logon times for user in a 
5827     Samba domain.
5830 ============================================
5831 unix extensions = yes (default) and symlinks
5832 ============================================
5834 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
5835 clients supporting the UNIX extensions to the CIFS protocol 
5836 can create symlinks to absolute paths which will be **followed** 
5837 by the server.  This functionality has been requested in order 
5838 to correctly support certain applications when the user's home 
5839 directory is mounted using some type of CIFS client (e.g. the 
5840 cifsvfs in the Linux 2.6 kernel).
5842 If this behavior is not acceptable for your production environment
5843 you can set 'wide links = no' in the specific share declaration in 
5844 the server's smb.conf.  Be aware that disabling wide link support 
5845 out of a share in Samba may impact the server's performance due 
5846 to the fact that smbd will now have to check each path additional 
5847 times before traversing it.
5848   
5850 ========================
5851 Password History Support 
5852 ========================
5854 The new password history feature allows smbd to check the new 
5855 password in password change requests against a list of the user's
5856 previous passwords.  The number of previous passwords to save can 
5857 be set using pdbedit (4 in this example):
5859    root# pdbedit -P "password history" -C 4
5861 When using the ldapsam passdb backend, it is vital to secure the 
5862 following attributes from access by non-administrative users:
5864    * sambaNTPassword
5865    * sambaLMPassword
5866    * sambaPasswordHistory
5868 You should refer to your directory server's documentation on how 
5869 to implement this restriction.
5872 Changes since 3.0.5
5873 -------------------
5875 smb.conf changes
5876 ----------------
5878     Parameter Name              Action
5879     --------------              ------
5880     cups server                 New
5881     defer sharing violations    New
5882     force unknown acl user      New
5883     ldap timeout                New
5884     printcap cache time         New
5885     use Kerberos keytab         New
5886     
5887 commits
5888 -------
5889 o   Jeremy Allison <jra@samba.org> 
5890     * Correct path parsing bug that broke DeletePrinterDriverEx().
5891     * Fix bugs in check_path_syntax() caught by asserts.
5892     * Internal change - rearrange internal global case setting 
5893       variables to a per connection basis.
5894     * BUG 1345: Fix premature optimization in unix_convert(). 
5895     * Allow clients to truncate a locked file.
5896     * BUG 1319: Always check to see if a user as write access
5897       to a share, even when 'force user' is set.
5898     * Fix specific case of open that doesn't cause oplock break, 
5899       or share mode check.
5900     * Correct sid type is WKN_GROUP, not alias. Added some 
5901       more known types (inspired by patch from Jianliang Lu).
5902     * Allow creation of absolute symlink paths via CIFS clients.
5903     * Fix charset bug in when invoking send_mailslot().
5904     * When using widelinks = no, use realpath to canonicalize 
5905       the connection path on connection create for the user. 
5906     * Enhance stat open code.
5907     * Fix unix extensions mknod code path.
5908     * Allow unix domain socket creation via unix extensions.
5909     * Auto disable the 'store dos attribute' parameter if the 
5910       underlying filesystem doesn't support EAs.
5911     * Implement deferred open code to fix a bug with Excel files 
5912       on Samba shares.
5913     * BUG 1427: Catch bad path errors at the right point.  Ensure 
5914       all our pathname parsing is consistent.
5915     * Fix SMB signing error introduced by the new deferred open 
5916       code.
5917     * Change default setting for case sensitivity to "auto". (see 
5918       commit message -- r1154 -- for details).
5919     * Add new remote client arch -- CIFSFS.
5920     * Allow smbd to maintain the service principal entry in the 
5921       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
5922       Guenther Deschner, et. al.).
5923     * Fix longstanding memleak bug with logfile name.
5924     * Fix incorrect type in printer publishing (struct uuid, 
5925       not UUID_FLAT).
5926     * Heimdal compile fixes after introduction of the new ketyab 
5927       feature.
5928     * Ensure we check attributes correctly on rename request.
5929     * Ensure we defer a sharing violation on rename correctly.
5930     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
5931       on timeout.
5932     * Fix bogus error message when using "mangling method = hash" 
5933       rather than hash2.
5934     * Turn on sendfile by default for non-Win9x clients.
5935     * Handle non-io opens that cause oplock breaks correctly.
5936     * Ensure ldap replication sleep time is not more than 5 seconds.
5937     * Add support for storing a user's password history.
5938       LDAP portion of the code was based on a patch from 
5939       Jianliang Lu <j.lu@tiesse.com>.
5940     * Correct memory leaks found in the password change code.
5941     * Fix support for the mknod command with the Linux CIFS client.
5942     * Remove support for passing the new password to smbpasswd 
5943       on the command line without using the -s option.
5944     * Ensure home directory service number is correctly reused
5945       (inspired by patches from Michael Collin Nielsen 
5946       <michael@hum.aau.dk>).
5947     * Fix to stop printing accounts from resetting the bas 
5948       password and account lockout flags.
5949     * If a account was locked out by an admin (and has a bad 
5950       password count of zero) leave it locked out until an admin 
5951       unlocks it (but log a message).
5952     * Ensure we return the same ACL revision on the wire that 
5953       W2K3 does.
5954     * BUG 1578: Hardcode replacement for invalid characters as '_'
5955       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
5956     * Fix hashed password history for LDAP backends.
5957     * Enforce logon hours restrictions if confiogured (based on code 
5958       from Richard Renard <rrenard@idealx.com>).
5959     * BUG 1606: Force smbd to disable sendfile with DOS clients 
5960       and ensure that the chained header is filled in for ...&X 
5961       commands.
5962     * BUG 1602: Fix access to shares when all symlink support 
5963       has been disabled.
5967 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
5968     * Allow pdbedit to export a single user from a passdb backend.
5969     
5971 o   Andrew Bartlett <abartlet@samba.org>  
5972     * Fix parsing bug in GetDomPwInfo().
5973     * Fix segfault in 'ntlm_auth --diagnostics'.
5974     * Re-enable code to allow sid_to_gid() to perform a group 
5975       mapping lookup before checking with winbindd.
5976     * Fix memory leak in the trans2 signing code.
5977     * Allow more flexible GSS-SPENGO client and server operation 
5978       in ntlm_auth.
5979     * Improve smbd's internal random number generation.
5980     * Fix a few outstanding long password changes in smbd.
5981     * Fix LANMAN2 session setup code.
5984 o   Eric Boehm <boehm@nortelnetworks.com>
5985     BUG 703: Final touches on netgroup case lookups.
5986     
5987     
5988 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
5989     * Ensure error status codes don't get overwritten in 
5990       lsa_lookup_sids() server code.
5991     * Correct bug that caused smbd to overwrite certain error 
5992       codes when returning up the call stack.
5993     * Ensure the correct sid type returned for builtin sids.
5996 o   Gerald Carter <jerry@samba.org>
5997     * Fix a few bugs in the Fedora Packaging files.
5998     * Fix for setting the called name to by our IP if the 
5999       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
6000       with connecting to printers via \\ip.ad.dr.ess\printer 
6001       UNC path.
6002     * BUG 1315: fix for schannel client connections to servers
6003       when we haven't specifically negotiated AUTH_PIPE_SEAL.
6004     * Allow PrinterDriverData valuenames with embedded backslashes
6005       (Fixes bug with one of the Konica Fiery drivers).
6006     * Fixed string length miscalculation in netbios names that 
6007       resulted in corrupt workgroup names in browse.dat.
6008     * When running smbd as a daemon, launch child smbd to update 
6009       the lpq cache listing in the background.
6010     * Allow printers "Printers..." folder to be renamed to a string 
6011       other than the share name.
6012     * Allow winbindd to use domain trust account passwords when 
6013       running on a Samba DC to establish an schannel to remote 
6014       domains.
6015     * Fix bad merge and ensure that we always use tdb_open_log() 
6016       instead of tdb_open_ex() (the former call enforce the 'use 
6017       mmap' parameter).
6018     * BUG 1221: revert old change that used single and double 
6019       quotes as delimeters in next_token(), and change 
6020       print_parameter() to print out parm values surrounded by 
6021       double quotes (instead of single quotes).
6022     * Prevent home directories added during the SMBsesssetup&X from 
6023       being removed as unused services.
6024     * Invalidate the print object cache for open printer handles when
6025       smbd receives a message that an attribute on a given printer 
6026       has been changed.
6027     * Cause the configure script to exit if --enable-cups[=yes] is 
6028       defined and the system does not have the cups devel files 
6029       installed.
6030     * BUG 1297: Prevent map_username() from being called twice 
6031       during logon.
6032     * Ensure that we use the userPrincipalName AD attribute 
6033       value for LDAP SASL binds.
6034     * Ensure we remove the tdb entry when deleting a job that 
6035       is being spooled.
6036     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
6037       client sends a FindNextPrintChangeNotify() request without 
6038       previously sending a FindFirstPrintChangeNotify().  Return 
6039       the same error code as Windows 2000 SP4.
6040     * BUG 1516: Manually declare ldap_open_with_timeout() to 
6041       workaround compiler errors on IRIX (or other systems without 
6042       LDAP headers).
6043     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
6044       3.0.5.
6045     * Corrected syntax error in the OID for sambaUnixIdPool, 
6046       sambaSidEntry, & sambaIdmapEntry object classes.
6047     * Tighten the cache consistency with the ntprinters.tdb entry 
6048       an the in memory cache associated with open printer handles.
6049     * Make sure that register_messages_flags() doesn't overwrite 
6050       the originally registered flags.
6053 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
6054     * Debian BUG 252591: Ensure that the return value from the 
6055       number of available interfaces is initialized in case no 
6056       interfaces are actually available.
6059 o   Guenther Deschner <gd@sernet.de> 
6060     * Implement 'rpcclient setprintername'.
6061     * Add local groups to the user's NT_TOKEN since they are 
6062       actually supported now.
6063     * Heimdal compile fixes after introduction of the new keytab 
6064       feature.
6065     * Correctly honor the info level parameter in 'rpcclient 
6066       enumprinters'.
6067     * Reintroduce 'force unknown acl user' parameter.  When getting a 
6068       security descriptor for a file, if the owner sid is not known, 
6069       the owner uid is set to the current uid. Same for group sid.
6070     * Ensure that REG_SZ values in the SetPrinterData actually 
6071       get written in UNICODE strings rather than ASCII.
6072     * Ensure that the last Kerberos error return is not invalid.
6073     * Display share ACL entries from rpcclient.
6074     * Correct infinite loop in pam_winbind's verification of 
6075       group membership in the 'other sids' field in the user_info3 
6076       struct.
6079 o   Fabian Franz <FabianFranz@gmx.de>
6080     * Support specifying a port in the device URL passed to smbspool.
6081     
6082     
6083 o   Steve French <sfrench@us.ibm.com>
6084     * Handle -S and user mount parms in mount.cifs.
6085     * Fix user unmount of shares mount with suid mount.cifs.
6086     * prevent infinite recusion in reopen_logs() when expanding 
6087       the smb.conf variable %I.
6090 o   Bjoern Jacke <bj@sernet.de>
6091     * Install libsmbclient into $(LIBDIR), not into hard coded 
6092       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
6093       and an explicit configure --libdir setting.
6096 o   <kawasa_r@itg.hitachi.co.jp>
6097     * Correct more memory leaks and initialization bugs.
6098     * Fix bug that prevented core dumps from being generated 
6099       even if you tried.
6100     * Connect to the winbind pipe in non-blocking mode to 
6101       prevent processes from hanging.
6102     * Memory leak fixes.
6105 o   Stephan Kulow <coolo@suse.de>
6106     * Fix crash bug in libsmbclient.
6109 o   Volker Lendecke <vl@samba.org>
6110     * Added vfs_full_audit module.
6111     * Add vfs_afsacl.c which can display & set AFS acls via 
6112       the NT security editor.
6113     * Fix crash bug caused by trying to Base64 encode a NULL string.
6114     * Fix DOS error code bug in reply_chkpath().
6115     * Correct misunderstanding of the max_size field in 
6116       cli_samr_enum_als_groups;  it is more like an account_control 
6117       field with individual bits what to retrieve.
6118     * Implement 'net rpc group rename' -- rename domain groups.
6119     * Implement the 'cups server' option. This makes it possible 
6120       to have virtual smbd's connect to different cups daemons.
6121     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
6122     * Fix sid_to_gid() calls in winbindd to prevent loops.
6123     * Ensure that local_sid_to_gid() sets the type of the group on 
6124       return.
6125     * Make sure that the clients are given back the IP address to 
6126       which they connected in the case of a multi-homed host. Only 
6127       affects strings the spoolss printing replies.
6128     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
6129       did not ask for the modifyTimestamp attribute, so it could 
6130       not find it.   Try not to regress by not putting that attrib 
6131       in the main list but append it manually for the relevant searches.
6132     * Fix two memleaks in login_cache.c.
6133     * fixes memory bloat when unmarshalling strings.
6134     * Fix compile errors using gcc 3.2 on SuSE 8.2.
6135     * Fix the build for systems without Kerberos headers.
6136     * Allow winbindd to handle authentication requests only when 
6137       started without either an 'idmap uid' or 'idmap gid' range.
6138     * Fix the build for systems without ldap headers.
6139     * Fix interaction between share security descriptor and the 
6140       'read only' smb.conf option.
6141     * Fix bug that caused _samr_lookupsids() with more than 32 (
6142       MAX_REF_DOMAINS) SIDs to fail.
6143     * Allow the 'idmap backend' parameter to accept a list of 
6144       LDAP servers for failover purposes.
6145     * Revert code in smbd to remove a tdb when it has become 
6146       corrupted.
6147     * Add paranoid checks when mapping SIDs to a uid/gid to 
6148       ensure that the type is correct.
6149     * Initial work on getting client support for sending mailslot 
6150       datagrams.
6151     * Add 'ldap timeout' parameter.
6152     * Dont always uppercase 'afs username map'.
6153     * Expand aliases for getusersids as well.
6154     * Improved NT->AFS ACL mapping VFS module.
6157 o   Herb Lewis <herb@samba.org>
6158     * Add the acls debug class.
6159     * Fix logic bug in netbios name truncate routine.
6160     * Fix smbd crash caused by smbtorture IOCTL test.
6161     * Fix errno tromping before calling iconv to reset the 
6162       conversion state.
6163     * need to leave empty dacl so we can remove last ACE.
6166 o   Jianliang Lu <Jianliang.Lu@getronics.com>
6167     * Fix to stop smbd hanging on missing group member in 
6168       get_memberuids().
6169     * Make sure Samba returns the correct group types.
6170      * Reset the bad password count password counts upon a successful login.
6171      
6172      
6173 o   Jason Mader <jason@ncac.gwu.edu>
6174     * BUG 1385: Don't use non-consts in a structure initialization.
6175     
6177 o   Jim McDonough <jmcd@us.ibm.com>
6178     * BUG 1279: SMBjobid fix for Samba print servers running on 
6179       Big-Endian platforms.
6182 o   Joe Meadows <jameadows@webopolis.com>
6183     * Add optional timeout parameter to ldap open calls.
6184     * Allow get_dc_list() to check the negative cache.
6187 o   Stefan Metzmacher <metze@samba.org>    
6188     * fix a configure logic bug for linux/XFS quotas when 
6189       using --with-sys-quotas.
6190     * Use quota debug class in quota code.
6191     * print out the SVN revision by configure,
6192     
6194 o   Buchan Milne <bgmilne@mandrake.org>
6195     * Mandrake packaging fixes.
6196     
6197     
6198 o   Lars Mueller <lmuelle@samba.org>
6199     * BUG 1279: Added 'printcap cache time' parameter.
6200     * Fix afs related build issues on SuSE.
6201     * Fix compiler warnings in the Kerberos client code.
6204 o   James Peach <jpeach@sgi.com>
6205     * More iconv detection fixes for IRIX.
6206     * Compile fixed for systems that do not have C99/UNIX98 compliant 
6207       vsnprintf by default.
6208     * Prevent smbd from attempting to use sendfile at all if it is 
6209       not supported by the server's OS.
6210     * Allow SWAT to search for index.html when serving html files 
6211       in a directory.
6214 o   Dan Peterson
6215     * Implement NFS quota support on FreeBSD.
6218 o   Tim Potter <tpot@samba.org>
6219     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
6220       avoid conflicts with identical symbols in the global namespace 
6221       when loading libnss_wins.so.
6224 o   Richard Renard <rrenard@idealx.com>
6225     * Save the current password as it is being changed into the 
6226       password history list.
6229 o   Richard Sharpe <rsharpe@samba.org>
6230     * Fix error return codes on some lock messages.
6231     * BUG 1178: Make the libsmbclient routines callable 
6232       by C++ programs.
6233     * BUG 1333: Make sure we return an error code when 
6234       things go wrong.
6235     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
6236       share mode locking requests fail.
6239 o   Simo Sorce <idra@samba.org>
6240     * Update Debian stable & unstable packaging.
6241     * Tidy up parametric options in testparm output.
6244 o   Richard Sharpe <rsharpe@samba.org>
6245     * Add sigchild handling to winbindd to restart the child 
6246       daemon if necessary.
6249 o   Tom Shaw <tomisfaraway@gmail.com>
6250     * Use winbindd_fill_pwent() consistently.
6253 o   Nick Thompson <nickthompson@agere.com>
6254     * Protect smbd against broken filesystems which return zero 
6255       blocksize.
6258 o   Andrew Tridgell <tridge@samba.org>
6259     * Fixed bug in handling of timeout in socket connections.
6260      
6262 o   Nick Wellnhofer <wellnhofer@aevum.de>    
6263     * Prevent lp_interfaces() list from being corrupted.  Fixes
6264       bug where nmbd would lose the list of network interfaces 
6265       on the system and consequently shutdown.
6267       
6268 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
6269     * Fix ntlm_auth memory leaks.
6272 o   Jelmer Vernooij <jelmer@samba.org>
6273     * Additional NT status to unix error mappings.
6274     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
6275       get duplicate symbol errors.
6276     * Return an error when the last command read from stdin 
6277       fails in smbclient.
6278     * Prepare for better error checking in tar.
6279     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
6280       
6282       --------------------------------------------------
6283       
6284                  =============================
6285                  Release Notes for Samba 3.0.5
6286                          July 20, 2004
6287                  =============================
6289 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
6290 the exception of correcting the two security issues outlined 
6291 below.
6293 ######################## SECURITY RELEASE ########################
6295 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
6296 CVE ID:        CAN-2004-0600, CAN-2004-0686
6297                (http://cve.mitre.org/)
6300 This is the latest stable release of Samba. This is the version
6301 that production Samba servers should be running for all current
6302 bug-fixes.
6304 It has been confirmed that versions of Samba 3 prior to v3.0.4
6305 are vulnerable to two potential buffer overruns.  The individual
6306 details are given below.
6308 =============
6309 CAN-2004-0600
6310 =============
6312 Affected Versions:      Samba 3.0.2 and later
6314 The internal routine used by the Samba Web Administration
6315 Tool (SWAT v3.0.2 and later) to decode the base64 data
6316 during HTTP basic authentication is subject to a buffer
6317 overrun caused by an invalid base64 character.  It is
6318 recommended that all Samba v3.0.2 or later installations
6319 running SWAT either (a) upgrade to v3.0.5, or (b) disable
6320 the swat administration service as a temporary workaround.
6322 This same code is used internally to decode the
6323 sambaMungedDial attribute value when using the ldapsam
6324 passdb backend. While we do not believe that the base64
6325 decoding routines used by the ldapsam passdb backend can
6326 be exploited, sites using an LDAP directory service with
6327 Samba are strongly encouraged to verify that the DIT only
6328 allows write access to sambaSamAccount attributes by a
6329 sufficiently authorized user.
6331 The Samba Team would like to heartily thank Evgeny Demidov
6332 for analyzing and reporting this bug.
6334 -------------
6335 CAN-2004-0686
6336 -------------
6338 Affected Versions:      Samba 3.0.0 and later
6340 A buffer overrun has been located in the code used to support
6341 the 'mangling method = hash' smb.conf option.  Please be aware
6342 that the default setting for this parameter is 'mangling method
6343 = hash2' and therefore not vulnerable.
6345 Affected Samba 3 installations can avoid this possible security
6346 bug by using the default hash2 mangling method.  Server
6347 installations requiring the hash mangling method are encouraged
6348 to upgrade to Samba 3.0.5.
6351 ##################################################################
6353     --------------------------------------------------
6354                  
6355                  =============================
6356                  Release Notes for Samba 3.0.4
6357                           May 8, 2004
6358                  =============================
6360 Common bugs fixed in Samba 3.0.4 include:
6362   o Password changing after applying the patch described in 
6363     the Microsoft KB828741 article to Windows clients.
6364   o Crashes in smbd.
6365   o Managing print jobs via Windows on Big-Endian servers.
6366   o Several memory leaks in winbindd and smbd.
6367   o Compile issues on AIX and *BSD.
6369 Changes since 3.0.3
6370 --------------------
6372 commits
6373 -------
6375 o   Jeremy Allison <jra@samba.org>
6376     * Fix path processing for DeletePrinterDriverEx().
6377     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
6378       breakage.
6381 o   Andrew Bartlett <abartlet@samba.org>
6382     * Fix alignment bug in GetDomPwInfo().
6385 o   Alexander Bokovoy <ab@samba.org>
6386     * Fix utime[s]() issues in smbwrapper on systems 
6387       that can boot both the 2.4 and 2.6 Linux kernels.
6390 o   Gerald Carter <jerry@samba.org>
6391     * Fedora packaging fixes.
6392     * BUG 1302: Fix seg fault by not trying to optimize a list of 
6393       invalid gids using the wrong array size.
6394     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
6395       seen when 'security = share'.
6396     * Fix problems when using IBM's compiler on AIX.
6397     * Link Developer's Guide, Example Guide, and multi-page HOWTO
6398       into SWAT's welcome page.
6399     * BUG 1293: fix double free in printer publishing code.
6401     
6402 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
6403     * Fix for handling timeouts in socket connections.
6406 o   Michel Gravey <michel.gravey@optogone.com>
6407     * BUG 483: patch from  to fix password hash creation in SWAT.
6408     
6410 o   Volker Lendecke <vl@samba.org>
6411     * Close the open NT pipes before the tdis.
6412     * Fix AFS related build issues.
6413     * Handle error conditions when base64 encoding a blob of 0 bytes.
6415     
6416 o   Herb Lewis <herb@samba.org>
6417     * Added 'acls' debug class.
6419 o   kawasa_r@itg.hitachi.co.jp
6420     * Multiple variable initialization and memory leak fixes.
6421     
6422     
6423 o   Stephan Kulow <coolo@suse.de>
6424     * Fix string length bug in libsmbclient that caused KDE's 
6425       Konqueror to crash.
6426     * BUG 429: More libsmbclient fixes.
6429 o   Jim McDonough <jmcd@us.ibm.com>
6430     * BUG 1007, 1279: Store the print job using a little-endian key.
6433 o   Eric Mertens
6434     o Compile fix for OpenBSD (ENOTSUP not supported).
6436     
6437 o   Stefan Metzmacher <metze@samba.org>
6438     * Correct bug in disks quota views from explorer.
6440     
6441 o   Tim Potter <tpot@samba.org>
6442     BUG 1305: Correct debug output.
6445 o   Richard Sharpe <rsharpe@samba.org>
6446     * Fix incorrect error code mapping.
6449 o   Jelmer Vernooij <jelmer@samba.org>
6450     * Add additional NT_STATUS errorm mappings.
6451     
6453     --------------------------------------------------
6455                  =============================
6456                  Release Notes for Samba 3.0.3
6457                         April 29, 2004
6458                  =============================
6461 Common bugs fixed in Samba 3.0.3 include:
6463   o Crash bugs and change notify issues in Samba's printing code.
6464   o Honoring secondary group membership on domain member servers.
6465   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
6466   o Substitution errors for %[UuGg] in smb.conf.
6467   o winbindd crashes when using ADS security mode.
6468   o SMB signing errors.
6469   o Delays in winbindd startup caused by unnecessary 
6470     connections to trusted domain controllers.
6471   o Various small memory leaks.
6472   o Winbindd failing due to expired Kerberos tickets.
6474 New features introduced in Samba 3.0.3 include:
6476   o Improved support for i18n character sets.
6477   o Support for account lockout policy based on
6478     bad password attempts.
6479   o Improved support for long password changes (>14
6480     characters) and strong password enforcement.
6481   o Support for Windows aliases (i.e. nested groups).
6482   o Experimental support for storing DOS attribute on files
6483     and folders in Extended Attributes.
6484   o Support for local nested groups via winbindd.
6485   o Specifying options to be passed directly to the CUPS libraries.
6487 Please be aware that the Samba source code repository was 
6488 migrated from CVS to Subversion on April 4, 2004.  Details on 
6489 accessing the Samba source tree via anonymous svn can be found 
6490 at http://svn.samba.org/samba/subversion.html.
6493 Changes since 3.0.2a
6494 --------------------
6495 smb.conf changes
6496 ----------------
6498     Parameter Name              Action
6499     --------------              ------
6500     cups options                New
6501     ea support                  New
6502     only user                   Deprecated
6503     store dos attributes        New
6504     unicode                     Removed
6505     winbind nested groups       New
6507     
6508 commits
6509 -------
6511 o   Jeremy Allison <jra@samba.org>
6512     * Ensure that Kerberos mutex is always properly unlocked.
6513     * Removed Heimdal "in-memory keytab" support.
6514     * Fixup the 'multiple-vuids' bugs in our server code.
6515     * Correct return code from lsa_lookup_sids() on unmapped
6516       sids (based on work by vl@samba.org).
6517     * Fix the "too many fcntl locks" scalability problem 
6518       raised by tridge.
6519     * Fixup correct (as per W2K3) returns for lookupsids 
6520       as well as lookupnames.
6521     * Fixups for delete-on-close semantics as per Win2k3 behavior.
6522     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
6523     * Fix "unable to initialize" bug when smbd hasn't been run with 
6524       new system and a user is being added via pdbedit/smbpasswd.
6525     * Added NTrename SMB (0xA5).
6526     * Fixup correct timeout values for blocking lock timeouts.
6527     * Fix various bugs reported by 'gentest'.
6528     * More locking fixes in the case where we own the lock.
6529     * Fix up regression in IS_NAME_VALID and renames.
6530     * Don't set allocation size on directories.
6531     * Return correct error code on fail if file exists and target 
6532       is a directory.
6533     * Added client "hardlink" comment to test doing NT rename with 
6534       hard links.  Added hardlink_internals() code - UNIX extensions 
6535       now use this as well.
6536     * Use a common function to parse all pathnames from the wire for 
6537       much closer emulation of Win2k3 error return codes.
6538     * Implement check_path_syntax() and rewrite string sub 
6539       functions for better multibyte support.
6540     * Ensure msdfs referrals are multibyte safe.
6541     * Allow msdfs symlink syntax to be more forgiving.
6542       eg. sym_link -> msdfs://server/share/path/in/share 
6543       or  sym_link -> msdfs:\\server\share\path\in\share.
6544     * Cleanup multibyte netbios name support in nmbd ( based on patch
6545       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
6546     * Fix check_path_syntax() for multibyte encodings which have 
6547       no '\' as second byte (based on work by ab@samba.org.
6548     * Fix the "dfs self-referrals as anonymous user" problem
6549       (based on patch from vl@samba.org).
6550     * BUG 1064: Ensure truncate attribute checking is done correctly 
6551       on "hidden" dot files.
6552     * Fix bug in anonymous dfs self-referrals again.
6553     * Fix get/set of EA's in client library
6554     * Added support for OS/2 EA's in smbd server.
6555     * Added 'ea support' parameter to smb.conf.
6556     * Added 'store dos attributes' parameter to smb.conf.
6557     * Fix wildcard identical rename.
6558     * Fix reply_ctemp - make compatible with w2k3.
6559     * Fix wildcard unlink.
6560     * Fix wildcard src with wildcard dest renames.      
6561     * BUG 1139: Fix based on suggestion by jdev@panix.com.
6562       swap lookups for user and group - group will do an
6563       algorithmic lookup if it fails, user won't.
6564     * Make EA's lookups case independent.
6565     * Fix SETPATHINFO in 'unix extensions' support.
6566     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
6567       the UNIX info levels, and the short case preserve names.
6570 o   Timur Bakeyev <timur@com.bat.ru>
6571     * BUG 1144: only set --with-fhs when the argument is 'yes'
6572     * BUG 1152: Allow python modules to build despite libraries added 
6573       to LDFLAGS instead of LDPATH.
6574     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
6577 o   Craig Barratt <cbarratt@users.sourceforge.net>
6578     * BUG 389: Allow multiple exclude arguments with smbclient 
6579       tar -Xr options (better support for Amanda backup client).
6582 o   Andrew Bartlett <abartlet@samba.org>
6583     * Include support for linking with cracklib for enforcing strong 
6584       password changes.
6585     * Add support for >14 character password changes from Windows 
6586       clients.
6587     * Add 'admin set password' capability to 'net rpc'.
6588     * Allow 'net rpc samdump' to work with any joined domain 
6589       regardless of smb.conf settings.
6590     * Use an allocated buffer for count_chars.
6591     * Add sanity checks for changes in the domain SID in an 
6592       LDAP DIT.
6593     * Implement python unit tests for Samba's multibyte string 
6594       support.
6595     * Remove 'unicode' smb.conf option.
6596     * BUG 1138: Fix support for 'optional' SMB signing and other 
6597       signing bugs.
6598     * BUG 169: Fix NTLMv2-only behavior.
6599     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
6600       default.
6601     * Support SMB signing on connections using only the LANMAN 
6602       password and generate the correct the 'session key' for these 
6603       connections.
6604     * Implement --required-membership-of=, an ntlm_auth option 
6605       that restricts all authentication to members of this particular 
6606       group.
6607     * Improve our fall back code for password changes.
6608     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
6609       after the server had said something (such as an error).
6610     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
6612       
6613 o   Alexander Bokovoy <ab@samba.org>
6614     * Fix incorrect size calculation of the directory name 
6615       in recycle.so.
6616     * Fix problems with very long filenames in both smbd and smbclient
6617       caused by truncating paths during character conversions.
6618     * Fix smbfs problem with Tree Disconnect issued before smbfs 
6619       starts its work.
6622 o   Gerald Carter <jerry@samba.org>
6623     * BUG 850: Fix 'make installmodules' bug on True64.
6624     * BUG 66: mark 'only user' deprecated.
6625     * Remove corrupt tdb and shutdown (only for printing tdbs, 
6626       connections, sessionid & locking).
6627     * decrement smbd counter in connections.tdb in smb_panic().
6628     * RedHat specfile updates.
6629     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
6630     * BUG 1147; bad pointer case in get_stored_queue_info() 
6631       causing seg fault.
6632     * BUG 761: read the config file before initialized default 
6633       values for printing options; don't default to bsd printing 
6634       Linux.
6635     * Allow the 'printing' parameter to be set on a per share basis.
6636     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
6637     * BUG 848: don't create winbind local users/groups that already 
6638       exist in the tdb.
6639     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
6640       LynxOS/ppc).
6641     * BUG 488: fix the 'show client in col 1' button and correctly 
6642       enumerate active connections.
6643     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
6644       problem when storing the updating pid for the lpq cache.
6645     * BUG 1007 (partial): Fix print change notify bugs.
6646     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
6647       and winbind use default domain = yes.  Also ensures that 
6648     * BUG 1151: Ensure that winbindd users are passed through 
6649       the username map.
6650     * Fix client rpc binds for ASU derived servers (pc netlink, 
6651       etc...).
6652     * BUG 417, 1128: Ensure that the current_user_info is set
6653       consistently so that %[UuGg] is expanded correctly.
6654     * BUG 1195: Fix crash in winbindd when the ADS server is 
6655       unavailable.
6656     * BUG 1185: Set reconnect time to be the same as the 
6657       'winbind cache time'.
6658     * Ensure that we return the sec_desc in smb_io_printer_info_2.
6659     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
6660     * BUG 1095: Honor the '-l' option in smbclient.
6661     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
6662       block.
6663     * Ensure server schannel uses the auth level requested by the 
6664       client.
6665     * Removed --with-cracklib option due to potential crash issue.
6666     * Fix -lcrypto linking problem with wbinfo.
6667     * BUG 761: allow printing parameter to set defaults on a per 
6668       share basis.
6669     * Add 'cups options' parameter to allow raw printing without 
6670       changing /etc/cups/cupsd.conf.
6671     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
6672       winbindd.
6673     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
6674     * BUG 1288: resolve any machine netbios name (0x00) and not just 
6675       servers (0x20).
6676     * BUG 1199: Fix potential symlink issue in 
6677       examples/printing/smbprint.
6680 o   Robert Dahlem <Robert.Dahlem@gmx.net>
6681     * BUG 1048:  Don't return short names when when 'mangled names = no'
6684 o   Guenther Deschner <gd@suse.com>
6685     * Remove hard coded attribute name in the ads ranged retrieval
6686       code.
6687     * Add --with-libdir and --with-mandir to autoconf script.
6690 o   Bostjan Golob <golob@gimb.org>
6691     * BUG 1046: Fix  getpwent_list() so that the username is not 
6692       overwritten by other fields.
6695 o   Landon Fuller <landonf@opendarwin.org>
6696     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
6697       to fix user/group enumeration on systems whose libc does not 
6698       call setgrent() before trying to enumerate users (i.e. 
6699       FreeBSD 5.2).
6702 o   Steve French <sfrench@us.ibm.com>
6703     * Update mount.cifs to version 1.1.
6704     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
6705     * Fixes to minor security bug in the mount helper.
6706     * Fix credential file mounting for cifs vfs.
6707     * Fix free of incremented pointer in cifsvfs mount helper.
6708     * Fix path canonicalization of the mount target path and help 
6709       text display in the cifs mount helper.
6710     * Add missing guest mount option for mount.cifs.
6713 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
6714     * BUG 1055; formatting fixes for 'net share'.
6715     * BUG 692: correct truncation of share names and workgroup 
6716       names in smbclient.
6717     * BUG 1088: use strchr_m() for query_host (smbclient -L).
6718     * Patch from to internally count characters correctly.
6721 o   Paul Green <paulg@samba.org>
6722     * Update VOS _POSIX_C_SOURCE macro to 200112L.
6723     * Fix bug in configure.ion by moving the first use of 
6724       AC_CHECK_HEADERS so it is always executed.
6725     * Fix configure.in to only use $BLDSHARED to select whether to 
6726       build static or shared libraries.
6729 o   Pat Haywarrd <Pat.Hayward@propero.net>
6730     * Make the session_users list dynamic (max of 128K).
6731     
6732     
6733 o   Cal Heldenbrand <calzplace@yahoo.com> 
6734     * Fix for for 'pam_smbpass migrate' functionality.
6737 o   Chris Hertel <crh@samba.org>
6738     * fix enumeration of shares 12 characters in length via 
6739       smbclient.
6742 o   Ulrich Holeschak <ulrich@holeschak.de>
6743     * BUG 932: fix local password change using pam_smbpass
6746 o   Krischan Jodies <kj@sernet.de>
6747     * Implement 'net rpc group delete'
6750 o   John Klinger <john.klinger@lmco.com>
6751     * Return NSS_SUCCESS once the max number of gids possible 
6752        has been found in initgroups() on Solaris.
6753     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
6756 o   Volker Lendecke <vl@samba.org>
6757     * Fix success message for net groupmap modify.
6758     * Fix errors when enumerating members of groups in 'net rpc'.
6759     * Match Windows behavior in samr_lookup_names() by returning
6760       ALIAS(4) when you search in BUILTIN. 
6761     * Fix server SAMR code to be able to set alias info for 
6762       builtin as well. 
6763     * Fix duplication of logic when creating groups via smbd.
6764     * Ensure that the HWM values are set correctly after running 
6765       'net idmap'.
6766     * Add 'net rpc group add'.
6767     * Implement 'net groupmap set' and 'net groupmap cleanup'.
6768     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
6769     * Fix wb_delgrpmem (wbinfo -o).
6770     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
6771     * Fix sambaUserWorkstations on a Samba DC.
6772     * Implement wbinfo -k: Have winbind generate an AFS token after
6773       authenticating the user.
6774     * Add expand_msdfs VFS module for providing referrals based on the
6775       the client's IP address.
6776     * Implement client side NETLOGON GetDCName function.
6777     * Fix caching of name->sid lookups.
6778     * Add support in winbindd for expanding nested local groups.
6779     * Fix memleak in winbindd.
6780     * Fix msdfs proxy.
6781     * Don't list domain groups from BUILTIN.
6782     * Fix memleak in policy handle utility functions.
6783     * Decrease winbindd startup time by only contacting trusted 
6784       domains as necessary.
6785     * Allow winbindd to ask the DC for its domain for a trusted 
6786       DC.
6787     * Fix Netscape DS schema based on comments from 
6788       <thomas.mueller@christ-wasser.de>.
6789     * Correct case where adding a domain user to a XP local group 
6790       did a lsalookupname on the user without domain prefix, and 
6791       failed.
6792     * Fix segfault in winbindd caused by 'wbinfo -a'.
6793     
6795 o   Herb Lewis <herb@samba.org>
6796     * Fix typo for tag in proto file.
6797     * Add missing #ifdef HAVE_BICONV stuff.
6798     * Truncate Samba's netbios name at the first '.' (not 
6799       right to left).
6802 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
6803     * Bug fixes and enhancements to libsmbclient library.
6805     
6806 o   Jianliang Lu <j.lu@tiesse.com>
6807     * Enforce the 'user must change password at next login' flag.
6808     * Decode meaning of 'fields present' flags (improves support 
6809       for usrmgr.exe).
6810     * NTLMv2 fixes.
6811     * Don't force an upper case domain name in the ntlmssp code.
6812     
6814 o   L. Lucius <ib@digicron.com>.
6815     * type fixes.
6818 o   Jim McDonough <jmcd@us.ibm.com>
6819     * Add versioning support to tdbsam.
6820     * Update the IBM Directory Server schema with the OpenLDAP 
6821       file.
6822     * Various decoding fixes to improve usrmgr.exe support.
6823     * Fix statfs redeclaration of statfs struct on ppc
6824     * Implement support for password lockout of Samba domain 
6825       controllers and standalone servers.
6826     * Get MungedDial attribute actually working with full TS 
6827       strings in it for pdb_ldap.
6828     * BUG 1208 (partial): Improvements for working with expired krb5 
6829       tickets in winbindd.
6830     * Use timegm, or our already existing replacement instead of 
6831       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
6832     * Remove modifyTimestamp from list of our attributes.  
6833     * Fix lsalookupnames to check for domain users as well as local 
6834       users. 
6835     * Merge struct uuid replacement for GUID from trunk.
6836     * BUG 1208: Finish support for handling expired tickets in 
6837       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
6840 o   Stefan Metzmacher <metze@samba.org>
6841     * Implement new VERSION schema based on subversion revision 
6842       numbers.
6843     * Add shadow_copy vfs module.
6844     * Fix segault in login_cache support.
6847 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
6848      o BUG 979 -- Fix quota display on AIX.
6851 o   James Peach <jpeach@sgi.com>
6852     * Correct check for printf() format when using the SGI MIPSPro 
6853       compiler.
6854     * BUG 1038: support backtrace for 'panic action' on IRIX.
6855     * BUG 768: Accept profileing arg to IRIX init script.
6856     * BUG 748: Relax arg parsing to sambalp script (IRIX).
6857     * BUG 758: Fix pdma build.
6858     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
6859       Jason Mader.
6860       
6862 o   Kurt Pfeifle <kpfeifle@danka.de>
6863     * Add example shell script for migrating drivers and printers 
6864       from a Windows print server to a Samba print server using 
6865       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
6868 o   Tim Potter <tpot@samba.org>
6869     * Fix logic bug in tdb non-blocking lock routines when 
6870       errno == EAGAIN.
6871     * BUG 1025: Include sys/acl.h in check for broken nisplus 
6872       include files.      
6873     * BUG 1066: s/printf/d_printf/g in SWAT.
6874     * BUG 1098: rename internal msleep() function to fix build 
6875       problems on AIX.
6876     * BUG 1112: Fix for writable printerdata problem in python bindings.
6877     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
6878     * BUG 1155: enclose use of fchown() with guards.
6879     * Relicense tdb python module as LGPL.
6882 o   Richard Sharpe <rsharpe@samba.org>
6883     * Add support to smbclient for multiple logins on the same 
6884       session (based on work by abartlet@samba.org).
6885     * Correct blocking condition in smbd's use of accept() on IRIX.
6886     * Add support for printing out the MAC address on nmblookup.
6889 o   Simo Sorce <idra@samba.org>
6890     * Replace unknown_3 with fields_present in SAMR code.
6891     * More length checks in strlcat().
6894 o   Andrew Tridgell <tridge@samba.org>
6895     * Rewrote the AIX UESS backend for winbindd.
6896     * Fixed compilation with --enable-dmalloc.
6897     * Change tdb license to LGPL (see source/tdb/tdb.c).
6898     * Force winbindd to use schannel in clients connections to 
6899       DC's if possible.
6902 o   Jelmer Vernooij <jelmer@samba.org>
6903    * Fix ETA Calculation when resuming downloads in smbget.
6904    * Add -O (for writing downloaded files to standard out) 
6905      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
6906     * Fix syntax error in example mysql table
6908            
6909 o   TAKEDA yasuma <yasuma@miraclelinux.com>
6910     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
6911       cmd_chown, cmd_chmod smbclient functions.
6914 o   Shiro Yamada <shiro@miraclelinux.com>
6915     * BUG 1129: install image files for SWAT.
6917       
6918     --------------------------------------------------
6920                   ==============================
6921                   Release Notes for Samba 3.0.2a
6922                         February 13, 2004
6923                   ==============================
6925 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
6926 to address, in particular, a problem when using pdbedit to 
6927 sanitize (--force-initialized-passwords) Samba's tdbsam 
6928 backend.   This is the latest stable release of Samba. This 
6929 is the version that all production Samba servers should be 
6930 running for all current bug-fixes.  
6932 ******************* Attention! Achtung! Kree! *********************
6934 Beginning with Samba 3.0.2, passwords for accounts with a last 
6935 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
6936 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
6937 strings.  This will cause authentication to fail for such
6938 accounts.  If you have valid passwords that meet this criteria, 
6939 you must update the last change time to a non-zero value.  If you 
6940 do not, then  'pdbedit --force-initialized-passwords' will disable 
6941 these accounts and reset the password hashes to a string of X's.
6943 ******************* Attention! Achtung! Kree! *********************
6946 Changes since 3.0.2
6947 -------------------
6949 commits
6950 -------
6952 Please refer to the CVS log for the SAMBA_3_0 branch for complete
6953 details.  The list of changes per contributor are as follows:
6956 o   Jeremy Allison <jra@samba.org>
6957     * Added paranoia checks in parsing code.
6958     
6960 o   Andrew Bartlett <abartlet@samba.org>
6961     * Ensure that changes to uninitialized passwords in ldapsam 
6962       are written to the DIT.
6965 o   Gerald (Jerry) Carter <jerry@samba.org>
6966     * Fixed iterator in tdbsam.
6967     * Fix bug that disabled accounts with a valid NT password 
6968       hash, but no LanMan hash.
6969     
6971 o   Steve French <sfrench@us.ibm.com>
6972     * Added missing nosetuid and noexec options.
6974     
6975 o   Bostjan Golob <golob@gimb.org>
6976     * BUG 1046: Don't overwrite usernames of entries returned 
6977       by getpwent_list().
6980 o   Sebastian Krahmer <krahmer@suse.de>
6981     * Fixed potential crash bug in NTLMSSP parsing code.
6984 o   Tim Potter <tpot@samba.org>
6985     * Fixed logic in tdb_brlock error checking.
6987     
6988 o   Urban Widmark <urban@teststation.com>
6989     * Set nosuid,nodev flags in smbmnt by default.
6990     
6991     
6992         --------------------------------------------------
6993                   
6994                   =============================
6995                   Release Notes for Samba 3.0.2
6996                         February 9, 2004
6997                   =============================
6999 It has been confirmed that previous versions of Samba 3.0 are
7000 susceptible to a password initialization bug that could grant an 
7001 attacker unauthorized access to a user account created by the
7002 mksmbpasswd.sh shell script.
7004 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
7005 has assigned the name CAN-2004-0082 to this issue.
7007 Samba administrators not wishing to upgrade to the current 
7008 version should download the 3.0.2 release, build the pdbedit 
7009 tool, and run 
7011    root# pdbedit-3.0.2 --force-initialized-passwords
7012       
7013 This will disable all accounts not possessing a valid password
7014 (e.g. the password field has been set a string of X's).
7016 Samba servers running 3.0.2 are not vulnerable to this bug 
7017 regardless of whether or not pdbedit has been used to sanitize
7018 the passdb backend.
7020 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
7021 release include:
7023   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
7024   o Logging onto a Samba domain from Windows XP clients.
7025   o Problems with the %U and %u smb.conf variables in relation to 
7026     Windows 9x/ME clients.
7027   o Kerberos failures due to an invalid in memory keytab detection
7028     test.
7029   o Updates to the ntlm_auth tool.
7030   o Fixes for various SMB signing errors.
7031   o Better separation of WINS and DNS queries for domain controllers.
7032   o Issues with nss_winbind FreeBSD and Solaris.
7033   o Several crash bugs in smbd and winbindd.
7034   o Output formatting fixes for smbclient for better compatibility
7035     with scripts based on the 2.2 version.
7038 Changes since 3.0.1
7039 -------------------
7041 smb.conf changes
7042 ----------------
7044     Parameter Name              Action
7045     --------------              ------
7046     ldap replication sleep      New
7047     read size                   removed (unused)
7048     source environment          removed (unused)
7051 commits
7052 -------
7054 Please refer to the CVS log for the SAMBA_3_0 branch for complete
7055 details.  The list of changes per contributor are as follows:
7057 o   Jeremy Allison <jra@samba.org>
7058     * Revert change that broke Exchange clear text samlogons.
7059     * Fix gcc 3.4 warning in MS-DFS code.
7060     * Tidy up of NTLMSSP code.
7061     * Fixes for SMB signing errors
7062     * BUG 815: Workaround NT4 bug to support plaintext
7063       password logins and UNICODE.
7064     * Fix SMB signing bug when copying large files.
7065     * Correct error logic in mkdir_internals() (caused a panic
7066       when combined with --enable-developer).
7067     * BUG 830: Protect against crashes due to bad character 
7068       conversions.
7070       
7071 o   Petri Asikainen <paca@sci.fi>
7072     * BUG 330, 387:Fix single valued attribute updates when 
7073       working with Novell NDS.
7076 o   Andrew Bartlett <abartlet@samba.org>
7077     * Correctly handle per-pipe NTLMSSP inside a NULL session.
7078     * Fix segfault in gencache 
7079     * Fix early free() of encrypted_session_key.
7080     * Change DC lookup routines to more carefully separate
7081       DNS names (realms) from NetBIOS domain names.
7082     * Add new sid_to_dn() function for internal winbindd use.
7083     * Refactor cli_ds_enum_domain_trusts().
7084     * BUG 707: Implement range retrieval of ADS attributes (based 
7085       on work from Volker <vl@samba.org> and Guenther Deschner 
7086       <gd@suse.com>).
7087     * Automatically initialize the signing engine if a session key
7088       is available.
7089     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
7090       encoded strings, only form input in SWAT.
7091     * Resets the NTLMSSP state for new negotiate packets.
7092     * Add 2-byte alignments in net_samlogon() queries to parse 
7093       odd-length plain text passwords.
7094     * Allow Windows groups with no members in winbindd.
7095     * Allow normal authentication in the absence of a server 
7096       generated session key.
7097     * More optimizations for looking up UNIX group lists.
7098     * Clean up error codes and return values for pam_winbindd
7099       and winbindd PAM interface.
7100     * Fix string return values in ntlm_auth tool.
7101     * Fix segfault when 'security = ads' but no realm is defined.
7102     * BUG 722: Allow winbindd to map machine accounts to uids.
7103     * More cleanups for winbindd's find_our_domain().
7104     * More clearly detect whether a domain controller is an NT4
7105       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
7106     * Increase separation between DNS queries for hosts and queries
7107       for AD domain controllers.
7108     * Include additional NT_STATUS to PAM error mappings.
7109     * Password initialization fixes.
7111     
7112 o   Justin Baugh <justin.baugh@request.com>
7113     * BUG 948: Implement missing functions required for FreeBSD 
7114       nss_winbind support. 
7117 o   Alexander Bokovoy <ab@samba.org>
7118     * BUG 922: Make sure enable fast path for strlower_m() and 
7119       strupper_m().
7122 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
7123     * Fix crash when using 'security = server' and 'encrypt 
7124       passwords = no' by always initializing the session key.
7126       
7127 o   Dmitry Butskoj <buc@odusz.elektra.ru>
7128     * Fix for special files being hidden from admins.
7131 o   Gerald (Jerry) Carter <jerry@samba.org>
7132     * Fix bug in the lanman session key generation.  Caused 
7133       "decode_pw: incorrect password length" error messages.
7134     * Save the right case for the located user name in 
7135       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
7136     * BUG 897: Add well known rid for pre win2k compatible access
7137       group.
7138     * BUG 887: Correct typo in delete user script example.
7139     * Use short lived TALLOC_CTX* for allocating printer objects 
7140       from the print handle cache.
7141     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
7142     * Fix several warnings reported by the SUN Forte C compiler.
7143     * Fully control DNS queries for AD DC's using 'name resolve order'.
7144     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
7145     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
7146     * BUG 936: fix bind credentials for schannel binds in smbd.
7147     * BUG 446: Fix output of smbclient for better compatibility 
7148       with scripts based on the 2.2 version (including Amanda).
7149     * BUG 891, 949: Fedora packaging fixes.
7150     * Fix bug that caused rpcclient to incorrectly retrieve 
7151       the SID for a server (this causing all calls that required 
7152       this information to fail). 
7153     * BUG 977: Don't create a homes share for a user if a static 
7154       share already exists by the same name.
7155     * Removed unused smb.conf options.
7156     * Password initialization fixes.
7157     * Set the disable flag for template accounts created by
7158       mksmbpasswd.sh.
7159     * Disable any account has no passwords and does not have the
7160       ACB_PWNOTREQ bit set.
7163 o   Guenther Deschner <gd@suse.com>
7164     * Install smbwrapper.so should be put into the $(libdir) 
7165       and not $(bindir).
7166     * Add the capability to specify the new user password 
7167       for "net ads password" on the command line.
7168     * Correctly detect AFS headers on SuSE.
7169         
7171 o   James Flemer <jflemer@uvm.edu>
7172     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
7173       HAVE_SYS_ATTRIBUTES_H.
7176 o   Luke Howard <lukeh@PADL.COM>
7177     * Fix segfault in session setup reply caused by a early free().
7180 o   Stoian Ivanov <sdr@bultra.com>
7181     * Implement grepable output for smbclient -L.
7184 o   LaMont Jones <lamont@debian.org>
7185     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
7186       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
7187       not being defined).
7189       
7190 o   Volker Lendecke <vl@samba.org>
7191     * BUG 583: Ensure that user names always contain the short 
7192       version of the domain name.
7193     * Fix our parsing of the LDAP uri.
7194     * Don't show the 'afs username map' in the SWAT basic view.
7195     * Fix SMB signing issues in relation to failed NTLMSSP logins.
7196     * BUG 924: Fix return codes in smbtorture harness.
7197     * Always lower-case usernames before handing it to AFS code.
7198     * Add a German translation for SWAT.
7199     * Fix a segfaults in winbindd.
7200     * Fix the user's domain passed to register_vuid() from 
7201       reply_spnego_Kerberos().
7202     * Add NSS example code in nss_winbind to convert UNIX 
7203       id's <-> Windows SIDs.
7204     * Display more descriptive error messages for login via 'net'.
7205     * Fix compiler warning in the net tool.
7206     * Fix length bug when decoding base64 strings.
7207     * Ensure we don't call getpwnam() inside a loop that is iterating 
7208       over users with getpwent().  This broke on glibc 2.3.2.
7211 o   Herb Lewis <herb@samba.org>
7212     * Fix bit rot in psec.
7215 o   Jianliang Lu <j.lu@tiesse.com>
7216     * Ensure we delete the group mapping before calling the delete 
7217       group script.
7218     * Define well known RID for managing the  "Power Users" group.
7219     * BUG 381: check builtin (not local) group SID when updating 
7220       group membership.
7221     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
7222       packet.
7225 o   John Klinger <john.klinger@lmco.com>
7226     * Implement initgroups() call in nss_winbind on Solaris.
7229 o   Jim McDonough <jmcd@us.ibm.com>
7230     * Fix regression in net rpc join caused by recent changes 
7231       to cli_lsa_query_info_policy().
7232     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
7233       machine account.
7236 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
7237     * BUG 570: Ensure that configure honors the LDFLAGS variable.
7240 o   Stefan Metzmacher <metze@samba.org>
7241     * Implement LDAP rebind sleep patch.
7242     * Revert to 2.2 quota code because of so many broken quota files 
7243       out there.
7244     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
7245                       XFS_USER_QUOTA -> USRQUOTA
7246                       XFS_GROUP_QUOTA -> GRPQUOTA
7247     * Fix disk_free calculation with group quotas.
7248     * Add debug class 'quota' and a lot of DEBUG()'s 
7249       to the quota code.
7250     * Fix sys_chown() when no chown() is present.
7251     * Add SIGABRT to fault handling in order to catch got a 
7252       backtrace if an error occurs the OpenLDAP client libs.
7255 o   <ndb@theghet.to>
7256     * Allow an existing LDAP machine account to be re-used when 
7257       joining an AD domain.
7260 o   James Peach <jpeach@sgi.com>
7261     * BUG 889: Change smbd to use pread/pwrite on platforms that 
7262       support these calls. Can lead to a significant speed increase.
7265 o   Tim Potter <tpot@samba.org>
7266     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
7267     * BUG 924: Fix typo in RW2 torture test.
7268     
7269     
7270 o   Richard Sharpe <rsharpe@samba.org>
7271     * Small fixes to torture.c to cleanup the error handling 
7272       and prevent crashes.
7275 o   J. Tournier <jerome.tournier@IDEALX.com>
7276     * Small fixes for the smbldap-tool scripts.
7279 o   Andrew Tridgell <tridge@samba.org>
7280     * Fix src len check in pull_usc2().
7281     
7282     
7283 o   Jelmer Vernooij <jelmer@samba.org>
7284     * Put functions for generating SQL queries in pdb_sql.c
7285     * Add pgSQL backend (based on patch by Hamish Friedlander)
7286     * BUG 908: Fix -s option to smbcontrol.    
7287     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
7288     * Fix for libnss_wins on IRIX platforms.
7289     * Fix swatdir for --with-fhs.
7292         --------------------------------------------------
7294                   =============================
7295                   Release Notes for Samba 3.0.1
7296                         December 15, 2003
7297                   =============================
7299 Some of the more common bugs in 3.0.0 addressed in the release 
7300 include:
7302   o Substitution problems with smb.conf variables.
7303   o Errors in return codes which caused some applications
7304     to fail to open files.
7305   o General Protection Faults on Windows 2000/XP clients
7306     using Samba point-n-print features.
7307   o Several miscellaneous crash bugs.
7308   o Access problems when enumerating group mappings are
7309     stored in an LDAP Directory.
7310   o Several common SWAT bugs when writing changes to
7311     smb.conf.
7312   o Internal inconsistencies when 'winbind use default
7313     domain = yes'
7317 Changes since 3.0.0
7318 ----------------------
7320     Parameter Name              Action
7321     --------------              ------
7322     hide local users            Removed
7323     mangled map                 Deprecated
7324     mangled stack               Removed
7325     passwd chat timeout         New
7328 commits
7329 -------
7331 o   Change the interface for init_unistr2 to not take a length 
7332     but a flags field.  We were assuming that 
7333     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
7334 o   Allow d_printf() to handle strings with escaped quotation 
7335     marks since the msg file includes the escape character (bug 489).
7336 o   Fix bad html table row termination in SWAT wizard code (bug 413).
7337 o   Fix to parse the level-2 strings.
7338 o   Fix for "valid users = %S" in [homes].  Fix read/write 
7339     list as well. 
7340 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
7341     This is the same way AC_CHECK_LIB works (bug 508).
7342 o   Testparm output fixes for clarity.
7343 o   Fix broken wins hook functionality -- i18n bug (bug 528).
7344 o   Take care of condition where DOS and NT error codes must differ.
7345 o   Default to using only built-in charsets when a working iconv 
7346     implementation cannot be located.
7347 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
7348     be done unconditionally (bug 550).
7349 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
7350 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
7351     --enable-debug=[yes|no] works correctly.
7352 o   Allow ^C to interrupt smbpasswd if using our getpass 
7353     (e.g. smbpasswd command).
7354 o   Support signing only on RPC's (bug 167).
7355 o   Correct bug that prevented  Excel 2000 clients from opening 
7356     files marked as read-only.
7357 o   Portability fix bugs 546 - 549).
7358 o   Explicitly initialize the value of AR for vendor makes that don't
7359     do this (e.g. HPUX 11).  (bug 552).
7360 o   More i18n fixes for SWAT (bug 413).
7361 o   Change the cwd before the postexec script to ensure that a
7362     umount will succeed.
7363 o   Correct double free that caused winbindd to crash when a DC 
7364     is rebooted (bug 437).
7365 o   Fix incorrect mode sum (bug 562).
7366 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
7367     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
7368 o   Add script to generate *msg files.
7369 o   Add Dutch SWAT translation file.
7370 o   Make sure to call get_user_groups() with the full winbindd 
7371     name for a user if he/she has one (bug 406).
7372 o   Fix up error code returns from Samba4 tester. Ensure invalid 
7373     paths are validated the same way.  
7374 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
7375 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
7376     libraries were found for $BACKEND.
7377 o   Move sysquotas autoconf tests to a separate file.
7378 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
7379     tester
7380 o   Make sure that the files that contain the static_init_$subsystem; 
7381     macro get recompiled after configure by removing the object 
7382     files.
7383 o   Ensure canceling a blocking lock returns the correct error 
7384     message.
7385 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
7386 o   Updated Japanese welcome file in SWAT.
7387 o   Fix to  nt-time <-> unix-time functions reversible.
7388 o   Ensure that winbindd uses the the escaped DN when querying
7389     an AD ldap server.
7390 o   Fix portability issues when compiling (bug 505, 550)
7391 o   Compile fix for tdbbackup when Samba needs to override 
7392     non-C99 compliant implementations of snprintf().
7393 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
7394 o   Make sure we break out of samsync loop on error.
7395 o   Ensure error code path doesn't free unmalloc()'d memory
7396     (bug 628).
7397 o   Add configure test for krb5_keytab_entry keyblock vs key 
7398     member (bug 636).
7399 o   Fixed spinlocks.
7400 o   Modified testparm so that all output so all debug output goes 
7401     to stderr, and all file processing goes to stdout.
7402 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
7403     and smbcquotas.
7404 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
7405     we have a devmode before copying a string to the devicename.
7406 o   Support mapping REALM.COM\user to a local user account (without 
7407     running winbindd)  for compatibility with 2.2.x release.
7408 o   Ensure we don't use mmap() on blacklisted systems.
7409 o   fixed a number of bugs and memory leaks in the AIX 
7410     winbindd shim
7411 o   Call initgroups() in SWAT before becomming the user so that
7412     secondary group permissions can be used when writing to 
7413     smb.conf.
7414 o   Fix signing problems when reverse connecting back to a 
7415     client for printer notify
7416 o   Fix signing problems caused by a miss-sequence bug.
7417 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
7418     Fixes NEXUS tools running on Win9x clients (bug 64).
7419 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
7420     SID could not be mapped.
7421 o   Fix segfault in mount.cifs helper when there is no options 
7422     specified during mount.
7423 o   Change the \n after the password prompt to go to tty instead 
7424     of stdout (bug 668).
7425 o   Stop net -P from prompting for machine account password (bug 451).
7426 o   Change in behavior to Not only change the effective uid but also
7427     the real uid when becoming unprivileged.
7428 o   Cope with Exchange 5.5 cleartext pop password auth.
7429 o   New files for support of initshutdown pipe.  Win2k doesn't 
7430     respond properly to all requests on the winreg pipe, so we need 
7431     to handle this new pipe (bug 534).
7432 o   Added more va_copy() checks in configure.in.
7433 o   Include fixes for libsmbclient build problems.
7434 o   Missing UNIX -> DOS codepage conversion in lanman.c.
7435 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
7436 o   Parameterize the listen backlog in smbd and make it larger by
7437     default. A backlog of 5 is way too small these days.
7438 o   Check for an invalid fid before dereferencing the fsp pointer
7439     (bug 696).
7440 o   Remove invalid memory frees and return codes in pdb_ldap.c.
7441 o   Prompt for password when invoking --set-auth-user and no 
7442     password is given.
7443 o   Bind the nmbd sending socket to the 'socket address'.
7444 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
7445     $LDFLAGS occurs before any library specification (bug 661).
7446 o   Fix large number of printf() calls for 64-bit size_t.
7447 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
7448     keyblock in the krb5 structs.
7449 o   Remove #include <compat.h> in hopes to avoid problems with 
7450     apache header files.
7451 o   Correct winbindd build problems on HP-UX 11.
7452 o   Lowercase netgroups lookups (bug 703).
7453 o   Use the actual size of the buffer in strftime instead of a made
7454     up value which just happens to be less than sizeof(fstring).  
7455     (bug 713).
7456 o   Add ldaplibs to pdbedit link line (bug 651).
7457 o   Fix crash bug in smbclient completion (bug 659).
7458 o   Fix packet length for browse list reply (bug 771).
7459 o   Fix coredump in cli_get_backup_list().
7460 o   Make sure that we expand %N (bug 612).
7461 o   Allow rpcclient adddriver command to specify printer driver 
7462     version (bug 514).
7463 o   Compile tdbdump by default.
7464 o   Apply patches to fix iconv detection for FreeBSD.
7465 o   Do not allow the 'guest account' to be added to a passdb backend 
7466     using smbpasswd or pdbedit (bug 624).
7467 o   Save LDFLAGS during iconv detection (bug 57).
7468 o   Run krb5 logins through the username map if the winbindd 
7469     lookup fails (bug 698).
7470 o   Add const for lp_set_name_resolve_order() to avoid compiler 
7471     warnings (bug 471).
7472 o   Add support for the %i macro in smb.conf to stand in for the for
7473     the local IP address to which a client connected.
7474 o   Allow winbindd to match local accounts to domain SID when 
7475     'winbind trusted domains only = yes' (bug 680).
7476 o   Remove code in idmap_ldap that searches the user suffix and group 
7477     suffix.  It's not needed and provides inconsistent functionality 
7478     from the tdb backend.
7479 o   Patch to handle munged dial string for Windows 2000 TSE.
7480     Thanks to Gaz de France, Direction de la Recherche, Service 
7481     Informatique Métier for their supporting this work by Aurelien 
7482     Degrémont <adegremont@idealx.com>.
7483 o   Correct the "smbldap_open: cannot access when not root error"
7484     messages when looking up group information (bug 281).
7485 o   Skip over the winbind separator when looking up a user.
7486     This fixes the bug that prevented local users from
7487     matching an AD user when not running winbindd (bug 698).
7488 o   Fix a problem with configure on *BSD systems. Make sure
7489     we add -liconv etc to LDFLAGS.
7490 o   Fix core dump bug when "security = server" and the authentication
7491     server goes away.
7492 o   Correct crash bug due to an empty munged dial string.
7493 o   Show files locked by a specific user (smbstatus -u 'user') 
7494     (bug 590).
7495 o   Fix bug preventing print jobs from display in the queue
7496     monitor used by Windows NT and later clients (bug 660).
7497 o   Fix several reported problems with point-n-print from
7498     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
7499     reply (bug 338, 527 & 643).
7500 o   Fix a handful of potential memory leaks in the LDAP code used
7501     by ldapsam[_compat] and the LDAP idmap backend.
7502 o   Fix for pdbedit error code returns (bug 763).
7503 o   Make sure we only enumerate group mapping entries  (not 
7504     /etc/group) even when doing local aliases.
7505 o   Relax check on the pipe name in a dce/rpc bind response to work 
7506     around issues with establishing trusts to a Windows 2003 domain.
7507 o   Ensure we mangle names ending in '.' in hash2 mangling method.
7508 o   Correct parsing issues with munged dial string.
7509 o   Fix bugs in quota support for XFS.
7510 o   Add a cleaner method for applications that need to provide 
7511     name->SID mappings to do this via NSS rather than having to 
7512     know the winbindd pipe protocol.
7513 o   Adds a variant of the winbindd_getgroups() call called 
7514     winbindd_getusersids() that provides direct SID->SIDs listing of 
7515     a users supplementary groups. This is enough to allow non-Samba 
7516     applications to do ACL checking.
7517 o   Make sure we don't append the 'ldap suffix' when writing out the 
7518     'ldap XXX suffix' values in SWAT (bug 328).
7519 o   Fix renames across file systems.
7520 o   Ensure that items in a list of strings containing whitespace are 
7521     written out surrounded by single quotes.  This means that both 
7522     double and single quotes are now used to surround strings in 
7523     smb.conf (bug 481).
7524 o   Enable SWAT to correctly determine if winbindd is running (bug 
7525     398).
7526 o   Include WWW-Authenticate field in 401 response for bad auth 
7527     attempt (bug 629).
7528 o   Add support for NTLM2 (NTLMv2 session security).
7529 o   Add support for variable-length session keys.
7530 o   More privilege fixes for group enumeration in LDAP (bug 281).
7531 o   Use the dns name (or IP) as the originating client name when
7532     using CUPS (bug 467).
7533 o   Fix various SMB signing bugs.
7534 o   Fix ACL propagation on a DFS root (bug 263).
7535 o   Disable NTLM2 for RPC pipes.
7536 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
7537     authentication.
7538 o   Change the name of the job passed off to cups from "Test Page" 
7539     to "smbprn.00000033 Test Page" so that we can get the smb 
7540     jobid back. This allow users to delete jobs with cups printing 
7541     backend (partial work on bug 770).
7542 o   Fix build of winbindd with static pdb modules.
7543 o   Retrieve the correct ACL group bits if the file has an ACL 
7544     (bug 802).
7545 o   Implement "net rpc group members": Get members of a domain group 
7546     in human-readable format.
7547 o   Add MacOSX (Darwin) specific charset module code.
7548 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
7549     can include the full name in gecos field (bug 587).
7550 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
7551 o   Implement 'net rpc group list [global|local|builtin]*' for a 
7552     select listing of the respective user databases.
7553 o   Don't automatically set NT status code flag unless client tells 
7554     us it can cope.
7555 o   Add 'net status [sessions|shares] [parseable]'.
7556 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
7557     bug 770).
7558 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
7559    (bug 608).
7560 o   Fix inverted logic in hosts allow/deny checks caused by 
7561     s/strcmp/strequal/ (bug 846).
7562 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
7563 o   Fix typo in 'hash' mangling algorithm.
7564 o   Support munged dial for ldapsam (bug 800).
7565 o   Fix process_incoming_data() to return the number of bytes handled 
7566     this call whether we have a complete PDU or not; fixes bug 
7567     with multiple PDU request rpc's broken over SMBwriteX calls 
7568     each.
7569 o   Fix incorrect smb flags2 for connections to pre-NT servers 
7570     (causes smbclient to fail to OS2 for example) (bug 821).
7571 o   Update version string in smbldap-tools Makefile to 0.8.2.
7572 o   Correct a problem with "net rpc vampire" mis-parsing the 
7573     alias member info reply.
7574 o   Ensure the ${libdir} is created by the installclientlib script.
7575 o   Fix detection of Windows 2003 client architecture in the smb.conf
7576     %a variable.
7577 o   Ensure that smbd calls the add user script for a missing UNIX 
7578     user on Kerberos auth call (bug 445).
7579 o   Fix bugs in hosts allow/deny when using a mismatched 
7580     network/netmask pair.
7581 o   Protect alloc_sub_basic() from crashing when the source string 
7582     is NULL (partial work on bug 687).
7583 o   Fix spinlocks on IRIX.
7584 o   Corrected some bad destination paths when running "configure 
7585     --with-fhs".
7586 o   Add packaging files for Fedora Core 1.
7587 o   Correct bug in SWAT install script for non-english languages.
7588 o   Support character set ISO-8859-1 internally (bug 558).
7589 o   Fixed more LDAP access errors when looking up group mappings 
7590     (bug 281).
7591 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
7592     resolution to fail on local files on on domain members 
7593     (bug 875).
7594 o   Fix uninitialized variable in passdb.c.
7595 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
7596 o   Fix problem mounting directories when mount.cifs is installed 
7597     with the setuid bit on.
7598 o   Fix bug that prevent --mandir from overriding the defaults
7599     given in the --with-fhs macro.
7600 o   Fix bug in in-memory Kerberos keytab detection routines 
7601     in configure.in
7605 ######################################################################
7607               The original 3.0.0 release notes follow
7608               =======================================
7609                     WHATS NEW IN Samba 3.0.0
7610                         September 24, 2003
7611               =======================================
7614 Major new features:
7615 -------------------
7617 1)  Active Directory support.  Samba 3.0 is now able to  
7618     join a ADS realm as a member server and authenticate 
7619     users using LDAP/Kerberos.
7621 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
7622     and internally there is now a much better infrastructure for 
7623     multi-byte and UNICODE character sets.
7625 3)  New authentication system. The internal authentication system 
7626     has been almost completely rewritten. Most of the changes are 
7627     internal, but the new auth system is also very configurable.
7629 4)  New default filename mangling system.
7631 5)  A new "net" command has been added. It is somewhat similar to 
7632     the "net" command in windows. Eventually we plan to replace 
7633     numerous other utilities (such as smbpasswd) with subcommands 
7634     in "net".
7636 6)  Samba now negotiates NT-style status32 codes on the wire. This
7637     improves error handling a lot.
7639 7)  Better Windows 2000/XP/2003 printing support including publishing
7640     printer attributes in active directory.
7642 8)  New loadable module support for passdb backends and character 
7643     sets.
7645 9)  New default dual-daemon winbindd support for better performance.
7647 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
7648     domain and maintaining user, group and domain SIDs.
7650 11) Support for establishing trust relationships with Windows NT 4.0
7651     domain controllers.
7652   
7653 12) Initial support for a distributed Winbind architecture using
7654     an LDAP directory for storing SID to uid/gid mappings.
7655   
7656 13) Major updates to the Samba documentation tree.
7658 14) Full support for client and server SMB signing to ensure
7659     compatibility with default Windows 2003 security settings.
7661 15) Improvement of ACL mapping features based on code donated by
7662     Andreas Grünbacher.
7665 Plus lots of other improvements!
7668 Additional Documentation
7669 ------------------------
7671 Please refer to Samba documentation tree (included in the docs/ 
7672 subdirectory) for extensive explanations of installing, configuring
7673 and maintaining Samba 3.0 servers and clients.  It is advised to 
7674 begin with the Samba-HOWTO-Collection for overviews and specific 
7675 tasks (the current book is up to approximately 400 pages) and to 
7676 refer to the various man pages for information on individual options.
7678 We are very glad to be able to include the second edition of
7679 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
7680 (O'Reilly & Associates) in this release.  The book is available
7681 on-line at http://samba.org/samba/docs/ and is included with 
7682 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
7683 publisher for making "Using Samba" under the GNU Free Documentation 
7684 License.
7687 ######################################################################
7688 Upgrading from a previous Samba 3.0 beta
7689 ########################################
7691 Beginning with Samba 3.0.0beta3, the RID allocation functions
7692 have been moved into winbindd.  Previously these were handled
7693 by each passdb backend.  This means that winbindd must be running
7694 to automatically allocate RIDs for users and/or groups.  Otherwise,
7695 smbd will use the 2.2 algorithm for generating new RIDs.
7697 If you are using 'passdb backend = tdbsam' with a previous Samba 
7698 3.0 beta release (or possibly alpha), it may be necessary to 
7699 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
7700 to winbindd_idmap.tdb.  To do this:
7702 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
7703     once)
7704 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
7705     directory
7706 3)  run: (note that 'tdb>' is the tool's prompt for input)
7708        root# ./tdbtool /usr/local/samba/private/passdb.tdb
7709        tdb> show RID_COUNTER
7710        key 12 bytes
7711        RID_COUNTER
7712        data 4 bytes
7713        [000] 0A 52 00 00                                       .R.
7715        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
7716        ....
7717        record moved
7719 If you are using 'passdb backend = ldapsam', it will be necessary to 
7720 store idmap entries in the LDAP directory as well (i.e. idmap backend 
7721 = ldap).  Refer to the 'net idmap' command for more information on 
7722 migrating SID<->UNIX id mappings from one backend to another.
7724 If the RID_COUNTER record does not exist, then these instructions are
7725 unneccessary and the new RID_COUNTER record will be correctly generated
7726 if needed.  
7730 ########################
7731 Upgrading from Samba 2.2
7732 ########################
7734 This section is provided to help administrators understand the details
7735 involved with upgrading a Samba 2.2 server to Samba 3.0.
7738 Building
7739 --------
7741 Many of the options to the GNU autoconf script have been modified 
7742 in the 3.0 release.  The most noticeable are:
7744   * removal of --with-tdbsam (is now included by default; see section
7745     on passdb backends and authentication for more details)
7746     
7747   * --with-ldapsam is now on used to provided backward compatible
7748     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
7749     backend and authentication section for more details
7750   
7751   * inclusion of non-standard passdb modules may be enabled using
7752     --with-expsam.  This includes an XML backend and a mysql backend.
7753       
7754   * removal of --with-msdfs (is now enabled by default)
7755   
7756   * removal of --with-ssl (no longer supported)
7757   
7758   * --with-utmp now defaults to 'yes' on supported systems
7759   
7760   * --with-sendfile-support is now enabled by default on supported 
7761     systems
7762   
7763     
7764 Parameters
7765 ----------
7767 This section contains a brief listing of changes to smb.conf options
7768 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
7769 complete descriptions of new or modified parameters.
7771 Removed Parameters (order alphabetically):
7773   * admin log
7774   * alternate permissions
7775   * character set
7776   * client codepage
7777   * code page directory
7778   * coding system
7779   * domain admin group
7780   * domain guest group
7781   * force unknown acl user
7782   * hide local users
7783   * mangled stack
7784   * nt smb support
7785   * postscript
7786   * printer driver
7787   * printer driver file
7788   * printer driver location
7789   * read size
7790   * source environment
7791   * status
7792   * strip dot
7793   * total print jobs
7794   * use rhosts
7795   * valid chars
7796   * vfs options
7798 New Parameters (new parameters have been grouped by function):
7800   Remote management
7801   -----------------
7802   * abort shutdown script
7803   * shutdown script
7805   User and Group Account Management
7806   ---------------------------------
7807   * add group script
7808   * add machine script
7809   * add user to group script
7810   * algorithmic rid base
7811   * delete group script
7812   * delete user from group script
7813   * passdb backend
7814   * set primary group script
7816   Authentication
7817   --------------
7818   * auth methods
7819   * realm
7820   * passwd chat timeout
7822   Protocol Options
7823   ----------------
7824   * client lanman auth
7825   * client NTLMv2 auth
7826   * client schannel
7827   * client signing
7828   * client use spnego
7829   * disable netbios
7830   * ntlm auth
7831   * paranoid server security
7832   * server schannel
7833   * server signing
7834   * smb ports
7835   * use spnego
7837   File Service
7838   ------------
7839   * get quota command
7840   * hide special files
7841   * hide unwriteable files
7842   * hostname lookups
7843   * kernel change notify
7844   * mangle prefix
7845   * map acl inherit
7846   * msdfs proxy
7847   * set quota command
7848   * use sendfile
7849   * vfs objects
7850   
7851   Printing
7852   --------
7853   * max reported print jobs
7855   UNICODE and Character Sets
7856   --------------------------
7857   * display charset
7858   * dos charset
7859   * unicode
7860   * unix charset
7861   
7862   SID to uid/gid Mappings
7863   -----------------------
7864   * idmap backend
7865   * idmap gid
7866   * idmap uid
7867   * winbind enable local accounts
7868   * winbind trusted domains only
7869   * template primary group
7870   * enable rid algorithm
7872   LDAP
7873   ----
7874   * ldap delete dn
7875   * ldap group suffix
7876   * ldap idmap suffix
7877   * ldap machine suffix
7878   * ldap passwd sync
7879   * ldap replication sleep
7880   * ldap user suffix
7881   
7882   General Configuration
7883   ---------------------
7884   * preload modules
7885   * private dir
7887 Modified Parameters (changes in behavior):
7889   * encrypt passwords (enabled by default)
7890   * mangling method (set to 'hash2' by default)
7891   * passwd chat
7892   * passwd program
7893   * restrict anonymous (integer value)
7894   * security (new 'ads' value)
7895   * strict locking (enabled by default)
7896   * unix extensions (enabled by default)
7897   * winbind cache time (increased to 5 minutes)
7898   * winbind uid (deprecated in favor of 'idmap uid')
7899   * winbind gid (deprecated in favor of 'idmap gid')
7902 Databases
7903 ---------
7905 This section contains brief descriptions of any new databases 
7906 introduced in Samba 3.0.  Please remember to backup your existing 
7907 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
7908 upgrade databases as they are opened (if necessary), but downgrading 
7909 from 3.0 to 2.2 is an unsupported path.
7911 Name                    Description                             Backup?
7912 ----                    -----------                             -------
7913 account_policy          User policy settings                    yes
7914 gencache                Generic caching db                      no
7915 group_mapping           Mapping table from Windows              yes
7916                         groups/SID to unix groups        
7917 winbindd_idmap          ID map table from SIDS to UNIX          yes
7918                         uids/gids.
7919 namecache               Name resolution cache entries           no
7920 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
7921                         returned as part of a successful
7922                         net_sam_logon request 
7923 printing/*.tdb          Cached output from 'lpq                 no
7924                         command' created on a per print 
7925                         service basis
7926 registry                Read-only samba registry skeleton       no
7927                         that provides support for exporting
7928                         various db tables via the winreg RPCs
7931 Changes in Behavior
7932 -------------------
7934 The following issues are known changes in behavior between Samba 2.2 and 
7935 Samba 3.0 that may affect certain installations of Samba.
7937   1)  When operating as a member of a Windows domain, Samba 2.2 would 
7938       map any users authenticated by the remote DC to the 'guest account'
7939       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
7940       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
7941       current work around to re-establish the 2.2 behavior.
7942       
7943   2)  When adding machines to a Samba 2.2 controlled domain, the 
7944       'add user script' was used to create the UNIX identity of the 
7945       machine trust account.  Samba 3.0 introduces a new 'add machine 
7946       script' that must be specified for this purpose.  Samba 3.0 will
7947       not fall back to using the 'add user script' in the absence of 
7948       an 'add machine script'
7949   
7951 ######################################################################
7952 Passdb Backends and Authentication
7953 ##################################
7955 There have been a few new changes that Samba administrators should be
7956 aware of when moving to Samba 3.0.
7958   1) encrypted passwords have been enabled by default in order to 
7959      inter-operate better with out-of-the-box Windows client 
7960      installations.  This does mean that either (a) a samba account
7961      must be created for each user, or (b) 'encrypt passwords = no'
7962      must be explicitly defined in smb.conf.
7963     
7964   2) Inclusion of new 'security = ads' option for integration 
7965      with an Active Directory domain using the native Windows
7966      Kerberos 5 and LDAP protocols.
7968      MIT Kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
7969      type which is neccessary for servers on which the 
7970      administrator password has not been changed, or Kerberos-enabled 
7971      SMB connections to servers that require Kerberos SMB signing.
7972      Besides this one difference, either MIT or Heimdal Kerberos
7973      distributions are usable by Samba 3.0.
7974      
7976 Samba 3.0 also includes the possibility of setting up chains
7977 of authentication methods (auth methods) and account storage 
7978 backends (passdb backend).  Please refer to the smb.conf(5) 
7979 man page for details.  While both parameters assume sane default 
7980 values, it is likely that you will need to understand what the 
7981 values actually mean in order to ensure Samba operates correctly.
7983 The recommended passdb backends at this time are
7985   * smbpasswd - 2.2 compatible flat file format
7986   * tdbsam - attribute rich database intended as an smbpasswd
7987     replacement for stand alone servers
7988   * ldapsam - attribute rich account storage and retrieval 
7989     backend utilizing an LDAP directory.  
7990   * ldapsam_compat - a 2.2 backward compatible LDAP account 
7991     backend
7992     
7993 Certain functions of the smbpasswd(8) tool have been split between the 
7994 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
7995 utility.  See the respective man pages for details.
7996     
7997      
7998 ######################################################################
7999 LDAP
8000 ####
8002 This section outlines the new features affecting Samba / LDAP 
8003 integration.
8005 New Schema
8006 ----------
8007   
8008 A new object class (sambaSamAccount) has been introduced to replace 
8009 the old sambaAccount.  This change aids us in the renaming of 
8010 attributes to prevent clashes with attributes from other vendors.  
8011 There is a conversion script (examples/LDAP/convertSambaAccount) to 
8012 modify and LDIF file to the new schema.
8013   
8014 Example:
8015   
8016   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
8017   $ convertSambaAccount --sid=<Domain SID> \
8018     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
8019     --changetype=[modify|add]
8020         
8021 The <DOM SID> can be obtained by running 'net getlocalsid 
8022 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
8023 the format of the generated LDIF output--either create new entries 
8024 or modify existing entries.
8025     
8026 The old sambaAccount schema may still be used by specifying the 
8027 "ldapsam_compat" passdb backend.  However, the sambaAccount and
8028 associated attributes have been moved to the historical section of
8029 the schema file and must be uncommented before use if needed.
8030 The 2.2 object class declaration for a sambaAccount has not changed
8031 in the 3.0 samba.schema file. 
8032   
8033 Other new object classes and their uses include:
8034   
8035   * sambaDomain - domain information used to allocate rids 
8036     for users and groups as necessary.  The attributes are added
8037     in 'ldap suffix' directory entry automatically if 
8038     an idmap uid/gid range has been set and the 'ldapsam'
8039     passdb backend has been selected.
8040       
8041   * sambaGroupMapping - an object representing the 
8042     relationship between a posixGroup and a Windows
8043     group/SID.  These entries are stored in the 'ldap 
8044     group suffix' and managed by the 'net groupmap' command.
8045     
8046   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
8047     automatically and contains the next available 'idmap uid' and 
8048     'idmap gid'
8049     
8050   * sambaIdmapEntry - object storing a mapping between a 
8051     SID and a UNIX uid/gid.  These objects are created by the 
8052     idmap_ldap module as needed.
8054   * sambaSidEntry - object representing a SID alone, as a Structural
8055     class on which to build the sambaIdmapEntry.
8057     
8058 New Suffix for Searching
8059 ------------------------
8060   
8061 The following new smb.conf parameters have been added to aid in directing
8062 certain LDAP queries when 'passdb backend = ldapsam://...' has been
8063 specified.
8065   * ldap suffix         - used to search for user and computer accounts
8066   * ldap user suffix    - used to store user accounts
8067   * ldap machine suffix - used to store machine trust accounts
8068   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
8069   * ldap idmap suffix   - location of sambaIdmapEntry objects
8071 If an 'ldap suffix' is defined, it will be appended to all of the 
8072 remaining sub-suffix parameters.  In this case, the order of the suffix
8073 listings in smb.conf is important.  Always place the 'ldap suffix' first
8074 in the list.  
8076 Due to a limitation in Samba's smb.conf parsing, you should not surround 
8077 the DN's with quotation marks.
8080 IdMap LDAP support
8081 ------------------
8083 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
8084 following options would inform Samba that the idmap table should be
8085 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
8086 dc=org" partition.
8088  [global]
8089     ...
8090     idmap backend     = ldap:ldap://onterose/
8091     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
8092     idmap uid         = 40000-50000
8093     idmap gid         = 40000-50000
8095 This configuration allows winbind installations on multiple servers to
8096 share a uid/gid number space, thus avoiding the interoperability problems
8097 with NFS that were present in Samba 2.2.
8098     
8101 ######################################################################
8102 Trust Relationships and a Samba Domain
8103 ######################################
8105 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
8106 allocating uids and gids to trusted users and groups.  More
8107 information regarding Samba's support for establishing trust 
8108 relationships can be found in the Samba-HOWTO-Collection included
8109 in the docs/ directory of this release.
8111 First create your Samba PDC and ensure that everything is 
8112 working correctly before moving on the trusts.
8114 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
8115 4.0 domain named WINDOWS:
8117   1) create the trust account for SAMBA in "User Manager for Domains"
8118   2) connect the trust from the Samba domain using
8119      'net rpc trustdom establish GLASS'
8121 To create a trustlationship with SAMBA as the trusted domain:
8123   1) create the initial trust account for GLASS using
8124      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
8125      account for GLASS$ prior to this step (depending on your
8126      local configuration).
8127   2) connect the trust from a WINDOWS DC using "User Manager
8128      for Domains"
8130 Now join winbindd on the Samba PDC to the SAMBA domain using
8131 the normal steps for adding a Samba server to an NT4 domain:
8132 (note that smbd & nmbd must be running at this point)
8134    root# net rpc join -U root
8135    Password: <enter root password from smbpasswd file here>
8137 Start winbindd and test the join with 'wbinfo -t'.
8139 Now test the trust relationship by connecting to the SAMBA DC
8140 (e.g. POGO) as a user from the WINDOWS domain:
8142    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
8143    Password:
8145 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
8147    $ smbclient //crystal/netlogon -U root -W WINDOWS
8148    Password:
8150 ######################################################################
8151 Changes in Winbind
8152 ##################
8154 Beginning with Samba3.0.0beta3, winbindd has been given new account
8155 manage functionality equivalent to the 'add user script' family of
8156 smb.conf parameters.  The idmap design has also been changed to 
8157 centralize control of foreign SID lookups and matching to UNIX 
8158 uids and gids.
8161 Brief Description of Changes
8162 ----------------------------
8164 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
8165    reverted to the 2.2.x design.  This means that when resolving a 
8166    SID to a UID or similar mapping:
8168         a) First consult winbindd
8169         b) perform a local lookup only if winbindd fails to
8170            return a successful answer
8172    There are some variations to this, but these two rules generally
8173    apply.
8175 2) All idmap lookups have been moved into winbindd.  This means that
8176    a server must run winbindd (and support NSS) in order to achieve
8177    any mappings of SID to dynamically allocated UNIX ids.  This was
8178    a conscious design choice.
8180 3) (OBSOLETE) New functions have been added to winbindd to emulate 
8181    the 'add user script' family of smbd functions without requiring 
8182    that external scripts be defined.  This functionality is controlled 
8183    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
8184    by default).
8186    However, this account management functionality is only supported 
8187    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
8188    must be shared among multiple Samba servers (such as a PDC and BDCs), 
8189    it will be necessary to define your own 'add user script', et. al.
8190    programs that place the accounts/groups in some form of directory
8191    such as NIS or LDAP.  This requirement was deemed beyond the scope
8192    of winbind's account management functions.  Solutions for 
8193    distributing UNIX system information have been deployed and tested 
8194    for many years.  We saw no need to reinvent the wheel.
8196 4) A member of a Samba controlled domain running winbindd is now able 
8197    to map domain users directly onto existing UNIX accounts while still
8198    automatically creating accounts for trusted users and groups.  This
8199    behavior is controlled by the 'winbind trusted domains only' smb.conf
8200    parameter (disabled by default to provide 2.2.x winbind behavior).
8202 5) Group mapping support is wrapped in the local_XX_to_XX() functions
8203    in smbd/uid.c.  The reason that group mappings are not included
8204    in winbindd is because the purpose of Samba's group map is to
8205    match any Windows SID with an existing UNIX group.  These UNIX
8206    groups can be created by winbindd (see next section), but the
8207    SID<->gid mapping is retreived by smbd, not winbindd.
8210 Examples
8211 --------
8213 * security = server running winbindd to allocate accounts on demand
8215 * Samba PDC running winbindd to handle the automatic creation of UNIX
8216   identities for machine trust accounts
8218 * Automtically creating UNIX user and groups when migrating a Windows NT
8219   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
8220   'net rpc vampire' for this to work.
8222    
8223 ######################################################################
8224 Known Issues
8225 ############
8227 * There are several bugs currently logged against the 3.0 codebase
8228   that affect the use of NT 4.0 GUI domain management tools when run
8229   against a Samba 3.0 PDC.  This bugs should be released in an early 
8230   3.0.x release.
8232 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
8233 filed against the Samba 3.0 codebase.
8236 ######################################################################
8237 Reporting bugs & Development Discussion
8238 #######################################
8240 Please discuss this release on the samba-technical mailing list or by
8241 joining the #samba-technical IRC channel on irc.freenode.net.
8243 If you do report problems then please try to send high quality
8244 feedback. If you don't provide vital information to help us track down
8245 the problem then you will probably be ignored.  
8247 A new bugzilla installation has been established to help support the 
8248 Samba 3.0 community of users.  This server, located at 
8249 https://bugzilla.samba.org/, has replaced the older jitterbug server 
8250 previously located at http://bugs.samba.org/.