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