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