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