r16528: Self-confidence is plummeting. How could one person goof
[Samba.git] / WHATSNEW.txt
blobc2dbee4e85a6b8b7ea29d5d58df66b83b3872329
1                    =================================
2                    Release Notes for Samba 3.0.23rc3
3                               Jun 23, 2006
4                    =================================
6 This is the third release candidate of the 3.0.23 code base 
7 and is provided for community testing purposes.  If all goes 
8 well, we hope that this will become the production 3.0.23 
9 release.  Your testing and feedback is greatly appreciated.
11 We would like to thank the developers of Klocwork for their 
12 analysis of the Samba source tree.  This release candidate 
13 includes fixes for over 170 defects reported by the Klocwork 
14 code analyzer.
16 Common issues addressed in 3.0.23rc3 include:
18    o Warnings from the Klocwork code analyzer.
19    o Various portability bugs on AIX, Solaris, and True64.
20    o Authorization problems when managing services.
21    o Problems joining Windows clients to a Samba/LDAP domain.
24 ######################################################################
25 Changes
26 #######
28 Changes since 3.0.23rc2
29 -----------------------
31 commits
32 -------
34 o   Jeremy Allison <jra@samba.org>
35     * Fixes for various Klocwork defect reports.
36     * Cleanup pdb_get_XXX() methods and ensure that a failure
37       to allocate memory for a samu user structure is reported 
38       as a failure to the calling function.
39     * Fix memleak in printing gencache contents.
40     * Fix warnings reported by gcc4 -O6 on 64-bit systems 
41     * Fix naming conflicts with 'net usershare' structures and 
42       Solaris header files.
43     * Fix memleaks on error paths from the ASN.1 parsing code.
44     * Add uid to share_mode_entry structure so we can report who 
45       opened the file.
48 o   Gerald (Jerry) Carter <jerry@samba.org>
49     * Fix 'make install' problem when building outside source/.
50     * Fix 'net ads join' when the workgroup is set incorrectly in 
51       smb.conf.
52     * Re-add code to include the BUILTIN\Administrators SID when
53       winbindd is not running, but the user's token includes the 
54       Domain Admin SID.  Fixes access problem for managing Services.
57 o   Guenther Deschner <gd@samba.org>
58     * Fix memleaks in winbindd ads searches.
59     * Fix timestamp bug in pam_winbindd which forced users to change
60       passwords prematurely.
61     * Small debug message cleanups.
62     * Small fixes for 'net ads password'.
63     * Add TCP fallback for our implementation of the CHANGEPW 
64       kpasswd calls.
65     * BUG 3843: Allow to set passwords directly when creating users 
66       via "net rpc user add" 
67     * Add "rpc shell" to the usage text for the net command.
68     * Winbindd user aliases lookup fixes for large domains.
69     * Fix memleak in the CLDAP processing code.
70     * Enable AD features in winbindd's PAM support only when 
71       communicating with an AD domain controller.
74 o   Bjoern Jacke <samba@j3e.de>.
75     * Fix DMAPI compile failures on AIX and True64.
76     * Fix AIX PIC suffix (use .o instead of .po).
79 o   Volker Lendecke <vl@samba.org>
80     * Fixes for various Klocwork defect reports.
81     * Fixes for various Coverity defect reports.
82     * BUG 3848: Fix WinXP join error in a Samba domain using ldapsam.
86 o   Derrell Lipman <derrell@samba.org>
87     [libsmbclient]
88     * BUG 3814: Only set the DFS capability flag in client requests
89       if the share is a DFS root.
92 o   Jason Mader <jason@ncac.gwu.edu>
93     * Compiler warning fixes.
96 o   James Peach <jpeach@sgi.com>
97     * Ensure smbclient always prompts on standard output when in
98       interactive mode.
99     * BUG 3801, 3805: Fix MIPSPro compiler warnings on IRIX.
102 o   Andreas Schwab
103     * Correct syntax error in aclocal.m4.
106 Release Notes for older release follow:
108       --------------------------------------------------
109                    =================================
110                    Release Notes for Samba 3.0.23rc2
111                               Jun 9, 2006
112                    =================================
114 Thanks very much to those people who spent time testing the RC1 
115 release and reported their findings.  We would like to especially 
116 thank Thomas Bork <tombork@web.de> for his numerous reports. 
117 We believe that RC2 is in much better shape in a large part due 
118 to his efforts.
120 We would also like to thank the developers of Klocwork for their
121 analysis of the Samba source tree.  This release candidate includes 
122 multiple fixes based on reports from the Klocwork code analyzer.
124 Common issues addressed in 3.0.23rc2 include:
126    o Winbindd & Samba PDC integration issues.
127    o Join problems from Windows clients in a Samba domain.
128    o Winbind & AD trust failures.
131 Group Mapping Changes
132 =====================
134 The default mapping entries for groups such as "Domain Admins"
135 are no longer created when using an smbpasswd file or a tdbsam passdb 
136 backend.  This means that it is necessary to use 'net groupmap add'
137 rather than 'net groupmap modify' to set these entries.  This change
138 has no effect on winbindd's IDmap functionality for domain groups.
142 ######################################################################
143 Changes
144 #######
146 Changes since 3.0.23rc1
147 -----------------------
149 commits
150 -------
152 o   Jeremy Allison <jra@samba.org>
153     * Ensure we use sys_write in password chats so we're not 
154       interrupted.
155     * Ensure all new rid allocation goes through the same pdb_ldap 
156       interface.
157     * BUG 3308: Stop us returning duplicate mid replies on path 
158       based set-EOF trans2 calls.
159     * Pass RAW-OPLOCK with kernel oplocks off.
160     * Fix bug in OS/2 Warp - it doesn't set the ff_last offset 
161       correctly when doing info level 1 directory scans.
162     * Add Samba4 replacement for timegm() to work on Solaris.
163     * Remove extra add-byte in the trans2 UNIX_BASIC infolevel.
166 o   Alexander Bokovoy <ab@samba.org>
167     * Fix absolute symlinks in the installbin.sh script.
170 o   Gerald (Jerry) Carter <jerry@samba.org>
171     * Only call the printer publishing calls if 'security = ads'.
174 o   Guenther Deschner <gd@samba.org>
175     * Set our internal domains to "online" by default in winbindd.
176     * BUG 3800: Fill the password_policy method in winbindd for 
177       winbindd_passdb.
178     * Fix memory leak when LDAP POSIX attribute queries fail.
179     * Honor the krb5 principal name change (of the new ads join code) 
180       in the kerberized winbind pam_auth.
181     * Correctly handle the case when there is no configuration file 
182       for pam_winbind.
183     * Adding "own-domain" switch to wbinfo which is handy from time 
184       to time.
185     * BUG 3823: Fix in-forest domain trust enumeration in winbindd.
186     * Fix winbindd group enumeration for groups with no members.
187     * Correct "net ads changetrustpw" to use the sAMAccountName.
188     * Fix winbindd in ADS domains by removing code using the 
189       UPN and rely upon the sAMAccountName.
190     * Fix a eDir related memory leak.
191     * Don't try to add the sn attribute twice to an LDAP 
192       inetOrgPerson + samSamAccount entry.
193     * Fix winbind function table typo.
196 o   Aleksey Fedoseev <fedoseev@ru.ibm.com>
197     * Fix parameter type for 'acl compatibility'.
200 o   Paul Green <paulg@samba.org>
201     * Properly rebuild time limit on systems with executable extensions.
204 o   Björn Jacke <samba@j3e.de>
205     * Fall back to less-preferred clocks until we find one that we 
206       can use if clock_gmtime() is not available at run-time.
209 o   Volker Lendecke <vl@samba.org>
210     * Fix more potential seg-faults when something on our way to a 
211       DC connection fails.
212     * Never fall back to using the IP address for a DC's name in RPC 
213       connections.
214     * Implement recycle:subdir_mode.
215     * Activate RPC-AUTHCONTEXT in "make test".
216     * Portability fixes for 'make test'.
217     * Correctly set the group RID in init_sam_from_buffer.
218     * Fix missing prompt in smbclient.
219     * Return correct error code upon success from _net_srv_pwset().
220     * Fix Windows XP joins to a Samba domain.
221     * Fix 'valid users = +unixgroup' which was failing with smbpasswd
222       when mapped to a non-algorithmic rid.
223     * Fix regression which upper-cased machine names passed to the
224       'add machine script'.
225     * Correct parsing error in parse_net.c for user's with no group
226       membership.
227     * Fix off by one error in client SPNEGO code and other klocwork
228       bug fixes.
231 o   Jason Mader <jason@ncac.gwu.edu>
232     * Compiler warning fixes.
235 o   John E. Malmberg <wb8tyw@qsl.net>
236     * Make smbldap obey config tests.
239 o   Jim McDonough <jmcd@us.ibm.com>
240     * Fixes for 'make test' on AIX.
243 o   Stefan Metzmacher <metze@samba.org>
244     * Add more tests to 'make test'.
245     * Try to make timelimit.c more portable.
248 o   James Peach <jpeach@sgi.com>
249     * Introduce command line options to set the remainder of the 
250       parameters in dynconfig.c.
251     * Avoid pulling in -lpthreads caused by -lrt.
252     * Fix build failures on IRIX 6.4 due to DMAPI support.
253     * Isolate the slow CLOCK_REALTIME message in the profiling code.
256 o   Aruna Prabakar <aruna.prabakar@hp.com>
257     * Show -W option in smbpasswd usage text.
260 o   Simo Sorce <idra@samba.org>
261     * Pam modules install fix.
262     * Allow "net changesecretpw" to accept a password via stdin.
265 o   Shlomi Yaakobovich <Shlomi@exanet.com>
266     * Fix for machine password time_t overflow.
270 Release Notes for older release follow:
272       --------------------------------------------------
273                    =================================
274                    Release Notes for Samba 3.0.23rc1
275                                May 24, 2006
276                    =================================
278 New features in 3.0.23rc1 include:
280    o Winbind IDMAP integration with RFC2307 schema objects 
281      supported by Windows 2003 R2.
282    o Rewritten 'net ads join' to mimic Windows XP without 
283      requiring administrative rights to join a domain.
286 ######################################################################
287 Changes
288 #######
290 Changes since 3.0.23pre1
291 ------------------------
293 smb.conf changes
294 ----------------
296     Parameter Name                      Description       Default
297     --------------                      -----------       -------
298     change notify timeout               Changed Scope
299     enable core files                   New               Yes
300     hosts equiv                         Removed
301     passdb expand explicit              Changed default   No
302     usershare allow guests              New               No
303     wins partners                       Removed
305 commits
306 -------
307 o   Jeremy Allison <jra@samba.org>
308     * BUG 3592: Ignore a file in the tar output from smbclient if the 
309       read failed (e.g. due to ACCESS_DENIED).  (Based on ideas from
310       Justin Best <justinb@pdxmission.org>).
311     * BUG 3668: Workaround issues in Windows server code with LARGE_READX.
312     * Push/Pull kerberos principal and realm names to/from UTF-8.
313     * Fix incorrect boolean in assert to make POSIX lock tests
314       pass with CIFSFS.
315     * Don't ever set O_SYNC on open unless "strict sync = yes".
316     * Remove dead printing code.
317     * Allow configurable guest access to Samba's usershare functionality.
318     * BUG 3587: Make byte-range locking tdb self-cleaning.
319     * Ensure every exit error path in the session setup code calls 
320       nt_status_squash().
321     * Use portable wrapper functions instead of seteuid directly in 
322       winbindd.
323     * Make "change notify timeout" a per-share parameter.
324     * Fix regression in SAMBA_4_0's smbtorture DENY tests.
325     * Fix valgrind-spotted issue in BASE-DELETE test.
326     * Fix early termination condition in winbindd when trying to 
327       connect to a remote DC.
328     * Instruct winbindd to ignore fd_set when select() returns -1.
329     * BUG 3779: Make nmbd udp sockets non-blocking to prevent problem
330       with select returning true but no data being available.
331     * Backport talloc_steal() fixes from SAMBA_4_0 (original fixes by 
332       Andrew Tridgell).
335 o   Timur Bakeyev <timur@com.bat.ru>
336     * BUG 2961: Fix compile warnings for pam_smbpass.
337     * BUG 2746, 3763: Fix compile warnings in pam_winbind.
340 o   Andrew Bartlett <abartlet@samba.org>
341     * Work around abort() in the OpenLDAP client libs caused by a NULL 
342       msg pointer.
345 o   Gerald (Jerry) Carter <jerry@samba.org>
346     * Normalize printing keys when deleting.
347     * Only store LANMAN passwords on a change if 'lanman auth = yes'.
348     * Look at the NT password (not lanman one) when determining if 'smbpasswd 
349       -e' should probably for a password.
350     * Default eventlog tdbs to mode 0660 to allow easier access by 
351       BUILTIN\Administrators.
352     * Remove extra call to create_user on member servers without winbindd.
353     * Replace the use of OpenLDAP's ldap_domain2hostlist() for locating 
354       AD DC's with out own DNS SRV queries.
355     * Fix compile error on HP-UX reported by Ryan Novosielski.
356     * Rewrite 'net ads join' to share common code with 'net rpc join' 
357       and behave more like a Windows XP client.
358     * Remove --with-ldapsam option from configure (only used for 
359       backwards compatibility for 2.2 smb.conf files).
360     * Remove 'wins partners' and 'hosts equiv' smb.conf parameters.
361     * Remove rhosts authentication module.
362     * Reimplement 'net ads leave' to disable the machine account in the 
363       domain rather than removing it.
366 o   Guenther Deschner <gd@samba.org>
367     [pam_winbind]
368     * Attempt to send the correct warning from pam_winbind when a password 
369       change was attempted too early.
370     * Don't use cached credentials when changing passwords.
371     * Correctly disallow unauthorized access when logging on with the
372       kerberized pam_winbind and workstation restrictions are in effect.
373     * Save useless round trips in pam_winbind's auth calls.
374     * Make the existence of the /etc/security/pam_winbind.conf file
375       non-critical and fallback to only parse the argv options in that 
376       case.
379     [winbindd]
380     * Add winbind debug class to the main winbindd process.
381     * Be consistent between rpc and ads winbind backend: let the 
382       ads backend query the samlogon cache first as well.
383     * Ignore BUILTIN groups when searching AD for group memberships.
384     * Fix KRB5KDC_ERR_POLICY -> NTSTATUS mapping.
385     * Cleanup credential caches from winbind's linked list.
386     * Fix 'winbindd -n' for new persistent caches.
387     * Fix searching by SID in winbindd.
388     * Add "smbcontrol winbind onlinestatus" for debugging purpose.
389     * Prefer to use the indexed objectCategory attribute (instead of
390       objectClass which is not indexed on AD) in LDAP queries.
391     * Free LDAP result in ads_get_attrname_by_oid().
392     * Prevent unnecessary storing of password in a WINBINDD_CCACHE_ENTRY.
393     * Prevent passwords of winbindd's list of credential caches from 
394       being swapped to disk using mlock().
395     * BUG 3345: Expand the "winbind nss info" to also take "rfc2307" to 
396       support the plain posix attributes LDAP schema from win2k3-r2
397       (based on patches from Howard Wilkinson and Bob Gautier).
398     * Add more robust code for fallback when lookup_usergroups() fails.
400     [misc]
401     * Fix 'net rpc join' for winbindd running on a Samba DC.
402     * Add help text for new 'net rpc audit' utility.
403     * Add net ads search SID.
404     * samrQueryDomainInfo level 5 should return the domain name, not our 
405       netbios name when we are a DC.
406     * Add some more client rpc for the querydominfo calls (from samba4 idl).
407     * Process all the supported info levels in the samr_query_domain_info2 
408       call.
409     * Wrap the samr_query_domain_info2() call around 
410       samr_query_domain_info().
411     * Fix segv in smbctool.
412     * Honour the time_offset also when verifying kerberos tickets.
413     * Prevent unnecessary longstanding LDAP connection to eDirectory.
414     * Fix segv in smbspool.
415     * BUG 1914: Allow to store 24 password history entries in ldapsam.
418 o   Aleksey Fedoseev <fedoseev@ru.ibm.com>
419     * Fixes for msgtest torture tool.
422 o   Paul Green <paulg@samba.org>
423     * Fix build on platforms that do not support shared libs.
424     * Remove dead code in the auth_script module. 
427 o   Deryck Hodge <deryck@samba.org>
428     * Fix import of python modules broken by the rpc_client rewrite
429       for 3.0.21.
430     * BUG 3702: Fix segv in SWAT.
431     * Fix 'make installswat'.
434 o   William Jojo <jojowil@hvcc.edu>
435     * Fixes for the winbind NSS library on AIX.
438 o   Leonid Kabanov <lkabanov@mail.ru> 
439     * BUG 3711: Shell portability fixes for 'make test'.
442 o   Volker Lendecke <vl@samba.org>
443     * Memory leak fixes in 'net sam'.
444     * BUG 3720: Fix uninitialized error return variable.
445     * Default "passdb expand explicit" to no.
446     * BUG 3741: Re-enable algorithmic SID mapping in one critical place.
447     * Fix user NT token creation when utilizing a username map.
448     * More coverity fixes.
449     * Fix a VUID bug in 'security = share'.
450     * Correctly fill in the gid for local users.
451     * Fix some warnings on True64.
452     * Add special close handling for fake files.
453     * BUG 3788: Fix nss_winbind's getgrouplist() call on AIX.
454     * BUG 3435: Fix 'msdfs root = yes' in [homes].
455     * Instruct winbindd to find a trusted DC on its own when running on 
456       a Samba DC.
457     * Fix segv in child winbindd processes caused by a failed tconX 
458       to the DC.
461 o   Jim McDonough <jmcd@us.ibm.com>
462     * Ensure we do a wildcard search for SID's starting with the global SAM 
463       sid, not an exact search (from John Janosik).
464     * Adapt smbclient fix to smbtree to enable long share names.
467 o   Stefan Metzmacher <metze@samba.org>
468     * Fix linking of smbmount tools with --enable-socket-wrapper.
469     * Pass 'target:samba3=yes' to samba4's smbtorture when running 
470       samba3's make test.
471     * Miscellaneous fixes for 'make test'.
474 o   Lars Müller <lmuelle@samba.org>
475     * Fix lock calls in the python tdb bindings.
478 o   James Peach <jpeach@sgi.com>
479     * Correct comparison logic so that libunwind can be correctly detected.
480     * Implement a "stacktrace" smbcontrol option using libunwind's remote
481       stack tracing support (ia64 only).
482     * Use dynamic buffers in the IRIX nsswitch module to prevent truncation
483       of long group lists.
484     * New autoconf macro to test for sysconf variables.
485     * Change profiling data macros to use stack variables rather than
486       globals. This catches mismatched start/end calls and removes
487       the need for special nested profiling calls.
488     * Rewrite AC_LIBTESTFUNC so that it works like the callers
489       of it expect.
490     * Use clock_gettime for profiling timstamps if it is available. Use
491       the fastest clock available on uniprocessors.
492     * Preserve errno in fcntl lock wrappers.
493     * Initialize our saved uid and gid so that we can tell when we 
494       created the profiling shmem segment and don't bogusly refuse to 
495       look at it.
496     * Add a new option "enable core files" which can be used to disable 
497       automatic core file dumping. 
498     * Update our internal copy of popt to that distributed with the RPM 
499       4.2 source code.
502 o   Tim Potter <tpot@samba.org>
503     * Build janitorial duties.
504     * BUG 3725: Put references to $PICFLAGS in quotes.
507 o   Simo Sorce <idra@samba.org>
508     * Implement 'net setdomainsid' command.
511 o   Ronan Waide <waider@waider.ie>
512     * Add 'wbinfo -i' functionality to exercise winbindd's getpwnam() 
513       functionality.
515       --------------------------------------------------
516                     ==================================
517                    Release Notes for Samba 3.0.23pre1
518                                Apr 22, 2006
519                    ==================================
521 New features introduced in 3.0.23pre1 include:
523   o New offline mode in winbindd.
524   o New kerberos support for pam_winbind.so.
525   o New handling of unmapped users and groups. 
526   o New non-root share management tools.
527   o Improved support for local and BUILTIN groups.
530 User and Group changes
531 ======================
533 The user and group internal management routines have been rewritten
534 to prevent overlaps of assigned Relative Identifiers (RIDs).  
535 In the past the has been a potential problem when either manually 
536 mapping Unix groups with the 'net groupmap' command or when 
537 migrating a Windows domain to a Samba domain using 'net rpc vampire'.
539 Unmapped users are now assigned a SID in the S-1-22-1 domain and
540 unmapped groups are assigned a SID in the S-1-22-2 domain.
541 Previously they were assign a RID within the SAM on the Samba 
542 server.  For a DC this would have been under the authority of 
543 the domain SID where as on a member server or standalone host,
544 this would have been under the authority of the local SAM 
545 (hint: net getlocalsid).
547 The result is that any unmapped users or groups on an upgraded 
548 Samba domain controller may be assigned a new SID.  Because the
549 SID rather than a name is stored in Windows security descriptors,
550 this can cause a user to no longer have access to a resource
551 for example if a file was copied from a Samba file server to
552 a local NTFS partition.  Any files stored on the Samba server 
553 itself will continue to be accessible because Unix stores the
554 Unix gid and not the SID for authorization checks.
556 A further example will help illustrate the change.  Assume 
557 that a group named 'developers' exists with a Unix gid of 
558 782 but this user does not exist in Samba's group mapping 
559 table. it would be perfectly normal for this group to be 
560 appear in an ACL editor.  Prior to 3.0.23, the group SID might 
561 appear as S-1-5-21-647511796-4126122067-3123570092-2565.
562 With 3.0.23, the group SID would be reported as S-1-22-2-782.
563 Any security descriptors associated with files stored on 
564 an NTFS disk partition would not allow access based on the 
565 group permissions if the user was not a member of the 
566 S-1-5-21-647511796-4126122067-3123570092-2565 group.
567 Because this group SID not reported in a user's token is 
568 S-1-22-2-782, Windows would fail the authorization check 
569 even though both SIDs in some respect referred to the same 
570 Unix group.
572 The current workaround is to create a manual domain group 
573 mapping entry for the group 'developers' to point at the 
574 S-1-5-21-647511796-4126122067-3123570092-2565 SID.
577 LDAP Changes
578 ============
580 There has also been a minor update the Samba LDAP schema file.
581 A substring matching rule has been added to the sambaSID attribute 
582 definition.  For OpenLDAP servers, this will require the addition 
583 of 'index sambaSID sub' to the slapd.conf configuration file.  It 
584 will be necessary to run slapindex after making this change.
585 There has been no change to actual data storage schema.
588 ######################################################################
589 Changes
590 #######
592 Changes since 3.0.21/22
593 -----------------------
595 smb.conf changes
596 ----------------
598     Parameter Name                      Description       Default
599     --------------                      -----------       -------
600     acl group control                   Deprecated        No
601     add port command                    New               ""
602     dmapi support                       New               No
603     dos filemode                        Modified          No
604     enable asu support                  Changed default   No
605     enable privileges                   Changed default   Yes
606     enable rid algorithm                Removed
607     fam change notify                   New               Yes
608     host msdfs                          Changed default   Yes
609     msdfs root                          Changed default   Yes
610     open files database hash size       New               10007
611     strict locking                      Changed default   auto
612     usershare max shares                New               0
613     usershare owner only                New               Yes
614     usershare path                      New               ${lockdir}
615     usershare prefix allow list         New               ""
616     usershare prefix deny list          New               ""
617     usershare template share            New               ""
618     winbind enum users                  Changed default   No
619     winbind enum groups                 Changed default   No
620     winbind nested groups               Changed default   Yes
621     winbind offline logon               New               No
622     winbind refresh tickets             New               No
623     winbind max idle children           Removed
626 commits
627 -------
628 o   Jeremy Allison <jra@samba.org>
629     * BUG 3467: Fix delete on close semantics needed by WinXP Media 
630       Center Ed. for simultaneous recording and playback (thanks to 
631       Jason Qian for the debugging assistance).
632     * BUG 3347: Save the Unix user token used to set the 
633       delete-on-close flag.
634     * Fix parsing of SAMR_Q_CONNECT_ANON.
635     * Add in support for userinfo26 structure and re-enable 
636       userinfo25 
637     * Schannel server fixes.  Fix the credentials chaining across 
638       \netlogon pipe disconnects.
639     * Replace ubqix code in nmbd with an internal tdb.
640     * Fix struct timespec checks in configure.in.
641     * Add in server support for the NetSamLogonEx().
642     * Add support for LsaLookupSids2() and LsaLookupSids3().
643     * Add LsaLookupNames[2-4]().
644     * Add support for 'net usershare'.
645     * BUG 3522: Fix error code return on SMBmkdir(foo) when foo 
646       already exists (thanks to Sandeep Tamhankar).
647     * BUG 3510: Fix 'net rpc join' against a server when 
648       schannel is disabled.
649     * Get rid of poor errno mapping table. Bounce through NTSTATUS 
650       instead.
651     * Check for SeMachineAccountPrivilege when deleting machine 
652       accounts.
653     * Fix a logic bug with multiple oplock contention.
654     * Add the replacements for opendir/readdir etc from SAMBA_4_0.
655       Attempt to fix the broken directory handling in the *BSD.
656     * Allow run time tuning of the locking tdb hash size for
657       very busy servers.
658     * BUG 3642: Ensure we don't call FD_SET on read with 
659       fd == -1.
660     * BUG 3569: Work around linear posix locking issue on AIX
661       which was causing high loads due to the tdb CLEAR_IF_FIRST
662       flag (based on work from William JoJo).
663     * Fix OS/2 directory delete bug found by kukks.
664     * Match the Windows 2003 NTLMSSP signature.
665     * Performance tuning work in core read & write file serving 
666       paths.
667     * Change default to 'strict locking' to better reflect 
668       real world clients.
669     * Fix error return on session setup. Ensure no data blob is 
670       added if the logon call failed so that Windows clients 
671       interpret the NT_STATUS code correctly.
672     * Teach Samba the difference between exclusive and batch 
673       oplocks.
674     * BUG 3592: Ignore a file in a smbtar output if the first 
675       read fails (inspired by Justin Best).
676     * BUG 3668: Workaround Windows bug with LARGE_READX where if 
677       you ask for exactly 64k bytes it returns 0.
680 o   Alexander Bokovoy <ab@samba.org>
681     * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
684 o   Max N. Boyarov <m.boyarov@sam-solutions.net>
685     * Fix crash bug in perfmon daemon example code.
688 o   Gerald (Jerry) Carter <jerry@samba.org>
689     * Rewrite of tdbsam file descriptor handling.
690     * Add server affinity support when selecting a remote 
691       domain controller.
692     * Remove chaining of passdb modules.
693     * Generate a local users primary group SID based on his 
694       or her primary Unix group rather than storing the attribute 
695       in the passdb entry.
696     * Default primary group SID to 'Domain Users' if the real Unix 
697       primary group maps to the S-1-22-2 domain.
698     * Refactor memory management in passdb user objects.
699     * RHEL and Fedora packaging fixes.
700     * Implement XcvDataPort() spooler call and supporting 'add 
701       port command'.
702     * BUG 3534: Ignore lines in the username map file with no right 
703       hand list.
704     * Add support for the experimental %(DomainSID) smb.conf 
705       variable.
706     * Add support for parsing SIDs in smb.conf value lists.
707     * Fix vuid allocation in Kerberos SMBsessetup reply. 
708     * Ensure that local group membership is included in the 
709       getgroups() NSS reply.
710     * Automatically create a BUILTIN\{Administrators,Users} if
711       winbindd is running.
712     * Automatically grant all privileges to members of the local 
713       Administrators group.
714     * Protect against NULL cli_state* pointers in 
715       cli_rpc_pipe_open().
716     * Add a SUBSTR matching rule the the Samba LDAP schema 
717       file for the sambaSID attribute.  This will allow for 
718       Searching group mapping entries within a given domain
719       without reorganizing the directory namespace.  Also 
720       requires 'index sambaSID sub' in slapd.conf.
721     * Fix parsing of 'idmap uid/gid' values that broke when
722       the range included any whitespace.
723     * Support renaming local groups (protect against renaming 
724       BUILTIN groups).
725     * Do not allow the root account to be deleted via MS-RPC.
726     * Fix RID allocation to skip over RIDs that resolve in our
727       own domain (work around upgraded users and groups).
728     * Store the name/ip address combination when we do a reverse 
729       look up in case future forward lookups would fail.
730       Fixes cases where a DC name could not be resolved via 
731       NetBIOS queries,
732     * Allow winbindd to run on standalone servers in order to
733       provide support for local groups.
734     * Deprecate 'acl group control' and replace it with added 
735       functionality to 'dos filemode'.
736     * Ensure that all global memory is freed from pam_winbind 
737       when unloading the shared library (based on work from Arkady 
738       Glabek).
739     * Fix 32-bit/64-bit portability issues between PAM & NSS winbind 
740       libraries and winbindd.
741     * Add defensive checks about create local accounts (i.e. calling
742       'add user script') on domain member servers when winbindd
743       is running but having problems.
746 o   Guenther Deschner <gd@samba.org>
747     * Enhancements to various commands in rpcclient 
748     * Don't force 'Administrator' to change an expired password on 
749       logon.
750     * Add support for offline mode in winbindd.
751     * Provide support in pam_winbind for initializing a user's 
752       ticket cache.
753     * Implement samr_chgpasswd_user3 server-side.
754     * Make pam_winbind more robust when detecting domain users.
755     * Add client side support for SAMR_GET_USRDOM_PWINFO.
756     * Re-enable strict checking on C++ reserved keywords since Heimdal 
757       0.7.2 has been released.
758     * Allow renaming of machine accounts in a Samba domain.
759     * BUG 3539: Let winbindd try to obtain the gecos field from 
760       the msSFU30Gecos attribute when "winbind nss info = sfu" is 
761       set. 
762     * Correctly handle acb_info/acct_flags as uint32 not as uint16.
763     * Return the real ACB-flags in the SamLogon() reply.
764     * Some client side cleanup for the samr set security object 
765       functions.
766     * Make sure we always reset the userAccountControl bits when 
767       re-joining (net ads join) with an existing account.
768     * Document some more MSV1_0 bits and their behavior.
769     * Only set the last rebind timestamp when we did rebind 
770       after a update LDAP operation to avoid the ldap replication 
771       sleep period.
772     * Fix incorrect error checking in winbindd for domains with 
773       no trusts.
774     * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3 
775       structure.
776     * Work around crash bug in MIT krb5 libs when reading a 
777       keytab file.  Stop trying to decrypt a ticket as soon as 
778       we have a clear indication that the ticket is bad.
779     * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
780     * Adding client side samr querygroup infolevels 2 & 5.
781     * Make smbpasswd -a root work for eDirectory where there 
782       is no "account" structural objectclass.
783     * Make sure we only send out a CLDAP request (net ads) to 
784       an connected AD server.
785     * Fix a broken LDAP search filter when looking for groups.
786     * Add in-tree version of iniparser library from 
787       http://ndevilla.free.fr/iniparser/ for use by pam_winbind
788       (rather than linking in loadparm.c).  Settings are now stored
789       in /etc/security/pam_winbind.conf.
792 o   Mathias Dietz <MDIETZ@de.ibm.com>
793     * EPERM can be a valid return from getting an xattr. 
794       Don't disable if we get it.
797 o   Aleksey Fedoseev <aleksey@fedoseev.net>
798     * Fix crash bug in the file locking code.
801 o   Arek Glabek <aglabek@centeris.com>
802     *  Fix parsing error on input parameters in eventlogadm.
805 o   Bjoern Jacke <bjacke@sernet.de>.
806     * Fix EA support on AIX platforms.
807     * Automatically disable file shares with no explicit path set.
808     * Remove the local hack to set the RO bit on directories in 
809       user profiles when profile acls = yes.  Rely on EAs instead.
810     * Compile fixes for Solaris LDAP client libs.
811     * Add DMAPI/XDSM support for AIX.
812     * Find JFS DMAPI libs on Linux when only they are available.
815 o   William Jojo <jojowil@hvcc.edu>
816     * Fix VFS builds on AIX platforms.
817     * Fixes for the AIX version of libnss_winbind.so
820 o   Volker Lendecke <vl@samba.org>
821     * Dynamically compute the maximum password age based no the 
822       last change time rather than reading the must change time 
823       from the passdb record.
824     * Rewrite mechanisms for handling lookup_{name,sid} resolution.
825     * Assign unmapped users to the S-1-22-1 domain and unmapped 
826       groups to the S-1-22-2 domain
827     * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
828     * Remove sql passdb backends.
829     * Implement rpccli_samr_set_domain_info()
830     * Add initial support for 'net sam' command.
831     * BUG 2413: Remove anonymous connections in 'net rpc info'.
832     * Implement asynchronous support for trans2 calls.
833     * Make smbclient -L use RPC to list shares, fall back to RAP.
834     * Ensure that the global SAM SID is initialized before any
835       dependent routines are called.
836     * Enhance consistency checks on local configuration when joining
837       a domain.
840 o   Derrell Lipman <derrell@samba.org>
841     [libsmbclient]
842     * Fix bug causing previous settings to be re-initialized 
843       when parsing new configuration files.
844     * BUG 3446: Don't ignore the authentication domain when parsing 
845       the SMB URI.
846     * Fix cli_setpathinfo() to actually do what it's supposed to.
847     * Fix libsmbclient to make correct use of the new "one connection
848       per server feature".
851 o   Jason Mader <jason@ncac.gwu.edu>
852     * Compiler warning fixes.
855 o   Jim McDonough <jmcd@us.ibm.com>
856     * Prevent machines and users with no home directory from 
857       getting the previous entries home path when migrating via 
858       'net rpc vampire' (based on a patch from Richard Renard).
859     * Remove hard-coded LDIF names when dumping a migrated 
860       domain's users and groups.
861     * BUG 1374: Can't join an OU with name that contains '#'.
864 o   Stefan Metzmacher <metze@samba.org>
865     * Add improved support for 'make test' including making 
866       use of smbtorture from SAMBA_4_0.
867     * Add --no-process-group to all server programs 
868       (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
869     * Add configure tests --with-selftest-prefix=/tmp/samba-test
872 o   Lars Müller <lmuelle@samba.org>
873     * Add -k switch to tdbdump for accessing a single key.
874     * Debian packaging fixes.
875     * Add -t|--password-from-stdin option to pdbedit as we had 
876       with Samba 2.2.
877     * Various minor fixes to install scripts used by 'make install'.
880 o   James Peach <jpeach@sgi.com>
881     * Add support for FAM for file change notification.
882     * Disable sendfile if the 'write cache;' has been enabled.
883     * Refactor capability interface from being IRIX-specific to 
884       using only the POSIX interface.
885     * Consolidate core dumping code to aid in debugging.
886     * Add support for libunwind to generating a backtrace.
887     * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
888       and --without-ads are specified.
889     * Allow the user to set winbind nss timeouts in seconds on IRIX.
890     * Set the FILE_STATUS_OFFLINE bit by observing the events 
891       a DMAPI-based HSM is interested in.
894 o   Simo Sorce <idra@samba.org>
895     * Ensure that sid -> group conversion are done as root.
896     * BUG 3413: Sanity check for existence of 'ldap admin 
897       dn' before setting a password in secrets.tdb (based on
898       work by William Jojo).
899     * New revision of the snprintf replace code.
902 o   ISHIKAWA Tomonori <toishika@fsi.co.jp>
903     * BUG 2715: Fix nmbd datagram comment buffer size for multibyte 
904       character strings
907       --------------------------------------------------
908                    ==============================
909                    Release Notes for Samba 3.0.22
910                             Mar 30, 2006
911                    ==============================
913 This is a security release of Samba. The Samba 3.0.21 release 
914 series (including the patch releases a through c) has been 
915 discovered to expose the clear text of the server's machine 
916 account credentials in the winbind log files when the log 
917 level is set to 5 or higher.  This defect has been assigned 
918 the CVE number CAN-2006-1059.
920 Summary
921 =======
923 The machine trust account password is the secret shared
924 between a domain controller and a specific member server.
925 Access to the member server machine credentials allows
926 an attacker to impersonate the server in the domain and 
927 gain access to additional information regarding domain 
928 users and groups.
930 The winbindd daemon included in Samba 3.0.21 and subsequent
931 patch releases (3.0.21a-c) writes the clear text of server's
932 machine credentials to its log file at level 5.  The winbindd
933 log files are world readable by default and often log files
934 are requested on open mailing lists as tools used to debug
935 server misconfigurations.
937 This affects servers configured to use domain or ads security
938 and possibly Samba domain controllers as well (if configured
939 to use winbindd).
941 =======
943       --------------------------------------------------
945                    ===============================
946                    Release Notes for Samba 3.0.21c
947                               Feb 24, 2006
948                    ===============================
950 Common bugs fixed in 3.0.21c include:
952   o Access checks when deleting printer driver meta-data.
953   o Several non-default combinations schannel and SPNEGO support.
954   o Password changes with NT4 and Win2k pre-SP4 clients.
955   o High load issues on IRIX caused by a bug when interfacing 
956     with kernel oplocks.
959 ######################################################################
960 Changes
961 #######
963 Changes since 3.0.21b
964 ---------------------
966 commits
967 -------
968 o   Michael Adam <ma@SerNet.DE>
969     * Add popt to the include path for examples/VFS.
972 o   Jeremy Allison <jra@samba.org>
973     * Fix bug in the USC2 macros on big-endian CPUs.
974     * Filter deleted oplocks from the output of smbstatus.
975     * Remove invalid test check_for_pipe().
976     * BUG 3515: Fix kernel oplock support on IRIX.
977     * BUG 3522: Fix return value for mkdir request when the directory
978       already exists.
979     * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna 
980       Vinschen).
981     * BUG 3330: Fix username parsing in Kerberos PAC (based on work 
982       by Guenther).
983     * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto" 
984       resulting in a client disconnect after negprot.
985     * BUG 3510: Fix 'net join' against a server with client schannel 
986       disabled.
987     * Fix negprot bug causing a 2k client with cached domain 
988       credentials to refuse to connect to a standalone Samba host.
989     * Ensure that the correct error is checked when encountering a 
990       socket error (fixes crashes in winbindd).
993 o   Andrew Bartlett <abartlet@samba.org>
994     * Fix domain joins from NT4 clients and password changes.
997 o   Richard Bollinger <rabollinger@gmail.com>.
998     * Compile fix in pdbedit.
1001 o   Gerald (Jerry) Carter <jerry@samba.org>
1002     * Break RHEL/Fedora packaging out to include a samba-docs rpm.
1003     * Remove use of /var/cache/samba from RHEL/Fedora packaging.
1004     * Fix bug in loadparm.c that caused builtin services to be also
1005       listed as external services (e.g. Spooler, NETLOGON, etc..).
1006     * Fix bug in the samr dispinfo enumeration code.
1007     * Add earlier checks to deny deleting a printer driver meta-data.
1010 o   Guenther Deschner <gd@samba.org>
1011     * Add Account Policy LDAP attributes for eDirectory schema.
1014 o   William JoJo <jojowil@hvcc.edu>
1015     * BUG 1870: Make nmblookup do a node status on all IP's when 
1016       requested.
1017     * BUG 2353: Fix clitar -F processing.
1020 o   Volker Lendecke <vl@samba.org>
1021     * Fix the build for --with-aio-support.
1022     * Fix remote password changing if password must change is set.
1023     * Fix rpcclient to obey the -W parameter.
1024     * Fix segv in smbmount and the profiles tool.
1025     * Fix typo in pdbedit help text (reported by Karolin Seeger).
1028 o   Vladimir Lettiev
1029     * Honour the $(DESTDIR) Makefile variable when installing 
1030       Python extensions.
1033 o   Jason Mader <jason@ncac.gwu.edu>
1034     * Compiler warning fixes.
1037 o   Lars Müller <lmuelle@samba.org>
1038     * Fix python build with older python versions.
1039     * Update dhcp.conf files in Debian packaging
1040     * SWAT welcome file updates
1041     * Compiler warning fixes.
1042     * Add .2 to the SONAME as version suffix if we link the nss 
1043       modules on linux.
1044     * Add -t|--password-from-stdin option to pdbedit.
1047 o   James Peach <jpeach@sgi.com>
1048     * Continue not enabling valgrind on 64-bit Linux.
1051 o   Tim Potter <tpot@samba.org>
1052     * Remove unused #defines.
1055 o   Simo Sorce <idra@samba.org>
1056     * Debian packaging updates.
1059 o   Qiao Yang <qyang@stbernard.com>
1060     * Make sure to refresh the timestamp on entries in the failed 
1061       connection code in winbindd.
1064       --------------------------------------------------
1065                    ===============================
1066                    Release Notes for Samba 3.0.21b
1067                               Jan 30, 2006
1068                    ===============================
1070 Common bugs fixed in 3.0.21b include:
1072   o Server crashes in smbd.
1073   o Compile issues on 64-bit platforms.
1074   o Crash bugs on big-endian systems.
1075   o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
1076   o Over 30 bugzilla reports closed.
1079 ######################################################################
1080 Changes
1081 #######
1083 Changes since 3.0.21a
1084 ---------------------
1086 commits
1087 -------
1088 o   Jeremy Allison <jra@samba.org>
1089     * Fix the SAMR cache across handles opens and closes.
1090     * Re-add the talloc_describe_all() function for reporting pool 
1091       usage.
1092     * Merge talloc license change from Samba 4.
1093     * Fix 64-bit compile warnings reported by gcc.
1094     * Add the share path into the sharemode db. 
1095     * Consistency fixes: Remove use of uint8_t -> uint8.
1096     * BUG 3346: Fix crash bug in big-endian boxes by linearizing 
1097       structure when passing through the messaging API.
1098     * BUG 3421: Fix segv in the kerberos key tab code (Thanks to 
1099       Luke Deller).
1100     * Force smbd to exit if the guest account internal setup fails.
1101     * BUG 3419: vfs_full_audit fixes for multiple connections.
1102     * Ensure SWAT lists running processes.
1103     * Fix NTLMv2 interoperability bug between Samba servers.
1104     * Oplock break logic fixes.
1107 o   Andrew Bartlett <abartlet@samba.org>
1108     * BUG 3401: Fix crash bug caused by incorrect handling of weak 
1109       session keys.  Based on original patch from Yau Lam Yiu.
1112 o   Alexander Bokovoy <ab@samba.org>
1113     * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from 
1114       Samba TNG code).
1117 o   Stefan Burkei <stefan@burkei.de>
1118     * BUG 3248: When doing auth_crap authentication use the client 
1119       given workstation name not our own.
1122 o   Gerald (Jerry) Carter <jerry@samba.org>
1123     * Fixing net rpc registry enumerate from overwriting the open 
1124       subkey handle.
1125     * BUG 3380: fix crash when changing printer drivers.
1126     * BUG 3391: ensure we can lookup account policies for failed 
1127       logons.
1128     * Adding query/set ops for security descriptors on services.
1129     * BUG 3329: Solaris packaging fixes.
1130     * Better formatting for smbstatus output (based on patch from
1131       Adam Neilson).
1132     * Hook the max connections spin box in the share properties 
1133       MMC plug-in dialog to the 'max connections' smb.conf parameter
1134       and the 'modify share command' option.
1135     * Work around building libnss_winbind.so on Solaris when 
1136       --enable-developer is specified.
1137     * Add vendor patch level string to VERSION.
1138     * Consolidate packaging for RHEL4 and Fedora based on initial
1139       work by jht.  
1142 o   Albert Chin <@thewrittenword.com>
1143     * BUG 3374: Build failures on True64.
1146 o   Guenther Deschner <gd@samba.org>
1147     * Fill in samr_get_dom_pwinfo based on Samba4.
1148     * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
1149     * Fixes for adssearch.pl example script.
1150     * Prevent 'net rpc' from dumping clear text password at high log 
1151       levels unless built with DEBUG_PASSWORD.
1152     * Fix 'net ads user add' with a Windows 2003 SP1 DC.
1153     * Fix python build.
1154     * Fix segfault in pdb_nds.c.
1155     * Don't write null sid mappings into the winbindd_cache.tdb.
1156     * Save sid_to_name lookup result in winbindd already after doing 
1157       a successful name_to_sid.
1158     * BUG 3390: Fix segfault in "net rpc vampire|samdump".
1159     * BUG 1524, 3205: Support changing expired passwords in 
1160       pam_winbindd.
1161     * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
1162     * BUG 3264: Allow idmap_ad to load as 'ad'.  Cleanup the way 
1163       idmap modules are build and loaded, idmap_rid now will have 
1164       to be loaded without prefix, just "rid".
1165     * Prevent cli_krb5_get_ticket of getting into an infinite loop. 
1168 o   Andrew Esh <Andrew_Esh@adaptec.com>
1169     * BUG 1061: Fix nmbd to correctly the path to an lmhosts files 
1170       specified on the command line with -H.
1173 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
1174     * End profile fixes.
1175     * BUG 3348: Don't assume owning sticky bit directory means 
1176       write access allowed.
1177     * Fix double free in on failure path in POSIX acl code.
1180 o   Andriy Gapon <avg@icyb.net.ua>
1181     * BUG 3458: Fix crash bug in smbd and winbindd caused by 
1182       accessing freed memory.
1185 o   Björn Jacke <bj@sernet.de>
1186     * Configure check for Tru64 EA functions (not yet implemented).
1187     * Find Tru64 AIO lib in configure.
1188     * Cut-n-paste fixes in configure.in.
1191 o   John Janosik <jpjanosi@us.ibm.com>
1192     * IBM Tivoli Directory Server schema updates.
1195 o   Michael James <michael@james.st>
1196     * sid2string fix in adssearch.pl.
1199 o   William JoJo <jojowil@hvcc.edu>
1200     * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
1201     * BUG 3389: Failures on AIX in linking smbd when the symbol 
1202       table for ld exceeds 65536 bytes.
1203     * Add -W to smbpassword so that the ldap admin dn password does
1204       not have to be specified on the command line.
1205     * BUG 3408: Fix for external password change programs on AIX.
1206     * BUG 1779: 64-bit compile fixes.
1209 o   Martin Koeppe <mkoeppe@gmx.de>
1210     * BUG 3287: Match SFU behavior for dev/inode numbers.
1213 o   Volker Lendecke <vl@samba.org>
1214     * BUG 3291: Fix valgrind error in client connection code.
1215     * BUG 3292: Prevent smbclient from spinning if server terminates
1216       connection.
1217     * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient 
1218       connection alive smbclient.
1219     * Add lookupname to rpcclient query_user as a fallback, we now 
1220       accept both rid and username.
1221     * Introduce yet another copy of the string_sub function: 
1222       talloc_string_sub use by AFS token code in winbindd.
1223     * BUG 3351: pdb_mysql again overwrites password fields.
1224     * BUG 3384: Fix segv in tdbtool.
1225     * Use the same CFLAGS for generating the pch as we use to 
1226       actually compile.
1227     * Correct typo when compiling the vfs_catia module.
1228     * Fix automatic recreation of a new tdb sam file.
1231 o   Derrell Lipman <derrell@samba.org>
1232     [libsmbclient]
1233     * Fix parsing of file times (w_time and m_time were reversed).
1234     * Add additional libsmbclient test programs.
1235     * BUG 3336: Load networks interfaces in libsmbcliebt after parsing 
1236       the configuration files.
1237     * Avoid doing a NetBIOS name query for each server and workgroup 
1238       enumeration call.
1239     * Do not open connection when only looking for cached connection.
1240     * BUG 2651: Add option to log debug messages to stderr instead 
1241       of stdout.
1242     * Added flag to not request authentication information.
1243     * Enhancements to smbwrapper example code.
1244     * Replace smbwrapper call to dlopen(/lib/libc...) with direct 
1245       use of RTLD_NEXT.
1248 o   David May <mayd@cygnus.uwa.edu.au>
1249     * BUG 3329: Shell scripting portability fixes on 'make test'.
1252 o   Tony Mountifield <tony@softins.co.uk>
1253     * BUG 3327: fix bad access to gencache.tdb after fork() in 
1254       smbmount.
1257 o   Lars Müller <lmuelle@samba.org>
1258     * BUG 3264: Support backwards compatible setups using 
1259       'idmap backend = idmap_rid'.
1260     * Add %w macro for the winbind separator.
1261     * Convert net command to use stderr for error messages rather 
1262       than stdout.
1265 o   James Peach <jpeach@sgi.com>
1266     * Portability fixes in LDAP code.  Don't use non-static array 
1267       initializers.
1268     * Support the TCP_FASTACK socket option if it is available. 
1269     * Tell the MIPSPro compiler to push DEBUG calls out of line.
1272 o   Makr Proehl <m.proehl@science-computing.de>
1273     * BUG 1336: Print the server role when calling testparm in 
1274       non-verbose mode.
1277 o   Simo Sorce <idra@samba.org>
1278     * Crackcheck utility enhancement based on patch sent by 
1279       Tom Geissler.
1280     * BUG 3405: Fix segv in vfs_recycle module on platforms wither 
1281       mode_t is not 32-bits.
1284 o   John Terpstra <jht@samba.org>
1285     * RHEL/Fedora spec file patches.
1288       --------------------------------------------------
1289                    ===============================
1290                    Release Notes for Samba 3.0.21a
1291                               Dec 30, 2005
1292                    ===============================
1294 Common bugs fixed in 3.0.21a include:
1296   o Deadlocks when multiple users access an oplocked file 
1297     concurrently
1300 ######################################################################
1301 Changes
1302 #######
1304 Changes since 3.0.21
1305 --------------------
1307 commits
1308 -------
1309 o   Gerald (Jerry) Carter <jerry@samba.org>
1310     * RedHat 9 packaging Fixes.
1313 o   Guenther Deschner <gd@samba.org>
1314     * eDirectory schema syntax fixes.
1317 o   Volker Lendecke <vl@samba.org>
1318     * BUG 3349: Deadlock caused logic error in oplock code.
1320       --------------------------------------------------
1321                    ==============================
1322                    Release Notes for Samba 3.0.21
1323                             Dec 20, 2005
1324                    ==============================
1326 Common bugs fixed in 3.0.21 include:
1328   o Missing groups in a user's token when logging in via kerberos
1329   o Incompatibilities with newer MS Windows hotfixes and 
1330     embedded OS platforms
1331   o Portability and crash bugs.
1332   o Performance issues in winbindd.
1334 New features introduced in Samba 3.0.21 include:
1336   o Complete NTLMv2 support by consolidating authentication
1337     mechanism used at the CIFS and RPC layers.
1338   o The capability to manage Unix services using the Win32 
1339     Service Control API.
1340   o The capability to view external Unix log files via the
1341     Microsoft Event Viewer.
1342   o New libmsrpc share library for application developers.
1343   o Rewrite of CIFS oplock implementation.
1344   o Performance Counter external daemon.
1345   o Winbindd auto-detection query methods when communicating with
1346     a domain controller.
1347   o The ability to enumerate long share names in libsmbclient 
1348     applications.
1351 ######################################################################
1352 Changes
1353 #######
1355 smb.conf changes
1356 ----------------
1358     Parameter Name                      Action
1359     --------------                      ------
1360     dfree cache time                    New
1361     dfree command                       Per share
1362     eventlog list                       New
1363     iprint server                       New
1364     map read only                       New
1365     passdb expand explicit              New
1366     rename user script                  New
1367     reset on zero vc                    New
1368     svcctl list                         Renamed from 'enable svcctl'
1372 Changes since 3.0.20b
1373 ---------------------
1375 o   Jeremy Allison <jra@samba.org>
1376     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
1377     * Added 'map readonly' parameter.
1378     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
1379       not defined.
1380     * Maintain schannel client session keys in volatile 
1381       $(privatedir)/schannel_store.tdb.
1382     * BUG 2769: Ensure we mangle filenames ending in a space
1383     * Catch corner case of renaming a symlinked directory into 
1384       itself
1385     * Ensure that smb.conf requests for hidden files are honored, 
1386       even when DOS attributes are stored in EA's
1387     * Add new auth method "auth_script" for calling an external 
1388       program
1389     * BUG 2152: Fix for mangled filenames when the client does 
1390       support long filenames
1391     * Rewritten implementation of client and server DCE/RPC infrastructure 
1392     * BUG 3192: Adds a "dfree cache time" parameter.
1393     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
1394       the S_IWGRP mask in the absence of a POSIX ACL.
1395     * Remove use of 'long long' in libsmbclient code.
1396     * Ensure the new canonicalize_servicename() in name/snum hash 
1397       is multi-byte safe.
1398     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
1399       Bakeyev.
1400     * BUG 3216: Put directory opens into the share mode db so we 
1401       can treat them similarly to file opens (delete on close, 
1402       share mode violations etc.).
1403     * Fix bug in name mangling code when case sensitivity is enabled.
1404     * Remove external dependencies from the sharemodes library.
1405     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
1406     * Don't misinterpret wild card characters in file names on disk
1407       as they are actually valid characters.
1408     * BUG 3223: Fix bug in account policy management when 
1409       account_pol.tdb settings have been migrating to an LDAP 
1410       backend.
1411     * Allow the hash size of the tdb open (locking) database to be 
1412       set in local.h.
1413     * Fix error code returns on client spoolss code.
1414     * Remove unneeded strncpy use.
1415     * Fix uninitialized variables warnings.
1416     * Cleanup smbcacls security descriptor parsing and error codes.
1417     * BUG 3224: Correctly use machine_account_name and client_name 
1418       when doing netlogon credential setup.  Fixes winbindd running 
1419       on a Samba PDC.
1420     * Backport Samba 4 time zone handling.
1421     * Fix core dump if setmntent() returns NULL.
1422     * Replace old crc32 code with one from the FreeBSD tree.
1423     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
1424     * Remove #define of close -> close_fn macro in libsmbclient.
1425     * Return early if -1 returned from *BSD EA call (reported by 
1426       Timur).
1427     * Name space cleanup by marking local functions static.
1428     * Move samr enumeration cache from per handle basis to a shared 
1429       cache.
1430     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
1431       OS/2 servers (based on patch from Guenter Kukkukk).
1432     * Ensure default applies to new files (reported by Thomas 
1433       Neumann).
1434     * BUG 3293: Use SMBecho to testing the server in client rather 
1435       than SMBchkpath.
1436     * Merge talloc fixes from Samba 4 branch.
1437     * Add support DCE/RPC cancel operation.
1438     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
1439       when using EA for DOS attributes.
1440     * Fix bug in returning remote time (reported by Thomas Bork).
1441     * No users or groups to return in BUILTIN domain.
1442     * Removed separate "builtin" search enumeration.
1443     * Added count_sam_aliases to return the correct alias count.
1444     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
1445       eDirectory when accessing the universal password.
1446     * Fix deadlock condition in share mode locking code.
1447     * Fix logic bug in unix_mask_match().
1448     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
1452 o   Rashid N. Achilov <shelton@granch.ru>
1453     * Add better service description names to the svcctl code.
1456 o   Timur Bakeyev <timur@com.bat.ru>
1457     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
1460 o   Andrew Bartlett <abartlet@samba.org>
1461     * Remove another ancient NTLMSSP implementation.
1462     * Allow machine account logons work if the client gives the 
1463       appropriate flags. 
1466 o   Alexander Bokovoy <ab@samba.org>
1467     * Add POSIX statvfs() to VFS api.
1470 o   Gerald (Jerry) Carter <jerry@samba.org>
1471     * Eventlog and ServiceControl support.
1472     * BUG 1051: store the directory path so we can send the full 
1473       name in the unlink call from smbclient.
1474     * Use reference count strategy for keeping the registry tdb 
1475       open.
1476     * Convert internal registry objects to new hierarchical talloc
1477     * Allow the root user a free pass for access checks in the
1478       registry and service control checks.
1479     * Sanity checks in the privilege code to prevent empty SID 
1480       entries
1481     * Add basic infrastructure for 'make test' when the socket 
1482       wrapper library is configured at compile time
1483     * Convert profiles utility to use the current regfio interface 
1484       for reading and writing user profiles
1485     * Remove netsamlogon_cache interface
1486     * Ensure that print jobs are removed even when the cancel 
1487       command is received before the print cache has been updated
1488     * Fix linking problem on Solaris when including ACL support.
1489     * Give root a free pass to open the eventlog tdb files.
1490     * Fix segfault in addprinter due to mixing talloc() and 
1491       malloc()'d memory.
1492     * fix invalid read reported by valgrind in the spoolss 
1493       backchannel connection.
1494     * Remove use of 'long long' in perfcounter registry code.
1495     * BUG 3201: make sure request structure is cleared prior to 
1496       sending the request to winbindd.
1497     * Don't count open pipes in the num_files_open on a connection
1498       (regression from Samba 2.2).
1499     * Ensure servername hashing code normalizes the name.
1500     * Fix checks for connect() in -lnsl[_s].
1501     * Convert eventlog API to use NTSTATUS return codes rather 
1502       than WERROR.
1503     * Fix segv in winbindd caused by an uninitialized variable 
1504       in winbindd_dual_getsidaliases().
1505     * Allow winbindd to select the appropriate backend methods
1506       based on the DC attributes and not the security parameter.
1507     * Re-add the netsamlogon_cache tdb and ensure that user entries
1508       are updated from the PAC data during kerberos ticket 
1509       validation.
1510     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
1511       by mangling machine names in sub_set_smb_name().
1512     * Add smbget to the list of tools built by default.
1513     * Fix clearing of eventlog tdb files.
1514     * Fix sequential reads in eventlog support.
1515     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
1516       is Win9x.
1517     * Fix build issues with the Sun compiler.
1518     * BUG 3156: Don't use find_service() when explicitly looking 
1519       for a printer.
1520     * Fix nss_winbind_solaris.c build breakage on HP-UX.
1521     * Initialize the local group description.
1522     * Disable WINS and NetLogon services in the MMC services
1523       plugin when the associated smb.conf features are not enabled.
1524     * Add checks for invalid characters in new share names on the 
1525       srvsvc pipe.
1526     * Fix SWAT installation issues with 'make install'.
1527     * Always add the BUILTIN\Administrators SID to a Domain 
1528       Admins token.
1531 o   Alex Deiter <tiamat@komi.mts.ru>
1532     * BUG 3196: Patch to compile against the Sun LDAP client libs.
1533       (not for AD support; just ldap support).
1536 o   Guenther Deschner <gd@samba.org>
1537     * Fixed compile problems and warnings with newer OpenLDAP 
1538       and OpenSSL libs
1539     * Fix bug when enumerating trusted domains via 'wbinfo -m'
1540     * Parse the MS Kerberos PAC to obtain the user group 
1541       membership during logon.
1542     * Add support for SeRestorePrivilege to allow a process to 
1543       change the ownership of a file to any arbitrary account
1544     * Fix password history storage when using Novell eDirectory for 
1545       ldapsam storage
1546     * Backport Kerberos PAC parsing from Samba 4 branch in order to
1547       correctly create the NT User Token when logging into a Samba 
1548       member server
1549     * Add small helper function to return a PAC_LOGON_INFO.
1550     * Use LDAP bitwise matching rule when searching for groups 
1551       in ADS.
1552     * Avoid an infinite loop when retrying to connect in smbspool.
1553     * Memory leak fixes in the kerberos PAC parsing code.
1554     * Improve NT_STATUS error messages returned from pam_winbind.
1555     * Rename unknown samr group fields in samr structures with 
1556       the correct name.removed separate "builtin" search enumeration.
1557     * Cleanup redundant StartTLS code.
1558     * Allow StartTLS support when connecting to Windows 2003 by
1559       setting 'ldap ssl = start_tls'.
1560     * Support raw NTLMSSP session setups in smbspool.
1561     * Add rpccli_samr_chgpasswd3().
1562     * Add 'wbinfo --separator'.
1563     * Uninitialized warnings fixes.
1564     * Fix return value in client spooler code.
1565     * Require forced migration of account policies.  
1568 o   Steve French <sfrench@us.ibm.com>
1569     * Fix cifs to handle non-numeric uid and gid parameters.
1570     * Merge trunk and SAMBA_3_0 mount.cifs code.
1571     * Cleanup cifs cfs help message.
1574 o   Paul Green <paulg@samba.org>
1575     * Update to the latest config.guess and config.sub files.
1578 o   Deryck Hodge <deryck@samba.org>
1579     * Allow control of syslog facility and level in audit vfs modules.
1582 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1583     * Patches for Fedora RPM specfile and init script
1586 o   Krishna Ganugapati <krishnag@centeris.com>
1587     * Use the subtree delete ldap control when running 'net ads 
1588       leave'.
1591 o   Volker Lendecke <vl@samba.org>
1592     * New oplock implementation.
1593     * Add assert() call if winbindd cannot locate the domain SID in 
1594       secrets.tdb on startup
1595     * Fix an annoying timeout in winbindd when nmbd is not running.
1596     * Speed up loading smb.conf for large numbers of share 
1597       definitions by adding an internal hashing of names to snums. 
1598       Thanks to Michael Adam.
1599     * Fix potential segv in rpcclient's lsarpc calls.
1600     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
1601     * Fix alignment in getdc response.
1602     * Allow pdbedit to set the domain for a user account.
1603     * Fix fallback logic in rpc binds.
1604     * Fix memleak in message handling code.
1605     * Fix connection bug to port 445 and 139 after a successful 
1606       getdcname response.
1607     * Add additional calls to initialize_krb5_error_table() for 
1608       kerberos client code.
1609     * Implement the possibility to have AFS users as SIDs in pts.
1610     * Removed unused alternative_name code from winbindd.
1611     * Protect against NULL alternative_name strings in winbindd.
1612     * Define a default panic action with -DEVELOPER is defined.
1613     * Add the capability to reset smbd connections on a zero VC id.
1614     * Allow smb.conf variable expansion to be disabled in passdb 
1615       backends.
1616     * Add lookupname to rpcclient query_user as a fallback.
1617     * BUG 3292: Prevent smbclient from spinning when the server 
1618       disconnects.
1619     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
1620     * Add samr_lookup_rids for the builtin domain.
1621     * Memory allocation cleanups in passdb.
1622     * Restrict samr_open_domain() to our domain only.
1623     * Change local_lookup_sid() to local_lookup_rid() since it 
1624       is responsible for our domain only.
1625     * Fix some uninitialized variable warnings.
1626     * Fix winbind_lookup_name for the local domain, 
1629 o   Derrell Lipman <derrell@samba.org>
1630     * Cleanup libmsrpc version numbers.
1631     * BUG 3257, 3267, 3273: Plug memory and file descriptor leaks.    
1632     * Fix crash bug in libsmbclient.
1633     * Add long share name support to libsmbclient when enumerating 
1634       shares.
1637 o   Jason Mader <jason@ncac.gwu.edu>
1638     * Removed compiler various warnings.
1641 o   Alex Masterov <alex@infobit.ru>
1642     * BUG 3218: Fix XATTR calls on *BSD systems.
1645 o   Jim McDonough <jmcd@us.ibm.com>
1646     * Speed up string_to_sid by removing next_token calls and 
1647       unneeded strncmp() calls.
1648     * Implement user rename for smbpasswd and LDAP backends.
1649     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
1650     * BUG 3187: Fix time zone offset in logon hours restrictions.
1653 o   Stefan Metzmacher <metze@samba.org>
1654     * Fix setting of quotas on linux kernel with the struct 
1655       if_dqblk interface
1656     * Enable sysquota interface on Linux by default
1657     * Use lp_socket_address() when binding to port 138/udp in nmbd.
1660 o   Brian Moran <bmoran@centeris.com>
1661     * Eventlog and ServiceControl support.
1662     * Added eventlogadm tool for writing Eventlog records.
1663     * Fix typo when creating Eventlog source DLL registry paths.
1664     * Add simple script to tail syslog and write records to 
1665       eventlog tdb.
1666     * Fix segv in eventlogadm when not event logs are listed in 
1667       smb.conf.
1670 o   Lars Müller <lmuelle@samba.org>
1671     * Only install smbsh manpage if smbwrapper has been successfully
1672       built.
1673     * Ensure setmntent() returns with != NULL in the disk_quotas() 
1674       Linux version.
1675     * Add configure switch to disable libmsrpc build.
1676     * Add a soname to libmsrpc.
1679 o   Ricky Nance <ricky.nance@gmail.com>
1680     * Updates for the mklogon perl scripts.
1683 o   Chris Nicholls <skel@samba.org>
1684     * New libmsrpc library (Google SoC Project).
1685     * Fix libmsrpc build of on the Sun compiler by removing empty 
1686       structure declarations.
1689 o   James Peach <jpeach@sgi.com>
1690     * Fix parsing error for smb ports parameter.
1693 o   Tim Potter <tpot@samba.org>
1694     * BUG 3260: Fix DYNEXP flags on HPUX.
1697 o   Marcin Porwit <mporwit@centeris.com>
1698     * Eventlog and ServiceControl support.
1699     * Added basic Performance Counter daemon which can feed data
1700       for the Windows perfmon.exe tool.
1701     * Fix directory permissions in the perfcounter daemon.
1702     * Add the 'File' registry value for the eventlog keys.
1705 o   Aruna Prabakar <aruna.prabakar@hp.com.
1706     * Add checks to verify that the spooler is running on HP-UX when
1707       reloading the printer name cache.
1710 o   Joel Smith <joel.j.smith@novell.com>
1711     * Add iPrint printing backend support.
1714 o   Toomas Soome <Toomas.Soome@mls.ee>
1715     * Implement host lookups in nss_winbind.so.1 on Solaris
1718 o   Simo Sorce <idra@samba.org>
1719     * Update Debian packaging.
1722 o   John Terpstra <jht@samba.org>
1723     * Add 'net idmap' usage help text.
1726 o   Andrew Tridgell <tridge@samba.org>
1727     * Change license notice of standalone talloc library to LGPL.
1730 o   Darren Tucker <dtucker@zip.com.au>
1731     o Crash fix for snprintf() code.
1734 o   Rainer Weikusat <rainer.weikusat@sncag.com>
1735     * Fix function name typo in skeleton VFS code.
1739 Release Notes for older release follow:
1741       --------------------------------------------------
1742                    ===============================
1743                    Release Notes for Samba 3.0.20b
1744                              Oct 12, 2005
1745                    ===============================
1747 Common bugs fixed in 3.0.20b include:
1749   o A crash bug in winbindd
1750   o Reporting files as read-only instead of returning the 
1751     correct error code of "access denied"
1752   o File system quota support defects
1753   
1755 ######################################################################
1756 Changes
1757 #######
1760 Changes since 3.0.20a
1761 ---------------------
1763 commits
1764 -------
1766 o   Jeremy Allison <jra@samba.org>
1767     * BUG 3088: Fix error condition for files on a read-write share 
1768       which cannot be read due to permissions.
1771 o   Gerald (Jerry) Carter <jerry@samba.org>
1772     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
1773       details.
1774     * BUG 1473, 3090: Quota detection and compilation problems on 
1775       Solaris.
1778 o   Marc Balmer <marc@msys.ch>
1779     * Build fixes when builddir != srcdir
1782 o   Alex Deiter <tiamat@komi.mts.ru>
1783     * BUG 3145: Fix build issue regarding quota support on Solaris.
1786 o   Volker Lendecke <vl@samba.org>
1787     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
1788       name.
1791       --------------------------------------------------
1792                    ===============================
1793                    Release Notes for Samba 3.0.20a
1794                              Sept 30, 2005
1795                    ===============================
1797 Common bugs fixed in 3.0.20a include:
1799   o Stability problems with winbindd.
1800   o Crash bugs caused by incompatibilities on 64-bit systems.
1801   o Missing files from directory listings on AIX servers
1802   o User Manager interoperability problems.
1803   o Minor build difficulties on various platforms such as 
1804     Solaris and OpenBSD, 
1807 Winbind, security = domain, and Active Directory
1808 ================================================
1810 Recent security updates for Windows 2000 and Windows 2003 have 
1811 changed the fashion in which user and group lists can be obtained 
1812 from domain controllers.  In short, the RPC mechanisms used by 
1813 "security = domain" to retrieve users and groups is not compatible 
1814 with these changes.   The "security = ads" configuration is not 
1815 affected by the Windows protocol changes.
1817 Samba developers are actively working to correct this problem in 
1818 the 3.0.21 release.  In the meantime, Administrators who are unable 
1819 to migrate to "security = ads" and must continue using "security = 
1820 domain", can define credentials to be used by winbindd for account
1821 enumeration by executing the following command as root.
1823         wbinfo --set-auth-user='DOMAIN\username%password'
1827 ######################################################################
1828 Changes
1829 #######
1832 Changes since 3.0.20
1833 --------------------
1835 commits
1836 -------
1838 o   Jeremy Allison <jra@samba.org>
1839     * BUG 3065: Fix for legacy clients retrieving a listing of 
1840       an empty directory.
1841     * Added external library for accessing Samba's share mode 
1842       database.
1843     * Fix winbindd credentials chain which caused logon failures 
1844       after attempting to authenticate an unknown user.
1845     * Fix recursive looping bug in winbindd.
1846     * Fix build errors on 64-bit systems.
1847     * Posix ACL memory leak and crash bug fixes.
1848     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
1849     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
1850     * Hide dot files and directory logic fixes.
1851     * Correct display of open file modes by smbstatus.
1852     * BUG 3010: Fix missing files bug on AIX systems.
1855 o   Gerald (Jerry) Carter <jerry@samba.org>
1856     * Allow the root user to automatically pass se_access_checks()
1857       in the registry and service control server code.
1858     * Ensure that winbindd uses the correct name in the net_auth2()
1859       request when running on a Samba PDC.
1860     * Fix linking problem with tdb utilities.
1861     * BUG 3080: Fix regression in 'net rpc shutdown' command.
1862     * Fix segv in 'net rpc' when the pipe open fails.
1863     * Fix upload bug when installing 64-bit Windows printer drivers.
1864     * Fix regression in the smburi syntax used by smbspool.
1865     * Fix sorting of subkey hash records in registry files.
1866     * Correct REG_CREATE_KEY_EX parsing error.
1867     * Interoperability issues with usrmgr.exe and Samba groups.
1868     * Use the display names and not the Unix names when enumerating
1869       groups in the ldapsam passdb backend.
1870     * Ensure that Windows domain user names are converted to lower case.
1873 o   Guenther Deschner <gd@samba.org>
1874     * Prevent BUILTIN sids returned in the user's token from 
1875       a Windows DC from being applied to any local group mappings
1876       on the Samba host.
1877     * Plug memory leaks in the kerberos keytab code.
1878     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
1879       backend when 'winbind nested groups' is enabled.
1880     * Fix crash bug in winbindd caused by 64-bit build issues.
1881     * Improve debug messages in smbspool.
1882     * Give better error-message when "NDS Universal Password" change fails.
1883     * Fix password history error in the eDirectory schema file.
1884     * Ensure that Windows domain group names are converted to lower case.
1887 o   Steve French <sfrench@us.ibm.com>
1888     * Allow disabling mandatory byte range lock mount flag, and fix 
1889       corresponding entry in mtab.
1892 o   Volker Lendecke <vl@samba.org>
1893     * Fix race condition in the NTcreate&X open code when the 
1894       disposition is NTCREATEX_DISP_CREATE.
1895     * Correct logic error when checking the pid for pending print 
1896       change notify messages.
1897     * Ensure that winbindd child process complete startup even when
1898       the parent is receiving authentication requests.
1899     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
1900       when authentication fails.
1903 o   Jason Mader <jason@ncac.gwu.edu>
1904     * Compile warning fixes.
1907 o   Uli Meis <a.sporto@gmail.com>
1908     * Patches for pdb_*sql.c
1911 o   Luke Mewburn <lukem@NetBSD.org>
1912     * Autoconf syntax fixes.
1915 o   James Peach <jpeach@sgi.com>
1916     * Correct problem with creating a core file in Linux.
1919 o   Stefan Metzmacher <metze@samba.org>    
1920     * Quota fixes in smbd.
1923 o   Peter Rindfuss <rindfuss@wz-berlin.de>
1924     * Patches for pdb_*sql.c
1927 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
1928     * Solaris toolchain patches for autoconf scripts.
1931 o   Andrew Tridgell <tridge@samba.org>
1932     * Fix for tdb clear-if-first race condition.
1935 o   Leo Weppelman <leo@wau.mis.ah.nl>
1936     * BUG 3104: Don't allow time updates to files on read-only shares.
1939 o   Steve Williams <steve@celineandsteve.com>
1940     * BUG 3052: Fix compile issues on OpenBSD.
1943       --------------------------------------------------
1944                    ==============================
1945                    Release Notes for Samba 3.0.20
1946                              Aug 19, 2005
1947                    ==============================
1949 Additional features introduced in Samba 3.0.20 include:
1951   o Support for several new Win32 rpc pipes.
1952   o Improved support for OS/2 clients.
1953   o New 'net rpc service' tool for managing Win32 services.
1954   o Capability to set the owner on new files and directory
1955     based on the parent's ownership.
1956   o Experimental, asynchronous IO file serving support.
1957   o Completed Support for Microsoft Print Migrator.
1958   o New Winbind IDmap plugin (ad) for retrieving uid and gid
1959     from AD servers which maintain the SFU user and group 
1960     attributes.
1961   o Rewritten support for POSIX pathnames when utilizing 
1962     the Linux CIFS fs client.
1963   o New asynchronous winbindd.
1964   o Support for Microsoft Print Migrator.
1965   o New Windows NT registry file I/O library.
1966   o New user right (SeTakeOwnershipPrivilege) added.
1967   o New "net share migrate" options.
1970 What happened to 3.0.15 - 3.0.19?
1971 ==================================
1973 After some discussion it was deemed that the amount of changes 
1974 going into the next Samba 3.0 release needed something to catch
1975 people's attention.  Skipping several releases was chosen as 
1976 the best solution with the least overhead.  There will be no
1977 3.0.15 - 3.0.19 ever released.  The next production release
1978 following 3.0.20 should be 3.0.21.
1980 The original announcement about the version number change can 
1981 be found in the samba mailing list archives:
1983 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
1986 Asynchronous Winbind Implementation
1987 ===================================
1989 Winbindd has been completely rewritten in this release to support
1990 an almost completely non-blocking, asynchronous request/reply
1991 model.  This means that winbindd will scale much better in 
1992 large domain environments and on high latency networks.  Neither 
1993 the client interface nor the command line tools (i.e. wbinfo) have 
1994 changed in their calling conventions or syntax.  However, due to 
1995 internal structure changes, it is required (more so than normal) 
1996 that you install the nss_winbind.so library included in this release.
1999 Support for Microsoft Print Migrator
2000 ====================================
2002 Samba 3.0.20 includes full support for migrating printers from 
2003 Windows servers or other Samba servers via the Microsoft Print 
2004 Migrator tool.  Restoring printers requires a working "add printer 
2005 command" defined in smb.conf.  Current support also allows
2006 administrators to create a master list of printer drivers which
2007 can be restored in bulk on new (or existing) Samba installations.
2010 Asynchronous IO Support
2011 =======================
2013 Experimental support for async IO has been added to smbd for 
2014 certain platforms.  To enable this new feature, Samba must be 
2015 compiled to include the --with-aio-support configure option.
2016 In addition, the "aio read size" and "aio write size" to non-zero
2017 values.  See the smb.conf(5) man page for more details on these 
2018 settings.
2021 ######################################################################
2022 Changes
2023 #######
2025 smb.conf changes
2026 ----------------
2028     Parameter Name                      Action
2029     --------------                      ------
2030     acl check permissions               New
2031     acl group control                   New
2032     acl map full control                New
2033     aio read size                       New
2034     aio write size                      New
2035     enable asu support                  New
2036     inherit owner                       New
2037     ldap filter                         Removed
2038     map to guest                        Modified (new value added)
2039     max stat cache size                 New
2040     min password length                 Removed
2041     printer admin                       Deprecated
2042     username map script                 New
2043     winbind enable local accounts       Removed
2044     winbindd nss info                   New
2047 Changes since 3.0.14a
2048 ---------------------
2051 commits
2052 -------
2054 o   Jeremy Allison <jra@samba.org>
2055     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
2056     * Ensure the old SMB search calls always ask mask_match() to 
2057       translate patterns like ????????.???.
2058     * Split out the check_path_syntax() into a findfirst, findnext,
2059       & wildcard versions.
2060     * Fix checks for matching groups in an file ACL against the
2061       user's primary and supplementary group list.
2062     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
2063       LANMAN2 protocol, ensure the EA size is always correctly 
2064       set on a query for a file with no EA's.
2065     * BUG 2551: Look at the incoming flags2 flag 
2066       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
2067       uppercased on a SMBsearch request, not the protocol level.
2068     * Added "volume" command to smbclient that prints out the 
2069       volume name and serial number.
2070     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
2071     * Add support for OS/2 Extended Attributes.
2072     * Correctly check OpenX open modes.
2073     * Ensure allocation size is correctly returned for OpenX. 
2074     * Only set allocation on create/truncate for nttrans.
2075     * Fix oplock bug in trans2open() code.
2076     * Remove unix_ERR_XXX global nastiness.
2077     * Only do the strange DOS error for openX, not trans2open.
2078     * Ensure SMBopen replies includes the share modes as well as 
2079       open modes.
2080     * BUG 2581: Add size limit (in kb) to stat cache.
2081     * Fix bug in the trans2 secondary processing.
2082     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
2083     * Add an SMB counter per connection struct for gathering
2084       profiling data.
2085     * BUG 2605: Ensure smbclient doesn't perform commands if 
2086       the "chdir" fails in a scripted set.
2087     * Ensure a 'forced group' is added to the list of effective
2088       gids when processing ACLs.
2089     * Refactor rpc_bind structures for better future work.
2090     * BUG 2942: Add missing value in debug message.
2091     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
2092       by 'mangling method = hash'.
2093     * Fix memory leaks in the msdfs trans2 server code.
2094     * Convert msdfs server to be talloc'd based.
2095     * Fix up stackable vfs interface.
2096     * Fix rpc fault when encountering an unknown rpc_bind auth 
2097       type.
2098     * BUG 2954: More AIX 5.1 AIO compile fixes.
2099     * Fix valgrind bug in interaction with new aio buffer (found
2100       by Volker).
2101     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
2102     * Cleanup SAMR user info structure naming.
2103     * BUG 2889:  Fix directly listings from OS/2 clients.
2104     * Added "acl group control" parameter.
2105     * Add debug warning if AddPrinterEx() is called without having
2106       an 'add printer command'  defined.
2107     * Add better log messages when modifying ldap entries.
2108     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
2109       when string is unaligned.
2110     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
2111       message buffer is nor reused.
2112     * Add support for client setting capabilities to select posix 
2113       pathnames on the wire.
2114     * Stop using C++ reserved words so that Samba can be compiled 
2115       using g++.  Also allows VFS modules in C++.
2116     * More fixes to allow better large directory scaling.
2117     * BUG 2827: Ensure we call the vfs connection hook before 
2118       doing a vfs stat.  Allows database vfs backends to initialize 
2119       with a working connection.
2120     * BUG 2826: Ensure the correct return value for symlink and 
2121       readlink in the VFS.
2122     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
2123     * Added AIO support to smbd.
2124     * Add "acl map full control", true by default, to allow people 
2125       to change mapping of rwx to full control or not.
2126     * Transition smbd to use NTcreate&X for internal file opens.
2127     * Add checks against the current effective group id (e.g. force 
2128       user) when testing write permissions one ACLs.
2129     * Fix FindFirst/FindNext server code when parsing directories
2130       on old IRIX XFS file systems (thanks to Cale Fairchild
2131       for the debugging help).
2132     * BUG 2644: Test for special files to be ignored was reversed.
2133     * Ensure yield_connection() is called on all appropriate error
2134       conditions.
2135     * Fix EDEADLCK problem with deferred open calls.
2136     * BUG 2622: Remove DPTR_MASK as it makes no sense.
2137     * Fix the write cache based on some VERY good detective work
2138       from Ingo Kilian.
2139     * BUG 2346: Fix read-only excel file bugs.
2140     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
2141       return ENOSYS if not implemented.
2142     * Add new CAP for POSIX pathnames.
2143     * BUG 2703: Add NULL guard for disp_fields[0].
2144     * BUG 2681: With "strict allocate = yes" we now zero fill when 
2145       a file is extended. Should catch disk full errors on write
2146       from MS-Office.
2147     * Add "acl check permissions" to turn on/off the new 
2148       behavior of checking for write access in a directory 
2149       before delete. 
2150     * Refactor printing interface to take offset into job. 
2151     * Allow mapping of POSIX ACLs to NT perms to differentiate 
2152       between directories and files.
2153     * Added encrypt/decrypt function for LSA secrets and trusted
2154       domain passwords on the wire.
2155     * BUG 2729: Resume keys are *mandatory* for a search when 
2156       listing a W2K and above server from a FATxx filesystem only.
2157     * BUG 2735: Ensure that smbd mangles control characters in file 
2158       and directory names.
2159     * Refactor small pieces of socket handling code (in conjunction 
2160       with Derrell).
2161     * BUG 2698: Fix infinite listing loop in smbclient caused by
2162       an invalid character set conversion.
2163     * Add client code that will abort a directory listing if we 
2164       see the same name twice between packets.
2165     * Performance improvements in trans2 qfilepathinfo code by 
2166       removing unnecessary memset() calls.
2167     * Rewrite the RPC bind parsing functions to follow the 
2168       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
2169     * BUG 2774: Set sparse flag if needed when returning 
2170       file attributes.
2171     * Fix errors listing directories from Windows NT clients 
2172       which caused "." and ".." to show up in explorer.exe.
2173     * Merge of error code fixes from SAMBA_4_0 branch.
2174     * BUG 2801: Fix regression in the "delete veto files" option.
2175     * Fix based on work from  Shlomi Yaakobovich to catch loops 
2176       in corrupted tdb files.
2177     * Allow someone with SeTakeOwnershipPrivilege to chown the 
2178       user of a file to herself.
2179     * Fix minor compiler warnings in printing/printing.c.
2180     * Merge new DOS error code from SAMBA_4.
2181     * Fix issue when non-English characters in filenames and 
2182       directories.
2183     * Fix bogus error message in smbstatus about unknown share modes.
2186 o   Andrew Bartlett <abartlet@samba.org>
2187     * Support raw NTLMSSP authentication for Windows Vista 
2188       clients.
2189     * Fix parallel NTLMSSP processing by removing global state.
2190     * BUG 2684: Add per service hosts allow/deny checks for 
2191       printers when  connecting via MS-RPC.
2192     * BUG 2391: Fix segv caused by free a static pointer returned 
2193       from getpwnam().
2194     * Support kerberos authentication in smbd when using a keytab
2195       and participating in a non-Microsoft Kerberos realm.
2198 o   Timur Bakeyev <timur@com.bat.ru>
2199     * BUG 2546: Add support for FreeBSD EA API
2200     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
2201     * BUG 2908: Fix string length logic error in msdfs code.
2202     * BUG 2909: Fix typo that caused smbd to call the wrong 
2203       aio_fsync function.
2206 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
2207     * Added Linux per-socket TCP settings.
2210 o   Gerald (Jerry) Carter <jerry@samba.org>
2211     * Added support for \svcctl pipe rpcs.
2212     * Added 'net rpc service' subcommand for managing Win32 
2213       services.
2214     * Refactoring work on the rpc [un]marshalling layer and 
2215       structures.
2216     * Verify privilege name in 'net rpc rights privileges' in 
2217       order to provide better error messages.
2218     * Cleanup rpc structures in rpc_spoolss.h.
2219     * Cleanups and fixes for the \winreg server code.
2220     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
2221     * Fix bugs in client spoolss code after refactoring work.
2222     * Fix Valgrind warnings of invalid reads in the spoolss 
2223       server code.
2224     * Fixed a segv when enumerating services on a Samba host.
2225     * Fix segv in the service control server code.
2226     * Fix crashes in client spoolss calls caused by not checking 
2227       for a valid pointer from the caller.
2228     * Fix regression in DeleteDriver() server routines.
2229     * Fix dup_a_regval() when size is 0.
2230     * Fix usrmgr.exe crash when viewing user properties at 
2231       debuglevel 10.
2232     * Do not enumerate any privileges when 'enable privileges = no'
2233       and log a message if a client tries.
2234     * BUG 2872: Fix cut-n-paste error when checking pointer value 
2235       in ntlmssp_set_workstation().
2236     * Fix upgrade path from earlier nt*tdb files.
2237     * Removed print handle object cache.
2238     * BUG 2853: Don't strip out characters like '$' from printer 
2239       names when substituting for the lpq command.
2240     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
2241     * Fix build issues on x86_64-linux systems caused by valgrind 
2242       headers.  Thanks to Bent Vangli to the suggestions.
2243     * Refactor spoolss client calls.
2244     * Adding 'username map script'.
2245     * Disable schannel on the LSA and SAMR pipes in winbindd client 
2246       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
2247     * Cleanup of winreg API functions.
2248     * Add server stubs for RegSetKeySec() and RegGetKeySec().
2249     * Map generic bits to specific bits in reg_open_entry() 
2250       requests.
2251     * Add write support to registry tdb and printing backends.
2252     * Use tdb lookups rather than hard-coding certain registry 
2253       value names and data.
2254     * BUG 2808: don't try to install man pages if they are not 
2255       present.
2256     * Fix initialized variables reported by valgrind.
2257     * Normalize key lookups in ntprinters.tdb.
2258     * Mark "enumports command" as deprecated.
2259     * Add missing class file for python share command example.
2260     * Fix smbclient build issue on Solaris.
2261     * BUG 2626: ensure that the calling_name is set to something 
2262       after parsing smb.conf (if not set via -n).
2263     * Use "add machine script" when creating a user (ACB_NORMAL)
2264       who has a name ending in '$' (e.g. usrmgr.exe creating
2265       domain trust accounts).
2266     * Add 'rid' synonym for idmap_rid IDMap module.
2267     * Ensure that we set full access on the handle returned 
2268       from _samr_create_dom_{alias,group}() so that future 
2269       set_{alias,group}() commands succeed.
2270     * Fix bug when looking for internal domains in winbindd
2271       (caused winbindd_getgrgid() for local groups to fail).
2272     * Fix query and set alias info calls (level 1 from the MMC 
2273       manage computer plug-in.
2274     * Remove bogus log messages about unknown specversions.
2275     * BUG 2680: copy files from an MS-DFS win2k root share
2276     * BUG 2688: re-implement support for the -P (--port) option
2277     * Support connecting to an 'msdfs proxy' share on a Samba
2278       server.
2279     * Strip the directory path from cups command line printing 
2280       defaults.
2281     * Fix bug that prevented smbclient from creating directories 
2282       on non-dfs paths.
2283     * Deprecate the "printer admin" parameter in favor of the 
2284       SePrintOperatorPrivilege.
2285     * Add the capability to read and write WinNT regf registry 
2286       files.
2287     * Implement access checks for RegOpenXXX() server calls.
2288     * Extend registry client rpc calls.
2289     * Add "net rpc registry" set of commands.
2290     * Remove testprns tool.
2291     * Ensure that printer ACLs use the specific bits as well as 
2292       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
2293       records.
2294     * Add server support for RegSaveKey() for dumping registry 
2295       trees to a regf file.
2296     * Add "enable asu support" smb.conf parameter.
2297     * Merge various small file changes from trunk.
2298     * Remove "winbind enable local accounts" support.
2299     * Remove "ldap filter" smb.conf option.
2300     * Remove editreg utility (needs to be rewritten using regfio.c).
2301     * Fix build failure when running 'make torture' without first 
2302       running 'make all' first.
2303     * BUG 1261: Remove unusable libbiconv from iconv detection 
2304       in configure.
2305     * Add new option for "map to guest".  "Bad Uid" re-enables the
2306       Samba 2.2 behavior of mapping authenticated users to the
2307       guest account if there does not exist a valid Unix account 
2308       for the Windows domain user (based on patch from 
2309       aruna.prabakar@hp.com).
2310     * Fix a couple of regressions after introduction of new winbindd.
2311     * Fix smbpasswd user password change (still worked by bad error
2312       messages) due to trying to strdup a NULL pointer.
2313     * Implement default security descriptors for the
2314       OpenService[Manager]() calls and check requested access mask 
2315       at connect time.
2316     * Include access checks on handle mask for \svcctl operations
2317       such as ControlService() and StartService().
2318     * Implement simulated start and stop service control for 
2319       the spooler service as a per smbd service state value.
2320     * Add interface structure for controlling service via rc.init
2321       scripts (incomplete).
2322     * Convert move_driver_to_download_area() to use copy_file()
2323       rather than moving the files.
2324     * Add version number to registry.tdb file since it can be 
2325       modified now.
2326     * Remove over-paranoid assert() call when checking spoolss 
2327       buffer pointers
2328     * Fix error in EnumPrinterData() reported by valgrind.
2329     * Fix broken help links in SWAT editor caused by new doc layout.
2330     * Ensure that a domain structure in winbind is initialized prior
2331       to assigning the methods for communicating to a DC.
2332     * BUG 3000: Remove background updates of winbind cache and allow
2333       child processes to immediately update and expired cache entry.
2336 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
2337     * Added panic action script for Solaris.
2340 o   Jeremy Cooper <jeremy@ncircle.com>
2341     * Added support for several new \winreg client rpcs.
2344 o   <core@road-star.jp>
2345     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
2346       telldir, rewinddir to match updated large directory code.
2349 o   Guenther Deschner <gd@samba.org>
2350     * Close handles on group creation in rpcclient to better 
2351       support mass group account creation.
2352     * Fix account policy key lookup for minimum and maximum
2353       password lengths.
2354     * Fix some compiler warnings and add missing exclude-block 
2355       in 'net rpc share migrate'.
2356     * Allow use of a non-default smb.conf by rpcclient.
2357     * Fix querydispinfo search semantics in rpcclient test code.
2358     * Fix querydispinfo server semantics to allow to list more 
2359       then 511 users.
2360     * Fix server crash bug in ancient OpenPrinter() call.
2361     * Fix a crash bug when enumerating privileges via the LSA 
2362       calls.
2363     * Fix crash in EnumPrinterKey() client calls caused by previous 
2364       refactoring work.
2365     * Various compiler warning fixes.
2366     * Fix segfault in the client AddPrinterEx-call of 'net 
2367       rpc printer'.
2368     * Fix build issues when --with-aio-support is enabled.
2369     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
2370     * Honour the CC environment variable in python build.
2371     * Fix searches in pdb_ldap for inter-domain trust accounts.
2372     * Don't expand the %L in %LOGONSERVER% from user attributes.
2373     * Fix bug in 'net rpc vampire' that caused accounts to be created 
2374       with no assigned ACB flags.
2375     * Fix enumeration of builtin-aliases.
2376     * Avoid unset rids for builtin-aliases.
2377     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
2378     * More "net rpc share migrate" fixes.
2379     * Merge PADL's idmap_ad plugin (taken from the latest 
2380       xad_oss_plugins-tarball).
2381     * Add support for "idmap backend = ad" when "security = ads".
2382     * Add home directory and shell support from AD via "winbindd nss 
2383       support = sfu" and "security = ads".
2384     * Provide better feedback when we fail share-manipulation 
2385       due to missing scripts.
2386     * Correctly substitute "\" as default winbind separator in 
2387       generate_parm_table.py example share command script.
2388     * Document pam_winbind.c to clarify the working status of
2389       require-membership-of option.
2390     * Added client-support for various lsa_query_trust_dom_info()
2391       calls and a rpcclient-tester for some info-levels.
2392     * Add "net rpc trustdom vampire" tool (in conjunction with 
2393       Lars Mueller).
2394     * Add missing cli_srvsvc_net_share_set_info-function and
2395       rpcclient-testers (in preparation for net share acl migration).
2396     * Print trusted domain passwords returned via rpcclient in 
2397       display charset.
2398     * Error code fixes when attempting to manipulating 
2399       non-existent shares.
2400     * Cleanup "net share migrate" code. 
2401     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
2402       = true".
2403     * Allow admins to uncheck the "User must change Password at 
2404       next Logon" checkbox in User manager (merge from trunk).
2407 o   Renaud Duhaut <rd@duhaut.com> 
2408     * BUG 1040: Add directory_mode parameter when creating recycle
2409       directories.
2412 o   Steven Edwards <steven_ed4153@yahoo.com>.
2413     * Use chsize() if we don't have ftruncate().
2416 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
2417     * BUG 1780: Add kerberos (file based ticket cache) support 
2418       to smbspool.
2421 o   Steve French <sfrench@us.ibm.com>
2422     * Update list of mount options for mount.cifs.
2423     * Add more defines for POSIX extensions to match the newly 
2424       added client implementation.
2425     * Add initial support for cifs umount utility.
2426     * Fix cifs mounts to handle commas embedded in prompted 
2427       password, and password and credential files.
2428     * Fix cifs mounts to handle domain name and user name in 
2429       username field (in form domain\user).
2430     * Add missing error code mappings when a client unsuccessfully 
2431       tries to create a hard-link.
2432     * Add support so umount.cifs can update mtab.
2433     * Add two newer mount options to syntax help for mount.cifs.
2434     * Add missing remount flag handling.
2435     * Allow domain= to be specified in credentials file. 
2436     * Fix umount.cifs help, allow root to unmount someone else's
2437       mount.
2438     * Lock mtab when updating it during umount.cifs, also delete
2439       only one matching entry at a time.
2440     * Fix minor compiler warnings in the mount.cifs helper.
2443 o   Deryck Hodge <deryck@samba.org>
2444     * BUG 2137: Encode quotes for display in HTML (original patch 
2445       from Jay Fenlason).
2448 o   Olaf Imig <Olaf.Imig@bifab.de>
2449     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
2450       print job ids.
2451     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
2454 o   Björn Jacke <bj@sernet.de>
2455     * Added ioctl constants reported by msbackup.exe and filemon.exe.
2458 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
2459     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
2462 o   John Janosik <jpjanosi@us.ibm.com>
2463     * BUG 2077: Correctly fill in the correct server name when 
2464       processing trusted domain logins.
2465     * BUG 2976: Mark logons for unknown domains with a 
2466       non-authoritative response.
2469 o   William Jojo <jojowil@hvcc.edu>
2470     * AIX AIO fixes.
2473 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2474     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
2475       local drive.
2478 o   Tom Lackemann <cessnatomny@yahoo.com>
2479     * BUG 2242: Patch to ensure that we only set the security 
2480       descriptor on an NTtransact create if we created the file.
2483 o   Volker Lendecke <vl@samba.org>
2484     * Port some of the non-critical changes from HEAD to 3_0. 
2485       The main one is the change in pdb_enum_alias_memberships 
2486       to match samr.idl a bit closer.
2487     * Close handles on user creation in rpcclient to better 
2488       support mass user account creation.
2489     * Implement client RAP calls for enumusers/enumgroups level 0.
2490     * Implement a new caching API for enumerating the pdb elements.
2491     * Convert the RAP user and group enumeration functions to the 
2492       utilized the pdb_search API. 
2493     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
2494       RestrictAnonymous environments.
2495     * Internal passdb API changes for better search capabilities
2496       (based on original work by Guenther Deschner).
2497     * Fix various compiler warnings.
2498     * Add chain length statistics to tdbtool.
2499     * Fix set afs ACL calls on files and directories in the root of 
2500       a share.
2501     * Refactoring work on internal open code
2502     * Correctly initialize the version in a new set of nt*tdb files.
2503     * Remove smb_run_idle_events() from main process loop in smbd 
2504       and instead rely upon the timeout processing to handle 
2505       dropping idle LDAP connections.
2506     * Fix the bug where users show up as trusting domains.
2507     * Fix an assertion failure in winbindd.
2508     * Fix a memleak in vfs_afsacl.
2509     * Various compiler warning fixes.
2510     * Fix compile when --enable-socket-wrapper is defined.
2511     * Fixes for top level acls in vfs_acl.c.
2512     * Refactor passdb interface functions.
2513     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
2514     * Correct 2 segv's in "net rpc printer migrate".
2515     * Return correct group type from smbd for BUILTIN groups.
2516     * Backport the talloc() layer from Samba 4.
2517     * BUG 2701: Fix segv in ldap reconnection code.
2518     * BUG 2705: Fix segv when connecting from usrmgr.exe.
2519     * Use the SID in the user token for the %s expansion in 'afs 
2520       username map'.
2521     * Memory leak fixes in passdb code.
2522     * BUG 2720: Fixes for "net usersidlist".
2523     * BUG 2725: Fix segv in "net ads user".
2524     * Only allow schannel connections if a successful Auth2 
2525       has been previously performed.
2526     * Don't look at gencache.tdb for the trusted domains if 
2527       winbind is present.
2528     * Rewrite winbindd using an asynchronous process model.
2531 o   Herb Lewis <herb@samba.org>
2532     * Compiler warning cleanups.
2533     * smbwrapper Makefile and compile time check cleanups.
2534     * Adding robustness checks for tdbdump and tdbtool.
2535     * Extend tdb command line parsing to arbitrary hex characters.
2536     * Add LOCKING debug class.
2537     * Fix more compiler warnings.
2540 o   Derrell Lipman <derrell@samba.org>
2541     * add support for opening a file for write with O_APPEND 
2542       in libsmbclient.
2543     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
2544       tree.
2545     * Fix smbc_stat() from returning incorrect timestamps IFF 
2546       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
2547       and not if it used cli-getatr() to retrieve the timestamps 
2548       (Win98). 
2549     * Fix handful of compiler warnings.
2550     * BUG 2498, 2484: smbc_getxattr() fixes.
2551     * BUG 1133: Added provision for overloading some global 
2552       configuration options via the new, per-user file 
2553       ~/.smb/smb.conf.append.
2554     * BUG 2543: Properly cache anonymous username when reverting 
2555       to anonymous login, in libsmbclient.
2556     * BUG 2505: Fix large file support in libsmbclient.
2557     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
2558       with a file rather than a directory.
2559     * Correct deprecated lvalue casts in testsuite/libsmbclient.
2560     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
2561       formatting or parsing the timestamp values correctly.
2562     * Correctly detect AF_LOCAL support in configure.
2563     * Fix problem updating file times on Windows 98 hosts using 
2564       libsmbclient.
2565     * Fix compile breakage on Solaris by eliminating the use of 
2566       ctime_r() in libsmbclient DEBUG statement.
2569 o   Jason Mader <jason@ncac.gwu.edu>
2570     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
2571     * Various compiler warning fixes about mistyped variables.
2572     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
2573       and code  cleanups.
2574     * BUG 2527, 2538: Removed unused variables.
2577 o   Marcel <samba.10.maazl@spamgourmet.com>
2578     * Fix regression in OS/2 trans2 open code.
2581 o   Jim McDonough <jmcd@us.ibm.com>
2582     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
2583       (in conjunction with Volker).
2584     * BUG 2953: Prevent the credentials chain on DC gets out 
2585       of sync with client when NT_STATUS_NO_USER is returned.
2586     * Added subcommands to "net rpc vampire" (mostly done by Don 
2587       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
2588       ldif file instead of actually writing to the passdb.  
2589     * BUG 2736: Add retries to workaround winbind race condition 
2590       with detecting idle clients.
2591     * BUG 2953: Additional fixes for domain trusts.  Also clears
2592       up the "bad stub" error when attempting to logon to a Samba
2593       domain with a bad username.
2596 o   Luke Mewburn <lukem@NetBSD.org>
2597     * Compiler warning fixes.
2600 o   Kalim Moghul <kalim@samba.org>
2601     * Removed unused printmode command from smbclient.
2604 o   Lars Müller <lmuelle@samba.org>
2605     * Re-enable the VERSION_REVISION option in case of another 
2606       letter release.
2607     * Fix spoolss python bindings after C++ compiler changes and 
2608       other python fixes.
2609     * BUG 2659: Don't trump on memory in smbtorture.
2610     * BUG 2060: Add -fPIC which is the case for all other Samba 
2611       shared libs.
2612     * Fix argv parsing in "net rpc".
2613     * Add support to create position independent executable (PIE) 
2614       code if the compiler supports it.
2615     * BUG 2767: Add new options to testparm (--show-all-parameters,
2616       --parameter-name, and --section-name).
2617     * Fix net share migrate files to also migrate the ACLs of 
2618       the top level dir of a share.
2621 o   Marcel Muller <mueller@maazl.de>
2622     * Patch to fix the OS/2 EA_FROM_LIST info level call.
2623     * Mangled names fix for OS/2 clients.
2624     * Ensure we correctly set the return packet size to include the 
2625       pad bytes in reply_readbmpx().
2626     * Fix for bug in SMBwriteBraw that incorrectly returned the 
2627       number of bytes written. 
2630 o   Ricky Nance <ricky.nance@gmail.com>
2631     * Implemented mklogon script generator for domain logon scripts.
2634 o   James Peach <jpeach@sgi.com>
2635     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
2636     * BUG 2285: Patch for hires timestamps and efficient notify code.
2637     * MS-DFS tidyup patches.
2638     * Build fixes on IRIX.
2639     * IRIX compiler warning fixes.
2640     * BUG 2596: Fix become_root link issues and one IRIX stack 
2641       backtrace bug.
2642     * Fix for null pointer ACL free.
2643     * BUG 2314: Fix const compiler warnings in the quota code.
2646 o   Ed Plese <ed@edplese.com>
2647     * Fix faulty logic which caused winbindd to return failure 
2648       when a user possessed no supplementary groups.
2651 o   Marcin Porwit <mporwit@centeris.com>
2652     * Initial support for the \eventlog pipe.
2653     * Fix a memleak in the eventlog code.
2654     * Miscellaneous fixes for Samba's experimental event log support.
2655     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
2656       calls.
2659 o   Tim Potter <tpot@samba.org>
2660     * BUG 2940, 2943: Fixed various compiler warnings regarding 
2661       mismatched types and unused variables.
2662     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
2663     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
2664       configure script on HPUX IA.
2665     * Remove unused autoconf #define's.
2666     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
2667     * Removed unused function declarations in tdb.h.
2668     * BUG 2895: Don't wrap non-existent functions in the python 
2669       tdb bindings.
2670     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
2671       according to POSIX.
2672     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
2673       defined.
2674     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
2675     * BUG 2611: Add fflush(stdout) after displaying username prompt 
2676       in smbsh if username not specified on command line.
2677     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
2678     * BUG 2808: Update install swat message to reflect the fact 
2679       that swat/README no longer exists.
2682 o   Denis Sbragion <d.sbragion@infotecna.it>
2683     * BUG 2196: Allow absolute path (system wide) recycle bin.
2686 o   Fernando Schapachnik <fernando@mecon.gov.ar>
2687     * Add logon hours support for the Postgres backend.
2690 o   Richard Sharpe <rsharpe@samba.org>
2691     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
2693 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
2694     * BUG 2362: Quota support fix for DragonFly.
2695     * Fix dragonfly detection in configure.
2698 o   Simo Sorce <idra@samba.org>
2699     * Allow Domain Admins to force user sessions to close via the 
2700       Windows Server Manager.
2701     * Add support to 'net rpc right privileges <name>' to enumerate 
2702       accounts which possess a specific privilege.
2703     * Fix memory issues issues in vfstest (reported by Rainer Link).
2704     * Randomize reloading as to not overload cupsd.
2707 o   Smitty <smitty@plainjoe.org>
2708     * Compile fixes for smbget when using --enable-developer.
2709     * Include LUID values to match Windows privileges since 
2710       apparently this matters to printmig.exe
2713 o   John Terpstra <jht@samba.org>
2714     * Solaris packaging fixes.
2715     * Clean up usage help text in "net rpc user"
2718 o   Andrew Tridgell <tridge@samba.org>
2719     * Merge socket wrapper library fixes from Samba 4.
2722 o   Brett Trotter <blt@iastate.edu>
2723     * Fix definition of global_sid_* in vfs_acl.c.
2726 o   Mark Weaver <mark-clist@npsl.co.uk>
2727     * Patch to fix sys_select so it can't drop signals if another 
2728       fd is ready to read. 
2731 o   Jelmer Vernooij <jelmer@samba.org>
2732     * Remove --with-manpage-languages configure option.
2733     * Merge socket wrapper fixes for IRIX systems from the 
2734       Samba 4 branch.
2735     * Add socket_wrapper library to 3.0. Can be enabled by passing
2736       --enable-socket-wrapper to configure.
2737     * Fix build of the various sql pdb backends after new talloc.
2740 o   Qiao Yang <qyang@stbernard.com>
2741     * Use our own DC when getting the SID for a domain.
2745 Release Notes for older release follow:
2747       --------------------------------------------------
2748                    ===============================
2749                    Release Notes for Samba 3.0.14a
2750                               Apr 14, 2005
2751                    ===============================
2753 Common bugs fixed in 3.0.14a include:
2755   o Compatibility issues between Winbind and Windows 2003 SP1
2756     domain controllers (*2k3sp1*).
2757   o MS-DFS errors with Windows XP SP2 clients.
2758   o High CPU loads caused by infinite loops in the FindNext()
2759     server code.
2760   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
2761     files.
2763     
2764 ######################################################################
2765 Changes
2766 #######
2768 Changes since 3.0.14
2769 --------------------
2771 commits
2772 -------
2773 o   Jeremy Allison <jra@samba.org>
2774     * Fixed invalid SMB_ASSERT() triggered by checking access on
2775        ACL'd files.
2778 Changes since 3.0.13
2779 --------------------
2781 smb.conf changes
2782 ----------------
2784     Parameter Name                      Action
2785     --------------                      ------
2786     dos filetimes                       Enabled by default
2789 commits
2790 -------
2791 o   Jeremy Allison <jra@samba.org>
2792     * Prevent nt_status code support when negotiating protocols
2793       earlier than NT1.
2794     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
2795       as this SMB is DOS codepage only.
2796     * BUG 2585: Fix printf() issues in smbpasswd which caused
2797       seg faults.
2798     * BUG 2563: Fix infinite loop on non-existent file with 
2799       FindNext().
2800     * BUG 2581 (partial): Ensure if realloc fails on an internal 
2801       tdb we fail gracefully.
2802     * Ensure that 'dos filetimes' works with ACLs.
2803     * Set 'dos filetimes = yes' as the default for smb.conf.
2805       
2806 o   Gerald (Jerry) Carter <jerry@samba.org>
2807     * Workaround autoconf issue to prevent debug symbols from 
2808       being included in the default build.
2809     * Disable schannel on the \lsarpc pipe in order to successfully 
2810       enumerate users and groups (*2k3sp1*)
2811     * Fix parsing error in rpc binds which broke NTLMSSP 
2812       authentication.   And as a result broke CTL+ALT+DEL password 
2813       changes from a Windows 2003 SP1 member of a Samba domain 
2814       (*2k3sp1*).
2815     * Revert change to FindFirst() server code that broke WinXP
2816       SP2 clients from launching *.exe files from a dfs target 
2817       share.
2818     * BUG 2588: Force smbclient to send netbios messages to port 
2819       139 unless otherwise instructed (based on patch from Thomas 
2820       Bork).
2821       
2823 o   Volker Lendecke <vl@samba.org>
2824     * Fix build on FreeBSD 4 where Winbind is not supported.
2825     * Fix 'wbinfo --user-sids' when using domain local groups.
2826     * Restrict domain local groups reported by 'wbinfo -r' to
2827       the Samba server domain and not the users domain.
2830 o   Lin Li <linl@xandros.com>
2831     * Ensure that winbind initializes internal trusted domain 
2832       structures when enumerating users and groups.
2833       
2835 o   Tim Potter <tpot@samba.org>
2836     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
2837       test.
2838     * Fix compiler warnings.
2841 o   <psz@maths.usyd.edu.au>
2842     * Fix for possible root squash NFS bugs.
2843     
2844     
2845 o   Simo Sorce <irda@samba.org>
2846     * Debian packaging fixes.
2847     
2849       --------------------------------------------------
2850                    ==============================
2851                    Release Notes for Samba 3.0.13
2852                             Mar 24, 2005
2853                    ==============================
2855 Common bugs fixed in 3.0.13 include:
2857   o Infinite FindNext() loop from Windows 9x client when
2858     copying or deleting files on a Samba file share using 
2859     explorer.exe.
2860   o Numerous smbclient bugs when listing directories.
2861   o Failures in smbclient when connecting to a Windows 9x 
2862     file server.
2864     
2865 ######################################################################
2866 Changes
2867 #######
2869 Changes since 3.0.12
2870 --------------------
2872 o   Jeremy Allison <jra@samba.org>
2873     * Fix typo bug in smbclient where flags overwrote info level
2874       in the cli_list_new().
2875     * Fix old smbclient bug where ff_searchcount was being compared 
2876       to -1 resulting in processing a filename twice.
2877     * Fix segv in smbclient caused by overwriting the last 2 bytes 
2878       in cli_list_new().
2879     * BUG 2530: Fix potential segv in smbclient when talking to a 
2880       Windows 9x file server.
2881     * Fix last entry offset in cli_list_new() when using a 
2882       FindFirst/FindNext info level of 0x104.
2883     * BUG 2501: Stop Win98 from looping doing FindNext on a 
2884       singleton directory. 
2885     * BUG 2521: Fix error in access checks when user group ACLs.
2886       
2887       
2888 o   Gerald (Jerry) Carter <jerry@samba.org>
2889     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
2890       to delete all versions of a driver.
2891     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
2892       'disable netbios = yes'.
2893     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
2894       shares.  
2895     * Update RedHat packaging files to require cups support.  Also
2896       remove requirement for 'idmap {uid,gid}' settings in smb.conf
2897       from winbindd init script.
2898     * BUG 2516: fix compile issue on True64.
2899     
2900       
2901       
2902 o   Guenther Deschner <gd@samba.org>
2903     * Check for the correct cli-struct when copying files in 'net 
2904       rpc printer' routines.
2907 o   Herb Lewis <herb@samba.org>
2908     * Fix incorrect test in 'net rpc user' when the user is not
2909       a member of any groups.
2910       
2911       
2912 o   Jim McDonough <jmcd@us.ibm.com>
2913     * Make sure that enum_group_members() searches the correct suffix.
2914     
2916       --------------------------------------------------
2917                    ==============================
2918                    Release Notes for Samba 3.0.12
2919                             Mar 18, 2005
2920                    ==============================
2922 Common bugs fixed in 3.0.12 include:
2924   o Winbind failures when using 'disable netbios = yes'
2925   o Failure to establish a trust relationship via 'net rpc trust 
2926     establish'
2927   o Various portability & compiler issues.
2928   o Read only file deletion failure caused by new delete semantics 
2929     in Windows XP SP2 and the MS 04-044 security hotfix.
2930   o Error messages from shared Excel workbooks residing on Samba 
2931     file shares.
2932   o Missing files in the output of smbclient -c 'dir' when run 
2933     against Windows file servers.
2934   o Inability for Print Administrators to pause/resume/purge print 
2935     queues.
2937 Additional features introduced in Samba 3.0.12:
2939   o Performance enhancements when serving directories containing 
2940     large number of files.
2941   o MS-DFS support added to smbclient.
2942   o More performance improvements when using Samba/OpenLDAP based 
2943     DC's via the 'ldapsam:trusted=yes' option.
2944   o Support for the Novell NDS universal password when using the
2945     ldapsam passdb backend.
2946   o New 'net rpc trustdom {add,del}' functionality to eventually 
2947     replace 'smbpasswd {-a,-x} -i'.
2948   o New libsmbclient functionality.
2952 =======================
2953 Large Directory Support
2954 =======================
2956 Samba 3.0.12pre1 introduces a specific mechanism for dealing
2957 with file services that frequently contain a large number of files
2958 per directory.  Historically Samba's performance has suffered 
2959 in such environments due to the translation from case 
2960 insensitive lookups by Windows client to the case sensitive
2961 storage mechanisms used by UNIX filesystems.
2963 Configuration details along with a short HOWTO can be found at:
2965 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
2968 ==================================
2969 libsmbclient Binary Compatibility
2970 ==================================
2972 Please note that a change has been made to the _SMBCCTX structure 
2973 in source/include/libsmbclient.h.  This change is not backwards
2974 compatible with applications linked against the libsmbclient.so
2975 library from Samba 3.0.11.  However, it is compatible with all 
2976 other Samba 3.0.x releases.  This means that it will be most likely
2977 be necessary to recompile any applications linked against the 
2978 3.0.11 version of the library.
2981 ######################################################################
2982 Changes
2983 #######
2985 smb.conf changes
2986 ----------------
2988     Parameter Name                      Action
2989     --------------                      ------
2990     allocation roundup size             New
2991     log nt token command                New
2992     write cache                         Deprecated
2996 Changes since 3.0.11
2997 --------------------
2999 commits
3000 -------
3001 o   Jeremy Allison <jra@samba.org>
3002     * BUG 2146: Return correct allocation sizes so as not to crash 
3003       the VC++ compiler.
3004     * BUG 962: Ensure that parsing of service names in smb.conf is 
3005       multibyte safe.
3006     * BUG 2201, 2227: Support new delete semantics used by MS04-044
3007       and XP SP2.
3008     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
3009       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
3010     * Add special hooks when serving directories containing large
3011       numbers of files.
3012     * Ensure that WINS negative name query responses and WACK 
3013       packets use the correct RR type of 0xA instead of reflecting 
3014       back what the query RR type was (0x20).
3015     * BUG 2310: Only do 16-bit normalization on small dfree request.
3016     * BUG 2323: Correct authentication failure when using plaintext 
3017       passwords from Windows XP clients.
3018     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
3019       work around issues building MS Visual Studio 6.0 project 
3020       on a Samba file share while restoring the pre-3.0.21pre1 
3021       behavior by default.
3022     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
3023       stat when checking for existence of a pathname.
3024     * Check the sticky bit on the parent directory for supporting
3025       the new WinXP SP2 file deletion semantics.
3026     * Various oplock, share mode, and byte range locking fixes
3027       found by Connectathon tests.
3028     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
3029       code (inspired by patch from Satwik Hebbar).
3030     * BUG 2382, 2045: More pending modtime and delayed write fixes
3031       for MS Excel (incorporates partial patches from 
3032       ke_miyata@itg.hitachi.co.jp).
3033     * Debug log message cleanups.
3034     * Add case insensitive search for a principal match on logon 
3035       verification in the system keytab (based on patch by 
3036       Michael Brown <mbrown@fensystems.co.uk>).
3037     * Revert the previous SMB signing change from Nalin Dahyabhai
3038       when using DES keys.
3039     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
3040     * Fix FindFirst() server code to deal with resume names of ".."
3041       and "." (found by Jim McDonough).
3042     * BUG 2451: Fix missing functions in full audit VFS module.
3043     * Ensure that smbd logs failures reported by DISK_FREE()
3044       (reported by Ying Li <ying.li2@hp.com>).
3045     * Ensure that smbclient obeys the max protocol argument again.
3046     * BUG 2335: Return correct error code for OS/2 clients (based on
3047       negotiated protocol level).
3048     * BUG 2460, 2464: remove dead code and unused variables 
3049       (reported by Jason Mader).
3052 o   Andrew Bartlett <abartlet@samba.org>
3053     * Avoid length-limited intermediate copy of NT and LM responses 
3054       in NETLOGON client.
3055     * Debug message cleanups in the NTLMSSP implementation.
3058 o   Manuel Baena <mbaena@lcc.uma.es>
3059     * Print actual error message in smbmnt.c:fullpath().
3062 o   Vince Brimhall <vbrimhall@novell.com>
3063     * Add support for Novell NDS universal password.
3064     * BUG 2424: Ensure that uidNumber and gidNumber use match 
3065       the RFC2307 schema.
3066     * BUG 2453: Change the way pdb_nds.c handles users with no 
3067       Universal or Simple Password.
3068     * NDS schema file corrections.
3071 o   Gerald (Jerry) Carter <jerry@samba.org>
3072     * Add trans2 client call for checking dfs referrals
3073     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
3074       when checking directories on modern CIFS servers.
3075     * Add MS-DFS support to smbclient.
3076     * Code cleanup of adt_tree.[ch].
3077     * Add missing checks to allow root to manage user rights.
3078     * Allow domain admins to manage rights assignments on domain members
3079       servers.
3080     * BUG 2333: Use the lpq command to pass in the correct printer name 
3081       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
3082       the default.
3083     * BUG 1439: make sure to initialize pointer to prevent invalid 
3084       free()'s on exit.
3085     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
3086       netbios = yes'.
3087     * Add cups-devel to BuidlRequires directive in Fedora spec file.
3088     * BUG 858: Fix order of popt args evaluation so we don't crash 
3089       when given no command line args.
3090     * Remove dependency on bash for source/autogen.sh.
3091     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
3092     * Implement MS-DFS for recursive directory listings in smbclient.
3093     * BUG 2394: Fix nmbd linking issue on IRIX.
3094     * Only display the publish check box in the client's printer 
3095       properties dialog if we are a member of an AD domain.
3096     * BUG 2363: allow 'in use' driver to be removed as long as 
3097       one 'Windows NT x86' driver remains.
3098     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
3099       porting purposes.
3100     * Enforce better printer.tdb cache consistency when removing 
3101       jobs from a print queue via SMB.
3102     * Ensure that pause/resume/purge print queue commands are run
3103       with the appropriate level of privilege necessary to actually
3104       work.
3105     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
3106       for 'printing = cups' installations that do not actually have 
3107       libcups.
3108     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
3109     * BUG 2215: Rewrite questionable code that was causing gcc to 
3110       choke.
3111     * Add server support for LsaLookupPrivValue().
3112     * Various small compile fixes and cleanup warnings.
3113     * BUG 2456: Fix compile failure on non-gcc platforms due to
3114       non-standard pragma.
3117 o   Kevin Dalley <kevin@kelphead.org>
3118     * BUG 2398: Don't force smbclient to assume a dry run if the 
3119       target tarfile is /dev/null.
3122 o   Guenther Deschner <gd@samba.org>
3123     * Fix crash bug in the client-spoolss enumdataex-call.
3124     * Expand the valid-workstation-scheme by expanding names 
3125       beginning with a plus (+) as a unix group.
3126     * Allow own netbios name to be set in smbclient's session setup.
3127     * Better handling of LDAP over IPC connections that have expired 
3128       on the LDAP-Server.
3129     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
3130     * Add examples/misc/adssearch.pl.
3131     * BUG 2343: Build fixes.
3132     * Support get_user_info_7 in SAMR server RPC.
3133     * Fix server_role in the samr_query_dom_info calls.
3134     * Add example perl script to check for multiple LDAP entries
3135       after running 'net rpc vampire'.
3136     * Add more output when listing printer forms via rpcclient.
3137     * Debug log message cleanup.
3140 o   Steve French <sfrench@us.ibm.com>
3141     * On failed mount (ENXIO) retry share name in uppercase (fix
3142       mount to FastConnect AIX SMB server).
3143     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
3144     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
3145       it with a user name.
3146     * Update for new CIFS POSIX info levels.
3147     * Ignore users mount parm in mount.cifs.
3149 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
3150     * BUG 1549: Don't truncate service names in smbstatus.
3153 o   William Jojo <jojowil@hvcc.edu>
3154     * BUG 2445: Patch to avoid default ACLs on AIX.
3157 o   S Murthy Kambhampaty <smk_va@yahoo.com>
3158     * Add idmap_rid module to Fedora and RedHat spec files.      
3161 o   Volker Lendecke <vl@samba.org>
3162     * BUG 2401: Flush internal getpwnam() cache after deleting a 
3163       user.
3164     * BUG 1604: Make winbind work with more than 10 trusted domains.
3165     * Cleanup various compiler warnings.
3166     * Fix a memory leaks in privileges code and passdb backends.
3167     * Fixes for samr_lookup_sids() client call.
3168     * Optimize _samr_query_groupmem with LDAP backend for large 
3169       domains.
3170     * Support SIDs as %s replacements in the afs username map 
3171       parameter.
3172     * Add 'log nt token command' parameter. If set, %s is replaced 
3173       with the user sid, and %t takes all the group sids.
3174     * Do not use the "Local Unix Group"-default description for 
3175       all kinds of group-mappings. 
3176     * Fix uninitialized variable in Linux nss_winbind library.
3177     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
3178     * Implement 'net afs impersonate'.
3179     
3181 o   Herb Lewis <herb@samba.org>
3182     * Fix build problem when HAVE_POSIX_ACL is not defined.
3183     * BUG 2417: Add help lines for net rpc group addmem and 
3184       delmem commands.
3185     
3187 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
3188     * Add support to libsmbclient for getting and setting DOS 
3189       attributes using EA functions.
3190     * Fix libsmbclient's URL encoding/decoding.
3191     * Replace browse listing URI queries with an internal options 
3192       structure (previous method violated the SMB URI syntax).
3193     * Allow tree connects to be multiplexed over a single CIFS server 
3194       connection context.
3195     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
3196       can determine a dead tree connection.
3197     * Implement better solution for backwards binary compatibility
3198       in libsmbclient while adding new fields to struct _SMBCCTX.
3201 o   Mark Loeser <halcy0n@gentoo.org>
3202     * BUG 2443: Compile fix for gcc4.
3205 o   Jim McDonough <jmcd@us.ibm.com>
3206     * BUG 2338: Fix coredump when OS/2 checks for long file name 
3207       support (with .+,;=[].) (thanks to Guenter Kukkukk).
3210 o   Jason Mader <jason@ncac.gwu.edu>
3211     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
3212       2341, 2342)
3215 o   Jim McDonough <jmcd@us.ibm.com>
3216     * Fixes for server schannel implementation when 'restrict 
3217       anonymous = 1' is set in smb.conf.
3218     * Fix bug in server side lookupsids reply that crashed lsass.exe 
3219       on Windows clients.
3220     * Fix 'net rpc trustdom establish'.
3221     * BUG 2062: Turn off broadcast for all 390 NICs.
3222     * Fix 'net rpc trustdom add' to correctly add new domain trust 
3223       accounts.  This will eventually replace 'smbpasswd -a -i'.
3224     * Implement 'net rpc trustdom del', including client side of 
3225       samr_remove_sid_from_foreign_domain.
3226     * Bring IBM Directory Server schema up to date with openldap 
3227       schema.
3228     * Allow for better protection of sensitive attributes in IBM
3229       Directory Server.
3232 o   Stefan Metzmacher <metze@samba.org>    
3233     * Fix memleaks in the nttrans code.
3236 o   Mike Nix <mnix@wanm.com.au>
3237     * Add SMBsplopen and SMBsplclose client calls.
3240 o   Justin Ossevoort <justin@snt.utwente.nl>
3241     * BUG 2316: Fix crashes in pdb_pgsql.
3244 o   James Peach <jpeach@sgi.com>
3245     * Fixes in string handling code.
3246     * Fix oplock2 test in client smbtorture.
3249 o   Tim Potter <tpot@samba.org>
3250     * Fix up example pdb modules after prototype change for 
3251       setsampwent.
3252     * BUG 2058: Fix for shared object creation in examples.
3253     * BUG 2315: Fix segv in LSA privileges server code.
3254     * Build fixes for python wrapper libraries.
3257 o   Richard Sharpe <rsharpe@samba.org>
3258     * BUG 2044: Fix segv in profiles tool.
3259     * Fix bogus error messages when enumerating user group 
3260       membership via 'net rpc'.
3263 o   Simo Sorce <idra@samba.org>
3264     * Debian packaging fixes.
3267 o   John Terpstra <jht@samba.org>
3268     * Add the capability to set account description using pdbedit.
3271 o   Doug VanLeuven <roamdad@sonic.net> 
3272     * Add more case/realm/name permutations to the kerberos keytab.
3273     * AIX compile fixes.
3276 o   Jelmer Vernooij <jelmer@samba.org>
3277     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
3278     * BUG 1957: Implement minimal update of fields in mySQL pdb 
3279       module.
3280     
3282 o   Torsten Werner <torsten.werner@assyst-intl.com>
3283     * BUG 2405: Define 'lpstat' printcap output on HPUX.
3284     
3286 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
3287     * Detect infinite loops when traversing tdbs.
3290       --------------------------------------------------
3291                    ==============================
3292                    Release Notes for Samba 3.0.11
3293                              Feb 5, 2005
3294                    ==============================
3296 Common bugs fixed in 3.0.11 include:
3298   o Crash in smbd when using CUPS printing.
3299   o Parsing error of other SIDs included in the user_info_3
3300     structure returned from domain controllers.
3301   o Inefficiencies when searching non-AD LDAP directories.
3302   o Failure to expand variables in user domain attributes
3303     in tdbsam and ldapsam.
3304   o Memory leaks.
3305   o Failure to retrieve certain attribute when migrating from 
3306     a Windows DC to a Samba DC via 'net rpc vampire'.
3307   o Numerous printing bugs bugs including memory 
3308     bloating on large/busy print servers.
3309   o Compatibility issues with Exchange 5.5 SP4.
3310   o sendfile fixes.
3312 Additional features introduced in Samba 3.0.11:
3314   o Winbindd performance improvements.
3315   o More 'net rpc vampire' functionality.
3316   o Support for the Windows privilege model to assign rights
3317     to specific SIDs.
3318   o New administrative options to the 'net rpc' command.
3321 ============
3322 LDAP Changes
3323 ============
3325 If "ldap user suffix" or "ldap machine suffix" are defined in
3326 smb.conf, all user-accounts must reside below the user suffix,
3327 and all machine and inter-domain trust-accounts must be located 
3328 below the machine suffix.  Previous Samba releases would fall 
3329 back to searching the 'ldap suffix' in some cases.
3332 ===============
3333 Privilege Model
3334 ===============
3336 Samba 3.0.11 supports the following assignable rights
3338 SeMachineAccountPrivilege  Add machines to domain
3339 SePrintOperatorPrivilege   Manage printers
3340 SeAddUsersPrivilege        Add users and groups to the domain
3341 SeRemoteShutdownPrivilege  Force shutdown from a remote system
3342 SeDiskOperatorPrivilege    Manage disk shares
3344 These rights can be assigned to arbitrary users or groups
3345 via the 'net rpc rights grant/revoke' command.  More details
3346 of Samba's privilege implementation can be found in the 
3347 Samba-HOWTO-Collection.
3348     
3350 ######################################################################
3351 Changes
3352 #######
3354 Changes since 3.0.10
3355 --------------------
3357 smb.conf changes
3358 ----------------
3360     Parameter Name                      Action
3361     --------------                      ------
3362     afs token lifetime                  New
3363     enable privileges                   New
3364     ldap password sync                  Alias
3365     min password length                 Deprecated
3366     winbind enable local accounts       Deprecated
3369 commits
3370 -------
3371 o   Jeremy Allison <jra@samba.org>
3372     * Extend vfs to add seekdir/telldir/rewinddir.
3373     * Fix dirent return.
3374     * Fix bugs when handling secondary trans2 requests.
3375     * Implementation of get posix acls in UNIX extensions.
3376     * Added set posix acl functionality into the UNIX extensions code.
3377     * Updated config.guess/config.sub .
3378     * Fix error reply when 'follow symlinks = no'.
3379     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
3380       not already zero.
3381     * Fixes for LARGE_READX support.
3382     * Fix the problem we get on Linux where sendfile fails, but we've
3383       already sent the header using send().
3384     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
3385       inherit = no'.
3386     * BUG 2088: Ensure inherit permissions is only applied on a new 
3387       file, not an existing one.
3388     * Don't go fishing for the krb5 authorization data unless we know
3389       it's there.
3390     * Fixes for libsmbclient to ensure that interrupted system calls
3391       are restarted minus the already expired portion of the timeout
3392       (based on work by Derrell Lipman).
3393     * More Unicode string parsing fixes.
3394     * Convert the winreg pipe to use WERROR returns.
3395     * Make all LDAP timeouts consistent (input from Joe Meadows 
3396       <jameadows@webopolis.com>).
3397     * BUG 2231: Remove double "\\" from client findfirst.
3398     * BUG 2238: Fix memory leak in shadow copy vfs.
3399     * Return correct DOS/NT error code on transact named pipe on 
3400       closed pipe handle.
3401     * BUG 2211: Fix security descriptor parsing bug (based on work by 
3402       Mrinal Kalakrishnan <mail@mrinal.net>).
3403     * BUG 2270: Fix memory leaks in cups printing backend support 
3404       (based on work by Lars Mueller).
3405     * BUG 2255: Fix debug level in kerberos error messages.
3406     * BUG 2110: Ensure we convert to ucs2 correctly after the 
3407       CAN-2004-0930 patch.
3408     * Make strict locking an enum. Auto means use oplock optimization.
3409     * Fix client  & server to allow 127k READX calls.
3410     * More *alloc fixes (includes additional fixes by Albert Chin.
3411     * Catch sendfile errors correctly and return the correct values 
3412       we want the caller to return.
3413     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
3414       for better use by desktop environments such as GNOME.
3415     * Ensure we can't remove a level II oplock without having the
3416       shared memory area locked.
3417             
3419 o   Timur Bakeyev <timur@com.bat.ru>
3420     * BUG 2100: change the way we check for errors after a dlopen().
3421     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
3422     
3423     
3424 o   Andrew Bartlett <abartlet@samba.org>
3425     * Clarify error message when 'lanman auth = no'.
3426     * Remove the unnecessary UTF-8 conversion calls in the calls to
3427       auth_winbind from smbd.
3428     * Don't store the auth-user credentials with the cli_state* as 
3429       this can cause the schannel setup to fail when the auth-user
3430       domain is not our primary domain.
3433 o   Grigory Batalov <bga@altlinux.org>
3434     * Fix encoding while receiving of a message which was actually 
3435       sent using STR_ASCII.
3438 o   Daniel Beschorner <db@unit-netz.de>
3439     * BUG 603: Correct access mask check for _samr_lookup_domain()
3440       to work with Windows RAS server
3443 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
3444     * Fix missing printer_tdb reference decrement.
3445     
3447 o   Gerald (Jerry) Carter <jerry@samba.org>
3448     * BUG 2073: fall back to smb_name if current_user_info is not
3449       available in lp_file_list_changed().
3450     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
3451       errors.
3452     * Don't run the background LPQ daemon when we are running in
3453       interactive mode.
3454     * prevent the background LPQ daemon from updating the print queue
3455       cache just because multiple smbd processes sent a message that
3456       it was out of date.
3457     * consolidate printer searches to use find_service rather than 
3458       for(...) loops.
3459     * BUG 2091: don't remove statically defined printers in 
3460       remove_stale_printers().
3461     * Fix logic error in add_a_form() that only compared N characters 
3462       instead of the entire form name.
3463     * BUG 2107: fix memory bloating caused by large numbers of 
3464       print_queue_updates() requests sent via messages.tdb.
3465     * Check the setprinter(3) based on the access permissions on 
3466       the handle and avoid the call to print_access_check().
3467     * Re-instantiate previous semantics for calling init_unistr2() 
3468       with a NULL source buffer.
3469     * Support Windows privilege model for assigning rights
3470       to specific SIDs.  Based on work by Simo Sorce in the trunk 
3471       svn branch.  This feature is controlled by the 'enable 
3472       privileges = [yes|no]' smb.conf(5) option.
3473     * Add some smb.conf scripts for add/delete/change shares and 
3474       deleting cups printers.
3475     * Expand variables in the profile path, logon home and logon script 
3476       values when using either tdbsam or ldapsam.
3477     * Add Domain Admins (Full Control) to the default printer security 
3478       descriptor if we are a DC.
3479     * RedHat and Fedora Packaging fixes for perl dependencies.
3480     * Remove unused schema items from OpenLDAP schema file.
3481     * Remove duplicate enumeration of "Windows x86" architecture
3482       when listing printer drivers via rpcclient.
3483     * Fail set_privileges() if 'enable privileges = no' to prevent 
3484       confused admins.
3485     * Fix segfault in cups_queue_get().
3486     * Tighten restrictions on changing user passwords when 
3487       the connected user possesses the SeMachineAccountPrivilege.
3488     * Ensure we set NETBIOSNAME.domainname for the long machine name
3489       when publishing printers in AD (based on input from Rob Foehl).
3490     * Mark 'winbind enable local accounts' as deprecated.
3491     * Mark testprns tool as deprecated.
3492     * Allow root to grant/revoke privilege assignments.
3493     * Correct interaction between user rights and se_access_check() on
3494       SAMR objects.
3495     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
3496       class.
3497     * BUG 2262: Add support in configure.in for *freebsd6*.
3498     * BUG 2266: Portability fixes for quota code on FreeBSD4.
3499     * BUG 2264: Remove shutdown and abortshutdown commands from 
3500       rpcclient in favor of using the same functions in 'net'.
3501     * BUG 2295: Prevent smbd from returning an empty server name
3502       in certain lanman api calls.
3503     * BUG 2290: Fix autogen.sh script in examples (based on original
3504       patch from Lars Mueller).
3505     * Fix bug enumerating domain trusts in security = ads.
3506     * Fix segv in rpcclient's dsenumdomtrusts.
3507     * Fix bug in expansion of %U and %G in included filenames.
3508     * BUG 2291: Restrict creation of server trust and domain trust
3509       accounts to members of the "Domain Admins" group.
3511 o   Nadav Danieli <nadavd@exanet.com>
3512     * Short circuit some is_locked() tests if we are oplocked.
3513     
3514     
3515 o   Guenther Deschner <gd@samba.org>
3516     * Allow 'localhost' as a valid server name in the smbd for the
3517       spoolss calls.
3518     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
3519       Mewburn for the input).
3520     * BUG 2059: Add additional checks needed after logic change to the
3521       HAVE_WRFILE_KEYTAB detection test.
3522     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
3523       Samba DC.  Allow us to lookup at least our own SID.
3524     * More fixes to have proper German in swat (Thanks to Reiner 
3525       Klaproth and Björn Jacke.
3526     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
3527       setting security descriptors with smbcacls and using with 
3528       the -S or -M switch. 
3529     * Include the munged_dial, bad_password_count, logon_count, and 
3530       logon_hours attributes when running 'net rpc vampire'.
3531     * Fix segfault in idmap_rid.
3532     * When winbindd is operating in the multi-mapping mode of 
3533       idmap_rid, allow BUILTIN domain-mapping.
3534     * Display infolevel 12 in query_dom_info in rpcclient.
3535     * Fix bug in winbindd's lowercasing of usernames.
3536     * Allow -v or -l for displaying verbose groupmap-listing 
3537       as well as "verbose".
3538     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
3539       vampire'.
3540     * Close LDAP-Connection before retrying to open a new connection 
3541       in the retry-loop.
3542     * Marking "min password length" as depreciated.  
3543     * Implement SAMR query_dom_info-call info-level 8 server- and 
3544       client-side, based on samba4-idl.
3545     * Allow rpcclient to define a port to use when connecting 
3546       to a remote server.
3547     * Allow Account Lockout with Lockout Duration "forever" (until 
3548       admin unlocks) to be set and displayed in User Manager.
3549     * Allow to set acb_mask in rpcclient's enumdomusers.
3550     * Add more generic rootDSE inspection function to check 
3551       for given controls or extensions and remember these on a 
3552       per server basis.
3553     * Improve LDAP search efficiency by passing the acb_mask to 
3554       pdb_setsampwent().
3555     * Fixes for ldapsam_enum_group_memberships().
3556     * Add createdomgroup to rpcclient.
3557     * Add "net rpc user RENAME"-command.
3558     * Display sam_user_info_7 in rpcclient.
3559     * Make multi-domain-mode in idmap_rid accessible from outside 
3560       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
3561     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
3562       "Lockout Duration: Forever".
3563     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
3564       config utility.
3565     * Require assignment of Administrator SID in the passdb 
3566       backend.  Fall back to the default name of 'Administrator' if
3567       the lookup fails rather than using the first name in the
3568       default 'admin users' list.
3569     * Enhance LDAP failure debug messages.
3570     * BUG 2291: Call the 'add machine script' for server trust and 
3571       domain trust accounts as well as workstation accounts.
3572     
3573     
3574 o   Levente Farkas <lfarkas@lfarkas.org>
3575     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
3576       packages.
3579 o   Jay Fenlason <fenlason@redhat.com>
3580     * Fix crash in 'net join' due to calling free on 
3581       static buffers.
3582     * Several patches from RedHat's Fedora Core RPMS.
3585 o   Rob Foehl <rwf@loonybin.net>.
3586     * Compiler warnings.
3587     * Try modifying printer published attributes before adding it a
3588       new entry in AD.
3589     * Solaris packaging fixes.
3590     * Don't force the cups printer-make-and-model tag as the comment
3591       for autoloaded printers.
3592     * Implement caching of names from printcap to support a true
3593       'printcap cache time'.
3596 o   Johann Hanne <jhml@gmx.net>
3597     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
3600 o   Jeff Hardy <hardyjm@potsdam.edu>
3601     * Example script for 'add print command' when using CUPS.
3604 o   Deryck Hodge <deryck@samba.org>
3605     * Add -P (--password-only-menu) to SWAT for displaying only the
3606       password change page to non-root users.
3609 o   David Hu <david.hu@hp.com>
3610     * Copy structure from print_queue_update() message rather than 
3611       referencing it.  Fixes seg fault on HP-UX.
3612       
3613       
3614 o   Buck Huppmann <buckh@pobox.com>
3615     * BUG 2186: Don't free uninitialized credentials.
3616     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
3617       dnsDomainName != realm.
3618    
3620 o   Björn Jacke <bjoern@j3e.de>
3621     * BUG 2040: Ensure the locale is reset to C to get ASCII-
3622       compatible toupper/lower functions.
3625 o   William Jojo <jojowil@hvcc.edu>
3626     * Fix HPUX sendfile and add configure.in tests and code for
3627       sendfile on AIX.
3628     * AIX 5.3 compile fixes.
3631 o   Volker Lendecke <vl@samba.org>
3632     * Optimize anonymous session setups by workstations in a 
3633       Samba domain.
3634     * Reimplment the QueryUserAliases() server RPC reply.
3635     * Re-add the getpwnam-cache for performance.
3636     * Cache the result of a pdb_getsampwnam for later SID lookup 
3637       queries.
3638     * Unify the means of localtaing a user's global groups on a 
3639       Samba DC.
3640     * Fix bug when serving the 'Start Menu' in a roaming user profile..
3641     * Map more pre-defined NT security descriptors to AFS acls.
3642     * Add timeout to AD search requests.
3643     * If a connection to a DC is requested (in winbindd), open
3644       connections simultaneously to all DCs found.
3645     * Memleak fixes.
3646     * Fix logic error in handling of 'printcap name' parameter.
3647     * Prevent winbindd from SPAM'ing the log files with 'user root 
3648       does not exist'.
3649     * Backport samr_DomInfo2 IDL specification from Samba 4.
3650     * Implement smbstatus -n, don't lookup users and groups.
3651     * Implement simple mapping that maps the space to another character 
3652       defined by afsacl:space.
3653     * Add support for 'net idmap delete <idmap-file> <SID>'.
3654     * Add new parameter 'afs token lifetime' tells the AFS client 
3655       when to throw away a token (patch from kllin@it.su.se).
3656     * Initial work to allow support for multiple pipe opens on a 
3657       single cli_state*.
3658     * Ensure that we still retrieve the netbios name of any DC 
3659       listed as a 'password server' to work around cases where the 
3660       DC was defined using an IP address or fqdn.
3661     * Fix memleak in winbindd connection code.
3662     * Fix cli_samr_queryuseraliases.
3663     * Allow wbinfo --user-sids to expand expand domain local groups.
3664     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
3665     * Fix parsing of other_sids in net_user_info3.
3666     * Correct bad failure logic when user was not a member of any 
3667       domain local groups.
3668     
3670 o   Jason Mader <jason@ncac.gwu.edu>
3671     * BUG 2113, 2289: Remove dead code.
3674 o   Jim McDonough <jmcd@us.ibm.com>
3675     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
3676       clients.  If it fails, fall back to WINREG.
3677     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
3678     * BUG 2198: Set password last change time when running 'net rpc 
3679       vampire'.
3680     * Add "refuse machine password change" policy field.
3683 o   Luke Mewburn <lukem@NetBSD.org>
3684     * BUG 2150: shmget() - Use POSIX definitions instead of non-
3685       standard SHM_.
3686       
3688 o   Stefan Metzmacher <metze@samba.org>    
3689     * autogen.sh fixes.
3692 o   Buchan Milne <bgmilne@mandrake.org>
3693     * Mandrake packaging fixes.
3696 o   Lars Mueller <lmuelle@samba.org>
3697     * Fix build of libsmbclient on x86_64.
3698     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
3699       is installed in a non-default location.
3700     * BUG 2050: Calculate max_fd for select correctly.
3701     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
3702       script.
3705 o   Jason Mader <jason@ncac.gwu.edu>
3706     * BUG 2069: Remove unused variables.
3707     * BUG 2075: Remove dead code paths.
3708     * BUG 2083: Fix compiler warnings caused by bad type casts.
3711 o   James Peach <jpeach@sgi.com>
3712     * Fix rewinddir -> rewind_dir when using VFS macros.
3713     
3715 o   Gavrie Philipson <gavrie@disksites.com>
3716     * BUG 1838: Remove stale printers imeeddiately when 
3717       processing a SIGHUP and during smb.conf reload.
3719       
3720 o   Tim Potter <tpot@samba.org>
3721     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
3722     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
3723     * Change the license for the winbindd external interface 
3724       more liberal.
3725     * HP-UX compile fixes.
3726     * Compile fixes after new setsampwent() API.
3729 o   Richard Renard <rrenard@idealx.com>
3730     * Update Netscape DS 5.2 LDAP schema.
3733 o   Simo Sorce <idra@samba.org>
3734     * Backport pdbedit changes from trunk.
3735     * Allows the add/change share command to create the shared 
3736       directory directory on disk.
3737     * Log a warning in testparm if a print command is defined for
3738       a print service using 'printing = cups'.
3739      
3740 o   Jelmer Vernooij <jelmer@samba.org>
3741     * Bug fixes for pdb_{xml,pqsql,xml}
3742     * Fixes for pdb_mysql.
3745 o   Andrew Tridgell <tridge@samba.org>
3746     * Bring Samba3 into line with the Samba4 password change code.
3747     
3749 o   Shiro Yamada <shiro@miraclelinux.com>
3750     * BUG 2190: Force SWAT to display parameters in unix charset and 
3751       not UTF-8.
3754       --------------------------------------------------
3755                    ==============================
3756                    Release Notes for Samba 3.0.10
3757                              Dec 16, 2004
3758                    ==============================
3760 Common bugs fixed in 3.0.10 include:
3762   o Fix for security issues described in CAN-2004-1154.
3765 Changes since 3.0.9
3766 -------------------
3768 commits
3769 -------
3771 o   Jeremy Allison <jra@samba.org>
3772     * Added checks surrounding all *alloc() calls to fix
3773       CAN-2004-1154.
3774     * Fix long standing memory size bug in bitmap_allocate().
3775     * Remove bogus error check in deferred open file serving 
3776       code.
3779 o   Thomas Bork <tombork@web.de>
3780     * Fix autoconf script on platforms using a version of GNU ld
3781       that does not include a date stamp in the output of --version.
3784 o   Luke Mewburn <lukem@NetBSD.org>
3785     * Fix the swat install script to deal with the new image
3786       destination directory used by the docs.
3787      
3790       --------------------------------------------------
3792                    =============================
3793                    Release Notes for Samba 3.0.9
3794                              Nov 15, 2004
3795                    =============================
3797 Common bugs fixed in 3.0.9 include:
3799   o Problem updating roaming user profiles.
3800   o Crash in smbd when printing from a Windows 9x client.
3801   o Unresolved symbols in libsmbclient which caused
3802     applications such as KDE's konqueror to fail when
3803     accessing smb:// URLs.
3806 Changes since 3.0.8
3807 -------------------
3810 commits
3811 -------
3813 o   Jeremy Allison <jra@samba.org>
3814     * Correctly detect errno for no acl/ea support.
3815     * BUG 2036: Fix seg fault in 'net ads join'.
3817     
3818 o   Gerald (Jerry) Carter <jerry@samba.org>
3819     * Solaris packaging fixes.
3820     * Fix seg fault in lanman printing code.
3821     * BUG 2017: fix testparm reporting for the passwd program 
3822       string.
3823     * Fix output of smbstatus to match the man page.
3824     * BUG 2027: fix conflict with declaration MD5_CTX in system 
3825       headers.
3826     * 2028: Avoid false error messages when copying a long 
3827       printer name to the device mode.
3830 o   Guenther Deschner <gd@samba.org> 
3831     * Allow deldriverex in rpcclient to delete drivers for a 
3832       specific architecture and a specific version.
3833     * Fix a couple of rpcclient spoolss commands (setprinter, 
3834       setprintername, getdriver) w.r.t to printer-naming scheme.
3835       Allow 'localhost' in the server string for certain server-side
3836       spoolss functions.
3837     * BUG 2015: Do not fail on setting file attributes with 
3838       acl support enabled.
3841 o   Michel Gravey <michel.gravey@optogone.com>
3842     * Fix build when using gcc 3.0.
3845 o   Volker Lendecke <vl@samba.org>
3846     * Fix tdb open logic when checking our local_pid after 
3847       the fork().
3850 o   Jim McDonough <jmcd@us.ibm.com>
3851     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
3852       non-root user.
3855 o   Luke Mewburn <lukem@NetBSD.org>
3856     BUG 1661: Fix KRB5_SETPW-defines
3859 o   Buchan Milne <bgmilne@mandrake.org> 
3860     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
3863 o   Lars Mueller <lmuelle@samba.org>
3864     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
3867 o   Martin Zielinski <mz@seh.de>
3868     * Add DeletePrinterDriverEx() functionality to rpcclient.
3869     
3871       --------------------------------------------------
3873                    =============================
3874                    Release Notes for Samba 3.0.8
3875                              Nov 7, 2004
3876                    =============================
3878 Common bugs fixed in 3.0.8 include:
3880   o Compile fixes for HP-UX
3881   o Fixes for the printer publishing code used when joined to 
3882     an AD domain.
3883   o Incompatibilities with file system quotas.
3884   o Several bugs in the spoolss printing code and print system 
3885     backends.
3886   o Inconsistencies in the username map functionality when 
3887     configured on domain member servers.
3888   o Various compile warnings and errors on various platforms.
3889   o Fixes for kerberos interoperability with Windows 200x 
3890     domains when using DES keys.
3891   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
3892   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
3894     
3895 New features included in the 3.0.8 release are:
3897   o New migration functionality added the the net tool
3898     for files/directories, printers, and shares.
3899   o New experimental idmap backend for assigning uids/gids
3900     directly based on the user/group RID when acting as a
3901     member of single domain without any trusts.
3902   o Additional printer migration support for XP/2003 platforms.
3905 ===========================
3906 Change in Winbindd Behavior
3907 ===========================
3909 All usernames returned by winbindd are now converted to lower 
3910 case for better consistency.  This means any winbind installation
3911 relying on the winbind username will need to rename existing 
3912 directories and/or files based on the username (%u and %U) to lower 
3913 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
3914 include mail spool files, home directories, valid user lines in 
3915 smb.conf, etc....
3918 ======================
3919 Change in Username Map
3920 ======================
3922 Previous Samba releases would only support reading the fully qualified 
3923 username (e.g. DOMAIN\user) from the username map when performing a 
3924 kerberos login from a client.  However, when looking up a map 
3925 entry for a user authenticated by NTLM[SSP], only the login name would be
3926 used for matches.  This resulted in inconsistent behavior sometimes
3927 even on the same server.
3929 Samba 3.0.8 obeys the following rules when applying the username
3930 map functionality:
3932   * When performing local authentication, the username map is 
3933     applied to the login name before attempting to authenticate 
3934     the connection.
3935   * When relying upon a external domain controller for validating
3936     authentication requests, smbd will apply the username map 
3937     to the fully qualified username (i.e. DOMAIN\user) only
3938     after the user has been successfully authenticated.
3941 ######################################################################
3942 Changes
3943 #######
3945 Changes since 3.0.7
3946 -------------------
3948 smb.conf changes
3949 ----------------
3950     Parameter Name                      Action
3951     --------------                      ------
3952     force printername                   New
3953     sendfile                            disabled by default
3956 commits
3957 -------
3959 o   Jeremy Allison <jra@samba.org>
3960     * Ensure extended security bit is on only if we negotiated 
3961       extended security.
3962     * Simplify statcache to use an in-memory tdb. 
3963     * If you're selecting a hash algorithm for tdb, you need 
3964       to do it at open time.
3965     * Removed old dir caching code - not being used now we 
3966       have the statcache anyway.
3967     * Simplify the mangle hash code to use an in-memory tdb.
3968     * Merge iconv changes from Samba 4 branch.
3969     * Fix parsing of names ending in dot and a few other error 
3970       returns.
3971     * BUG 1667: Smbpasswd file could be left locked on some 
3972       error exits.
3973     * Fixes for smbclient tar functionality.
3974     * BUG 1743: Fix logic bug the deferred open code.
3975     * Don't try to set security descriptors on shares where 
3976       this has been turned off.
3977     * Return correct error codes on old SEARCH call.
3978     * Ensure we set errno = E2BIG when we overflow in the 
3979       fast-path character conversion code.
3980     * Fix the roundup problem (returning 1mb roundup) for 
3981       non-Windows clients.
3982     * Added 'stat' command to smbclient to exercise the 
3983       UNIX_FILE_BASIC info level.
3984     * Fix bug where we could incorrectly set sparse attribute.
3985     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
3986       (reported by Taj Khattra <taj.khattra@gmail.com>).
3987     * Remove locked keys tdb code.
3988     * BUG 1886: Prevent delete on close being set for readonly files 
3989       (and return the correct error code).
3990     * Ensure we pass most of the new lock tests except for the cancel 
3991       lock which is yet to be added (merged from Samba 4 branch).
3992     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
3993     * BUG 1956: Ensure errno is saved and restored consistently on a 
3994       normal_close.
3995     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
3996       that all of the appropriate service principal names are set 
3997       upon joining an AD domain.
3998     * Fix the correct use of resume name in the trans2 code.
3999     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
4000       correct salt used when generated the DES key after joining an 
4001       AD domain.
4002     * Enhanced krb5 detection routines in the autoconf scripts.
4003   
4005 o   Andrew Bartlett <abartlet@samba.org>
4006     * Avoid changing the machine account password in the passdb 
4007       backend, when it has 'already been changed'.  This occurs 
4008       in situations where the secure channel between the workstation 
4009       and the DC breaks down, such as occurred in the MS04-11 
4010       security patch.
4011     * Fix utility name in error message in ntlm_auth.
4012     * Fix NTLMv2 for use with pam_winbind.
4013     * Remove conversion to and from UTF8 on the winbind pipe.
4014     * Allow 'require_membership_of' and 'require-membership-of'.
4015     * Fix the error code for 'you didn't specify a domain' in 
4016       ntlm_auth.
4017     * Use sys_getgroups() rather than scanning all groups 
4018       when generating SAMR replies.
4021 o   Igor Belyi <sambauser@katehok.ac93.org>
4022     * Ensure pdb user is deleted first before deleting UNIX 
4023       user (LDAP backend needs this ordering).
4026 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
4027     * Fix core dump in 'net rpc vampire'.
4028     
4030 o   Vince Brimhall <vbrimhall@novell.com>
4031     * Make ldapsam_compat robust against NULL attributes.
4034 o   Gerald Carter <jerry@samba.org>
4035     * Don't limit the number of groups returned by winbindd_getgroups()
4036       by NGROUPS_MAX.
4037     * BUG 1519: Match Windows 2000 behavior when opening a 
4038       printer using a servername in the form of an IP address or 
4039       DNS name.
4040     * BUG 1907: remove extra slashes from the printer name in 
4041       getprinterdriverdir_1().  
4042     * Fix standard_sub_snum() to use the current user's gid.
4043     * Fix background queue update bug (based on Volker's initial work 
4044       in 3.1.0).
4045     * Add 'force printername' service parameter for people that want 
4046       to enforce printername == sharename for spoolss printing.
4047     * Ensure consistent usage of the username map.  Use the fully 
4048       qualified DOMAIN\user format for 'security = domain|ads' and 
4049       apply after authentication has succeeded.
4050     * Cosmetic fix for getent output -- lowercase the username only 
4051       and not the complete domain\username string.
4052     * Packaging fixes for Solaris, Redhat, & Fedora.
4054     
4055 o   Sean Chandler <sean.chandler@verizon.net>
4056     * Fix memlieak in cliconnect.c.
4059 o   Darren Chew <darrenc@vicscouts.asn.au>
4060     * Solaris packaging fixes.
4061     
4063 o   Nalin Dahyabhai <nalin@redhat.com>
4064     * SMB signing fix for 56-bit DES session keys.
4067 o   Guenther Deschner <gd@samba.org> 
4068     * add IA64 to the architecture table of printer-drivers.
4069     * Add file/share/printer migration functionality to 
4070       the net command.
4071     * Show correct help for net groupmap commands.
4072     * Fix deadlock loop in winbind's required_membership_sid
4073       verification.
4074     * Bring the same level of "required_membership"-functionality 
4075       that ntlm_auth uses, to pam_winbindd as well.
4076     * Prevent "net lookup kdc" from seg-faulting when
4077       using our own implementation of krb5_lookup_kdc with 
4078       heimdal.
4079     * Adding getprinter level 7 to rpcclient.
4080     * Support migrating printers|shares|files from Server A 
4081       to Server B while running the net-command on client C.
4082     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
4083       failure of this call non-critical (Thanks to Love @ Heimdal
4084       for the explanation and patch).
4085     * Fix typos in net's usage-output.
4086     * Fix the paranoia-check to ensure the ldap-attribute and the
4087       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
4088       are identical.
4089     * Fix several bugs in the _samr_query_useraliases() rpc reply.
4090     * Check correct string length when verifying password-policies 
4091       and using extended characters (Thanks to Uwe Morgenroth from CC 
4092       Compunet and Volker).
4093     * Make 'password history'-behavior in ldapsam more consistent. 
4094     * Adding "Windows x64" as architecture string and driverdir "x64" 
4095       for the 64bit AMD platform.
4096     * BUG 1343: Readd WKGUID-binding to match the correct default-
4097       locations of new User-, Group- and Machine-Accounts in Active 
4098       Directory (this got lost during the last trunk-merge).
4099     * Fix printer-migration w.r.t. to new naming-convention for
4100       policy-handles.
4101     * Allow to migrate win2k3/xp-drivers as well. 
4102     * Add client-side support of triggering ads printer publishing 
4103       over msrpc setprinter calls inside the net-tool. 
4104     * Add the idmap_rid module (written in conjunction with 
4105       Sumit Bose <sbose@suse.de>).
4106     * BUG 1661: Fix build with recent heimdal releases.
4107     * Prevent idmap_rid from making unnecessary calls to domain 
4108       controllers for trusted domains.
4111 o   Arthur van Dongen <avdongen@xs4all.nl>
4112     * Fix typos in pam_winbind log messages and SuSE 
4113       packaging files.
4116 o   Rob Foehl <rwf@loonybin.net>
4117     * Typo fixes for log messages in printer publishing code.
4118     * Fix memory leak in printer publishing code.
4119     * Ensure print_backend_init() only gets called once.
4120     * Have smbd check the published status of all printers 
4121       at startup.
4122     * Cleanup up the XXX_a_printer() API for consistency.
4123     * Refactored the printer publishing code and include better 
4124       error handling.
4127 o   Steve French <sfrench@us.ibm.com>
4128     * Fix IP address override in mount.cifs mount helper and clean 
4129       up warning messages from the sparse tool and expand syntax help.
4130     * Strip guest mount option off before sending to kernel mount 
4131       routine to avoid logging spurious message.
4134 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
4135     * BUG 1732: Limit share names returned by RAP based on windows 
4136       character width, not unix character width.
4137     * BUG 1498: Ensure that acl entries are stored in the correct 
4138       order.
4141 o   Brett Funderburg <brett@deepfile.com>
4142     * Pass create options parameter to nt_create_andx() function
4143       from the python bindings.
4144     * BUG 1864: Add sd->type field to security descriptor Python 
4145       representation.
4146     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
4147       when trying to return the security descriptor for a file.
4148     * BUG 1884: Fixes for the Python bindings to use the value
4149       of the desired_access filed passed into the lsa_open_policy()
4150       routines.
4153 o   Michael Gravey <michel.gravey@optogone.com>
4154     * BUG 1776: Fix warnings when building modules caused by 
4155       certain versions of GNU ld not using the the default 
4156       --allow-shlib-undefined flag.
4159 o   Chris Hertel <crh@samba.org>
4160     * Fix logic bug in splay tree data structure when finding 
4161       a leaf node.
4162     * Fix bug where an invalid MAC address would be printed by 
4163       a node status lookup from nmblookup.
4165       
4166 o   Uli Iske <iske@elkb.de>
4167     * Update the DNS/eDirectory LDAP schema file.
4170 o   Björn Jacke <bjacke@sernet.de>
4171     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
4172       UTF-8.  Reformat msgstr in msg-files to UTF-8.
4173     * Do not use display charset for swat output.
4174     * Convert the share names correctly from unix encoding to web 
4175       encoding and vice versa. 
4176     * Convert files from status page from unix charset to UTF-8.
4179 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
4180     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
4183 o   Tom Lackemann <cessnatomny@yahoo.com>
4184     * BUG 1954: Fix memory leak in posix acl code.
4187 o   Volker Lendecke <vl@samba.org>
4188     * Robustnss fix for winbindd when sending multiple requests 
4189       at a high rate for a slow operation.  
4190     * Solve the problem of user sids ending up with gid's 
4191       and vice versa.
4192     * Use sys_fork instead of fork for the dual daemon so that 
4193       we get the correct debug pid in the logfiles.
4194     * Based on patch from jmcd, implement special lists for the LDAP 
4195       user attributes to delete.
4196     * Fix creation of aliases via usrmgr. Winbind was too strict 
4197       checking the type of sids.
4198     * Lowercase all usernames returned by winbind.
4199     * BUG 1545, 1823: Only issue the ldap extended password change 
4200       operation if the ldap server supports it.  Also ignore object 
4201       class violation errors from the extended operation.
4202     * Optimization for 'idmap backend = ldap': When asking sid2id 
4203       for the wrong type, don't ask ldap when we have the opposite mapping 
4204       in the local tdb.
4205     * Fix ldapsam_compat homeDrive.
4206     * Add usersidlist and allowedusers subcommands to the net tool
4207       in order to support scanning a file server's share and list 
4208       all users who have permission to connect there.
4209     * Allow for multiple DC's to be named as #1c names in lmhosts.
4210     * Memory leak fixes.
4211     * Fix checks for the local pid of an smbd process after 
4212       reopening tdbs.
4215 o   Herb Lewis <herb@samba.org>
4216     * Added tdbtool to be built by default.
4219 o   Love <lha@stacken.kth.se>
4220     * BUG 1955: Inconsistent error return.
4223 o   Sorin Manolache <sorinm@gmail.com>
4224     * Memory leak fix.
4227 o   Jim McDonough <jmcd@us.ibm.com>
4228     * Allow 'net ads lookup' to rely on command line arguments 
4229       if contacting an ADS server fails; utilize cldap for lookups.
4230     * Fixup formatting errors in TDB_LOG calls; add printf attribute
4231       support to tdb log functions.
4234 o   Bill McGonigle <bill+samba@bfccomputing.com>
4235     * BUG 1926: Type in debug message.
4238 o   Sean McGrath
4239     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
4240       for libsmbclient.
4243 o   Luke Mewburn <lukem@NetBSD.org>
4244     * BUG 1782: Prevent testparm from displaying parameter synonyms.
4247 o   Stefan Metzmacher <metze@samba.org>    
4248     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
4249     * Fix client quota support.
4250     * Fix opening of system quota file.
4253 o   Lars Mueller <lmuelle@samba.org>
4254     * Small fixes for autogen.sh to deal with version detection 
4255       of autoconf and autoheader; fixes for examples using 
4256       libtool to adhere to stricter syntax of newer version.
4259 o   Henrik Nordstrom <hno@squid-cache.org>
4260     * Allow winbindd to return the correct number of groups 
4261       when the groups array must be enlarged.
4264 o   Narayana Pattipati <narayana.pattipati@wipro.com>
4265     * Solaris autoconf detection fixes.
4268 o   Tim Potter <tpot@samba.org>
4269     * BUG 1360: (correct fix) Use -Wl when passing flags to 
4270       the linker.
4271     * HP-UX compile fixes (from JBravo on #samba-technical).
4272     * BUG 1731: More HP-UX compiles fixes.
4273     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
4274       spits the dummy otherwise.
4275     * Fix bug in Python printerdata wrapper.
4276     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
4277       <bugzilla-samba@thewrittenword.com>).
4278     * Fix parameter confusion in priming of name-to-sid cache
4279       (Found by Qiao Yang).
4280     * BUG 1888: Remove '..' from all pre-processor commands.
4281     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
4282       DEBUG_PASSWORD.
4285 o   Matt Selsky <selsky@columbia.edu>
4286     * BUG 350: use autoconf 2.57 feature for checking header file
4287       preprocessing (fixes configure warnings on Solaris).
4290 o   Richard Renard <rrenard@idealx.com>
4291     * Fix usermgr.exe and trust relationships.
4294 o   Paul Szabo <psz@maths.usyd.edu.au>
4295     * Fix to make find_workgroup use the same 
4296       truncation as create_workgroup.
4299 o   Richard Sharpe <rsharpe@samba.org>
4300     * Ensure cli_write() can support writes >= 65536 bytes.
4303 o   Simo Sorce <idra@samba.org>
4304     * Added check password script code in examples/auth/crackcheck/
4305     * Fix memory corruption bug caused in freeing static memory.
4308 o   Andrew Tridgell <tridge@samba.org>
4309     * Remove lp_use_mmap() from map_file() since the latter 
4310       is for read only and does not require coherence.
4311     * Ensure that the uuid pack/unpack routines do not go past 
4312       the end of the structure.
4313     * Converted Samba 3 tree to use the new utf-16 aware iconv 
4314       code. 
4315     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
4316     * Ensure configure only uses '=' instead of the bashism '=='.
4317     * Reduces the number of tdb locking calls made on file IO.
4318     
4320 o   Jelmer Vernooij <jelmer@samba.org>
4321     * Convert internal data to UTF-8 before calling libxml2.
4322     * Complain if 'password chat' doesn't contain the %u variable
4323       (based on a patch by Ronan Waide).
4324     
4326 o   Josef Zlomek
4327     * BUG 1541:  Fix recursive ls in smbclient. 
4329     
4330 o   Igor Zhbanov <bsg@uniyar.ac.ru>
4331     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
4332       option.
4334       --------------------------------------------------
4336                   =============================
4337                   Release Notes for Samba 3.0.7
4338                            Sept 13, 2004
4339                   =============================
4341 Common bugs fixed in 3.0.7 include:
4343   o Fixes for two Denial of Service vulnerabilities
4344     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
4345   o Winbind failure to return user entries under certain
4346     conditions.
4347   o Syntax errors in the OpenLDAP schema file (samba.schema).
4348   o Printing errors caused by not setting default values
4349     for the various printing commands.
4352 Changes since 3.0.6
4353 -------------------
4355 smb.conf changes
4356 ----------------
4358     Parameter Name                      Action
4359     --------------                      ------
4360     winbind enable local accounts       disabled by default
4362     
4363 commits
4364 -------
4365 o   Jeremy Allison <jra@samba.org>
4366     * Fix parsing of names ending in dot and a few other error 
4367       returns.
4368     * BUG 1674: Move the symlinks checks into reduce_name().
4369     * Fix memleak when checking the valid names smb.conf option.
4370     * Fix memleak on error return path in the file open code.
4371     * More paranoia checks in the hash2 mangling code.
4372     * Fix syntax error in configure.in.
4373     * Match Win2k3's behavior for pathname parsing error returns.
4374     * Make nmbd more robust against bad netbios packets 
4375       (CAN-2004-0808).
4376     * Add more checks for invalid ASN.1 packets for SPNEGO packets
4377       (CAN-2004-0807).
4379   
4380 o   Andrew Bartlett <abartlet@samba.org>  
4381     * Janitor work in loadparm.c -- remove unused parameters.
4384 o   Gerald Carter <jerry@samba.org>
4385     * BUG 1464: Ensure that printing commands are initialized even
4386       if the 'printing' parameter is not explicitly set.
4387     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
4388       Adharsh Praveen <rprav@india.hp.com>)
4389     * Work around parsing error in the print change notify code.
4390     * remove duplicate declaration of getprintprocdir from 
4391       rpcclient.
4392     * Only use sAMAccountName and not userPrincipalName when looking
4393       up a username in AD since the breaks winbindd (lookup_name() 
4394       only works with the sAMAccountName).
4395     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
4396       filling in the username in the user_info3.
4397     * Fix logic bug in the check for creating a user's home directory 
4398       in register_vuid(); caused home directory to be mismatched to 
4399       the first share in smb.conf under certain conditions.
4400     * BUG 1656: rename auto.a to auto.smb.
4401     * Ensure that we assign our pid to print jobs (and not our 
4402       parent's pid); ensures that spooling jobs from dead smbds 
4403       are removed from the tdb.
4404     * Disable 'winbind enable local accounts' by default.
4405     * Adding some initial checks for DragonFly (same as 
4406       FreeBSD 4.1).
4407     
4409 o   Guenther Deschner <gd@samba.org> 
4410     * Use SMB_ASSERT() to track down NULL printer names in 
4411       the tdb open code.
4412     * Revert fix for BUG 1474 to avoid unnecessary packaging 
4413       dependencies.
4416 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
4417     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
4418       and 5.1.
4419     * BUG 1626: More compile fixes.
4422 o   Rob Foehl <rwf@loonybin.net>
4423     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
4424       by attempts to sanitize the defined attributes.
4427 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
4428     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
4431 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
4432     * BUG 1657: Remove used initialized variable, 
4433     * BUG 1658: Add a little bit of const.
4436 o   Volker Lendecke <vl@samba.org>
4437     * If there's garbage in the pidfile, we should not panic 
4438       but assume that no one else is around. We can't find the 
4439       other guy anyway.
4442 o   Jim McDonough <jmcd@us.ibm.com>
4443     * Fixup format string in the tdb error messages.
4446 o   Jonas Olsson <lexicon@lysator.liu.se>
4447     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
4448       reporting the list in usrmgr.exe.
4451 o   Tim Potter <tpot@samba.org>
4452     * Fix out-of-tree builds (problem with the script to generate 
4453       the svn version number).
4454     * BUG 1360:  Need to use -Wl when passing flags to the linker.
4455     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
4456       doesn't have one of its own.
4458 o   Simo Sorce <idra@samba.org>
4459     * Fixup compile issues on AIX caused by broken strlen() and 
4460       strdup().
4461     * Update debian packaging files.
4464 o   Dimitri van der Spek <dwspek@aboveit.nl>
4465     * Use the correct counter when copying group rids from the 
4466       user_info3 struct in pam_winbind.
4467       
4469 o   Qiao Yang <qyang@stbernard.com>
4470     * BUG 1622: Only cache the user
4473       --------------------------------------------------
4474       
4475                   =============================
4476                   Release Notes for Samba 3.0.6
4477                            Aug 19, 2004
4478                   =============================
4480 Common bugs fixed in 3.0.6 include:
4482   o Schannel failure in winbindd.
4483   o Numerous memory leaks.
4484   o Incompatibilities between the 'write list' and 'force user'
4485     smb.conf options.
4486   o Premature optimization of the open_directory() internal 
4487     function that broke tools such as the ArcServe backup 
4488     agent, Macromedia HomeSite, and Robocopy.
4489   o Corrupt workgroup names in nmbd's browse.dat.
4490   o Sharing violation errors commonly seen when opening
4491     when serving Microsoft Office documents from a Samba 
4492     file share.
4493   o Browsing problems caused by an apostrophe (') in the 
4494     computer's description field.
4495   o Problems creating special file types from UNIX CIFS 
4496     clients and enabling 'unix extensions'.
4497   o Fix stalls in smbd caused by inaccessible LDAP servers.
4498   o Remove various memory leaks.
4499   o Fix issues in the password lockout feature.
4501 New features introduced in this release include:
4503   O Support symlinks created by CIFS clients which 
4504     can be followed on the server.
4505   o Using a cups server other than localhost.
4506   o Maintaining the service principal entry in the system 
4507     keytab for integration with other kerberized services.
4508     Please refer to the 'use kerberos keytab' entry in 
4509     smb.conf(5).  When using the heimdal kerberos libraries,
4510     you must also specify the following in /etc/krb5.conf:
4511     [libdefaults]
4512        default_keytab_name = FILE:/etc/krb5.keytab
4513   o Support for maintaining individual printer names
4514     stored separately from the printer's sharename.
4515   o Support for maintaining user password history.
4516   o Support for honoring the logon times for user in a 
4517     Samba domain.
4520 ============================================
4521 unix extensions = yes (default) and symlinks
4522 ============================================
4524 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
4525 clients supporting the UNIX extensions to the CIFS protocol 
4526 can create symlinks to absolute paths which will be **followed** 
4527 by the server.  This functionality has been requested in order 
4528 to correctly support certain applications when the user's home 
4529 directory is mounted using some type of CIFS client (e.g. the 
4530 cifsvfs in the Linux 2.6 kernel).
4532 If this behavior is not acceptable for your production environment
4533 you can set 'wide links = no' in the specific share declaration in 
4534 the server's smb.conf.  Be aware that disabling wide link support 
4535 out of a share in Samba may impact the server's performance due 
4536 to the fact that smbd will now have to check each path additional 
4537 times before traversing it.
4538   
4540 ========================
4541 Password History Support 
4542 ========================
4544 The new password history feature allows smbd to check the new 
4545 password in password change requests against a list of the user's
4546 previous passwords.  The number of previous passwords to save can 
4547 be set using pdbedit (4 in this example):
4549    root# pdbedit -P "password history" -C 4
4551 When using the ldapsam passdb backend, it is vital to secure the 
4552 following attributes from access by non-administrative users:
4554    * sambaNTPassword
4555    * sambaLMPassword
4556    * sambaPasswordHistory
4558 You should refer to your directory server's documentation on how 
4559 to implement this restriction.
4562 Changes since 3.0.5
4563 -------------------
4565 smb.conf changes
4566 ----------------
4568     Parameter Name              Action
4569     --------------              ------
4570     cups server                 New
4571     defer sharing violations    New
4572     force unknown acl user      New
4573     ldap timeout                New
4574     printcap cache time         New
4575     use kerberos keytab         New
4576     
4577 commits
4578 -------
4579 o   Jeremy Allison <jra@samba.org> 
4580     * Correct path parsing bug that broke DeletePrinterDriverEx().
4581     * Fix bugs in check_path_syntax() caught by asserts.
4582     * Internal change - rearrange internal global case setting 
4583       variables to a per connection basis.
4584     * BUG 1345: Fix premature optimization in unix_convert(). 
4585     * Allow clients to truncate a locked file.
4586     * BUG 1319: Always check to see if a user as write access
4587       to a share, even when 'force user' is set.
4588     * Fix specific case of open that doesn't cause oplock break, 
4589       or share mode check.
4590     * Correct sid type is WKN_GROUP, not alias. Added some 
4591       more known types (inspired by patch from Jianliang Lu).
4592     * Allow creation of absolute symlink paths via CIFS clients.
4593     * Fix charset bug in when invoking send_mailslot().
4594     * When using widelinks = no, use realpath to canonicalize 
4595       the connection path on connection create for the user. 
4596     * Enhance stat open code.
4597     * Fix unix extensions mknod code path.
4598     * Allow unix domain socket creation via unix extensions.
4599     * Auto disable the 'store dos attribute' parameter if the 
4600       underlying filesystem doesn't support EAs.
4601     * Implement deferred open code to fix a bug with Excel files 
4602       on Samba shares.
4603     * BUG 1427: Catch bad path errors at the right point.  Ensure 
4604       all our pathname parsing is consistent.
4605     * Fix SMB signing error introduced by the new deferred open 
4606       code.
4607     * Change default setting for case sensitivity to "auto". (see 
4608       commit message -- r1154 -- for details).
4609     * Add new remote client arch -- CIFSFS.
4610     * Allow smbd to maintain the service principal entry in the 
4611       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
4612       Guenther Deschner, et. al.).
4613     * Fix longstanding memleak bug with logfile name.
4614     * Fix incorrect type in printer publishing (struct uuid, 
4615       not UUID_FLAT).
4616     * Heimdal compile fixes after introduction of the new ketyab 
4617       feature.
4618     * Ensure we check attributes correctly on rename request.
4619     * Ensure we defer a sharing violation on rename correctly.
4620     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
4621       on timeout.
4622     * Fix bogus error message when using "mangling method = hash" 
4623       rather than hash2.
4624     * Turn on sendfile by default for non-Win9x clients.
4625     * Handle non-io opens that cause oplock breaks correctly.
4626     * Ensure ldap replication sleep time is not more than 5 seconds.
4627     * Add support for storing a user's password history.
4628       LDAP portion of the code was based on a patch from 
4629       Jianliang Lu <j.lu@tiesse.com>.
4630     * Correct memory leaks found in the password change code.
4631     * Fix support for the mknod command with the Linux CIFS client.
4632     * Remove support for passing the new password to smbpasswd 
4633       on the command line without using the -s option.
4634     * Ensure home directory service number is correctly reused
4635       (inspired by patches from Michael Collin Nielsen 
4636       <michael@hum.aau.dk>).
4637     * Fix to stop printing accounts from resetting the bas 
4638       password and account lockout flags.
4639     * If a account was locked out by an admin (and has a bad 
4640       password count of zero) leave it locked out until an admin 
4641       unlocks it (but log a message).
4642     * Ensure we return the same ACL revision on the wire that 
4643       W2K3 does.
4644     * BUG 1578: Hardcode replacement for invalid characters as '_'
4645       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
4646     * Fix hashed password history for LDAP backends.
4647     * Enforce logon hours restrictions if confiogured (based on code 
4648       from Richard Renard <rrenard@idealx.com>).
4649     * BUG 1606: Force smbd to disable sendfile with DOS clients 
4650       and ensure that the chained header is filled in for ...&X 
4651       commands.
4652     * BUG 1602: Fix access to shares when all symlink support 
4653       has been disabled.
4657 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
4658     * Allow pdbedit to export a single user from a passdb backend.
4659     
4661 o   Andrew Bartlett <abartlet@samba.org>  
4662     * Fix parsing bug in GetDomPwInfo().
4663     * Fix segfault in 'ntlm_auth --diagnostics'.
4664     * Re-enable code to allow sid_to_gid() to perform a group 
4665       mapping lookup before checking with winbindd.
4666     * Fix memory leak in the trans2 signing code.
4667     * Allow more flexible GSS-SPENGO client and server operation 
4668       in ntlm_auth.
4669     * Improve smbd's internal random number generation.
4670     * Fix a few outstanding long password changes in smbd.
4671     * Fix LANMAN2 session setup code.
4674 o   Eric Boehm <boehm@nortelnetworks.com>
4675     BUG 703: Final touches on netgroup case lookups.
4676     
4677     
4678 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
4679     * Ensure error status codes don't get overwritten in 
4680       lsa_lookup_sids() server code.
4681     * Correct bug that caused smbd to overwrite certain error 
4682       codes when returning up the call stack.
4683     * Ensure the correct sid type returned for builtin sids.
4686 o   Gerald Carter <jerry@samba.org>
4687     * Fix a few bugs in the Fedora Packaging files.
4688     * Fix for setting the called name to by our IP if the 
4689       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
4690       with connecting to printers via \\ip.ad.dr.ess\printer 
4691       UNC path.
4692     * BUG 1315: fix for schannel client connections to servers
4693       when we haven't specifically negotiated AUTH_PIPE_SEAL.
4694     * Allow PrinterDriverData valuenames with embedded backslashes
4695       (Fixes bug with one of the Konica Fiery drivers).
4696     * Fixed string length miscalculation in netbios names that 
4697       resulted in corrupt workgroup names in browse.dat.
4698     * When running smbd as a daemon, launch child smbd to update 
4699       the lpq cache listing in the background.
4700     * Allow printers "Printers..." folder to be renamed to a string 
4701       other than the share name.
4702     * Allow winbindd to use domain trust account passwords when 
4703       running on a Samba DC to establish an schannel to remote 
4704       domains.
4705     * Fix bad merge and ensure that we always use tdb_open_log() 
4706       instead of tdb_open_ex() (the former call enforce the 'use 
4707       mmap' parameter).
4708     * BUG 1221: revert old change that used single and double 
4709       quotes as delimeters in next_token(), and change 
4710       print_parameter() to print out parm values surrounded by 
4711       double quotes (instead of single quotes).
4712     * Prevent home directories added during the SMBsesssetup&X from 
4713       being removed as unused services.
4714     * Invalidate the print object cache for open printer handles when
4715       smbd receives a message that an attribute on a given printer 
4716       has been changed.
4717     * Cause the configure script to exit if --enable-cups[=yes] is 
4718       defined and the system does not have the cups devel files 
4719       installed.
4720     * BUG 1297: Prevent map_username() from being called twice 
4721       during logon.
4722     * Ensure that we use the userPrincipalName AD attribute 
4723       value for LDAP SASL binds.
4724     * Ensure we remove the tdb entry when deleting a job that 
4725       is being spooled.
4726     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
4727       client sends a FindNextPrintChangeNotify() request without 
4728       previously sending a FindFirstPrintChangeNotify().  Return 
4729       the same error code as Windows 2000 SP4.
4730     * BUG 1516: Manually declare ldap_open_with_timeout() to 
4731       workaround compiler errors on IRIX (or other systems without 
4732       LDAP headers).
4733     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
4734       3.0.5.
4735     * Corrected syntax error in the OID for sambaUnixIdPool, 
4736       sambaSidEntry, & sambaIdmapEntry object classes.
4737     * Tighten the cache consistency with the ntprinters.tdb entry 
4738       an the in memory cache associated with open printer handles.
4739     * Make sure that register_messages_flags() doesn't overwrite 
4740       the originally registered flags.
4743 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
4744     * Debian BUG 252591: Ensure that the return value from the 
4745       number of available interfaces is initialized in case no 
4746       interfaces are actually available.
4749 o   Guenther Deschner <gd@sernet.de> 
4750     * Implement 'rpcclient setprintername'.
4751     * Add local groups to the user's NT_TOKEN since they are 
4752       actually supported now.
4753     * Heimdal compile fixes after introduction of the new keytab 
4754       feature.
4755     * Correctly honor the info level parameter in 'rpcclient 
4756       enumprinters'.
4757     * Reintroduce 'force unknown acl user' parameter.  When getting a 
4758       security descriptor for a file, if the owner sid is not known, 
4759       the owner uid is set to the current uid. Same for group sid.
4760     * Ensure that REG_SZ values in the SetPrinterData actually 
4761       get written in UNICODE strings rather than ASCII.
4762     * Ensure that the last kerberos error return is not invalid.
4763     * Display share ACL entries from rpcclient.
4764     * Correct infinite loop in pam_winbind's verification of 
4765       group membership in the 'other sids' field in the user_info3 
4766       struct.
4769 o   Fabian Franz <FabianFranz@gmx.de>
4770     * Support specifying a port in the device URL passed to smbspool.
4771     
4772     
4773 o   Steve French <sfrench@us.ibm.com>
4774     * Handle -S and user mount parms in mount.cifs.
4775     * Fix user unmount of shares mount with suid mount.cifs.
4776     * prevent infinite recusion in reopen_logs() when expanding 
4777       the smb.conf variable %I.
4780 o   Bjoern Jacke <bj@sernet.de>
4781     * Install libsmbclient into $(LIBDIR), not into hard coded 
4782       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
4783       and an explicit configure --libdir setting.
4786 o   <kawasa_r@itg.hitachi.co.jp>
4787     * Correct more memory leaks and initialization bugs.
4788     * Fix bug that prevented core dumps from being generated 
4789       even if you tried.
4790     * Connect to the winbind pipe in non-blocking mode to 
4791       prevent processes from hanging.
4792     * Memory leak fixes.
4795 o   Stephan Kulow <coolo@suse.de>
4796     * Fix crash bug in libsmbclient.
4799 o   Volker Lendecke <vl@samba.org>
4800     * Added vfs_full_audit module.
4801     * Add vfs_afsacl.c which can display & set AFS acls via 
4802       the NT security editor.
4803     * Fix crash bug caused by trying to Base64 encode a NULL string.
4804     * Fix DOS error code bug in reply_chkpath().
4805     * Correct misunderstanding of the max_size field in 
4806       cli_samr_enum_als_groups;  it is more like an account_control 
4807       field with individual bits what to retrieve.
4808     * Implement 'net rpc group rename' -- rename domain groups.
4809     * Implement the 'cups server' option. This makes it possible 
4810       to have virtual smbd's connect to different cups daemons.
4811     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
4812     * Fix sid_to_gid() calls in winbindd to prevent loops.
4813     * Ensure that local_sid_to_gid() sets the type of the group on 
4814       return.
4815     * Make sure that the clients are given back the IP address to 
4816       which they connected in the case of a multi-homed host. Only 
4817       affects strings the spoolss printing replies.
4818     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
4819       did not ask for the modifyTimestamp attribute, so it could 
4820       not find it.   Try not to regress by not putting that attrib 
4821       in the main list but append it manually for the relevant searches.
4822     * Fix two memleaks in login_cache.c.
4823     * fixes memory bloat when unmarshalling strings.
4824     * Fix compile errors using gcc 3.2 on SuSE 8.2.
4825     * Fix the build for systems without kerberos headers.
4826     * Allow winbindd to handle authentication requests only when 
4827       started without either an 'idmap uid' or 'idmap gid' range.
4828     * Fix the build for systems without ldap headers.
4829     * Fix interaction between share security descriptor and the 
4830       'read only' smb.conf option.
4831     * Fix bug that caused _samr_lookupsids() with more than 32 (
4832       MAX_REF_DOMAINS) SIDs to fail.
4833     * Allow the 'idmap backend' parameter to accept a list of 
4834       LDAP servers for failover purposes.
4835     * Revert code in smbd to remove a tdb when it has become 
4836       corrupted.
4837     * Add paranoid checks when mapping SIDs to a uid/gid to 
4838       ensure that the type is correct.
4839     * Initial work on getting client support for sending mailslot 
4840       datagrams.
4841     * Add 'ldap timeout' parameter.
4842     * Dont always uppercase 'afs username map'.
4843     * Expand aliases for getusersids as well.
4844     * Improved NT->AFS ACL mapping VFS module.
4847 o   Herb Lewis <herb@samba.org>
4848     * Add the acls debug class.
4849     * Fix logic bug in netbios name truncate routine.
4850     * Fix smbd crash caused by smbtorture IOCTL test.
4851     * Fix errno tromping before calling iconv to reset the 
4852       conversion state.
4853     * need to leave empty dacl so we can remove last ACE.
4856 o   Jianliang Lu <Jianliang.Lu@getronics.com>
4857     * Fix to stop smbd hanging on missing group member in 
4858       get_memberuids().
4859     * Make sure Samba returns the correct group types.
4860      * Reset the bad password count password counts upon a successful login.
4861      
4862      
4863 o   Jason Mader <jason@ncac.gwu.edu>
4864     * BUG 1385: Don't use non-consts in a structure initialization.
4865     
4867 o   Jim McDonough <jmcd@us.ibm.com>
4868     * BUG 1279: SMBjobid fix for Samba print servers running on 
4869       Big-Endian platforms.
4872 o   Joe Meadows <jameadows@webopolis.com>
4873     * Add optional timeout parameter to ldap open calls.
4874     * Allow get_dc_list() to check the negative cache.
4877 o   Stefan Metzmacher <metze@samba.org>    
4878     * fix a configure logic bug for linux/XFS quotas when 
4879       using --with-sys-quotas.
4880     * Use quota debug class in quota code.
4881     * print out the SVN revision by configure,
4882     
4884 o   Buchan Milne <bgmilne@mandrake.org>
4885     * Mandrake packaging fixes.
4886     
4887     
4888 o   Lars Mueller <lmuelle@samba.org>
4889     * BUG 1279: Added 'printcap cache time' parameter.
4890     * Fix afs related build issues on SuSE.
4891     * Fix compiler warnings in the kerberos client code.
4894 o   James Peach <jpeach@sgi.com>
4895     * More iconv detection fixes for IRIX.
4896     * Compile fixed for systems that do not have C99/UNIX98 compliant 
4897       vsnprintf by default.
4898     * Prevent smbd from attempting to use sendfile at all if it is 
4899       not supported by the server's OS.
4900     * Allow SWAT to search for index.html when serving html files 
4901       in a directory.
4904 o   Dan Peterson
4905     * Implement NFS quota support on FreeBSD.
4908 o   Tim Potter <tpot@samba.org>
4909     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
4910       avoid conflicts with identical symbols in the global namespace 
4911       when loading libnss_wins.so.
4914 o   Richard Renard <rrenard@idealx.com>
4915     * Save the current password as it is being changed into the 
4916       password history list.
4919 o   Richard Sharpe <rsharpe@samba.org>
4920     * Fix error return codes on some lock messages.
4921     * BUG 1178: Make the libsmbclient routines callable 
4922       by C++ programs.
4923     * BUG 1333: Make sure we return an error code when 
4924       things go wrong.
4925     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
4926       share mode locking requests fail.
4929 o   Simo Sorce <idra@samba.org>
4930     * Update Debian stable & unstable packaging.
4931     * Tidy up parametric options in testparm output.
4934 o   Richard Sharpe <rsharpe@samba.org>
4935     * Add sigchild handling to winbindd to restart the child 
4936       daemon if necessary.
4939 o   Tom Shaw <tomisfaraway@gmail.com>
4940     * Use winbindd_fill_pwent() consistently.
4943 o   Nick Thompson <nickthompson@agere.com>
4944     * Protect smbd against broken filesystems which return zero 
4945       blocksize.
4948 o   Andrew Tridgell <tridge@samba.org>
4949     * Fixed bug in handling of timeout in socket connections.
4950      
4952 o   Nick Wellnhofer <wellnhofer@aevum.de>    
4953     * Prevent lp_interfaces() list from being corrupted.  Fixes
4954       bug where nmbd would lose the list of network interfaces 
4955       on the system and consequently shutdown.
4957       
4958 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
4959     * Fix ntlm_auth memory leaks.
4962 o   Jelmer Vernooij <jelmer@samba.org>
4963     * Additional NT status to unix error mappings.
4964     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
4965       get duplicate symbol errors.
4966     * Return an error when the last command read from stdin 
4967       fails in smbclient.
4968     * Prepare for better error checking in tar.
4969     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
4970       
4972       --------------------------------------------------
4973       
4974                  =============================
4975                  Release Notes for Samba 3.0.5
4976                          July 20, 2004
4977                  =============================
4979 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
4980 the exception of correcting the two security issues outlined 
4981 below.
4983 ######################## SECURITY RELEASE ########################
4985 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
4986 CVE ID:        CAN-2004-0600, CAN-2004-0686
4987                (http://cve.mitre.org/)
4990 This is the latest stable release of Samba. This is the version
4991 that production Samba servers should be running for all current
4992 bug-fixes.
4994 It has been confirmed that versions of Samba 3 prior to v3.0.4
4995 are vulnerable to two potential buffer overruns.  The individual
4996 details are given below.
4998 =============
4999 CAN-2004-0600
5000 =============
5002 Affected Versions:      Samba 3.0.2 and later
5004 The internal routine used by the Samba Web Administration
5005 Tool (SWAT v3.0.2 and later) to decode the base64 data
5006 during HTTP basic authentication is subject to a buffer
5007 overrun caused by an invalid base64 character.  It is
5008 recommended that all Samba v3.0.2 or later installations
5009 running SWAT either (a) upgrade to v3.0.5, or (b) disable
5010 the swat administration service as a temporary workaround.
5012 This same code is used internally to decode the
5013 sambaMungedDial attribute value when using the ldapsam
5014 passdb backend. While we do not believe that the base64
5015 decoding routines used by the ldapsam passdb backend can
5016 be exploited, sites using an LDAP directory service with
5017 Samba are strongly encouraged to verify that the DIT only
5018 allows write access to sambaSamAccount attributes by a
5019 sufficiently authorized user.
5021 The Samba Team would like to heartily thank Evgeny Demidov
5022 for analyzing and reporting this bug.
5024 -------------
5025 CAN-2004-0686
5026 -------------
5028 Affected Versions:      Samba 3.0.0 and later
5030 A buffer overrun has been located in the code used to support
5031 the 'mangling method = hash' smb.conf option.  Please be aware
5032 that the default setting for this parameter is 'mangling method
5033 = hash2' and therefore not vulnerable.
5035 Affected Samba 3 installations can avoid this possible security
5036 bug by using the default hash2 mangling method.  Server
5037 installations requiring the hash mangling method are encouraged
5038 to upgrade to Samba 3.0.5.
5041 ##################################################################
5043     --------------------------------------------------
5044                  
5045                  =============================
5046                  Release Notes for Samba 3.0.4
5047                           May 8, 2004
5048                  =============================
5050 Common bugs fixed in Samba 3.0.4 include:
5052   o Password changing after applying the patch described in 
5053     the Microsoft KB828741 article to Windows clients.
5054   o Crashes in smbd.
5055   o Managing print jobs via Windows on Big-Endian servers.
5056   o Several memory leaks in winbindd and smbd.
5057   o Compile issues on AIX and *BSD.
5059 Changes since 3.0.3
5060 --------------------
5062 commits
5063 -------
5065 o   Jeremy Allison <jra@samba.org>
5066     * Fix path processing for DeletePrinterDriverEx().
5067     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
5068       breakage.
5071 o   Andrew Bartlett <abartlet@samba.org>
5072     * Fix alignment bug in GetDomPwInfo().
5075 o   Alexander Bokovoy <ab@samba.org>
5076     * Fix utime[s]() issues in smbwrapper on systems 
5077       that can boot both the 2.4 and 2.6 Linux kernels.
5080 o   Gerald Carter <jerry@samba.org>
5081     * Fedora packaging fixes.
5082     * BUG 1302: Fix seg fault by not trying to optimize a list of 
5083       invalid gids using the wrong array size.
5084     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
5085       seen when 'security = share'.
5086     * Fix problems when using IBM's compiler on AIX.
5087     * Link Developer's Guide, Example Guide, and multi-page HOWTO
5088       into SWAT's welcome page.
5089     * BUG 1293: fix double free in printer publishing code.
5091     
5092 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
5093     * Fix for handling timeouts in socket connections.
5096 o   Michel Gravey <michel.gravey@optogone.com>
5097     * BUG 483: patch from  to fix password hash creation in SWAT.
5098     
5100 o   Volker Lendecke <vl@samba.org>
5101     * Close the open NT pipes before the tdis.
5102     * Fix AFS related build issues.
5103     * Handle error conditions when base64 encoding a blob of 0 bytes.
5105     
5106 o   Herb Lewis <herb@samba.org>
5107     * Added 'acls' debug class.
5109 o   kawasa_r@itg.hitachi.co.jp
5110     * Multiple variable initialization and memory leak fixes.
5111     
5112     
5113 o   Stephan Kulow <coolo@suse.de>
5114     * Fix string length bug in libsmbclient that caused KDE's 
5115       Konqueror to crash.
5116     * BUG 429: More libsmbclient fixes.
5119 o   Jim McDonough <jmcd@us.ibm.com>
5120     * BUG 1007, 1279: Store the print job using a little-endian key.
5123 o   Eric Mertens
5124     o Compile fix for OpenBSD (ENOTSUP not supported).
5126     
5127 o   Stefan Metzmacher <metze@samba.org>
5128     * Correct bug in disks quota views from explorer.
5130     
5131 o   Tim Potter <tpot@samba.org>
5132     BUG 1305: Correct debug output.
5135 o   Richard Sharpe <rsharpe@samba.org>
5136     * Fix incorrect error code mapping.
5139 o   Jelmer Vernooij <jelmer@samba.org>
5140     * Add additional NT_STATUS errorm mappings.
5141     
5143     --------------------------------------------------
5145                  =============================
5146                  Release Notes for Samba 3.0.3
5147                         April 29, 2004
5148                  =============================
5151 Common bugs fixed in Samba 3.0.3 include:
5153   o Crash bugs and change notify issues in Samba's printing code.
5154   o Honoring secondary group membership on domain member servers.
5155   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
5156   o Substitution errors for %[UuGg] in smb.conf.
5157   o winbindd crashes when using ADS security mode.
5158   o SMB signing errors.
5159   o Delays in winbindd startup caused by unnecessary 
5160     connections to trusted domain controllers.
5161   o Various small memory leaks.
5162   o Winbindd failing due to expired Kerberos tickets.
5164 New features introduced in Samba 3.0.3 include:
5166   o Improved support for i18n character sets.
5167   o Support for account lockout policy based on
5168     bad password attempts.
5169   o Improved support for long password changes (>14
5170     characters) and strong password enforcement.
5171   o Support for Windows aliases (i.e. nested groups).
5172   o Experimental support for storing DOS attribute on files
5173     and folders in Extended Attributes.
5174   o Support for local nested groups via winbindd.
5175   o Specifying options to be passed directly to the CUPS libraries.
5177 Please be aware that the Samba source code repository was 
5178 migrated from CVS to Subversion on April 4, 2004.  Details on 
5179 accessing the Samba source tree via anonymous svn can be found 
5180 at http://svn.samba.org/samba/subversion.html.
5183 Changes since 3.0.2a
5184 --------------------
5185 smb.conf changes
5186 ----------------
5188     Parameter Name              Action
5189     --------------              ------
5190     cups options                New
5191     ea support                  New
5192     only user                   Deprecated
5193     store dos attributes        New
5194     unicode                     Removed
5195     winbind nested groups       New
5197     
5198 commits
5199 -------
5201 o   Jeremy Allison <jra@samba.org>
5202     * Ensure that Kerberos mutex is always properly unlocked.
5203     * Removed Heimdal "in-memory keytab" support.
5204     * Fixup the 'multiple-vuids' bugs in our server code.
5205     * Correct return code from lsa_lookup_sids() on unmapped
5206       sids (based on work by vl@samba.org).
5207     * Fix the "too many fcntl locks" scalability problem 
5208       raised by tridge.
5209     * Fixup correct (as per W2K3) returns for lookupsids 
5210       as well as lookupnames.
5211     * Fixups for delete-on-close semantics as per Win2k3 behavior.
5212     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
5213     * Fix "unable to initialize" bug when smbd hasn't been run with 
5214       new system and a user is being added via pdbedit/smbpasswd.
5215     * Added NTrename SMB (0xA5).
5216     * Fixup correct timeout values for blocking lock timeouts.
5217     * Fix various bugs reported by 'gentest'.
5218     * More locking fixes in the case where we own the lock.
5219     * Fix up regression in IS_NAME_VALID and renames.
5220     * Don't set allocation size on directories.
5221     * Return correct error code on fail if file exists and target 
5222       is a directory.
5223     * Added client "hardlink" comment to test doing NT rename with 
5224       hard links.  Added hardlink_internals() code - UNIX extensions 
5225       now use this as well.
5226     * Use a common function to parse all pathnames from the wire for 
5227       much closer emulation of Win2k3 error return codes.
5228     * Implement check_path_syntax() and rewrite string sub 
5229       functions for better multibyte support.
5230     * Ensure msdfs referrals are multibyte safe.
5231     * Allow msdfs symlink syntax to be more forgiving.
5232       eg. sym_link -> msdfs://server/share/path/in/share 
5233       or  sym_link -> msdfs:\\server\share\path\in\share.
5234     * Cleanup multibyte netbios name support in nmbd ( based on patch
5235       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
5236     * Fix check_path_syntax() for multibyte encodings which have 
5237       no '\' as second byte (based on work by ab@samba.org.
5238     * Fix the "dfs self-referrals as anonymous user" problem
5239       (based on patch from vl@samba.org).
5240     * BUG 1064: Ensure truncate attribute checking is done correctly 
5241       on "hidden" dot files.
5242     * Fix bug in anonymous dfs self-referrals again.
5243     * Fix get/set of EA's in client library
5244     * Added support for OS/2 EA's in smbd server.
5245     * Added 'ea support' parameter to smb.conf.
5246     * Added 'store dos attributes' parameter to smb.conf.
5247     * Fix wildcard identical rename.
5248     * Fix reply_ctemp - make compatible with w2k3.
5249     * Fix wildcard unlink.
5250     * Fix wildcard src with wildcard dest renames.      
5251     * BUG 1139: Fix based on suggestion by jdev@panix.com.
5252       swap lookups for user and group - group will do an
5253       algorithmic lookup if it fails, user won't.
5254     * Make EA's lookups case independent.
5255     * Fix SETPATHINFO in 'unix extensions' support.
5256     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
5257       the UNIX info levels, and the short case preserve names.
5260 o   Timur Bakeyev <timur@com.bat.ru>
5261     * BUG 1144: only set --with-fhs when the argument is 'yes'
5262     * BUG 1152: Allow python modules to build despite libraries added 
5263       to LDFLAGS instead of LDPATH.
5264     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
5267 o   Craig Barratt <cbarratt@users.sourceforge.net>
5268     * BUG 389: Allow multiple exclude arguments with smbclient 
5269       tar -Xr options (better support for Amanda backup client).
5272 o   Andrew Bartlett <abartlet@samba.org>
5273     * Include support for linking with cracklib for enforcing strong 
5274       password changes.
5275     * Add support for >14 character password changes from Windows 
5276       clients.
5277     * Add 'admin set password' capability to 'net rpc'.
5278     * Allow 'net rpc samdump' to work with any joined domain 
5279       regardless of smb.conf settings.
5280     * Use an allocated buffer for count_chars.
5281     * Add sanity checks for changes in the domain SID in an 
5282       LDAP DIT.
5283     * Implement python unit tests for Samba's multibyte string 
5284       support.
5285     * Remove 'unicode' smb.conf option.
5286     * BUG 1138: Fix support for 'optional' SMB signing and other 
5287       signing bugs.
5288     * BUG 169: Fix NTLMv2-only behavior.
5289     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
5290       default.
5291     * Support SMB signing on connections using only the LANMAN 
5292       password and generate the correct the 'session key' for these 
5293       connections.
5294     * Implement --required-membership-of=, an ntlm_auth option 
5295       that restricts all authentication to members of this particular 
5296       group.
5297     * Improve our fall back code for password changes.
5298     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
5299       after the server had said something (such as an error).
5300     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
5302       
5303 o   Alexander Bokovoy <ab@samba.org>
5304     * Fix incorrect size calculation of the directory name 
5305       in recycle.so.
5306     * Fix problems with very long filenames in both smbd and smbclient
5307       caused by truncating paths during character conversions.
5308     * Fix smbfs problem with Tree Disconnect issued before smbfs 
5309       starts its work.
5312 o   Gerald Carter <jerry@samba.org>
5313     * BUG 850: Fix 'make installmodules' bug on True64.
5314     * BUG 66: mark 'only user' deprecated.
5315     * Remove corrupt tdb and shutdown (only for printing tdbs, 
5316       connections, sessionid & locking).
5317     * decrement smbd counter in connections.tdb in smb_panic().
5318     * RedHat specfile updates.
5319     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
5320     * BUG 1147; bad pointer case in get_stored_queue_info() 
5321       causing seg fault.
5322     * BUG 761: read the config file before initialized default 
5323       values for printing options; don't default to bsd printing 
5324       Linux.
5325     * Allow the 'printing' parameter to be set on a per share basis.
5326     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
5327     * BUG 848: don't create winbind local users/groups that already 
5328       exist in the tdb.
5329     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
5330       LynxOS/ppc).
5331     * BUG 488: fix the 'show client in col 1' button and correctly 
5332       enumerate active connections.
5333     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
5334       problem when storing the updating pid for the lpq cache.
5335     * BUG 1007 (partial): Fix print change notify bugs.
5336     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
5337       and winbind use default domain = yes.  Also ensures that 
5338     * BUG 1151: Ensure that winbindd users are passed through 
5339       the username map.
5340     * Fix client rpc binds for ASU derived servers (pc netlink, 
5341       etc...).
5342     * BUG 417, 1128: Ensure that the current_user_info is set
5343       consistently so that %[UuGg] is expanded correctly.
5344     * BUG 1195: Fix crash in winbindd when the ADS server is 
5345       unavailable.
5346     * BUG 1185: Set reconnect time to be the same as the 
5347       'winbind cache time'.
5348     * Ensure that we return the sec_desc in smb_io_printer_info_2.
5349     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
5350     * BUG 1095: Honor the '-l' option in smbclient.
5351     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
5352       block.
5353     * Ensure server schannel uses the auth level requested by the 
5354       client.
5355     * Removed --with-cracklib option due to potential crash issue.
5356     * Fix -lcrypto linking problem with wbinfo.
5357     * BUG 761: allow printing parameter to set defaults on a per 
5358       share basis.
5359     * Add 'cups options' parameter to allow raw printing without 
5360       changing /etc/cups/cupsd.conf.
5361     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
5362       winbindd.
5363     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
5364     * BUG 1288: resolve any machine netbios name (0x00) and not just 
5365       servers (0x20).
5366     * BUG 1199: Fix potential symlink issue in 
5367       examples/printing/smbprint.
5370 o   Robert Dahlem <Robert.Dahlem@gmx.net>
5371     * BUG 1048:  Don't return short names when when 'mangled names = no'
5374 o   Guenther Deschner <gd@suse.com>
5375     * Remove hard coded attribute name in the ads ranged retrieval
5376       code.
5377     * Add --with-libdir and --with-mandir to autoconf script.
5380 o   Bostjan Golob <golob@gimb.org>
5381     * BUG 1046: Fix  getpwent_list() so that the username is not 
5382       overwritten by other fields.
5385 o   Landon Fuller <landonf@opendarwin.org>
5386     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
5387       to fix user/group enumeration on systems whose libc does not 
5388       call setgrent() before trying to enumerate users (i.e. 
5389       FreeBSD 5.2).
5392 o   Steve French <sfrench@us.ibm.com>
5393     * Update mount.cifs to version 1.1.
5394     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
5395     * Fixes to minor security bug in the mount helper.
5396     * Fix credential file mounting for cifs vfs.
5397     * Fix free of incremented pointer in cifsvfs mount helper.
5398     * Fix path canonicalization of the mount target path and help 
5399       text display in the cifs mount helper.
5400     * Add missing guest mount option for mount.cifs.
5403 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
5404     * BUG 1055; formatting fixes for 'net share'.
5405     * BUG 692: correct truncation of share names and workgroup 
5406       names in smbclient.
5407     * BUG 1088: use strchr_m() for query_host (smbclient -L).
5408     * Patch from to internally count characters correctly.
5411 o   Paul Green <paulg@samba.org>
5412     * Update VOS _POSIX_C_SOURCE macro to 200112L.
5413     * Fix bug in configure.ion by moving the first use of 
5414       AC_CHECK_HEADERS so it is always executed.
5415     * Fix configure.in to only use $BLDSHARED to select whether to 
5416       build static or shared libraries.
5419 o   Pat Haywarrd <Pat.Hayward@propero.net>
5420     * Make the session_users list dynamic (max of 128K).
5421     
5422     
5423 o   Cal Heldenbrand <calzplace@yahoo.com> 
5424     * Fix for for 'pam_smbpass migrate' functionality.
5427 o   Chris Hertel <crh@samba.org>
5428     * fix enumeration of shares 12 characters in length via 
5429       smbclient.
5432 o   Ulrich Holeschak <ulrich@holeschak.de>
5433     * BUG 932: fix local password change using pam_smbpass
5436 o   Krischan Jodies <kj@sernet.de>
5437     * Implement 'net rpc group delete'
5440 o   John Klinger <john.klinger@lmco.com>
5441     * Return NSS_SUCCESS once the max number of gids possible 
5442        has been found in initgroups() on Solaris.
5443     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
5446 o   Volker Lendecke <vl@samba.org>
5447     * Fix success message for net groupmap modify.
5448     * Fix errors when enumerating members of groups in 'net rpc'.
5449     * Match Windows behavior in samr_lookup_names() by returning
5450       ALIAS(4) when you search in BUILTIN. 
5451     * Fix server SAMR code to be able to set alias info for 
5452       builtin as well. 
5453     * Fix duplication of logic when creating groups via smbd.
5454     * Ensure that the HWM values are set correctly after running 
5455       'net idmap'.
5456     * Add 'net rpc group add'.
5457     * Implement 'net groupmap set' and 'net groupmap cleanup'.
5458     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
5459     * Fix wb_delgrpmem (wbinfo -o).
5460     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
5461     * Fix sambaUserWorkstations on a Samba DC.
5462     * Implement wbinfo -k: Have winbind generate an AFS token after
5463       authenticating the user.
5464     * Add expand_msdfs VFS module for providing referrals based on the
5465       the client's IP address.
5466     * Implement client side NETLOGON GetDCName function.
5467     * Fix caching of name->sid lookups.
5468     * Add support in winbindd for expanding nested local groups.
5469     * Fix memleak in winbindd.
5470     * Fix msdfs proxy.
5471     * Don't list domain groups from BUILTIN.
5472     * Fix memleak in policy handle utility functions.
5473     * Decrease winbindd startup time by only contacting trusted 
5474       domains as necessary.
5475     * Allow winbindd to ask the DC for its domain for a trusted 
5476       DC.
5477     * Fix Netscape DS schema based on comments from 
5478       <thomas.mueller@christ-wasser.de>.
5479     * Correct case where adding a domain user to a XP local group 
5480       did a lsalookupname on the user without domain prefix, and 
5481       failed.
5482     * Fix segfault in winbindd caused by 'wbinfo -a'.
5483     
5485 o   Herb Lewis <herb@samba.org>
5486     * Fix typo for tag in proto file.
5487     * Add missing #ifdef HAVE_BICONV stuff.
5488     * Truncate Samba's netbios name at the first '.' (not 
5489       right to left).
5492 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
5493     * Bug fixes and enhancements to libsmbclient library.
5495     
5496 o   Jianliang Lu <j.lu@tiesse.com>
5497     * Enforce the 'user must change password at next login' flag.
5498     * Decode meaning of 'fields present' flags (improves support 
5499       for usrmgr.exe).
5500     * NTLMv2 fixes.
5501     * Don't force an upper case domain name in the ntlmssp code.
5502     
5504 o   L. Lucius <ib@digicron.com>.
5505     * type fixes.
5508 o   Jim McDonough <jmcd@us.ibm.com>
5509     * Add versioning support to tdbsam.
5510     * Update the IBM Directory Server schema with the OpenLDAP 
5511       file.
5512     * Various decoding fixes to improve usrmgr.exe support.
5513     * Fix statfs redeclaration of statfs struct on ppc
5514     * Implement support for password lockout of Samba domain 
5515       controllers and standalone servers.
5516     * Get MungedDial attribute actually working with full TS 
5517       strings in it for pdb_ldap.
5518     * BUG 1208 (partial): Improvements for working with expired krb5 
5519       tickets in winbindd.
5520     * Use timegm, or our already existing replacement instead of 
5521       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
5522     * Remove modifyTimestamp from list of our attributes.  
5523     * Fix lsalookupnames to check for domain users as well as local 
5524       users. 
5525     * Merge struct uuid replacement for GUID from trunk.
5526     * BUG 1208: Finish support for handling expired tickets in 
5527       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
5530 o   Stefan Metzmacher <metze@samba.org>
5531     * Implement new VERSION schema based on subversion revision 
5532       numbers.
5533     * Add shadow_copy vfs module.
5534     * Fix segault in login_cache support.
5537 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
5538      o BUG 979 -- Fix quota display on AIX.
5541 o   James Peach <jpeach@sgi.com>
5542     * Correct check for printf() format when using the SGI MIPSPro 
5543       compiler.
5544     * BUG 1038: support backtrace for 'panic action' on IRIX.
5545     * BUG 768: Accept profileing arg to IRIX init script.
5546     * BUG 748: Relax arg parsing to sambalp script (IRIX).
5547     * BUG 758: Fix pdma build.
5548     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
5549       Jason Mader.
5550       
5552 o   Kurt Pfeifle <kpfeifle@danka.de>
5553     * Add example shell script for migrating drivers and printers 
5554       from a Windows print server to a Samba print server using 
5555       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
5558 o   Tim Potter <tpot@samba.org>
5559     * Fix logic bug in tdb non-blocking lock routines when 
5560       errno == EAGAIN.
5561     * BUG 1025: Include sys/acl.h in check for broken nisplus 
5562       include files.      
5563     * BUG 1066: s/printf/d_printf/g in SWAT.
5564     * BUG 1098: rename internal msleep() function to fix build 
5565       problems on AIX.
5566     * BUG 1112: Fix for writable printerdata problem in python bindings.
5567     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
5568     * BUG 1155: enclose use of fchown() with guards.
5569     * Relicense tdb python module as LGPL.
5572 o   Richard Sharpe <rsharpe@samba.org>
5573     * Add support to smbclient for multiple logins on the same 
5574       session (based on work by abartlet@samba.org).
5575     * Correct blocking condition in smbd's use of accept() on IRIX.
5576     * Add support for printing out the MAC address on nmblookup.
5579 o   Simo Sorce <idra@samba.org>
5580     * Replace unknown_3 with fields_present in SAMR code.
5581     * More length checks in strlcat().
5584 o   Andrew Tridgell <tridge@samba.org>
5585     * Rewrote the AIX UESS backend for winbindd.
5586     * Fixed compilation with --enable-dmalloc.
5587     * Change tdb license to LGPL (see source/tdb/tdb.c).
5588     * Force winbindd to use schannel in clients connections to 
5589       DC's if possible.
5592 o   Jelmer Vernooij <jelmer@samba.org>
5593    * Fix ETA Calculation when resuming downloads in smbget.
5594    * Add -O (for writing downloaded files to standard out) 
5595      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
5596     * Fix syntax error in example mysql table
5598            
5599 o   TAKEDA yasuma <yasuma@miraclelinux.com>
5600     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
5601       cmd_chown, cmd_chmod smbclient functions.
5604 o   Shiro Yamada <shiro@miraclelinux.com>
5605     * BUG 1129: install image files for SWAT.
5607       
5608     --------------------------------------------------
5610                   ==============================
5611                   Release Notes for Samba 3.0.2a
5612                         February 13, 2004
5613                   ==============================
5615 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
5616 to address, in particular, a problem when using pdbedit to 
5617 sanitize (--force-initialized-passwords) Samba's tdbsam 
5618 backend.   This is the latest stable release of Samba. This 
5619 is the version that all production Samba servers should be 
5620 running for all current bug-fixes.  
5622 ******************* Attention! Achtung! Kree! *********************
5624 Beginning with Samba 3.0.2, passwords for accounts with a last 
5625 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
5626 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
5627 strings.  This will cause authentication to fail for such
5628 accounts.  If you have valid passwords that meet this criteria, 
5629 you must update the last change time to a non-zero value.  If you 
5630 do not, then  'pdbedit --force-initialized-passwords' will disable 
5631 these accounts and reset the password hashes to a string of X's.
5633 ******************* Attention! Achtung! Kree! *********************
5636 Changes since 3.0.2
5637 -------------------
5639 commits
5640 -------
5642 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5643 details.  The list of changes per contributor are as follows:
5646 o   Jeremy Allison <jra@samba.org>
5647     * Added paranoia checks in parsing code.
5648     
5650 o   Andrew Bartlett <abartlet@samba.org>
5651     * Ensure that changes to uninitialized passwords in ldapsam 
5652       are written to the DIT.
5655 o   Gerald (Jerry) Carter <jerry@samba.org>
5656     * Fixed iterator in tdbsam.
5657     * Fix bug that disabled accounts with a valid NT password 
5658       hash, but no LanMan hash.
5659     
5661 o   Steve French <sfrench@us.ibm.com>
5662     * Added missing nosetuid and noexec options.
5664     
5665 o   Bostjan Golob <golob@gimb.org>
5666     * BUG 1046: Don't overwrite usernames of entries returned 
5667       by getpwent_list().
5670 o   Sebastian Krahmer <krahmer@suse.de>
5671     * Fixed potential crash bug in NTLMSSP parsing code.
5674 o   Tim Potter <tpot@samba.org>
5675     * Fixed logic in tdb_brlock error checking.
5677     
5678 o   Urban Widmark <urban@teststation.com>
5679     * Set nosuid,nodev flags in smbmnt by default.
5680     
5681     
5682         --------------------------------------------------
5683                   
5684                   =============================
5685                   Release Notes for Samba 3.0.2
5686                         February 9, 2004
5687                   =============================
5689 It has been confirmed that previous versions of Samba 3.0 are
5690 susceptible to a password initialization bug that could grant an 
5691 attacker unauthorized access to a user account created by the
5692 mksmbpasswd.sh shell script.
5694 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
5695 has assigned the name CAN-2004-0082 to this issue.
5697 Samba administrators not wishing to upgrade to the current 
5698 version should download the 3.0.2 release, build the pdbedit 
5699 tool, and run 
5701    root# pdbedit-3.0.2 --force-initialized-passwords
5702       
5703 This will disable all accounts not possessing a valid password
5704 (e.g. the password field has been set a string of X's).
5706 Samba servers running 3.0.2 are not vulnerable to this bug 
5707 regardless of whether or not pdbedit has been used to sanitize
5708 the passdb backend.
5710 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
5711 release include:
5713   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
5714   o Logging onto a Samba domain from Windows XP clients.
5715   o Problems with the %U and %u smb.conf variables in relation to 
5716     Windows 9x/ME clients.
5717   o Kerberos failures due to an invalid in memory keytab detection
5718     test.
5719   o Updates to the ntlm_auth tool.
5720   o Fixes for various SMB signing errors.
5721   o Better separation of WINS and DNS queries for domain controllers.
5722   o Issues with nss_winbind FreeBSD and Solaris.
5723   o Several crash bugs in smbd and winbindd.
5724   o Output formatting fixes for smbclient for better compatibility
5725     with scripts based on the 2.2 version.
5728 Changes since 3.0.1
5729 -------------------
5731 smb.conf changes
5732 ----------------
5734     Parameter Name              Action
5735     --------------              ------
5736     ldap replication sleep      New
5737     read size                   removed (unused)
5738     source environment          removed (unused)
5741 commits
5742 -------
5744 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5745 details.  The list of changes per contributor are as follows:
5747 o   Jeremy Allison <jra@samba.org>
5748     * Revert change that broke Exchange clear text samlogons.
5749     * Fix gcc 3.4 warning in MS-DFS code.
5750     * Tidy up of NTLMSSP code.
5751     * Fixes for SMB signing errors
5752     * BUG 815: Workaround NT4 bug to support plaintext
5753       password logins and UNICODE.
5754     * Fix SMB signing bug when copying large files.
5755     * Correct error logic in mkdir_internals() (caused a panic
5756       when combined with --enable-developer).
5757     * BUG 830: Protect against crashes due to bad character 
5758       conversions.
5760       
5761 o   Petri Asikainen <paca@sci.fi>
5762     * BUG 330, 387:Fix single valued attribute updates when 
5763       working with Novell NDS.
5766 o   Andrew Bartlett <abartlet@samba.org>
5767     * Correctly handle per-pipe NTLMSSP inside a NULL session.
5768     * Fix segfault in gencache 
5769     * Fix early free() of encrypted_session_key.
5770     * Change DC lookup routines to more carefully separate
5771       DNS names (realms) from NetBIOS domain names.
5772     * Add new sid_to_dn() function for internal winbindd use.
5773     * Refactor cli_ds_enum_domain_trusts().
5774     * BUG 707: Implement range retrieval of ADS attributes (based 
5775       on work from Volker <vl@samba.org> and Guenther Deschner 
5776       <gd@suse.com>).
5777     * Automatically initialize the signing engine if a session key
5778       is available.
5779     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
5780       encoded strings, only form input in SWAT.
5781     * Resets the NTLMSSP state for new negotiate packets.
5782     * Add 2-byte alignments in net_samlogon() queries to parse 
5783       odd-length plain text passwords.
5784     * Allow Windows groups with no members in winbindd.
5785     * Allow normal authentication in the absence of a server 
5786       generated session key.
5787     * More optimizations for looking up UNIX group lists.
5788     * Clean up error codes and return values for pam_winbindd
5789       and winbindd PAM interface.
5790     * Fix string return values in ntlm_auth tool.
5791     * Fix segfault when 'security = ads' but no realm is defined.
5792     * BUG 722: Allow winbindd to map machine accounts to uids.
5793     * More cleanups for winbindd's find_our_domain().
5794     * More clearly detect whether a domain controller is an NT4
5795       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
5796     * Increase separation between DNS queries for hosts and queries
5797       for AD domain controllers.
5798     * Include additional NT_STATUS to PAM error mappings.
5799     * Password initialization fixes.
5801     
5802 o   Justin Baugh <justin.baugh@request.com>
5803     * BUG 948: Implement missing functions required for FreeBSD 
5804       nss_winbind support. 
5807 o   Alexander Bokovoy <ab@samba.org>
5808     * BUG 922: Make sure enable fast path for strlower_m() and 
5809       strupper_m().
5812 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
5813     * Fix crash when using 'security = server' and 'encrypt 
5814       passwords = no' by always initializing the session key.
5816       
5817 o   Dmitry Butskoj <buc@odusz.elektra.ru>
5818     * Fix for special files being hidden from admins.
5821 o   Gerald (Jerry) Carter <jerry@samba.org>
5822     * Fix bug in the lanman session key generation.  Caused 
5823       "decode_pw: incorrect password length" error messages.
5824     * Save the right case for the located user name in 
5825       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
5826     * BUG 897: Add well known rid for pre win2k compatible access
5827       group.
5828     * BUG 887: Correct typo in delete user script example.
5829     * Use short lived TALLOC_CTX* for allocating printer objects 
5830       from the print handle cache.
5831     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
5832     * Fix several warnings reported by the SUN Forte C compiler.
5833     * Fully control DNS queries for AD DC's using 'name resolve order'.
5834     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
5835     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
5836     * BUG 936: fix bind credentials for schannel binds in smbd.
5837     * BUG 446: Fix output of smbclient for better compatibility 
5838       with scripts based on the 2.2 version (including Amanda).
5839     * BUG 891, 949: Fedora packaging fixes.
5840     * Fix bug that caused rpcclient to incorrectly retrieve 
5841       the SID for a server (this causing all calls that required 
5842       this information to fail). 
5843     * BUG 977: Don't create a homes share for a user if a static 
5844       share already exists by the same name.
5845     * Removed unused smb.conf options.
5846     * Password initialization fixes.
5847     * Set the disable flag for template accounts created by
5848       mksmbpasswd.sh.
5849     * Disable any account has no passwords and does not have the
5850       ACB_PWNOTREQ bit set.
5853 o   Guenther Deschner <gd@suse.com>
5854     * Install smbwrapper.so should be put into the $(libdir) 
5855       and not $(bindir).
5856     * Add the capability to specify the new user password 
5857       for "net ads password" on the command line.
5858     * Correctly detect AFS headers on SuSE.
5859         
5861 o   James Flemer <jflemer@uvm.edu>
5862     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
5863       HAVE_SYS_ATTRIBUTES_H.
5866 o   Luke Howard <lukeh@PADL.COM>
5867     * Fix segfault in session setup reply caused by a early free().
5870 o   Stoian Ivanov <sdr@bultra.com>
5871     * Implement grepable output for smbclient -L.
5874 o   LaMont Jones <lamont@debian.org>
5875     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
5876       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
5877       not being defined).
5879       
5880 o   Volker Lendecke <vl@samba.org>
5881     * BUG 583: Ensure that user names always contain the short 
5882       version of the domain name.
5883     * Fix our parsing of the LDAP uri.
5884     * Don't show the 'afs username map' in the SWAT basic view.
5885     * Fix SMB signing issues in relation to failed NTLMSSP logins.
5886     * BUG 924: Fix return codes in smbtorture harness.
5887     * Always lower-case usernames before handing it to AFS code.
5888     * Add a German translation for SWAT.
5889     * Fix a segfaults in winbindd.
5890     * Fix the user's domain passed to register_vuid() from 
5891       reply_spnego_kerberos().
5892     * Add NSS example code in nss_winbind to convert UNIX 
5893       id's <-> Windows SIDs.
5894     * Display more descriptive error messages for login via 'net'.
5895     * Fix compiler warning in the net tool.
5896     * Fix length bug when decoding base64 strings.
5897     * Ensure we don't call getpwnam() inside a loop that is iterating 
5898       over users with getpwent().  This broke on glibc 2.3.2.
5901 o   Herb Lewis <herb@samba.org>
5902     * Fix bit rot in psec.
5905 o   Jianliang Lu <j.lu@tiesse.com>
5906     * Ensure we delete the group mapping before calling the delete 
5907       group script.
5908     * Define well known RID for managing the  "Power Users" group.
5909     * BUG 381: check builtin (not local) group SID when updating 
5910       group membership.
5911     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
5912       packet.
5915 o   John Klinger <john.klinger@lmco.com>
5916     * Implement initgroups() call in nss_winbind on Solaris.
5919 o   Jim McDonough <jmcd@us.ibm.com>
5920     * Fix regression in net rpc join caused by recent changes 
5921       to cli_lsa_query_info_policy().
5922     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
5923       machine account.
5926 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
5927     * BUG 570: Ensure that configure honors the LDFLAGS variable.
5930 o   Stefan Metzmacher <metze@samba.org>
5931     * Implement LDAP rebind sleep patch.
5932     * Revert to 2.2 quota code because of so many broken quota files 
5933       out there.
5934     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
5935                       XFS_USER_QUOTA -> USRQUOTA
5936                       XFS_GROUP_QUOTA -> GRPQUOTA
5937     * Fix disk_free calculation with group quotas.
5938     * Add debug class 'quota' and a lot of DEBUG()'s 
5939       to the quota code.
5940     * Fix sys_chown() when no chown() is present.
5941     * Add SIGABRT to fault handling in order to catch got a 
5942       backtrace if an error occurs the OpenLDAP client libs.
5945 o   <ndb@theghet.to>
5946     * Allow an existing LDAP machine account to be re-used when 
5947       joining an AD domain.
5950 o   James Peach <jpeach@sgi.com>
5951     * BUG 889: Change smbd to use pread/pwrite on platforms that 
5952       support these calls. Can lead to a significant speed increase.
5955 o   Tim Potter <tpot@samba.org>
5956     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
5957     * BUG 924: Fix typo in RW2 torture test.
5958     
5959     
5960 o   Richard Sharpe <rsharpe@samba.org>
5961     * Small fixes to torture.c to cleanup the error handling 
5962       and prevent crashes.
5965 o   J. Tournier <jerome.tournier@IDEALX.com>
5966     * Small fixes for the smbldap-tool scripts.
5969 o   Andrew Tridgell <tridge@samba.org>
5970     * Fix src len check in pull_usc2().
5971     
5972     
5973 o   Jelmer Vernooij <jelmer@samba.org>
5974     * Put functions for generating SQL queries in pdb_sql.c
5975     * Add pgSQL backend (based on patch by Hamish Friedlander)
5976     * BUG 908: Fix -s option to smbcontrol.    
5977     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
5978     * Fix for libnss_wins on IRIX platforms.
5979     * Fix swatdir for --with-fhs.
5982         --------------------------------------------------
5984                   =============================
5985                   Release Notes for Samba 3.0.1
5986                         December 15, 2003
5987                   =============================
5989 Some of the more common bugs in 3.0.0 addressed in the release 
5990 include:
5992   o Substitution problems with smb.conf variables.
5993   o Errors in return codes which caused some applications
5994     to fail to open files.
5995   o General Protection Faults on Windows 2000/XP clients
5996     using Samba point-n-print features.
5997   o Several miscellaneous crash bugs.
5998   o Access problems when enumerating group mappings are
5999     stored in an LDAP Directory.
6000   o Several common SWAT bugs when writing changes to
6001     smb.conf.
6002   o Internal inconsistencies when 'winbind use default
6003     domain = yes'
6007 Changes since 3.0.0
6008 ----------------------
6010     Parameter Name              Action
6011     --------------              ------
6012     hide local users            Removed
6013     mangled map                 Deprecated
6014     mangled stack               Removed
6015     passwd chat timeout         New
6018 commits
6019 -------
6021 o   Change the interface for init_unistr2 to not take a length 
6022     but a flags field.  We were assuming that 
6023     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
6024 o   Allow d_printf() to handle strings with escaped quotation 
6025     marks since the msg file includes the escape character (bug 489).
6026 o   Fix bad html table row termination in SWAT wizard code (bug 413).
6027 o   Fix to parse the level-2 strings.
6028 o   Fix for "valid users = %S" in [homes].  Fix read/write 
6029     list as well. 
6030 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
6031     This is the same way AC_CHECK_LIB works (bug 508).
6032 o   Testparm output fixes for clarity.
6033 o   Fix broken wins hook functionality -- i18n bug (bug 528).
6034 o   Take care of condition where DOS and NT error codes must differ.
6035 o   Default to using only built-in charsets when a working iconv 
6036     implementation cannot be located.
6037 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
6038     be done unconditionally (bug 550).
6039 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
6040 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
6041     --enable-debug=[yes|no] works correctly.
6042 o   Allow ^C to interrupt smbpasswd if using our getpass 
6043     (e.g. smbpasswd command).
6044 o   Support signing only on RPC's (bug 167).
6045 o   Correct bug that prevented  Excel 2000 clients from opening 
6046     files marked as read-only.
6047 o   Portability fix bugs 546 - 549).
6048 o   Explicitly initialize the value of AR for vendor makes that don't
6049     do this (e.g. HPUX 11).  (bug 552).
6050 o   More i18n fixes for SWAT (bug 413).
6051 o   Change the cwd before the postexec script to ensure that a
6052     umount will succeed.
6053 o   Correct double free that caused winbindd to crash when a DC 
6054     is rebooted (bug 437).
6055 o   Fix incorrect mode sum (bug 562).
6056 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
6057     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
6058 o   Add script to generate *msg files.
6059 o   Add Dutch SWAT translation file.
6060 o   Make sure to call get_user_groups() with the full winbindd 
6061     name for a user if he/she has one (bug 406).
6062 o   Fix up error code returns from Samba4 tester. Ensure invalid 
6063     paths are validated the same way.  
6064 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
6065 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
6066     libraries were found for $BACKEND.
6067 o   Move sysquotas autoconf tests to a separate file.
6068 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
6069     tester
6070 o   Make sure that the files that contain the static_init_$subsystem; 
6071     macro get recompiled after configure by removing the object 
6072     files.
6073 o   Ensure canceling a blocking lock returns the correct error 
6074     message.
6075 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
6076 o   Updated Japanese welcome file in SWAT.
6077 o   Fix to  nt-time <-> unix-time functions reversible.
6078 o   Ensure that winbindd uses the the escaped DN when querying
6079     an AD ldap server.
6080 o   Fix portability issues when compiling (bug 505, 550)
6081 o   Compile fix for tdbbackup when Samba needs to override 
6082     non-C99 compliant implementations of snprintf().
6083 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
6084 o   Make sure we break out of samsync loop on error.
6085 o   Ensure error code path doesn't free unmalloc()'d memory
6086     (bug 628).
6087 o   Add configure test for krb5_keytab_entry keyblock vs key 
6088     member (bug 636).
6089 o   Fixed spinlocks.
6090 o   Modified testparm so that all output so all debug output goes 
6091     to stderr, and all file processing goes to stdout.
6092 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
6093     and smbcquotas.
6094 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
6095     we have a devmode before copying a string to the devicename.
6096 o   Support mapping REALM.COM\user to a local user account (without 
6097     running winbindd)  for compatibility with 2.2.x release.
6098 o   Ensure we don't use mmap() on blacklisted systems.
6099 o   fixed a number of bugs and memory leaks in the AIX 
6100     winbindd shim
6101 o   Call initgroups() in SWAT before becomming the user so that
6102     secondary group permissions can be used when writing to 
6103     smb.conf.
6104 o   Fix signing problems when reverse connecting back to a 
6105     client for printer notify
6106 o   Fix signing problems caused by a miss-sequence bug.
6107 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
6108     Fixes NEXUS tools running on Win9x clients (bug 64).
6109 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
6110     SID could not be mapped.
6111 o   Fix segfault in mount.cifs helper when there is no options 
6112     specified during mount.
6113 o   Change the \n after the password prompt to go to tty instead 
6114     of stdout (bug 668).
6115 o   Stop net -P from prompting for machine account password (bug 451).
6116 o   Change in behavior to Not only change the effective uid but also
6117     the real uid when becoming unprivileged.
6118 o   Cope with Exchange 5.5 cleartext pop password auth.
6119 o   New files for support of initshutdown pipe.  Win2k doesn't 
6120     respond properly to all requests on the winreg pipe, so we need 
6121     to handle this new pipe (bug 534).
6122 o   Added more va_copy() checks in configure.in.
6123 o   Include fixes for libsmbclient build problems.
6124 o   Missing UNIX -> DOS codepage conversion in lanman.c.
6125 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
6126 o   Parameterize the listen backlog in smbd and make it larger by
6127     default. A backlog of 5 is way too small these days.
6128 o   Check for an invalid fid before dereferencing the fsp pointer
6129     (bug 696).
6130 o   Remove invalid memory frees and return codes in pdb_ldap.c.
6131 o   Prompt for password when invoking --set-auth-user and no 
6132     password is given.
6133 o   Bind the nmbd sending socket to the 'socket address'.
6134 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
6135     $LDFLAGS occurs before any library specification (bug 661).
6136 o   Fix large number of printf() calls for 64-bit size_t.
6137 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
6138     keyblock in the krb5 structs.
6139 o   Remove #include <compat.h> in hopes to avoid problems with 
6140     apache header files.
6141 o   Correct winbindd build problems on HP-UX 11.
6142 o   Lowercase netgroups lookups (bug 703).
6143 o   Use the actual size of the buffer in strftime instead of a made
6144     up value which just happens to be less than sizeof(fstring).  
6145     (bug 713).
6146 o   Add ldaplibs to pdbedit link line (bug 651).
6147 o   Fix crash bug in smbclient completion (bug 659).
6148 o   Fix packet length for browse list reply (bug 771).
6149 o   Fix coredump in cli_get_backup_list().
6150 o   Make sure that we expand %N (bug 612).
6151 o   Allow rpcclient adddriver command to specify printer driver 
6152     version (bug 514).
6153 o   Compile tdbdump by default.
6154 o   Apply patches to fix iconv detection for FreeBSD.
6155 o   Do not allow the 'guest account' to be added to a passdb backend 
6156     using smbpasswd or pdbedit (bug 624).
6157 o   Save LDFLAGS during iconv detection (bug 57).
6158 o   Run krb5 logins through the username map if the winbindd 
6159     lookup fails (bug 698).
6160 o   Add const for lp_set_name_resolve_order() to avoid compiler 
6161     warnings (bug 471).
6162 o   Add support for the %i macro in smb.conf to stand in for the for
6163     the local IP address to which a client connected.
6164 o   Allow winbindd to match local accounts to domain SID when 
6165     'winbind trusted domains only = yes' (bug 680).
6166 o   Remove code in idmap_ldap that searches the user suffix and group 
6167     suffix.  It's not needed and provides inconsistent functionality 
6168     from the tdb backend.
6169 o   Patch to handle munged dial string for Windows 2000 TSE.
6170     Thanks to Gaz de France, Direction de la Recherche, Service 
6171     Informatique Métier for their supporting this work by Aurelien 
6172     Degrémont <adegremont@idealx.com>.
6173 o   Correct the "smbldap_open: cannot access when not root error"
6174     messages when looking up group information (bug 281).
6175 o   Skip over the winbind separator when looking up a user.
6176     This fixes the bug that prevented local users from
6177     matching an AD user when not running winbindd (bug 698).
6178 o   Fix a problem with configure on *BSD systems. Make sure
6179     we add -liconv etc to LDFLAGS.
6180 o   Fix core dump bug when "security = server" and the authentication
6181     server goes away.
6182 o   Correct crash bug due to an empty munged dial string.
6183 o   Show files locked by a specific user (smbstatus -u 'user') 
6184     (bug 590).
6185 o   Fix bug preventing print jobs from display in the queue
6186     monitor used by Windows NT and later clients (bug 660).
6187 o   Fix several reported problems with point-n-print from
6188     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
6189     reply (bug 338, 527 & 643).
6190 o   Fix a handful of potential memory leaks in the LDAP code used
6191     by ldapsam[_compat] and the LDAP idmap backend.
6192 o   Fix for pdbedit error code returns (bug 763).
6193 o   Make sure we only enumerate group mapping entries  (not 
6194     /etc/group) even when doing local aliases.
6195 o   Relax check on the pipe name in a dce/rpc bind response to work 
6196     around issues with establishing trusts to a Windows 2003 domain.
6197 o   Ensure we mangle names ending in '.' in hash2 mangling method.
6198 o   Correct parsing issues with munged dial string.
6199 o   Fix bugs in quota support for XFS.
6200 o   Add a cleaner method for applications that need to provide 
6201     name->SID mappings to do this via NSS rather than having to 
6202     know the winbindd pipe protocol.
6203 o   Adds a variant of the winbindd_getgroups() call called 
6204     winbindd_getusersids() that provides direct SID->SIDs listing of 
6205     a users supplementary groups. This is enough to allow non-Samba 
6206     applications to do ACL checking.
6207 o   Make sure we don't append the 'ldap suffix' when writing out the 
6208     'ldap XXX suffix' values in SWAT (bug 328).
6209 o   Fix renames across file systems.
6210 o   Ensure that items in a list of strings containing whitespace are 
6211     written out surrounded by single quotes.  This means that both 
6212     double and single quotes are now used to surround strings in 
6213     smb.conf (bug 481).
6214 o   Enable SWAT to correctly determine if winbindd is running (bug 
6215     398).
6216 o   Include WWW-Authenticate field in 401 response for bad auth 
6217     attempt (bug 629).
6218 o   Add support for NTLM2 (NTLMv2 session security).
6219 o   Add support for variable-length session keys.
6220 o   More privilege fixes for group enumeration in LDAP (bug 281).
6221 o   Use the dns name (or IP) as the originating client name when
6222     using CUPS (bug 467).
6223 o   Fix various SMB signing bugs.
6224 o   Fix ACL propagation on a DFS root (bug 263).
6225 o   Disable NTLM2 for RPC pipes.
6226 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
6227     authentication.
6228 o   Change the name of the job passed off to cups from "Test Page" 
6229     to "smbprn.00000033 Test Page" so that we can get the smb 
6230     jobid back. This allow users to delete jobs with cups printing 
6231     backend (partial work on bug 770).
6232 o   Fix build of winbindd with static pdb modules.
6233 o   Retrieve the correct ACL group bits if the file has an ACL 
6234     (bug 802).
6235 o   Implement "net rpc group members": Get members of a domain group 
6236     in human-readable format.
6237 o   Add MacOSX (Darwin) specific charset module code.
6238 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
6239     can include the full name in gecos field (bug 587).
6240 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
6241 o   Implement 'net rpc group list [global|local|builtin]*' for a 
6242     select listing of the respective user databases.
6243 o   Don't automatically set NT status code flag unless client tells 
6244     us it can cope.
6245 o   Add 'net status [sessions|shares] [parseable]'.
6246 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
6247     bug 770).
6248 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
6249    (bug 608).
6250 o   Fix inverted logic in hosts allow/deny checks caused by 
6251     s/strcmp/strequal/ (bug 846).
6252 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
6253 o   Fix typo in 'hash' mangling algorithm.
6254 o   Support munged dial for ldapsam (bug 800).
6255 o   Fix process_incoming_data() to return the number of bytes handled 
6256     this call whether we have a complete PDU or not; fixes bug 
6257     with multiple PDU request rpc's broken over SMBwriteX calls 
6258     each.
6259 o   Fix incorrect smb flags2 for connections to pre-NT servers 
6260     (causes smbclient to fail to OS2 for example) (bug 821).
6261 o   Update version string in smbldap-tools Makefile to 0.8.2.
6262 o   Correct a problem with "net rpc vampire" mis-parsing the 
6263     alias member info reply.
6264 o   Ensure the ${libdir} is created by the installclientlib script.
6265 o   Fix detection of Windows 2003 client architecture in the smb.conf
6266     %a variable.
6267 o   Ensure that smbd calls the add user script for a missing UNIX 
6268     user on kerberos auth call (bug 445).
6269 o   Fix bugs in hosts allow/deny when using a mismatched 
6270     network/netmask pair.
6271 o   Protect alloc_sub_basic() from crashing when the source string 
6272     is NULL (partial work on bug 687).
6273 o   Fix spinlocks on IRIX.
6274 o   Corrected some bad destination paths when running "configure 
6275     --with-fhs".
6276 o   Add packaging files for Fedora Core 1.
6277 o   Correct bug in SWAT install script for non-english languages.
6278 o   Support character set ISO-8859-1 internally (bug 558).
6279 o   Fixed more LDAP access errors when looking up group mappings 
6280     (bug 281).
6281 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
6282     resolution to fail on local files on on domain members 
6283     (bug 875).
6284 o   Fix uninitialized variable in passdb.c.
6285 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
6286 o   Fix problem mounting directories when mount.cifs is installed 
6287     with the setuid bit on.
6288 o   Fix bug that prevent --mandir from overriding the defaults
6289     given in the --with-fhs macro.
6290 o   Fix bug in in-memory Kerberos keytab detection routines 
6291     in configure.in
6295 ######################################################################
6297               The original 3.0.0 release notes follow
6298               =======================================
6299                     WHATS NEW IN Samba 3.0.0
6300                         September 24, 2003
6301               =======================================
6304 Major new features:
6305 -------------------
6307 1)  Active Directory support.  Samba 3.0 is now able to  
6308     join a ADS realm as a member server and authenticate 
6309     users using LDAP/Kerberos.
6311 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
6312     and internally there is now a much better infrastructure for 
6313     multi-byte and UNICODE character sets.
6315 3)  New authentication system. The internal authentication system 
6316     has been almost completely rewritten. Most of the changes are 
6317     internal, but the new auth system is also very configurable.
6319 4)  New default filename mangling system.
6321 5)  A new "net" command has been added. It is somewhat similar to 
6322     the "net" command in windows. Eventually we plan to replace 
6323     numerous other utilities (such as smbpasswd) with subcommands 
6324     in "net".
6326 6)  Samba now negotiates NT-style status32 codes on the wire. This
6327     improves error handling a lot.
6329 7)  Better Windows 2000/XP/2003 printing support including publishing
6330     printer attributes in active directory.
6332 8)  New loadable module support for passdb backends and character 
6333     sets.
6335 9)  New default dual-daemon winbindd support for better performance.
6337 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
6338     domain and maintaining user, group and domain SIDs.
6340 11) Support for establishing trust relationships with Windows NT 4.0
6341     domain controllers.
6342   
6343 12) Initial support for a distributed Winbind architecture using
6344     an LDAP directory for storing SID to uid/gid mappings.
6345   
6346 13) Major updates to the Samba documentation tree.
6348 14) Full support for client and server SMB signing to ensure
6349     compatibility with default Windows 2003 security settings.
6351 15) Improvement of ACL mapping features based on code donated by
6352     Andreas Grünbacher.
6355 Plus lots of other improvements!
6358 Additional Documentation
6359 ------------------------
6361 Please refer to Samba documentation tree (included in the docs/ 
6362 subdirectory) for extensive explanations of installing, configuring
6363 and maintaining Samba 3.0 servers and clients.  It is advised to 
6364 begin with the Samba-HOWTO-Collection for overviews and specific 
6365 tasks (the current book is up to approximately 400 pages) and to 
6366 refer to the various man pages for information on individual options.
6368 We are very glad to be able to include the second edition of
6369 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
6370 (O'Reilly & Associates) in this release.  The book is available
6371 on-line at http://samba.org/samba/docs/ and is included with 
6372 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
6373 publisher for making "Using Samba" under the GNU Free Documentation 
6374 License.
6377 ######################################################################
6378 Upgrading from a previous Samba 3.0 beta
6379 ########################################
6381 Beginning with Samba 3.0.0beta3, the RID allocation functions
6382 have been moved into winbindd.  Previously these were handled
6383 by each passdb backend.  This means that winbindd must be running
6384 to automatically allocate RIDs for users and/or groups.  Otherwise,
6385 smbd will use the 2.2 algorithm for generating new RIDs.
6387 If you are using 'passdb backend = tdbsam' with a previous Samba 
6388 3.0 beta release (or possibly alpha), it may be necessary to 
6389 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
6390 to winbindd_idmap.tdb.  To do this:
6392 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
6393     once)
6394 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
6395     directory
6396 3)  run: (note that 'tdb>' is the tool's prompt for input)
6398        root# ./tdbtool /usr/local/samba/private/passdb.tdb
6399        tdb> show RID_COUNTER
6400        key 12 bytes
6401        RID_COUNTER
6402        data 4 bytes
6403        [000] 0A 52 00 00                                       .R.
6405        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
6406        ....
6407        record moved
6409 If you are using 'passdb backend = ldapsam', it will be necessary to 
6410 store idmap entries in the LDAP directory as well (i.e. idmap backend 
6411 = ldap).  Refer to the 'net idmap' command for more information on 
6412 migrating SID<->UNIX id mappings from one backend to another.
6414 If the RID_COUNTER record does not exist, then these instructions are
6415 unneccessary and the new RID_COUNTER record will be correctly generated
6416 if needed.  
6420 ########################
6421 Upgrading from Samba 2.2
6422 ########################
6424 This section is provided to help administrators understand the details
6425 involved with upgrading a Samba 2.2 server to Samba 3.0.
6428 Building
6429 --------
6431 Many of the options to the GNU autoconf script have been modified 
6432 in the 3.0 release.  The most noticeable are:
6434   * removal of --with-tdbsam (is now included by default; see section
6435     on passdb backends and authentication for more details)
6436     
6437   * --with-ldapsam is now on used to provided backward compatible
6438     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
6439     backend and authentication section for more details
6440   
6441   * inclusion of non-standard passdb modules may be enabled using
6442     --with-expsam.  This includes an XML backend and a mysql backend.
6443       
6444   * removal of --with-msdfs (is now enabled by default)
6445   
6446   * removal of --with-ssl (no longer supported)
6447   
6448   * --with-utmp now defaults to 'yes' on supported systems
6449   
6450   * --with-sendfile-support is now enabled by default on supported 
6451     systems
6452   
6453     
6454 Parameters
6455 ----------
6457 This section contains a brief listing of changes to smb.conf options
6458 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
6459 complete descriptions of new or modified parameters.
6461 Removed Parameters (order alphabetically):
6463   * admin log
6464   * alternate permissions
6465   * character set
6466   * client codepage
6467   * code page directory
6468   * coding system
6469   * domain admin group
6470   * domain guest group
6471   * force unknown acl user
6472   * hide local users
6473   * mangled stack
6474   * nt smb support
6475   * postscript
6476   * printer driver
6477   * printer driver file
6478   * printer driver location
6479   * read size
6480   * source environment
6481   * status
6482   * strip dot
6483   * total print jobs
6484   * use rhosts
6485   * valid chars
6486   * vfs options
6488 New Parameters (new parameters have been grouped by function):
6490   Remote management
6491   -----------------
6492   * abort shutdown script
6493   * shutdown script
6495   User and Group Account Management
6496   ---------------------------------
6497   * add group script
6498   * add machine script
6499   * add user to group script
6500   * algorithmic rid base
6501   * delete group script
6502   * delete user from group script
6503   * passdb backend
6504   * set primary group script
6506   Authentication
6507   --------------
6508   * auth methods
6509   * realm
6510   * passwd chat timeout
6512   Protocol Options
6513   ----------------
6514   * client lanman auth
6515   * client NTLMv2 auth
6516   * client schannel
6517   * client signing
6518   * client use spnego
6519   * disable netbios
6520   * ntlm auth
6521   * paranoid server security
6522   * server schannel
6523   * server signing
6524   * smb ports
6525   * use spnego
6527   File Service
6528   ------------
6529   * get quota command
6530   * hide special files
6531   * hide unwriteable files
6532   * hostname lookups
6533   * kernel change notify
6534   * mangle prefix
6535   * map acl inherit
6536   * msdfs proxy
6537   * set quota command
6538   * use sendfile
6539   * vfs objects
6540   
6541   Printing
6542   --------
6543   * max reported print jobs
6545   UNICODE and Character Sets
6546   --------------------------
6547   * display charset
6548   * dos charset
6549   * unicode
6550   * unix charset
6551   
6552   SID to uid/gid Mappings
6553   -----------------------
6554   * idmap backend
6555   * idmap gid
6556   * idmap uid
6557   * winbind enable local accounts
6558   * winbind trusted domains only
6559   * template primary group
6560   * enable rid algorithm
6562   LDAP
6563   ----
6564   * ldap delete dn
6565   * ldap group suffix
6566   * ldap idmap suffix
6567   * ldap machine suffix
6568   * ldap passwd sync
6569   * ldap replication sleep
6570   * ldap user suffix
6571   
6572   General Configuration
6573   ---------------------
6574   * preload modules
6575   * private dir
6577 Modified Parameters (changes in behavior):
6579   * encrypt passwords (enabled by default)
6580   * mangling method (set to 'hash2' by default)
6581   * passwd chat
6582   * passwd program
6583   * restrict anonymous (integer value)
6584   * security (new 'ads' value)
6585   * strict locking (enabled by default)
6586   * unix extensions (enabled by default)
6587   * winbind cache time (increased to 5 minutes)
6588   * winbind uid (deprecated in favor of 'idmap uid')
6589   * winbind gid (deprecated in favor of 'idmap gid')
6592 Databases
6593 ---------
6595 This section contains brief descriptions of any new databases 
6596 introduced in Samba 3.0.  Please remember to backup your existing 
6597 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
6598 upgrade databases as they are opened (if necessary), but downgrading 
6599 from 3.0 to 2.2 is an unsupported path.
6601 Name                    Description                             Backup?
6602 ----                    -----------                             -------
6603 account_policy          User policy settings                    yes
6604 gencache                Generic caching db                      no
6605 group_mapping           Mapping table from Windows              yes
6606                         groups/SID to unix groups        
6607 winbindd_idmap          ID map table from SIDS to UNIX          yes
6608                         uids/gids.
6609 namecache               Name resolution cache entries           no
6610 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
6611                         returned as part of a successful
6612                         net_sam_logon request 
6613 printing/*.tdb          Cached output from 'lpq                 no
6614                         command' created on a per print 
6615                         service basis
6616 registry                Read-only samba registry skeleton       no
6617                         that provides support for exporting
6618                         various db tables via the winreg RPCs
6621 Changes in Behavior
6622 -------------------
6624 The following issues are known changes in behavior between Samba 2.2 and 
6625 Samba 3.0 that may affect certain installations of Samba.
6627   1)  When operating as a member of a Windows domain, Samba 2.2 would 
6628       map any users authenticated by the remote DC to the 'guest account'
6629       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
6630       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
6631       current work around to re-establish the 2.2 behavior.
6632       
6633   2)  When adding machines to a Samba 2.2 controlled domain, the 
6634       'add user script' was used to create the UNIX identity of the 
6635       machine trust account.  Samba 3.0 introduces a new 'add machine 
6636       script' that must be specified for this purpose.  Samba 3.0 will
6637       not fall back to using the 'add user script' in the absence of 
6638       an 'add machine script'
6639   
6641 ######################################################################
6642 Passdb Backends and Authentication
6643 ##################################
6645 There have been a few new changes that Samba administrators should be
6646 aware of when moving to Samba 3.0.
6648   1) encrypted passwords have been enabled by default in order to 
6649      inter-operate better with out-of-the-box Windows client 
6650      installations.  This does mean that either (a) a samba account
6651      must be created for each user, or (b) 'encrypt passwords = no'
6652      must be explicitly defined in smb.conf.
6653     
6654   2) Inclusion of new 'security = ads' option for integration 
6655      with an Active Directory domain using the native Windows
6656      Kerberos 5 and LDAP protocols.
6658      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
6659      type which is neccessary for servers on which the 
6660      administrator password has not been changed, or kerberos-enabled 
6661      SMB connections to servers that require Kerberos SMB signing.
6662      Besides this one difference, either MIT or Heimdal Kerberos
6663      distributions are usable by Samba 3.0.
6664      
6666 Samba 3.0 also includes the possibility of setting up chains
6667 of authentication methods (auth methods) and account storage 
6668 backends (passdb backend).  Please refer to the smb.conf(5) 
6669 man page for details.  While both parameters assume sane default 
6670 values, it is likely that you will need to understand what the 
6671 values actually mean in order to ensure Samba operates correctly.
6673 The recommended passdb backends at this time are
6675   * smbpasswd - 2.2 compatible flat file format
6676   * tdbsam - attribute rich database intended as an smbpasswd
6677     replacement for stand alone servers
6678   * ldapsam - attribute rich account storage and retrieval 
6679     backend utilizing an LDAP directory.  
6680   * ldapsam_compat - a 2.2 backward compatible LDAP account 
6681     backend
6682     
6683 Certain functions of the smbpasswd(8) tool have been split between the 
6684 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
6685 utility.  See the respective man pages for details.
6686     
6687      
6688 ######################################################################
6689 LDAP
6690 ####
6692 This section outlines the new features affecting Samba / LDAP 
6693 integration.
6695 New Schema
6696 ----------
6697   
6698 A new object class (sambaSamAccount) has been introduced to replace 
6699 the old sambaAccount.  This change aids us in the renaming of 
6700 attributes to prevent clashes with attributes from other vendors.  
6701 There is a conversion script (examples/LDAP/convertSambaAccount) to 
6702 modify and LDIF file to the new schema.
6703   
6704 Example:
6705   
6706   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
6707   $ convertSambaAccount --sid=<Domain SID> \
6708     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
6709     --changetype=[modify|add]
6710         
6711 The <DOM SID> can be obtained by running 'net getlocalsid 
6712 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
6713 the format of the generated LDIF output--either create new entries 
6714 or modify existing entries.
6715     
6716 The old sambaAccount schema may still be used by specifying the 
6717 "ldapsam_compat" passdb backend.  However, the sambaAccount and
6718 associated attributes have been moved to the historical section of
6719 the schema file and must be uncommented before use if needed.
6720 The 2.2 object class declaration for a sambaAccount has not changed
6721 in the 3.0 samba.schema file. 
6722   
6723 Other new object classes and their uses include:
6724   
6725   * sambaDomain - domain information used to allocate rids 
6726     for users and groups as necessary.  The attributes are added
6727     in 'ldap suffix' directory entry automatically if 
6728     an idmap uid/gid range has been set and the 'ldapsam'
6729     passdb backend has been selected.
6730       
6731   * sambaGroupMapping - an object representing the 
6732     relationship between a posixGroup and a Windows
6733     group/SID.  These entries are stored in the 'ldap 
6734     group suffix' and managed by the 'net groupmap' command.
6735     
6736   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
6737     automatically and contains the next available 'idmap uid' and 
6738     'idmap gid'
6739     
6740   * sambaIdmapEntry - object storing a mapping between a 
6741     SID and a UNIX uid/gid.  These objects are created by the 
6742     idmap_ldap module as needed.
6744   * sambaSidEntry - object representing a SID alone, as a Structural
6745     class on which to build the sambaIdmapEntry.
6747     
6748 New Suffix for Searching
6749 ------------------------
6750   
6751 The following new smb.conf parameters have been added to aid in directing
6752 certain LDAP queries when 'passdb backend = ldapsam://...' has been
6753 specified.
6755   * ldap suffix         - used to search for user and computer accounts
6756   * ldap user suffix    - used to store user accounts
6757   * ldap machine suffix - used to store machine trust accounts
6758   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
6759   * ldap idmap suffix   - location of sambaIdmapEntry objects
6761 If an 'ldap suffix' is defined, it will be appended to all of the 
6762 remaining sub-suffix parameters.  In this case, the order of the suffix
6763 listings in smb.conf is important.  Always place the 'ldap suffix' first
6764 in the list.  
6766 Due to a limitation in Samba's smb.conf parsing, you should not surround 
6767 the DN's with quotation marks.
6770 IdMap LDAP support
6771 ------------------
6773 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
6774 following options would inform Samba that the idmap table should be
6775 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
6776 dc=org" partition.
6778  [global]
6779     ...
6780     idmap backend     = ldap:ldap://onterose/
6781     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
6782     idmap uid         = 40000-50000
6783     idmap gid         = 40000-50000
6785 This configuration allows winbind installations on multiple servers to
6786 share a uid/gid number space, thus avoiding the interoperability problems
6787 with NFS that were present in Samba 2.2.
6788     
6791 ######################################################################
6792 Trust Relationships and a Samba Domain
6793 ######################################
6795 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
6796 allocating uids and gids to trusted users and groups.  More
6797 information regarding Samba's support for establishing trust 
6798 relationships can be found in the Samba-HOWTO-Collection included
6799 in the docs/ directory of this release.
6801 First create your Samba PDC and ensure that everything is 
6802 working correctly before moving on the trusts.
6804 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
6805 4.0 domain named WINDOWS:
6807   1) create the trust account for SAMBA in "User Manager for Domains"
6808   2) connect the trust from the Samba domain using
6809      'net rpc trustdom establish GLASS'
6811 To create a trustlationship with SAMBA as the trusted domain:
6813   1) create the initial trust account for GLASS using
6814      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
6815      account for GLASS$ prior to this step (depending on your
6816      local configuration).
6817   2) connect the trust from a WINDOWS DC using "User Manager
6818      for Domains"
6820 Now join winbindd on the Samba PDC to the SAMBA domain using
6821 the normal steps for adding a Samba server to an NT4 domain:
6822 (note that smbd & nmbd must be running at this point)
6824    root# net rpc join -U root
6825    Password: <enter root password from smbpasswd file here>
6827 Start winbindd and test the join with 'wbinfo -t'.
6829 Now test the trust relationship by connecting to the SAMBA DC
6830 (e.g. POGO) as a user from the WINDOWS domain:
6832    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
6833    Password:
6835 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
6837    $ smbclient //crystal/netlogon -U root -W WINDOWS
6838    Password:
6840 ######################################################################
6841 Changes in Winbind
6842 ##################
6844 Beginning with Samba3.0.0beta3, winbindd has been given new account
6845 manage functionality equivalent to the 'add user script' family of
6846 smb.conf parameters.  The idmap design has also been changed to 
6847 centralize control of foreign SID lookups and matching to UNIX 
6848 uids and gids.
6851 Brief Description of Changes
6852 ----------------------------
6854 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
6855    reverted to the 2.2.x design.  This means that when resolving a 
6856    SID to a UID or similar mapping:
6858         a) First consult winbindd
6859         b) perform a local lookup only if winbindd fails to
6860            return a successful answer
6862    There are some variations to this, but these two rules generally
6863    apply.
6865 2) All idmap lookups have been moved into winbindd.  This means that
6866    a server must run winbindd (and support NSS) in order to achieve
6867    any mappings of SID to dynamically allocated UNIX ids.  This was
6868    a conscious design choice.
6870 3) (OBSOLETE) New functions have been added to winbindd to emulate 
6871    the 'add user script' family of smbd functions without requiring 
6872    that external scripts be defined.  This functionality is controlled 
6873    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
6874    by default).
6876    However, this account management functionality is only supported 
6877    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
6878    must be shared among multiple Samba servers (such as a PDC and BDCs), 
6879    it will be necessary to define your own 'add user script', et. al.
6880    programs that place the accounts/groups in some form of directory
6881    such as NIS or LDAP.  This requirement was deemed beyond the scope
6882    of winbind's account management functions.  Solutions for 
6883    distributing UNIX system information have been deployed and tested 
6884    for many years.  We saw no need to reinvent the wheel.
6886 4) A member of a Samba controlled domain running winbindd is now able 
6887    to map domain users directly onto existing UNIX accounts while still
6888    automatically creating accounts for trusted users and groups.  This
6889    behavior is controlled by the 'winbind trusted domains only' smb.conf
6890    parameter (disabled by default to provide 2.2.x winbind behavior).
6892 5) Group mapping support is wrapped in the local_XX_to_XX() functions
6893    in smbd/uid.c.  The reason that group mappings are not included
6894    in winbindd is because the purpose of Samba's group map is to
6895    match any Windows SID with an existing UNIX group.  These UNIX
6896    groups can be created by winbindd (see next section), but the
6897    SID<->gid mapping is retreived by smbd, not winbindd.
6900 Examples
6901 --------
6903 * security = server running winbindd to allocate accounts on demand
6905 * Samba PDC running winbindd to handle the automatic creation of UNIX
6906   identities for machine trust accounts
6908 * Automtically creating UNIX user and groups when migrating a Windows NT
6909   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
6910   'net rpc vampire' for this to work.
6912    
6913 ######################################################################
6914 Known Issues
6915 ############
6917 * There are several bugs currently logged against the 3.0 codebase
6918   that affect the use of NT 4.0 GUI domain management tools when run
6919   against a Samba 3.0 PDC.  This bugs should be released in an early 
6920   3.0.x release.
6922 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
6923 filed against the Samba 3.0 codebase.
6926 ######################################################################
6927 Reporting bugs & Development Discussion
6928 #######################################
6930 Please discuss this release on the samba-technical mailing list or by
6931 joining the #samba-technical IRC channel on irc.freenode.net.
6933 If you do report problems then please try to send high quality
6934 feedback. If you don't provide vital information to help us track down
6935 the problem then you will probably be ignored.  
6937 A new bugzilla installation has been established to help support the 
6938 Samba 3.0 community of users.  This server, located at 
6939 https://bugzilla.samba.org/, has replaced the older jitterbug server 
6940 previously located at http://bugs.samba.org/.