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