r13109: 3.0.21b chnges from the 3.0 tree (round #2)
[Samba.git] / WHATSNEW.txt
blob22e5b56accccb966bc2e06811c23b2f41b1fdcd2
1                    ===============================
2                    Release Notes for Samba 3.0.21a
3                               Dec 30, 2005
4                    ===============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all current
8 bug-fixes.  Please read the following important changes in this
9 release.
11 ######################################################################
12 Changes
13 #######
15 Changes since 3.0.21
16 --------------------
18 commits
19 -------
20 o   Gerald (Jerry) Carter <jerry@samba.org>
21     * RedHat 9 packaging Fixes.
24 o   Guenther Deschner <gd@samba.org>
25     * eDirectory schema syntax fixes.
28 o   Volker Lendecke <vl@samba.org>
29     * BUG 3349: Deadlock caused logic error in oplock code.
32 Release Notes for older release follow:
34       --------------------------------------------------
35                    ==============================
36                    Release Notes for Samba 3.0.21
37                             Dec 20, 2005
38                    ==============================
40 Common bugs fixed in 3.0.21 include:
42   o Missing groups in a user's token when logging in via kerberos
43   o Incompatibilities with newer MS Windows hotfixes and 
44     embedded OS platforms
45   o Portability and crash bugs.
46   o Performance issues in winbindd.
48 New features introduced in Samba 3.0.21 include:
50   o Complete NTLMv2 support by consolidating authentication
51     mechanism used at the CIFS and RPC layers.
52   o The capability to manage Unix services using the Win32 
53     Service Control API.
54   o The capability to view external Unix log files via the
55     Microsoft Event Viewer.
56   o New libmsrpc share library for application developers.
57   o Rewrite of CIFS oplock implementation.
58   o Performance Counter external daemon.
59   o Winbindd auto-detection query methods when communicating with
60     a domain controller.
61   o The ability to enumerate long share names in libsmbclient 
62     applications.
65 ######################################################################
66 Changes
67 #######
69 smb.conf changes
70 ----------------
72     Parameter Name                      Action
73     --------------                      ------
74     dfree cache time                    New
75     dfree command                       Per share
76     eventlog list                       New
77     iprint server                       New
78     map read only                       New
79     passdb expand explicit              New
80     rename user script                  New
81     reset on zero vc                    New
82     svcctl list                         Renamed from 'enable svcctl'
86 Changes since 3.0.20b
87 ---------------------
89 o   Jeremy Allison <jra@samba.org>
90     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
91     * Added 'map readonly' parameter.
92     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
93       not defined.
94     * Maintain schannel client session keys in volatile 
95       $(privatedir)/schannel_store.tdb.
96     * BUG 2769: Ensure we mangle filenames ending in a space
97     * Catch corner case of renaming a symlinked directory into 
98       itself
99     * Ensure that smb.conf requests for hidden files are honored, 
100       even when DOS attributes are stored in EA's
101     * Add new auth method "auth_script" for calling an external 
102       program
103     * BUG 2152: Fix for mangled filenames when the client does 
104       support long filenames
105     * Rewritten implementation of client and server DCE/RPC infrastructure 
106     * BUG 3192: Adds a "dfree cache time" parameter.
107     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
108       the S_IWGRP mask in the absence of a POSIX ACL.
109     * Remove use of 'long long' in libsmbclient code.
110     * Ensure the new canonicalize_servicename() in name/snum hash 
111       is multi-byte safe.
112     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
113       Bakeyev.
114     * BUG 3216: Put directory opens into the share mode db so we 
115       can treat them similarly to file opens (delete on close, 
116       share mode violations etc.).
117     * Fix bug in name mangling code when case sensitivity is enabled.
118     * Remove external dependencies from the sharemodes library.
119     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
120     * Don't misinterpret wild card characters in file names on disk
121       as they are actually valid characters.
122     * BUG 3223: Fix bug in account policy management when 
123       account_pol.tdb settings have been migrating to an LDAP 
124       backend.
125     * Allow the hash size of the tdb open (locking) database to be 
126       set in local.h.
127     * Fix error code returns on client spoolss code.
128     * Remove unneeded strncpy use.
129     * Fix uninitialized variables warnings.
130     * Cleanup smbcacls security descriptor parsing and error codes.
131     * BUG 3224: Correctly use machine_account_name and client_name 
132       when doing netlogon credential setup.  Fixes winbindd running 
133       on a Samba PDC.
134     * Backport Samba 4 time zone handling.
135     * Fix core dump if setmntent() returns NULL.
136     * Replace old crc32 code with one from the FreeBSD tree.
137     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
138     * Remove #define of close -> close_fn macro in libsmbclient.
139     * Return early if -1 returned from *BSD EA call (reported by 
140       Timur).
141     * Name space cleanup by marking local functions static.
142     * Move samr enumeration cache from per handle basis to a shared 
143       cache.
144     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
145       OS/2 servers (based on patch from Guenter Kukkukk).
146     * Ensure default applies to new files (reported by Thomas 
147       Neumann).
148     * BUG 3293: Use SMBecho to testing the server in client rather 
149       than SMBchkpath.
150     * Merge talloc fixes from Samba 4 branch.
151     * Add support DCE/RPC cancel operation.
152     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
153       when using EA for DOS attributes.
154     * Fix bug in returning remote time (reported by Thomas Bork).
155     * No users or groups to return in BUILTIN domain.
156     * Removed separate "builtin" search enumeration.
157     * Added count_sam_aliases to return the correct alias count.
158     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
159       eDirectory when accessing the universal password.
160     * Fix deadlock condition in share mode locking code.
161     * Fix logic bug in unix_mask_match().
162     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
165 o   Rashid N. Achilov <shelton@granch.ru>
166     * Add better service description names to the svcctl code.
169 o   Timur Bakeyev <timur@com.bat.ru>
170     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
173 o   Andrew Bartlett <abartlet@samba.org>
174     * Remove another ancient NTLMSSP implementation.
175     * Allow machine account logons work if the client gives the 
176       appropriate flags. 
179 o   Alexander Bokovoy <ab@samba.org>
180     * Add POSIX statvfs() to VFS api.
183 o   Gerald (Jerry) Carter <jerry@samba.org>
184     * Eventlog and ServiceControl support.
185     * BUG 1051: store the directory path so we can send the full 
186       name in the unlink call from smbclient.
187     * Use reference count strategy for keeping the registry tdb 
188       open.
189     * Convert internal registry objects to new hierarchical talloc
190     * Allow the root user a free pass for access checks in the
191       registry and service control checks.
192     * Sanity checks in the privilege code to prevent empty SID 
193       entries
194     * Add basic infrastructure for 'make test' when the socket 
195       wrapper library is configured at compile time
196     * Convert profiles utility to use the current regfio interface 
197       for reading and writing user profiles
198     * Remove netsamlogon_cache interface
199     * Ensure that print jobs are removed even when the cancel 
200       command is received before the print cache has been updated
201     * Fix linking problem on Solaris when including ACL support.
202     * Give root a free pass to open the eventlog tdb files.
203     * Fix segfault in addprinter due to mixing talloc() and 
204       malloc()'d memory.
205     * fix invalid read reported by valgrind in the spoolss 
206       backchannel connection.
207     * Remove use of 'long long' in perfcounter registry code.
208     * BUG 3201: make sure request structure is cleared prior to 
209       sending the request to winbindd.
210     * Don't count open pipes in the num_files_open on a connection
211       (regression from Samba 2.2).
212     * Ensure servername hashing code normalizes the name.
213     * Fix checks for connect() in -lnsl[_s].
214     * Convert eventlog API to use NTSTATUS return codes rather 
215       than WERROR.
216     * Fix segv in winbindd caused by an uninitialized variable 
217       in winbindd_dual_getsidaliases().
218     * Allow winbindd to select the appropriate backend methods
219       based on the DC attributes and not the security parameter.
220     * Re-add the netsamlogon_cache tdb and ensure that user entries
221       are updated from the PAC data during kerberos ticket 
222       validation.
223     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
224       by mangling machine names in sub_set_smb_name().
225     * Add smbget to the list of tools built by default.
226     * Fix clearing of eventlog tdb files.
227     * Fix sequential reads in eventlog support.
228     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
229       is Win9x.
230     * Fix build issues with the Sun compiler.
231     * BUG 3156: Don't use find_service() when explicitly looking 
232       for a printer.
233     * Fix nss_winbind_solaris.c build breakage on HP-UX.
234     * Initialize the local group description.
235     * Disable WINS and NetLogon services in the MMC services
236       plugin when the associated smb.conf features are not enabled.
237     * Add checks for invalid characters in new share names on the 
238       srvsvc pipe.
239     * Fix SWAT installation issues with 'make install'.
242 o   Alex Deiter <tiamat@komi.mts.ru>
243     * BUG 3196: Patch to compile against the Sun LDAP client libs.
244       (not for AD support; just ldap support).
247 o   Guenther Deschner <gd@samba.org>
248     * Fixed compile problems and warnings with newer OpenLDAP 
249       and OpenSSL libs
250     * Fix bug when enumerating trusted domains via 'wbinfo -m'
251     * Parse the MS Kerberos PAC to obtain the user group 
252       membership during logon.
253     * Add support for SeRestorePrivilege to allow a process to 
254       change the ownership of a file to any arbitrary account
255     * Fix password history storage when using Novell eDirectory for 
256       ldapsam storage
257     * Backport Kerberos PAC parsing from Samba 4 branch in order to
258       correctly create the NT User Token when logging into a Samba 
259       member server
260     * Add small helper function to return a PAC_LOGON_INFO.
261     * Use LDAP bitwise matching rule when searching for groups 
262       in ADS.
263     * Avoid an infinite loop when retrying to connect in smbspool.
264     * Memory leak fixes in the kerberos PAC parsing code.
265     * Improve NT_STATUS error messages returned from pam_winbind.
266     * Rename unknown samr group fields in samr structures with 
267       the correct name.removed separate "builtin" search enumeration.
268     * Cleanup redundant StartTLS code.
269     * Allow StartTLS support when connecting to Windows 2003 by
270       setting 'ldap ssl = start_tls'.
271     * Support raw NTLMSSP session setups in smbspool.
272     * Add rpccli_samr_chgpasswd3().
273     * Add 'wbinfo --separator'.
274     * Uninitialized warnings fixes.
275     * Fix return value in client spooler code.
276     * Require forced migration of account policies.  
279 o   Steve French <sfrench@us.ibm.com>
280     * Fix cifs to handle non-numeric uid and gid parameters.
281     * Merge trunk and SAMBA_3_0 mount.cifs code.
282     * Cleanup cifs cfs help message.
285 o   Paul Green <paulg@samba.org>
286     * Update to the latest config.guess and config.sub files.
289 o   Deryck Hodge <deryck@samba.org>
290     * Allow control of syslog facility and level in audit vfs modules.
293 o   S Murthy Kambhampaty <smk_va@yahoo.com>
294     * Patches for Fedora RPM specfile and init script
297 o   Krishna Ganugapati <krishnag@centeris.com>
298     * Use the subtree delete ldap control when running 'net ads 
299       leave'.
302 o   Volker Lendecke <vl@samba.org>
303     * New oplock implementation.
304     * Add assert() call if winbindd cannot locate the domain SID in 
305       secrets.tdb on startup
306     * Fix an annoying timeout in winbindd when nmbd is not running.
307     * Speed up loading smb.conf for large numbers of share 
308       definitions by adding an internal hashing of names to snums. 
309       Thanks to Michael Adam.
310     * Fix potential segv in rpcclient's lsarpc calls.
311     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
312     * Fix alignment in getdc response.
313     * Allow pdbedit to set the domain for a user account.
314     * Fix fallback logic in rpc binds.
315     * Fix memleak in message handling code.
316     * Fix connection bug to port 445 and 139 after a successful 
317       getdcname response.
318     * Add additional calls to initialize_krb5_error_table() for 
319       kerberos client code.
320     * Implement the possibility to have AFS users as SIDs in pts.
321     * Removed unused alternative_name code from winbindd.
322     * Protect against NULL alternative_name strings in winbindd.
323     * Define a default panic action with -DEVELOPER is defined.
324     * Add the capability to reset smbd connections on a zero VC id.
325     * Allow smb.conf variable expansion to be disabled in passdb 
326       backends.
327     * Add lookupname to rpcclient query_user as a fallback.
328     * BUG 3292: Prevent smbclient from spinning when the server 
329       disconnects.
330     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
331     * Add samr_lookup_rids for the builtin domain.
332     * Memory allocation cleanups in passdb.
333     * Restrict samr_open_domain() to our domain only.
334     * Change local_lookup_sid() to local_lookup_rid() since it 
335       is responsible for our domain only.
336     * Fix some uninitialized variable warnings.
337     * Fix winbind_lookup_name for the local domain, 
340 o   Derrell Lipman <derrell@samba.org>
341     * Cleanup libmsrpc version numbers.
342     * Libsmbclient memory & file descriptor leak fixes.
343     * Fix crash bug in libsmbclient.
344     * Add long share name support to libsmbclient when enumerating shares.
347 o   Jason Mader <jason@ncac.gwu.edu>
348     * Removed compiler various warnings.
351 o   Alex Masterov <alex@infobit.ru>
352     * BUG 3218: Fix XATTR calls on *BSD systems.
355 o   Jim McDonough <jmcd@us.ibm.com>
356     * Speed up string_to_sid by removing next_token calls and 
357       unneeded strncmp() calls.
358     * Implement user rename for smbpasswd and LDAP backends.
359     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
360     * BUG 3187: Fix time zone offset in logon hours restrictions.
363 o   Stefan Metzmacher <metze@samba.org>
364     * Fix setting of quotas on linux kernel with the struct 
365       if_dqblk interface
366     * Enable sysquota interfact on Linux by default
367     * Use lp_socket_address() when binding to port 138/udp in nmbd.
370 o   Brian Moran <bmoran@centeris.com>
371     * Eventlog and ServiceControl support.
372     * Added eventlogadm tool for writing Eventlog records.
373     * Fix typo when creating Eventlog source DLL registry paths.
374     * Add simple script to tail syslog and write records to 
375       eventlog tdb.
376     * Fix segv in eventlogadm when not event logs are listed in 
377       smb.conf.
380 o   Lars Müller <lmuelle@samba.org>
381     * Only install smbsh manpage if smbwrapper has been successfully
382       built.
383     * Ensure setmntent() returns with != NULL in the disk_quotas() 
384       Linux version.
385     * Add configure switch to disable libmsrpc build.
386     * Add a soname to libmsrpc.
389 o   Ricky Nance <ricky.nance@gmail.com>
390     * Updates for the mklogon perl scripts.
393 o   Chris Nicholls <skel@samba.org>
394     * New libmsrpc library (Google SoC Project).
395     * Fix libmsrpc build of on the Sun compiler by removing empty 
396       structure declarations.
399 o   James Peach <jpeach@sgi.com>
400     * Fix parsing error for smb ports parameter.
403 o   Tim Potter <tpot@samba.org>
404     * BUG 3260: Fix DYNEXP flags on HPUX.
407 o   Marcin Porwit <mporwit@centeris.com>
408     * Eventlog and ServiceControl support.
409     * Added basic Performance Counter daemon which can feed data
410       for the Windows perfmon.exe tool.
411     * Fix directory permissions in the perfcounter daemon.
412     * Add the 'File' registry value for the eventlog keys.
415 o   Aruna Prabakar <aruna.prabakar@hp.com.
416     * Add checks to verify that the spooler is running on HP-UX when
417       reloading the printer name cache.
420 o   Joel Smith <joel.j.smith@novell.com>
421     * Add iPrint printing backend support.
424 o   Toomas Soome <Toomas.Soome@mls.ee>
425     * Implement host lookups in nss_winbind.so.1 on Solaris
428 o   Simo Sorce <idra@samba.org>
429     * Update Debian packaging.
432 o   John Terpstra <jht@samba.org>
433     * Add 'net idmap' usage help text.
436 o   Andrew Tridgell <tridge@samba.org>
437     * Change license notice of standalone talloc library to LGPL.
440 o   Darren Tucker <dtucker@zip.com.au>
441     o Crash fix for snprintf() code.
444 o   Rainer Weikusat <rainer.weikusat@sncag.com>
445     * Fix function name typo in skeleton VFS code.
449 Release Notes for older release follow:
451       --------------------------------------------------
452                    ===============================
453                    Release Notes for Samba 3.0.20b
454                              Oct 12, 2005
455                    ===============================
457 Common bugs fixed in 3.0.20b include:
459   o A crash bug in winbindd
460   o Reporting files as read-only instead of returning the 
461     correct error code of "access denied"
462   o File system quota support defects
463   
465 ######################################################################
466 Changes
467 #######
470 Changes since 3.0.20a
471 ---------------------
473 commits
474 -------
476 o   Jeremy Allison <jra@samba.org>
477     * BUG 3088: Fix error condition for files on a read-write share 
478       which cannot be read due to permissions.
481 o   Gerald (Jerry) Carter <jerry@samba.org>
482     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
483       details.
484     * BUG 1473, 3090: Quota detection and compilation problems on 
485       Solaris.
488 o   Marc Balmer <marc@msys.ch>
489     * Build fixes when builddir != srcdir
492 o   Alex Deiter <tiamat@komi.mts.ru>
493     * BUG 3145: Fix build issue regarding quota support on Solaris.
496 o   Volker Lendecke <vl@samba.org>
497     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
498       name.
501       --------------------------------------------------
502                    ===============================
503                    Release Notes for Samba 3.0.20a
504                              Sept 30, 2005
505                    ===============================
507 Common bugs fixed in 3.0.20a include:
509   o Stability problems with winbindd.
510   o Crash bugs caused by incompatibilities on 64-bit systems.
511   o Missing files from directory listings on AIX servers
512   o User Manager interoperability problems.
513   o Minor build difficulties on various platforms such as 
514     Solaris and OpenBSD, 
517 Winbind, security = domain, and Active Directory
518 ================================================
520 Recent security updates for Windows 2000 and Windows 2003 have 
521 changed the fashion in which user and group lists can be obtained 
522 from domain controllers.  In short, the RPC mechanisms used by 
523 "security = domain" to retrieve users and groups is not compatible 
524 with these changes.   The "security = ads" configuration is not 
525 affected by the Windows protocol changes.
527 Samba developers are actively working to correct this problem in 
528 the 3.0.21 release.  In the meantime, Administrators who are unable 
529 to migrate to "security = ads" and must continue using "security = 
530 domain", can define credentials to be used by winbindd for account
531 enumeration by executing the following command as root.
533         wbinfo --set-auth-user='DOMAIN\username%password'
537 ######################################################################
538 Changes
539 #######
542 Changes since 3.0.20
543 --------------------
545 commits
546 -------
548 o   Jeremy Allison <jra@samba.org>
549     * BUG 3065: Fix for legacy clients retrieving a listing of 
550       an empty directory.
551     * Added external library for accessing Samba's share mode 
552       database.
553     * Fix winbindd credentials chain which caused logon failures 
554       after attempting to authenticate an unknown user.
555     * Fix recursive looping bug in winbindd.
556     * Fix build errors on 64-bit systems.
557     * Posix ACL memory leak and crash bug fixes.
558     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
559     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
560     * Hide dot files and directory logic fixes.
561     * Correct display of open file modes by smbstatus.
562     * BUG 3010: Fix missing files bug on AIX systems.
565 o   Gerald (Jerry) Carter <jerry@samba.org>
566     * Allow the root user to automatically pass se_access_checks()
567       in the registry and service control server code.
568     * Ensure that winbindd uses the correct name in the net_auth2()
569       request when running on a Samba PDC.
570     * Fix linking problem with tdb utilities.
571     * BUG 3080: Fix regression in 'net rpc shutdown' command.
572     * Fix segv in 'net rpc' when the pipe open fails.
573     * Fix upload bug when installing 64-bit Windows printer drivers.
574     * Fix regression in the smburi syntax used by smbspool.
575     * Fix sorting of subkey hash records in registry files.
576     * Correct REG_CREATE_KEY_EX parsing error.
577     * Interoperability issues with usrmgr.exe and Samba groups.
578     * Use the display names and not the Unix names when enumerating
579       groups in the ldapsam passdb backend.
580     * Ensure that Windows domain user names are converted to lower case.
583 o   Guenther Deschner <gd@samba.org>
584     * Prevent BUILTIN sids returned in the user's token from 
585       a Windows DC from being applied to any local group mappings
586       on the Samba host.
587     * Plug memory leaks in the kerberos keytab code.
588     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
589       backend when 'winbind nested groups' is enabled.
590     * Fix crash bug in winbindd caused by 64-bit build issues.
591     * Improve debug messages in smbspool.
592     * Give better error-message when "NDS Universal Password" change fails.
593     * Fix password history error in the eDirectory schema file.
594     * Ensure that Windows domain group names are converted to lower case.
597 o   Steve French <sfrench@us.ibm.com>
598     * Allow disabling mandatory byte range lock mount flag, and fix 
599       corresponding entry in mtab.
602 o   Volker Lendecke <vl@samba.org>
603     * Fix race condition in the NTcreate&X open code when the 
604       disposition is NTCREATEX_DISP_CREATE.
605     * Correct logic error when checking the pid for pending print 
606       change notify messages.
607     * Ensure that winbindd child process complete startup even when
608       the parent is receiving authentication requests.
609     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
610       when authentication fails.
613 o   Jason Mader <jason@ncac.gwu.edu>
614     * Compile warning fixes.
617 o   Uli Meis <a.sporto@gmail.com>
618     * Patches for pdb_*sql.c
621 o   Luke Mewburn <lukem@NetBSD.org>
622     * Autoconf syntax fixes.
625 o   James Peach <jpeach@sgi.com>
626     * Correct problem with creating a core file in Linux.
629 o   Stefan Metzmacher <metze@samba.org>    
630     * Quota fixes in smbd.
633 o   Peter Rindfuss <rindfuss@wz-berlin.de>
634     * Patches for pdb_*sql.c
637 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
638     * Solaris toolchain patches for autoconf scripts.
641 o   Andrew Tridgell <tridge@samba.org>
642     * Fix for tdb clear-if-first race condition.
645 o   Leo Weppelman <leo@wau.mis.ah.nl>
646     * BUG 3104: Don't allow time updates to files on read-only shares.
649 o   Steve Williams <steve@celineandsteve.com>
650     * BUG 3052: Fix compile issues on OpenBSD.
653       --------------------------------------------------
654                    ==============================
655                    Release Notes for Samba 3.0.20
656                              Aug 19, 2005
657                    ==============================
659 Additional features introduced in Samba 3.0.20 include:
661   o Support for several new Win32 rpc pipes.
662   o Improved support for OS/2 clients.
663   o New 'net rpc service' tool for managing Win32 services.
664   o Capability to set the owner on new files and directory
665     based on the parent's ownership.
666   o Experimental, asynchronous IO file serving support.
667   o Completed Support for Microsoft Print Migrator.
668   o New Winbind IDmap plugin (ad) for retrieving uid and gid
669     from AD servers which maintain the SFU user and group 
670     attributes.
671   o Rewritten support for POSIX pathnames when utilizing 
672     the Linux CIFS fs client.
673   o New asynchronous winbindd.
674   o Support for Microsoft Print Migrator.
675   o New Windows NT registry file I/O library.
676   o New user right (SeTakeOwnershipPrivilege) added.
677   o New "net share migrate" options.
680 What happened to 3.0.15 - 3.0.19?
681 ==================================
683 After some discussion it was deemed that the amount of changes 
684 going into the next Samba 3.0 release needed something to catch
685 people's attention.  Skipping several releases was chosen as 
686 the best solution with the least overhead.  There will be no
687 3.0.15 - 3.0.19 ever released.  The next production release
688 following 3.0.20 should be 3.0.21.
690 The original announcement about the version number change can 
691 be found in the samba mailing list archives:
693 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
696 Asynchronous Winbind Implementation
697 ===================================
699 Winbindd has been completely rewritten in this release to support
700 an almost completely non-blocking, asynchronous request/reply
701 model.  This means that winbindd will scale much better in 
702 large domain environments and on high latency networks.  Neither 
703 the client interface nor the command line tools (i.e. wbinfo) have 
704 changed in their calling conventions or syntax.  However, due to 
705 internal structure changes, it is required (more so than normal) 
706 that you install the nss_winbind.so library included in this release.
709 Support for Microsoft Print Migrator
710 ====================================
712 Samba 3.0.20 includes full support for migrating printers from 
713 Windows servers or other Samba servers via the Microsoft Print 
714 Migrator tool.  Restoring printers requires a working "add printer 
715 command" defined in smb.conf.  Current support also allows
716 administrators to create a master list of printer drivers which
717 can be restored in bulk on new (or existing) Samba installations.
720 Asynchronous IO Support
721 =======================
723 Experimental support for async IO has been added to smbd for 
724 certain platforms.  To enable this new feature, Samba must be 
725 compiled to include the --with-aio-support configure option.
726 In addition, the "aio read size" and "aio write size" to non-zero
727 values.  See the smb.conf(5) man page for more details on these 
728 settings.
731 ######################################################################
732 Changes
733 #######
735 smb.conf changes
736 ----------------
738     Parameter Name                      Action
739     --------------                      ------
740     acl check permissions               New
741     acl group control                   New
742     acl map full control                New
743     aio read size                       New
744     aio write size                      New
745     enable asu support                  New
746     inherit owner                       New
747     ldap filter                         Removed
748     map to guest                        Modified (new value added)
749     max stat cache size                 New
750     min password length                 Removed
751     printer admin                       Deprecated
752     username map script                 New
753     winbind enable local accounts       Removed
754     winbindd nss info                   New
757 Changes since 3.0.14a
758 ---------------------
761 commits
762 -------
764 o   Jeremy Allison <jra@samba.org>
765     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
766     * Ensure the old SMB search calls always ask mask_match() to 
767       translate patterns like ????????.???.
768     * Split out the check_path_syntax() into a findfirst, findnext,
769       & wildcard versions.
770     * Fix checks for matching groups in an file ACL against the
771       user's primary and supplementary group list.
772     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
773       LANMAN2 protocol, ensure the EA size is always correctly 
774       set on a query for a file with no EA's.
775     * BUG 2551: Look at the incoming flags2 flag 
776       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
777       uppercased on a SMBsearch request, not the protocol level.
778     * Added "volume" command to smbclient that prints out the 
779       volume name and serial number.
780     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
781     * Add support for OS/2 Extended Attributes.
782     * Correctly check OpenX open modes.
783     * Ensure allocation size is correctly returned for OpenX. 
784     * Only set allocation on create/truncate for nttrans.
785     * Fix oplock bug in trans2open() code.
786     * Remove unix_ERR_XXX global nastiness.
787     * Only do the strange DOS error for openX, not trans2open.
788     * Ensure SMBopen replies includes the share modes as well as 
789       open modes.
790     * BUG 2581: Add size limit (in kb) to stat cache.
791     * Fix bug in the trans2 secondary processing.
792     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
793     * Add an SMB counter per connection struct for gathering
794       profiling data.
795     * BUG 2605: Ensure smbclient doesn't perform commands if 
796       the "chdir" fails in a scripted set.
797     * Ensure a 'forced group' is added to the list of effective
798       gids when processing ACLs.
799     * Refactor rpc_bind structures for better future work.
800     * BUG 2942: Add missing value in debug message.
801     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
802       by 'mangling method = hash'.
803     * Fix memory leaks in the msdfs trans2 server code.
804     * Convert msdfs server to be talloc'd based.
805     * Fix up stackable vfs interface.
806     * Fix rpc fault when encountering an unknown rpc_bind auth 
807       type.
808     * BUG 2954: More AIX 5.1 AIO compile fixes.
809     * Fix valgrind bug in interaction with new aio buffer (found
810       by Volker).
811     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
812     * Cleanup SAMR user info structure naming.
813     * BUG 2889:  Fix directly listings from OS/2 clients.
814     * Added "acl group control" parameter.
815     * Add debug warning if AddPrinterEx() is called without having
816       an 'add printer command'  defined.
817     * Add better log messages when modifying ldap entries.
818     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
819       when string is unaligned.
820     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
821       message buffer is nor reused.
822     * Add support for client setting capabilities to select posix 
823       pathnames on the wire.
824     * Stop using C++ reserved words so that Samba can be compiled 
825       using g++.  Also allows VFS modules in C++.
826     * More fixes to allow better large directory scaling.
827     * BUG 2827: Ensure we call the vfs connection hook before 
828       doing a vfs stat.  Allows database vfs backends to initialize 
829       with a working connection.
830     * BUG 2826: Ensure the correct return value for symlink and 
831       readlink in the VFS.
832     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
833     * Added AIO support to smbd.
834     * Add "acl map full control", true by default, to allow people 
835       to change mapping of rwx to full control or not.
836     * Transition smbd to use NTcreate&X for internal file opens.
837     * Add checks against the current effective group id (e.g. force 
838       user) when testing write permissions one ACLs.
839     * Fix FindFirst/FindNext server code when parsing directories
840       on old IRIX XFS file systems (thanks to Cale Fairchild
841       for the debugging help).
842     * BUG 2644: Test for special files to be ignored was reversed.
843     * Ensure yield_connection() is called on all appropriate error
844       conditions.
845     * Fix EDEADLCK problem with deferred open calls.
846     * BUG 2622: Remove DPTR_MASK as it makes no sense.
847     * Fix the write cache based on some VERY good detective work
848       from Ingo Kilian.
849     * BUG 2346: Fix read-only excel file bugs.
850     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
851       return ENOSYS if not implemented.
852     * Add new CAP for POSIX pathnames.
853     * BUG 2703: Add NULL guard for disp_fields[0].
854     * BUG 2681: With "strict allocate = yes" we now zero fill when 
855       a file is extended. Should catch disk full errors on write
856       from MS-Office.
857     * Add "acl check permissions" to turn on/off the new 
858       behavior of checking for write access in a directory 
859       before delete. 
860     * Refactor printing interface to take offset into job. 
861     * Allow mapping of POSIX ACLs to NT perms to differentiate 
862       between directories and files.
863     * Added encrypt/decrypt function for LSA secrets and trusted
864       domain passwords on the wire.
865     * BUG 2729: Resume keys are *mandatory* for a search when 
866       listing a W2K and above server from a FATxx filesystem only.
867     * BUG 2735: Ensure that smbd mangles control characters in file 
868       and directory names.
869     * Refactor small pieces of socket handling code (in conjunction 
870       with Derrell).
871     * BUG 2698: Fix infinite listing loop in smbclient caused by
872       an invalid character set conversion.
873     * Add client code that will abort a directory listing if we 
874       see the same name twice between packets.
875     * Performance improvements in trans2 qfilepathinfo code by 
876       removing unnecessary memset() calls.
877     * Rewrite the RPC bind parsing functions to follow the 
878       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
879     * BUG 2774: Set sparse flag if needed when returning 
880       file attributes.
881     * Fix errors listing directories from Windows NT clients 
882       which caused "." and ".." to show up in explorer.exe.
883     * Merge of error code fixes from SAMBA_4_0 branch.
884     * BUG 2801: Fix regression in the "delete veto files" option.
885     * Fix based on work from  Shlomi Yaakobovich to catch loops 
886       in corrupted tdb files.
887     * Allow someone with SeTakeOwnershipPrivilege to chown the 
888       user of a file to herself.
889     * Fix minor compiler warnings in printing/printing.c.
890     * Merge new DOS error code from SAMBA_4.
891     * Fix issue when non-English characters in filenames and 
892       directories.
893     * Fix bogus error message in smbstatus about unknown share modes.
896 o   Andrew Bartlett <abartlet@samba.org>
897     * Support raw NTLMSSP authentication for Windows Vista 
898       clients.
899     * Fix parallel NTLMSSP processing by removing global state.
900     * BUG 2684: Add per service hosts allow/deny checks for 
901       printers when  connecting via MS-RPC.
902     * BUG 2391: Fix segv caused by free a static pointer returned 
903       from getpwnam().
904     * Support kerberos authentication in smbd when using a keytab
905       and participating in a non-Microsoft Kerberos realm.
908 o   Timur Bakeyev <timur@com.bat.ru>
909     * BUG 2546: Add support for FreeBSD EA API
910     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
911     * BUG 2908: Fix string length logic error in msdfs code.
912     * BUG 2909: Fix typo that caused smbd to call the wrong 
913       aio_fsync function.
916 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
917     * Added Linux per-socket TCP settings.
920 o   Gerald (Jerry) Carter <jerry@samba.org>
921     * Added support for \svcctl pipe rpcs.
922     * Added 'net rpc service' subcommand for managing Win32 
923       services.
924     * Refactoring work on the rpc [un]marshalling layer and 
925       structures.
926     * Verify privilege name in 'net rpc rights privileges' in 
927       order to provide better error messages.
928     * Cleanup rpc structures in rpc_spoolss.h.
929     * Cleanups and fixes for the \winreg server code.
930     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
931     * Fix bugs in client spoolss code after refactoring work.
932     * Fix Valgrind warnings of invalid reads in the spoolss 
933       server code.
934     * Fixed a segv when enumerating services on a Samba host.
935     * Fix segv in the service control server code.
936     * Fix crashes in client spoolss calls caused by not checking 
937       for a valid pointer from the caller.
938     * Fix regression in DeleteDriver() server routines.
939     * Fix dup_a_regval() when size is 0.
940     * Fix usrmgr.exe crash when viewing user properties at 
941       debuglevel 10.
942     * Do not enumerate any privileges when 'enable privileges = no'
943       and log a message if a client tries.
944     * BUG 2872: Fix cut-n-paste error when checking pointer value 
945       in ntlmssp_set_workstation().
946     * Fix upgrade path from earlier nt*tdb files.
947     * Removed print handle object cache.
948     * BUG 2853: Don't strip out characters like '$' from printer 
949       names when substituting for the lpq command.
950     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
951     * Fix build issues on x86_64-linux systems caused by valgrind 
952       headers.  Thanks to Bent Vangli to the suggestions.
953     * Refactor spoolss client calls.
954     * Adding 'username map script'.
955     * Disable schannel on the LSA and SAMR pipes in winbindd client 
956       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
957     * Cleanup of winreg API functions.
958     * Add server stubs for RegSetKeySec() and RegGetKeySec().
959     * Map generic bits to specific bits in reg_open_entry() 
960       requests.
961     * Add write support to registry tdb and printing backends.
962     * Use tdb lookups rather than hard-coding certain registry 
963       value names and data.
964     * BUG 2808: don't try to install man pages if they are not 
965       present.
966     * Fix initialized variables reported by valgrind.
967     * Normalize key lookups in ntprinters.tdb.
968     * Mark "enumports command" as deprecated.
969     * Add missing class file for python share command example.
970     * Fix smbclient build issue on Solaris.
971     * BUG 2626: ensure that the calling_name is set to something 
972       after parsing smb.conf (if not set via -n).
973     * Use "add machine script" when creating a user (ACB_NORMAL)
974       who has a name ending in '$' (e.g. usrmgr.exe creating
975       domain trust accounts).
976     * Add 'rid' synonym for idmap_rid IDMap module.
977     * Ensure that we set full access on the handle returned 
978       from _samr_create_dom_{alias,group}() so that future 
979       set_{alias,group}() commands succeed.
980     * Fix bug when looking for internal domains in winbindd
981       (caused winbindd_getgrgid() for local groups to fail).
982     * Fix query and set alias info calls (level 1 from the MMC 
983       manage computer plug-in.
984     * Remove bogus log messages about unknown specversions.
985     * BUG 2680: copy files from an MS-DFS win2k root share
986     * BUG 2688: re-implement support for the -P (--port) option
987     * Support connecting to an 'msdfs proxy' share on a Samba
988       server.
989     * Strip the directory path from cups command line printing 
990       defaults.
991     * Fix bug that prevented smbclient from creating directories 
992       on non-dfs paths.
993     * Deprecate the "printer admin" parameter in favor of the 
994       SePrintOperatorPrivilege.
995     * Add the capability to read and write WinNT regf registry 
996       files.
997     * Implement access checks for RegOpenXXX() server calls.
998     * Extend registry client rpc calls.
999     * Add "net rpc registry" set of commands.
1000     * Remove testprns tool.
1001     * Ensure that printer ACLs use the specific bits as well as 
1002       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
1003       records.
1004     * Add server support for RegSaveKey() for dumping registry 
1005       trees to a regf file.
1006     * Add "enable asu support" smb.conf parameter.
1007     * Merge various small file changes from trunk.
1008     * Remove "winbind enable local accounts" support.
1009     * Remove "ldap filter" smb.conf option.
1010     * Remove editreg utility (needs to be rewritten using regfio.c).
1011     * Fix build failure when running 'make torture' without first 
1012       running 'make all' first.
1013     * BUG 1261: Remove unusable libbiconv from iconv detection 
1014       in configure.
1015     * Add new option for "map to guest".  "Bad Uid" re-enables the
1016       Samba 2.2 behavior of mapping authenticated users to the
1017       guest account if there does not exist a valid Unix account 
1018       for the Windows domain user (based on patch from 
1019       aruna.prabakar@hp.com).
1020     * Fix a couple of regressions after introduction of new winbindd.
1021     * Fix smbpasswd user password change (still worked by bad error
1022       messages) due to trying to strdup a NULL pointer.
1023     * Implement default security descriptors for the
1024       OpenService[Manager]() calls and check requested access mask 
1025       at connect time.
1026     * Include access checks on handle mask for \svcctl operations
1027       such as ControlService() and StartService().
1028     * Implement simulated start and stop service control for 
1029       the spooler service as a per smbd service state value.
1030     * Add interface structure for controlling service via rc.init
1031       scripts (incomplete).
1032     * Convert move_driver_to_download_area() to use copy_file()
1033       rather than moving the files.
1034     * Add version number to registry.tdb file since it can be 
1035       modified now.
1036     * Remove over-paranoid assert() call when checking spoolss 
1037       buffer pointers
1038     * Fix error in EnumPrinterData() reported by valgrind.
1039     * Fix broken help links in SWAT editor caused by new doc layout.
1040     * Ensure that a domain structure in winbind is initialized prior
1041       to assigning the methods for communicating to a DC.
1042     * BUG 3000: Remove background updates of winbind cache and allow
1043       child processes to immediately update and expired cache entry.
1046 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
1047     * Added panic action script for Solaris.
1050 o   Jeremy Cooper <jeremy@ncircle.com>
1051     * Added support for several new \winreg client rpcs.
1054 o   <core@road-star.jp>
1055     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
1056       telldir, rewinddir to match updated large directory code.
1059 o   Guenther Deschner <gd@samba.org>
1060     * Close handles on group creation in rpcclient to better 
1061       support mass group account creation.
1062     * Fix account policy key lookup for minimum and maximum
1063       password lengths.
1064     * Fix some compiler warnings and add missing exclude-block 
1065       in 'net rpc share migrate'.
1066     * Allow use of a non-default smb.conf by rpcclient.
1067     * Fix querydispinfo search semantics in rpcclient test code.
1068     * Fix querydispinfo server semantics to allow to list more 
1069       then 511 users.
1070     * Fix server crash bug in ancient OpenPrinter() call.
1071     * Fix a crash bug when enumerating privileges via the LSA 
1072       calls.
1073     * Fix crash in EnumPrinterKey() client calls caused by previous 
1074       refactoring work.
1075     * Various compiler warning fixes.
1076     * Fix segfault in the client AddPrinterEx-call of 'net 
1077       rpc printer'.
1078     * Fix build issues when --with-aio-support is enabled.
1079     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
1080     * Honour the CC environment variable in python build.
1081     * Fix searches in pdb_ldap for inter-domain trust accounts.
1082     * Don't expand the %L in %LOGONSERVER% from user attributes.
1083     * Fix bug in 'net rpc vampire' that caused accounts to be created 
1084       with no assigned ACB flags.
1085     * Fix enumeration of builtin-aliases.
1086     * Avoid unset rids for builtin-aliases.
1087     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
1088     * More "net rpc share migrate" fixes.
1089     * Merge PADL's idmap_ad plugin (taken from the latest 
1090       xad_oss_plugins-tarball).
1091     * Add support for "idmap backend = ad" when "security = ads".
1092     * Add home directory and shell support from AD via "winbindd nss 
1093       support = sfu" and "security = ads".
1094     * Provide better feedback when we fail share-manipulation 
1095       due to missing scripts.
1096     * Correctly substitute "\" as default winbind separator in 
1097       generate_parm_table.py example share command script.
1098     * Document pam_winbind.c to clarify the working status of
1099       require-membership-of option.
1100     * Added client-support for various lsa_query_trust_dom_info()
1101       calls and a rpcclient-tester for some info-levels.
1102     * Add "net rpc trustdom vampire" tool (in conjunction with 
1103       Lars Mueller).
1104     * Add missing cli_srvsvc_net_share_set_info-function and
1105       rpcclient-testers (in preparation for net share acl migration).
1106     * Print trusted domain passwords returned via rpcclient in 
1107       display charset.
1108     * Error code fixes when attempting to manipulating 
1109       non-existent shares.
1110     * Cleanup "net share migrate" code. 
1111     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
1112       = true".
1113     * Allow admins to uncheck the "User must change Password at 
1114       next Logon" checkbox in User manager (merge from trunk).
1117 o   Renaud Duhaut <rd@duhaut.com> 
1118     * BUG 1040: Add directory_mode parameter when creating recycle
1119       directories.
1122 o   Steven Edwards <steven_ed4153@yahoo.com>.
1123     * Use chsize() if we don't have ftruncate().
1126 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
1127     * BUG 1780: Add kerberos (file based ticket cache) support 
1128       to smbspool.
1131 o   Steve French <sfrench@us.ibm.com>
1132     * Update list of mount options for mount.cifs.
1133     * Add more defines for POSIX extensions to match the newly 
1134       added client implementation.
1135     * Add initial support for cifs umount utility.
1136     * Fix cifs mounts to handle commas embedded in prompted 
1137       password, and password and credential files.
1138     * Fix cifs mounts to handle domain name and user name in 
1139       username field (in form domain\user).
1140     * Add missing error code mappings when a client unsuccessfully 
1141       tries to create a hard-link.
1142     * Add support so umount.cifs can update mtab.
1143     * Add two newer mount options to syntax help for mount.cifs.
1144     * Add missing remount flag handling.
1145     * Allow domain= to be specified in credentials file. 
1146     * Fix umount.cifs help, allow root to unmount someone else's
1147       mount.
1148     * Lock mtab when updating it during umount.cifs, also delete
1149       only one matching entry at a time.
1150     * Fix minor compiler warnings in the mount.cifs helper.
1153 o   Deryck Hodge <deryck@samba.org>
1154     * BUG 2137: Encode quotes for display in HTML (original patch 
1155       from Jay Fenlason).
1158 o   Olaf Imig <Olaf.Imig@bifab.de>
1159     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
1160       print job ids.
1161     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
1164 o   Björn Jacke <bj@sernet.de>
1165     * Added ioctl constants reported by msbackup.exe and filemon.exe.
1168 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
1169     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
1172 o   John Janosik <jpjanosi@us.ibm.com>
1173     * BUG 2077: Correctly fill in the correct server name when 
1174       processing trusted domain logins.
1175     * BUG 2976: Mark logons for unknown domains with a 
1176       non-authoritative response.
1179 o   William Jojo <jojowil@hvcc.edu>
1180     * AIX AIO fixes.
1183 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1184     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
1185       local drive.
1188 o   Tom Lackemann <cessnatomny@yahoo.com>
1189     * BUG 2242: Patch to ensure that we only set the security 
1190       descriptor on an NTtransact create if we created the file.
1193 o   Volker Lendecke <vl@samba.org>
1194     * Port some of the non-critical changes from HEAD to 3_0. 
1195       The main one is the change in pdb_enum_alias_memberships 
1196       to match samr.idl a bit closer.
1197     * Close handles on user creation in rpcclient to better 
1198       support mass user account creation.
1199     * Implement client RAP calls for enumusers/enumgroups level 0.
1200     * Implement a new caching API for enumerating the pdb elements.
1201     * Convert the RAP user and group enumeration functions to the 
1202       utilized the pdb_search API. 
1203     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
1204       RestrictAnonymous environments.
1205     * Internal passdb API changes for better search capabilities
1206       (based on original work by Guenther Deschner).
1207     * Fix various compiler warnings.
1208     * Add chain length statistics to tdbtool.
1209     * Fix set afs ACL calls on files and directories in the root of 
1210       a share.
1211     * Refactoring work on internal open code
1212     * Correctly initialize the version in a new set of nt*tdb files.
1213     * Remove smb_run_idle_events() from main process loop in smbd 
1214       and instead rely upon the timeout processing to handle 
1215       dropping idle LDAP connections.
1216     * Fix the bug where users show up as trusting domains.
1217     * Fix an assertion failure in winbindd.
1218     * Fix a memleak in vfs_afsacl.
1219     * Various compiler warning fixes.
1220     * Fix compile when --enable-socket-wrapper is defined.
1221     * Fixes for top level acls in vfs_acl.c.
1222     * Refactor passdb interface functions.
1223     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
1224     * Correct 2 segv's in "net rpc printer migrate".
1225     * Return correct group type from smbd for BUILTIN groups.
1226     * Backport the talloc() layer from Samba 4.
1227     * BUG 2701: Fix segv in ldap reconnection code.
1228     * BUG 2705: Fix segv when connecting from usrmgr.exe.
1229     * Use the SID in the user token for the %s expansion in 'afs 
1230       username map'.
1231     * Memory leak fixes in passdb code.
1232     * BUG 2720: Fixes for "net usersidlist".
1233     * BUG 2725: Fix segv in "net ads user".
1234     * Only allow schannel connections if a successful Auth2 
1235       has been previously performed.
1236     * Don't look at gencache.tdb for the trusted domains if 
1237       winbind is present.
1238     * Rewrite winbindd using an asynchronous process model.
1241 o   Herb Lewis <herb@samba.org>
1242     * Compiler warning cleanups.
1243     * smbwrapper Makefile and compile time check cleanups.
1244     * Adding robustness checks for tdbdump and tdbtool.
1245     * Extend tdb command line parsing to arbitrary hex characters.
1246     * Add LOCKING debug class.
1247     * Fix more compiler warnings.
1250 o   Derrell Lipman <derrell@samba.org>
1251     * add support for opening a file for write with O_APPEND 
1252       in libsmbclient.
1253     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
1254       tree.
1255     * Fix smbc_stat() from returning incorrect timestamps IFF 
1256       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
1257       and not if it used cli-getatr() to retrieve the timestamps 
1258       (Win98). 
1259     * Fix handful of compiler warnings.
1260     * BUG 2498, 2484: smbc_getxattr() fixes.
1261     * BUG 1133: Added provision for overloading some global 
1262       configuration options via the new, per-user file 
1263       ~/.smb/smb.conf.append.
1264     * BUG 2543: Properly cache anonymous username when reverting 
1265       to anonymous login, in libsmbclient.
1266     * BUG 2505: Fix large file support in libsmbclient.
1267     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
1268       with a file rather than a directory.
1269     * Correct deprecated lvalue casts in testsuite/libsmbclient.
1270     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
1271       formatting or parsing the timestamp values correctly.
1272     * Correctly detect AF_LOCAL support in configure.
1273     * Fix problem updating file times on Windows 98 hosts using 
1274       libsmbclient.
1275     * Fix compile breakage on Solaris by eliminating the use of 
1276       ctime_r() in libsmbclient DEBUG statement.
1279 o   Jason Mader <jason@ncac.gwu.edu>
1280     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
1281     * Various compiler warning fixes about mistyped variables.
1282     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
1283       and code  cleanups.
1284     * BUG 2527, 2538: Removed unused variables.
1287 o   Marcel <samba.10.maazl@spamgourmet.com>
1288     * Fix regression in OS/2 trans2 open code.
1291 o   Jim McDonough <jmcd@us.ibm.com>
1292     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1293       (in conjunction with Volker).
1294     * BUG 2953: Prevent the credentials chain on DC gets out 
1295       of sync with client when NT_STATUS_NO_USER is returned.
1296     * Added subcommands to "net rpc vampire" (mostly done by Don 
1297       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
1298       ldif file instead of actually writing to the passdb.  
1299     * BUG 2736: Add retries to workaround winbind race condition 
1300       with detecting idle clients.
1301     * BUG 2953: Additional fixes for domain trusts.  Also clears
1302       up the "bad stub" error when attempting to logon to a Samba
1303       domain with a bad username.
1306 o   Luke Mewburn <lukem@NetBSD.org>
1307     * Compiler warning fixes.
1310 o   Kalim Moghul <kalim@samba.org>
1311     * Removed unused printmode command from smbclient.
1314 o   Lars Müller <lmuelle@samba.org>
1315     * Re-enable the VERSION_REVISION option in case of another 
1316       letter release.
1317     * Fix spoolss python bindings after C++ compiler changes and 
1318       other python fixes.
1319     * BUG 2659: Don't trump on memory in smbtorture.
1320     * BUG 2060: Add -fPIC which is the case for all other Samba 
1321       shared libs.
1322     * Fix argv parsing in "net rpc".
1323     * Add support to create position independent executable (PIE) 
1324       code if the compiler supports it.
1325     * BUG 2767: Add new options to testparm (--show-all-parameters,
1326       --parameter-name, and --section-name).
1327     * Fix net share migrate files to also migrate the ACLs of 
1328       the top level dir of a share.
1331 o   Marcel Muller <mueller@maazl.de>
1332     * Patch to fix the OS/2 EA_FROM_LIST info level call.
1333     * Mangled names fix for OS/2 clients.
1334     * Ensure we correctly set the return packet size to include the 
1335       pad bytes in reply_readbmpx().
1336     * Fix for bug in SMBwriteBraw that incorrectly returned the 
1337       number of bytes written. 
1340 o   Ricky Nance <ricky.nance@gmail.com>
1341     * Implemented mklogon script generator for domain logon scripts.
1344 o   James Peach <jpeach@sgi.com>
1345     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1346     * BUG 2285: Patch for hires timestamps and efficient notify code.
1347     * MS-DFS tidyup patches.
1348     * Build fixes on IRIX.
1349     * IRIX compiler warning fixes.
1350     * BUG 2596: Fix become_root link issues and one IRIX stack 
1351       backtrace bug.
1352     * Fix for null pointer ACL free.
1353     * BUG 2314: Fix const compiler warnings in the quota code.
1356 o   Ed Plese <ed@edplese.com>
1357     * Fix faulty logic which caused winbindd to return failure 
1358       when a user possessed no supplementary groups.
1361 o   Marcin Porwit <mporwit@centeris.com>
1362     * Initial support for the \eventlog pipe.
1363     * Fix a memleak in the eventlog code.
1364     * Miscellaneous fixes for Samba's experimental event log support.
1365     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
1366       calls.
1369 o   Tim Potter <tpot@samba.org>
1370     * BUG 2940, 2943: Fixed various compiler warnings regarding 
1371       mismatched types and unused variables.
1372     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
1373     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
1374       configure script on HPUX IA.
1375     * Remove unused autoconf #define's.
1376     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
1377     * Removed unused function declarations in tdb.h.
1378     * BUG 2895: Don't wrap non-existent functions in the python 
1379       tdb bindings.
1380     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
1381       according to POSIX.
1382     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
1383       defined.
1384     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
1385     * BUG 2611: Add fflush(stdout) after displaying username prompt 
1386       in smbsh if username not specified on command line.
1387     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
1388     * BUG 2808: Update install swat message to reflect the fact 
1389       that swat/README no longer exists.
1392 o   Denis Sbragion <d.sbragion@infotecna.it>
1393     * BUG 2196: Allow absolute path (system wide) recycle bin.
1396 o   Fernando Schapachnik <fernando@mecon.gov.ar>
1397     * Add logon hours support for the Postgres backend.
1400 o   Richard Sharpe <rsharpe@samba.org>
1401     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
1403 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
1404     * BUG 2362: Quota support fix for DragonFly.
1405     * Fix dragonfly detection in configure.
1408 o   Simo Sorce <idra@samba.org>
1409     * Allow Domain Admins to force user sessions to close via the 
1410       Windows Server Manager.
1411     * Add support to 'net rpc right privileges <name>' to enumerate 
1412       accounts which possess a specific privilege.
1413     * Fix memory issues issues in vfstest (reported by Rainer Link).
1414     * Randomize reloading as to not overload cupsd.
1417 o   Smitty <smitty@plainjoe.org>
1418     * Compile fixes for smbget when using --enable-developer.
1419     * Include LUID values to match Windows privileges since 
1420       apparently this matters to printmig.exe
1423 o   John Terpstra <jht@samba.org>
1424     * Solaris packaging fixes.
1425     * Clean up usage help text in "net rpc user"
1428 o   Andrew Tridgell <tridge@samba.org>
1429     * Merge socket wrapper library fixes from Samba 4.
1432 o   Brett Trotter <blt@iastate.edu>
1433     * Fix definition of global_sid_* in vfs_acl.c.
1436 o   Mark Weaver <mark-clist@npsl.co.uk>
1437     * Patch to fix sys_select so it can't drop signals if another 
1438       fd is ready to read. 
1441 o   Jelmer Vernooij <jelmer@samba.org>
1442     * Remove --with-manpage-languages configure option.
1443     * Merge socket wrapper fixes for IRIX systems from the 
1444       Samba 4 branch.
1445     * Add socket_wrapper library to 3.0. Can be enabled by passing
1446       --enable-socket-wrapper to configure.
1447     * Fix build of the various sql pdb backends after new talloc.
1450 o   Qiao Yang <qyang@stbernard.com>
1451     * Use our own DC when getting the SID for a domain.
1455 Release Notes for older release follow:
1457       --------------------------------------------------
1458                    ===============================
1459                    Release Notes for Samba 3.0.14a
1460                               Apr 14, 2005
1461                    ===============================
1463 Common bugs fixed in 3.0.14a include:
1465   o Compatibility issues between Winbind and Windows 2003 SP1
1466     domain controllers (*2k3sp1*).
1467   o MS-DFS errors with Windows XP SP2 clients.
1468   o High CPU loads caused by infinite loops in the FindNext()
1469     server code.
1470   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
1471     files.
1473     
1474 ######################################################################
1475 Changes
1476 #######
1478 Changes since 3.0.14
1479 --------------------
1481 commits
1482 -------
1483 o   Jeremy Allison <jra@samba.org>
1484     * Fixed invalid SMB_ASSERT() triggered by checking access on
1485        ACL'd files.
1488 Changes since 3.0.13
1489 --------------------
1491 smb.conf changes
1492 ----------------
1494     Parameter Name                      Action
1495     --------------                      ------
1496     dos filetimes                       Enabled by default
1499 commits
1500 -------
1501 o   Jeremy Allison <jra@samba.org>
1502     * Prevent nt_status code support when negotiating protocols
1503       earlier than NT1.
1504     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1505       as this SMB is DOS codepage only.
1506     * BUG 2585: Fix printf() issues in smbpasswd which caused
1507       seg faults.
1508     * BUG 2563: Fix infinite loop on non-existent file with 
1509       FindNext().
1510     * BUG 2581 (partial): Ensure if realloc fails on an internal 
1511       tdb we fail gracefully.
1512     * Ensure that 'dos filetimes' works with ACLs.
1513     * Set 'dos filetimes = yes' as the default for smb.conf.
1515       
1516 o   Gerald (Jerry) Carter <jerry@samba.org>
1517     * Workaround autoconf issue to prevent debug symbols from 
1518       being included in the default build.
1519     * Disable schannel on the \lsarpc pipe in order to successfully 
1520       enumerate users and groups (*2k3sp1*)
1521     * Fix parsing error in rpc binds which broke NTLMSSP 
1522       authentication.   And as a result broke CTL+ALT+DEL password 
1523       changes from a Windows 2003 SP1 member of a Samba domain 
1524       (*2k3sp1*).
1525     * Revert change to FindFirst() server code that broke WinXP
1526       SP2 clients from launching *.exe files from a dfs target 
1527       share.
1528     * BUG 2588: Force smbclient to send netbios messages to port 
1529       139 unless otherwise instructed (based on patch from Thomas 
1530       Bork).
1531       
1533 o   Volker Lendecke <vl@samba.org>
1534     * Fix build on FreeBSD 4 where Winbind is not supported.
1535     * Fix 'wbinfo --user-sids' when using domain local groups.
1536     * Restrict domain local groups reported by 'wbinfo -r' to
1537       the Samba server domain and not the users domain.
1540 o   Lin Li <linl@xandros.com>
1541     * Ensure that winbind initializes internal trusted domain 
1542       structures when enumerating users and groups.
1543       
1545 o   Tim Potter <tpot@samba.org>
1546     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
1547       test.
1548     * Fix compiler warnings.
1551 o   <psz@maths.usyd.edu.au>
1552     * Fix for possible root squash NFS bugs.
1553     
1554     
1555 o   Simo Sorce <irda@samba.org>
1556     * Debian packaging fixes.
1557     
1559       --------------------------------------------------
1560                    ==============================
1561                    Release Notes for Samba 3.0.13
1562                             Mar 24, 2005
1563                    ==============================
1565 Common bugs fixed in 3.0.13 include:
1567   o Infinite FindNext() loop from Windows 9x client when
1568     copying or deleting files on a Samba file share using 
1569     explorer.exe.
1570   o Numerous smbclient bugs when listing directories.
1571   o Failures in smbclient when connecting to a Windows 9x 
1572     file server.
1574     
1575 ######################################################################
1576 Changes
1577 #######
1579 Changes since 3.0.12
1580 --------------------
1582 o   Jeremy Allison <jra@samba.org>
1583     * Fix typo bug in smbclient where flags overwrote info level
1584       in the cli_list_new().
1585     * Fix old smbclient bug where ff_searchcount was being compared 
1586       to -1 resulting in processing a filename twice.
1587     * Fix segv in smbclient caused by overwriting the last 2 bytes 
1588       in cli_list_new().
1589     * BUG 2530: Fix potential segv in smbclient when talking to a 
1590       Windows 9x file server.
1591     * Fix last entry offset in cli_list_new() when using a 
1592       FindFirst/FindNext info level of 0x104.
1593     * BUG 2501: Stop Win98 from looping doing FindNext on a 
1594       singleton directory. 
1595     * BUG 2521: Fix error in access checks when user group ACLs.
1596       
1597       
1598 o   Gerald (Jerry) Carter <jerry@samba.org>
1599     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
1600       to delete all versions of a driver.
1601     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
1602       'disable netbios = yes'.
1603     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1604       shares.  
1605     * Update RedHat packaging files to require cups support.  Also
1606       remove requirement for 'idmap {uid,gid}' settings in smb.conf
1607       from winbindd init script.
1608     * BUG 2516: fix compile issue on True64.
1609     
1610       
1611       
1612 o   Guenther Deschner <gd@samba.org>
1613     * Check for the correct cli-struct when copying files in 'net 
1614       rpc printer' routines.
1617 o   Herb Lewis <herb@samba.org>
1618     * Fix incorrect test in 'net rpc user' when the user is not
1619       a member of any groups.
1620       
1621       
1622 o   Jim McDonough <jmcd@us.ibm.com>
1623     * Make sure that enum_group_members() searches the correct suffix.
1624     
1626       --------------------------------------------------
1627                    ==============================
1628                    Release Notes for Samba 3.0.12
1629                             Mar 18, 2005
1630                    ==============================
1632 Common bugs fixed in 3.0.12 include:
1634   o Winbind failures when using 'disable netbios = yes'
1635   o Failure to establish a trust relationship via 'net rpc trust 
1636     establish'
1637   o Various portability & compiler issues.
1638   o Read only file deletion failure caused by new delete semantics 
1639     in Windows XP SP2 and the MS 04-044 security hotfix.
1640   o Error messages from shared Excel workbooks residing on Samba 
1641     file shares.
1642   o Missing files in the output of smbclient -c 'dir' when run 
1643     against Windows file servers.
1644   o Inability for Print Administrators to pause/resume/purge print 
1645     queues.
1647 Additional features introduced in Samba 3.0.12:
1649   o Performance enhancements when serving directories containing 
1650     large number of files.
1651   o MS-DFS support added to smbclient.
1652   o More performance improvements when using Samba/OpenLDAP based 
1653     DC's via the 'ldapsam:trusted=yes' option.
1654   o Support for the Novell NDS universal password when using the
1655     ldapsam passdb backend.
1656   o New 'net rpc trustdom {add,del}' functionality to eventually 
1657     replace 'smbpasswd {-a,-x} -i'.
1658   o New libsmbclient functionality.
1662 =======================
1663 Large Directory Support
1664 =======================
1666 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1667 with file services that frequently contain a large number of files
1668 per directory.  Historically Samba's performance has suffered 
1669 in such environments due to the translation from case 
1670 insensitive lookups by Windows client to the case sensitive
1671 storage mechanisms used by UNIX filesystems.
1673 Configuration details along with a short HOWTO can be found at:
1675 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1678 ==================================
1679 libsmbclient Binary Compatibility
1680 ==================================
1682 Please note that a change has been made to the _SMBCCTX structure 
1683 in source/include/libsmbclient.h.  This change is not backwards
1684 compatible with applications linked against the libsmbclient.so
1685 library from Samba 3.0.11.  However, it is compatible with all 
1686 other Samba 3.0.x releases.  This means that it will be most likely
1687 be necessary to recompile any applications linked against the 
1688 3.0.11 version of the library.
1691 ######################################################################
1692 Changes
1693 #######
1695 smb.conf changes
1696 ----------------
1698     Parameter Name                      Action
1699     --------------                      ------
1700     allocation roundup size             New
1701     log nt token command                New
1702     write cache                         Deprecated
1706 Changes since 3.0.11
1707 --------------------
1709 commits
1710 -------
1711 o   Jeremy Allison <jra@samba.org>
1712     * BUG 2146: Return correct allocation sizes so as not to crash 
1713       the VC++ compiler.
1714     * BUG 962: Ensure that parsing of service names in smb.conf is 
1715       multibyte safe.
1716     * BUG 2201, 2227: Support new delete semantics used by MS04-044
1717       and XP SP2.
1718     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
1719       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1720     * Add special hooks when serving directories containing large
1721       numbers of files.
1722     * Ensure that WINS negative name query responses and WACK 
1723       packets use the correct RR type of 0xA instead of reflecting 
1724       back what the query RR type was (0x20).
1725     * BUG 2310: Only do 16-bit normalization on small dfree request.
1726     * BUG 2323: Correct authentication failure when using plaintext 
1727       passwords from Windows XP clients.
1728     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1729       work around issues building MS Visual Studio 6.0 project 
1730       on a Samba file share while restoring the pre-3.0.21pre1 
1731       behavior by default.
1732     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
1733       stat when checking for existence of a pathname.
1734     * Check the sticky bit on the parent directory for supporting
1735       the new WinXP SP2 file deletion semantics.
1736     * Various oplock, share mode, and byte range locking fixes
1737       found by Connectathon tests.
1738     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
1739       code (inspired by patch from Satwik Hebbar).
1740     * BUG 2382, 2045: More pending modtime and delayed write fixes
1741       for MS Excel (incorporates partial patches from 
1742       ke_miyata@itg.hitachi.co.jp).
1743     * Debug log message cleanups.
1744     * Add case insensitive search for a principal match on logon 
1745       verification in the system keytab (based on patch by 
1746       Michael Brown <mbrown@fensystems.co.uk>).
1747     * Revert the previous SMB signing change from Nalin Dahyabhai
1748       when using DES keys.
1749     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1750     * Fix FindFirst() server code to deal with resume names of ".."
1751       and "." (found by Jim McDonough).
1752     * BUG 2451: Fix missing functions in full audit VFS module.
1753     * Ensure that smbd logs failures reported by DISK_FREE()
1754       (reported by Ying Li <ying.li2@hp.com>).
1755     * Ensure that smbclient obeys the max protocol argument again.
1756     * BUG 2335: Return correct error code for OS/2 clients (based on
1757       negotiated protocol level).
1758     * BUG 2460, 2464: remove dead code and unused variables 
1759       (reported by Jason Mader).
1762 o   Andrew Bartlett <abartlet@samba.org>
1763     * Avoid length-limited intermediate copy of NT and LM responses 
1764       in NETLOGON client.
1765     * Debug message cleanups in the NTLMSSP implementation.
1768 o   Manuel Baena <mbaena@lcc.uma.es>
1769     * Print actual error message in smbmnt.c:fullpath().
1772 o   Vince Brimhall <vbrimhall@novell.com>
1773     * Add support for Novell NDS universal password.
1774     * BUG 2424: Ensure that uidNumber and gidNumber use match 
1775       the RFC2307 schema.
1776     * BUG 2453: Change the way pdb_nds.c handles users with no 
1777       Universal or Simple Password.
1778     * NDS schema file corrections.
1781 o   Gerald (Jerry) Carter <jerry@samba.org>
1782     * Add trans2 client call for checking dfs referrals
1783     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
1784       when checking directories on modern CIFS servers.
1785     * Add MS-DFS support to smbclient.
1786     * Code cleanup of adt_tree.[ch].
1787     * Add missing checks to allow root to manage user rights.
1788     * Allow domain admins to manage rights assignments on domain members
1789       servers.
1790     * BUG 2333: Use the lpq command to pass in the correct printer name 
1791       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
1792       the default.
1793     * BUG 1439: make sure to initialize pointer to prevent invalid 
1794       free()'s on exit.
1795     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
1796       netbios = yes'.
1797     * Add cups-devel to BuidlRequires directive in Fedora spec file.
1798     * BUG 858: Fix order of popt args evaluation so we don't crash 
1799       when given no command line args.
1800     * Remove dependency on bash for source/autogen.sh.
1801     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1802     * Implement MS-DFS for recursive directory listings in smbclient.
1803     * BUG 2394: Fix nmbd linking issue on IRIX.
1804     * Only display the publish check box in the client's printer 
1805       properties dialog if we are a member of an AD domain.
1806     * BUG 2363: allow 'in use' driver to be removed as long as 
1807       one 'Windows NT x86' driver remains.
1808     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
1809       porting purposes.
1810     * Enforce better printer.tdb cache consistency when removing 
1811       jobs from a print queue via SMB.
1812     * Ensure that pause/resume/purge print queue commands are run
1813       with the appropriate level of privilege necessary to actually
1814       work.
1815     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1816       for 'printing = cups' installations that do not actually have 
1817       libcups.
1818     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1819     * BUG 2215: Rewrite questionable code that was causing gcc to 
1820       choke.
1821     * Add server support for LsaLookupPrivValue().
1822     * Various small compile fixes and cleanup warnings.
1823     * BUG 2456: Fix compile failure on non-gcc platforms due to
1824       non-standard pragma.
1827 o   Kevin Dalley <kevin@kelphead.org>
1828     * BUG 2398: Don't force smbclient to assume a dry run if the 
1829       target tarfile is /dev/null.
1832 o   Guenther Deschner <gd@samba.org>
1833     * Fix crash bug in the client-spoolss enumdataex-call.
1834     * Expand the valid-workstation-scheme by expanding names 
1835       beginning with a plus (+) as a unix group.
1836     * Allow own netbios name to be set in smbclient's session setup.
1837     * Better handling of LDAP over IPC connections that have expired 
1838       on the LDAP-Server.
1839     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1840     * Add examples/misc/adssearch.pl.
1841     * BUG 2343: Build fixes.
1842     * Support get_user_info_7 in SAMR server RPC.
1843     * Fix server_role in the samr_query_dom_info calls.
1844     * Add example perl script to check for multiple LDAP entries
1845       after running 'net rpc vampire'.
1846     * Add more output when listing printer forms via rpcclient.
1847     * Debug log message cleanup.
1850 o   Steve French <sfrench@us.ibm.com>
1851     * On failed mount (ENXIO) retry share name in uppercase (fix
1852       mount to FastConnect AIX SMB server).
1853     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1854     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1855       it with a user name.
1856     * Update for new CIFS POSIX info levels.
1857     * Ignore users mount parm in mount.cifs.
1859 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
1860     * BUG 1549: Don't truncate service names in smbstatus.
1863 o   William Jojo <jojowil@hvcc.edu>
1864     * BUG 2445: Patch to avoid default ACLs on AIX.
1867 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1868     * Add idmap_rid module to Fedora and RedHat spec files.      
1871 o   Volker Lendecke <vl@samba.org>
1872     * BUG 2401: Flush internal getpwnam() cache after deleting a 
1873       user.
1874     * BUG 1604: Make winbind work with more than 10 trusted domains.
1875     * Cleanup various compiler warnings.
1876     * Fix a memory leaks in privileges code and passdb backends.
1877     * Fixes for samr_lookup_sids() client call.
1878     * Optimize _samr_query_groupmem with LDAP backend for large 
1879       domains.
1880     * Support SIDs as %s replacements in the afs username map 
1881       parameter.
1882     * Add 'log nt token command' parameter. If set, %s is replaced 
1883       with the user sid, and %t takes all the group sids.
1884     * Do not use the "Local Unix Group"-default description for 
1885       all kinds of group-mappings. 
1886     * Fix uninitialized variable in Linux nss_winbind library.
1887     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1888     * Implement 'net afs impersonate'.
1889     
1891 o   Herb Lewis <herb@samba.org>
1892     * Fix build problem when HAVE_POSIX_ACL is not defined.
1893     * BUG 2417: Add help lines for net rpc group addmem and 
1894       delmem commands.
1895     
1897 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
1898     * Add support to libsmbclient for getting and setting DOS 
1899       attributes using EA functions.
1900     * Fix libsmbclient's URL encoding/decoding.
1901     * Replace browse listing URI queries with an internal options 
1902       structure (previous method violated the SMB URI syntax).
1903     * Allow tree connects to be multiplexed over a single CIFS server 
1904       connection context.
1905     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1906       can determine a dead tree connection.
1907     * Implement better solution for backwards binary compatibility
1908       in libsmbclient while adding new fields to struct _SMBCCTX.
1911 o   Mark Loeser <halcy0n@gentoo.org>
1912     * BUG 2443: Compile fix for gcc4.
1915 o   Jim McDonough <jmcd@us.ibm.com>
1916     * BUG 2338: Fix coredump when OS/2 checks for long file name 
1917       support (with .+,;=[].) (thanks to Guenter Kukkukk).
1920 o   Jason Mader <jason@ncac.gwu.edu>
1921     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1922       2341, 2342)
1925 o   Jim McDonough <jmcd@us.ibm.com>
1926     * Fixes for server schannel implementation when 'restrict 
1927       anonymous = 1' is set in smb.conf.
1928     * Fix bug in server side lookupsids reply that crashed lsass.exe 
1929       on Windows clients.
1930     * Fix 'net rpc trustdom establish'.
1931     * BUG 2062: Turn off broadcast for all 390 NICs.
1932     * Fix 'net rpc trustdom add' to correctly add new domain trust 
1933       accounts.  This will eventually replace 'smbpasswd -a -i'.
1934     * Implement 'net rpc trustdom del', including client side of 
1935       samr_remove_sid_from_foreign_domain.
1936     * Bring IBM Directory Server schema up to date with openldap 
1937       schema.
1938     * Allow for better protection of sensitive attributes in IBM
1939       Directory Server.
1942 o   Stefan Metzmacher <metze@samba.org>    
1943     * Fix memleaks in the nttrans code.
1946 o   Mike Nix <mnix@wanm.com.au>
1947     * Add SMBsplopen and SMBsplclose client calls.
1950 o   Justin Ossevoort <justin@snt.utwente.nl>
1951     * BUG 2316: Fix crashes in pdb_pgsql.
1954 o   James Peach <jpeach@sgi.com>
1955     * Fixes in string handling code.
1956     * Fix oplock2 test in client smbtorture.
1959 o   Tim Potter <tpot@samba.org>
1960     * Fix up example pdb modules after prototype change for 
1961       setsampwent.
1962     * BUG 2058: Fix for shared object creation in examples.
1963     * BUG 2315: Fix segv in LSA privileges server code.
1964     * Build fixes for python wrapper libraries.
1967 o   Richard Sharpe <rsharpe@samba.org>
1968     * BUG 2044: Fix segv in profiles tool.
1969     * Fix bogus error messages when enumerating user group 
1970       membership via 'net rpc'.
1973 o   Simo Sorce <idra@samba.org>
1974     * Debian packaging fixes.
1977 o   John Terpstra <jht@samba.org>
1978     * Add the capability to set account description using pdbedit.
1981 o   Doug VanLeuven <roamdad@sonic.net> 
1982     * Add more case/realm/name permutations to the kerberos keytab.
1983     * AIX compile fixes.
1986 o   Jelmer Vernooij <jelmer@samba.org>
1987     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
1988     * BUG 1957: Implement minimal update of fields in mySQL pdb 
1989       module.
1990     
1992 o   Torsten Werner <torsten.werner@assyst-intl.com>
1993     * BUG 2405: Define 'lpstat' printcap output on HPUX.
1994     
1996 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
1997     * Detect infinite loops when traversing tdbs.
2000       --------------------------------------------------
2001                    ==============================
2002                    Release Notes for Samba 3.0.11
2003                              Feb 5, 2005
2004                    ==============================
2006 Common bugs fixed in 3.0.11 include:
2008   o Crash in smbd when using CUPS printing.
2009   o Parsing error of other SIDs included in the user_info_3
2010     structure returned from domain controllers.
2011   o Inefficiencies when searching non-AD LDAP directories.
2012   o Failure to expand variables in user domain attributes
2013     in tdbsam and ldapsam.
2014   o Memory leaks.
2015   o Failure to retrieve certain attribute when migrating from 
2016     a Windows DC to a Samba DC via 'net rpc vampire'.
2017   o Numerous printing bugs bugs including memory 
2018     bloating on large/busy print servers.
2019   o Compatibility issues with Exchange 5.5 SP4.
2020   o sendfile fixes.
2022 Additional features introduced in Samba 3.0.11:
2024   o Winbindd performance improvements.
2025   o More 'net rpc vampire' functionality.
2026   o Support for the Windows privilege model to assign rights
2027     to specific SIDs.
2028   o New administrative options to the 'net rpc' command.
2031 ============
2032 LDAP Changes
2033 ============
2035 If "ldap user suffix" or "ldap machine suffix" are defined in
2036 smb.conf, all user-accounts must reside below the user suffix,
2037 and all machine and inter-domain trust-accounts must be located 
2038 below the machine suffix.  Previous Samba releases would fall 
2039 back to searching the 'ldap suffix' in some cases.
2042 ===============
2043 Privilege Model
2044 ===============
2046 Samba 3.0.11 supports the following assignable rights
2048 SeMachineAccountPrivilege  Add machines to domain
2049 SePrintOperatorPrivilege   Manage printers
2050 SeAddUsersPrivilege        Add users and groups to the domain
2051 SeRemoteShutdownPrivilege  Force shutdown from a remote system
2052 SeDiskOperatorPrivilege    Manage disk shares
2054 These rights can be assigned to arbitrary users or groups
2055 via the 'net rpc rights grant/revoke' command.  More details
2056 of Samba's privilege implementation can be found in the 
2057 Samba-HOWTO-Collection.
2058     
2060 ######################################################################
2061 Changes
2062 #######
2064 Changes since 3.0.10
2065 --------------------
2067 smb.conf changes
2068 ----------------
2070     Parameter Name                      Action
2071     --------------                      ------
2072     afs token lifetime                  New
2073     enable privileges                   New
2074     ldap password sync                  Alias
2075     min password length                 Deprecated
2076     winbind enable local accounts       Deprecated
2079 commits
2080 -------
2081 o   Jeremy Allison <jra@samba.org>
2082     * Extend vfs to add seekdir/telldir/rewinddir.
2083     * Fix dirent return.
2084     * Fix bugs when handling secondary trans2 requests.
2085     * Implementation of get posix acls in UNIX extensions.
2086     * Added set posix acl functionality into the UNIX extensions code.
2087     * Updated config.guess/config.sub .
2088     * Fix error reply when 'follow symlinks = no'.
2089     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
2090       not already zero.
2091     * Fixes for LARGE_READX support.
2092     * Fix the problem we get on Linux where sendfile fails, but we've
2093       already sent the header using send().
2094     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
2095       inherit = no'.
2096     * BUG 2088: Ensure inherit permissions is only applied on a new 
2097       file, not an existing one.
2098     * Don't go fishing for the krb5 authorization data unless we know
2099       it's there.
2100     * Fixes for libsmbclient to ensure that interrupted system calls
2101       are restarted minus the already expired portion of the timeout
2102       (based on work by Derrell Lipman).
2103     * More Unicode string parsing fixes.
2104     * Convert the winreg pipe to use WERROR returns.
2105     * Make all LDAP timeouts consistent (input from Joe Meadows 
2106       <jameadows@webopolis.com>).
2107     * BUG 2231: Remove double "\\" from client findfirst.
2108     * BUG 2238: Fix memory leak in shadow copy vfs.
2109     * Return correct DOS/NT error code on transact named pipe on 
2110       closed pipe handle.
2111     * BUG 2211: Fix security descriptor parsing bug (based on work by 
2112       Mrinal Kalakrishnan <mail@mrinal.net>).
2113     * BUG 2270: Fix memory leaks in cups printing backend support 
2114       (based on work by Lars Mueller).
2115     * BUG 2255: Fix debug level in kerberos error messages.
2116     * BUG 2110: Ensure we convert to ucs2 correctly after the 
2117       CAN-2004-0930 patch.
2118     * Make strict locking an enum. Auto means use oplock optimization.
2119     * Fix client  & server to allow 127k READX calls.
2120     * More *alloc fixes (includes additional fixes by Albert Chin.
2121     * Catch sendfile errors correctly and return the correct values 
2122       we want the caller to return.
2123     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
2124       for better use by desktop environments such as GNOME.
2125     * Ensure we can't remove a level II oplock without having the
2126       shared memory area locked.
2127             
2129 o   Timur Bakeyev <timur@com.bat.ru>
2130     * BUG 2100: change the way we check for errors after a dlopen().
2131     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
2132     
2133     
2134 o   Andrew Bartlett <abartlet@samba.org>
2135     * Clarify error message when 'lanman auth = no'.
2136     * Remove the unnecessary UTF-8 conversion calls in the calls to
2137       auth_winbind from smbd.
2138     * Don't store the auth-user credentials with the cli_state* as 
2139       this can cause the schannel setup to fail when the auth-user
2140       domain is not our primary domain.
2143 o   Grigory Batalov <bga@altlinux.org>
2144     * Fix encoding while receiving of a message which was actually 
2145       sent using STR_ASCII.
2148 o   Daniel Beschorner <db@unit-netz.de>
2149     * BUG 603: Correct access mask check for _samr_lookup_domain()
2150       to work with Windows RAS server
2153 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
2154     * Fix missing printer_tdb reference decrement.
2155     
2157 o   Gerald (Jerry) Carter <jerry@samba.org>
2158     * BUG 2073: fall back to smb_name if current_user_info is not
2159       available in lp_file_list_changed().
2160     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
2161       errors.
2162     * Don't run the background LPQ daemon when we are running in
2163       interactive mode.
2164     * prevent the background LPQ daemon from updating the print queue
2165       cache just because multiple smbd processes sent a message that
2166       it was out of date.
2167     * consolidate printer searches to use find_service rather than 
2168       for(...) loops.
2169     * BUG 2091: don't remove statically defined printers in 
2170       remove_stale_printers().
2171     * Fix logic error in add_a_form() that only compared N characters 
2172       instead of the entire form name.
2173     * BUG 2107: fix memory bloating caused by large numbers of 
2174       print_queue_updates() requests sent via messages.tdb.
2175     * Check the setprinter(3) based on the access permissions on 
2176       the handle and avoid the call to print_access_check().
2177     * Re-instantiate previous semantics for calling init_unistr2() 
2178       with a NULL source buffer.
2179     * Support Windows privilege model for assigning rights
2180       to specific SIDs.  Based on work by Simo Sorce in the trunk 
2181       svn branch.  This feature is controlled by the 'enable 
2182       privileges = [yes|no]' smb.conf(5) option.
2183     * Add some smb.conf scripts for add/delete/change shares and 
2184       deleting cups printers.
2185     * Expand variables in the profile path, logon home and logon script 
2186       values when using either tdbsam or ldapsam.
2187     * Add Domain Admins (Full Control) to the default printer security 
2188       descriptor if we are a DC.
2189     * RedHat and Fedora Packaging fixes for perl dependencies.
2190     * Remove unused schema items from OpenLDAP schema file.
2191     * Remove duplicate enumeration of "Windows x86" architecture
2192       when listing printer drivers via rpcclient.
2193     * Fail set_privileges() if 'enable privileges = no' to prevent 
2194       confused admins.
2195     * Fix segfault in cups_queue_get().
2196     * Tighten restrictions on changing user passwords when 
2197       the connected user possesses the SeMachineAccountPrivilege.
2198     * Ensure we set NETBIOSNAME.domainname for the long machine name
2199       when publishing printers in AD (based on input from Rob Foehl).
2200     * Mark 'winbind enable local accounts' as deprecated.
2201     * Mark testprns tool as deprecated.
2202     * Allow root to grant/revoke privilege assignments.
2203     * Correct interaction between user rights and se_access_check() on
2204       SAMR objects.
2205     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
2206       class.
2207     * BUG 2262: Add support in configure.in for *freebsd6*.
2208     * BUG 2266: Portability fixes for quota code on FreeBSD4.
2209     * BUG 2264: Remove shutdown and abortshutdown commands from 
2210       rpcclient in favor of using the same functions in 'net'.
2211     * BUG 2295: Prevent smbd from returning an empty server name
2212       in certain lanman api calls.
2213     * BUG 2290: Fix autogen.sh script in examples (based on original
2214       patch from Lars Mueller).
2215     * Fix bug enumerating domain trusts in security = ads.
2216     * Fix segv in rpcclient's dsenumdomtrusts.
2217     * Fix bug in expansion of %U and %G in included filenames.
2218     * BUG 2291: Restrict creation of server trust and domain trust
2219       accounts to members of the "Domain Admins" group.
2221 o   Nadav Danieli <nadavd@exanet.com>
2222     * Short circuit some is_locked() tests if we are oplocked.
2223     
2224     
2225 o   Guenther Deschner <gd@samba.org>
2226     * Allow 'localhost' as a valid server name in the smbd for the
2227       spoolss calls.
2228     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
2229       Mewburn for the input).
2230     * BUG 2059: Add additional checks needed after logic change to the
2231       HAVE_WRFILE_KEYTAB detection test.
2232     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
2233       Samba DC.  Allow us to lookup at least our own SID.
2234     * More fixes to have proper German in swat (Thanks to Reiner 
2235       Klaproth and Björn Jacke.
2236     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
2237       setting security descriptors with smbcacls and using with 
2238       the -S or -M switch. 
2239     * Include the munged_dial, bad_password_count, logon_count, and 
2240       logon_hours attributes when running 'net rpc vampire'.
2241     * Fix segfault in idmap_rid.
2242     * When winbindd is operating in the multi-mapping mode of 
2243       idmap_rid, allow BUILTIN domain-mapping.
2244     * Display infolevel 12 in query_dom_info in rpcclient.
2245     * Fix bug in winbindd's lowercasing of usernames.
2246     * Allow -v or -l for displaying verbose groupmap-listing 
2247       as well as "verbose".
2248     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
2249       vampire'.
2250     * Close LDAP-Connection before retrying to open a new connection 
2251       in the retry-loop.
2252     * Marking "min password length" as depreciated.  
2253     * Implement SAMR query_dom_info-call info-level 8 server- and 
2254       client-side, based on samba4-idl.
2255     * Allow rpcclient to define a port to use when connecting 
2256       to a remote server.
2257     * Allow Account Lockout with Lockout Duration "forever" (until 
2258       admin unlocks) to be set and displayed in User Manager.
2259     * Allow to set acb_mask in rpcclient's enumdomusers.
2260     * Add more generic rootDSE inspection function to check 
2261       for given controls or extensions and remember these on a 
2262       per server basis.
2263     * Improve LDAP search efficiency by passing the acb_mask to 
2264       pdb_setsampwent().
2265     * Fixes for ldapsam_enum_group_memberships().
2266     * Add createdomgroup to rpcclient.
2267     * Add "net rpc user RENAME"-command.
2268     * Display sam_user_info_7 in rpcclient.
2269     * Make multi-domain-mode in idmap_rid accessible from outside 
2270       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
2271     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
2272       "Lockout Duration: Forever".
2273     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
2274       config utility.
2275     * Require assignment of Administrator SID in the passdb 
2276       backend.  Fall back to the default name of 'Administrator' if
2277       the lookup fails rather than using the first name in the
2278       default 'admin users' list.
2279     * Enhance LDAP failure debug messages.
2280     * BUG 2291: Call the 'add machine script' for server trust and 
2281       domain trust accounts as well as workstation accounts.
2282     
2283     
2284 o   Levente Farkas <lfarkas@lfarkas.org>
2285     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
2286       packages.
2289 o   Jay Fenlason <fenlason@redhat.com>
2290     * Fix crash in 'net join' due to calling free on 
2291       static buffers.
2292     * Several patches from RedHat's Fedora Core RPMS.
2295 o   Rob Foehl <rwf@loonybin.net>.
2296     * Compiler warnings.
2297     * Try modifying printer published attributes before adding it a
2298       new entry in AD.
2299     * Solaris packaging fixes.
2300     * Don't force the cups printer-make-and-model tag as the comment
2301       for autoloaded printers.
2302     * Implement caching of names from printcap to support a true
2303       'printcap cache time'.
2306 o   Johann Hanne <jhml@gmx.net>
2307     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
2310 o   Jeff Hardy <hardyjm@potsdam.edu>
2311     * Example script for 'add print command' when using CUPS.
2314 o   Deryck Hodge <deryck@samba.org>
2315     * Add -P (--password-only-menu) to SWAT for displaying only the
2316       password change page to non-root users.
2319 o   David Hu <david.hu@hp.com>
2320     * Copy structure from print_queue_update() message rather than 
2321       referencing it.  Fixes seg fault on HP-UX.
2322       
2323       
2324 o   Buck Huppmann <buckh@pobox.com>
2325     * BUG 2186: Don't free uninitialized credentials.
2326     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
2327       dnsDomainName != realm.
2328    
2330 o   Björn Jacke <bjoern@j3e.de>
2331     * BUG 2040: Ensure the locale is reset to C to get ASCII-
2332       compatible toupper/lower functions.
2335 o   William Jojo <jojowil@hvcc.edu>
2336     * Fix HPUX sendfile and add configure.in tests and code for
2337       sendfile on AIX.
2338     * AIX 5.3 compile fixes.
2341 o   Volker Lendecke <vl@samba.org>
2342     * Optimize anonymous session setups by workstations in a 
2343       Samba domain.
2344     * Reimplment the QueryUserAliases() server RPC reply.
2345     * Re-add the getpwnam-cache for performance.
2346     * Cache the result of a pdb_getsampwnam for later SID lookup 
2347       queries.
2348     * Unify the means of localtaing a user's global groups on a 
2349       Samba DC.
2350     * Fix bug when serving the 'Start Menu' in a roaming user profile..
2351     * Map more pre-defined NT security descriptors to AFS acls.
2352     * Add timeout to AD search requests.
2353     * If a connection to a DC is requested (in winbindd), open
2354       connections simultaneously to all DCs found.
2355     * Memleak fixes.
2356     * Fix logic error in handling of 'printcap name' parameter.
2357     * Prevent winbindd from SPAM'ing the log files with 'user root 
2358       does not exist'.
2359     * Backport samr_DomInfo2 IDL specification from Samba 4.
2360     * Implement smbstatus -n, don't lookup users and groups.
2361     * Implement simple mapping that maps the space to another character 
2362       defined by afsacl:space.
2363     * Add support for 'net idmap delete <idmap-file> <SID>'.
2364     * Add new parameter 'afs token lifetime' tells the AFS client 
2365       when to throw away a token (patch from kllin@it.su.se).
2366     * Initial work to allow support for multiple pipe opens on a 
2367       single cli_state*.
2368     * Ensure that we still retrieve the netbios name of any DC 
2369       listed as a 'password server' to work around cases where the 
2370       DC was defined using an IP address or fqdn.
2371     * Fix memleak in winbindd connection code.
2372     * Fix cli_samr_queryuseraliases.
2373     * Allow wbinfo --user-sids to expand expand domain local groups.
2374     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2375     * Fix parsing of other_sids in net_user_info3.
2376     * Correct bad failure logic when user was not a member of any 
2377       domain local groups.
2378     
2380 o   Jason Mader <jason@ncac.gwu.edu>
2381     * BUG 2113, 2289: Remove dead code.
2384 o   Jim McDonough <jmcd@us.ibm.com>
2385     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
2386       clients.  If it fails, fall back to WINREG.
2387     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2388     * BUG 2198: Set password last change time when running 'net rpc 
2389       vampire'.
2390     * Add "refuse machine password change" policy field.
2393 o   Luke Mewburn <lukem@NetBSD.org>
2394     * BUG 2150: shmget() - Use POSIX definitions instead of non-
2395       standard SHM_.
2396       
2398 o   Stefan Metzmacher <metze@samba.org>    
2399     * autogen.sh fixes.
2402 o   Buchan Milne <bgmilne@mandrake.org>
2403     * Mandrake packaging fixes.
2406 o   Lars Mueller <lmuelle@samba.org>
2407     * Fix build of libsmbclient on x86_64.
2408     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
2409       is installed in a non-default location.
2410     * BUG 2050: Calculate max_fd for select correctly.
2411     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
2412       script.
2415 o   Jason Mader <jason@ncac.gwu.edu>
2416     * BUG 2069: Remove unused variables.
2417     * BUG 2075: Remove dead code paths.
2418     * BUG 2083: Fix compiler warnings caused by bad type casts.
2421 o   James Peach <jpeach@sgi.com>
2422     * Fix rewinddir -> rewind_dir when using VFS macros.
2423     
2425 o   Gavrie Philipson <gavrie@disksites.com>
2426     * BUG 1838: Remove stale printers imeeddiately when 
2427       processing a SIGHUP and during smb.conf reload.
2429       
2430 o   Tim Potter <tpot@samba.org>
2431     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2432     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2433     * Change the license for the winbindd external interface 
2434       more liberal.
2435     * HP-UX compile fixes.
2436     * Compile fixes after new setsampwent() API.
2439 o   Richard Renard <rrenard@idealx.com>
2440     * Update Netscape DS 5.2 LDAP schema.
2443 o   Simo Sorce <idra@samba.org>
2444     * Backport pdbedit changes from trunk.
2445     * Allows the add/change share command to create the shared 
2446       directory directory on disk.
2447     * Log a warning in testparm if a print command is defined for
2448       a print service using 'printing = cups'.
2449      
2450 o   Jelmer Vernooij <jelmer@samba.org>
2451     * Bug fixes for pdb_{xml,pqsql,xml}
2452     * Fixes for pdb_mysql.
2455 o   Andrew Tridgell <tridge@samba.org>
2456     * Bring Samba3 into line with the Samba4 password change code.
2457     
2459 o   Shiro Yamada <shiro@miraclelinux.com>
2460     * BUG 2190: Force SWAT to display parameters in unix charset and 
2461       not UTF-8.
2464       --------------------------------------------------
2465                    ==============================
2466                    Release Notes for Samba 3.0.10
2467                              Dec 16, 2004
2468                    ==============================
2470 Common bugs fixed in 3.0.10 include:
2472   o Fix for security issues described in CAN-2004-1154.
2475 Changes since 3.0.9
2476 -------------------
2478 commits
2479 -------
2481 o   Jeremy Allison <jra@samba.org>
2482     * Added checks surrounding all *alloc() calls to fix
2483       CAN-2004-1154.
2484     * Fix long standing memory size bug in bitmap_allocate().
2485     * Remove bogus error check in deferred open file serving 
2486       code.
2489 o   Thomas Bork <tombork@web.de>
2490     * Fix autoconf script on platforms using a version of GNU ld
2491       that does not include a date stamp in the output of --version.
2494 o   Luke Mewburn <lukem@NetBSD.org>
2495     * Fix the swat install script to deal with the new image
2496       destination directory used by the docs.
2497      
2500       --------------------------------------------------
2502                    =============================
2503                    Release Notes for Samba 3.0.9
2504                              Nov 15, 2004
2505                    =============================
2507 Common bugs fixed in 3.0.9 include:
2509   o Problem updating roaming user profiles.
2510   o Crash in smbd when printing from a Windows 9x client.
2511   o Unresolved symbols in libsmbclient which caused
2512     applications such as KDE's konqueror to fail when
2513     accessing smb:// URLs.
2516 Changes since 3.0.8
2517 -------------------
2520 commits
2521 -------
2523 o   Jeremy Allison <jra@samba.org>
2524     * Correctly detect errno for no acl/ea support.
2525     * BUG 2036: Fix seg fault in 'net ads join'.
2527     
2528 o   Gerald (Jerry) Carter <jerry@samba.org>
2529     * Solaris packaging fixes.
2530     * Fix seg fault in lanman printing code.
2531     * BUG 2017: fix testparm reporting for the passwd program 
2532       string.
2533     * Fix output of smbstatus to match the man page.
2534     * BUG 2027: fix conflict with declaration MD5_CTX in system 
2535       headers.
2536     * 2028: Avoid false error messages when copying a long 
2537       printer name to the device mode.
2540 o   Guenther Deschner <gd@samba.org> 
2541     * Allow deldriverex in rpcclient to delete drivers for a 
2542       specific architecture and a specific version.
2543     * Fix a couple of rpcclient spoolss commands (setprinter, 
2544       setprintername, getdriver) w.r.t to printer-naming scheme.
2545       Allow 'localhost' in the server string for certain server-side
2546       spoolss functions.
2547     * BUG 2015: Do not fail on setting file attributes with 
2548       acl support enabled.
2551 o   Michel Gravey <michel.gravey@optogone.com>
2552     * Fix build when using gcc 3.0.
2555 o   Volker Lendecke <vl@samba.org>
2556     * Fix tdb open logic when checking our local_pid after 
2557       the fork().
2560 o   Jim McDonough <jmcd@us.ibm.com>
2561     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
2562       non-root user.
2565 o   Luke Mewburn <lukem@NetBSD.org>
2566     BUG 1661: Fix KRB5_SETPW-defines
2569 o   Buchan Milne <bgmilne@mandrake.org> 
2570     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2573 o   Lars Mueller <lmuelle@samba.org>
2574     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2577 o   Martin Zielinski <mz@seh.de>
2578     * Add DeletePrinterDriverEx() functionality to rpcclient.
2579     
2581       --------------------------------------------------
2583                    =============================
2584                    Release Notes for Samba 3.0.8
2585                              Nov 7, 2004
2586                    =============================
2588 Common bugs fixed in 3.0.8 include:
2590   o Compile fixes for HP-UX
2591   o Fixes for the printer publishing code used when joined to 
2592     an AD domain.
2593   o Incompatibilities with file system quotas.
2594   o Several bugs in the spoolss printing code and print system 
2595     backends.
2596   o Inconsistencies in the username map functionality when 
2597     configured on domain member servers.
2598   o Various compile warnings and errors on various platforms.
2599   o Fixes for kerberos interoperability with Windows 200x 
2600     domains when using DES keys.
2601   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2602   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2604     
2605 New features included in the 3.0.8 release are:
2607   o New migration functionality added the the net tool
2608     for files/directories, printers, and shares.
2609   o New experimental idmap backend for assigning uids/gids
2610     directly based on the user/group RID when acting as a
2611     member of single domain without any trusts.
2612   o Additional printer migration support for XP/2003 platforms.
2615 ===========================
2616 Change in Winbindd Behavior
2617 ===========================
2619 All usernames returned by winbindd are now converted to lower 
2620 case for better consistency.  This means any winbind installation
2621 relying on the winbind username will need to rename existing 
2622 directories and/or files based on the username (%u and %U) to lower 
2623 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
2624 include mail spool files, home directories, valid user lines in 
2625 smb.conf, etc....
2628 ======================
2629 Change in Username Map
2630 ======================
2632 Previous Samba releases would only support reading the fully qualified 
2633 username (e.g. DOMAIN\user) from the username map when performing a 
2634 kerberos login from a client.  However, when looking up a map 
2635 entry for a user authenticated by NTLM[SSP], only the login name would be
2636 used for matches.  This resulted in inconsistent behavior sometimes
2637 even on the same server.
2639 Samba 3.0.8 obeys the following rules when applying the username
2640 map functionality:
2642   * When performing local authentication, the username map is 
2643     applied to the login name before attempting to authenticate 
2644     the connection.
2645   * When relying upon a external domain controller for validating
2646     authentication requests, smbd will apply the username map 
2647     to the fully qualified username (i.e. DOMAIN\user) only
2648     after the user has been successfully authenticated.
2651 ######################################################################
2652 Changes
2653 #######
2655 Changes since 3.0.7
2656 -------------------
2658 smb.conf changes
2659 ----------------
2660     Parameter Name                      Action
2661     --------------                      ------
2662     force printername                   New
2663     sendfile                            disabled by default
2666 commits
2667 -------
2669 o   Jeremy Allison <jra@samba.org>
2670     * Ensure extended security bit is on only if we negotiated 
2671       extended security.
2672     * Simplify statcache to use an in-memory tdb. 
2673     * If you're selecting a hash algorithm for tdb, you need 
2674       to do it at open time.
2675     * Removed old dir caching code - not being used now we 
2676       have the statcache anyway.
2677     * Simplify the mangle hash code to use an in-memory tdb.
2678     * Merge iconv changes from Samba 4 branch.
2679     * Fix parsing of names ending in dot and a few other error 
2680       returns.
2681     * BUG 1667: Smbpasswd file could be left locked on some 
2682       error exits.
2683     * Fixes for smbclient tar functionality.
2684     * BUG 1743: Fix logic bug the deferred open code.
2685     * Don't try to set security descriptors on shares where 
2686       this has been turned off.
2687     * Return correct error codes on old SEARCH call.
2688     * Ensure we set errno = E2BIG when we overflow in the 
2689       fast-path character conversion code.
2690     * Fix the roundup problem (returning 1mb roundup) for 
2691       non-Windows clients.
2692     * Added 'stat' command to smbclient to exercise the 
2693       UNIX_FILE_BASIC info level.
2694     * Fix bug where we could incorrectly set sparse attribute.
2695     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2696       (reported by Taj Khattra <taj.khattra@gmail.com>).
2697     * Remove locked keys tdb code.
2698     * BUG 1886: Prevent delete on close being set for readonly files 
2699       (and return the correct error code).
2700     * Ensure we pass most of the new lock tests except for the cancel 
2701       lock which is yet to be added (merged from Samba 4 branch).
2702     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2703     * BUG 1956: Ensure errno is saved and restored consistently on a 
2704       normal_close.
2705     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
2706       that all of the appropriate service principal names are set 
2707       upon joining an AD domain.
2708     * Fix the correct use of resume name in the trans2 code.
2709     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2710       correct salt used when generated the DES key after joining an 
2711       AD domain.
2712     * Enhanced krb5 detection routines in the autoconf scripts.
2713   
2715 o   Andrew Bartlett <abartlet@samba.org>
2716     * Avoid changing the machine account password in the passdb 
2717       backend, when it has 'already been changed'.  This occurs 
2718       in situations where the secure channel between the workstation 
2719       and the DC breaks down, such as occurred in the MS04-11 
2720       security patch.
2721     * Fix utility name in error message in ntlm_auth.
2722     * Fix NTLMv2 for use with pam_winbind.
2723     * Remove conversion to and from UTF8 on the winbind pipe.
2724     * Allow 'require_membership_of' and 'require-membership-of'.
2725     * Fix the error code for 'you didn't specify a domain' in 
2726       ntlm_auth.
2727     * Use sys_getgroups() rather than scanning all groups 
2728       when generating SAMR replies.
2731 o   Igor Belyi <sambauser@katehok.ac93.org>
2732     * Ensure pdb user is deleted first before deleting UNIX 
2733       user (LDAP backend needs this ordering).
2736 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
2737     * Fix core dump in 'net rpc vampire'.
2738     
2740 o   Vince Brimhall <vbrimhall@novell.com>
2741     * Make ldapsam_compat robust against NULL attributes.
2744 o   Gerald Carter <jerry@samba.org>
2745     * Don't limit the number of groups returned by winbindd_getgroups()
2746       by NGROUPS_MAX.
2747     * BUG 1519: Match Windows 2000 behavior when opening a 
2748       printer using a servername in the form of an IP address or 
2749       DNS name.
2750     * BUG 1907: remove extra slashes from the printer name in 
2751       getprinterdriverdir_1().  
2752     * Fix standard_sub_snum() to use the current user's gid.
2753     * Fix background queue update bug (based on Volker's initial work 
2754       in 3.1.0).
2755     * Add 'force printername' service parameter for people that want 
2756       to enforce printername == sharename for spoolss printing.
2757     * Ensure consistent usage of the username map.  Use the fully 
2758       qualified DOMAIN\user format for 'security = domain|ads' and 
2759       apply after authentication has succeeded.
2760     * Cosmetic fix for getent output -- lowercase the username only 
2761       and not the complete domain\username string.
2762     * Packaging fixes for Solaris, Redhat, & Fedora.
2764     
2765 o   Sean Chandler <sean.chandler@verizon.net>
2766     * Fix memlieak in cliconnect.c.
2769 o   Darren Chew <darrenc@vicscouts.asn.au>
2770     * Solaris packaging fixes.
2771     
2773 o   Nalin Dahyabhai <nalin@redhat.com>
2774     * SMB signing fix for 56-bit DES session keys.
2777 o   Guenther Deschner <gd@samba.org> 
2778     * add IA64 to the architecture table of printer-drivers.
2779     * Add file/share/printer migration functionality to 
2780       the net command.
2781     * Show correct help for net groupmap commands.
2782     * Fix deadlock loop in winbind's required_membership_sid
2783       verification.
2784     * Bring the same level of "required_membership"-functionality 
2785       that ntlm_auth uses, to pam_winbindd as well.
2786     * Prevent "net lookup kdc" from seg-faulting when
2787       using our own implementation of krb5_lookup_kdc with 
2788       heimdal.
2789     * Adding getprinter level 7 to rpcclient.
2790     * Support migrating printers|shares|files from Server A 
2791       to Server B while running the net-command on client C.
2792     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
2793       failure of this call non-critical (Thanks to Love @ Heimdal
2794       for the explanation and patch).
2795     * Fix typos in net's usage-output.
2796     * Fix the paranoia-check to ensure the ldap-attribute and the
2797       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
2798       are identical.
2799     * Fix several bugs in the _samr_query_useraliases() rpc reply.
2800     * Check correct string length when verifying password-policies 
2801       and using extended characters (Thanks to Uwe Morgenroth from CC 
2802       Compunet and Volker).
2803     * Make 'password history'-behavior in ldapsam more consistent. 
2804     * Adding "Windows x64" as architecture string and driverdir "x64" 
2805       for the 64bit AMD platform.
2806     * BUG 1343: Readd WKGUID-binding to match the correct default-
2807       locations of new User-, Group- and Machine-Accounts in Active 
2808       Directory (this got lost during the last trunk-merge).
2809     * Fix printer-migration w.r.t. to new naming-convention for
2810       policy-handles.
2811     * Allow to migrate win2k3/xp-drivers as well. 
2812     * Add client-side support of triggering ads printer publishing 
2813       over msrpc setprinter calls inside the net-tool. 
2814     * Add the idmap_rid module (written in conjunction with 
2815       Sumit Bose <sbose@suse.de>).
2816     * BUG 1661: Fix build with recent heimdal releases.
2817     * Prevent idmap_rid from making unnecessary calls to domain 
2818       controllers for trusted domains.
2821 o   Arthur van Dongen <avdongen@xs4all.nl>
2822     * Fix typos in pam_winbind log messages and SuSE 
2823       packaging files.
2826 o   Rob Foehl <rwf@loonybin.net>
2827     * Typo fixes for log messages in printer publishing code.
2828     * Fix memory leak in printer publishing code.
2829     * Ensure print_backend_init() only gets called once.
2830     * Have smbd check the published status of all printers 
2831       at startup.
2832     * Cleanup up the XXX_a_printer() API for consistency.
2833     * Refactored the printer publishing code and include better 
2834       error handling.
2837 o   Steve French <sfrench@us.ibm.com>
2838     * Fix IP address override in mount.cifs mount helper and clean 
2839       up warning messages from the sparse tool and expand syntax help.
2840     * Strip guest mount option off before sending to kernel mount 
2841       routine to avoid logging spurious message.
2844 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
2845     * BUG 1732: Limit share names returned by RAP based on windows 
2846       character width, not unix character width.
2847     * BUG 1498: Ensure that acl entries are stored in the correct 
2848       order.
2851 o   Brett Funderburg <brett@deepfile.com>
2852     * Pass create options parameter to nt_create_andx() function
2853       from the python bindings.
2854     * BUG 1864: Add sd->type field to security descriptor Python 
2855       representation.
2856     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2857       when trying to return the security descriptor for a file.
2858     * BUG 1884: Fixes for the Python bindings to use the value
2859       of the desired_access filed passed into the lsa_open_policy()
2860       routines.
2863 o   Michael Gravey <michel.gravey@optogone.com>
2864     * BUG 1776: Fix warnings when building modules caused by 
2865       certain versions of GNU ld not using the the default 
2866       --allow-shlib-undefined flag.
2869 o   Chris Hertel <crh@samba.org>
2870     * Fix logic bug in splay tree data structure when finding 
2871       a leaf node.
2872     * Fix bug where an invalid MAC address would be printed by 
2873       a node status lookup from nmblookup.
2875       
2876 o   Uli Iske <iske@elkb.de>
2877     * Update the DNS/eDirectory LDAP schema file.
2880 o   Björn Jacke <bjacke@sernet.de>
2881     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
2882       UTF-8.  Reformat msgstr in msg-files to UTF-8.
2883     * Do not use display charset for swat output.
2884     * Convert the share names correctly from unix encoding to web 
2885       encoding and vice versa. 
2886     * Convert files from status page from unix charset to UTF-8.
2889 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2890     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2893 o   Tom Lackemann <cessnatomny@yahoo.com>
2894     * BUG 1954: Fix memory leak in posix acl code.
2897 o   Volker Lendecke <vl@samba.org>
2898     * Robustnss fix for winbindd when sending multiple requests 
2899       at a high rate for a slow operation.  
2900     * Solve the problem of user sids ending up with gid's 
2901       and vice versa.
2902     * Use sys_fork instead of fork for the dual daemon so that 
2903       we get the correct debug pid in the logfiles.
2904     * Based on patch from jmcd, implement special lists for the LDAP 
2905       user attributes to delete.
2906     * Fix creation of aliases via usrmgr. Winbind was too strict 
2907       checking the type of sids.
2908     * Lowercase all usernames returned by winbind.
2909     * BUG 1545, 1823: Only issue the ldap extended password change 
2910       operation if the ldap server supports it.  Also ignore object 
2911       class violation errors from the extended operation.
2912     * Optimization for 'idmap backend = ldap': When asking sid2id 
2913       for the wrong type, don't ask ldap when we have the opposite mapping 
2914       in the local tdb.
2915     * Fix ldapsam_compat homeDrive.
2916     * Add usersidlist and allowedusers subcommands to the net tool
2917       in order to support scanning a file server's share and list 
2918       all users who have permission to connect there.
2919     * Allow for multiple DC's to be named as #1c names in lmhosts.
2920     * Memory leak fixes.
2921     * Fix checks for the local pid of an smbd process after 
2922       reopening tdbs.
2925 o   Herb Lewis <herb@samba.org>
2926     * Added tdbtool to be built by default.
2929 o   Love <lha@stacken.kth.se>
2930     * BUG 1955: Inconsistent error return.
2933 o   Sorin Manolache <sorinm@gmail.com>
2934     * Memory leak fix.
2937 o   Jim McDonough <jmcd@us.ibm.com>
2938     * Allow 'net ads lookup' to rely on command line arguments 
2939       if contacting an ADS server fails; utilize cldap for lookups.
2940     * Fixup formatting errors in TDB_LOG calls; add printf attribute
2941       support to tdb log functions.
2944 o   Bill McGonigle <bill+samba@bfccomputing.com>
2945     * BUG 1926: Type in debug message.
2948 o   Sean McGrath
2949     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2950       for libsmbclient.
2953 o   Luke Mewburn <lukem@NetBSD.org>
2954     * BUG 1782: Prevent testparm from displaying parameter synonyms.
2957 o   Stefan Metzmacher <metze@samba.org>    
2958     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2959     * Fix client quota support.
2960     * Fix opening of system quota file.
2963 o   Lars Mueller <lmuelle@samba.org>
2964     * Small fixes for autogen.sh to deal with version detection 
2965       of autoconf and autoheader; fixes for examples using 
2966       libtool to adhere to stricter syntax of newer version.
2969 o   Henrik Nordstrom <hno@squid-cache.org>
2970     * Allow winbindd to return the correct number of groups 
2971       when the groups array must be enlarged.
2974 o   Narayana Pattipati <narayana.pattipati@wipro.com>
2975     * Solaris autoconf detection fixes.
2978 o   Tim Potter <tpot@samba.org>
2979     * BUG 1360: (correct fix) Use -Wl when passing flags to 
2980       the linker.
2981     * HP-UX compile fixes (from JBravo on #samba-technical).
2982     * BUG 1731: More HP-UX compiles fixes.
2983     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
2984       spits the dummy otherwise.
2985     * Fix bug in Python printerdata wrapper.
2986     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
2987       <bugzilla-samba@thewrittenword.com>).
2988     * Fix parameter confusion in priming of name-to-sid cache
2989       (Found by Qiao Yang).
2990     * BUG 1888: Remove '..' from all pre-processor commands.
2991     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
2992       DEBUG_PASSWORD.
2995 o   Matt Selsky <selsky@columbia.edu>
2996     * BUG 350: use autoconf 2.57 feature for checking header file
2997       preprocessing (fixes configure warnings on Solaris).
3000 o   Richard Renard <rrenard@idealx.com>
3001     * Fix usermgr.exe and trust relationships.
3004 o   Paul Szabo <psz@maths.usyd.edu.au>
3005     * Fix to make find_workgroup use the same 
3006       truncation as create_workgroup.
3009 o   Richard Sharpe <rsharpe@samba.org>
3010     * Ensure cli_write() can support writes >= 65536 bytes.
3013 o   Simo Sorce <idra@samba.org>
3014     * Added check password script code in examples/auth/crackcheck/
3015     * Fix memory corruption bug caused in freeing static memory.
3018 o   Andrew Tridgell <tridge@samba.org>
3019     * Remove lp_use_mmap() from map_file() since the latter 
3020       is for read only and does not require coherence.
3021     * Ensure that the uuid pack/unpack routines do not go past 
3022       the end of the structure.
3023     * Converted Samba 3 tree to use the new utf-16 aware iconv 
3024       code. 
3025     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
3026     * Ensure configure only uses '=' instead of the bashism '=='.
3027     * Reduces the number of tdb locking calls made on file IO.
3028     
3030 o   Jelmer Vernooij <jelmer@samba.org>
3031     * Convert internal data to UTF-8 before calling libxml2.
3032     * Complain if 'password chat' doesn't contain the %u variable
3033       (based on a patch by Ronan Waide).
3034     
3036 o   Josef Zlomek
3037     * BUG 1541:  Fix recursive ls in smbclient. 
3039     
3040 o   Igor Zhbanov <bsg@uniyar.ac.ru>
3041     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
3042       option.
3044       --------------------------------------------------
3046                   =============================
3047                   Release Notes for Samba 3.0.7
3048                            Sept 13, 2004
3049                   =============================
3051 Common bugs fixed in 3.0.7 include:
3053   o Fixes for two Denial of Service vulnerabilities
3054     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
3055   o Winbind failure to return user entries under certain
3056     conditions.
3057   o Syntax errors in the OpenLDAP schema file (samba.schema).
3058   o Printing errors caused by not setting default values
3059     for the various printing commands.
3062 Changes since 3.0.6
3063 -------------------
3065 smb.conf changes
3066 ----------------
3068     Parameter Name                      Action
3069     --------------                      ------
3070     winbind enable local accounts       disabled by default
3072     
3073 commits
3074 -------
3075 o   Jeremy Allison <jra@samba.org>
3076     * Fix parsing of names ending in dot and a few other error 
3077       returns.
3078     * BUG 1674: Move the symlinks checks into reduce_name().
3079     * Fix memleak when checking the valid names smb.conf option.
3080     * Fix memleak on error return path in the file open code.
3081     * More paranoia checks in the hash2 mangling code.
3082     * Fix syntax error in configure.in.
3083     * Match Win2k3's behavior for pathname parsing error returns.
3084     * Make nmbd more robust against bad netbios packets 
3085       (CAN-2004-0808).
3086     * Add more checks for invalid ASN.1 packets for SPNEGO packets
3087       (CAN-2004-0807).
3089   
3090 o   Andrew Bartlett <abartlet@samba.org>  
3091     * Janitor work in loadparm.c -- remove unused parameters.
3094 o   Gerald Carter <jerry@samba.org>
3095     * BUG 1464: Ensure that printing commands are initialized even
3096       if the 'printing' parameter is not explicitly set.
3097     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
3098       Adharsh Praveen <rprav@india.hp.com>)
3099     * Work around parsing error in the print change notify code.
3100     * remove duplicate declaration of getprintprocdir from 
3101       rpcclient.
3102     * Only use sAMAccountName and not userPrincipalName when looking
3103       up a username in AD since the breaks winbindd (lookup_name() 
3104       only works with the sAMAccountName).
3105     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
3106       filling in the username in the user_info3.
3107     * Fix logic bug in the check for creating a user's home directory 
3108       in register_vuid(); caused home directory to be mismatched to 
3109       the first share in smb.conf under certain conditions.
3110     * BUG 1656: rename auto.a to auto.smb.
3111     * Ensure that we assign our pid to print jobs (and not our 
3112       parent's pid); ensures that spooling jobs from dead smbds 
3113       are removed from the tdb.
3114     * Disable 'winbind enable local accounts' by default.
3115     * Adding some initial checks for DragonFly (same as 
3116       FreeBSD 4.1).
3117     
3119 o   Guenther Deschner <gd@samba.org> 
3120     * Use SMB_ASSERT() to track down NULL printer names in 
3121       the tdb open code.
3122     * Revert fix for BUG 1474 to avoid unnecessary packaging 
3123       dependencies.
3126 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
3127     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
3128       and 5.1.
3129     * BUG 1626: More compile fixes.
3132 o   Rob Foehl <rwf@loonybin.net>
3133     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
3134       by attempts to sanitize the defined attributes.
3137 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
3138     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
3141 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
3142     * BUG 1657: Remove used initialized variable, 
3143     * BUG 1658: Add a little bit of const.
3146 o   Volker Lendecke <vl@samba.org>
3147     * If there's garbage in the pidfile, we should not panic 
3148       but assume that no one else is around. We can't find the 
3149       other guy anyway.
3152 o   Jim McDonough <jmcd@us.ibm.com>
3153     * Fixup format string in the tdb error messages.
3156 o   Jonas Olsson <lexicon@lysator.liu.se>
3157     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
3158       reporting the list in usrmgr.exe.
3161 o   Tim Potter <tpot@samba.org>
3162     * Fix out-of-tree builds (problem with the script to generate 
3163       the svn version number).
3164     * BUG 1360:  Need to use -Wl when passing flags to the linker.
3165     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
3166       doesn't have one of its own.
3168 o   Simo Sorce <idra@samba.org>
3169     * Fixup compile issues on AIX caused by broken strlen() and 
3170       strdup().
3171     * Update debian packaging files.
3174 o   Dimitri van der Spek <dwspek@aboveit.nl>
3175     * Use the correct counter when copying group rids from the 
3176       user_info3 struct in pam_winbind.
3177       
3179 o   Qiao Yang <qyang@stbernard.com>
3180     * BUG 1622: Only cache the user
3183       --------------------------------------------------
3184       
3185                   =============================
3186                   Release Notes for Samba 3.0.6
3187                            Aug 19, 2004
3188                   =============================
3190 Common bugs fixed in 3.0.6 include:
3192   o Schannel failure in winbindd.
3193   o Numerous memory leaks.
3194   o Incompatibilities between the 'write list' and 'force user'
3195     smb.conf options.
3196   o Premature optimization of the open_directory() internal 
3197     function that broke tools such as the ArcServe backup 
3198     agent, Macromedia HomeSite, and Robocopy.
3199   o Corrupt workgroup names in nmbd's browse.dat.
3200   o Sharing violation errors commonly seen when opening
3201     when serving Microsoft Office documents from a Samba 
3202     file share.
3203   o Browsing problems caused by an apostrophe (') in the 
3204     computer's description field.
3205   o Problems creating special file types from UNIX CIFS 
3206     clients and enabling 'unix extensions'.
3207   o Fix stalls in smbd caused by inaccessible LDAP servers.
3208   o Remove various memory leaks.
3209   o Fix issues in the password lockout feature.
3211 New features introduced in this release include:
3213   O Support symlinks created by CIFS clients which 
3214     can be followed on the server.
3215   o Using a cups server other than localhost.
3216   o Maintaining the service principal entry in the system 
3217     keytab for integration with other kerberized services.
3218     Please refer to the 'use kerberos keytab' entry in 
3219     smb.conf(5).  When using the heimdal kerberos libraries,
3220     you must also specify the following in /etc/krb5.conf:
3221     [libdefaults]
3222        default_keytab_name = FILE:/etc/krb5.keytab
3223   o Support for maintaining individual printer names
3224     stored separately from the printer's sharename.
3225   o Support for maintaining user password history.
3226   o Support for honoring the logon times for user in a 
3227     Samba domain.
3230 ============================================
3231 unix extensions = yes (default) and symlinks
3232 ============================================
3234 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
3235 clients supporting the UNIX extensions to the CIFS protocol 
3236 can create symlinks to absolute paths which will be **followed** 
3237 by the server.  This functionality has been requested in order 
3238 to correctly support certain applications when the user's home 
3239 directory is mounted using some type of CIFS client (e.g. the 
3240 cifsvfs in the Linux 2.6 kernel).
3242 If this behavior is not acceptable for your production environment
3243 you can set 'wide links = no' in the specific share declaration in 
3244 the server's smb.conf.  Be aware that disabling wide link support 
3245 out of a share in Samba may impact the server's performance due 
3246 to the fact that smbd will now have to check each path additional 
3247 times before traversing it.
3248   
3250 ========================
3251 Password History Support 
3252 ========================
3254 The new password history feature allows smbd to check the new 
3255 password in password change requests against a list of the user's
3256 previous passwords.  The number of previous passwords to save can 
3257 be set using pdbedit (4 in this example):
3259    root# pdbedit -P "password history" -C 4
3261 When using the ldapsam passdb backend, it is vital to secure the 
3262 following attributes from access by non-administrative users:
3264    * sambaNTPassword
3265    * sambaLMPassword
3266    * sambaPasswordHistory
3268 You should refer to your directory server's documentation on how 
3269 to implement this restriction.
3272 Changes since 3.0.5
3273 -------------------
3275 smb.conf changes
3276 ----------------
3278     Parameter Name              Action
3279     --------------              ------
3280     cups server                 New
3281     defer sharing violations    New
3282     force unknown acl user      New
3283     ldap timeout                New
3284     printcap cache time         New
3285     use kerberos keytab         New
3286     
3287 commits
3288 -------
3289 o   Jeremy Allison <jra@samba.org> 
3290     * Correct path parsing bug that broke DeletePrinterDriverEx().
3291     * Fix bugs in check_path_syntax() caught by asserts.
3292     * Internal change - rearrange internal global case setting 
3293       variables to a per connection basis.
3294     * BUG 1345: Fix premature optimization in unix_convert(). 
3295     * Allow clients to truncate a locked file.
3296     * BUG 1319: Always check to see if a user as write access
3297       to a share, even when 'force user' is set.
3298     * Fix specific case of open that doesn't cause oplock break, 
3299       or share mode check.
3300     * Correct sid type is WKN_GROUP, not alias. Added some 
3301       more known types (inspired by patch from Jianliang Lu).
3302     * Allow creation of absolute symlink paths via CIFS clients.
3303     * Fix charset bug in when invoking send_mailslot().
3304     * When using widelinks = no, use realpath to canonicalize 
3305       the connection path on connection create for the user. 
3306     * Enhance stat open code.
3307     * Fix unix extensions mknod code path.
3308     * Allow unix domain socket creation via unix extensions.
3309     * Auto disable the 'store dos attribute' parameter if the 
3310       underlying filesystem doesn't support EAs.
3311     * Implement deferred open code to fix a bug with Excel files 
3312       on Samba shares.
3313     * BUG 1427: Catch bad path errors at the right point.  Ensure 
3314       all our pathname parsing is consistent.
3315     * Fix SMB signing error introduced by the new deferred open 
3316       code.
3317     * Change default setting for case sensitivity to "auto". (see 
3318       commit message -- r1154 -- for details).
3319     * Add new remote client arch -- CIFSFS.
3320     * Allow smbd to maintain the service principal entry in the 
3321       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
3322       Guenther Deschner, et. al.).
3323     * Fix longstanding memleak bug with logfile name.
3324     * Fix incorrect type in printer publishing (struct uuid, 
3325       not UUID_FLAT).
3326     * Heimdal compile fixes after introduction of the new ketyab 
3327       feature.
3328     * Ensure we check attributes correctly on rename request.
3329     * Ensure we defer a sharing violation on rename correctly.
3330     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
3331       on timeout.
3332     * Fix bogus error message when using "mangling method = hash" 
3333       rather than hash2.
3334     * Turn on sendfile by default for non-Win9x clients.
3335     * Handle non-io opens that cause oplock breaks correctly.
3336     * Ensure ldap replication sleep time is not more than 5 seconds.
3337     * Add support for storing a user's password history.
3338       LDAP portion of the code was based on a patch from 
3339       Jianliang Lu <j.lu@tiesse.com>.
3340     * Correct memory leaks found in the password change code.
3341     * Fix support for the mknod command with the Linux CIFS client.
3342     * Remove support for passing the new password to smbpasswd 
3343       on the command line without using the -s option.
3344     * Ensure home directory service number is correctly reused
3345       (inspired by patches from Michael Collin Nielsen 
3346       <michael@hum.aau.dk>).
3347     * Fix to stop printing accounts from resetting the bas 
3348       password and account lockout flags.
3349     * If a account was locked out by an admin (and has a bad 
3350       password count of zero) leave it locked out until an admin 
3351       unlocks it (but log a message).
3352     * Ensure we return the same ACL revision on the wire that 
3353       W2K3 does.
3354     * BUG 1578: Hardcode replacement for invalid characters as '_'
3355       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3356     * Fix hashed password history for LDAP backends.
3357     * Enforce logon hours restrictions if confiogured (based on code 
3358       from Richard Renard <rrenard@idealx.com>).
3359     * BUG 1606: Force smbd to disable sendfile with DOS clients 
3360       and ensure that the chained header is filled in for ...&X 
3361       commands.
3362     * BUG 1602: Fix access to shares when all symlink support 
3363       has been disabled.
3367 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
3368     * Allow pdbedit to export a single user from a passdb backend.
3369     
3371 o   Andrew Bartlett <abartlet@samba.org>  
3372     * Fix parsing bug in GetDomPwInfo().
3373     * Fix segfault in 'ntlm_auth --diagnostics'.
3374     * Re-enable code to allow sid_to_gid() to perform a group 
3375       mapping lookup before checking with winbindd.
3376     * Fix memory leak in the trans2 signing code.
3377     * Allow more flexible GSS-SPENGO client and server operation 
3378       in ntlm_auth.
3379     * Improve smbd's internal random number generation.
3380     * Fix a few outstanding long password changes in smbd.
3381     * Fix LANMAN2 session setup code.
3384 o   Eric Boehm <boehm@nortelnetworks.com>
3385     BUG 703: Final touches on netgroup case lookups.
3386     
3387     
3388 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
3389     * Ensure error status codes don't get overwritten in 
3390       lsa_lookup_sids() server code.
3391     * Correct bug that caused smbd to overwrite certain error 
3392       codes when returning up the call stack.
3393     * Ensure the correct sid type returned for builtin sids.
3396 o   Gerald Carter <jerry@samba.org>
3397     * Fix a few bugs in the Fedora Packaging files.
3398     * Fix for setting the called name to by our IP if the 
3399       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
3400       with connecting to printers via \\ip.ad.dr.ess\printer 
3401       UNC path.
3402     * BUG 1315: fix for schannel client connections to servers
3403       when we haven't specifically negotiated AUTH_PIPE_SEAL.
3404     * Allow PrinterDriverData valuenames with embedded backslashes
3405       (Fixes bug with one of the Konica Fiery drivers).
3406     * Fixed string length miscalculation in netbios names that 
3407       resulted in corrupt workgroup names in browse.dat.
3408     * When running smbd as a daemon, launch child smbd to update 
3409       the lpq cache listing in the background.
3410     * Allow printers "Printers..." folder to be renamed to a string 
3411       other than the share name.
3412     * Allow winbindd to use domain trust account passwords when 
3413       running on a Samba DC to establish an schannel to remote 
3414       domains.
3415     * Fix bad merge and ensure that we always use tdb_open_log() 
3416       instead of tdb_open_ex() (the former call enforce the 'use 
3417       mmap' parameter).
3418     * BUG 1221: revert old change that used single and double 
3419       quotes as delimeters in next_token(), and change 
3420       print_parameter() to print out parm values surrounded by 
3421       double quotes (instead of single quotes).
3422     * Prevent home directories added during the SMBsesssetup&X from 
3423       being removed as unused services.
3424     * Invalidate the print object cache for open printer handles when
3425       smbd receives a message that an attribute on a given printer 
3426       has been changed.
3427     * Cause the configure script to exit if --enable-cups[=yes] is 
3428       defined and the system does not have the cups devel files 
3429       installed.
3430     * BUG 1297: Prevent map_username() from being called twice 
3431       during logon.
3432     * Ensure that we use the userPrincipalName AD attribute 
3433       value for LDAP SASL binds.
3434     * Ensure we remove the tdb entry when deleting a job that 
3435       is being spooled.
3436     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
3437       client sends a FindNextPrintChangeNotify() request without 
3438       previously sending a FindFirstPrintChangeNotify().  Return 
3439       the same error code as Windows 2000 SP4.
3440     * BUG 1516: Manually declare ldap_open_with_timeout() to 
3441       workaround compiler errors on IRIX (or other systems without 
3442       LDAP headers).
3443     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
3444       3.0.5.
3445     * Corrected syntax error in the OID for sambaUnixIdPool, 
3446       sambaSidEntry, & sambaIdmapEntry object classes.
3447     * Tighten the cache consistency with the ntprinters.tdb entry 
3448       an the in memory cache associated with open printer handles.
3449     * Make sure that register_messages_flags() doesn't overwrite 
3450       the originally registered flags.
3453 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
3454     * Debian BUG 252591: Ensure that the return value from the 
3455       number of available interfaces is initialized in case no 
3456       interfaces are actually available.
3459 o   Guenther Deschner <gd@sernet.de> 
3460     * Implement 'rpcclient setprintername'.
3461     * Add local groups to the user's NT_TOKEN since they are 
3462       actually supported now.
3463     * Heimdal compile fixes after introduction of the new keytab 
3464       feature.
3465     * Correctly honor the info level parameter in 'rpcclient 
3466       enumprinters'.
3467     * Reintroduce 'force unknown acl user' parameter.  When getting a 
3468       security descriptor for a file, if the owner sid is not known, 
3469       the owner uid is set to the current uid. Same for group sid.
3470     * Ensure that REG_SZ values in the SetPrinterData actually 
3471       get written in UNICODE strings rather than ASCII.
3472     * Ensure that the last kerberos error return is not invalid.
3473     * Display share ACL entries from rpcclient.
3474     * Correct infinite loop in pam_winbind's verification of 
3475       group membership in the 'other sids' field in the user_info3 
3476       struct.
3479 o   Fabian Franz <FabianFranz@gmx.de>
3480     * Support specifying a port in the device URL passed to smbspool.
3481     
3482     
3483 o   Steve French <sfrench@us.ibm.com>
3484     * Handle -S and user mount parms in mount.cifs.
3485     * Fix user unmount of shares mount with suid mount.cifs.
3486     * prevent infinite recusion in reopen_logs() when expanding 
3487       the smb.conf variable %I.
3490 o   Bjoern Jacke <bj@sernet.de>
3491     * Install libsmbclient into $(LIBDIR), not into hard coded 
3492       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
3493       and an explicit configure --libdir setting.
3496 o   <kawasa_r@itg.hitachi.co.jp>
3497     * Correct more memory leaks and initialization bugs.
3498     * Fix bug that prevented core dumps from being generated 
3499       even if you tried.
3500     * Connect to the winbind pipe in non-blocking mode to 
3501       prevent processes from hanging.
3502     * Memory leak fixes.
3505 o   Stephan Kulow <coolo@suse.de>
3506     * Fix crash bug in libsmbclient.
3509 o   Volker Lendecke <vl@samba.org>
3510     * Added vfs_full_audit module.
3511     * Add vfs_afsacl.c which can display & set AFS acls via 
3512       the NT security editor.
3513     * Fix crash bug caused by trying to Base64 encode a NULL string.
3514     * Fix DOS error code bug in reply_chkpath().
3515     * Correct misunderstanding of the max_size field in 
3516       cli_samr_enum_als_groups;  it is more like an account_control 
3517       field with individual bits what to retrieve.
3518     * Implement 'net rpc group rename' -- rename domain groups.
3519     * Implement the 'cups server' option. This makes it possible 
3520       to have virtual smbd's connect to different cups daemons.
3521     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3522     * Fix sid_to_gid() calls in winbindd to prevent loops.
3523     * Ensure that local_sid_to_gid() sets the type of the group on 
3524       return.
3525     * Make sure that the clients are given back the IP address to 
3526       which they connected in the case of a multi-homed host. Only 
3527       affects strings the spoolss printing replies.
3528     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
3529       did not ask for the modifyTimestamp attribute, so it could 
3530       not find it.   Try not to regress by not putting that attrib 
3531       in the main list but append it manually for the relevant searches.
3532     * Fix two memleaks in login_cache.c.
3533     * fixes memory bloat when unmarshalling strings.
3534     * Fix compile errors using gcc 3.2 on SuSE 8.2.
3535     * Fix the build for systems without kerberos headers.
3536     * Allow winbindd to handle authentication requests only when 
3537       started without either an 'idmap uid' or 'idmap gid' range.
3538     * Fix the build for systems without ldap headers.
3539     * Fix interaction between share security descriptor and the 
3540       'read only' smb.conf option.
3541     * Fix bug that caused _samr_lookupsids() with more than 32 (
3542       MAX_REF_DOMAINS) SIDs to fail.
3543     * Allow the 'idmap backend' parameter to accept a list of 
3544       LDAP servers for failover purposes.
3545     * Revert code in smbd to remove a tdb when it has become 
3546       corrupted.
3547     * Add paranoid checks when mapping SIDs to a uid/gid to 
3548       ensure that the type is correct.
3549     * Initial work on getting client support for sending mailslot 
3550       datagrams.
3551     * Add 'ldap timeout' parameter.
3552     * Dont always uppercase 'afs username map'.
3553     * Expand aliases for getusersids as well.
3554     * Improved NT->AFS ACL mapping VFS module.
3557 o   Herb Lewis <herb@samba.org>
3558     * Add the acls debug class.
3559     * Fix logic bug in netbios name truncate routine.
3560     * Fix smbd crash caused by smbtorture IOCTL test.
3561     * Fix errno tromping before calling iconv to reset the 
3562       conversion state.
3563     * need to leave empty dacl so we can remove last ACE.
3566 o   Jianliang Lu <Jianliang.Lu@getronics.com>
3567     * Fix to stop smbd hanging on missing group member in 
3568       get_memberuids().
3569     * Make sure Samba returns the correct group types.
3570      * Reset the bad password count password counts upon a successful login.
3571      
3572      
3573 o   Jason Mader <jason@ncac.gwu.edu>
3574     * BUG 1385: Don't use non-consts in a structure initialization.
3575     
3577 o   Jim McDonough <jmcd@us.ibm.com>
3578     * BUG 1279: SMBjobid fix for Samba print servers running on 
3579       Big-Endian platforms.
3582 o   Joe Meadows <jameadows@webopolis.com>
3583     * Add optional timeout parameter to ldap open calls.
3584     * Allow get_dc_list() to check the negative cache.
3587 o   Stefan Metzmacher <metze@samba.org>    
3588     * fix a configure logic bug for linux/XFS quotas when 
3589       using --with-sys-quotas.
3590     * Use quota debug class in quota code.
3591     * print out the SVN revision by configure,
3592     
3594 o   Buchan Milne <bgmilne@mandrake.org>
3595     * Mandrake packaging fixes.
3596     
3597     
3598 o   Lars Mueller <lmuelle@samba.org>
3599     * BUG 1279: Added 'printcap cache time' parameter.
3600     * Fix afs related build issues on SuSE.
3601     * Fix compiler warnings in the kerberos client code.
3604 o   James Peach <jpeach@sgi.com>
3605     * More iconv detection fixes for IRIX.
3606     * Compile fixed for systems that do not have C99/UNIX98 compliant 
3607       vsnprintf by default.
3608     * Prevent smbd from attempting to use sendfile at all if it is 
3609       not supported by the server's OS.
3610     * Allow SWAT to search for index.html when serving html files 
3611       in a directory.
3614 o   Dan Peterson
3615     * Implement NFS quota support on FreeBSD.
3618 o   Tim Potter <tpot@samba.org>
3619     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
3620       avoid conflicts with identical symbols in the global namespace 
3621       when loading libnss_wins.so.
3624 o   Richard Renard <rrenard@idealx.com>
3625     * Save the current password as it is being changed into the 
3626       password history list.
3629 o   Richard Sharpe <rsharpe@samba.org>
3630     * Fix error return codes on some lock messages.
3631     * BUG 1178: Make the libsmbclient routines callable 
3632       by C++ programs.
3633     * BUG 1333: Make sure we return an error code when 
3634       things go wrong.
3635     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
3636       share mode locking requests fail.
3639 o   Simo Sorce <idra@samba.org>
3640     * Update Debian stable & unstable packaging.
3641     * Tidy up parametric options in testparm output.
3644 o   Richard Sharpe <rsharpe@samba.org>
3645     * Add sigchild handling to winbindd to restart the child 
3646       daemon if necessary.
3649 o   Tom Shaw <tomisfaraway@gmail.com>
3650     * Use winbindd_fill_pwent() consistently.
3653 o   Nick Thompson <nickthompson@agere.com>
3654     * Protect smbd against broken filesystems which return zero 
3655       blocksize.
3658 o   Andrew Tridgell <tridge@samba.org>
3659     * Fixed bug in handling of timeout in socket connections.
3660      
3662 o   Nick Wellnhofer <wellnhofer@aevum.de>    
3663     * Prevent lp_interfaces() list from being corrupted.  Fixes
3664       bug where nmbd would lose the list of network interfaces 
3665       on the system and consequently shutdown.
3667       
3668 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3669     * Fix ntlm_auth memory leaks.
3672 o   Jelmer Vernooij <jelmer@samba.org>
3673     * Additional NT status to unix error mappings.
3674     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
3675       get duplicate symbol errors.
3676     * Return an error when the last command read from stdin 
3677       fails in smbclient.
3678     * Prepare for better error checking in tar.
3679     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3680       
3682       --------------------------------------------------
3683       
3684                  =============================
3685                  Release Notes for Samba 3.0.5
3686                          July 20, 2004
3687                  =============================
3689 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
3690 the exception of correcting the two security issues outlined 
3691 below.
3693 ######################## SECURITY RELEASE ########################
3695 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
3696 CVE ID:        CAN-2004-0600, CAN-2004-0686
3697                (http://cve.mitre.org/)
3700 This is the latest stable release of Samba. This is the version
3701 that production Samba servers should be running for all current
3702 bug-fixes.
3704 It has been confirmed that versions of Samba 3 prior to v3.0.4
3705 are vulnerable to two potential buffer overruns.  The individual
3706 details are given below.
3708 =============
3709 CAN-2004-0600
3710 =============
3712 Affected Versions:      Samba 3.0.2 and later
3714 The internal routine used by the Samba Web Administration
3715 Tool (SWAT v3.0.2 and later) to decode the base64 data
3716 during HTTP basic authentication is subject to a buffer
3717 overrun caused by an invalid base64 character.  It is
3718 recommended that all Samba v3.0.2 or later installations
3719 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3720 the swat administration service as a temporary workaround.
3722 This same code is used internally to decode the
3723 sambaMungedDial attribute value when using the ldapsam
3724 passdb backend. While we do not believe that the base64
3725 decoding routines used by the ldapsam passdb backend can
3726 be exploited, sites using an LDAP directory service with
3727 Samba are strongly encouraged to verify that the DIT only
3728 allows write access to sambaSamAccount attributes by a
3729 sufficiently authorized user.
3731 The Samba Team would like to heartily thank Evgeny Demidov
3732 for analyzing and reporting this bug.
3734 -------------
3735 CAN-2004-0686
3736 -------------
3738 Affected Versions:      Samba 3.0.0 and later
3740 A buffer overrun has been located in the code used to support
3741 the 'mangling method = hash' smb.conf option.  Please be aware
3742 that the default setting for this parameter is 'mangling method
3743 = hash2' and therefore not vulnerable.
3745 Affected Samba 3 installations can avoid this possible security
3746 bug by using the default hash2 mangling method.  Server
3747 installations requiring the hash mangling method are encouraged
3748 to upgrade to Samba 3.0.5.
3751 ##################################################################
3753     --------------------------------------------------
3754                  
3755                  =============================
3756                  Release Notes for Samba 3.0.4
3757                           May 8, 2004
3758                  =============================
3760 Common bugs fixed in Samba 3.0.4 include:
3762   o Password changing after applying the patch described in 
3763     the Microsoft KB828741 article to Windows clients.
3764   o Crashes in smbd.
3765   o Managing print jobs via Windows on Big-Endian servers.
3766   o Several memory leaks in winbindd and smbd.
3767   o Compile issues on AIX and *BSD.
3769 Changes since 3.0.3
3770 --------------------
3772 commits
3773 -------
3775 o   Jeremy Allison <jra@samba.org>
3776     * Fix path processing for DeletePrinterDriverEx().
3777     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
3778       breakage.
3781 o   Andrew Bartlett <abartlet@samba.org>
3782     * Fix alignment bug in GetDomPwInfo().
3785 o   Alexander Bokovoy <ab@samba.org>
3786     * Fix utime[s]() issues in smbwrapper on systems 
3787       that can boot both the 2.4 and 2.6 Linux kernels.
3790 o   Gerald Carter <jerry@samba.org>
3791     * Fedora packaging fixes.
3792     * BUG 1302: Fix seg fault by not trying to optimize a list of 
3793       invalid gids using the wrong array size.
3794     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3795       seen when 'security = share'.
3796     * Fix problems when using IBM's compiler on AIX.
3797     * Link Developer's Guide, Example Guide, and multi-page HOWTO
3798       into SWAT's welcome page.
3799     * BUG 1293: fix double free in printer publishing code.
3801     
3802 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3803     * Fix for handling timeouts in socket connections.
3806 o   Michel Gravey <michel.gravey@optogone.com>
3807     * BUG 483: patch from  to fix password hash creation in SWAT.
3808     
3810 o   Volker Lendecke <vl@samba.org>
3811     * Close the open NT pipes before the tdis.
3812     * Fix AFS related build issues.
3813     * Handle error conditions when base64 encoding a blob of 0 bytes.
3815     
3816 o   Herb Lewis <herb@samba.org>
3817     * Added 'acls' debug class.
3819 o   kawasa_r@itg.hitachi.co.jp
3820     * Multiple variable initialization and memory leak fixes.
3821     
3822     
3823 o   Stephan Kulow <coolo@suse.de>
3824     * Fix string length bug in libsmbclient that caused KDE's 
3825       Konqueror to crash.
3826     * BUG 429: More libsmbclient fixes.
3829 o   Jim McDonough <jmcd@us.ibm.com>
3830     * BUG 1007, 1279: Store the print job using a little-endian key.
3833 o   Eric Mertens
3834     o Compile fix for OpenBSD (ENOTSUP not supported).
3836     
3837 o   Stefan Metzmacher <metze@samba.org>
3838     * Correct bug in disks quota views from explorer.
3840     
3841 o   Tim Potter <tpot@samba.org>
3842     BUG 1305: Correct debug output.
3845 o   Richard Sharpe <rsharpe@samba.org>
3846     * Fix incorrect error code mapping.
3849 o   Jelmer Vernooij <jelmer@samba.org>
3850     * Add additional NT_STATUS errorm mappings.
3851     
3853     --------------------------------------------------
3855                  =============================
3856                  Release Notes for Samba 3.0.3
3857                         April 29, 2004
3858                  =============================
3861 Common bugs fixed in Samba 3.0.3 include:
3863   o Crash bugs and change notify issues in Samba's printing code.
3864   o Honoring secondary group membership on domain member servers.
3865   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3866   o Substitution errors for %[UuGg] in smb.conf.
3867   o winbindd crashes when using ADS security mode.
3868   o SMB signing errors.
3869   o Delays in winbindd startup caused by unnecessary 
3870     connections to trusted domain controllers.
3871   o Various small memory leaks.
3872   o Winbindd failing due to expired Kerberos tickets.
3874 New features introduced in Samba 3.0.3 include:
3876   o Improved support for i18n character sets.
3877   o Support for account lockout policy based on
3878     bad password attempts.
3879   o Improved support for long password changes (>14
3880     characters) and strong password enforcement.
3881   o Support for Windows aliases (i.e. nested groups).
3882   o Experimental support for storing DOS attribute on files
3883     and folders in Extended Attributes.
3884   o Support for local nested groups via winbindd.
3885   o Specifying options to be passed directly to the CUPS libraries.
3887 Please be aware that the Samba source code repository was 
3888 migrated from CVS to Subversion on April 4, 2004.  Details on 
3889 accessing the Samba source tree via anonymous svn can be found 
3890 at http://svn.samba.org/samba/subversion.html.
3893 Changes since 3.0.2a
3894 --------------------
3895 smb.conf changes
3896 ----------------
3898     Parameter Name              Action
3899     --------------              ------
3900     cups options                New
3901     ea support                  New
3902     only user                   Deprecated
3903     store dos attributes        New
3904     unicode                     Removed
3905     winbind nested groups       New
3907     
3908 commits
3909 -------
3911 o   Jeremy Allison <jra@samba.org>
3912     * Ensure that Kerberos mutex is always properly unlocked.
3913     * Removed Heimdal "in-memory keytab" support.
3914     * Fixup the 'multiple-vuids' bugs in our server code.
3915     * Correct return code from lsa_lookup_sids() on unmapped
3916       sids (based on work by vl@samba.org).
3917     * Fix the "too many fcntl locks" scalability problem 
3918       raised by tridge.
3919     * Fixup correct (as per W2K3) returns for lookupsids 
3920       as well as lookupnames.
3921     * Fixups for delete-on-close semantics as per Win2k3 behavior.
3922     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3923     * Fix "unable to initialize" bug when smbd hasn't been run with 
3924       new system and a user is being added via pdbedit/smbpasswd.
3925     * Added NTrename SMB (0xA5).
3926     * Fixup correct timeout values for blocking lock timeouts.
3927     * Fix various bugs reported by 'gentest'.
3928     * More locking fixes in the case where we own the lock.
3929     * Fix up regression in IS_NAME_VALID and renames.
3930     * Don't set allocation size on directories.
3931     * Return correct error code on fail if file exists and target 
3932       is a directory.
3933     * Added client "hardlink" comment to test doing NT rename with 
3934       hard links.  Added hardlink_internals() code - UNIX extensions 
3935       now use this as well.
3936     * Use a common function to parse all pathnames from the wire for 
3937       much closer emulation of Win2k3 error return codes.
3938     * Implement check_path_syntax() and rewrite string sub 
3939       functions for better multibyte support.
3940     * Ensure msdfs referrals are multibyte safe.
3941     * Allow msdfs symlink syntax to be more forgiving.
3942       eg. sym_link -> msdfs://server/share/path/in/share 
3943       or  sym_link -> msdfs:\\server\share\path\in\share.
3944     * Cleanup multibyte netbios name support in nmbd ( based on patch
3945       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3946     * Fix check_path_syntax() for multibyte encodings which have 
3947       no '\' as second byte (based on work by ab@samba.org.
3948     * Fix the "dfs self-referrals as anonymous user" problem
3949       (based on patch from vl@samba.org).
3950     * BUG 1064: Ensure truncate attribute checking is done correctly 
3951       on "hidden" dot files.
3952     * Fix bug in anonymous dfs self-referrals again.
3953     * Fix get/set of EA's in client library
3954     * Added support for OS/2 EA's in smbd server.
3955     * Added 'ea support' parameter to smb.conf.
3956     * Added 'store dos attributes' parameter to smb.conf.
3957     * Fix wildcard identical rename.
3958     * Fix reply_ctemp - make compatible with w2k3.
3959     * Fix wildcard unlink.
3960     * Fix wildcard src with wildcard dest renames.      
3961     * BUG 1139: Fix based on suggestion by jdev@panix.com.
3962       swap lookups for user and group - group will do an
3963       algorithmic lookup if it fails, user won't.
3964     * Make EA's lookups case independent.
3965     * Fix SETPATHINFO in 'unix extensions' support.
3966     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
3967       the UNIX info levels, and the short case preserve names.
3970 o   Timur Bakeyev <timur@com.bat.ru>
3971     * BUG 1144: only set --with-fhs when the argument is 'yes'
3972     * BUG 1152: Allow python modules to build despite libraries added 
3973       to LDFLAGS instead of LDPATH.
3974     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3977 o   Craig Barratt <cbarratt@users.sourceforge.net>
3978     * BUG 389: Allow multiple exclude arguments with smbclient 
3979       tar -Xr options (better support for Amanda backup client).
3982 o   Andrew Bartlett <abartlet@samba.org>
3983     * Include support for linking with cracklib for enforcing strong 
3984       password changes.
3985     * Add support for >14 character password changes from Windows 
3986       clients.
3987     * Add 'admin set password' capability to 'net rpc'.
3988     * Allow 'net rpc samdump' to work with any joined domain 
3989       regardless of smb.conf settings.
3990     * Use an allocated buffer for count_chars.
3991     * Add sanity checks for changes in the domain SID in an 
3992       LDAP DIT.
3993     * Implement python unit tests for Samba's multibyte string 
3994       support.
3995     * Remove 'unicode' smb.conf option.
3996     * BUG 1138: Fix support for 'optional' SMB signing and other 
3997       signing bugs.
3998     * BUG 169: Fix NTLMv2-only behavior.
3999     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
4000       default.
4001     * Support SMB signing on connections using only the LANMAN 
4002       password and generate the correct the 'session key' for these 
4003       connections.
4004     * Implement --required-membership-of=, an ntlm_auth option 
4005       that restricts all authentication to members of this particular 
4006       group.
4007     * Improve our fall back code for password changes.
4008     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
4009       after the server had said something (such as an error).
4010     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
4012       
4013 o   Alexander Bokovoy <ab@samba.org>
4014     * Fix incorrect size calculation of the directory name 
4015       in recycle.so.
4016     * Fix problems with very long filenames in both smbd and smbclient
4017       caused by truncating paths during character conversions.
4018     * Fix smbfs problem with Tree Disconnect issued before smbfs 
4019       starts its work.
4022 o   Gerald Carter <jerry@samba.org>
4023     * BUG 850: Fix 'make installmodules' bug on True64.
4024     * BUG 66: mark 'only user' deprecated.
4025     * Remove corrupt tdb and shutdown (only for printing tdbs, 
4026       connections, sessionid & locking).
4027     * decrement smbd counter in connections.tdb in smb_panic().
4028     * RedHat specfile updates.
4029     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
4030     * BUG 1147; bad pointer case in get_stored_queue_info() 
4031       causing seg fault.
4032     * BUG 761: read the config file before initialized default 
4033       values for printing options; don't default to bsd printing 
4034       Linux.
4035     * Allow the 'printing' parameter to be set on a per share basis.
4036     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
4037     * BUG 848: don't create winbind local users/groups that already 
4038       exist in the tdb.
4039     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
4040       LynxOS/ppc).
4041     * BUG 488: fix the 'show client in col 1' button and correctly 
4042       enumerate active connections.
4043     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
4044       problem when storing the updating pid for the lpq cache.
4045     * BUG 1007 (partial): Fix print change notify bugs.
4046     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
4047       and winbind use default domain = yes.  Also ensures that 
4048     * BUG 1151: Ensure that winbindd users are passed through 
4049       the username map.
4050     * Fix client rpc binds for ASU derived servers (pc netlink, 
4051       etc...).
4052     * BUG 417, 1128: Ensure that the current_user_info is set
4053       consistently so that %[UuGg] is expanded correctly.
4054     * BUG 1195: Fix crash in winbindd when the ADS server is 
4055       unavailable.
4056     * BUG 1185: Set reconnect time to be the same as the 
4057       'winbind cache time'.
4058     * Ensure that we return the sec_desc in smb_io_printer_info_2.
4059     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
4060     * BUG 1095: Honor the '-l' option in smbclient.
4061     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
4062       block.
4063     * Ensure server schannel uses the auth level requested by the 
4064       client.
4065     * Removed --with-cracklib option due to potential crash issue.
4066     * Fix -lcrypto linking problem with wbinfo.
4067     * BUG 761: allow printing parameter to set defaults on a per 
4068       share basis.
4069     * Add 'cups options' parameter to allow raw printing without 
4070       changing /etc/cups/cupsd.conf.
4071     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
4072       winbindd.
4073     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
4074     * BUG 1288: resolve any machine netbios name (0x00) and not just 
4075       servers (0x20).
4076     * BUG 1199: Fix potential symlink issue in 
4077       examples/printing/smbprint.
4080 o   Robert Dahlem <Robert.Dahlem@gmx.net>
4081     * BUG 1048:  Don't return short names when when 'mangled names = no'
4084 o   Guenther Deschner <gd@suse.com>
4085     * Remove hard coded attribute name in the ads ranged retrieval
4086       code.
4087     * Add --with-libdir and --with-mandir to autoconf script.
4090 o   Bostjan Golob <golob@gimb.org>
4091     * BUG 1046: Fix  getpwent_list() so that the username is not 
4092       overwritten by other fields.
4095 o   Landon Fuller <landonf@opendarwin.org>
4096     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
4097       to fix user/group enumeration on systems whose libc does not 
4098       call setgrent() before trying to enumerate users (i.e. 
4099       FreeBSD 5.2).
4102 o   Steve French <sfrench@us.ibm.com>
4103     * Update mount.cifs to version 1.1.
4104     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
4105     * Fixes to minor security bug in the mount helper.
4106     * Fix credential file mounting for cifs vfs.
4107     * Fix free of incremented pointer in cifsvfs mount helper.
4108     * Fix path canonicalization of the mount target path and help 
4109       text display in the cifs mount helper.
4110     * Add missing guest mount option for mount.cifs.
4113 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
4114     * BUG 1055; formatting fixes for 'net share'.
4115     * BUG 692: correct truncation of share names and workgroup 
4116       names in smbclient.
4117     * BUG 1088: use strchr_m() for query_host (smbclient -L).
4118     * Patch from to internally count characters correctly.
4121 o   Paul Green <paulg@samba.org>
4122     * Update VOS _POSIX_C_SOURCE macro to 200112L.
4123     * Fix bug in configure.ion by moving the first use of 
4124       AC_CHECK_HEADERS so it is always executed.
4125     * Fix configure.in to only use $BLDSHARED to select whether to 
4126       build static or shared libraries.
4129 o   Pat Haywarrd <Pat.Hayward@propero.net>
4130     * Make the session_users list dynamic (max of 128K).
4131     
4132     
4133 o   Cal Heldenbrand <calzplace@yahoo.com> 
4134     * Fix for for 'pam_smbpass migrate' functionality.
4137 o   Chris Hertel <crh@samba.org>
4138     * fix enumeration of shares 12 characters in length via 
4139       smbclient.
4142 o   Ulrich Holeschak <ulrich@holeschak.de>
4143     * BUG 932: fix local password change using pam_smbpass
4146 o   Krischan Jodies <kj@sernet.de>
4147     * Implement 'net rpc group delete'
4150 o   John Klinger <john.klinger@lmco.com>
4151     * Return NSS_SUCCESS once the max number of gids possible 
4152        has been found in initgroups() on Solaris.
4153     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
4156 o   Volker Lendecke <vl@samba.org>
4157     * Fix success message for net groupmap modify.
4158     * Fix errors when enumerating members of groups in 'net rpc'.
4159     * Match Windows behavior in samr_lookup_names() by returning
4160       ALIAS(4) when you search in BUILTIN. 
4161     * Fix server SAMR code to be able to set alias info for 
4162       builtin as well. 
4163     * Fix duplication of logic when creating groups via smbd.
4164     * Ensure that the HWM values are set correctly after running 
4165       'net idmap'.
4166     * Add 'net rpc group add'.
4167     * Implement 'net groupmap set' and 'net groupmap cleanup'.
4168     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
4169     * Fix wb_delgrpmem (wbinfo -o).
4170     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
4171     * Fix sambaUserWorkstations on a Samba DC.
4172     * Implement wbinfo -k: Have winbind generate an AFS token after
4173       authenticating the user.
4174     * Add expand_msdfs VFS module for providing referrals based on the
4175       the client's IP address.
4176     * Implement client side NETLOGON GetDCName function.
4177     * Fix caching of name->sid lookups.
4178     * Add support in winbindd for expanding nested local groups.
4179     * Fix memleak in winbindd.
4180     * Fix msdfs proxy.
4181     * Don't list domain groups from BUILTIN.
4182     * Fix memleak in policy handle utility functions.
4183     * Decrease winbindd startup time by only contacting trusted 
4184       domains as necessary.
4185     * Allow winbindd to ask the DC for its domain for a trusted 
4186       DC.
4187     * Fix Netscape DS schema based on comments from 
4188       <thomas.mueller@christ-wasser.de>.
4189     * Correct case where adding a domain user to a XP local group 
4190       did a lsalookupname on the user without domain prefix, and 
4191       failed.
4192     * Fix segfault in winbindd caused by 'wbinfo -a'.
4193     
4195 o   Herb Lewis <herb@samba.org>
4196     * Fix typo for tag in proto file.
4197     * Add missing #ifdef HAVE_BICONV stuff.
4198     * Truncate Samba's netbios name at the first '.' (not 
4199       right to left).
4202 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
4203     * Bug fixes and enhancements to libsmbclient library.
4205     
4206 o   Jianliang Lu <j.lu@tiesse.com>
4207     * Enforce the 'user must change password at next login' flag.
4208     * Decode meaning of 'fields present' flags (improves support 
4209       for usrmgr.exe).
4210     * NTLMv2 fixes.
4211     * Don't force an upper case domain name in the ntlmssp code.
4212     
4214 o   L. Lucius <ib@digicron.com>.
4215     * type fixes.
4218 o   Jim McDonough <jmcd@us.ibm.com>
4219     * Add versioning support to tdbsam.
4220     * Update the IBM Directory Server schema with the OpenLDAP 
4221       file.
4222     * Various decoding fixes to improve usrmgr.exe support.
4223     * Fix statfs redeclaration of statfs struct on ppc
4224     * Implement support for password lockout of Samba domain 
4225       controllers and standalone servers.
4226     * Get MungedDial attribute actually working with full TS 
4227       strings in it for pdb_ldap.
4228     * BUG 1208 (partial): Improvements for working with expired krb5 
4229       tickets in winbindd.
4230     * Use timegm, or our already existing replacement instead of 
4231       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
4232     * Remove modifyTimestamp from list of our attributes.  
4233     * Fix lsalookupnames to check for domain users as well as local 
4234       users. 
4235     * Merge struct uuid replacement for GUID from trunk.
4236     * BUG 1208: Finish support for handling expired tickets in 
4237       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
4240 o   Stefan Metzmacher <metze@samba.org>
4241     * Implement new VERSION schema based on subversion revision 
4242       numbers.
4243     * Add shadow_copy vfs module.
4244     * Fix segault in login_cache support.
4247 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
4248      o BUG 979 -- Fix quota display on AIX.
4251 o   James Peach <jpeach@sgi.com>
4252     * Correct check for printf() format when using the SGI MIPSPro 
4253       compiler.
4254     * BUG 1038: support backtrace for 'panic action' on IRIX.
4255     * BUG 768: Accept profileing arg to IRIX init script.
4256     * BUG 748: Relax arg parsing to sambalp script (IRIX).
4257     * BUG 758: Fix pdma build.
4258     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
4259       Jason Mader.
4260       
4262 o   Kurt Pfeifle <kpfeifle@danka.de>
4263     * Add example shell script for migrating drivers and printers 
4264       from a Windows print server to a Samba print server using 
4265       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
4268 o   Tim Potter <tpot@samba.org>
4269     * Fix logic bug in tdb non-blocking lock routines when 
4270       errno == EAGAIN.
4271     * BUG 1025: Include sys/acl.h in check for broken nisplus 
4272       include files.      
4273     * BUG 1066: s/printf/d_printf/g in SWAT.
4274     * BUG 1098: rename internal msleep() function to fix build 
4275       problems on AIX.
4276     * BUG 1112: Fix for writable printerdata problem in python bindings.
4277     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
4278     * BUG 1155: enclose use of fchown() with guards.
4279     * Relicense tdb python module as LGPL.
4282 o   Richard Sharpe <rsharpe@samba.org>
4283     * Add support to smbclient for multiple logins on the same 
4284       session (based on work by abartlet@samba.org).
4285     * Correct blocking condition in smbd's use of accept() on IRIX.
4286     * Add support for printing out the MAC address on nmblookup.
4289 o   Simo Sorce <idra@samba.org>
4290     * Replace unknown_3 with fields_present in SAMR code.
4291     * More length checks in strlcat().
4294 o   Andrew Tridgell <tridge@samba.org>
4295     * Rewrote the AIX UESS backend for winbindd.
4296     * Fixed compilation with --enable-dmalloc.
4297     * Change tdb license to LGPL (see source/tdb/tdb.c).
4298     * Force winbindd to use schannel in clients connections to 
4299       DC's if possible.
4302 o   Jelmer Vernooij <jelmer@samba.org>
4303    * Fix ETA Calculation when resuming downloads in smbget.
4304    * Add -O (for writing downloaded files to standard out) 
4305      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
4306     * Fix syntax error in example mysql table
4308            
4309 o   TAKEDA yasuma <yasuma@miraclelinux.com>
4310     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
4311       cmd_chown, cmd_chmod smbclient functions.
4314 o   Shiro Yamada <shiro@miraclelinux.com>
4315     * BUG 1129: install image files for SWAT.
4317       
4318     --------------------------------------------------
4320                   ==============================
4321                   Release Notes for Samba 3.0.2a
4322                         February 13, 2004
4323                   ==============================
4325 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
4326 to address, in particular, a problem when using pdbedit to 
4327 sanitize (--force-initialized-passwords) Samba's tdbsam 
4328 backend.   This is the latest stable release of Samba. This 
4329 is the version that all production Samba servers should be 
4330 running for all current bug-fixes.  
4332 ******************* Attention! Achtung! Kree! *********************
4334 Beginning with Samba 3.0.2, passwords for accounts with a last 
4335 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
4336 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
4337 strings.  This will cause authentication to fail for such
4338 accounts.  If you have valid passwords that meet this criteria, 
4339 you must update the last change time to a non-zero value.  If you 
4340 do not, then  'pdbedit --force-initialized-passwords' will disable 
4341 these accounts and reset the password hashes to a string of X's.
4343 ******************* Attention! Achtung! Kree! *********************
4346 Changes since 3.0.2
4347 -------------------
4349 commits
4350 -------
4352 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4353 details.  The list of changes per contributor are as follows:
4356 o   Jeremy Allison <jra@samba.org>
4357     * Added paranoia checks in parsing code.
4358     
4360 o   Andrew Bartlett <abartlet@samba.org>
4361     * Ensure that changes to uninitialized passwords in ldapsam 
4362       are written to the DIT.
4365 o   Gerald (Jerry) Carter <jerry@samba.org>
4366     * Fixed iterator in tdbsam.
4367     * Fix bug that disabled accounts with a valid NT password 
4368       hash, but no LanMan hash.
4369     
4371 o   Steve French <sfrench@us.ibm.com>
4372     * Added missing nosetuid and noexec options.
4374     
4375 o   Bostjan Golob <golob@gimb.org>
4376     * BUG 1046: Don't overwrite usernames of entries returned 
4377       by getpwent_list().
4380 o   Sebastian Krahmer <krahmer@suse.de>
4381     * Fixed potential crash bug in NTLMSSP parsing code.
4384 o   Tim Potter <tpot@samba.org>
4385     * Fixed logic in tdb_brlock error checking.
4387     
4388 o   Urban Widmark <urban@teststation.com>
4389     * Set nosuid,nodev flags in smbmnt by default.
4390     
4391     
4392         --------------------------------------------------
4393                   
4394                   =============================
4395                   Release Notes for Samba 3.0.2
4396                         February 9, 2004
4397                   =============================
4399 It has been confirmed that previous versions of Samba 3.0 are
4400 susceptible to a password initialization bug that could grant an 
4401 attacker unauthorized access to a user account created by the
4402 mksmbpasswd.sh shell script.
4404 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
4405 has assigned the name CAN-2004-0082 to this issue.
4407 Samba administrators not wishing to upgrade to the current 
4408 version should download the 3.0.2 release, build the pdbedit 
4409 tool, and run 
4411    root# pdbedit-3.0.2 --force-initialized-passwords
4412       
4413 This will disable all accounts not possessing a valid password
4414 (e.g. the password field has been set a string of X's).
4416 Samba servers running 3.0.2 are not vulnerable to this bug 
4417 regardless of whether or not pdbedit has been used to sanitize
4418 the passdb backend.
4420 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4421 release include:
4423   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4424   o Logging onto a Samba domain from Windows XP clients.
4425   o Problems with the %U and %u smb.conf variables in relation to 
4426     Windows 9x/ME clients.
4427   o Kerberos failures due to an invalid in memory keytab detection
4428     test.
4429   o Updates to the ntlm_auth tool.
4430   o Fixes for various SMB signing errors.
4431   o Better separation of WINS and DNS queries for domain controllers.
4432   o Issues with nss_winbind FreeBSD and Solaris.
4433   o Several crash bugs in smbd and winbindd.
4434   o Output formatting fixes for smbclient for better compatibility
4435     with scripts based on the 2.2 version.
4438 Changes since 3.0.1
4439 -------------------
4441 smb.conf changes
4442 ----------------
4444     Parameter Name              Action
4445     --------------              ------
4446     ldap replication sleep      New
4447     read size                   removed (unused)
4448     source environment          removed (unused)
4451 commits
4452 -------
4454 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4455 details.  The list of changes per contributor are as follows:
4457 o   Jeremy Allison <jra@samba.org>
4458     * Revert change that broke Exchange clear text samlogons.
4459     * Fix gcc 3.4 warning in MS-DFS code.
4460     * Tidy up of NTLMSSP code.
4461     * Fixes for SMB signing errors
4462     * BUG 815: Workaround NT4 bug to support plaintext
4463       password logins and UNICODE.
4464     * Fix SMB signing bug when copying large files.
4465     * Correct error logic in mkdir_internals() (caused a panic
4466       when combined with --enable-developer).
4467     * BUG 830: Protect against crashes due to bad character 
4468       conversions.
4470       
4471 o   Petri Asikainen <paca@sci.fi>
4472     * BUG 330, 387:Fix single valued attribute updates when 
4473       working with Novell NDS.
4476 o   Andrew Bartlett <abartlet@samba.org>
4477     * Correctly handle per-pipe NTLMSSP inside a NULL session.
4478     * Fix segfault in gencache 
4479     * Fix early free() of encrypted_session_key.
4480     * Change DC lookup routines to more carefully separate
4481       DNS names (realms) from NetBIOS domain names.
4482     * Add new sid_to_dn() function for internal winbindd use.
4483     * Refactor cli_ds_enum_domain_trusts().
4484     * BUG 707: Implement range retrieval of ADS attributes (based 
4485       on work from Volker <vl@samba.org> and Guenther Deschner 
4486       <gd@suse.com>).
4487     * Automatically initialize the signing engine if a session key
4488       is available.
4489     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
4490       encoded strings, only form input in SWAT.
4491     * Resets the NTLMSSP state for new negotiate packets.
4492     * Add 2-byte alignments in net_samlogon() queries to parse 
4493       odd-length plain text passwords.
4494     * Allow Windows groups with no members in winbindd.
4495     * Allow normal authentication in the absence of a server 
4496       generated session key.
4497     * More optimizations for looking up UNIX group lists.
4498     * Clean up error codes and return values for pam_winbindd
4499       and winbindd PAM interface.
4500     * Fix string return values in ntlm_auth tool.
4501     * Fix segfault when 'security = ads' but no realm is defined.
4502     * BUG 722: Allow winbindd to map machine accounts to uids.
4503     * More cleanups for winbindd's find_our_domain().
4504     * More clearly detect whether a domain controller is an NT4
4505       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4506     * Increase separation between DNS queries for hosts and queries
4507       for AD domain controllers.
4508     * Include additional NT_STATUS to PAM error mappings.
4509     * Password initialization fixes.
4511     
4512 o   Justin Baugh <justin.baugh@request.com>
4513     * BUG 948: Implement missing functions required for FreeBSD 
4514       nss_winbind support. 
4517 o   Alexander Bokovoy <ab@samba.org>
4518     * BUG 922: Make sure enable fast path for strlower_m() and 
4519       strupper_m().
4522 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
4523     * Fix crash when using 'security = server' and 'encrypt 
4524       passwords = no' by always initializing the session key.
4526       
4527 o   Dmitry Butskoj <buc@odusz.elektra.ru>
4528     * Fix for special files being hidden from admins.
4531 o   Gerald (Jerry) Carter <jerry@samba.org>
4532     * Fix bug in the lanman session key generation.  Caused 
4533       "decode_pw: incorrect password length" error messages.
4534     * Save the right case for the located user name in 
4535       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
4536     * BUG 897: Add well known rid for pre win2k compatible access
4537       group.
4538     * BUG 887: Correct typo in delete user script example.
4539     * Use short lived TALLOC_CTX* for allocating printer objects 
4540       from the print handle cache.
4541     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4542     * Fix several warnings reported by the SUN Forte C compiler.
4543     * Fully control DNS queries for AD DC's using 'name resolve order'.
4544     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4545     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4546     * BUG 936: fix bind credentials for schannel binds in smbd.
4547     * BUG 446: Fix output of smbclient for better compatibility 
4548       with scripts based on the 2.2 version (including Amanda).
4549     * BUG 891, 949: Fedora packaging fixes.
4550     * Fix bug that caused rpcclient to incorrectly retrieve 
4551       the SID for a server (this causing all calls that required 
4552       this information to fail). 
4553     * BUG 977: Don't create a homes share for a user if a static 
4554       share already exists by the same name.
4555     * Removed unused smb.conf options.
4556     * Password initialization fixes.
4557     * Set the disable flag for template accounts created by
4558       mksmbpasswd.sh.
4559     * Disable any account has no passwords and does not have the
4560       ACB_PWNOTREQ bit set.
4563 o   Guenther Deschner <gd@suse.com>
4564     * Install smbwrapper.so should be put into the $(libdir) 
4565       and not $(bindir).
4566     * Add the capability to specify the new user password 
4567       for "net ads password" on the command line.
4568     * Correctly detect AFS headers on SuSE.
4569         
4571 o   James Flemer <jflemer@uvm.edu>
4572     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
4573       HAVE_SYS_ATTRIBUTES_H.
4576 o   Luke Howard <lukeh@PADL.COM>
4577     * Fix segfault in session setup reply caused by a early free().
4580 o   Stoian Ivanov <sdr@bultra.com>
4581     * Implement grepable output for smbclient -L.
4584 o   LaMont Jones <lamont@debian.org>
4585     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
4586       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
4587       not being defined).
4589       
4590 o   Volker Lendecke <vl@samba.org>
4591     * BUG 583: Ensure that user names always contain the short 
4592       version of the domain name.
4593     * Fix our parsing of the LDAP uri.
4594     * Don't show the 'afs username map' in the SWAT basic view.
4595     * Fix SMB signing issues in relation to failed NTLMSSP logins.
4596     * BUG 924: Fix return codes in smbtorture harness.
4597     * Always lower-case usernames before handing it to AFS code.
4598     * Add a German translation for SWAT.
4599     * Fix a segfaults in winbindd.
4600     * Fix the user's domain passed to register_vuid() from 
4601       reply_spnego_kerberos().
4602     * Add NSS example code in nss_winbind to convert UNIX 
4603       id's <-> Windows SIDs.
4604     * Display more descriptive error messages for login via 'net'.
4605     * Fix compiler warning in the net tool.
4606     * Fix length bug when decoding base64 strings.
4607     * Ensure we don't call getpwnam() inside a loop that is iterating 
4608       over users with getpwent().  This broke on glibc 2.3.2.
4611 o   Herb Lewis <herb@samba.org>
4612     * Fix bit rot in psec.
4615 o   Jianliang Lu <j.lu@tiesse.com>
4616     * Ensure we delete the group mapping before calling the delete 
4617       group script.
4618     * Define well known RID for managing the  "Power Users" group.
4619     * BUG 381: check builtin (not local) group SID when updating 
4620       group membership.
4621     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
4622       packet.
4625 o   John Klinger <john.klinger@lmco.com>
4626     * Implement initgroups() call in nss_winbind on Solaris.
4629 o   Jim McDonough <jmcd@us.ibm.com>
4630     * Fix regression in net rpc join caused by recent changes 
4631       to cli_lsa_query_info_policy().
4632     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4633       machine account.
4636 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
4637     * BUG 570: Ensure that configure honors the LDFLAGS variable.
4640 o   Stefan Metzmacher <metze@samba.org>
4641     * Implement LDAP rebind sleep patch.
4642     * Revert to 2.2 quota code because of so many broken quota files 
4643       out there.
4644     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4645                       XFS_USER_QUOTA -> USRQUOTA
4646                       XFS_GROUP_QUOTA -> GRPQUOTA
4647     * Fix disk_free calculation with group quotas.
4648     * Add debug class 'quota' and a lot of DEBUG()'s 
4649       to the quota code.
4650     * Fix sys_chown() when no chown() is present.
4651     * Add SIGABRT to fault handling in order to catch got a 
4652       backtrace if an error occurs the OpenLDAP client libs.
4655 o   <ndb@theghet.to>
4656     * Allow an existing LDAP machine account to be re-used when 
4657       joining an AD domain.
4660 o   James Peach <jpeach@sgi.com>
4661     * BUG 889: Change smbd to use pread/pwrite on platforms that 
4662       support these calls. Can lead to a significant speed increase.
4665 o   Tim Potter <tpot@samba.org>
4666     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4667     * BUG 924: Fix typo in RW2 torture test.
4668     
4669     
4670 o   Richard Sharpe <rsharpe@samba.org>
4671     * Small fixes to torture.c to cleanup the error handling 
4672       and prevent crashes.
4675 o   J. Tournier <jerome.tournier@IDEALX.com>
4676     * Small fixes for the smbldap-tool scripts.
4679 o   Andrew Tridgell <tridge@samba.org>
4680     * Fix src len check in pull_usc2().
4681     
4682     
4683 o   Jelmer Vernooij <jelmer@samba.org>
4684     * Put functions for generating SQL queries in pdb_sql.c
4685     * Add pgSQL backend (based on patch by Hamish Friedlander)
4686     * BUG 908: Fix -s option to smbcontrol.    
4687     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4688     * Fix for libnss_wins on IRIX platforms.
4689     * Fix swatdir for --with-fhs.
4692         --------------------------------------------------
4694                   =============================
4695                   Release Notes for Samba 3.0.1
4696                         December 15, 2003
4697                   =============================
4699 Some of the more common bugs in 3.0.0 addressed in the release 
4700 include:
4702   o Substitution problems with smb.conf variables.
4703   o Errors in return codes which caused some applications
4704     to fail to open files.
4705   o General Protection Faults on Windows 2000/XP clients
4706     using Samba point-n-print features.
4707   o Several miscellaneous crash bugs.
4708   o Access problems when enumerating group mappings are
4709     stored in an LDAP Directory.
4710   o Several common SWAT bugs when writing changes to
4711     smb.conf.
4712   o Internal inconsistencies when 'winbind use default
4713     domain = yes'
4717 Changes since 3.0.0
4718 ----------------------
4720     Parameter Name              Action
4721     --------------              ------
4722     hide local users            Removed
4723     mangled map                 Deprecated
4724     mangled stack               Removed
4725     passwd chat timeout         New
4728 commits
4729 -------
4731 o   Change the interface for init_unistr2 to not take a length 
4732     but a flags field.  We were assuming that 
4733     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
4734 o   Allow d_printf() to handle strings with escaped quotation 
4735     marks since the msg file includes the escape character (bug 489).
4736 o   Fix bad html table row termination in SWAT wizard code (bug 413).
4737 o   Fix to parse the level-2 strings.
4738 o   Fix for "valid users = %S" in [homes].  Fix read/write 
4739     list as well. 
4740 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
4741     This is the same way AC_CHECK_LIB works (bug 508).
4742 o   Testparm output fixes for clarity.
4743 o   Fix broken wins hook functionality -- i18n bug (bug 528).
4744 o   Take care of condition where DOS and NT error codes must differ.
4745 o   Default to using only built-in charsets when a working iconv 
4746     implementation cannot be located.
4747 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
4748     be done unconditionally (bug 550).
4749 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
4750 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
4751     --enable-debug=[yes|no] works correctly.
4752 o   Allow ^C to interrupt smbpasswd if using our getpass 
4753     (e.g. smbpasswd command).
4754 o   Support signing only on RPC's (bug 167).
4755 o   Correct bug that prevented  Excel 2000 clients from opening 
4756     files marked as read-only.
4757 o   Portability fix bugs 546 - 549).
4758 o   Explicitly initialize the value of AR for vendor makes that don't
4759     do this (e.g. HPUX 11).  (bug 552).
4760 o   More i18n fixes for SWAT (bug 413).
4761 o   Change the cwd before the postexec script to ensure that a
4762     umount will succeed.
4763 o   Correct double free that caused winbindd to crash when a DC 
4764     is rebooted (bug 437).
4765 o   Fix incorrect mode sum (bug 562).
4766 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
4767     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4768 o   Add script to generate *msg files.
4769 o   Add Dutch SWAT translation file.
4770 o   Make sure to call get_user_groups() with the full winbindd 
4771     name for a user if he/she has one (bug 406).
4772 o   Fix up error code returns from Samba4 tester. Ensure invalid 
4773     paths are validated the same way.  
4774 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
4775 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
4776     libraries were found for $BACKEND.
4777 o   Move sysquotas autoconf tests to a separate file.
4778 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
4779     tester
4780 o   Make sure that the files that contain the static_init_$subsystem; 
4781     macro get recompiled after configure by removing the object 
4782     files.
4783 o   Ensure canceling a blocking lock returns the correct error 
4784     message.
4785 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4786 o   Updated Japanese welcome file in SWAT.
4787 o   Fix to  nt-time <-> unix-time functions reversible.
4788 o   Ensure that winbindd uses the the escaped DN when querying
4789     an AD ldap server.
4790 o   Fix portability issues when compiling (bug 505, 550)
4791 o   Compile fix for tdbbackup when Samba needs to override 
4792     non-C99 compliant implementations of snprintf().
4793 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4794 o   Make sure we break out of samsync loop on error.
4795 o   Ensure error code path doesn't free unmalloc()'d memory
4796     (bug 628).
4797 o   Add configure test for krb5_keytab_entry keyblock vs key 
4798     member (bug 636).
4799 o   Fixed spinlocks.
4800 o   Modified testparm so that all output so all debug output goes 
4801     to stderr, and all file processing goes to stdout.
4802 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
4803     and smbcquotas.
4804 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
4805     we have a devmode before copying a string to the devicename.
4806 o   Support mapping REALM.COM\user to a local user account (without 
4807     running winbindd)  for compatibility with 2.2.x release.
4808 o   Ensure we don't use mmap() on blacklisted systems.
4809 o   fixed a number of bugs and memory leaks in the AIX 
4810     winbindd shim
4811 o   Call initgroups() in SWAT before becomming the user so that
4812     secondary group permissions can be used when writing to 
4813     smb.conf.
4814 o   Fix signing problems when reverse connecting back to a 
4815     client for printer notify
4816 o   Fix signing problems caused by a miss-sequence bug.
4817 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4818     Fixes NEXUS tools running on Win9x clients (bug 64).
4819 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
4820     SID could not be mapped.
4821 o   Fix segfault in mount.cifs helper when there is no options 
4822     specified during mount.
4823 o   Change the \n after the password prompt to go to tty instead 
4824     of stdout (bug 668).
4825 o   Stop net -P from prompting for machine account password (bug 451).
4826 o   Change in behavior to Not only change the effective uid but also
4827     the real uid when becoming unprivileged.
4828 o   Cope with Exchange 5.5 cleartext pop password auth.
4829 o   New files for support of initshutdown pipe.  Win2k doesn't 
4830     respond properly to all requests on the winreg pipe, so we need 
4831     to handle this new pipe (bug 534).
4832 o   Added more va_copy() checks in configure.in.
4833 o   Include fixes for libsmbclient build problems.
4834 o   Missing UNIX -> DOS codepage conversion in lanman.c.
4835 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
4836 o   Parameterize the listen backlog in smbd and make it larger by
4837     default. A backlog of 5 is way too small these days.
4838 o   Check for an invalid fid before dereferencing the fsp pointer
4839     (bug 696).
4840 o   Remove invalid memory frees and return codes in pdb_ldap.c.
4841 o   Prompt for password when invoking --set-auth-user and no 
4842     password is given.
4843 o   Bind the nmbd sending socket to the 'socket address'.
4844 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
4845     $LDFLAGS occurs before any library specification (bug 661).
4846 o   Fix large number of printf() calls for 64-bit size_t.
4847 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
4848     keyblock in the krb5 structs.
4849 o   Remove #include <compat.h> in hopes to avoid problems with 
4850     apache header files.
4851 o   Correct winbindd build problems on HP-UX 11.
4852 o   Lowercase netgroups lookups (bug 703).
4853 o   Use the actual size of the buffer in strftime instead of a made
4854     up value which just happens to be less than sizeof(fstring).  
4855     (bug 713).
4856 o   Add ldaplibs to pdbedit link line (bug 651).
4857 o   Fix crash bug in smbclient completion (bug 659).
4858 o   Fix packet length for browse list reply (bug 771).
4859 o   Fix coredump in cli_get_backup_list().
4860 o   Make sure that we expand %N (bug 612).
4861 o   Allow rpcclient adddriver command to specify printer driver 
4862     version (bug 514).
4863 o   Compile tdbdump by default.
4864 o   Apply patches to fix iconv detection for FreeBSD.
4865 o   Do not allow the 'guest account' to be added to a passdb backend 
4866     using smbpasswd or pdbedit (bug 624).
4867 o   Save LDFLAGS during iconv detection (bug 57).
4868 o   Run krb5 logins through the username map if the winbindd 
4869     lookup fails (bug 698).
4870 o   Add const for lp_set_name_resolve_order() to avoid compiler 
4871     warnings (bug 471).
4872 o   Add support for the %i macro in smb.conf to stand in for the for
4873     the local IP address to which a client connected.
4874 o   Allow winbindd to match local accounts to domain SID when 
4875     'winbind trusted domains only = yes' (bug 680).
4876 o   Remove code in idmap_ldap that searches the user suffix and group 
4877     suffix.  It's not needed and provides inconsistent functionality 
4878     from the tdb backend.
4879 o   Patch to handle munged dial string for Windows 2000 TSE.
4880     Thanks to Gaz de France, Direction de la Recherche, Service 
4881     Informatique Métier for their supporting this work by Aurelien 
4882     Degrémont <adegremont@idealx.com>.
4883 o   Correct the "smbldap_open: cannot access when not root error"
4884     messages when looking up group information (bug 281).
4885 o   Skip over the winbind separator when looking up a user.
4886     This fixes the bug that prevented local users from
4887     matching an AD user when not running winbindd (bug 698).
4888 o   Fix a problem with configure on *BSD systems. Make sure
4889     we add -liconv etc to LDFLAGS.
4890 o   Fix core dump bug when "security = server" and the authentication
4891     server goes away.
4892 o   Correct crash bug due to an empty munged dial string.
4893 o   Show files locked by a specific user (smbstatus -u 'user') 
4894     (bug 590).
4895 o   Fix bug preventing print jobs from display in the queue
4896     monitor used by Windows NT and later clients (bug 660).
4897 o   Fix several reported problems with point-n-print from
4898     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4899     reply (bug 338, 527 & 643).
4900 o   Fix a handful of potential memory leaks in the LDAP code used
4901     by ldapsam[_compat] and the LDAP idmap backend.
4902 o   Fix for pdbedit error code returns (bug 763).
4903 o   Make sure we only enumerate group mapping entries  (not 
4904     /etc/group) even when doing local aliases.
4905 o   Relax check on the pipe name in a dce/rpc bind response to work 
4906     around issues with establishing trusts to a Windows 2003 domain.
4907 o   Ensure we mangle names ending in '.' in hash2 mangling method.
4908 o   Correct parsing issues with munged dial string.
4909 o   Fix bugs in quota support for XFS.
4910 o   Add a cleaner method for applications that need to provide 
4911     name->SID mappings to do this via NSS rather than having to 
4912     know the winbindd pipe protocol.
4913 o   Adds a variant of the winbindd_getgroups() call called 
4914     winbindd_getusersids() that provides direct SID->SIDs listing of 
4915     a users supplementary groups. This is enough to allow non-Samba 
4916     applications to do ACL checking.
4917 o   Make sure we don't append the 'ldap suffix' when writing out the 
4918     'ldap XXX suffix' values in SWAT (bug 328).
4919 o   Fix renames across file systems.
4920 o   Ensure that items in a list of strings containing whitespace are 
4921     written out surrounded by single quotes.  This means that both 
4922     double and single quotes are now used to surround strings in 
4923     smb.conf (bug 481).
4924 o   Enable SWAT to correctly determine if winbindd is running (bug 
4925     398).
4926 o   Include WWW-Authenticate field in 401 response for bad auth 
4927     attempt (bug 629).
4928 o   Add support for NTLM2 (NTLMv2 session security).
4929 o   Add support for variable-length session keys.
4930 o   More privilege fixes for group enumeration in LDAP (bug 281).
4931 o   Use the dns name (or IP) as the originating client name when
4932     using CUPS (bug 467).
4933 o   Fix various SMB signing bugs.
4934 o   Fix ACL propagation on a DFS root (bug 263).
4935 o   Disable NTLM2 for RPC pipes.
4936 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
4937     authentication.
4938 o   Change the name of the job passed off to cups from "Test Page" 
4939     to "smbprn.00000033 Test Page" so that we can get the smb 
4940     jobid back. This allow users to delete jobs with cups printing 
4941     backend (partial work on bug 770).
4942 o   Fix build of winbindd with static pdb modules.
4943 o   Retrieve the correct ACL group bits if the file has an ACL 
4944     (bug 802).
4945 o   Implement "net rpc group members": Get members of a domain group 
4946     in human-readable format.
4947 o   Add MacOSX (Darwin) specific charset module code.
4948 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
4949     can include the full name in gecos field (bug 587).
4950 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4951 o   Implement 'net rpc group list [global|local|builtin]*' for a 
4952     select listing of the respective user databases.
4953 o   Don't automatically set NT status code flag unless client tells 
4954     us it can cope.
4955 o   Add 'net status [sessions|shares] [parseable]'.
4956 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
4957     bug 770).
4958 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
4959    (bug 608).
4960 o   Fix inverted logic in hosts allow/deny checks caused by 
4961     s/strcmp/strequal/ (bug 846).
4962 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4963 o   Fix typo in 'hash' mangling algorithm.
4964 o   Support munged dial for ldapsam (bug 800).
4965 o   Fix process_incoming_data() to return the number of bytes handled 
4966     this call whether we have a complete PDU or not; fixes bug 
4967     with multiple PDU request rpc's broken over SMBwriteX calls 
4968     each.
4969 o   Fix incorrect smb flags2 for connections to pre-NT servers 
4970     (causes smbclient to fail to OS2 for example) (bug 821).
4971 o   Update version string in smbldap-tools Makefile to 0.8.2.
4972 o   Correct a problem with "net rpc vampire" mis-parsing the 
4973     alias member info reply.
4974 o   Ensure the ${libdir} is created by the installclientlib script.
4975 o   Fix detection of Windows 2003 client architecture in the smb.conf
4976     %a variable.
4977 o   Ensure that smbd calls the add user script for a missing UNIX 
4978     user on kerberos auth call (bug 445).
4979 o   Fix bugs in hosts allow/deny when using a mismatched 
4980     network/netmask pair.
4981 o   Protect alloc_sub_basic() from crashing when the source string 
4982     is NULL (partial work on bug 687).
4983 o   Fix spinlocks on IRIX.
4984 o   Corrected some bad destination paths when running "configure 
4985     --with-fhs".
4986 o   Add packaging files for Fedora Core 1.
4987 o   Correct bug in SWAT install script for non-english languages.
4988 o   Support character set ISO-8859-1 internally (bug 558).
4989 o   Fixed more LDAP access errors when looking up group mappings 
4990     (bug 281).
4991 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
4992     resolution to fail on local files on on domain members 
4993     (bug 875).
4994 o   Fix uninitialized variable in passdb.c.
4995 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
4996 o   Fix problem mounting directories when mount.cifs is installed 
4997     with the setuid bit on.
4998 o   Fix bug that prevent --mandir from overriding the defaults
4999     given in the --with-fhs macro.
5000 o   Fix bug in in-memory Kerberos keytab detection routines 
5001     in configure.in
5005 ######################################################################
5007               The original 3.0.0 release notes follow
5008               =======================================
5009                     WHATS NEW IN Samba 3.0.0
5010                         September 24, 2003
5011               =======================================
5014 Major new features:
5015 -------------------
5017 1)  Active Directory support.  Samba 3.0 is now able to  
5018     join a ADS realm as a member server and authenticate 
5019     users using LDAP/Kerberos.
5021 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
5022     and internally there is now a much better infrastructure for 
5023     multi-byte and UNICODE character sets.
5025 3)  New authentication system. The internal authentication system 
5026     has been almost completely rewritten. Most of the changes are 
5027     internal, but the new auth system is also very configurable.
5029 4)  New default filename mangling system.
5031 5)  A new "net" command has been added. It is somewhat similar to 
5032     the "net" command in windows. Eventually we plan to replace 
5033     numerous other utilities (such as smbpasswd) with subcommands 
5034     in "net".
5036 6)  Samba now negotiates NT-style status32 codes on the wire. This
5037     improves error handling a lot.
5039 7)  Better Windows 2000/XP/2003 printing support including publishing
5040     printer attributes in active directory.
5042 8)  New loadable module support for passdb backends and character 
5043     sets.
5045 9)  New default dual-daemon winbindd support for better performance.
5047 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
5048     domain and maintaining user, group and domain SIDs.
5050 11) Support for establishing trust relationships with Windows NT 4.0
5051     domain controllers.
5052   
5053 12) Initial support for a distributed Winbind architecture using
5054     an LDAP directory for storing SID to uid/gid mappings.
5055   
5056 13) Major updates to the Samba documentation tree.
5058 14) Full support for client and server SMB signing to ensure
5059     compatibility with default Windows 2003 security settings.
5061 15) Improvement of ACL mapping features based on code donated by
5062     Andreas Grünbacher.
5065 Plus lots of other improvements!
5068 Additional Documentation
5069 ------------------------
5071 Please refer to Samba documentation tree (included in the docs/ 
5072 subdirectory) for extensive explanations of installing, configuring
5073 and maintaining Samba 3.0 servers and clients.  It is advised to 
5074 begin with the Samba-HOWTO-Collection for overviews and specific 
5075 tasks (the current book is up to approximately 400 pages) and to 
5076 refer to the various man pages for information on individual options.
5078 We are very glad to be able to include the second edition of
5079 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
5080 (O'Reilly & Associates) in this release.  The book is available
5081 on-line at http://samba.org/samba/docs/ and is included with 
5082 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
5083 publisher for making "Using Samba" under the GNU Free Documentation 
5084 License.
5087 ######################################################################
5088 Upgrading from a previous Samba 3.0 beta
5089 ########################################
5091 Beginning with Samba 3.0.0beta3, the RID allocation functions
5092 have been moved into winbindd.  Previously these were handled
5093 by each passdb backend.  This means that winbindd must be running
5094 to automatically allocate RIDs for users and/or groups.  Otherwise,
5095 smbd will use the 2.2 algorithm for generating new RIDs.
5097 If you are using 'passdb backend = tdbsam' with a previous Samba 
5098 3.0 beta release (or possibly alpha), it may be necessary to 
5099 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
5100 to winbindd_idmap.tdb.  To do this:
5102 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
5103     once)
5104 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
5105     directory
5106 3)  run: (note that 'tdb>' is the tool's prompt for input)
5108        root# ./tdbtool /usr/local/samba/private/passdb.tdb
5109        tdb> show RID_COUNTER
5110        key 12 bytes
5111        RID_COUNTER
5112        data 4 bytes
5113        [000] 0A 52 00 00                                       .R.
5115        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
5116        ....
5117        record moved
5119 If you are using 'passdb backend = ldapsam', it will be necessary to 
5120 store idmap entries in the LDAP directory as well (i.e. idmap backend 
5121 = ldap).  Refer to the 'net idmap' command for more information on 
5122 migrating SID<->UNIX id mappings from one backend to another.
5124 If the RID_COUNTER record does not exist, then these instructions are
5125 unneccessary and the new RID_COUNTER record will be correctly generated
5126 if needed.  
5130 ########################
5131 Upgrading from Samba 2.2
5132 ########################
5134 This section is provided to help administrators understand the details
5135 involved with upgrading a Samba 2.2 server to Samba 3.0.
5138 Building
5139 --------
5141 Many of the options to the GNU autoconf script have been modified 
5142 in the 3.0 release.  The most noticeable are:
5144   * removal of --with-tdbsam (is now included by default; see section
5145     on passdb backends and authentication for more details)
5146     
5147   * --with-ldapsam is now on used to provided backward compatible
5148     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
5149     backend and authentication section for more details
5150   
5151   * inclusion of non-standard passdb modules may be enabled using
5152     --with-expsam.  This includes an XML backend and a mysql backend.
5153       
5154   * removal of --with-msdfs (is now enabled by default)
5155   
5156   * removal of --with-ssl (no longer supported)
5157   
5158   * --with-utmp now defaults to 'yes' on supported systems
5159   
5160   * --with-sendfile-support is now enabled by default on supported 
5161     systems
5162   
5163     
5164 Parameters
5165 ----------
5167 This section contains a brief listing of changes to smb.conf options
5168 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
5169 complete descriptions of new or modified parameters.
5171 Removed Parameters (order alphabetically):
5173   * admin log
5174   * alternate permissions
5175   * character set
5176   * client codepage
5177   * code page directory
5178   * coding system
5179   * domain admin group
5180   * domain guest group
5181   * force unknown acl user
5182   * hide local users
5183   * mangled stack
5184   * nt smb support
5185   * postscript
5186   * printer driver
5187   * printer driver file
5188   * printer driver location
5189   * read size
5190   * source environment
5191   * status
5192   * strip dot
5193   * total print jobs
5194   * use rhosts
5195   * valid chars
5196   * vfs options
5198 New Parameters (new parameters have been grouped by function):
5200   Remote management
5201   -----------------
5202   * abort shutdown script
5203   * shutdown script
5205   User and Group Account Management
5206   ---------------------------------
5207   * add group script
5208   * add machine script
5209   * add user to group script
5210   * algorithmic rid base
5211   * delete group script
5212   * delete user from group script
5213   * passdb backend
5214   * set primary group script
5216   Authentication
5217   --------------
5218   * auth methods
5219   * realm
5220   * passwd chat timeout
5222   Protocol Options
5223   ----------------
5224   * client lanman auth
5225   * client NTLMv2 auth
5226   * client schannel
5227   * client signing
5228   * client use spnego
5229   * disable netbios
5230   * ntlm auth
5231   * paranoid server security
5232   * server schannel
5233   * server signing
5234   * smb ports
5235   * use spnego
5237   File Service
5238   ------------
5239   * get quota command
5240   * hide special files
5241   * hide unwriteable files
5242   * hostname lookups
5243   * kernel change notify
5244   * mangle prefix
5245   * map acl inherit
5246   * msdfs proxy
5247   * set quota command
5248   * use sendfile
5249   * vfs objects
5250   
5251   Printing
5252   --------
5253   * max reported print jobs
5255   UNICODE and Character Sets
5256   --------------------------
5257   * display charset
5258   * dos charset
5259   * unicode
5260   * unix charset
5261   
5262   SID to uid/gid Mappings
5263   -----------------------
5264   * idmap backend
5265   * idmap gid
5266   * idmap uid
5267   * winbind enable local accounts
5268   * winbind trusted domains only
5269   * template primary group
5270   * enable rid algorithm
5272   LDAP
5273   ----
5274   * ldap delete dn
5275   * ldap group suffix
5276   * ldap idmap suffix
5277   * ldap machine suffix
5278   * ldap passwd sync
5279   * ldap replication sleep
5280   * ldap user suffix
5281   
5282   General Configuration
5283   ---------------------
5284   * preload modules
5285   * private dir
5287 Modified Parameters (changes in behavior):
5289   * encrypt passwords (enabled by default)
5290   * mangling method (set to 'hash2' by default)
5291   * passwd chat
5292   * passwd program
5293   * restrict anonymous (integer value)
5294   * security (new 'ads' value)
5295   * strict locking (enabled by default)
5296   * unix extensions (enabled by default)
5297   * winbind cache time (increased to 5 minutes)
5298   * winbind uid (deprecated in favor of 'idmap uid')
5299   * winbind gid (deprecated in favor of 'idmap gid')
5302 Databases
5303 ---------
5305 This section contains brief descriptions of any new databases 
5306 introduced in Samba 3.0.  Please remember to backup your existing 
5307 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
5308 upgrade databases as they are opened (if necessary), but downgrading 
5309 from 3.0 to 2.2 is an unsupported path.
5311 Name                    Description                             Backup?
5312 ----                    -----------                             -------
5313 account_policy          User policy settings                    yes
5314 gencache                Generic caching db                      no
5315 group_mapping           Mapping table from Windows              yes
5316                         groups/SID to unix groups        
5317 winbindd_idmap          ID map table from SIDS to UNIX          yes
5318                         uids/gids.
5319 namecache               Name resolution cache entries           no
5320 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
5321                         returned as part of a successful
5322                         net_sam_logon request 
5323 printing/*.tdb          Cached output from 'lpq                 no
5324                         command' created on a per print 
5325                         service basis
5326 registry                Read-only samba registry skeleton       no
5327                         that provides support for exporting
5328                         various db tables via the winreg RPCs
5331 Changes in Behavior
5332 -------------------
5334 The following issues are known changes in behavior between Samba 2.2 and 
5335 Samba 3.0 that may affect certain installations of Samba.
5337   1)  When operating as a member of a Windows domain, Samba 2.2 would 
5338       map any users authenticated by the remote DC to the 'guest account'
5339       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
5340       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
5341       current work around to re-establish the 2.2 behavior.
5342       
5343   2)  When adding machines to a Samba 2.2 controlled domain, the 
5344       'add user script' was used to create the UNIX identity of the 
5345       machine trust account.  Samba 3.0 introduces a new 'add machine 
5346       script' that must be specified for this purpose.  Samba 3.0 will
5347       not fall back to using the 'add user script' in the absence of 
5348       an 'add machine script'
5349   
5351 ######################################################################
5352 Passdb Backends and Authentication
5353 ##################################
5355 There have been a few new changes that Samba administrators should be
5356 aware of when moving to Samba 3.0.
5358   1) encrypted passwords have been enabled by default in order to 
5359      inter-operate better with out-of-the-box Windows client 
5360      installations.  This does mean that either (a) a samba account
5361      must be created for each user, or (b) 'encrypt passwords = no'
5362      must be explicitly defined in smb.conf.
5363     
5364   2) Inclusion of new 'security = ads' option for integration 
5365      with an Active Directory domain using the native Windows
5366      Kerberos 5 and LDAP protocols.
5368      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
5369      type which is neccessary for servers on which the 
5370      administrator password has not been changed, or kerberos-enabled 
5371      SMB connections to servers that require Kerberos SMB signing.
5372      Besides this one difference, either MIT or Heimdal Kerberos
5373      distributions are usable by Samba 3.0.
5374      
5376 Samba 3.0 also includes the possibility of setting up chains
5377 of authentication methods (auth methods) and account storage 
5378 backends (passdb backend).  Please refer to the smb.conf(5) 
5379 man page for details.  While both parameters assume sane default 
5380 values, it is likely that you will need to understand what the 
5381 values actually mean in order to ensure Samba operates correctly.
5383 The recommended passdb backends at this time are
5385   * smbpasswd - 2.2 compatible flat file format
5386   * tdbsam - attribute rich database intended as an smbpasswd
5387     replacement for stand alone servers
5388   * ldapsam - attribute rich account storage and retrieval 
5389     backend utilizing an LDAP directory.  
5390   * ldapsam_compat - a 2.2 backward compatible LDAP account 
5391     backend
5392     
5393 Certain functions of the smbpasswd(8) tool have been split between the 
5394 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
5395 utility.  See the respective man pages for details.
5396     
5397      
5398 ######################################################################
5399 LDAP
5400 ####
5402 This section outlines the new features affecting Samba / LDAP 
5403 integration.
5405 New Schema
5406 ----------
5407   
5408 A new object class (sambaSamAccount) has been introduced to replace 
5409 the old sambaAccount.  This change aids us in the renaming of 
5410 attributes to prevent clashes with attributes from other vendors.  
5411 There is a conversion script (examples/LDAP/convertSambaAccount) to 
5412 modify and LDIF file to the new schema.
5413   
5414 Example:
5415   
5416   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5417   $ convertSambaAccount --sid=<Domain SID> \
5418     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5419     --changetype=[modify|add]
5420         
5421 The <DOM SID> can be obtained by running 'net getlocalsid 
5422 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
5423 the format of the generated LDIF output--either create new entries 
5424 or modify existing entries.
5425     
5426 The old sambaAccount schema may still be used by specifying the 
5427 "ldapsam_compat" passdb backend.  However, the sambaAccount and
5428 associated attributes have been moved to the historical section of
5429 the schema file and must be uncommented before use if needed.
5430 The 2.2 object class declaration for a sambaAccount has not changed
5431 in the 3.0 samba.schema file. 
5432   
5433 Other new object classes and their uses include:
5434   
5435   * sambaDomain - domain information used to allocate rids 
5436     for users and groups as necessary.  The attributes are added
5437     in 'ldap suffix' directory entry automatically if 
5438     an idmap uid/gid range has been set and the 'ldapsam'
5439     passdb backend has been selected.
5440       
5441   * sambaGroupMapping - an object representing the 
5442     relationship between a posixGroup and a Windows
5443     group/SID.  These entries are stored in the 'ldap 
5444     group suffix' and managed by the 'net groupmap' command.
5445     
5446   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
5447     automatically and contains the next available 'idmap uid' and 
5448     'idmap gid'
5449     
5450   * sambaIdmapEntry - object storing a mapping between a 
5451     SID and a UNIX uid/gid.  These objects are created by the 
5452     idmap_ldap module as needed.
5454   * sambaSidEntry - object representing a SID alone, as a Structural
5455     class on which to build the sambaIdmapEntry.
5457     
5458 New Suffix for Searching
5459 ------------------------
5460   
5461 The following new smb.conf parameters have been added to aid in directing
5462 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5463 specified.
5465   * ldap suffix         - used to search for user and computer accounts
5466   * ldap user suffix    - used to store user accounts
5467   * ldap machine suffix - used to store machine trust accounts
5468   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
5469   * ldap idmap suffix   - location of sambaIdmapEntry objects
5471 If an 'ldap suffix' is defined, it will be appended to all of the 
5472 remaining sub-suffix parameters.  In this case, the order of the suffix
5473 listings in smb.conf is important.  Always place the 'ldap suffix' first
5474 in the list.  
5476 Due to a limitation in Samba's smb.conf parsing, you should not surround 
5477 the DN's with quotation marks.
5480 IdMap LDAP support
5481 ------------------
5483 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
5484 following options would inform Samba that the idmap table should be
5485 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5486 dc=org" partition.
5488  [global]
5489     ...
5490     idmap backend     = ldap:ldap://onterose/
5491     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5492     idmap uid         = 40000-50000
5493     idmap gid         = 40000-50000
5495 This configuration allows winbind installations on multiple servers to
5496 share a uid/gid number space, thus avoiding the interoperability problems
5497 with NFS that were present in Samba 2.2.
5498     
5501 ######################################################################
5502 Trust Relationships and a Samba Domain
5503 ######################################
5505 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
5506 allocating uids and gids to trusted users and groups.  More
5507 information regarding Samba's support for establishing trust 
5508 relationships can be found in the Samba-HOWTO-Collection included
5509 in the docs/ directory of this release.
5511 First create your Samba PDC and ensure that everything is 
5512 working correctly before moving on the trusts.
5514 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5515 4.0 domain named WINDOWS:
5517   1) create the trust account for SAMBA in "User Manager for Domains"
5518   2) connect the trust from the Samba domain using
5519      'net rpc trustdom establish GLASS'
5521 To create a trustlationship with SAMBA as the trusted domain:
5523   1) create the initial trust account for GLASS using
5524      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
5525      account for GLASS$ prior to this step (depending on your
5526      local configuration).
5527   2) connect the trust from a WINDOWS DC using "User Manager
5528      for Domains"
5530 Now join winbindd on the Samba PDC to the SAMBA domain using
5531 the normal steps for adding a Samba server to an NT4 domain:
5532 (note that smbd & nmbd must be running at this point)
5534    root# net rpc join -U root
5535    Password: <enter root password from smbpasswd file here>
5537 Start winbindd and test the join with 'wbinfo -t'.
5539 Now test the trust relationship by connecting to the SAMBA DC
5540 (e.g. POGO) as a user from the WINDOWS domain:
5542    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5543    Password:
5545 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5547    $ smbclient //crystal/netlogon -U root -W WINDOWS
5548    Password:
5550 ######################################################################
5551 Changes in Winbind
5552 ##################
5554 Beginning with Samba3.0.0beta3, winbindd has been given new account
5555 manage functionality equivalent to the 'add user script' family of
5556 smb.conf parameters.  The idmap design has also been changed to 
5557 centralize control of foreign SID lookups and matching to UNIX 
5558 uids and gids.
5561 Brief Description of Changes
5562 ----------------------------
5564 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
5565    reverted to the 2.2.x design.  This means that when resolving a 
5566    SID to a UID or similar mapping:
5568         a) First consult winbindd
5569         b) perform a local lookup only if winbindd fails to
5570            return a successful answer
5572    There are some variations to this, but these two rules generally
5573    apply.
5575 2) All idmap lookups have been moved into winbindd.  This means that
5576    a server must run winbindd (and support NSS) in order to achieve
5577    any mappings of SID to dynamically allocated UNIX ids.  This was
5578    a conscious design choice.
5580 3) (OBSOLETE) New functions have been added to winbindd to emulate 
5581    the 'add user script' family of smbd functions without requiring 
5582    that external scripts be defined.  This functionality is controlled 
5583    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
5584    by default).
5586    However, this account management functionality is only supported 
5587    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
5588    must be shared among multiple Samba servers (such as a PDC and BDCs), 
5589    it will be necessary to define your own 'add user script', et. al.
5590    programs that place the accounts/groups in some form of directory
5591    such as NIS or LDAP.  This requirement was deemed beyond the scope
5592    of winbind's account management functions.  Solutions for 
5593    distributing UNIX system information have been deployed and tested 
5594    for many years.  We saw no need to reinvent the wheel.
5596 4) A member of a Samba controlled domain running winbindd is now able 
5597    to map domain users directly onto existing UNIX accounts while still
5598    automatically creating accounts for trusted users and groups.  This
5599    behavior is controlled by the 'winbind trusted domains only' smb.conf
5600    parameter (disabled by default to provide 2.2.x winbind behavior).
5602 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5603    in smbd/uid.c.  The reason that group mappings are not included
5604    in winbindd is because the purpose of Samba's group map is to
5605    match any Windows SID with an existing UNIX group.  These UNIX
5606    groups can be created by winbindd (see next section), but the
5607    SID<->gid mapping is retreived by smbd, not winbindd.
5610 Examples
5611 --------
5613 * security = server running winbindd to allocate accounts on demand
5615 * Samba PDC running winbindd to handle the automatic creation of UNIX
5616   identities for machine trust accounts
5618 * Automtically creating UNIX user and groups when migrating a Windows NT
5619   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
5620   'net rpc vampire' for this to work.
5622    
5623 ######################################################################
5624 Known Issues
5625 ############
5627 * There are several bugs currently logged against the 3.0 codebase
5628   that affect the use of NT 4.0 GUI domain management tools when run
5629   against a Samba 3.0 PDC.  This bugs should be released in an early 
5630   3.0.x release.
5632 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
5633 filed against the Samba 3.0 codebase.
5636 ######################################################################
5637 Reporting bugs & Development Discussion
5638 #######################################
5640 Please discuss this release on the samba-technical mailing list or by
5641 joining the #samba-technical IRC channel on irc.freenode.net.
5643 If you do report problems then please try to send high quality
5644 feedback. If you don't provide vital information to help us track down
5645 the problem then you will probably be ignored.  
5647 A new bugzilla installation has been established to help support the 
5648 Samba 3.0 community of users.  This server, located at 
5649 https://bugzilla.samba.org/, has replaced the older jitterbug server 
5650 previously located at http://bugs.samba.org/.