r15144: final code changes for 3.0.23pre1 (SAMBA_3_0 r15141)
[Samba.git] / WHATSNEW.txt
blob177ad8e841fc0da0b258283fc5c3c0e5d9417230
1                    ==================================
2                    Release Notes for Samba 3.0.23pre1
3                                Apr 20, 2006
4                    ==================================
6 This is a preview release of the Samba 3.0.23 code base and
7 is provided for testing only.  This release is *not* intended
8 for production servers.  There has been a substantial amount
9 of development since the 3.0.21 series of stable releases.
10 We would like to ask the Samba community for help in testing
11 these changes as we work towards the next significant production
12 upgrade Samba 3.0 release.
14 There has been a substantial amount of cleanup work done 
15 during this development cycle.  Two weeks of development time
16 was dedicated to fixing bugs reported by the Coverity source 
17 code scans.  Details can be found at in the following two 
18 articles:
20         http://news.samba.org/#coverity_zero_bugs 
21         http://news.samba.org/#zdnet_quick_response
23 New features introduced in 3.0.23pre1 include:
25   o New offline mode in winbindd.
26   o New kerberos support for pam_winbind.so.
27   o New handling of unmapped users and groups. 
28   o New non-root share management tools.
29   o Improved support for local and BUILTIN groups.
32 User and Group changes
33 ======================
35 The user and group internal management routines have been rewritten
36 to prevent overlaps of assigned Relative Identifiers (RIDs).  
37 Unmapped users are assigned a SID in the S-1-22-1 domain now and
38 unmapped groups are assigned a SID in the S-1-22-2 domain.
42 ######################################################################
43 Changes
44 #######
46 Changes since 3.0.21/22
47 -----------------------
49 smb.conf changes
50 ----------------
52     Parameter Name                      Action
53     --------------                      ------
54     acl group control                   Deprecated
55     add port command                    New
56     dos filemode                        Modified behavior
57     enable asu support                  New default (no)
58     enable privileges                   New default (yes)
59     host msdfs                          New default (yes)
60     msdfs root                          New default (yes)
61     open files database hash size       New
62     strict locking                      New default (auto)
63     winbind enum users                  New default (no)
64     winbind enum groups                 New default (no)
65     winbind nested groups               New default (yes)
66     winbind max idle children           Removed
69 commits
70 -------
71 o   Jeremy Allison <jra@samba.org>
72     * BUG 3467: Fix delete on close semantics needed by WinXP Media 
73       Center Ed. for simultaneous recording and playback (thanks to 
74       Jason Qian for the debugging assistance).
75     * BUG 3347: Save the Unix user token used to set the 
76       delete-on-close flag.
77     * Fix parsing of SAMR_Q_CONNECT_ANON.
78     * Add in support for userinfo26 structure and re-enable 
79       userinfo25 
80     * Schannel server fixes.  Fix the credentials chaining across 
81       \netlogon pipe disconnects.
82     * Replace ubqix code in nmbd with an internal tdb.
83     * Fix struct timespec checks in configure.in.
84     * Add in server support for the NetSamLogonEx().
85     * Add support for LsaLookupSids2() and LsaLookupSids3().
86     * Add LsaLookupNames[2-4]().
87     * Add support for 'net usershare'.
88     * BUG 3522: Fix error code return on SMBmkdir(foo) when foo 
89       already exists (thanks to Sandeep Tamhankar).
90     * BUG 3510: Fix 'net rpc join' against a server when 
91       schannel is disabled.
92     * Get rid of poor errno mapping table. Bounce through NTSTATUS 
93       instead.
94     * Check for SeMachineAccountPrivilege when deleting machine 
95       accounts.
96     * Fix a logic bug with multiple oplock contention.
97     * Add the replacements for opendir/readdir etc from SAMBA_4_0.
98       Attempt to fix the broken directory handling in the *BSD.
99     * Allow run time tuning of the locking tdb hash size for
100       very busy servers.
101     * BUG 3642: Ensure we don't call FD_SET on read with 
102       fd == -1.
103     * BUG 3569: Work around linear posix locking issue on AIX
104       which was causing high loads due to the tdb CLEAR_IF_FIRST
105       flag (based on work from William JoJo).
106     * Fix OS/2 directory delete bug found by kukks.
107     * Match the Windows 2003 NTLMSSP signature.
108     * Performance tuning work in core read & write file serving 
109       paths.
110     * Change default to 'strict locking' to better reflect 
111       real world clients.
112     * Fix error return on session setup. Ensure no data blob is 
113       added if the logon call failed so that Windows clients 
114       interpret the NT_STATUS code correctly.
115     * Teach Samba the difference between exclusive and batch 
116       oplocks.
117     * BUG 3592: Ignore a file in a smbtar output if the first 
118       read fails (inspired by Justin Best).
121 o   Alexander Bokovoy <ab@samba.org>
122     * Fix 'smbcontrol shutdown' messages for nmbd and winbindd.
125 o   Max N. Boyarov <m.boyarov@sam-solutions.net>
126     * Fix crash bug in perfmon daemon example code.
129 o   Gerald (Jerry) Carter <jerry@samba.org>
130     * Rewrite of tdbsam file descriptor handling.
131     * Add server affinity support when selecting a remote 
132       domain controller.
133     * Remove chaining of passdb modules.
134     * Generate a local users primary group SID based on his 
135       or her primary Unix group rather than storing the attribute 
136       in the passdb entry.
137     * Default primary group SID to 'Domain Users' if the real Unix 
138       primary group maps to the S-1-22-2 domain.
139     * Refactor memory management in passdb user objects.
140     * RHEL and Fedora packaging fixes.
141     * Implement XcvDataPort() spooler call and supporting 'add 
142       port command'.
143     * BUG 3534: Ignore lines in the username map file with no right 
144       hand list.
145     * Add support for the experimental %(DomainSID) smb.conf 
146       variable.
147     * Add support for parsing SIDs in smb.conf value lists.
148     * Fix vuid allocation in Kerberos SMBsessetup reply. 
149     * Ensure that local group membership is included in the 
150       getgroups() NSS reply.
151     * Automatically create a BUILTIN\{Administrators,Users} if
152       winbindd is running.
153     * Automatically grant all privileges to members of the local 
154       Administrators group.
155     * Protect against NULL cli_state* pointers in 
156       cli_rpc_pipe_open().
157     * Add a SUBSTR matching rule the the Samba LDAP schema 
158       file for the sambaSID attribute.  This will allow for 
159       Searching group mapping entries within a given domain
160       without reorganizing the directory namespace.  Also 
161       requires 'index sambaSID sub' in slapd.conf.
162     * Fix parsing of 'idmap uid/gid' values that broke when
163       the range included any whitespace.
164     * Support renaming local groups (protect against renaming 
165       BUILTIN groups).
166     * Do not allow the root account to be deleted via MS-RPC.
167     * Fix RID allocation to skip over RIDs that resolve in our
168       own domain (work around upgraded users and groups).
169     * Store the name/ip address combination when we do a reverse 
170       look up in case future forward lookups would fail.
171       Fixes cases where a DC name could not be resolved via 
172       NetBIOS queries,
173     * Allow winbindd to run on standalone servers in order to
174       provide support for local groups.
175     * Deprecate 'acl group control' and replace it with added 
176       functionality to 'dos filemode'.
177     * Ensure that all global memory is freed from pam_winbind 
178       when unloading the shared library (based on work from Arkady 
179       Glabek).
180     * Fix 32-bit/64-bit portability issues between PAM & NSS winbind 
181       libraries and winbindd.
182     * Add defensive checks about create local accounts (i.e. calling
183       'add user script') on domain member servers when winbindd
184       is running but having problems.
187 o   Guenther Deschner <gd@samba.org>
188     * Enhancements to various commands in rpcclient 
189     * Don't force 'Administrator' to change an expired password on 
190       logon.
191     * Add support for offline mode in winbindd.
192     * Provide support in pam_winbind for initializing a user's 
193       ticket cache.
194     * Implement samr_chgpasswd_user3 server-side.
195     * Make pam_winbind more robust when detecting domain users.
196     * Add client side support for SAMR_GET_USRDOM_PWINFO.
197     * Re-enable strict checking on C++ reserved keywords since Heimdal 
198       0.7.2 has been released.
199     * Allow renaming of machine accounts in a Samba domain.
200     * BUG 3539: Let winbindd try to obtain the gecos field from 
201       the msSFU30Gecos attribute when "winbind nss info = sfu" is 
202       set. 
203     * Correctly handle acb_info/acct_flags as uint32 not as uint16.
204     * Return the real ACB-flags in the SamLogon() reply.
205     * Some client side cleanup for the samr set security object 
206       functions.
207     * Make sure we always reset the userAccountControl bits when 
208       re-joining (net ads join) with an existing account.
209     * Document some more MSV1_0 bits and their behavior.
210     * Only set the last rebind timestamp when we did rebind 
211       after a update LDAP operation to avoid the ldap replication 
212       sleep period.
213     * Fix incorrect error checking in winbindd for domains with 
214       no trusts.
215     * Consolidate the parsing of the Krb5 PAC and NET_USER_INFO3 
216       structure.
217     * Work around crash bug in MIT krb5 libs when reading a 
218       keytab file.  Stop trying to decrypt a ticket as soon as 
219       we have a clear indication that the ticket is bad.
220     * Merge DCERPC_FAULT constants from the SAMBA_4_0 tree.
221     * Adding client side samr querygroup infolevels 2 & 5.
222     * Make smbpasswd -a root work for eDirectory where there 
223       is no "account" structural objectclass.
224     * Make sure we only send out a CLDAP request (net ads) to 
225       an connected AD server.
226     * Fix a broken LDAP search filter when looking for groups.
227     * Add in-tree version of iniparser library from 
228       http://ndevilla.free.fr/iniparser/ for use by pam_winbind
229       (rather than linking in loadparm.c).  Settings are now stored
230       in /etc/security/pam_winbind.conf.
233 o   Mathias Dietz <MDIETZ@de.ibm.com>
234     * EPERM can be a valid return from getting an xattr. 
235       Don't disable if we get it.
238 o   Aleksey Fedoseev <aleksey@fedoseev.net>
239     * Fix crash bug in the file locking code.
242 o   Arek Glabek <aglabek@centeris.com>
243     *  Fix parsing error on input parameters in eventlogadm.
246 o   Bjoern Jacke <bjacke@sernet.de>.
247     * Fix EA support on AIX platforms.
248     * Automatically disable file shares with no explicit path set.
249     * Remove the local hack to set the RO bit on directories in 
250       user profiles when profile acls = yes.  Rely on EAs instead.
251     * Compile fixes for Solaris LDAP client libs.
252     * Add DMAPI/XDSM support for AIX.
253     * Find JFS DMAPI libs on Linux when only they are available.
256 o   William JoJo <jojowil@hvcc.edu>
257     * Fix VFS builds on AIX platforms.
260 o   Volker Lendecke <vl@samba.org>
261     * Dynamically compute the maximum password age based no the 
262       last change time rather than reading the must change time 
263       from the passdb record.
264     * Rewrite mechanisms for handling lookup_{name,sid} resolution.
265     * Assign unmapped users to the S-1-22-1 domain and unmapped 
266       groups to the S-1-22-2 domain
267     * Disable algorithmic mapping for RIDs in tdbsam & ldapsam
268     * Remove sql passdb backends.
269     * Implement rpccli_samr_set_domain_info()
270     * Add initial support for 'net sam' command.
271     * BUG 2413: Remove anonymous connections in 'net rpc info'.
272     * Implement asynchronous support for trans2 calls.
273     * Make smbclient -L use RPC to list shares, fall back to RAP.
274     * Merge tdb code (including transactional support) from 
275       the SAMBA_4_0 tree.
276     * Unsure that the global SAM SID is initialized before any
277       dependent routines are called.
278     * Enhance consistency checks on local configuration when joining
279       a domain.
282 o   Derrell Lipman <derrell@samba.org>
283     [libsmbclient]
284     * Fix bug causing previous settings to be re-initialized 
285       when parsing new configuration files.
286     * BUG 3446: Don't ignore the authentication domain when parsing 
287       the SMB URI.
288     * Fix cli_setpathinfo() to actually do what it's supposed to.
289     * Fix libsmbclient to make correct use of the new "one connection
290       per server feature".
293 o   Jason Mader <jason@ncac.gwu.edu>
294     * Compiler warning fixes.
297 o   Jim McDonough <jmcd@us.ibm.com>
298     * Prevent machines and users with no home directory from 
299       getting the previous entries home path when migrating via 
300       'net rpc vampire' (based on a patch from Richard Renard).
301     * Remove hard-coded LDIF names when dumping a migrated 
302       domain's users and groups.
303     * BUG 1374: Can't join an OU with name that contains '#'.
306 o   Stefan Metzmacher <metze@samba.org>
307     * Add improved support for 'make test' including making 
308       use of smbtorture from SAMBA_4_0.
309     * Add --no-process-group to all server programs 
310       (e.g. timelimit 20000 bin/nmbd -F -S --no-process-group).
311     * Add configure tests --with-selftest-prefix=/tmp/samba-test
314 o   Lars Müller <lmuelle@samba.org>
315     * Add -k switch to tdbdump for accessing a single key.
316     * Debian packaging fixes.
317     * Add -t|--password-from-stdin option to pdbedit as we had 
318       with Samba 2.2.
319     * Various minor fixes to install scripts used by 'make install'.
322 o   James Peach <jpeach@sgi.com>
323     * Add support for FAM for file change notification.
324     * Disable sendfile if the 'write cache;' has been enabled.
325     * Refactor capability interface from being IRIX-specific to 
326       using only the POSIX interface.
327     * Consolidate core dumping code to aid in debugging.
328     * Add support for libunwind to generating a backtrace.
329     * BUG 3490: Don't test for ldap or krb5 libs if --without-ldap
330       and --without-ads are specified.
331     * Allow the user to set winbind nss timeouts in seconds on IRIX.
334 o   Simo Sorce <idra@samba.org>
335     * Ensure that sid -> group conversion are done as root.
336     * BUG 3413: Sanity check for existence of 'ldap admin 
337       dn' before setting a password in secrets.tdb (based on
338       work by William Jojo).
339     * New revision of the snprintf replace code.
342 o   ISHIKAWA Tomonori <toishika@fsi.co.jp>
343     * BUG 2715: Fix nmbd datagram comment buffer size for multibyte 
344       character strings
347 Release Notes for older release follow:
349       --------------------------------------------------
350                    ==============================
351                    Release Notes for Samba 3.0.22
352                             Mar 30, 2006
353                    ==============================
355 This is a security release of Samba. The Samba 3.0.21 release 
356 series (including the patch releases a through c) has been 
357 discovered to expose the clear text of the server's machine 
358 account credentials in the winbind log files when the log 
359 level is set to 5 or higher.  This defect has been assigned 
360 the CVE number CAN-2006-1059.
362 Summary
363 =======
365 The machine trust account password is the secret shared
366 between a domain controller and a specific member server.
367 Access to the member server machine credentials allows
368 an attacker to impersonate the server in the domain and 
369 gain access to additional information regarding domain 
370 users and groups.
372 The winbindd daemon included in Samba 3.0.21 and subsequent
373 patch releases (3.0.21a-c) writes the clear text of server's
374 machine credentials to its log file at level 5.  The winbindd
375 log files are world readable by default and often log files
376 are requested on open mailing lists as tools used to debug
377 server misconfigurations.
379 This affects servers configured to use domain or ads security
380 and possibly Samba domain controllers as well (if configured
381 to use winbindd).
383 =======
385       --------------------------------------------------
387                    ===============================
388                    Release Notes for Samba 3.0.21c
389                               Feb 24, 2006
390                    ===============================
392 Common bugs fixed in 3.0.21c include:
394   o Access checks when deleting printer driver meta-data.
395   o Several non-default combinations schannel and SPNEGO support.
396   o Password changes with NT4 and Win2k pre-SP4 clients.
397   o High load issues on IRIX caused by a bug when interfacing 
398     with kernel oplocks.
401 ######################################################################
402 Changes
403 #######
405 Changes since 3.0.21b
406 ---------------------
408 commits
409 -------
410 o   Michael Adam <ma@SerNet.DE>
411     * Add popt to the include path for examples/VFS.
414 o   Jeremy Allison <jra@samba.org>
415     * Fix bug in the USC2 macros on big-endian CPUs.
416     * Filter deleted oplocks from the output of smbstatus.
417     * Remove invalid test check_for_pipe().
418     * BUG 3515: Fix kernel oplock support on IRIX.
419     * BUG 3522: Fix return value for mkdir request when the directory
420       already exists.
421     * BUG 3526: Add missing FindNext info levels (diagnosed by Corinna 
422       Vinschen).
423     * BUG 3330: Fix username parsing in Kerberos PAC (based on work 
424       by Guenther).
425     * BUG 3512: Fix cause of "use spnego=no" and "server signing=auto" 
426       resulting in a client disconnect after negprot.
427     * BUG 3510: Fix 'net join' against a server with client schannel 
428       disabled.
429     * Fix negprot bug causing a 2k client with cached domain 
430       credentials to refuse to connect to a standalone Samba host.
431     * Ensure that the correct error is checked when encountering a 
432       socket error (fixes crashes in winbindd).
435 o   Andrew Bartlett <abartlet@samba.org>
436     * Fix domain joins from NT4 clients and password changes.
439 o   Richard Bollinger <rabollinger@gmail.com>.
440     * Compile fix in pdbedit.
443 o   Gerald (Jerry) Carter <jerry@samba.org>
444     * Break RHEL/Fedora packaging out to include a samba-docs rpm.
445     * Remove use of /var/cache/samba from RHEL/Fedora packaging.
446     * Fix bug in loadparm.c that caused builtin services to be also
447       listed as external services (e.g. Spooler, NETLOGON, etc..).
448     * Fix bug in the samr dispinfo enumeration code.
449     * Add earlier checks to deny deleting a printer driver meta-data.
452 o   Guenther Deschner <gd@samba.org>
453     * Add Account Policy LDAP attributes for eDirectory schema.
456 o   William JoJo <jojowil@hvcc.edu>
457     * BUG 1870: Make nmblookup do a node status on all IP's when 
458       requested.
459     * BUG 2353: Fix clitar -F processing.
462 o   Volker Lendecke <vl@samba.org>
463     * Fix the build for --with-aio-support.
464     * Fix remote password changing if password must change is set.
465     * Fix rpcclient to obey the -W parameter.
466     * Fix segv in smbmount and the profiles tool.
467     * Fix typo in pdbedit help text (reported by Karolin Seeger).
470 o   Vladimir Lettiev
471     * Honour the $(DESTDIR) Makefile variable when installing 
472       Python extensions.
475 o   Jason Mader <jason@ncac.gwu.edu>
476     * Compiler warning fixes.
479 o   Lars Müller <lmuelle@samba.org>
480     * Fix python build with older python versions.
481     * Update dhcp.conf files in Debian packaging
482     * SWAT welcome file updates
483     * Compiler warning fixes.
484     * Add .2 to the SONAME as version suffix if we link the nss 
485       modules on linux.
486     * Add -t|--password-from-stdin option to pdbedit.
489 o   James Peach <jpeach@sgi.com>
490     * Continue not enabling valgrind on 64-bit Linux.
493 o   Tim Potter <tpot@samba.org>
494     * Remove unused #defines.
497 o   Simo Sorce <idra@samba.org>
498     * Debian packaging updates.
501 o   Qiao Yang <qyang@stbernard.com>
502     * Make sure to refresh the timestamp on entries in the failed 
503       connection code in winbindd.
506       --------------------------------------------------
507                    ===============================
508                    Release Notes for Samba 3.0.21b
509                               Jan 30, 2006
510                    ===============================
512 Common bugs fixed in 3.0.21b include:
514   o Server crashes in smbd.
515   o Compile issues on 64-bit platforms.
516   o Crash bugs on big-endian systems.
517   o Packaging fixes for RHEL/Fedora, Solaris, & Debian.
518   o Over 30 bugzilla reports closed.
521 ######################################################################
522 Changes
523 #######
525 Changes since 3.0.21a
526 ---------------------
528 commits
529 -------
530 o   Jeremy Allison <jra@samba.org>
531     * Fix the SAMR cache across handles opens and closes.
532     * Re-add the talloc_describe_all() function for reporting pool 
533       usage.
534     * Merge talloc license change from Samba 4.
535     * Fix 64-bit compile warnings reported by gcc.
536     * Add the share path into the sharemode db. 
537     * Consistency fixes: Remove use of uint8_t -> uint8.
538     * BUG 3346: Fix crash bug in big-endian boxes by linearizing 
539       structure when passing through the messaging API.
540     * BUG 3421: Fix segv in the kerberos key tab code (Thanks to 
541       Luke Deller).
542     * Force smbd to exit if the guest account internal setup fails.
543     * BUG 3419: vfs_full_audit fixes for multiple connections.
544     * Ensure SWAT lists running processes.
545     * Fix NTLMv2 interoperability bug between Samba servers.
546     * Oplock break logic fixes.
549 o   Andrew Bartlett <abartlet@samba.org>
550     * BUG 3401: Fix crash bug caused by incorrect handling of weak 
551       session keys.  Based on original patch from Yau Lam Yiu.
554 o   Alexander Bokovoy <ab@samba.org>
555     * BUG 3397: Add USER_INFO_9 for SMS 2003 support (ported from 
556       Samba TNG code).
559 o   Stefan Burkei <stefan@burkei.de>
560     * BUG 3248: When doing auth_crap authentication use the client 
561       given workstation name not our own.
564 o   Gerald (Jerry) Carter <jerry@samba.org>
565     * Fixing net rpc registry enumerate from overwriting the open 
566       subkey handle.
567     * BUG 3380: fix crash when changing printer drivers.
568     * BUG 3391: ensure we can lookup account policies for failed 
569       logons.
570     * Adding query/set ops for security descriptors on services.
571     * BUG 3329: Solaris packaging fixes.
572     * Better formatting for smbstatus output (based on patch from
573       Adam Neilson).
574     * Hook the max connections spin box in the share properties 
575       MMC plug-in dialog to the 'max connections' smb.conf parameter
576       and the 'modify share command' option.
577     * Work around building libnss_winbind.so on Solaris when 
578       --enable-developer is specified.
579     * Add vendor patch level string to VERSION.
580     * Consolidate packaging for RHEL4 and Fedora based on initial
581       work by jht.  
584 o   Albert Chin <@thewrittenword.com>
585     * BUG 3374: Build failures on True64.
588 o   Guenther Deschner <gd@samba.org>
589     * Fill in samr_get_dom_pwinfo based on Samba4.
590     * Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
591     * Fixes for adssearch.pl example script.
592     * Prevent 'net rpc' from dumping clear text password at high log 
593       levels unless built with DEBUG_PASSWORD.
594     * Fix 'net ads user add' with a Windows 2003 SP1 DC.
595     * Fix python build.
596     * Fix segfault in pdb_nds.c.
597     * Don't write null sid mappings into the winbindd_cache.tdb.
598     * Save sid_to_name lookup result in winbindd already after doing 
599       a successful name_to_sid.
600     * BUG 3390: Fix segfault in "net rpc vampire|samdump".
601     * BUG 1524, 3205: Support changing expired passwords in 
602       pam_winbindd.
603     * Fix netfileenum returning WERR_BUF_TOO_SMALL in rpcclient.
604     * BUG 3264: Allow idmap_ad to load as 'ad'.  Cleanup the way 
605       idmap modules are build and loaded, idmap_rid now will have 
606       to be loaded without prefix, just "rid".
607     * Prevent cli_krb5_get_ticket of getting into an infinite loop. 
610 o   Andrew Esh <Andrew_Esh@adaptec.com>
611     * BUG 1061: Fix nmbd to correctly the path to an lmhosts files 
612       specified on the command line with -H.
615 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
616     * End profile fixes.
617     * BUG 3348: Don't assume owning sticky bit directory means 
618       write access allowed.
619     * Fix double free in on failure path in POSIX acl code.
622 o   Andriy Gapon <avg@icyb.net.ua>
623     * BUG 3458: Fix crash bug in smbd and winbindd caused by 
624       accessing freed memory.
627 o   Björn Jacke <bj@sernet.de>
628     * Configure check for Tru64 EA functions (not yet implemented).
629     * Find Tru64 AIO lib in configure.
630     * Cut-n-paste fixes in configure.in.
633 o   John Janosik <jpjanosi@us.ibm.com>
634     * IBM Tivoli Directory Server schema updates.
637 o   Michael James <michael@james.st>
638     * sid2string fix in adssearch.pl.
641 o   William JoJo <jojowil@hvcc.edu>
642     * BUG 3340: Prevent automatic inclusion of AIO support on AIX.
643     * BUG 3389: Failures on AIX in linking smbd when the symbol 
644       table for ld exceeds 65536 bytes.
645     * Add -W to smbpassword so that the ldap admin dn password does
646       not have to be specified on the command line.
647     * BUG 3408: Fix for external password change programs on AIX.
648     * BUG 1779: 64-bit compile fixes.
651 o   Martin Koeppe <mkoeppe@gmx.de>
652     * BUG 3287: Match SFU behavior for dev/inode numbers.
655 o   Volker Lendecke <vl@samba.org>
656     * BUG 3291: Fix valgrind error in client connection code.
657     * BUG 3292: Prevent smbclient from spinning if server terminates
658       connection.
659     * BUG 3293: Use SMBecho instead of chkpath to keep a smbclient 
660       connection alive smbclient.
661     * Add lookupname to rpcclient query_user as a fallback, we now 
662       accept both rid and username.
663     * Introduce yet another copy of the string_sub function: 
664       talloc_string_sub use by AFS token code in winbindd.
665     * BUG 3351: pdb_mysql again overwrites password fields.
666     * BUG 3384: Fix segv in tdbtool.
667     * Use the same CFLAGS for generating the pch as we use to 
668       actually compile.
669     * Correct typo when compiling the vfs_catia module.
670     * Fix automatic recreation of a new tdb sam file.
673 o   Derrell Lipman <derrell@samba.org>
674     [libsmbclient]
675     * Fix parsing of file times (w_time and m_time were reversed).
676     * Add additional libsmbclient test programs.
677     * BUG 3336: Load networks interfaces in libsmbcliebt after parsing 
678       the configuration files.
679     * Avoid doing a NetBIOS name query for each server and workgroup 
680       enumeration call.
681     * Do not open connection when only looking for cached connection.
682     * BUG 2651: Add option to log debug messages to stderr instead 
683       of stdout.
684     * Added flag to not request authentication information.
685     * Enhancements to smbwrapper example code.
686     * Replace smbwrapper call to dlopen(/lib/libc...) with direct 
687       use of RTLD_NEXT.
690 o   David May <mayd@cygnus.uwa.edu.au>
691     * BUG 3329: Shell scripting portability fixes on 'make test'.
694 o   Tony Mountifield <tony@softins.co.uk>
695     * BUG 3327: fix bad access to gencache.tdb after fork() in 
696       smbmount.
699 o   Lars Müller <lmuelle@samba.org>
700     * BUG 3264: Support backwards compatible setups using 
701       'idmap backend = idmap_rid'.
702     * Add %w macro for the winbind separator.
703     * Convert net command to use stderr for error messages rather 
704       than stdout.
707 o   James Peach <jpeach@sgi.com>
708     * Portability fixes in LDAP code.  Don't use non-static array 
709       initializers.
710     * Support the TCP_FASTACK socket option if it is available. 
711     * Tell the MIPSPro compiler to push DEBUG calls out of line.
714 o   Makr Proehl <m.proehl@science-computing.de>
715     * BUG 1336: Print the server role when calling testparm in 
716       non-verbose mode.
719 o   Simo Sorce <idra@samba.org>
720     * Crackcheck utility enhancement based on patch sent by 
721       Tom Geissler.
722     * BUG 3405: Fix segv in vfs_recycle module on platforms wither 
723       mode_t is not 32-bits.
726 o   John Terpstra <jht@samba.org>
727     * RHEL/Fedora spec file patches.
730       --------------------------------------------------
731                    ===============================
732                    Release Notes for Samba 3.0.21a
733                               Dec 30, 2005
734                    ===============================
736 Common bugs fixed in 3.0.21a include:
738   o Deadlocks when multiple users access an oplocked file 
739     concurrently
742 ######################################################################
743 Changes
744 #######
746 Changes since 3.0.21
747 --------------------
749 commits
750 -------
751 o   Gerald (Jerry) Carter <jerry@samba.org>
752     * RedHat 9 packaging Fixes.
755 o   Guenther Deschner <gd@samba.org>
756     * eDirectory schema syntax fixes.
759 o   Volker Lendecke <vl@samba.org>
760     * BUG 3349: Deadlock caused logic error in oplock code.
762       --------------------------------------------------
763                    ==============================
764                    Release Notes for Samba 3.0.21
765                             Dec 20, 2005
766                    ==============================
768 Common bugs fixed in 3.0.21 include:
770   o Missing groups in a user's token when logging in via kerberos
771   o Incompatibilities with newer MS Windows hotfixes and 
772     embedded OS platforms
773   o Portability and crash bugs.
774   o Performance issues in winbindd.
776 New features introduced in Samba 3.0.21 include:
778   o Complete NTLMv2 support by consolidating authentication
779     mechanism used at the CIFS and RPC layers.
780   o The capability to manage Unix services using the Win32 
781     Service Control API.
782   o The capability to view external Unix log files via the
783     Microsoft Event Viewer.
784   o New libmsrpc share library for application developers.
785   o Rewrite of CIFS oplock implementation.
786   o Performance Counter external daemon.
787   o Winbindd auto-detection query methods when communicating with
788     a domain controller.
789   o The ability to enumerate long share names in libsmbclient 
790     applications.
793 ######################################################################
794 Changes
795 #######
797 smb.conf changes
798 ----------------
800     Parameter Name                      Action
801     --------------                      ------
802     dfree cache time                    New
803     dfree command                       Per share
804     eventlog list                       New
805     iprint server                       New
806     map read only                       New
807     passdb expand explicit              New
808     rename user script                  New
809     reset on zero vc                    New
810     svcctl list                         Renamed from 'enable svcctl'
814 Changes since 3.0.20b
815 ---------------------
817 o   Jeremy Allison <jra@samba.org>
818     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
819     * Added 'map readonly' parameter.
820     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
821       not defined.
822     * Maintain schannel client session keys in volatile 
823       $(privatedir)/schannel_store.tdb.
824     * BUG 2769: Ensure we mangle filenames ending in a space
825     * Catch corner case of renaming a symlinked directory into 
826       itself
827     * Ensure that smb.conf requests for hidden files are honored, 
828       even when DOS attributes are stored in EA's
829     * Add new auth method "auth_script" for calling an external 
830       program
831     * BUG 2152: Fix for mangled filenames when the client does 
832       support long filenames
833     * Rewritten implementation of client and server DCE/RPC infrastructure 
834     * BUG 3192: Adds a "dfree cache time" parameter.
835     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
836       the S_IWGRP mask in the absence of a POSIX ACL.
837     * Remove use of 'long long' in libsmbclient code.
838     * Ensure the new canonicalize_servicename() in name/snum hash 
839       is multi-byte safe.
840     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
841       Bakeyev.
842     * BUG 3216: Put directory opens into the share mode db so we 
843       can treat them similarly to file opens (delete on close, 
844       share mode violations etc.).
845     * Fix bug in name mangling code when case sensitivity is enabled.
846     * Remove external dependencies from the sharemodes library.
847     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
848     * Don't misinterpret wild card characters in file names on disk
849       as they are actually valid characters.
850     * BUG 3223: Fix bug in account policy management when 
851       account_pol.tdb settings have been migrating to an LDAP 
852       backend.
853     * Allow the hash size of the tdb open (locking) database to be 
854       set in local.h.
855     * Fix error code returns on client spoolss code.
856     * Remove unneeded strncpy use.
857     * Fix uninitialized variables warnings.
858     * Cleanup smbcacls security descriptor parsing and error codes.
859     * BUG 3224: Correctly use machine_account_name and client_name 
860       when doing netlogon credential setup.  Fixes winbindd running 
861       on a Samba PDC.
862     * Backport Samba 4 time zone handling.
863     * Fix core dump if setmntent() returns NULL.
864     * Replace old crc32 code with one from the FreeBSD tree.
865     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
866     * Remove #define of close -> close_fn macro in libsmbclient.
867     * Return early if -1 returned from *BSD EA call (reported by 
868       Timur).
869     * Name space cleanup by marking local functions static.
870     * Move samr enumeration cache from per handle basis to a shared 
871       cache.
872     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
873       OS/2 servers (based on patch from Guenter Kukkukk).
874     * Ensure default applies to new files (reported by Thomas 
875       Neumann).
876     * BUG 3293: Use SMBecho to testing the server in client rather 
877       than SMBchkpath.
878     * Merge talloc fixes from Samba 4 branch.
879     * Add support DCE/RPC cancel operation.
880     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
881       when using EA for DOS attributes.
882     * Fix bug in returning remote time (reported by Thomas Bork).
883     * No users or groups to return in BUILTIN domain.
884     * Removed separate "builtin" search enumeration.
885     * Added count_sam_aliases to return the correct alias count.
886     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
887       eDirectory when accessing the universal password.
888     * Fix deadlock condition in share mode locking code.
889     * Fix logic bug in unix_mask_match().
890     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
894 o   Rashid N. Achilov <shelton@granch.ru>
895     * Add better service description names to the svcctl code.
898 o   Timur Bakeyev <timur@com.bat.ru>
899     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
902 o   Andrew Bartlett <abartlet@samba.org>
903     * Remove another ancient NTLMSSP implementation.
904     * Allow machine account logons work if the client gives the 
905       appropriate flags. 
908 o   Alexander Bokovoy <ab@samba.org>
909     * Add POSIX statvfs() to VFS api.
912 o   Gerald (Jerry) Carter <jerry@samba.org>
913     * Eventlog and ServiceControl support.
914     * BUG 1051: store the directory path so we can send the full 
915       name in the unlink call from smbclient.
916     * Use reference count strategy for keeping the registry tdb 
917       open.
918     * Convert internal registry objects to new hierarchical talloc
919     * Allow the root user a free pass for access checks in the
920       registry and service control checks.
921     * Sanity checks in the privilege code to prevent empty SID 
922       entries
923     * Add basic infrastructure for 'make test' when the socket 
924       wrapper library is configured at compile time
925     * Convert profiles utility to use the current regfio interface 
926       for reading and writing user profiles
927     * Remove netsamlogon_cache interface
928     * Ensure that print jobs are removed even when the cancel 
929       command is received before the print cache has been updated
930     * Fix linking problem on Solaris when including ACL support.
931     * Give root a free pass to open the eventlog tdb files.
932     * Fix segfault in addprinter due to mixing talloc() and 
933       malloc()'d memory.
934     * fix invalid read reported by valgrind in the spoolss 
935       backchannel connection.
936     * Remove use of 'long long' in perfcounter registry code.
937     * BUG 3201: make sure request structure is cleared prior to 
938       sending the request to winbindd.
939     * Don't count open pipes in the num_files_open on a connection
940       (regression from Samba 2.2).
941     * Ensure servername hashing code normalizes the name.
942     * Fix checks for connect() in -lnsl[_s].
943     * Convert eventlog API to use NTSTATUS return codes rather 
944       than WERROR.
945     * Fix segv in winbindd caused by an uninitialized variable 
946       in winbindd_dual_getsidaliases().
947     * Allow winbindd to select the appropriate backend methods
948       based on the DC attributes and not the security parameter.
949     * Re-add the netsamlogon_cache tdb and ensure that user entries
950       are updated from the PAC data during kerberos ticket 
951       validation.
952     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
953       by mangling machine names in sub_set_smb_name().
954     * Add smbget to the list of tools built by default.
955     * Fix clearing of eventlog tdb files.
956     * Fix sequential reads in eventlog support.
957     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
958       is Win9x.
959     * Fix build issues with the Sun compiler.
960     * BUG 3156: Don't use find_service() when explicitly looking 
961       for a printer.
962     * Fix nss_winbind_solaris.c build breakage on HP-UX.
963     * Initialize the local group description.
964     * Disable WINS and NetLogon services in the MMC services
965       plugin when the associated smb.conf features are not enabled.
966     * Add checks for invalid characters in new share names on the 
967       srvsvc pipe.
968     * Fix SWAT installation issues with 'make install'.
969     * Always add the BUILTIN\Administrators SID to a Domain 
970       Admins token.
973 o   Alex Deiter <tiamat@komi.mts.ru>
974     * BUG 3196: Patch to compile against the Sun LDAP client libs.
975       (not for AD support; just ldap support).
978 o   Guenther Deschner <gd@samba.org>
979     * Fixed compile problems and warnings with newer OpenLDAP 
980       and OpenSSL libs
981     * Fix bug when enumerating trusted domains via 'wbinfo -m'
982     * Parse the MS Kerberos PAC to obtain the user group 
983       membership during logon.
984     * Add support for SeRestorePrivilege to allow a process to 
985       change the ownership of a file to any arbitrary account
986     * Fix password history storage when using Novell eDirectory for 
987       ldapsam storage
988     * Backport Kerberos PAC parsing from Samba 4 branch in order to
989       correctly create the NT User Token when logging into a Samba 
990       member server
991     * Add small helper function to return a PAC_LOGON_INFO.
992     * Use LDAP bitwise matching rule when searching for groups 
993       in ADS.
994     * Avoid an infinite loop when retrying to connect in smbspool.
995     * Memory leak fixes in the kerberos PAC parsing code.
996     * Improve NT_STATUS error messages returned from pam_winbind.
997     * Rename unknown samr group fields in samr structures with 
998       the correct name.removed separate "builtin" search enumeration.
999     * Cleanup redundant StartTLS code.
1000     * Allow StartTLS support when connecting to Windows 2003 by
1001       setting 'ldap ssl = start_tls'.
1002     * Support raw NTLMSSP session setups in smbspool.
1003     * Add rpccli_samr_chgpasswd3().
1004     * Add 'wbinfo --separator'.
1005     * Uninitialized warnings fixes.
1006     * Fix return value in client spooler code.
1007     * Require forced migration of account policies.  
1010 o   Steve French <sfrench@us.ibm.com>
1011     * Fix cifs to handle non-numeric uid and gid parameters.
1012     * Merge trunk and SAMBA_3_0 mount.cifs code.
1013     * Cleanup cifs cfs help message.
1016 o   Paul Green <paulg@samba.org>
1017     * Update to the latest config.guess and config.sub files.
1020 o   Deryck Hodge <deryck@samba.org>
1021     * Allow control of syslog facility and level in audit vfs modules.
1024 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1025     * Patches for Fedora RPM specfile and init script
1028 o   Krishna Ganugapati <krishnag@centeris.com>
1029     * Use the subtree delete ldap control when running 'net ads 
1030       leave'.
1033 o   Volker Lendecke <vl@samba.org>
1034     * New oplock implementation.
1035     * Add assert() call if winbindd cannot locate the domain SID in 
1036       secrets.tdb on startup
1037     * Fix an annoying timeout in winbindd when nmbd is not running.
1038     * Speed up loading smb.conf for large numbers of share 
1039       definitions by adding an internal hashing of names to snums. 
1040       Thanks to Michael Adam.
1041     * Fix potential segv in rpcclient's lsarpc calls.
1042     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
1043     * Fix alignment in getdc response.
1044     * Allow pdbedit to set the domain for a user account.
1045     * Fix fallback logic in rpc binds.
1046     * Fix memleak in message handling code.
1047     * Fix connection bug to port 445 and 139 after a successful 
1048       getdcname response.
1049     * Add additional calls to initialize_krb5_error_table() for 
1050       kerberos client code.
1051     * Implement the possibility to have AFS users as SIDs in pts.
1052     * Removed unused alternative_name code from winbindd.
1053     * Protect against NULL alternative_name strings in winbindd.
1054     * Define a default panic action with -DEVELOPER is defined.
1055     * Add the capability to reset smbd connections on a zero VC id.
1056     * Allow smb.conf variable expansion to be disabled in passdb 
1057       backends.
1058     * Add lookupname to rpcclient query_user as a fallback.
1059     * BUG 3292: Prevent smbclient from spinning when the server 
1060       disconnects.
1061     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
1062     * Add samr_lookup_rids for the builtin domain.
1063     * Memory allocation cleanups in passdb.
1064     * Restrict samr_open_domain() to our domain only.
1065     * Change local_lookup_sid() to local_lookup_rid() since it 
1066       is responsible for our domain only.
1067     * Fix some uninitialized variable warnings.
1068     * Fix winbind_lookup_name for the local domain, 
1071 o   Derrell Lipman <derrell@samba.org>
1072     * Cleanup libmsrpc version numbers.
1073     * BUG 2357, 3267, 3273: Plug memory and file descriptor leaks.    * Fix crash bug in libsmbclient.
1074     * Add long share name support to libsmbclient when enumerating 
1075       shares.
1078 o   Jason Mader <jason@ncac.gwu.edu>
1079     * Removed compiler various warnings.
1082 o   Alex Masterov <alex@infobit.ru>
1083     * BUG 3218: Fix XATTR calls on *BSD systems.
1086 o   Jim McDonough <jmcd@us.ibm.com>
1087     * Speed up string_to_sid by removing next_token calls and 
1088       unneeded strncmp() calls.
1089     * Implement user rename for smbpasswd and LDAP backends.
1090     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
1091     * BUG 3187: Fix time zone offset in logon hours restrictions.
1094 o   Stefan Metzmacher <metze@samba.org>
1095     * Fix setting of quotas on linux kernel with the struct 
1096       if_dqblk interface
1097     * Enable sysquota interface on Linux by default
1098     * Use lp_socket_address() when binding to port 138/udp in nmbd.
1101 o   Brian Moran <bmoran@centeris.com>
1102     * Eventlog and ServiceControl support.
1103     * Added eventlogadm tool for writing Eventlog records.
1104     * Fix typo when creating Eventlog source DLL registry paths.
1105     * Add simple script to tail syslog and write records to 
1106       eventlog tdb.
1107     * Fix segv in eventlogadm when not event logs are listed in 
1108       smb.conf.
1111 o   Lars Müller <lmuelle@samba.org>
1112     * Only install smbsh manpage if smbwrapper has been successfully
1113       built.
1114     * Ensure setmntent() returns with != NULL in the disk_quotas() 
1115       Linux version.
1116     * Add configure switch to disable libmsrpc build.
1117     * Add a soname to libmsrpc.
1120 o   Ricky Nance <ricky.nance@gmail.com>
1121     * Updates for the mklogon perl scripts.
1124 o   Chris Nicholls <skel@samba.org>
1125     * New libmsrpc library (Google SoC Project).
1126     * Fix libmsrpc build of on the Sun compiler by removing empty 
1127       structure declarations.
1130 o   James Peach <jpeach@sgi.com>
1131     * Fix parsing error for smb ports parameter.
1134 o   Tim Potter <tpot@samba.org>
1135     * BUG 3260: Fix DYNEXP flags on HPUX.
1138 o   Marcin Porwit <mporwit@centeris.com>
1139     * Eventlog and ServiceControl support.
1140     * Added basic Performance Counter daemon which can feed data
1141       for the Windows perfmon.exe tool.
1142     * Fix directory permissions in the perfcounter daemon.
1143     * Add the 'File' registry value for the eventlog keys.
1146 o   Aruna Prabakar <aruna.prabakar@hp.com.
1147     * Add checks to verify that the spooler is running on HP-UX when
1148       reloading the printer name cache.
1151 o   Joel Smith <joel.j.smith@novell.com>
1152     * Add iPrint printing backend support.
1155 o   Toomas Soome <Toomas.Soome@mls.ee>
1156     * Implement host lookups in nss_winbind.so.1 on Solaris
1159 o   Simo Sorce <idra@samba.org>
1160     * Update Debian packaging.
1163 o   John Terpstra <jht@samba.org>
1164     * Add 'net idmap' usage help text.
1167 o   Andrew Tridgell <tridge@samba.org>
1168     * Change license notice of standalone talloc library to LGPL.
1171 o   Darren Tucker <dtucker@zip.com.au>
1172     o Crash fix for snprintf() code.
1175 o   Rainer Weikusat <rainer.weikusat@sncag.com>
1176     * Fix function name typo in skeleton VFS code.
1180 Release Notes for older release follow:
1182       --------------------------------------------------
1183                    ===============================
1184                    Release Notes for Samba 3.0.20b
1185                              Oct 12, 2005
1186                    ===============================
1188 Common bugs fixed in 3.0.20b include:
1190   o A crash bug in winbindd
1191   o Reporting files as read-only instead of returning the 
1192     correct error code of "access denied"
1193   o File system quota support defects
1194   
1196 ######################################################################
1197 Changes
1198 #######
1201 Changes since 3.0.20a
1202 ---------------------
1204 commits
1205 -------
1207 o   Jeremy Allison <jra@samba.org>
1208     * BUG 3088: Fix error condition for files on a read-write share 
1209       which cannot be read due to permissions.
1212 o   Gerald (Jerry) Carter <jerry@samba.org>
1213     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
1214       details.
1215     * BUG 1473, 3090: Quota detection and compilation problems on 
1216       Solaris.
1219 o   Marc Balmer <marc@msys.ch>
1220     * Build fixes when builddir != srcdir
1223 o   Alex Deiter <tiamat@komi.mts.ru>
1224     * BUG 3145: Fix build issue regarding quota support on Solaris.
1227 o   Volker Lendecke <vl@samba.org>
1228     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
1229       name.
1232       --------------------------------------------------
1233                    ===============================
1234                    Release Notes for Samba 3.0.20a
1235                              Sept 30, 2005
1236                    ===============================
1238 Common bugs fixed in 3.0.20a include:
1240   o Stability problems with winbindd.
1241   o Crash bugs caused by incompatibilities on 64-bit systems.
1242   o Missing files from directory listings on AIX servers
1243   o User Manager interoperability problems.
1244   o Minor build difficulties on various platforms such as 
1245     Solaris and OpenBSD, 
1248 Winbind, security = domain, and Active Directory
1249 ================================================
1251 Recent security updates for Windows 2000 and Windows 2003 have 
1252 changed the fashion in which user and group lists can be obtained 
1253 from domain controllers.  In short, the RPC mechanisms used by 
1254 "security = domain" to retrieve users and groups is not compatible 
1255 with these changes.   The "security = ads" configuration is not 
1256 affected by the Windows protocol changes.
1258 Samba developers are actively working to correct this problem in 
1259 the 3.0.21 release.  In the meantime, Administrators who are unable 
1260 to migrate to "security = ads" and must continue using "security = 
1261 domain", can define credentials to be used by winbindd for account
1262 enumeration by executing the following command as root.
1264         wbinfo --set-auth-user='DOMAIN\username%password'
1268 ######################################################################
1269 Changes
1270 #######
1273 Changes since 3.0.20
1274 --------------------
1276 commits
1277 -------
1279 o   Jeremy Allison <jra@samba.org>
1280     * BUG 3065: Fix for legacy clients retrieving a listing of 
1281       an empty directory.
1282     * Added external library for accessing Samba's share mode 
1283       database.
1284     * Fix winbindd credentials chain which caused logon failures 
1285       after attempting to authenticate an unknown user.
1286     * Fix recursive looping bug in winbindd.
1287     * Fix build errors on 64-bit systems.
1288     * Posix ACL memory leak and crash bug fixes.
1289     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
1290     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
1291     * Hide dot files and directory logic fixes.
1292     * Correct display of open file modes by smbstatus.
1293     * BUG 3010: Fix missing files bug on AIX systems.
1296 o   Gerald (Jerry) Carter <jerry@samba.org>
1297     * Allow the root user to automatically pass se_access_checks()
1298       in the registry and service control server code.
1299     * Ensure that winbindd uses the correct name in the net_auth2()
1300       request when running on a Samba PDC.
1301     * Fix linking problem with tdb utilities.
1302     * BUG 3080: Fix regression in 'net rpc shutdown' command.
1303     * Fix segv in 'net rpc' when the pipe open fails.
1304     * Fix upload bug when installing 64-bit Windows printer drivers.
1305     * Fix regression in the smburi syntax used by smbspool.
1306     * Fix sorting of subkey hash records in registry files.
1307     * Correct REG_CREATE_KEY_EX parsing error.
1308     * Interoperability issues with usrmgr.exe and Samba groups.
1309     * Use the display names and not the Unix names when enumerating
1310       groups in the ldapsam passdb backend.
1311     * Ensure that Windows domain user names are converted to lower case.
1314 o   Guenther Deschner <gd@samba.org>
1315     * Prevent BUILTIN sids returned in the user's token from 
1316       a Windows DC from being applied to any local group mappings
1317       on the Samba host.
1318     * Plug memory leaks in the kerberos keytab code.
1319     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
1320       backend when 'winbind nested groups' is enabled.
1321     * Fix crash bug in winbindd caused by 64-bit build issues.
1322     * Improve debug messages in smbspool.
1323     * Give better error-message when "NDS Universal Password" change fails.
1324     * Fix password history error in the eDirectory schema file.
1325     * Ensure that Windows domain group names are converted to lower case.
1328 o   Steve French <sfrench@us.ibm.com>
1329     * Allow disabling mandatory byte range lock mount flag, and fix 
1330       corresponding entry in mtab.
1333 o   Volker Lendecke <vl@samba.org>
1334     * Fix race condition in the NTcreate&X open code when the 
1335       disposition is NTCREATEX_DISP_CREATE.
1336     * Correct logic error when checking the pid for pending print 
1337       change notify messages.
1338     * Ensure that winbindd child process complete startup even when
1339       the parent is receiving authentication requests.
1340     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
1341       when authentication fails.
1344 o   Jason Mader <jason@ncac.gwu.edu>
1345     * Compile warning fixes.
1348 o   Uli Meis <a.sporto@gmail.com>
1349     * Patches for pdb_*sql.c
1352 o   Luke Mewburn <lukem@NetBSD.org>
1353     * Autoconf syntax fixes.
1356 o   James Peach <jpeach@sgi.com>
1357     * Correct problem with creating a core file in Linux.
1360 o   Stefan Metzmacher <metze@samba.org>    
1361     * Quota fixes in smbd.
1364 o   Peter Rindfuss <rindfuss@wz-berlin.de>
1365     * Patches for pdb_*sql.c
1368 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
1369     * Solaris toolchain patches for autoconf scripts.
1372 o   Andrew Tridgell <tridge@samba.org>
1373     * Fix for tdb clear-if-first race condition.
1376 o   Leo Weppelman <leo@wau.mis.ah.nl>
1377     * BUG 3104: Don't allow time updates to files on read-only shares.
1380 o   Steve Williams <steve@celineandsteve.com>
1381     * BUG 3052: Fix compile issues on OpenBSD.
1384       --------------------------------------------------
1385                    ==============================
1386                    Release Notes for Samba 3.0.20
1387                              Aug 19, 2005
1388                    ==============================
1390 Additional features introduced in Samba 3.0.20 include:
1392   o Support for several new Win32 rpc pipes.
1393   o Improved support for OS/2 clients.
1394   o New 'net rpc service' tool for managing Win32 services.
1395   o Capability to set the owner on new files and directory
1396     based on the parent's ownership.
1397   o Experimental, asynchronous IO file serving support.
1398   o Completed Support for Microsoft Print Migrator.
1399   o New Winbind IDmap plugin (ad) for retrieving uid and gid
1400     from AD servers which maintain the SFU user and group 
1401     attributes.
1402   o Rewritten support for POSIX pathnames when utilizing 
1403     the Linux CIFS fs client.
1404   o New asynchronous winbindd.
1405   o Support for Microsoft Print Migrator.
1406   o New Windows NT registry file I/O library.
1407   o New user right (SeTakeOwnershipPrivilege) added.
1408   o New "net share migrate" options.
1411 What happened to 3.0.15 - 3.0.19?
1412 ==================================
1414 After some discussion it was deemed that the amount of changes 
1415 going into the next Samba 3.0 release needed something to catch
1416 people's attention.  Skipping several releases was chosen as 
1417 the best solution with the least overhead.  There will be no
1418 3.0.15 - 3.0.19 ever released.  The next production release
1419 following 3.0.20 should be 3.0.21.
1421 The original announcement about the version number change can 
1422 be found in the samba mailing list archives:
1424 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
1427 Asynchronous Winbind Implementation
1428 ===================================
1430 Winbindd has been completely rewritten in this release to support
1431 an almost completely non-blocking, asynchronous request/reply
1432 model.  This means that winbindd will scale much better in 
1433 large domain environments and on high latency networks.  Neither 
1434 the client interface nor the command line tools (i.e. wbinfo) have 
1435 changed in their calling conventions or syntax.  However, due to 
1436 internal structure changes, it is required (more so than normal) 
1437 that you install the nss_winbind.so library included in this release.
1440 Support for Microsoft Print Migrator
1441 ====================================
1443 Samba 3.0.20 includes full support for migrating printers from 
1444 Windows servers or other Samba servers via the Microsoft Print 
1445 Migrator tool.  Restoring printers requires a working "add printer 
1446 command" defined in smb.conf.  Current support also allows
1447 administrators to create a master list of printer drivers which
1448 can be restored in bulk on new (or existing) Samba installations.
1451 Asynchronous IO Support
1452 =======================
1454 Experimental support for async IO has been added to smbd for 
1455 certain platforms.  To enable this new feature, Samba must be 
1456 compiled to include the --with-aio-support configure option.
1457 In addition, the "aio read size" and "aio write size" to non-zero
1458 values.  See the smb.conf(5) man page for more details on these 
1459 settings.
1462 ######################################################################
1463 Changes
1464 #######
1466 smb.conf changes
1467 ----------------
1469     Parameter Name                      Action
1470     --------------                      ------
1471     acl check permissions               New
1472     acl group control                   New
1473     acl map full control                New
1474     aio read size                       New
1475     aio write size                      New
1476     enable asu support                  New
1477     inherit owner                       New
1478     ldap filter                         Removed
1479     map to guest                        Modified (new value added)
1480     max stat cache size                 New
1481     min password length                 Removed
1482     printer admin                       Deprecated
1483     username map script                 New
1484     winbind enable local accounts       Removed
1485     winbindd nss info                   New
1488 Changes since 3.0.14a
1489 ---------------------
1492 commits
1493 -------
1495 o   Jeremy Allison <jra@samba.org>
1496     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
1497     * Ensure the old SMB search calls always ask mask_match() to 
1498       translate patterns like ????????.???.
1499     * Split out the check_path_syntax() into a findfirst, findnext,
1500       & wildcard versions.
1501     * Fix checks for matching groups in an file ACL against the
1502       user's primary and supplementary group list.
1503     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
1504       LANMAN2 protocol, ensure the EA size is always correctly 
1505       set on a query for a file with no EA's.
1506     * BUG 2551: Look at the incoming flags2 flag 
1507       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
1508       uppercased on a SMBsearch request, not the protocol level.
1509     * Added "volume" command to smbclient that prints out the 
1510       volume name and serial number.
1511     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
1512     * Add support for OS/2 Extended Attributes.
1513     * Correctly check OpenX open modes.
1514     * Ensure allocation size is correctly returned for OpenX. 
1515     * Only set allocation on create/truncate for nttrans.
1516     * Fix oplock bug in trans2open() code.
1517     * Remove unix_ERR_XXX global nastiness.
1518     * Only do the strange DOS error for openX, not trans2open.
1519     * Ensure SMBopen replies includes the share modes as well as 
1520       open modes.
1521     * BUG 2581: Add size limit (in kb) to stat cache.
1522     * Fix bug in the trans2 secondary processing.
1523     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
1524     * Add an SMB counter per connection struct for gathering
1525       profiling data.
1526     * BUG 2605: Ensure smbclient doesn't perform commands if 
1527       the "chdir" fails in a scripted set.
1528     * Ensure a 'forced group' is added to the list of effective
1529       gids when processing ACLs.
1530     * Refactor rpc_bind structures for better future work.
1531     * BUG 2942: Add missing value in debug message.
1532     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
1533       by 'mangling method = hash'.
1534     * Fix memory leaks in the msdfs trans2 server code.
1535     * Convert msdfs server to be talloc'd based.
1536     * Fix up stackable vfs interface.
1537     * Fix rpc fault when encountering an unknown rpc_bind auth 
1538       type.
1539     * BUG 2954: More AIX 5.1 AIO compile fixes.
1540     * Fix valgrind bug in interaction with new aio buffer (found
1541       by Volker).
1542     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
1543     * Cleanup SAMR user info structure naming.
1544     * BUG 2889:  Fix directly listings from OS/2 clients.
1545     * Added "acl group control" parameter.
1546     * Add debug warning if AddPrinterEx() is called without having
1547       an 'add printer command'  defined.
1548     * Add better log messages when modifying ldap entries.
1549     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
1550       when string is unaligned.
1551     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
1552       message buffer is nor reused.
1553     * Add support for client setting capabilities to select posix 
1554       pathnames on the wire.
1555     * Stop using C++ reserved words so that Samba can be compiled 
1556       using g++.  Also allows VFS modules in C++.
1557     * More fixes to allow better large directory scaling.
1558     * BUG 2827: Ensure we call the vfs connection hook before 
1559       doing a vfs stat.  Allows database vfs backends to initialize 
1560       with a working connection.
1561     * BUG 2826: Ensure the correct return value for symlink and 
1562       readlink in the VFS.
1563     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
1564     * Added AIO support to smbd.
1565     * Add "acl map full control", true by default, to allow people 
1566       to change mapping of rwx to full control or not.
1567     * Transition smbd to use NTcreate&X for internal file opens.
1568     * Add checks against the current effective group id (e.g. force 
1569       user) when testing write permissions one ACLs.
1570     * Fix FindFirst/FindNext server code when parsing directories
1571       on old IRIX XFS file systems (thanks to Cale Fairchild
1572       for the debugging help).
1573     * BUG 2644: Test for special files to be ignored was reversed.
1574     * Ensure yield_connection() is called on all appropriate error
1575       conditions.
1576     * Fix EDEADLCK problem with deferred open calls.
1577     * BUG 2622: Remove DPTR_MASK as it makes no sense.
1578     * Fix the write cache based on some VERY good detective work
1579       from Ingo Kilian.
1580     * BUG 2346: Fix read-only excel file bugs.
1581     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
1582       return ENOSYS if not implemented.
1583     * Add new CAP for POSIX pathnames.
1584     * BUG 2703: Add NULL guard for disp_fields[0].
1585     * BUG 2681: With "strict allocate = yes" we now zero fill when 
1586       a file is extended. Should catch disk full errors on write
1587       from MS-Office.
1588     * Add "acl check permissions" to turn on/off the new 
1589       behavior of checking for write access in a directory 
1590       before delete. 
1591     * Refactor printing interface to take offset into job. 
1592     * Allow mapping of POSIX ACLs to NT perms to differentiate 
1593       between directories and files.
1594     * Added encrypt/decrypt function for LSA secrets and trusted
1595       domain passwords on the wire.
1596     * BUG 2729: Resume keys are *mandatory* for a search when 
1597       listing a W2K and above server from a FATxx filesystem only.
1598     * BUG 2735: Ensure that smbd mangles control characters in file 
1599       and directory names.
1600     * Refactor small pieces of socket handling code (in conjunction 
1601       with Derrell).
1602     * BUG 2698: Fix infinite listing loop in smbclient caused by
1603       an invalid character set conversion.
1604     * Add client code that will abort a directory listing if we 
1605       see the same name twice between packets.
1606     * Performance improvements in trans2 qfilepathinfo code by 
1607       removing unnecessary memset() calls.
1608     * Rewrite the RPC bind parsing functions to follow the 
1609       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
1610     * BUG 2774: Set sparse flag if needed when returning 
1611       file attributes.
1612     * Fix errors listing directories from Windows NT clients 
1613       which caused "." and ".." to show up in explorer.exe.
1614     * Merge of error code fixes from SAMBA_4_0 branch.
1615     * BUG 2801: Fix regression in the "delete veto files" option.
1616     * Fix based on work from  Shlomi Yaakobovich to catch loops 
1617       in corrupted tdb files.
1618     * Allow someone with SeTakeOwnershipPrivilege to chown the 
1619       user of a file to herself.
1620     * Fix minor compiler warnings in printing/printing.c.
1621     * Merge new DOS error code from SAMBA_4.
1622     * Fix issue when non-English characters in filenames and 
1623       directories.
1624     * Fix bogus error message in smbstatus about unknown share modes.
1627 o   Andrew Bartlett <abartlet@samba.org>
1628     * Support raw NTLMSSP authentication for Windows Vista 
1629       clients.
1630     * Fix parallel NTLMSSP processing by removing global state.
1631     * BUG 2684: Add per service hosts allow/deny checks for 
1632       printers when  connecting via MS-RPC.
1633     * BUG 2391: Fix segv caused by free a static pointer returned 
1634       from getpwnam().
1635     * Support kerberos authentication in smbd when using a keytab
1636       and participating in a non-Microsoft Kerberos realm.
1639 o   Timur Bakeyev <timur@com.bat.ru>
1640     * BUG 2546: Add support for FreeBSD EA API
1641     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
1642     * BUG 2908: Fix string length logic error in msdfs code.
1643     * BUG 2909: Fix typo that caused smbd to call the wrong 
1644       aio_fsync function.
1647 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
1648     * Added Linux per-socket TCP settings.
1651 o   Gerald (Jerry) Carter <jerry@samba.org>
1652     * Added support for \svcctl pipe rpcs.
1653     * Added 'net rpc service' subcommand for managing Win32 
1654       services.
1655     * Refactoring work on the rpc [un]marshalling layer and 
1656       structures.
1657     * Verify privilege name in 'net rpc rights privileges' in 
1658       order to provide better error messages.
1659     * Cleanup rpc structures in rpc_spoolss.h.
1660     * Cleanups and fixes for the \winreg server code.
1661     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
1662     * Fix bugs in client spoolss code after refactoring work.
1663     * Fix Valgrind warnings of invalid reads in the spoolss 
1664       server code.
1665     * Fixed a segv when enumerating services on a Samba host.
1666     * Fix segv in the service control server code.
1667     * Fix crashes in client spoolss calls caused by not checking 
1668       for a valid pointer from the caller.
1669     * Fix regression in DeleteDriver() server routines.
1670     * Fix dup_a_regval() when size is 0.
1671     * Fix usrmgr.exe crash when viewing user properties at 
1672       debuglevel 10.
1673     * Do not enumerate any privileges when 'enable privileges = no'
1674       and log a message if a client tries.
1675     * BUG 2872: Fix cut-n-paste error when checking pointer value 
1676       in ntlmssp_set_workstation().
1677     * Fix upgrade path from earlier nt*tdb files.
1678     * Removed print handle object cache.
1679     * BUG 2853: Don't strip out characters like '$' from printer 
1680       names when substituting for the lpq command.
1681     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
1682     * Fix build issues on x86_64-linux systems caused by valgrind 
1683       headers.  Thanks to Bent Vangli to the suggestions.
1684     * Refactor spoolss client calls.
1685     * Adding 'username map script'.
1686     * Disable schannel on the LSA and SAMR pipes in winbindd client 
1687       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
1688     * Cleanup of winreg API functions.
1689     * Add server stubs for RegSetKeySec() and RegGetKeySec().
1690     * Map generic bits to specific bits in reg_open_entry() 
1691       requests.
1692     * Add write support to registry tdb and printing backends.
1693     * Use tdb lookups rather than hard-coding certain registry 
1694       value names and data.
1695     * BUG 2808: don't try to install man pages if they are not 
1696       present.
1697     * Fix initialized variables reported by valgrind.
1698     * Normalize key lookups in ntprinters.tdb.
1699     * Mark "enumports command" as deprecated.
1700     * Add missing class file for python share command example.
1701     * Fix smbclient build issue on Solaris.
1702     * BUG 2626: ensure that the calling_name is set to something 
1703       after parsing smb.conf (if not set via -n).
1704     * Use "add machine script" when creating a user (ACB_NORMAL)
1705       who has a name ending in '$' (e.g. usrmgr.exe creating
1706       domain trust accounts).
1707     * Add 'rid' synonym for idmap_rid IDMap module.
1708     * Ensure that we set full access on the handle returned 
1709       from _samr_create_dom_{alias,group}() so that future 
1710       set_{alias,group}() commands succeed.
1711     * Fix bug when looking for internal domains in winbindd
1712       (caused winbindd_getgrgid() for local groups to fail).
1713     * Fix query and set alias info calls (level 1 from the MMC 
1714       manage computer plug-in.
1715     * Remove bogus log messages about unknown specversions.
1716     * BUG 2680: copy files from an MS-DFS win2k root share
1717     * BUG 2688: re-implement support for the -P (--port) option
1718     * Support connecting to an 'msdfs proxy' share on a Samba
1719       server.
1720     * Strip the directory path from cups command line printing 
1721       defaults.
1722     * Fix bug that prevented smbclient from creating directories 
1723       on non-dfs paths.
1724     * Deprecate the "printer admin" parameter in favor of the 
1725       SePrintOperatorPrivilege.
1726     * Add the capability to read and write WinNT regf registry 
1727       files.
1728     * Implement access checks for RegOpenXXX() server calls.
1729     * Extend registry client rpc calls.
1730     * Add "net rpc registry" set of commands.
1731     * Remove testprns tool.
1732     * Ensure that printer ACLs use the specific bits as well as 
1733       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
1734       records.
1735     * Add server support for RegSaveKey() for dumping registry 
1736       trees to a regf file.
1737     * Add "enable asu support" smb.conf parameter.
1738     * Merge various small file changes from trunk.
1739     * Remove "winbind enable local accounts" support.
1740     * Remove "ldap filter" smb.conf option.
1741     * Remove editreg utility (needs to be rewritten using regfio.c).
1742     * Fix build failure when running 'make torture' without first 
1743       running 'make all' first.
1744     * BUG 1261: Remove unusable libbiconv from iconv detection 
1745       in configure.
1746     * Add new option for "map to guest".  "Bad Uid" re-enables the
1747       Samba 2.2 behavior of mapping authenticated users to the
1748       guest account if there does not exist a valid Unix account 
1749       for the Windows domain user (based on patch from 
1750       aruna.prabakar@hp.com).
1751     * Fix a couple of regressions after introduction of new winbindd.
1752     * Fix smbpasswd user password change (still worked by bad error
1753       messages) due to trying to strdup a NULL pointer.
1754     * Implement default security descriptors for the
1755       OpenService[Manager]() calls and check requested access mask 
1756       at connect time.
1757     * Include access checks on handle mask for \svcctl operations
1758       such as ControlService() and StartService().
1759     * Implement simulated start and stop service control for 
1760       the spooler service as a per smbd service state value.
1761     * Add interface structure for controlling service via rc.init
1762       scripts (incomplete).
1763     * Convert move_driver_to_download_area() to use copy_file()
1764       rather than moving the files.
1765     * Add version number to registry.tdb file since it can be 
1766       modified now.
1767     * Remove over-paranoid assert() call when checking spoolss 
1768       buffer pointers
1769     * Fix error in EnumPrinterData() reported by valgrind.
1770     * Fix broken help links in SWAT editor caused by new doc layout.
1771     * Ensure that a domain structure in winbind is initialized prior
1772       to assigning the methods for communicating to a DC.
1773     * BUG 3000: Remove background updates of winbind cache and allow
1774       child processes to immediately update and expired cache entry.
1777 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
1778     * Added panic action script for Solaris.
1781 o   Jeremy Cooper <jeremy@ncircle.com>
1782     * Added support for several new \winreg client rpcs.
1785 o   <core@road-star.jp>
1786     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
1787       telldir, rewinddir to match updated large directory code.
1790 o   Guenther Deschner <gd@samba.org>
1791     * Close handles on group creation in rpcclient to better 
1792       support mass group account creation.
1793     * Fix account policy key lookup for minimum and maximum
1794       password lengths.
1795     * Fix some compiler warnings and add missing exclude-block 
1796       in 'net rpc share migrate'.
1797     * Allow use of a non-default smb.conf by rpcclient.
1798     * Fix querydispinfo search semantics in rpcclient test code.
1799     * Fix querydispinfo server semantics to allow to list more 
1800       then 511 users.
1801     * Fix server crash bug in ancient OpenPrinter() call.
1802     * Fix a crash bug when enumerating privileges via the LSA 
1803       calls.
1804     * Fix crash in EnumPrinterKey() client calls caused by previous 
1805       refactoring work.
1806     * Various compiler warning fixes.
1807     * Fix segfault in the client AddPrinterEx-call of 'net 
1808       rpc printer'.
1809     * Fix build issues when --with-aio-support is enabled.
1810     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
1811     * Honour the CC environment variable in python build.
1812     * Fix searches in pdb_ldap for inter-domain trust accounts.
1813     * Don't expand the %L in %LOGONSERVER% from user attributes.
1814     * Fix bug in 'net rpc vampire' that caused accounts to be created 
1815       with no assigned ACB flags.
1816     * Fix enumeration of builtin-aliases.
1817     * Avoid unset rids for builtin-aliases.
1818     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
1819     * More "net rpc share migrate" fixes.
1820     * Merge PADL's idmap_ad plugin (taken from the latest 
1821       xad_oss_plugins-tarball).
1822     * Add support for "idmap backend = ad" when "security = ads".
1823     * Add home directory and shell support from AD via "winbindd nss 
1824       support = sfu" and "security = ads".
1825     * Provide better feedback when we fail share-manipulation 
1826       due to missing scripts.
1827     * Correctly substitute "\" as default winbind separator in 
1828       generate_parm_table.py example share command script.
1829     * Document pam_winbind.c to clarify the working status of
1830       require-membership-of option.
1831     * Added client-support for various lsa_query_trust_dom_info()
1832       calls and a rpcclient-tester for some info-levels.
1833     * Add "net rpc trustdom vampire" tool (in conjunction with 
1834       Lars Mueller).
1835     * Add missing cli_srvsvc_net_share_set_info-function and
1836       rpcclient-testers (in preparation for net share acl migration).
1837     * Print trusted domain passwords returned via rpcclient in 
1838       display charset.
1839     * Error code fixes when attempting to manipulating 
1840       non-existent shares.
1841     * Cleanup "net share migrate" code. 
1842     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
1843       = true".
1844     * Allow admins to uncheck the "User must change Password at 
1845       next Logon" checkbox in User manager (merge from trunk).
1848 o   Renaud Duhaut <rd@duhaut.com> 
1849     * BUG 1040: Add directory_mode parameter when creating recycle
1850       directories.
1853 o   Steven Edwards <steven_ed4153@yahoo.com>.
1854     * Use chsize() if we don't have ftruncate().
1857 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
1858     * BUG 1780: Add kerberos (file based ticket cache) support 
1859       to smbspool.
1862 o   Steve French <sfrench@us.ibm.com>
1863     * Update list of mount options for mount.cifs.
1864     * Add more defines for POSIX extensions to match the newly 
1865       added client implementation.
1866     * Add initial support for cifs umount utility.
1867     * Fix cifs mounts to handle commas embedded in prompted 
1868       password, and password and credential files.
1869     * Fix cifs mounts to handle domain name and user name in 
1870       username field (in form domain\user).
1871     * Add missing error code mappings when a client unsuccessfully 
1872       tries to create a hard-link.
1873     * Add support so umount.cifs can update mtab.
1874     * Add two newer mount options to syntax help for mount.cifs.
1875     * Add missing remount flag handling.
1876     * Allow domain= to be specified in credentials file. 
1877     * Fix umount.cifs help, allow root to unmount someone else's
1878       mount.
1879     * Lock mtab when updating it during umount.cifs, also delete
1880       only one matching entry at a time.
1881     * Fix minor compiler warnings in the mount.cifs helper.
1884 o   Deryck Hodge <deryck@samba.org>
1885     * BUG 2137: Encode quotes for display in HTML (original patch 
1886       from Jay Fenlason).
1889 o   Olaf Imig <Olaf.Imig@bifab.de>
1890     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
1891       print job ids.
1892     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
1895 o   Björn Jacke <bj@sernet.de>
1896     * Added ioctl constants reported by msbackup.exe and filemon.exe.
1899 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
1900     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
1903 o   John Janosik <jpjanosi@us.ibm.com>
1904     * BUG 2077: Correctly fill in the correct server name when 
1905       processing trusted domain logins.
1906     * BUG 2976: Mark logons for unknown domains with a 
1907       non-authoritative response.
1910 o   William Jojo <jojowil@hvcc.edu>
1911     * AIX AIO fixes.
1914 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1915     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
1916       local drive.
1919 o   Tom Lackemann <cessnatomny@yahoo.com>
1920     * BUG 2242: Patch to ensure that we only set the security 
1921       descriptor on an NTtransact create if we created the file.
1924 o   Volker Lendecke <vl@samba.org>
1925     * Port some of the non-critical changes from HEAD to 3_0. 
1926       The main one is the change in pdb_enum_alias_memberships 
1927       to match samr.idl a bit closer.
1928     * Close handles on user creation in rpcclient to better 
1929       support mass user account creation.
1930     * Implement client RAP calls for enumusers/enumgroups level 0.
1931     * Implement a new caching API for enumerating the pdb elements.
1932     * Convert the RAP user and group enumeration functions to the 
1933       utilized the pdb_search API. 
1934     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
1935       RestrictAnonymous environments.
1936     * Internal passdb API changes for better search capabilities
1937       (based on original work by Guenther Deschner).
1938     * Fix various compiler warnings.
1939     * Add chain length statistics to tdbtool.
1940     * Fix set afs ACL calls on files and directories in the root of 
1941       a share.
1942     * Refactoring work on internal open code
1943     * Correctly initialize the version in a new set of nt*tdb files.
1944     * Remove smb_run_idle_events() from main process loop in smbd 
1945       and instead rely upon the timeout processing to handle 
1946       dropping idle LDAP connections.
1947     * Fix the bug where users show up as trusting domains.
1948     * Fix an assertion failure in winbindd.
1949     * Fix a memleak in vfs_afsacl.
1950     * Various compiler warning fixes.
1951     * Fix compile when --enable-socket-wrapper is defined.
1952     * Fixes for top level acls in vfs_acl.c.
1953     * Refactor passdb interface functions.
1954     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
1955     * Correct 2 segv's in "net rpc printer migrate".
1956     * Return correct group type from smbd for BUILTIN groups.
1957     * Backport the talloc() layer from Samba 4.
1958     * BUG 2701: Fix segv in ldap reconnection code.
1959     * BUG 2705: Fix segv when connecting from usrmgr.exe.
1960     * Use the SID in the user token for the %s expansion in 'afs 
1961       username map'.
1962     * Memory leak fixes in passdb code.
1963     * BUG 2720: Fixes for "net usersidlist".
1964     * BUG 2725: Fix segv in "net ads user".
1965     * Only allow schannel connections if a successful Auth2 
1966       has been previously performed.
1967     * Don't look at gencache.tdb for the trusted domains if 
1968       winbind is present.
1969     * Rewrite winbindd using an asynchronous process model.
1972 o   Herb Lewis <herb@samba.org>
1973     * Compiler warning cleanups.
1974     * smbwrapper Makefile and compile time check cleanups.
1975     * Adding robustness checks for tdbdump and tdbtool.
1976     * Extend tdb command line parsing to arbitrary hex characters.
1977     * Add LOCKING debug class.
1978     * Fix more compiler warnings.
1981 o   Derrell Lipman <derrell@samba.org>
1982     * add support for opening a file for write with O_APPEND 
1983       in libsmbclient.
1984     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
1985       tree.
1986     * Fix smbc_stat() from returning incorrect timestamps IFF 
1987       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
1988       and not if it used cli-getatr() to retrieve the timestamps 
1989       (Win98). 
1990     * Fix handful of compiler warnings.
1991     * BUG 2498, 2484: smbc_getxattr() fixes.
1992     * BUG 1133: Added provision for overloading some global 
1993       configuration options via the new, per-user file 
1994       ~/.smb/smb.conf.append.
1995     * BUG 2543: Properly cache anonymous username when reverting 
1996       to anonymous login, in libsmbclient.
1997     * BUG 2505: Fix large file support in libsmbclient.
1998     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
1999       with a file rather than a directory.
2000     * Correct deprecated lvalue casts in testsuite/libsmbclient.
2001     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
2002       formatting or parsing the timestamp values correctly.
2003     * Correctly detect AF_LOCAL support in configure.
2004     * Fix problem updating file times on Windows 98 hosts using 
2005       libsmbclient.
2006     * Fix compile breakage on Solaris by eliminating the use of 
2007       ctime_r() in libsmbclient DEBUG statement.
2010 o   Jason Mader <jason@ncac.gwu.edu>
2011     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
2012     * Various compiler warning fixes about mistyped variables.
2013     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
2014       and code  cleanups.
2015     * BUG 2527, 2538: Removed unused variables.
2018 o   Marcel <samba.10.maazl@spamgourmet.com>
2019     * Fix regression in OS/2 trans2 open code.
2022 o   Jim McDonough <jmcd@us.ibm.com>
2023     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
2024       (in conjunction with Volker).
2025     * BUG 2953: Prevent the credentials chain on DC gets out 
2026       of sync with client when NT_STATUS_NO_USER is returned.
2027     * Added subcommands to "net rpc vampire" (mostly done by Don 
2028       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
2029       ldif file instead of actually writing to the passdb.  
2030     * BUG 2736: Add retries to workaround winbind race condition 
2031       with detecting idle clients.
2032     * BUG 2953: Additional fixes for domain trusts.  Also clears
2033       up the "bad stub" error when attempting to logon to a Samba
2034       domain with a bad username.
2037 o   Luke Mewburn <lukem@NetBSD.org>
2038     * Compiler warning fixes.
2041 o   Kalim Moghul <kalim@samba.org>
2042     * Removed unused printmode command from smbclient.
2045 o   Lars Müller <lmuelle@samba.org>
2046     * Re-enable the VERSION_REVISION option in case of another 
2047       letter release.
2048     * Fix spoolss python bindings after C++ compiler changes and 
2049       other python fixes.
2050     * BUG 2659: Don't trump on memory in smbtorture.
2051     * BUG 2060: Add -fPIC which is the case for all other Samba 
2052       shared libs.
2053     * Fix argv parsing in "net rpc".
2054     * Add support to create position independent executable (PIE) 
2055       code if the compiler supports it.
2056     * BUG 2767: Add new options to testparm (--show-all-parameters,
2057       --parameter-name, and --section-name).
2058     * Fix net share migrate files to also migrate the ACLs of 
2059       the top level dir of a share.
2062 o   Marcel Muller <mueller@maazl.de>
2063     * Patch to fix the OS/2 EA_FROM_LIST info level call.
2064     * Mangled names fix for OS/2 clients.
2065     * Ensure we correctly set the return packet size to include the 
2066       pad bytes in reply_readbmpx().
2067     * Fix for bug in SMBwriteBraw that incorrectly returned the 
2068       number of bytes written. 
2071 o   Ricky Nance <ricky.nance@gmail.com>
2072     * Implemented mklogon script generator for domain logon scripts.
2075 o   James Peach <jpeach@sgi.com>
2076     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
2077     * BUG 2285: Patch for hires timestamps and efficient notify code.
2078     * MS-DFS tidyup patches.
2079     * Build fixes on IRIX.
2080     * IRIX compiler warning fixes.
2081     * BUG 2596: Fix become_root link issues and one IRIX stack 
2082       backtrace bug.
2083     * Fix for null pointer ACL free.
2084     * BUG 2314: Fix const compiler warnings in the quota code.
2087 o   Ed Plese <ed@edplese.com>
2088     * Fix faulty logic which caused winbindd to return failure 
2089       when a user possessed no supplementary groups.
2092 o   Marcin Porwit <mporwit@centeris.com>
2093     * Initial support for the \eventlog pipe.
2094     * Fix a memleak in the eventlog code.
2095     * Miscellaneous fixes for Samba's experimental event log support.
2096     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
2097       calls.
2100 o   Tim Potter <tpot@samba.org>
2101     * BUG 2940, 2943: Fixed various compiler warnings regarding 
2102       mismatched types and unused variables.
2103     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
2104     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
2105       configure script on HPUX IA.
2106     * Remove unused autoconf #define's.
2107     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
2108     * Removed unused function declarations in tdb.h.
2109     * BUG 2895: Don't wrap non-existent functions in the python 
2110       tdb bindings.
2111     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
2112       according to POSIX.
2113     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
2114       defined.
2115     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
2116     * BUG 2611: Add fflush(stdout) after displaying username prompt 
2117       in smbsh if username not specified on command line.
2118     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
2119     * BUG 2808: Update install swat message to reflect the fact 
2120       that swat/README no longer exists.
2123 o   Denis Sbragion <d.sbragion@infotecna.it>
2124     * BUG 2196: Allow absolute path (system wide) recycle bin.
2127 o   Fernando Schapachnik <fernando@mecon.gov.ar>
2128     * Add logon hours support for the Postgres backend.
2131 o   Richard Sharpe <rsharpe@samba.org>
2132     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
2134 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
2135     * BUG 2362: Quota support fix for DragonFly.
2136     * Fix dragonfly detection in configure.
2139 o   Simo Sorce <idra@samba.org>
2140     * Allow Domain Admins to force user sessions to close via the 
2141       Windows Server Manager.
2142     * Add support to 'net rpc right privileges <name>' to enumerate 
2143       accounts which possess a specific privilege.
2144     * Fix memory issues issues in vfstest (reported by Rainer Link).
2145     * Randomize reloading as to not overload cupsd.
2148 o   Smitty <smitty@plainjoe.org>
2149     * Compile fixes for smbget when using --enable-developer.
2150     * Include LUID values to match Windows privileges since 
2151       apparently this matters to printmig.exe
2154 o   John Terpstra <jht@samba.org>
2155     * Solaris packaging fixes.
2156     * Clean up usage help text in "net rpc user"
2159 o   Andrew Tridgell <tridge@samba.org>
2160     * Merge socket wrapper library fixes from Samba 4.
2163 o   Brett Trotter <blt@iastate.edu>
2164     * Fix definition of global_sid_* in vfs_acl.c.
2167 o   Mark Weaver <mark-clist@npsl.co.uk>
2168     * Patch to fix sys_select so it can't drop signals if another 
2169       fd is ready to read. 
2172 o   Jelmer Vernooij <jelmer@samba.org>
2173     * Remove --with-manpage-languages configure option.
2174     * Merge socket wrapper fixes for IRIX systems from the 
2175       Samba 4 branch.
2176     * Add socket_wrapper library to 3.0. Can be enabled by passing
2177       --enable-socket-wrapper to configure.
2178     * Fix build of the various sql pdb backends after new talloc.
2181 o   Qiao Yang <qyang@stbernard.com>
2182     * Use our own DC when getting the SID for a domain.
2186 Release Notes for older release follow:
2188       --------------------------------------------------
2189                    ===============================
2190                    Release Notes for Samba 3.0.14a
2191                               Apr 14, 2005
2192                    ===============================
2194 Common bugs fixed in 3.0.14a include:
2196   o Compatibility issues between Winbind and Windows 2003 SP1
2197     domain controllers (*2k3sp1*).
2198   o MS-DFS errors with Windows XP SP2 clients.
2199   o High CPU loads caused by infinite loops in the FindNext()
2200     server code.
2201   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
2202     files.
2204     
2205 ######################################################################
2206 Changes
2207 #######
2209 Changes since 3.0.14
2210 --------------------
2212 commits
2213 -------
2214 o   Jeremy Allison <jra@samba.org>
2215     * Fixed invalid SMB_ASSERT() triggered by checking access on
2216        ACL'd files.
2219 Changes since 3.0.13
2220 --------------------
2222 smb.conf changes
2223 ----------------
2225     Parameter Name                      Action
2226     --------------                      ------
2227     dos filetimes                       Enabled by default
2230 commits
2231 -------
2232 o   Jeremy Allison <jra@samba.org>
2233     * Prevent nt_status code support when negotiating protocols
2234       earlier than NT1.
2235     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
2236       as this SMB is DOS codepage only.
2237     * BUG 2585: Fix printf() issues in smbpasswd which caused
2238       seg faults.
2239     * BUG 2563: Fix infinite loop on non-existent file with 
2240       FindNext().
2241     * BUG 2581 (partial): Ensure if realloc fails on an internal 
2242       tdb we fail gracefully.
2243     * Ensure that 'dos filetimes' works with ACLs.
2244     * Set 'dos filetimes = yes' as the default for smb.conf.
2246       
2247 o   Gerald (Jerry) Carter <jerry@samba.org>
2248     * Workaround autoconf issue to prevent debug symbols from 
2249       being included in the default build.
2250     * Disable schannel on the \lsarpc pipe in order to successfully 
2251       enumerate users and groups (*2k3sp1*)
2252     * Fix parsing error in rpc binds which broke NTLMSSP 
2253       authentication.   And as a result broke CTL+ALT+DEL password 
2254       changes from a Windows 2003 SP1 member of a Samba domain 
2255       (*2k3sp1*).
2256     * Revert change to FindFirst() server code that broke WinXP
2257       SP2 clients from launching *.exe files from a dfs target 
2258       share.
2259     * BUG 2588: Force smbclient to send netbios messages to port 
2260       139 unless otherwise instructed (based on patch from Thomas 
2261       Bork).
2262       
2264 o   Volker Lendecke <vl@samba.org>
2265     * Fix build on FreeBSD 4 where Winbind is not supported.
2266     * Fix 'wbinfo --user-sids' when using domain local groups.
2267     * Restrict domain local groups reported by 'wbinfo -r' to
2268       the Samba server domain and not the users domain.
2271 o   Lin Li <linl@xandros.com>
2272     * Ensure that winbind initializes internal trusted domain 
2273       structures when enumerating users and groups.
2274       
2276 o   Tim Potter <tpot@samba.org>
2277     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
2278       test.
2279     * Fix compiler warnings.
2282 o   <psz@maths.usyd.edu.au>
2283     * Fix for possible root squash NFS bugs.
2284     
2285     
2286 o   Simo Sorce <irda@samba.org>
2287     * Debian packaging fixes.
2288     
2290       --------------------------------------------------
2291                    ==============================
2292                    Release Notes for Samba 3.0.13
2293                             Mar 24, 2005
2294                    ==============================
2296 Common bugs fixed in 3.0.13 include:
2298   o Infinite FindNext() loop from Windows 9x client when
2299     copying or deleting files on a Samba file share using 
2300     explorer.exe.
2301   o Numerous smbclient bugs when listing directories.
2302   o Failures in smbclient when connecting to a Windows 9x 
2303     file server.
2305     
2306 ######################################################################
2307 Changes
2308 #######
2310 Changes since 3.0.12
2311 --------------------
2313 o   Jeremy Allison <jra@samba.org>
2314     * Fix typo bug in smbclient where flags overwrote info level
2315       in the cli_list_new().
2316     * Fix old smbclient bug where ff_searchcount was being compared 
2317       to -1 resulting in processing a filename twice.
2318     * Fix segv in smbclient caused by overwriting the last 2 bytes 
2319       in cli_list_new().
2320     * BUG 2530: Fix potential segv in smbclient when talking to a 
2321       Windows 9x file server.
2322     * Fix last entry offset in cli_list_new() when using a 
2323       FindFirst/FindNext info level of 0x104.
2324     * BUG 2501: Stop Win98 from looping doing FindNext on a 
2325       singleton directory. 
2326     * BUG 2521: Fix error in access checks when user group ACLs.
2327       
2328       
2329 o   Gerald (Jerry) Carter <jerry@samba.org>
2330     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
2331       to delete all versions of a driver.
2332     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
2333       'disable netbios = yes'.
2334     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
2335       shares.  
2336     * Update RedHat packaging files to require cups support.  Also
2337       remove requirement for 'idmap {uid,gid}' settings in smb.conf
2338       from winbindd init script.
2339     * BUG 2516: fix compile issue on True64.
2340     
2341       
2342       
2343 o   Guenther Deschner <gd@samba.org>
2344     * Check for the correct cli-struct when copying files in 'net 
2345       rpc printer' routines.
2348 o   Herb Lewis <herb@samba.org>
2349     * Fix incorrect test in 'net rpc user' when the user is not
2350       a member of any groups.
2351       
2352       
2353 o   Jim McDonough <jmcd@us.ibm.com>
2354     * Make sure that enum_group_members() searches the correct suffix.
2355     
2357       --------------------------------------------------
2358                    ==============================
2359                    Release Notes for Samba 3.0.12
2360                             Mar 18, 2005
2361                    ==============================
2363 Common bugs fixed in 3.0.12 include:
2365   o Winbind failures when using 'disable netbios = yes'
2366   o Failure to establish a trust relationship via 'net rpc trust 
2367     establish'
2368   o Various portability & compiler issues.
2369   o Read only file deletion failure caused by new delete semantics 
2370     in Windows XP SP2 and the MS 04-044 security hotfix.
2371   o Error messages from shared Excel workbooks residing on Samba 
2372     file shares.
2373   o Missing files in the output of smbclient -c 'dir' when run 
2374     against Windows file servers.
2375   o Inability for Print Administrators to pause/resume/purge print 
2376     queues.
2378 Additional features introduced in Samba 3.0.12:
2380   o Performance enhancements when serving directories containing 
2381     large number of files.
2382   o MS-DFS support added to smbclient.
2383   o More performance improvements when using Samba/OpenLDAP based 
2384     DC's via the 'ldapsam:trusted=yes' option.
2385   o Support for the Novell NDS universal password when using the
2386     ldapsam passdb backend.
2387   o New 'net rpc trustdom {add,del}' functionality to eventually 
2388     replace 'smbpasswd {-a,-x} -i'.
2389   o New libsmbclient functionality.
2393 =======================
2394 Large Directory Support
2395 =======================
2397 Samba 3.0.12pre1 introduces a specific mechanism for dealing
2398 with file services that frequently contain a large number of files
2399 per directory.  Historically Samba's performance has suffered 
2400 in such environments due to the translation from case 
2401 insensitive lookups by Windows client to the case sensitive
2402 storage mechanisms used by UNIX filesystems.
2404 Configuration details along with a short HOWTO can be found at:
2406 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
2409 ==================================
2410 libsmbclient Binary Compatibility
2411 ==================================
2413 Please note that a change has been made to the _SMBCCTX structure 
2414 in source/include/libsmbclient.h.  This change is not backwards
2415 compatible with applications linked against the libsmbclient.so
2416 library from Samba 3.0.11.  However, it is compatible with all 
2417 other Samba 3.0.x releases.  This means that it will be most likely
2418 be necessary to recompile any applications linked against the 
2419 3.0.11 version of the library.
2422 ######################################################################
2423 Changes
2424 #######
2426 smb.conf changes
2427 ----------------
2429     Parameter Name                      Action
2430     --------------                      ------
2431     allocation roundup size             New
2432     log nt token command                New
2433     write cache                         Deprecated
2437 Changes since 3.0.11
2438 --------------------
2440 commits
2441 -------
2442 o   Jeremy Allison <jra@samba.org>
2443     * BUG 2146: Return correct allocation sizes so as not to crash 
2444       the VC++ compiler.
2445     * BUG 962: Ensure that parsing of service names in smb.conf is 
2446       multibyte safe.
2447     * BUG 2201, 2227: Support new delete semantics used by MS04-044
2448       and XP SP2.
2449     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
2450       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
2451     * Add special hooks when serving directories containing large
2452       numbers of files.
2453     * Ensure that WINS negative name query responses and WACK 
2454       packets use the correct RR type of 0xA instead of reflecting 
2455       back what the query RR type was (0x20).
2456     * BUG 2310: Only do 16-bit normalization on small dfree request.
2457     * BUG 2323: Correct authentication failure when using plaintext 
2458       passwords from Windows XP clients.
2459     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
2460       work around issues building MS Visual Studio 6.0 project 
2461       on a Samba file share while restoring the pre-3.0.21pre1 
2462       behavior by default.
2463     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
2464       stat when checking for existence of a pathname.
2465     * Check the sticky bit on the parent directory for supporting
2466       the new WinXP SP2 file deletion semantics.
2467     * Various oplock, share mode, and byte range locking fixes
2468       found by Connectathon tests.
2469     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
2470       code (inspired by patch from Satwik Hebbar).
2471     * BUG 2382, 2045: More pending modtime and delayed write fixes
2472       for MS Excel (incorporates partial patches from 
2473       ke_miyata@itg.hitachi.co.jp).
2474     * Debug log message cleanups.
2475     * Add case insensitive search for a principal match on logon 
2476       verification in the system keytab (based on patch by 
2477       Michael Brown <mbrown@fensystems.co.uk>).
2478     * Revert the previous SMB signing change from Nalin Dahyabhai
2479       when using DES keys.
2480     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
2481     * Fix FindFirst() server code to deal with resume names of ".."
2482       and "." (found by Jim McDonough).
2483     * BUG 2451: Fix missing functions in full audit VFS module.
2484     * Ensure that smbd logs failures reported by DISK_FREE()
2485       (reported by Ying Li <ying.li2@hp.com>).
2486     * Ensure that smbclient obeys the max protocol argument again.
2487     * BUG 2335: Return correct error code for OS/2 clients (based on
2488       negotiated protocol level).
2489     * BUG 2460, 2464: remove dead code and unused variables 
2490       (reported by Jason Mader).
2493 o   Andrew Bartlett <abartlet@samba.org>
2494     * Avoid length-limited intermediate copy of NT and LM responses 
2495       in NETLOGON client.
2496     * Debug message cleanups in the NTLMSSP implementation.
2499 o   Manuel Baena <mbaena@lcc.uma.es>
2500     * Print actual error message in smbmnt.c:fullpath().
2503 o   Vince Brimhall <vbrimhall@novell.com>
2504     * Add support for Novell NDS universal password.
2505     * BUG 2424: Ensure that uidNumber and gidNumber use match 
2506       the RFC2307 schema.
2507     * BUG 2453: Change the way pdb_nds.c handles users with no 
2508       Universal or Simple Password.
2509     * NDS schema file corrections.
2512 o   Gerald (Jerry) Carter <jerry@samba.org>
2513     * Add trans2 client call for checking dfs referrals
2514     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
2515       when checking directories on modern CIFS servers.
2516     * Add MS-DFS support to smbclient.
2517     * Code cleanup of adt_tree.[ch].
2518     * Add missing checks to allow root to manage user rights.
2519     * Allow domain admins to manage rights assignments on domain members
2520       servers.
2521     * BUG 2333: Use the lpq command to pass in the correct printer name 
2522       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
2523       the default.
2524     * BUG 1439: make sure to initialize pointer to prevent invalid 
2525       free()'s on exit.
2526     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
2527       netbios = yes'.
2528     * Add cups-devel to BuidlRequires directive in Fedora spec file.
2529     * BUG 858: Fix order of popt args evaluation so we don't crash 
2530       when given no command line args.
2531     * Remove dependency on bash for source/autogen.sh.
2532     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
2533     * Implement MS-DFS for recursive directory listings in smbclient.
2534     * BUG 2394: Fix nmbd linking issue on IRIX.
2535     * Only display the publish check box in the client's printer 
2536       properties dialog if we are a member of an AD domain.
2537     * BUG 2363: allow 'in use' driver to be removed as long as 
2538       one 'Windows NT x86' driver remains.
2539     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
2540       porting purposes.
2541     * Enforce better printer.tdb cache consistency when removing 
2542       jobs from a print queue via SMB.
2543     * Ensure that pause/resume/purge print queue commands are run
2544       with the appropriate level of privilege necessary to actually
2545       work.
2546     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
2547       for 'printing = cups' installations that do not actually have 
2548       libcups.
2549     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
2550     * BUG 2215: Rewrite questionable code that was causing gcc to 
2551       choke.
2552     * Add server support for LsaLookupPrivValue().
2553     * Various small compile fixes and cleanup warnings.
2554     * BUG 2456: Fix compile failure on non-gcc platforms due to
2555       non-standard pragma.
2558 o   Kevin Dalley <kevin@kelphead.org>
2559     * BUG 2398: Don't force smbclient to assume a dry run if the 
2560       target tarfile is /dev/null.
2563 o   Guenther Deschner <gd@samba.org>
2564     * Fix crash bug in the client-spoolss enumdataex-call.
2565     * Expand the valid-workstation-scheme by expanding names 
2566       beginning with a plus (+) as a unix group.
2567     * Allow own netbios name to be set in smbclient's session setup.
2568     * Better handling of LDAP over IPC connections that have expired 
2569       on the LDAP-Server.
2570     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
2571     * Add examples/misc/adssearch.pl.
2572     * BUG 2343: Build fixes.
2573     * Support get_user_info_7 in SAMR server RPC.
2574     * Fix server_role in the samr_query_dom_info calls.
2575     * Add example perl script to check for multiple LDAP entries
2576       after running 'net rpc vampire'.
2577     * Add more output when listing printer forms via rpcclient.
2578     * Debug log message cleanup.
2581 o   Steve French <sfrench@us.ibm.com>
2582     * On failed mount (ENXIO) retry share name in uppercase (fix
2583       mount to FastConnect AIX SMB server).
2584     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
2585     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
2586       it with a user name.
2587     * Update for new CIFS POSIX info levels.
2588     * Ignore users mount parm in mount.cifs.
2590 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
2591     * BUG 1549: Don't truncate service names in smbstatus.
2594 o   William Jojo <jojowil@hvcc.edu>
2595     * BUG 2445: Patch to avoid default ACLs on AIX.
2598 o   S Murthy Kambhampaty <smk_va@yahoo.com>
2599     * Add idmap_rid module to Fedora and RedHat spec files.      
2602 o   Volker Lendecke <vl@samba.org>
2603     * BUG 2401: Flush internal getpwnam() cache after deleting a 
2604       user.
2605     * BUG 1604: Make winbind work with more than 10 trusted domains.
2606     * Cleanup various compiler warnings.
2607     * Fix a memory leaks in privileges code and passdb backends.
2608     * Fixes for samr_lookup_sids() client call.
2609     * Optimize _samr_query_groupmem with LDAP backend for large 
2610       domains.
2611     * Support SIDs as %s replacements in the afs username map 
2612       parameter.
2613     * Add 'log nt token command' parameter. If set, %s is replaced 
2614       with the user sid, and %t takes all the group sids.
2615     * Do not use the "Local Unix Group"-default description for 
2616       all kinds of group-mappings. 
2617     * Fix uninitialized variable in Linux nss_winbind library.
2618     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
2619     * Implement 'net afs impersonate'.
2620     
2622 o   Herb Lewis <herb@samba.org>
2623     * Fix build problem when HAVE_POSIX_ACL is not defined.
2624     * BUG 2417: Add help lines for net rpc group addmem and 
2625       delmem commands.
2626     
2628 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
2629     * Add support to libsmbclient for getting and setting DOS 
2630       attributes using EA functions.
2631     * Fix libsmbclient's URL encoding/decoding.
2632     * Replace browse listing URI queries with an internal options 
2633       structure (previous method violated the SMB URI syntax).
2634     * Allow tree connects to be multiplexed over a single CIFS server 
2635       connection context.
2636     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
2637       can determine a dead tree connection.
2638     * Implement better solution for backwards binary compatibility
2639       in libsmbclient while adding new fields to struct _SMBCCTX.
2642 o   Mark Loeser <halcy0n@gentoo.org>
2643     * BUG 2443: Compile fix for gcc4.
2646 o   Jim McDonough <jmcd@us.ibm.com>
2647     * BUG 2338: Fix coredump when OS/2 checks for long file name 
2648       support (with .+,;=[].) (thanks to Guenter Kukkukk).
2651 o   Jason Mader <jason@ncac.gwu.edu>
2652     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
2653       2341, 2342)
2656 o   Jim McDonough <jmcd@us.ibm.com>
2657     * Fixes for server schannel implementation when 'restrict 
2658       anonymous = 1' is set in smb.conf.
2659     * Fix bug in server side lookupsids reply that crashed lsass.exe 
2660       on Windows clients.
2661     * Fix 'net rpc trustdom establish'.
2662     * BUG 2062: Turn off broadcast for all 390 NICs.
2663     * Fix 'net rpc trustdom add' to correctly add new domain trust 
2664       accounts.  This will eventually replace 'smbpasswd -a -i'.
2665     * Implement 'net rpc trustdom del', including client side of 
2666       samr_remove_sid_from_foreign_domain.
2667     * Bring IBM Directory Server schema up to date with openldap 
2668       schema.
2669     * Allow for better protection of sensitive attributes in IBM
2670       Directory Server.
2673 o   Stefan Metzmacher <metze@samba.org>    
2674     * Fix memleaks in the nttrans code.
2677 o   Mike Nix <mnix@wanm.com.au>
2678     * Add SMBsplopen and SMBsplclose client calls.
2681 o   Justin Ossevoort <justin@snt.utwente.nl>
2682     * BUG 2316: Fix crashes in pdb_pgsql.
2685 o   James Peach <jpeach@sgi.com>
2686     * Fixes in string handling code.
2687     * Fix oplock2 test in client smbtorture.
2690 o   Tim Potter <tpot@samba.org>
2691     * Fix up example pdb modules after prototype change for 
2692       setsampwent.
2693     * BUG 2058: Fix for shared object creation in examples.
2694     * BUG 2315: Fix segv in LSA privileges server code.
2695     * Build fixes for python wrapper libraries.
2698 o   Richard Sharpe <rsharpe@samba.org>
2699     * BUG 2044: Fix segv in profiles tool.
2700     * Fix bogus error messages when enumerating user group 
2701       membership via 'net rpc'.
2704 o   Simo Sorce <idra@samba.org>
2705     * Debian packaging fixes.
2708 o   John Terpstra <jht@samba.org>
2709     * Add the capability to set account description using pdbedit.
2712 o   Doug VanLeuven <roamdad@sonic.net> 
2713     * Add more case/realm/name permutations to the kerberos keytab.
2714     * AIX compile fixes.
2717 o   Jelmer Vernooij <jelmer@samba.org>
2718     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
2719     * BUG 1957: Implement minimal update of fields in mySQL pdb 
2720       module.
2721     
2723 o   Torsten Werner <torsten.werner@assyst-intl.com>
2724     * BUG 2405: Define 'lpstat' printcap output on HPUX.
2725     
2727 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
2728     * Detect infinite loops when traversing tdbs.
2731       --------------------------------------------------
2732                    ==============================
2733                    Release Notes for Samba 3.0.11
2734                              Feb 5, 2005
2735                    ==============================
2737 Common bugs fixed in 3.0.11 include:
2739   o Crash in smbd when using CUPS printing.
2740   o Parsing error of other SIDs included in the user_info_3
2741     structure returned from domain controllers.
2742   o Inefficiencies when searching non-AD LDAP directories.
2743   o Failure to expand variables in user domain attributes
2744     in tdbsam and ldapsam.
2745   o Memory leaks.
2746   o Failure to retrieve certain attribute when migrating from 
2747     a Windows DC to a Samba DC via 'net rpc vampire'.
2748   o Numerous printing bugs bugs including memory 
2749     bloating on large/busy print servers.
2750   o Compatibility issues with Exchange 5.5 SP4.
2751   o sendfile fixes.
2753 Additional features introduced in Samba 3.0.11:
2755   o Winbindd performance improvements.
2756   o More 'net rpc vampire' functionality.
2757   o Support for the Windows privilege model to assign rights
2758     to specific SIDs.
2759   o New administrative options to the 'net rpc' command.
2762 ============
2763 LDAP Changes
2764 ============
2766 If "ldap user suffix" or "ldap machine suffix" are defined in
2767 smb.conf, all user-accounts must reside below the user suffix,
2768 and all machine and inter-domain trust-accounts must be located 
2769 below the machine suffix.  Previous Samba releases would fall 
2770 back to searching the 'ldap suffix' in some cases.
2773 ===============
2774 Privilege Model
2775 ===============
2777 Samba 3.0.11 supports the following assignable rights
2779 SeMachineAccountPrivilege  Add machines to domain
2780 SePrintOperatorPrivilege   Manage printers
2781 SeAddUsersPrivilege        Add users and groups to the domain
2782 SeRemoteShutdownPrivilege  Force shutdown from a remote system
2783 SeDiskOperatorPrivilege    Manage disk shares
2785 These rights can be assigned to arbitrary users or groups
2786 via the 'net rpc rights grant/revoke' command.  More details
2787 of Samba's privilege implementation can be found in the 
2788 Samba-HOWTO-Collection.
2789     
2791 ######################################################################
2792 Changes
2793 #######
2795 Changes since 3.0.10
2796 --------------------
2798 smb.conf changes
2799 ----------------
2801     Parameter Name                      Action
2802     --------------                      ------
2803     afs token lifetime                  New
2804     enable privileges                   New
2805     ldap password sync                  Alias
2806     min password length                 Deprecated
2807     winbind enable local accounts       Deprecated
2810 commits
2811 -------
2812 o   Jeremy Allison <jra@samba.org>
2813     * Extend vfs to add seekdir/telldir/rewinddir.
2814     * Fix dirent return.
2815     * Fix bugs when handling secondary trans2 requests.
2816     * Implementation of get posix acls in UNIX extensions.
2817     * Added set posix acl functionality into the UNIX extensions code.
2818     * Updated config.guess/config.sub .
2819     * Fix error reply when 'follow symlinks = no'.
2820     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
2821       not already zero.
2822     * Fixes for LARGE_READX support.
2823     * Fix the problem we get on Linux where sendfile fails, but we've
2824       already sent the header using send().
2825     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
2826       inherit = no'.
2827     * BUG 2088: Ensure inherit permissions is only applied on a new 
2828       file, not an existing one.
2829     * Don't go fishing for the krb5 authorization data unless we know
2830       it's there.
2831     * Fixes for libsmbclient to ensure that interrupted system calls
2832       are restarted minus the already expired portion of the timeout
2833       (based on work by Derrell Lipman).
2834     * More Unicode string parsing fixes.
2835     * Convert the winreg pipe to use WERROR returns.
2836     * Make all LDAP timeouts consistent (input from Joe Meadows 
2837       <jameadows@webopolis.com>).
2838     * BUG 2231: Remove double "\\" from client findfirst.
2839     * BUG 2238: Fix memory leak in shadow copy vfs.
2840     * Return correct DOS/NT error code on transact named pipe on 
2841       closed pipe handle.
2842     * BUG 2211: Fix security descriptor parsing bug (based on work by 
2843       Mrinal Kalakrishnan <mail@mrinal.net>).
2844     * BUG 2270: Fix memory leaks in cups printing backend support 
2845       (based on work by Lars Mueller).
2846     * BUG 2255: Fix debug level in kerberos error messages.
2847     * BUG 2110: Ensure we convert to ucs2 correctly after the 
2848       CAN-2004-0930 patch.
2849     * Make strict locking an enum. Auto means use oplock optimization.
2850     * Fix client  & server to allow 127k READX calls.
2851     * More *alloc fixes (includes additional fixes by Albert Chin.
2852     * Catch sendfile errors correctly and return the correct values 
2853       we want the caller to return.
2854     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
2855       for better use by desktop environments such as GNOME.
2856     * Ensure we can't remove a level II oplock without having the
2857       shared memory area locked.
2858             
2860 o   Timur Bakeyev <timur@com.bat.ru>
2861     * BUG 2100: change the way we check for errors after a dlopen().
2862     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
2863     
2864     
2865 o   Andrew Bartlett <abartlet@samba.org>
2866     * Clarify error message when 'lanman auth = no'.
2867     * Remove the unnecessary UTF-8 conversion calls in the calls to
2868       auth_winbind from smbd.
2869     * Don't store the auth-user credentials with the cli_state* as 
2870       this can cause the schannel setup to fail when the auth-user
2871       domain is not our primary domain.
2874 o   Grigory Batalov <bga@altlinux.org>
2875     * Fix encoding while receiving of a message which was actually 
2876       sent using STR_ASCII.
2879 o   Daniel Beschorner <db@unit-netz.de>
2880     * BUG 603: Correct access mask check for _samr_lookup_domain()
2881       to work with Windows RAS server
2884 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
2885     * Fix missing printer_tdb reference decrement.
2886     
2888 o   Gerald (Jerry) Carter <jerry@samba.org>
2889     * BUG 2073: fall back to smb_name if current_user_info is not
2890       available in lp_file_list_changed().
2891     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
2892       errors.
2893     * Don't run the background LPQ daemon when we are running in
2894       interactive mode.
2895     * prevent the background LPQ daemon from updating the print queue
2896       cache just because multiple smbd processes sent a message that
2897       it was out of date.
2898     * consolidate printer searches to use find_service rather than 
2899       for(...) loops.
2900     * BUG 2091: don't remove statically defined printers in 
2901       remove_stale_printers().
2902     * Fix logic error in add_a_form() that only compared N characters 
2903       instead of the entire form name.
2904     * BUG 2107: fix memory bloating caused by large numbers of 
2905       print_queue_updates() requests sent via messages.tdb.
2906     * Check the setprinter(3) based on the access permissions on 
2907       the handle and avoid the call to print_access_check().
2908     * Re-instantiate previous semantics for calling init_unistr2() 
2909       with a NULL source buffer.
2910     * Support Windows privilege model for assigning rights
2911       to specific SIDs.  Based on work by Simo Sorce in the trunk 
2912       svn branch.  This feature is controlled by the 'enable 
2913       privileges = [yes|no]' smb.conf(5) option.
2914     * Add some smb.conf scripts for add/delete/change shares and 
2915       deleting cups printers.
2916     * Expand variables in the profile path, logon home and logon script 
2917       values when using either tdbsam or ldapsam.
2918     * Add Domain Admins (Full Control) to the default printer security 
2919       descriptor if we are a DC.
2920     * RedHat and Fedora Packaging fixes for perl dependencies.
2921     * Remove unused schema items from OpenLDAP schema file.
2922     * Remove duplicate enumeration of "Windows x86" architecture
2923       when listing printer drivers via rpcclient.
2924     * Fail set_privileges() if 'enable privileges = no' to prevent 
2925       confused admins.
2926     * Fix segfault in cups_queue_get().
2927     * Tighten restrictions on changing user passwords when 
2928       the connected user possesses the SeMachineAccountPrivilege.
2929     * Ensure we set NETBIOSNAME.domainname for the long machine name
2930       when publishing printers in AD (based on input from Rob Foehl).
2931     * Mark 'winbind enable local accounts' as deprecated.
2932     * Mark testprns tool as deprecated.
2933     * Allow root to grant/revoke privilege assignments.
2934     * Correct interaction between user rights and se_access_check() on
2935       SAMR objects.
2936     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
2937       class.
2938     * BUG 2262: Add support in configure.in for *freebsd6*.
2939     * BUG 2266: Portability fixes for quota code on FreeBSD4.
2940     * BUG 2264: Remove shutdown and abortshutdown commands from 
2941       rpcclient in favor of using the same functions in 'net'.
2942     * BUG 2295: Prevent smbd from returning an empty server name
2943       in certain lanman api calls.
2944     * BUG 2290: Fix autogen.sh script in examples (based on original
2945       patch from Lars Mueller).
2946     * Fix bug enumerating domain trusts in security = ads.
2947     * Fix segv in rpcclient's dsenumdomtrusts.
2948     * Fix bug in expansion of %U and %G in included filenames.
2949     * BUG 2291: Restrict creation of server trust and domain trust
2950       accounts to members of the "Domain Admins" group.
2952 o   Nadav Danieli <nadavd@exanet.com>
2953     * Short circuit some is_locked() tests if we are oplocked.
2954     
2955     
2956 o   Guenther Deschner <gd@samba.org>
2957     * Allow 'localhost' as a valid server name in the smbd for the
2958       spoolss calls.
2959     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
2960       Mewburn for the input).
2961     * BUG 2059: Add additional checks needed after logic change to the
2962       HAVE_WRFILE_KEYTAB detection test.
2963     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
2964       Samba DC.  Allow us to lookup at least our own SID.
2965     * More fixes to have proper German in swat (Thanks to Reiner 
2966       Klaproth and Björn Jacke.
2967     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
2968       setting security descriptors with smbcacls and using with 
2969       the -S or -M switch. 
2970     * Include the munged_dial, bad_password_count, logon_count, and 
2971       logon_hours attributes when running 'net rpc vampire'.
2972     * Fix segfault in idmap_rid.
2973     * When winbindd is operating in the multi-mapping mode of 
2974       idmap_rid, allow BUILTIN domain-mapping.
2975     * Display infolevel 12 in query_dom_info in rpcclient.
2976     * Fix bug in winbindd's lowercasing of usernames.
2977     * Allow -v or -l for displaying verbose groupmap-listing 
2978       as well as "verbose".
2979     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
2980       vampire'.
2981     * Close LDAP-Connection before retrying to open a new connection 
2982       in the retry-loop.
2983     * Marking "min password length" as depreciated.  
2984     * Implement SAMR query_dom_info-call info-level 8 server- and 
2985       client-side, based on samba4-idl.
2986     * Allow rpcclient to define a port to use when connecting 
2987       to a remote server.
2988     * Allow Account Lockout with Lockout Duration "forever" (until 
2989       admin unlocks) to be set and displayed in User Manager.
2990     * Allow to set acb_mask in rpcclient's enumdomusers.
2991     * Add more generic rootDSE inspection function to check 
2992       for given controls or extensions and remember these on a 
2993       per server basis.
2994     * Improve LDAP search efficiency by passing the acb_mask to 
2995       pdb_setsampwent().
2996     * Fixes for ldapsam_enum_group_memberships().
2997     * Add createdomgroup to rpcclient.
2998     * Add "net rpc user RENAME"-command.
2999     * Display sam_user_info_7 in rpcclient.
3000     * Make multi-domain-mode in idmap_rid accessible from outside 
3001       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
3002     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
3003       "Lockout Duration: Forever".
3004     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
3005       config utility.
3006     * Require assignment of Administrator SID in the passdb 
3007       backend.  Fall back to the default name of 'Administrator' if
3008       the lookup fails rather than using the first name in the
3009       default 'admin users' list.
3010     * Enhance LDAP failure debug messages.
3011     * BUG 2291: Call the 'add machine script' for server trust and 
3012       domain trust accounts as well as workstation accounts.
3013     
3014     
3015 o   Levente Farkas <lfarkas@lfarkas.org>
3016     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
3017       packages.
3020 o   Jay Fenlason <fenlason@redhat.com>
3021     * Fix crash in 'net join' due to calling free on 
3022       static buffers.
3023     * Several patches from RedHat's Fedora Core RPMS.
3026 o   Rob Foehl <rwf@loonybin.net>.
3027     * Compiler warnings.
3028     * Try modifying printer published attributes before adding it a
3029       new entry in AD.
3030     * Solaris packaging fixes.
3031     * Don't force the cups printer-make-and-model tag as the comment
3032       for autoloaded printers.
3033     * Implement caching of names from printcap to support a true
3034       'printcap cache time'.
3037 o   Johann Hanne <jhml@gmx.net>
3038     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
3041 o   Jeff Hardy <hardyjm@potsdam.edu>
3042     * Example script for 'add print command' when using CUPS.
3045 o   Deryck Hodge <deryck@samba.org>
3046     * Add -P (--password-only-menu) to SWAT for displaying only the
3047       password change page to non-root users.
3050 o   David Hu <david.hu@hp.com>
3051     * Copy structure from print_queue_update() message rather than 
3052       referencing it.  Fixes seg fault on HP-UX.
3053       
3054       
3055 o   Buck Huppmann <buckh@pobox.com>
3056     * BUG 2186: Don't free uninitialized credentials.
3057     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
3058       dnsDomainName != realm.
3059    
3061 o   Björn Jacke <bjoern@j3e.de>
3062     * BUG 2040: Ensure the locale is reset to C to get ASCII-
3063       compatible toupper/lower functions.
3066 o   William Jojo <jojowil@hvcc.edu>
3067     * Fix HPUX sendfile and add configure.in tests and code for
3068       sendfile on AIX.
3069     * AIX 5.3 compile fixes.
3072 o   Volker Lendecke <vl@samba.org>
3073     * Optimize anonymous session setups by workstations in a 
3074       Samba domain.
3075     * Reimplment the QueryUserAliases() server RPC reply.
3076     * Re-add the getpwnam-cache for performance.
3077     * Cache the result of a pdb_getsampwnam for later SID lookup 
3078       queries.
3079     * Unify the means of localtaing a user's global groups on a 
3080       Samba DC.
3081     * Fix bug when serving the 'Start Menu' in a roaming user profile..
3082     * Map more pre-defined NT security descriptors to AFS acls.
3083     * Add timeout to AD search requests.
3084     * If a connection to a DC is requested (in winbindd), open
3085       connections simultaneously to all DCs found.
3086     * Memleak fixes.
3087     * Fix logic error in handling of 'printcap name' parameter.
3088     * Prevent winbindd from SPAM'ing the log files with 'user root 
3089       does not exist'.
3090     * Backport samr_DomInfo2 IDL specification from Samba 4.
3091     * Implement smbstatus -n, don't lookup users and groups.
3092     * Implement simple mapping that maps the space to another character 
3093       defined by afsacl:space.
3094     * Add support for 'net idmap delete <idmap-file> <SID>'.
3095     * Add new parameter 'afs token lifetime' tells the AFS client 
3096       when to throw away a token (patch from kllin@it.su.se).
3097     * Initial work to allow support for multiple pipe opens on a 
3098       single cli_state*.
3099     * Ensure that we still retrieve the netbios name of any DC 
3100       listed as a 'password server' to work around cases where the 
3101       DC was defined using an IP address or fqdn.
3102     * Fix memleak in winbindd connection code.
3103     * Fix cli_samr_queryuseraliases.
3104     * Allow wbinfo --user-sids to expand expand domain local groups.
3105     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
3106     * Fix parsing of other_sids in net_user_info3.
3107     * Correct bad failure logic when user was not a member of any 
3108       domain local groups.
3109     
3111 o   Jason Mader <jason@ncac.gwu.edu>
3112     * BUG 2113, 2289: Remove dead code.
3115 o   Jim McDonough <jmcd@us.ibm.com>
3116     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
3117       clients.  If it fails, fall back to WINREG.
3118     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
3119     * BUG 2198: Set password last change time when running 'net rpc 
3120       vampire'.
3121     * Add "refuse machine password change" policy field.
3124 o   Luke Mewburn <lukem@NetBSD.org>
3125     * BUG 2150: shmget() - Use POSIX definitions instead of non-
3126       standard SHM_.
3127       
3129 o   Stefan Metzmacher <metze@samba.org>    
3130     * autogen.sh fixes.
3133 o   Buchan Milne <bgmilne@mandrake.org>
3134     * Mandrake packaging fixes.
3137 o   Lars Mueller <lmuelle@samba.org>
3138     * Fix build of libsmbclient on x86_64.
3139     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
3140       is installed in a non-default location.
3141     * BUG 2050: Calculate max_fd for select correctly.
3142     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
3143       script.
3146 o   Jason Mader <jason@ncac.gwu.edu>
3147     * BUG 2069: Remove unused variables.
3148     * BUG 2075: Remove dead code paths.
3149     * BUG 2083: Fix compiler warnings caused by bad type casts.
3152 o   James Peach <jpeach@sgi.com>
3153     * Fix rewinddir -> rewind_dir when using VFS macros.
3154     
3156 o   Gavrie Philipson <gavrie@disksites.com>
3157     * BUG 1838: Remove stale printers imeeddiately when 
3158       processing a SIGHUP and during smb.conf reload.
3160       
3161 o   Tim Potter <tpot@samba.org>
3162     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
3163     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
3164     * Change the license for the winbindd external interface 
3165       more liberal.
3166     * HP-UX compile fixes.
3167     * Compile fixes after new setsampwent() API.
3170 o   Richard Renard <rrenard@idealx.com>
3171     * Update Netscape DS 5.2 LDAP schema.
3174 o   Simo Sorce <idra@samba.org>
3175     * Backport pdbedit changes from trunk.
3176     * Allows the add/change share command to create the shared 
3177       directory directory on disk.
3178     * Log a warning in testparm if a print command is defined for
3179       a print service using 'printing = cups'.
3180      
3181 o   Jelmer Vernooij <jelmer@samba.org>
3182     * Bug fixes for pdb_{xml,pqsql,xml}
3183     * Fixes for pdb_mysql.
3186 o   Andrew Tridgell <tridge@samba.org>
3187     * Bring Samba3 into line with the Samba4 password change code.
3188     
3190 o   Shiro Yamada <shiro@miraclelinux.com>
3191     * BUG 2190: Force SWAT to display parameters in unix charset and 
3192       not UTF-8.
3195       --------------------------------------------------
3196                    ==============================
3197                    Release Notes for Samba 3.0.10
3198                              Dec 16, 2004
3199                    ==============================
3201 Common bugs fixed in 3.0.10 include:
3203   o Fix for security issues described in CAN-2004-1154.
3206 Changes since 3.0.9
3207 -------------------
3209 commits
3210 -------
3212 o   Jeremy Allison <jra@samba.org>
3213     * Added checks surrounding all *alloc() calls to fix
3214       CAN-2004-1154.
3215     * Fix long standing memory size bug in bitmap_allocate().
3216     * Remove bogus error check in deferred open file serving 
3217       code.
3220 o   Thomas Bork <tombork@web.de>
3221     * Fix autoconf script on platforms using a version of GNU ld
3222       that does not include a date stamp in the output of --version.
3225 o   Luke Mewburn <lukem@NetBSD.org>
3226     * Fix the swat install script to deal with the new image
3227       destination directory used by the docs.
3228      
3231       --------------------------------------------------
3233                    =============================
3234                    Release Notes for Samba 3.0.9
3235                              Nov 15, 2004
3236                    =============================
3238 Common bugs fixed in 3.0.9 include:
3240   o Problem updating roaming user profiles.
3241   o Crash in smbd when printing from a Windows 9x client.
3242   o Unresolved symbols in libsmbclient which caused
3243     applications such as KDE's konqueror to fail when
3244     accessing smb:// URLs.
3247 Changes since 3.0.8
3248 -------------------
3251 commits
3252 -------
3254 o   Jeremy Allison <jra@samba.org>
3255     * Correctly detect errno for no acl/ea support.
3256     * BUG 2036: Fix seg fault in 'net ads join'.
3258     
3259 o   Gerald (Jerry) Carter <jerry@samba.org>
3260     * Solaris packaging fixes.
3261     * Fix seg fault in lanman printing code.
3262     * BUG 2017: fix testparm reporting for the passwd program 
3263       string.
3264     * Fix output of smbstatus to match the man page.
3265     * BUG 2027: fix conflict with declaration MD5_CTX in system 
3266       headers.
3267     * 2028: Avoid false error messages when copying a long 
3268       printer name to the device mode.
3271 o   Guenther Deschner <gd@samba.org> 
3272     * Allow deldriverex in rpcclient to delete drivers for a 
3273       specific architecture and a specific version.
3274     * Fix a couple of rpcclient spoolss commands (setprinter, 
3275       setprintername, getdriver) w.r.t to printer-naming scheme.
3276       Allow 'localhost' in the server string for certain server-side
3277       spoolss functions.
3278     * BUG 2015: Do not fail on setting file attributes with 
3279       acl support enabled.
3282 o   Michel Gravey <michel.gravey@optogone.com>
3283     * Fix build when using gcc 3.0.
3286 o   Volker Lendecke <vl@samba.org>
3287     * Fix tdb open logic when checking our local_pid after 
3288       the fork().
3291 o   Jim McDonough <jmcd@us.ibm.com>
3292     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
3293       non-root user.
3296 o   Luke Mewburn <lukem@NetBSD.org>
3297     BUG 1661: Fix KRB5_SETPW-defines
3300 o   Buchan Milne <bgmilne@mandrake.org> 
3301     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
3304 o   Lars Mueller <lmuelle@samba.org>
3305     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
3308 o   Martin Zielinski <mz@seh.de>
3309     * Add DeletePrinterDriverEx() functionality to rpcclient.
3310     
3312       --------------------------------------------------
3314                    =============================
3315                    Release Notes for Samba 3.0.8
3316                              Nov 7, 2004
3317                    =============================
3319 Common bugs fixed in 3.0.8 include:
3321   o Compile fixes for HP-UX
3322   o Fixes for the printer publishing code used when joined to 
3323     an AD domain.
3324   o Incompatibilities with file system quotas.
3325   o Several bugs in the spoolss printing code and print system 
3326     backends.
3327   o Inconsistencies in the username map functionality when 
3328     configured on domain member servers.
3329   o Various compile warnings and errors on various platforms.
3330   o Fixes for kerberos interoperability with Windows 200x 
3331     domains when using DES keys.
3332   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
3333   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
3335     
3336 New features included in the 3.0.8 release are:
3338   o New migration functionality added the the net tool
3339     for files/directories, printers, and shares.
3340   o New experimental idmap backend for assigning uids/gids
3341     directly based on the user/group RID when acting as a
3342     member of single domain without any trusts.
3343   o Additional printer migration support for XP/2003 platforms.
3346 ===========================
3347 Change in Winbindd Behavior
3348 ===========================
3350 All usernames returned by winbindd are now converted to lower 
3351 case for better consistency.  This means any winbind installation
3352 relying on the winbind username will need to rename existing 
3353 directories and/or files based on the username (%u and %U) to lower 
3354 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
3355 include mail spool files, home directories, valid user lines in 
3356 smb.conf, etc....
3359 ======================
3360 Change in Username Map
3361 ======================
3363 Previous Samba releases would only support reading the fully qualified 
3364 username (e.g. DOMAIN\user) from the username map when performing a 
3365 kerberos login from a client.  However, when looking up a map 
3366 entry for a user authenticated by NTLM[SSP], only the login name would be
3367 used for matches.  This resulted in inconsistent behavior sometimes
3368 even on the same server.
3370 Samba 3.0.8 obeys the following rules when applying the username
3371 map functionality:
3373   * When performing local authentication, the username map is 
3374     applied to the login name before attempting to authenticate 
3375     the connection.
3376   * When relying upon a external domain controller for validating
3377     authentication requests, smbd will apply the username map 
3378     to the fully qualified username (i.e. DOMAIN\user) only
3379     after the user has been successfully authenticated.
3382 ######################################################################
3383 Changes
3384 #######
3386 Changes since 3.0.7
3387 -------------------
3389 smb.conf changes
3390 ----------------
3391     Parameter Name                      Action
3392     --------------                      ------
3393     force printername                   New
3394     sendfile                            disabled by default
3397 commits
3398 -------
3400 o   Jeremy Allison <jra@samba.org>
3401     * Ensure extended security bit is on only if we negotiated 
3402       extended security.
3403     * Simplify statcache to use an in-memory tdb. 
3404     * If you're selecting a hash algorithm for tdb, you need 
3405       to do it at open time.
3406     * Removed old dir caching code - not being used now we 
3407       have the statcache anyway.
3408     * Simplify the mangle hash code to use an in-memory tdb.
3409     * Merge iconv changes from Samba 4 branch.
3410     * Fix parsing of names ending in dot and a few other error 
3411       returns.
3412     * BUG 1667: Smbpasswd file could be left locked on some 
3413       error exits.
3414     * Fixes for smbclient tar functionality.
3415     * BUG 1743: Fix logic bug the deferred open code.
3416     * Don't try to set security descriptors on shares where 
3417       this has been turned off.
3418     * Return correct error codes on old SEARCH call.
3419     * Ensure we set errno = E2BIG when we overflow in the 
3420       fast-path character conversion code.
3421     * Fix the roundup problem (returning 1mb roundup) for 
3422       non-Windows clients.
3423     * Added 'stat' command to smbclient to exercise the 
3424       UNIX_FILE_BASIC info level.
3425     * Fix bug where we could incorrectly set sparse attribute.
3426     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
3427       (reported by Taj Khattra <taj.khattra@gmail.com>).
3428     * Remove locked keys tdb code.
3429     * BUG 1886: Prevent delete on close being set for readonly files 
3430       (and return the correct error code).
3431     * Ensure we pass most of the new lock tests except for the cancel 
3432       lock which is yet to be added (merged from Samba 4 branch).
3433     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
3434     * BUG 1956: Ensure errno is saved and restored consistently on a 
3435       normal_close.
3436     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
3437       that all of the appropriate service principal names are set 
3438       upon joining an AD domain.
3439     * Fix the correct use of resume name in the trans2 code.
3440     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
3441       correct salt used when generated the DES key after joining an 
3442       AD domain.
3443     * Enhanced krb5 detection routines in the autoconf scripts.
3444   
3446 o   Andrew Bartlett <abartlet@samba.org>
3447     * Avoid changing the machine account password in the passdb 
3448       backend, when it has 'already been changed'.  This occurs 
3449       in situations where the secure channel between the workstation 
3450       and the DC breaks down, such as occurred in the MS04-11 
3451       security patch.
3452     * Fix utility name in error message in ntlm_auth.
3453     * Fix NTLMv2 for use with pam_winbind.
3454     * Remove conversion to and from UTF8 on the winbind pipe.
3455     * Allow 'require_membership_of' and 'require-membership-of'.
3456     * Fix the error code for 'you didn't specify a domain' in 
3457       ntlm_auth.
3458     * Use sys_getgroups() rather than scanning all groups 
3459       when generating SAMR replies.
3462 o   Igor Belyi <sambauser@katehok.ac93.org>
3463     * Ensure pdb user is deleted first before deleting UNIX 
3464       user (LDAP backend needs this ordering).
3467 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
3468     * Fix core dump in 'net rpc vampire'.
3469     
3471 o   Vince Brimhall <vbrimhall@novell.com>
3472     * Make ldapsam_compat robust against NULL attributes.
3475 o   Gerald Carter <jerry@samba.org>
3476     * Don't limit the number of groups returned by winbindd_getgroups()
3477       by NGROUPS_MAX.
3478     * BUG 1519: Match Windows 2000 behavior when opening a 
3479       printer using a servername in the form of an IP address or 
3480       DNS name.
3481     * BUG 1907: remove extra slashes from the printer name in 
3482       getprinterdriverdir_1().  
3483     * Fix standard_sub_snum() to use the current user's gid.
3484     * Fix background queue update bug (based on Volker's initial work 
3485       in 3.1.0).
3486     * Add 'force printername' service parameter for people that want 
3487       to enforce printername == sharename for spoolss printing.
3488     * Ensure consistent usage of the username map.  Use the fully 
3489       qualified DOMAIN\user format for 'security = domain|ads' and 
3490       apply after authentication has succeeded.
3491     * Cosmetic fix for getent output -- lowercase the username only 
3492       and not the complete domain\username string.
3493     * Packaging fixes for Solaris, Redhat, & Fedora.
3495     
3496 o   Sean Chandler <sean.chandler@verizon.net>
3497     * Fix memlieak in cliconnect.c.
3500 o   Darren Chew <darrenc@vicscouts.asn.au>
3501     * Solaris packaging fixes.
3502     
3504 o   Nalin Dahyabhai <nalin@redhat.com>
3505     * SMB signing fix for 56-bit DES session keys.
3508 o   Guenther Deschner <gd@samba.org> 
3509     * add IA64 to the architecture table of printer-drivers.
3510     * Add file/share/printer migration functionality to 
3511       the net command.
3512     * Show correct help for net groupmap commands.
3513     * Fix deadlock loop in winbind's required_membership_sid
3514       verification.
3515     * Bring the same level of "required_membership"-functionality 
3516       that ntlm_auth uses, to pam_winbindd as well.
3517     * Prevent "net lookup kdc" from seg-faulting when
3518       using our own implementation of krb5_lookup_kdc with 
3519       heimdal.
3520     * Adding getprinter level 7 to rpcclient.
3521     * Support migrating printers|shares|files from Server A 
3522       to Server B while running the net-command on client C.
3523     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
3524       failure of this call non-critical (Thanks to Love @ Heimdal
3525       for the explanation and patch).
3526     * Fix typos in net's usage-output.
3527     * Fix the paranoia-check to ensure the ldap-attribute and the
3528       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
3529       are identical.
3530     * Fix several bugs in the _samr_query_useraliases() rpc reply.
3531     * Check correct string length when verifying password-policies 
3532       and using extended characters (Thanks to Uwe Morgenroth from CC 
3533       Compunet and Volker).
3534     * Make 'password history'-behavior in ldapsam more consistent. 
3535     * Adding "Windows x64" as architecture string and driverdir "x64" 
3536       for the 64bit AMD platform.
3537     * BUG 1343: Readd WKGUID-binding to match the correct default-
3538       locations of new User-, Group- and Machine-Accounts in Active 
3539       Directory (this got lost during the last trunk-merge).
3540     * Fix printer-migration w.r.t. to new naming-convention for
3541       policy-handles.
3542     * Allow to migrate win2k3/xp-drivers as well. 
3543     * Add client-side support of triggering ads printer publishing 
3544       over msrpc setprinter calls inside the net-tool. 
3545     * Add the idmap_rid module (written in conjunction with 
3546       Sumit Bose <sbose@suse.de>).
3547     * BUG 1661: Fix build with recent heimdal releases.
3548     * Prevent idmap_rid from making unnecessary calls to domain 
3549       controllers for trusted domains.
3552 o   Arthur van Dongen <avdongen@xs4all.nl>
3553     * Fix typos in pam_winbind log messages and SuSE 
3554       packaging files.
3557 o   Rob Foehl <rwf@loonybin.net>
3558     * Typo fixes for log messages in printer publishing code.
3559     * Fix memory leak in printer publishing code.
3560     * Ensure print_backend_init() only gets called once.
3561     * Have smbd check the published status of all printers 
3562       at startup.
3563     * Cleanup up the XXX_a_printer() API for consistency.
3564     * Refactored the printer publishing code and include better 
3565       error handling.
3568 o   Steve French <sfrench@us.ibm.com>
3569     * Fix IP address override in mount.cifs mount helper and clean 
3570       up warning messages from the sparse tool and expand syntax help.
3571     * Strip guest mount option off before sending to kernel mount 
3572       routine to avoid logging spurious message.
3575 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
3576     * BUG 1732: Limit share names returned by RAP based on windows 
3577       character width, not unix character width.
3578     * BUG 1498: Ensure that acl entries are stored in the correct 
3579       order.
3582 o   Brett Funderburg <brett@deepfile.com>
3583     * Pass create options parameter to nt_create_andx() function
3584       from the python bindings.
3585     * BUG 1864: Add sd->type field to security descriptor Python 
3586       representation.
3587     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
3588       when trying to return the security descriptor for a file.
3589     * BUG 1884: Fixes for the Python bindings to use the value
3590       of the desired_access filed passed into the lsa_open_policy()
3591       routines.
3594 o   Michael Gravey <michel.gravey@optogone.com>
3595     * BUG 1776: Fix warnings when building modules caused by 
3596       certain versions of GNU ld not using the the default 
3597       --allow-shlib-undefined flag.
3600 o   Chris Hertel <crh@samba.org>
3601     * Fix logic bug in splay tree data structure when finding 
3602       a leaf node.
3603     * Fix bug where an invalid MAC address would be printed by 
3604       a node status lookup from nmblookup.
3606       
3607 o   Uli Iske <iske@elkb.de>
3608     * Update the DNS/eDirectory LDAP schema file.
3611 o   Björn Jacke <bjacke@sernet.de>
3612     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
3613       UTF-8.  Reformat msgstr in msg-files to UTF-8.
3614     * Do not use display charset for swat output.
3615     * Convert the share names correctly from unix encoding to web 
3616       encoding and vice versa. 
3617     * Convert files from status page from unix charset to UTF-8.
3620 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
3621     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
3624 o   Tom Lackemann <cessnatomny@yahoo.com>
3625     * BUG 1954: Fix memory leak in posix acl code.
3628 o   Volker Lendecke <vl@samba.org>
3629     * Robustnss fix for winbindd when sending multiple requests 
3630       at a high rate for a slow operation.  
3631     * Solve the problem of user sids ending up with gid's 
3632       and vice versa.
3633     * Use sys_fork instead of fork for the dual daemon so that 
3634       we get the correct debug pid in the logfiles.
3635     * Based on patch from jmcd, implement special lists for the LDAP 
3636       user attributes to delete.
3637     * Fix creation of aliases via usrmgr. Winbind was too strict 
3638       checking the type of sids.
3639     * Lowercase all usernames returned by winbind.
3640     * BUG 1545, 1823: Only issue the ldap extended password change 
3641       operation if the ldap server supports it.  Also ignore object 
3642       class violation errors from the extended operation.
3643     * Optimization for 'idmap backend = ldap': When asking sid2id 
3644       for the wrong type, don't ask ldap when we have the opposite mapping 
3645       in the local tdb.
3646     * Fix ldapsam_compat homeDrive.
3647     * Add usersidlist and allowedusers subcommands to the net tool
3648       in order to support scanning a file server's share and list 
3649       all users who have permission to connect there.
3650     * Allow for multiple DC's to be named as #1c names in lmhosts.
3651     * Memory leak fixes.
3652     * Fix checks for the local pid of an smbd process after 
3653       reopening tdbs.
3656 o   Herb Lewis <herb@samba.org>
3657     * Added tdbtool to be built by default.
3660 o   Love <lha@stacken.kth.se>
3661     * BUG 1955: Inconsistent error return.
3664 o   Sorin Manolache <sorinm@gmail.com>
3665     * Memory leak fix.
3668 o   Jim McDonough <jmcd@us.ibm.com>
3669     * Allow 'net ads lookup' to rely on command line arguments 
3670       if contacting an ADS server fails; utilize cldap for lookups.
3671     * Fixup formatting errors in TDB_LOG calls; add printf attribute
3672       support to tdb log functions.
3675 o   Bill McGonigle <bill+samba@bfccomputing.com>
3676     * BUG 1926: Type in debug message.
3679 o   Sean McGrath
3680     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
3681       for libsmbclient.
3684 o   Luke Mewburn <lukem@NetBSD.org>
3685     * BUG 1782: Prevent testparm from displaying parameter synonyms.
3688 o   Stefan Metzmacher <metze@samba.org>    
3689     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
3690     * Fix client quota support.
3691     * Fix opening of system quota file.
3694 o   Lars Mueller <lmuelle@samba.org>
3695     * Small fixes for autogen.sh to deal with version detection 
3696       of autoconf and autoheader; fixes for examples using 
3697       libtool to adhere to stricter syntax of newer version.
3700 o   Henrik Nordstrom <hno@squid-cache.org>
3701     * Allow winbindd to return the correct number of groups 
3702       when the groups array must be enlarged.
3705 o   Narayana Pattipati <narayana.pattipati@wipro.com>
3706     * Solaris autoconf detection fixes.
3709 o   Tim Potter <tpot@samba.org>
3710     * BUG 1360: (correct fix) Use -Wl when passing flags to 
3711       the linker.
3712     * HP-UX compile fixes (from JBravo on #samba-technical).
3713     * BUG 1731: More HP-UX compiles fixes.
3714     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
3715       spits the dummy otherwise.
3716     * Fix bug in Python printerdata wrapper.
3717     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
3718       <bugzilla-samba@thewrittenword.com>).
3719     * Fix parameter confusion in priming of name-to-sid cache
3720       (Found by Qiao Yang).
3721     * BUG 1888: Remove '..' from all pre-processor commands.
3722     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
3723       DEBUG_PASSWORD.
3726 o   Matt Selsky <selsky@columbia.edu>
3727     * BUG 350: use autoconf 2.57 feature for checking header file
3728       preprocessing (fixes configure warnings on Solaris).
3731 o   Richard Renard <rrenard@idealx.com>
3732     * Fix usermgr.exe and trust relationships.
3735 o   Paul Szabo <psz@maths.usyd.edu.au>
3736     * Fix to make find_workgroup use the same 
3737       truncation as create_workgroup.
3740 o   Richard Sharpe <rsharpe@samba.org>
3741     * Ensure cli_write() can support writes >= 65536 bytes.
3744 o   Simo Sorce <idra@samba.org>
3745     * Added check password script code in examples/auth/crackcheck/
3746     * Fix memory corruption bug caused in freeing static memory.
3749 o   Andrew Tridgell <tridge@samba.org>
3750     * Remove lp_use_mmap() from map_file() since the latter 
3751       is for read only and does not require coherence.
3752     * Ensure that the uuid pack/unpack routines do not go past 
3753       the end of the structure.
3754     * Converted Samba 3 tree to use the new utf-16 aware iconv 
3755       code. 
3756     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
3757     * Ensure configure only uses '=' instead of the bashism '=='.
3758     * Reduces the number of tdb locking calls made on file IO.
3759     
3761 o   Jelmer Vernooij <jelmer@samba.org>
3762     * Convert internal data to UTF-8 before calling libxml2.
3763     * Complain if 'password chat' doesn't contain the %u variable
3764       (based on a patch by Ronan Waide).
3765     
3767 o   Josef Zlomek
3768     * BUG 1541:  Fix recursive ls in smbclient. 
3770     
3771 o   Igor Zhbanov <bsg@uniyar.ac.ru>
3772     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
3773       option.
3775       --------------------------------------------------
3777                   =============================
3778                   Release Notes for Samba 3.0.7
3779                            Sept 13, 2004
3780                   =============================
3782 Common bugs fixed in 3.0.7 include:
3784   o Fixes for two Denial of Service vulnerabilities
3785     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
3786   o Winbind failure to return user entries under certain
3787     conditions.
3788   o Syntax errors in the OpenLDAP schema file (samba.schema).
3789   o Printing errors caused by not setting default values
3790     for the various printing commands.
3793 Changes since 3.0.6
3794 -------------------
3796 smb.conf changes
3797 ----------------
3799     Parameter Name                      Action
3800     --------------                      ------
3801     winbind enable local accounts       disabled by default
3803     
3804 commits
3805 -------
3806 o   Jeremy Allison <jra@samba.org>
3807     * Fix parsing of names ending in dot and a few other error 
3808       returns.
3809     * BUG 1674: Move the symlinks checks into reduce_name().
3810     * Fix memleak when checking the valid names smb.conf option.
3811     * Fix memleak on error return path in the file open code.
3812     * More paranoia checks in the hash2 mangling code.
3813     * Fix syntax error in configure.in.
3814     * Match Win2k3's behavior for pathname parsing error returns.
3815     * Make nmbd more robust against bad netbios packets 
3816       (CAN-2004-0808).
3817     * Add more checks for invalid ASN.1 packets for SPNEGO packets
3818       (CAN-2004-0807).
3820   
3821 o   Andrew Bartlett <abartlet@samba.org>  
3822     * Janitor work in loadparm.c -- remove unused parameters.
3825 o   Gerald Carter <jerry@samba.org>
3826     * BUG 1464: Ensure that printing commands are initialized even
3827       if the 'printing' parameter is not explicitly set.
3828     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
3829       Adharsh Praveen <rprav@india.hp.com>)
3830     * Work around parsing error in the print change notify code.
3831     * remove duplicate declaration of getprintprocdir from 
3832       rpcclient.
3833     * Only use sAMAccountName and not userPrincipalName when looking
3834       up a username in AD since the breaks winbindd (lookup_name() 
3835       only works with the sAMAccountName).
3836     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
3837       filling in the username in the user_info3.
3838     * Fix logic bug in the check for creating a user's home directory 
3839       in register_vuid(); caused home directory to be mismatched to 
3840       the first share in smb.conf under certain conditions.
3841     * BUG 1656: rename auto.a to auto.smb.
3842     * Ensure that we assign our pid to print jobs (and not our 
3843       parent's pid); ensures that spooling jobs from dead smbds 
3844       are removed from the tdb.
3845     * Disable 'winbind enable local accounts' by default.
3846     * Adding some initial checks for DragonFly (same as 
3847       FreeBSD 4.1).
3848     
3850 o   Guenther Deschner <gd@samba.org> 
3851     * Use SMB_ASSERT() to track down NULL printer names in 
3852       the tdb open code.
3853     * Revert fix for BUG 1474 to avoid unnecessary packaging 
3854       dependencies.
3857 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
3858     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
3859       and 5.1.
3860     * BUG 1626: More compile fixes.
3863 o   Rob Foehl <rwf@loonybin.net>
3864     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
3865       by attempts to sanitize the defined attributes.
3868 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
3869     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
3872 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
3873     * BUG 1657: Remove used initialized variable, 
3874     * BUG 1658: Add a little bit of const.
3877 o   Volker Lendecke <vl@samba.org>
3878     * If there's garbage in the pidfile, we should not panic 
3879       but assume that no one else is around. We can't find the 
3880       other guy anyway.
3883 o   Jim McDonough <jmcd@us.ibm.com>
3884     * Fixup format string in the tdb error messages.
3887 o   Jonas Olsson <lexicon@lysator.liu.se>
3888     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
3889       reporting the list in usrmgr.exe.
3892 o   Tim Potter <tpot@samba.org>
3893     * Fix out-of-tree builds (problem with the script to generate 
3894       the svn version number).
3895     * BUG 1360:  Need to use -Wl when passing flags to the linker.
3896     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
3897       doesn't have one of its own.
3899 o   Simo Sorce <idra@samba.org>
3900     * Fixup compile issues on AIX caused by broken strlen() and 
3901       strdup().
3902     * Update debian packaging files.
3905 o   Dimitri van der Spek <dwspek@aboveit.nl>
3906     * Use the correct counter when copying group rids from the 
3907       user_info3 struct in pam_winbind.
3908       
3910 o   Qiao Yang <qyang@stbernard.com>
3911     * BUG 1622: Only cache the user
3914       --------------------------------------------------
3915       
3916                   =============================
3917                   Release Notes for Samba 3.0.6
3918                            Aug 19, 2004
3919                   =============================
3921 Common bugs fixed in 3.0.6 include:
3923   o Schannel failure in winbindd.
3924   o Numerous memory leaks.
3925   o Incompatibilities between the 'write list' and 'force user'
3926     smb.conf options.
3927   o Premature optimization of the open_directory() internal 
3928     function that broke tools such as the ArcServe backup 
3929     agent, Macromedia HomeSite, and Robocopy.
3930   o Corrupt workgroup names in nmbd's browse.dat.
3931   o Sharing violation errors commonly seen when opening
3932     when serving Microsoft Office documents from a Samba 
3933     file share.
3934   o Browsing problems caused by an apostrophe (') in the 
3935     computer's description field.
3936   o Problems creating special file types from UNIX CIFS 
3937     clients and enabling 'unix extensions'.
3938   o Fix stalls in smbd caused by inaccessible LDAP servers.
3939   o Remove various memory leaks.
3940   o Fix issues in the password lockout feature.
3942 New features introduced in this release include:
3944   O Support symlinks created by CIFS clients which 
3945     can be followed on the server.
3946   o Using a cups server other than localhost.
3947   o Maintaining the service principal entry in the system 
3948     keytab for integration with other kerberized services.
3949     Please refer to the 'use kerberos keytab' entry in 
3950     smb.conf(5).  When using the heimdal kerberos libraries,
3951     you must also specify the following in /etc/krb5.conf:
3952     [libdefaults]
3953        default_keytab_name = FILE:/etc/krb5.keytab
3954   o Support for maintaining individual printer names
3955     stored separately from the printer's sharename.
3956   o Support for maintaining user password history.
3957   o Support for honoring the logon times for user in a 
3958     Samba domain.
3961 ============================================
3962 unix extensions = yes (default) and symlinks
3963 ============================================
3965 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
3966 clients supporting the UNIX extensions to the CIFS protocol 
3967 can create symlinks to absolute paths which will be **followed** 
3968 by the server.  This functionality has been requested in order 
3969 to correctly support certain applications when the user's home 
3970 directory is mounted using some type of CIFS client (e.g. the 
3971 cifsvfs in the Linux 2.6 kernel).
3973 If this behavior is not acceptable for your production environment
3974 you can set 'wide links = no' in the specific share declaration in 
3975 the server's smb.conf.  Be aware that disabling wide link support 
3976 out of a share in Samba may impact the server's performance due 
3977 to the fact that smbd will now have to check each path additional 
3978 times before traversing it.
3979   
3981 ========================
3982 Password History Support 
3983 ========================
3985 The new password history feature allows smbd to check the new 
3986 password in password change requests against a list of the user's
3987 previous passwords.  The number of previous passwords to save can 
3988 be set using pdbedit (4 in this example):
3990    root# pdbedit -P "password history" -C 4
3992 When using the ldapsam passdb backend, it is vital to secure the 
3993 following attributes from access by non-administrative users:
3995    * sambaNTPassword
3996    * sambaLMPassword
3997    * sambaPasswordHistory
3999 You should refer to your directory server's documentation on how 
4000 to implement this restriction.
4003 Changes since 3.0.5
4004 -------------------
4006 smb.conf changes
4007 ----------------
4009     Parameter Name              Action
4010     --------------              ------
4011     cups server                 New
4012     defer sharing violations    New
4013     force unknown acl user      New
4014     ldap timeout                New
4015     printcap cache time         New
4016     use kerberos keytab         New
4017     
4018 commits
4019 -------
4020 o   Jeremy Allison <jra@samba.org> 
4021     * Correct path parsing bug that broke DeletePrinterDriverEx().
4022     * Fix bugs in check_path_syntax() caught by asserts.
4023     * Internal change - rearrange internal global case setting 
4024       variables to a per connection basis.
4025     * BUG 1345: Fix premature optimization in unix_convert(). 
4026     * Allow clients to truncate a locked file.
4027     * BUG 1319: Always check to see if a user as write access
4028       to a share, even when 'force user' is set.
4029     * Fix specific case of open that doesn't cause oplock break, 
4030       or share mode check.
4031     * Correct sid type is WKN_GROUP, not alias. Added some 
4032       more known types (inspired by patch from Jianliang Lu).
4033     * Allow creation of absolute symlink paths via CIFS clients.
4034     * Fix charset bug in when invoking send_mailslot().
4035     * When using widelinks = no, use realpath to canonicalize 
4036       the connection path on connection create for the user. 
4037     * Enhance stat open code.
4038     * Fix unix extensions mknod code path.
4039     * Allow unix domain socket creation via unix extensions.
4040     * Auto disable the 'store dos attribute' parameter if the 
4041       underlying filesystem doesn't support EAs.
4042     * Implement deferred open code to fix a bug with Excel files 
4043       on Samba shares.
4044     * BUG 1427: Catch bad path errors at the right point.  Ensure 
4045       all our pathname parsing is consistent.
4046     * Fix SMB signing error introduced by the new deferred open 
4047       code.
4048     * Change default setting for case sensitivity to "auto". (see 
4049       commit message -- r1154 -- for details).
4050     * Add new remote client arch -- CIFSFS.
4051     * Allow smbd to maintain the service principal entry in the 
4052       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
4053       Guenther Deschner, et. al.).
4054     * Fix longstanding memleak bug with logfile name.
4055     * Fix incorrect type in printer publishing (struct uuid, 
4056       not UUID_FLAT).
4057     * Heimdal compile fixes after introduction of the new ketyab 
4058       feature.
4059     * Ensure we check attributes correctly on rename request.
4060     * Ensure we defer a sharing violation on rename correctly.
4061     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
4062       on timeout.
4063     * Fix bogus error message when using "mangling method = hash" 
4064       rather than hash2.
4065     * Turn on sendfile by default for non-Win9x clients.
4066     * Handle non-io opens that cause oplock breaks correctly.
4067     * Ensure ldap replication sleep time is not more than 5 seconds.
4068     * Add support for storing a user's password history.
4069       LDAP portion of the code was based on a patch from 
4070       Jianliang Lu <j.lu@tiesse.com>.
4071     * Correct memory leaks found in the password change code.
4072     * Fix support for the mknod command with the Linux CIFS client.
4073     * Remove support for passing the new password to smbpasswd 
4074       on the command line without using the -s option.
4075     * Ensure home directory service number is correctly reused
4076       (inspired by patches from Michael Collin Nielsen 
4077       <michael@hum.aau.dk>).
4078     * Fix to stop printing accounts from resetting the bas 
4079       password and account lockout flags.
4080     * If a account was locked out by an admin (and has a bad 
4081       password count of zero) leave it locked out until an admin 
4082       unlocks it (but log a message).
4083     * Ensure we return the same ACL revision on the wire that 
4084       W2K3 does.
4085     * BUG 1578: Hardcode replacement for invalid characters as '_'
4086       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
4087     * Fix hashed password history for LDAP backends.
4088     * Enforce logon hours restrictions if confiogured (based on code 
4089       from Richard Renard <rrenard@idealx.com>).
4090     * BUG 1606: Force smbd to disable sendfile with DOS clients 
4091       and ensure that the chained header is filled in for ...&X 
4092       commands.
4093     * BUG 1602: Fix access to shares when all symlink support 
4094       has been disabled.
4098 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
4099     * Allow pdbedit to export a single user from a passdb backend.
4100     
4102 o   Andrew Bartlett <abartlet@samba.org>  
4103     * Fix parsing bug in GetDomPwInfo().
4104     * Fix segfault in 'ntlm_auth --diagnostics'.
4105     * Re-enable code to allow sid_to_gid() to perform a group 
4106       mapping lookup before checking with winbindd.
4107     * Fix memory leak in the trans2 signing code.
4108     * Allow more flexible GSS-SPENGO client and server operation 
4109       in ntlm_auth.
4110     * Improve smbd's internal random number generation.
4111     * Fix a few outstanding long password changes in smbd.
4112     * Fix LANMAN2 session setup code.
4115 o   Eric Boehm <boehm@nortelnetworks.com>
4116     BUG 703: Final touches on netgroup case lookups.
4117     
4118     
4119 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
4120     * Ensure error status codes don't get overwritten in 
4121       lsa_lookup_sids() server code.
4122     * Correct bug that caused smbd to overwrite certain error 
4123       codes when returning up the call stack.
4124     * Ensure the correct sid type returned for builtin sids.
4127 o   Gerald Carter <jerry@samba.org>
4128     * Fix a few bugs in the Fedora Packaging files.
4129     * Fix for setting the called name to by our IP if the 
4130       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
4131       with connecting to printers via \\ip.ad.dr.ess\printer 
4132       UNC path.
4133     * BUG 1315: fix for schannel client connections to servers
4134       when we haven't specifically negotiated AUTH_PIPE_SEAL.
4135     * Allow PrinterDriverData valuenames with embedded backslashes
4136       (Fixes bug with one of the Konica Fiery drivers).
4137     * Fixed string length miscalculation in netbios names that 
4138       resulted in corrupt workgroup names in browse.dat.
4139     * When running smbd as a daemon, launch child smbd to update 
4140       the lpq cache listing in the background.
4141     * Allow printers "Printers..." folder to be renamed to a string 
4142       other than the share name.
4143     * Allow winbindd to use domain trust account passwords when 
4144       running on a Samba DC to establish an schannel to remote 
4145       domains.
4146     * Fix bad merge and ensure that we always use tdb_open_log() 
4147       instead of tdb_open_ex() (the former call enforce the 'use 
4148       mmap' parameter).
4149     * BUG 1221: revert old change that used single and double 
4150       quotes as delimeters in next_token(), and change 
4151       print_parameter() to print out parm values surrounded by 
4152       double quotes (instead of single quotes).
4153     * Prevent home directories added during the SMBsesssetup&X from 
4154       being removed as unused services.
4155     * Invalidate the print object cache for open printer handles when
4156       smbd receives a message that an attribute on a given printer 
4157       has been changed.
4158     * Cause the configure script to exit if --enable-cups[=yes] is 
4159       defined and the system does not have the cups devel files 
4160       installed.
4161     * BUG 1297: Prevent map_username() from being called twice 
4162       during logon.
4163     * Ensure that we use the userPrincipalName AD attribute 
4164       value for LDAP SASL binds.
4165     * Ensure we remove the tdb entry when deleting a job that 
4166       is being spooled.
4167     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
4168       client sends a FindNextPrintChangeNotify() request without 
4169       previously sending a FindFirstPrintChangeNotify().  Return 
4170       the same error code as Windows 2000 SP4.
4171     * BUG 1516: Manually declare ldap_open_with_timeout() to 
4172       workaround compiler errors on IRIX (or other systems without 
4173       LDAP headers).
4174     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
4175       3.0.5.
4176     * Corrected syntax error in the OID for sambaUnixIdPool, 
4177       sambaSidEntry, & sambaIdmapEntry object classes.
4178     * Tighten the cache consistency with the ntprinters.tdb entry 
4179       an the in memory cache associated with open printer handles.
4180     * Make sure that register_messages_flags() doesn't overwrite 
4181       the originally registered flags.
4184 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
4185     * Debian BUG 252591: Ensure that the return value from the 
4186       number of available interfaces is initialized in case no 
4187       interfaces are actually available.
4190 o   Guenther Deschner <gd@sernet.de> 
4191     * Implement 'rpcclient setprintername'.
4192     * Add local groups to the user's NT_TOKEN since they are 
4193       actually supported now.
4194     * Heimdal compile fixes after introduction of the new keytab 
4195       feature.
4196     * Correctly honor the info level parameter in 'rpcclient 
4197       enumprinters'.
4198     * Reintroduce 'force unknown acl user' parameter.  When getting a 
4199       security descriptor for a file, if the owner sid is not known, 
4200       the owner uid is set to the current uid. Same for group sid.
4201     * Ensure that REG_SZ values in the SetPrinterData actually 
4202       get written in UNICODE strings rather than ASCII.
4203     * Ensure that the last kerberos error return is not invalid.
4204     * Display share ACL entries from rpcclient.
4205     * Correct infinite loop in pam_winbind's verification of 
4206       group membership in the 'other sids' field in the user_info3 
4207       struct.
4210 o   Fabian Franz <FabianFranz@gmx.de>
4211     * Support specifying a port in the device URL passed to smbspool.
4212     
4213     
4214 o   Steve French <sfrench@us.ibm.com>
4215     * Handle -S and user mount parms in mount.cifs.
4216     * Fix user unmount of shares mount with suid mount.cifs.
4217     * prevent infinite recusion in reopen_logs() when expanding 
4218       the smb.conf variable %I.
4221 o   Bjoern Jacke <bj@sernet.de>
4222     * Install libsmbclient into $(LIBDIR), not into hard coded 
4223       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
4224       and an explicit configure --libdir setting.
4227 o   <kawasa_r@itg.hitachi.co.jp>
4228     * Correct more memory leaks and initialization bugs.
4229     * Fix bug that prevented core dumps from being generated 
4230       even if you tried.
4231     * Connect to the winbind pipe in non-blocking mode to 
4232       prevent processes from hanging.
4233     * Memory leak fixes.
4236 o   Stephan Kulow <coolo@suse.de>
4237     * Fix crash bug in libsmbclient.
4240 o   Volker Lendecke <vl@samba.org>
4241     * Added vfs_full_audit module.
4242     * Add vfs_afsacl.c which can display & set AFS acls via 
4243       the NT security editor.
4244     * Fix crash bug caused by trying to Base64 encode a NULL string.
4245     * Fix DOS error code bug in reply_chkpath().
4246     * Correct misunderstanding of the max_size field in 
4247       cli_samr_enum_als_groups;  it is more like an account_control 
4248       field with individual bits what to retrieve.
4249     * Implement 'net rpc group rename' -- rename domain groups.
4250     * Implement the 'cups server' option. This makes it possible 
4251       to have virtual smbd's connect to different cups daemons.
4252     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
4253     * Fix sid_to_gid() calls in winbindd to prevent loops.
4254     * Ensure that local_sid_to_gid() sets the type of the group on 
4255       return.
4256     * Make sure that the clients are given back the IP address to 
4257       which they connected in the case of a multi-homed host. Only 
4258       affects strings the spoolss printing replies.
4259     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
4260       did not ask for the modifyTimestamp attribute, so it could 
4261       not find it.   Try not to regress by not putting that attrib 
4262       in the main list but append it manually for the relevant searches.
4263     * Fix two memleaks in login_cache.c.
4264     * fixes memory bloat when unmarshalling strings.
4265     * Fix compile errors using gcc 3.2 on SuSE 8.2.
4266     * Fix the build for systems without kerberos headers.
4267     * Allow winbindd to handle authentication requests only when 
4268       started without either an 'idmap uid' or 'idmap gid' range.
4269     * Fix the build for systems without ldap headers.
4270     * Fix interaction between share security descriptor and the 
4271       'read only' smb.conf option.
4272     * Fix bug that caused _samr_lookupsids() with more than 32 (
4273       MAX_REF_DOMAINS) SIDs to fail.
4274     * Allow the 'idmap backend' parameter to accept a list of 
4275       LDAP servers for failover purposes.
4276     * Revert code in smbd to remove a tdb when it has become 
4277       corrupted.
4278     * Add paranoid checks when mapping SIDs to a uid/gid to 
4279       ensure that the type is correct.
4280     * Initial work on getting client support for sending mailslot 
4281       datagrams.
4282     * Add 'ldap timeout' parameter.
4283     * Dont always uppercase 'afs username map'.
4284     * Expand aliases for getusersids as well.
4285     * Improved NT->AFS ACL mapping VFS module.
4288 o   Herb Lewis <herb@samba.org>
4289     * Add the acls debug class.
4290     * Fix logic bug in netbios name truncate routine.
4291     * Fix smbd crash caused by smbtorture IOCTL test.
4292     * Fix errno tromping before calling iconv to reset the 
4293       conversion state.
4294     * need to leave empty dacl so we can remove last ACE.
4297 o   Jianliang Lu <Jianliang.Lu@getronics.com>
4298     * Fix to stop smbd hanging on missing group member in 
4299       get_memberuids().
4300     * Make sure Samba returns the correct group types.
4301      * Reset the bad password count password counts upon a successful login.
4302      
4303      
4304 o   Jason Mader <jason@ncac.gwu.edu>
4305     * BUG 1385: Don't use non-consts in a structure initialization.
4306     
4308 o   Jim McDonough <jmcd@us.ibm.com>
4309     * BUG 1279: SMBjobid fix for Samba print servers running on 
4310       Big-Endian platforms.
4313 o   Joe Meadows <jameadows@webopolis.com>
4314     * Add optional timeout parameter to ldap open calls.
4315     * Allow get_dc_list() to check the negative cache.
4318 o   Stefan Metzmacher <metze@samba.org>    
4319     * fix a configure logic bug for linux/XFS quotas when 
4320       using --with-sys-quotas.
4321     * Use quota debug class in quota code.
4322     * print out the SVN revision by configure,
4323     
4325 o   Buchan Milne <bgmilne@mandrake.org>
4326     * Mandrake packaging fixes.
4327     
4328     
4329 o   Lars Mueller <lmuelle@samba.org>
4330     * BUG 1279: Added 'printcap cache time' parameter.
4331     * Fix afs related build issues on SuSE.
4332     * Fix compiler warnings in the kerberos client code.
4335 o   James Peach <jpeach@sgi.com>
4336     * More iconv detection fixes for IRIX.
4337     * Compile fixed for systems that do not have C99/UNIX98 compliant 
4338       vsnprintf by default.
4339     * Prevent smbd from attempting to use sendfile at all if it is 
4340       not supported by the server's OS.
4341     * Allow SWAT to search for index.html when serving html files 
4342       in a directory.
4345 o   Dan Peterson
4346     * Implement NFS quota support on FreeBSD.
4349 o   Tim Potter <tpot@samba.org>
4350     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
4351       avoid conflicts with identical symbols in the global namespace 
4352       when loading libnss_wins.so.
4355 o   Richard Renard <rrenard@idealx.com>
4356     * Save the current password as it is being changed into the 
4357       password history list.
4360 o   Richard Sharpe <rsharpe@samba.org>
4361     * Fix error return codes on some lock messages.
4362     * BUG 1178: Make the libsmbclient routines callable 
4363       by C++ programs.
4364     * BUG 1333: Make sure we return an error code when 
4365       things go wrong.
4366     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
4367       share mode locking requests fail.
4370 o   Simo Sorce <idra@samba.org>
4371     * Update Debian stable & unstable packaging.
4372     * Tidy up parametric options in testparm output.
4375 o   Richard Sharpe <rsharpe@samba.org>
4376     * Add sigchild handling to winbindd to restart the child 
4377       daemon if necessary.
4380 o   Tom Shaw <tomisfaraway@gmail.com>
4381     * Use winbindd_fill_pwent() consistently.
4384 o   Nick Thompson <nickthompson@agere.com>
4385     * Protect smbd against broken filesystems which return zero 
4386       blocksize.
4389 o   Andrew Tridgell <tridge@samba.org>
4390     * Fixed bug in handling of timeout in socket connections.
4391      
4393 o   Nick Wellnhofer <wellnhofer@aevum.de>    
4394     * Prevent lp_interfaces() list from being corrupted.  Fixes
4395       bug where nmbd would lose the list of network interfaces 
4396       on the system and consequently shutdown.
4398       
4399 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
4400     * Fix ntlm_auth memory leaks.
4403 o   Jelmer Vernooij <jelmer@samba.org>
4404     * Additional NT status to unix error mappings.
4405     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
4406       get duplicate symbol errors.
4407     * Return an error when the last command read from stdin 
4408       fails in smbclient.
4409     * Prepare for better error checking in tar.
4410     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
4411       
4413       --------------------------------------------------
4414       
4415                  =============================
4416                  Release Notes for Samba 3.0.5
4417                          July 20, 2004
4418                  =============================
4420 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
4421 the exception of correcting the two security issues outlined 
4422 below.
4424 ######################## SECURITY RELEASE ########################
4426 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
4427 CVE ID:        CAN-2004-0600, CAN-2004-0686
4428                (http://cve.mitre.org/)
4431 This is the latest stable release of Samba. This is the version
4432 that production Samba servers should be running for all current
4433 bug-fixes.
4435 It has been confirmed that versions of Samba 3 prior to v3.0.4
4436 are vulnerable to two potential buffer overruns.  The individual
4437 details are given below.
4439 =============
4440 CAN-2004-0600
4441 =============
4443 Affected Versions:      Samba 3.0.2 and later
4445 The internal routine used by the Samba Web Administration
4446 Tool (SWAT v3.0.2 and later) to decode the base64 data
4447 during HTTP basic authentication is subject to a buffer
4448 overrun caused by an invalid base64 character.  It is
4449 recommended that all Samba v3.0.2 or later installations
4450 running SWAT either (a) upgrade to v3.0.5, or (b) disable
4451 the swat administration service as a temporary workaround.
4453 This same code is used internally to decode the
4454 sambaMungedDial attribute value when using the ldapsam
4455 passdb backend. While we do not believe that the base64
4456 decoding routines used by the ldapsam passdb backend can
4457 be exploited, sites using an LDAP directory service with
4458 Samba are strongly encouraged to verify that the DIT only
4459 allows write access to sambaSamAccount attributes by a
4460 sufficiently authorized user.
4462 The Samba Team would like to heartily thank Evgeny Demidov
4463 for analyzing and reporting this bug.
4465 -------------
4466 CAN-2004-0686
4467 -------------
4469 Affected Versions:      Samba 3.0.0 and later
4471 A buffer overrun has been located in the code used to support
4472 the 'mangling method = hash' smb.conf option.  Please be aware
4473 that the default setting for this parameter is 'mangling method
4474 = hash2' and therefore not vulnerable.
4476 Affected Samba 3 installations can avoid this possible security
4477 bug by using the default hash2 mangling method.  Server
4478 installations requiring the hash mangling method are encouraged
4479 to upgrade to Samba 3.0.5.
4482 ##################################################################
4484     --------------------------------------------------
4485                  
4486                  =============================
4487                  Release Notes for Samba 3.0.4
4488                           May 8, 2004
4489                  =============================
4491 Common bugs fixed in Samba 3.0.4 include:
4493   o Password changing after applying the patch described in 
4494     the Microsoft KB828741 article to Windows clients.
4495   o Crashes in smbd.
4496   o Managing print jobs via Windows on Big-Endian servers.
4497   o Several memory leaks in winbindd and smbd.
4498   o Compile issues on AIX and *BSD.
4500 Changes since 3.0.3
4501 --------------------
4503 commits
4504 -------
4506 o   Jeremy Allison <jra@samba.org>
4507     * Fix path processing for DeletePrinterDriverEx().
4508     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
4509       breakage.
4512 o   Andrew Bartlett <abartlet@samba.org>
4513     * Fix alignment bug in GetDomPwInfo().
4516 o   Alexander Bokovoy <ab@samba.org>
4517     * Fix utime[s]() issues in smbwrapper on systems 
4518       that can boot both the 2.4 and 2.6 Linux kernels.
4521 o   Gerald Carter <jerry@samba.org>
4522     * Fedora packaging fixes.
4523     * BUG 1302: Fix seg fault by not trying to optimize a list of 
4524       invalid gids using the wrong array size.
4525     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
4526       seen when 'security = share'.
4527     * Fix problems when using IBM's compiler on AIX.
4528     * Link Developer's Guide, Example Guide, and multi-page HOWTO
4529       into SWAT's welcome page.
4530     * BUG 1293: fix double free in printer publishing code.
4532     
4533 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
4534     * Fix for handling timeouts in socket connections.
4537 o   Michel Gravey <michel.gravey@optogone.com>
4538     * BUG 483: patch from  to fix password hash creation in SWAT.
4539     
4541 o   Volker Lendecke <vl@samba.org>
4542     * Close the open NT pipes before the tdis.
4543     * Fix AFS related build issues.
4544     * Handle error conditions when base64 encoding a blob of 0 bytes.
4546     
4547 o   Herb Lewis <herb@samba.org>
4548     * Added 'acls' debug class.
4550 o   kawasa_r@itg.hitachi.co.jp
4551     * Multiple variable initialization and memory leak fixes.
4552     
4553     
4554 o   Stephan Kulow <coolo@suse.de>
4555     * Fix string length bug in libsmbclient that caused KDE's 
4556       Konqueror to crash.
4557     * BUG 429: More libsmbclient fixes.
4560 o   Jim McDonough <jmcd@us.ibm.com>
4561     * BUG 1007, 1279: Store the print job using a little-endian key.
4564 o   Eric Mertens
4565     o Compile fix for OpenBSD (ENOTSUP not supported).
4567     
4568 o   Stefan Metzmacher <metze@samba.org>
4569     * Correct bug in disks quota views from explorer.
4571     
4572 o   Tim Potter <tpot@samba.org>
4573     BUG 1305: Correct debug output.
4576 o   Richard Sharpe <rsharpe@samba.org>
4577     * Fix incorrect error code mapping.
4580 o   Jelmer Vernooij <jelmer@samba.org>
4581     * Add additional NT_STATUS errorm mappings.
4582     
4584     --------------------------------------------------
4586                  =============================
4587                  Release Notes for Samba 3.0.3
4588                         April 29, 2004
4589                  =============================
4592 Common bugs fixed in Samba 3.0.3 include:
4594   o Crash bugs and change notify issues in Samba's printing code.
4595   o Honoring secondary group membership on domain member servers.
4596   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
4597   o Substitution errors for %[UuGg] in smb.conf.
4598   o winbindd crashes when using ADS security mode.
4599   o SMB signing errors.
4600   o Delays in winbindd startup caused by unnecessary 
4601     connections to trusted domain controllers.
4602   o Various small memory leaks.
4603   o Winbindd failing due to expired Kerberos tickets.
4605 New features introduced in Samba 3.0.3 include:
4607   o Improved support for i18n character sets.
4608   o Support for account lockout policy based on
4609     bad password attempts.
4610   o Improved support for long password changes (>14
4611     characters) and strong password enforcement.
4612   o Support for Windows aliases (i.e. nested groups).
4613   o Experimental support for storing DOS attribute on files
4614     and folders in Extended Attributes.
4615   o Support for local nested groups via winbindd.
4616   o Specifying options to be passed directly to the CUPS libraries.
4618 Please be aware that the Samba source code repository was 
4619 migrated from CVS to Subversion on April 4, 2004.  Details on 
4620 accessing the Samba source tree via anonymous svn can be found 
4621 at http://svn.samba.org/samba/subversion.html.
4624 Changes since 3.0.2a
4625 --------------------
4626 smb.conf changes
4627 ----------------
4629     Parameter Name              Action
4630     --------------              ------
4631     cups options                New
4632     ea support                  New
4633     only user                   Deprecated
4634     store dos attributes        New
4635     unicode                     Removed
4636     winbind nested groups       New
4638     
4639 commits
4640 -------
4642 o   Jeremy Allison <jra@samba.org>
4643     * Ensure that Kerberos mutex is always properly unlocked.
4644     * Removed Heimdal "in-memory keytab" support.
4645     * Fixup the 'multiple-vuids' bugs in our server code.
4646     * Correct return code from lsa_lookup_sids() on unmapped
4647       sids (based on work by vl@samba.org).
4648     * Fix the "too many fcntl locks" scalability problem 
4649       raised by tridge.
4650     * Fixup correct (as per W2K3) returns for lookupsids 
4651       as well as lookupnames.
4652     * Fixups for delete-on-close semantics as per Win2k3 behavior.
4653     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
4654     * Fix "unable to initialize" bug when smbd hasn't been run with 
4655       new system and a user is being added via pdbedit/smbpasswd.
4656     * Added NTrename SMB (0xA5).
4657     * Fixup correct timeout values for blocking lock timeouts.
4658     * Fix various bugs reported by 'gentest'.
4659     * More locking fixes in the case where we own the lock.
4660     * Fix up regression in IS_NAME_VALID and renames.
4661     * Don't set allocation size on directories.
4662     * Return correct error code on fail if file exists and target 
4663       is a directory.
4664     * Added client "hardlink" comment to test doing NT rename with 
4665       hard links.  Added hardlink_internals() code - UNIX extensions 
4666       now use this as well.
4667     * Use a common function to parse all pathnames from the wire for 
4668       much closer emulation of Win2k3 error return codes.
4669     * Implement check_path_syntax() and rewrite string sub 
4670       functions for better multibyte support.
4671     * Ensure msdfs referrals are multibyte safe.
4672     * Allow msdfs symlink syntax to be more forgiving.
4673       eg. sym_link -> msdfs://server/share/path/in/share 
4674       or  sym_link -> msdfs:\\server\share\path\in\share.
4675     * Cleanup multibyte netbios name support in nmbd ( based on patch
4676       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
4677     * Fix check_path_syntax() for multibyte encodings which have 
4678       no '\' as second byte (based on work by ab@samba.org.
4679     * Fix the "dfs self-referrals as anonymous user" problem
4680       (based on patch from vl@samba.org).
4681     * BUG 1064: Ensure truncate attribute checking is done correctly 
4682       on "hidden" dot files.
4683     * Fix bug in anonymous dfs self-referrals again.
4684     * Fix get/set of EA's in client library
4685     * Added support for OS/2 EA's in smbd server.
4686     * Added 'ea support' parameter to smb.conf.
4687     * Added 'store dos attributes' parameter to smb.conf.
4688     * Fix wildcard identical rename.
4689     * Fix reply_ctemp - make compatible with w2k3.
4690     * Fix wildcard unlink.
4691     * Fix wildcard src with wildcard dest renames.      
4692     * BUG 1139: Fix based on suggestion by jdev@panix.com.
4693       swap lookups for user and group - group will do an
4694       algorithmic lookup if it fails, user won't.
4695     * Make EA's lookups case independent.
4696     * Fix SETPATHINFO in 'unix extensions' support.
4697     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
4698       the UNIX info levels, and the short case preserve names.
4701 o   Timur Bakeyev <timur@com.bat.ru>
4702     * BUG 1144: only set --with-fhs when the argument is 'yes'
4703     * BUG 1152: Allow python modules to build despite libraries added 
4704       to LDFLAGS instead of LDPATH.
4705     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
4708 o   Craig Barratt <cbarratt@users.sourceforge.net>
4709     * BUG 389: Allow multiple exclude arguments with smbclient 
4710       tar -Xr options (better support for Amanda backup client).
4713 o   Andrew Bartlett <abartlet@samba.org>
4714     * Include support for linking with cracklib for enforcing strong 
4715       password changes.
4716     * Add support for >14 character password changes from Windows 
4717       clients.
4718     * Add 'admin set password' capability to 'net rpc'.
4719     * Allow 'net rpc samdump' to work with any joined domain 
4720       regardless of smb.conf settings.
4721     * Use an allocated buffer for count_chars.
4722     * Add sanity checks for changes in the domain SID in an 
4723       LDAP DIT.
4724     * Implement python unit tests for Samba's multibyte string 
4725       support.
4726     * Remove 'unicode' smb.conf option.
4727     * BUG 1138: Fix support for 'optional' SMB signing and other 
4728       signing bugs.
4729     * BUG 169: Fix NTLMv2-only behavior.
4730     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
4731       default.
4732     * Support SMB signing on connections using only the LANMAN 
4733       password and generate the correct the 'session key' for these 
4734       connections.
4735     * Implement --required-membership-of=, an ntlm_auth option 
4736       that restricts all authentication to members of this particular 
4737       group.
4738     * Improve our fall back code for password changes.
4739     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
4740       after the server had said something (such as an error).
4741     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
4743       
4744 o   Alexander Bokovoy <ab@samba.org>
4745     * Fix incorrect size calculation of the directory name 
4746       in recycle.so.
4747     * Fix problems with very long filenames in both smbd and smbclient
4748       caused by truncating paths during character conversions.
4749     * Fix smbfs problem with Tree Disconnect issued before smbfs 
4750       starts its work.
4753 o   Gerald Carter <jerry@samba.org>
4754     * BUG 850: Fix 'make installmodules' bug on True64.
4755     * BUG 66: mark 'only user' deprecated.
4756     * Remove corrupt tdb and shutdown (only for printing tdbs, 
4757       connections, sessionid & locking).
4758     * decrement smbd counter in connections.tdb in smb_panic().
4759     * RedHat specfile updates.
4760     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
4761     * BUG 1147; bad pointer case in get_stored_queue_info() 
4762       causing seg fault.
4763     * BUG 761: read the config file before initialized default 
4764       values for printing options; don't default to bsd printing 
4765       Linux.
4766     * Allow the 'printing' parameter to be set on a per share basis.
4767     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
4768     * BUG 848: don't create winbind local users/groups that already 
4769       exist in the tdb.
4770     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
4771       LynxOS/ppc).
4772     * BUG 488: fix the 'show client in col 1' button and correctly 
4773       enumerate active connections.
4774     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
4775       problem when storing the updating pid for the lpq cache.
4776     * BUG 1007 (partial): Fix print change notify bugs.
4777     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
4778       and winbind use default domain = yes.  Also ensures that 
4779     * BUG 1151: Ensure that winbindd users are passed through 
4780       the username map.
4781     * Fix client rpc binds for ASU derived servers (pc netlink, 
4782       etc...).
4783     * BUG 417, 1128: Ensure that the current_user_info is set
4784       consistently so that %[UuGg] is expanded correctly.
4785     * BUG 1195: Fix crash in winbindd when the ADS server is 
4786       unavailable.
4787     * BUG 1185: Set reconnect time to be the same as the 
4788       'winbind cache time'.
4789     * Ensure that we return the sec_desc in smb_io_printer_info_2.
4790     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
4791     * BUG 1095: Honor the '-l' option in smbclient.
4792     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
4793       block.
4794     * Ensure server schannel uses the auth level requested by the 
4795       client.
4796     * Removed --with-cracklib option due to potential crash issue.
4797     * Fix -lcrypto linking problem with wbinfo.
4798     * BUG 761: allow printing parameter to set defaults on a per 
4799       share basis.
4800     * Add 'cups options' parameter to allow raw printing without 
4801       changing /etc/cups/cupsd.conf.
4802     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
4803       winbindd.
4804     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
4805     * BUG 1288: resolve any machine netbios name (0x00) and not just 
4806       servers (0x20).
4807     * BUG 1199: Fix potential symlink issue in 
4808       examples/printing/smbprint.
4811 o   Robert Dahlem <Robert.Dahlem@gmx.net>
4812     * BUG 1048:  Don't return short names when when 'mangled names = no'
4815 o   Guenther Deschner <gd@suse.com>
4816     * Remove hard coded attribute name in the ads ranged retrieval
4817       code.
4818     * Add --with-libdir and --with-mandir to autoconf script.
4821 o   Bostjan Golob <golob@gimb.org>
4822     * BUG 1046: Fix  getpwent_list() so that the username is not 
4823       overwritten by other fields.
4826 o   Landon Fuller <landonf@opendarwin.org>
4827     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
4828       to fix user/group enumeration on systems whose libc does not 
4829       call setgrent() before trying to enumerate users (i.e. 
4830       FreeBSD 5.2).
4833 o   Steve French <sfrench@us.ibm.com>
4834     * Update mount.cifs to version 1.1.
4835     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
4836     * Fixes to minor security bug in the mount helper.
4837     * Fix credential file mounting for cifs vfs.
4838     * Fix free of incremented pointer in cifsvfs mount helper.
4839     * Fix path canonicalization of the mount target path and help 
4840       text display in the cifs mount helper.
4841     * Add missing guest mount option for mount.cifs.
4844 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
4845     * BUG 1055; formatting fixes for 'net share'.
4846     * BUG 692: correct truncation of share names and workgroup 
4847       names in smbclient.
4848     * BUG 1088: use strchr_m() for query_host (smbclient -L).
4849     * Patch from to internally count characters correctly.
4852 o   Paul Green <paulg@samba.org>
4853     * Update VOS _POSIX_C_SOURCE macro to 200112L.
4854     * Fix bug in configure.ion by moving the first use of 
4855       AC_CHECK_HEADERS so it is always executed.
4856     * Fix configure.in to only use $BLDSHARED to select whether to 
4857       build static or shared libraries.
4860 o   Pat Haywarrd <Pat.Hayward@propero.net>
4861     * Make the session_users list dynamic (max of 128K).
4862     
4863     
4864 o   Cal Heldenbrand <calzplace@yahoo.com> 
4865     * Fix for for 'pam_smbpass migrate' functionality.
4868 o   Chris Hertel <crh@samba.org>
4869     * fix enumeration of shares 12 characters in length via 
4870       smbclient.
4873 o   Ulrich Holeschak <ulrich@holeschak.de>
4874     * BUG 932: fix local password change using pam_smbpass
4877 o   Krischan Jodies <kj@sernet.de>
4878     * Implement 'net rpc group delete'
4881 o   John Klinger <john.klinger@lmco.com>
4882     * Return NSS_SUCCESS once the max number of gids possible 
4883        has been found in initgroups() on Solaris.
4884     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
4887 o   Volker Lendecke <vl@samba.org>
4888     * Fix success message for net groupmap modify.
4889     * Fix errors when enumerating members of groups in 'net rpc'.
4890     * Match Windows behavior in samr_lookup_names() by returning
4891       ALIAS(4) when you search in BUILTIN. 
4892     * Fix server SAMR code to be able to set alias info for 
4893       builtin as well. 
4894     * Fix duplication of logic when creating groups via smbd.
4895     * Ensure that the HWM values are set correctly after running 
4896       'net idmap'.
4897     * Add 'net rpc group add'.
4898     * Implement 'net groupmap set' and 'net groupmap cleanup'.
4899     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
4900     * Fix wb_delgrpmem (wbinfo -o).
4901     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
4902     * Fix sambaUserWorkstations on a Samba DC.
4903     * Implement wbinfo -k: Have winbind generate an AFS token after
4904       authenticating the user.
4905     * Add expand_msdfs VFS module for providing referrals based on the
4906       the client's IP address.
4907     * Implement client side NETLOGON GetDCName function.
4908     * Fix caching of name->sid lookups.
4909     * Add support in winbindd for expanding nested local groups.
4910     * Fix memleak in winbindd.
4911     * Fix msdfs proxy.
4912     * Don't list domain groups from BUILTIN.
4913     * Fix memleak in policy handle utility functions.
4914     * Decrease winbindd startup time by only contacting trusted 
4915       domains as necessary.
4916     * Allow winbindd to ask the DC for its domain for a trusted 
4917       DC.
4918     * Fix Netscape DS schema based on comments from 
4919       <thomas.mueller@christ-wasser.de>.
4920     * Correct case where adding a domain user to a XP local group 
4921       did a lsalookupname on the user without domain prefix, and 
4922       failed.
4923     * Fix segfault in winbindd caused by 'wbinfo -a'.
4924     
4926 o   Herb Lewis <herb@samba.org>
4927     * Fix typo for tag in proto file.
4928     * Add missing #ifdef HAVE_BICONV stuff.
4929     * Truncate Samba's netbios name at the first '.' (not 
4930       right to left).
4933 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
4934     * Bug fixes and enhancements to libsmbclient library.
4936     
4937 o   Jianliang Lu <j.lu@tiesse.com>
4938     * Enforce the 'user must change password at next login' flag.
4939     * Decode meaning of 'fields present' flags (improves support 
4940       for usrmgr.exe).
4941     * NTLMv2 fixes.
4942     * Don't force an upper case domain name in the ntlmssp code.
4943     
4945 o   L. Lucius <ib@digicron.com>.
4946     * type fixes.
4949 o   Jim McDonough <jmcd@us.ibm.com>
4950     * Add versioning support to tdbsam.
4951     * Update the IBM Directory Server schema with the OpenLDAP 
4952       file.
4953     * Various decoding fixes to improve usrmgr.exe support.
4954     * Fix statfs redeclaration of statfs struct on ppc
4955     * Implement support for password lockout of Samba domain 
4956       controllers and standalone servers.
4957     * Get MungedDial attribute actually working with full TS 
4958       strings in it for pdb_ldap.
4959     * BUG 1208 (partial): Improvements for working with expired krb5 
4960       tickets in winbindd.
4961     * Use timegm, or our already existing replacement instead of 
4962       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
4963     * Remove modifyTimestamp from list of our attributes.  
4964     * Fix lsalookupnames to check for domain users as well as local 
4965       users. 
4966     * Merge struct uuid replacement for GUID from trunk.
4967     * BUG 1208: Finish support for handling expired tickets in 
4968       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
4971 o   Stefan Metzmacher <metze@samba.org>
4972     * Implement new VERSION schema based on subversion revision 
4973       numbers.
4974     * Add shadow_copy vfs module.
4975     * Fix segault in login_cache support.
4978 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
4979      o BUG 979 -- Fix quota display on AIX.
4982 o   James Peach <jpeach@sgi.com>
4983     * Correct check for printf() format when using the SGI MIPSPro 
4984       compiler.
4985     * BUG 1038: support backtrace for 'panic action' on IRIX.
4986     * BUG 768: Accept profileing arg to IRIX init script.
4987     * BUG 748: Relax arg parsing to sambalp script (IRIX).
4988     * BUG 758: Fix pdma build.
4989     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
4990       Jason Mader.
4991       
4993 o   Kurt Pfeifle <kpfeifle@danka.de>
4994     * Add example shell script for migrating drivers and printers 
4995       from a Windows print server to a Samba print server using 
4996       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
4999 o   Tim Potter <tpot@samba.org>
5000     * Fix logic bug in tdb non-blocking lock routines when 
5001       errno == EAGAIN.
5002     * BUG 1025: Include sys/acl.h in check for broken nisplus 
5003       include files.      
5004     * BUG 1066: s/printf/d_printf/g in SWAT.
5005     * BUG 1098: rename internal msleep() function to fix build 
5006       problems on AIX.
5007     * BUG 1112: Fix for writable printerdata problem in python bindings.
5008     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
5009     * BUG 1155: enclose use of fchown() with guards.
5010     * Relicense tdb python module as LGPL.
5013 o   Richard Sharpe <rsharpe@samba.org>
5014     * Add support to smbclient for multiple logins on the same 
5015       session (based on work by abartlet@samba.org).
5016     * Correct blocking condition in smbd's use of accept() on IRIX.
5017     * Add support for printing out the MAC address on nmblookup.
5020 o   Simo Sorce <idra@samba.org>
5021     * Replace unknown_3 with fields_present in SAMR code.
5022     * More length checks in strlcat().
5025 o   Andrew Tridgell <tridge@samba.org>
5026     * Rewrote the AIX UESS backend for winbindd.
5027     * Fixed compilation with --enable-dmalloc.
5028     * Change tdb license to LGPL (see source/tdb/tdb.c).
5029     * Force winbindd to use schannel in clients connections to 
5030       DC's if possible.
5033 o   Jelmer Vernooij <jelmer@samba.org>
5034    * Fix ETA Calculation when resuming downloads in smbget.
5035    * Add -O (for writing downloaded files to standard out) 
5036      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
5037     * Fix syntax error in example mysql table
5039            
5040 o   TAKEDA yasuma <yasuma@miraclelinux.com>
5041     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
5042       cmd_chown, cmd_chmod smbclient functions.
5045 o   Shiro Yamada <shiro@miraclelinux.com>
5046     * BUG 1129: install image files for SWAT.
5048       
5049     --------------------------------------------------
5051                   ==============================
5052                   Release Notes for Samba 3.0.2a
5053                         February 13, 2004
5054                   ==============================
5056 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
5057 to address, in particular, a problem when using pdbedit to 
5058 sanitize (--force-initialized-passwords) Samba's tdbsam 
5059 backend.   This is the latest stable release of Samba. This 
5060 is the version that all production Samba servers should be 
5061 running for all current bug-fixes.  
5063 ******************* Attention! Achtung! Kree! *********************
5065 Beginning with Samba 3.0.2, passwords for accounts with a last 
5066 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
5067 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
5068 strings.  This will cause authentication to fail for such
5069 accounts.  If you have valid passwords that meet this criteria, 
5070 you must update the last change time to a non-zero value.  If you 
5071 do not, then  'pdbedit --force-initialized-passwords' will disable 
5072 these accounts and reset the password hashes to a string of X's.
5074 ******************* Attention! Achtung! Kree! *********************
5077 Changes since 3.0.2
5078 -------------------
5080 commits
5081 -------
5083 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5084 details.  The list of changes per contributor are as follows:
5087 o   Jeremy Allison <jra@samba.org>
5088     * Added paranoia checks in parsing code.
5089     
5091 o   Andrew Bartlett <abartlet@samba.org>
5092     * Ensure that changes to uninitialized passwords in ldapsam 
5093       are written to the DIT.
5096 o   Gerald (Jerry) Carter <jerry@samba.org>
5097     * Fixed iterator in tdbsam.
5098     * Fix bug that disabled accounts with a valid NT password 
5099       hash, but no LanMan hash.
5100     
5102 o   Steve French <sfrench@us.ibm.com>
5103     * Added missing nosetuid and noexec options.
5105     
5106 o   Bostjan Golob <golob@gimb.org>
5107     * BUG 1046: Don't overwrite usernames of entries returned 
5108       by getpwent_list().
5111 o   Sebastian Krahmer <krahmer@suse.de>
5112     * Fixed potential crash bug in NTLMSSP parsing code.
5115 o   Tim Potter <tpot@samba.org>
5116     * Fixed logic in tdb_brlock error checking.
5118     
5119 o   Urban Widmark <urban@teststation.com>
5120     * Set nosuid,nodev flags in smbmnt by default.
5121     
5122     
5123         --------------------------------------------------
5124                   
5125                   =============================
5126                   Release Notes for Samba 3.0.2
5127                         February 9, 2004
5128                   =============================
5130 It has been confirmed that previous versions of Samba 3.0 are
5131 susceptible to a password initialization bug that could grant an 
5132 attacker unauthorized access to a user account created by the
5133 mksmbpasswd.sh shell script.
5135 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
5136 has assigned the name CAN-2004-0082 to this issue.
5138 Samba administrators not wishing to upgrade to the current 
5139 version should download the 3.0.2 release, build the pdbedit 
5140 tool, and run 
5142    root# pdbedit-3.0.2 --force-initialized-passwords
5143       
5144 This will disable all accounts not possessing a valid password
5145 (e.g. the password field has been set a string of X's).
5147 Samba servers running 3.0.2 are not vulnerable to this bug 
5148 regardless of whether or not pdbedit has been used to sanitize
5149 the passdb backend.
5151 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
5152 release include:
5154   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
5155   o Logging onto a Samba domain from Windows XP clients.
5156   o Problems with the %U and %u smb.conf variables in relation to 
5157     Windows 9x/ME clients.
5158   o Kerberos failures due to an invalid in memory keytab detection
5159     test.
5160   o Updates to the ntlm_auth tool.
5161   o Fixes for various SMB signing errors.
5162   o Better separation of WINS and DNS queries for domain controllers.
5163   o Issues with nss_winbind FreeBSD and Solaris.
5164   o Several crash bugs in smbd and winbindd.
5165   o Output formatting fixes for smbclient for better compatibility
5166     with scripts based on the 2.2 version.
5169 Changes since 3.0.1
5170 -------------------
5172 smb.conf changes
5173 ----------------
5175     Parameter Name              Action
5176     --------------              ------
5177     ldap replication sleep      New
5178     read size                   removed (unused)
5179     source environment          removed (unused)
5182 commits
5183 -------
5185 Please refer to the CVS log for the SAMBA_3_0 branch for complete
5186 details.  The list of changes per contributor are as follows:
5188 o   Jeremy Allison <jra@samba.org>
5189     * Revert change that broke Exchange clear text samlogons.
5190     * Fix gcc 3.4 warning in MS-DFS code.
5191     * Tidy up of NTLMSSP code.
5192     * Fixes for SMB signing errors
5193     * BUG 815: Workaround NT4 bug to support plaintext
5194       password logins and UNICODE.
5195     * Fix SMB signing bug when copying large files.
5196     * Correct error logic in mkdir_internals() (caused a panic
5197       when combined with --enable-developer).
5198     * BUG 830: Protect against crashes due to bad character 
5199       conversions.
5201       
5202 o   Petri Asikainen <paca@sci.fi>
5203     * BUG 330, 387:Fix single valued attribute updates when 
5204       working with Novell NDS.
5207 o   Andrew Bartlett <abartlet@samba.org>
5208     * Correctly handle per-pipe NTLMSSP inside a NULL session.
5209     * Fix segfault in gencache 
5210     * Fix early free() of encrypted_session_key.
5211     * Change DC lookup routines to more carefully separate
5212       DNS names (realms) from NetBIOS domain names.
5213     * Add new sid_to_dn() function for internal winbindd use.
5214     * Refactor cli_ds_enum_domain_trusts().
5215     * BUG 707: Implement range retrieval of ADS attributes (based 
5216       on work from Volker <vl@samba.org> and Guenther Deschner 
5217       <gd@suse.com>).
5218     * Automatically initialize the signing engine if a session key
5219       is available.
5220     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
5221       encoded strings, only form input in SWAT.
5222     * Resets the NTLMSSP state for new negotiate packets.
5223     * Add 2-byte alignments in net_samlogon() queries to parse 
5224       odd-length plain text passwords.
5225     * Allow Windows groups with no members in winbindd.
5226     * Allow normal authentication in the absence of a server 
5227       generated session key.
5228     * More optimizations for looking up UNIX group lists.
5229     * Clean up error codes and return values for pam_winbindd
5230       and winbindd PAM interface.
5231     * Fix string return values in ntlm_auth tool.
5232     * Fix segfault when 'security = ads' but no realm is defined.
5233     * BUG 722: Allow winbindd to map machine accounts to uids.
5234     * More cleanups for winbindd's find_our_domain().
5235     * More clearly detect whether a domain controller is an NT4
5236       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
5237     * Increase separation between DNS queries for hosts and queries
5238       for AD domain controllers.
5239     * Include additional NT_STATUS to PAM error mappings.
5240     * Password initialization fixes.
5242     
5243 o   Justin Baugh <justin.baugh@request.com>
5244     * BUG 948: Implement missing functions required for FreeBSD 
5245       nss_winbind support. 
5248 o   Alexander Bokovoy <ab@samba.org>
5249     * BUG 922: Make sure enable fast path for strlower_m() and 
5250       strupper_m().
5253 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
5254     * Fix crash when using 'security = server' and 'encrypt 
5255       passwords = no' by always initializing the session key.
5257       
5258 o   Dmitry Butskoj <buc@odusz.elektra.ru>
5259     * Fix for special files being hidden from admins.
5262 o   Gerald (Jerry) Carter <jerry@samba.org>
5263     * Fix bug in the lanman session key generation.  Caused 
5264       "decode_pw: incorrect password length" error messages.
5265     * Save the right case for the located user name in 
5266       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
5267     * BUG 897: Add well known rid for pre win2k compatible access
5268       group.
5269     * BUG 887: Correct typo in delete user script example.
5270     * Use short lived TALLOC_CTX* for allocating printer objects 
5271       from the print handle cache.
5272     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
5273     * Fix several warnings reported by the SUN Forte C compiler.
5274     * Fully control DNS queries for AD DC's using 'name resolve order'.
5275     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
5276     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
5277     * BUG 936: fix bind credentials for schannel binds in smbd.
5278     * BUG 446: Fix output of smbclient for better compatibility 
5279       with scripts based on the 2.2 version (including Amanda).
5280     * BUG 891, 949: Fedora packaging fixes.
5281     * Fix bug that caused rpcclient to incorrectly retrieve 
5282       the SID for a server (this causing all calls that required 
5283       this information to fail). 
5284     * BUG 977: Don't create a homes share for a user if a static 
5285       share already exists by the same name.
5286     * Removed unused smb.conf options.
5287     * Password initialization fixes.
5288     * Set the disable flag for template accounts created by
5289       mksmbpasswd.sh.
5290     * Disable any account has no passwords and does not have the
5291       ACB_PWNOTREQ bit set.
5294 o   Guenther Deschner <gd@suse.com>
5295     * Install smbwrapper.so should be put into the $(libdir) 
5296       and not $(bindir).
5297     * Add the capability to specify the new user password 
5298       for "net ads password" on the command line.
5299     * Correctly detect AFS headers on SuSE.
5300         
5302 o   James Flemer <jflemer@uvm.edu>
5303     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
5304       HAVE_SYS_ATTRIBUTES_H.
5307 o   Luke Howard <lukeh@PADL.COM>
5308     * Fix segfault in session setup reply caused by a early free().
5311 o   Stoian Ivanov <sdr@bultra.com>
5312     * Implement grepable output for smbclient -L.
5315 o   LaMont Jones <lamont@debian.org>
5316     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
5317       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
5318       not being defined).
5320       
5321 o   Volker Lendecke <vl@samba.org>
5322     * BUG 583: Ensure that user names always contain the short 
5323       version of the domain name.
5324     * Fix our parsing of the LDAP uri.
5325     * Don't show the 'afs username map' in the SWAT basic view.
5326     * Fix SMB signing issues in relation to failed NTLMSSP logins.
5327     * BUG 924: Fix return codes in smbtorture harness.
5328     * Always lower-case usernames before handing it to AFS code.
5329     * Add a German translation for SWAT.
5330     * Fix a segfaults in winbindd.
5331     * Fix the user's domain passed to register_vuid() from 
5332       reply_spnego_kerberos().
5333     * Add NSS example code in nss_winbind to convert UNIX 
5334       id's <-> Windows SIDs.
5335     * Display more descriptive error messages for login via 'net'.
5336     * Fix compiler warning in the net tool.
5337     * Fix length bug when decoding base64 strings.
5338     * Ensure we don't call getpwnam() inside a loop that is iterating 
5339       over users with getpwent().  This broke on glibc 2.3.2.
5342 o   Herb Lewis <herb@samba.org>
5343     * Fix bit rot in psec.
5346 o   Jianliang Lu <j.lu@tiesse.com>
5347     * Ensure we delete the group mapping before calling the delete 
5348       group script.
5349     * Define well known RID for managing the  "Power Users" group.
5350     * BUG 381: check builtin (not local) group SID when updating 
5351       group membership.
5352     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
5353       packet.
5356 o   John Klinger <john.klinger@lmco.com>
5357     * Implement initgroups() call in nss_winbind on Solaris.
5360 o   Jim McDonough <jmcd@us.ibm.com>
5361     * Fix regression in net rpc join caused by recent changes 
5362       to cli_lsa_query_info_policy().
5363     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
5364       machine account.
5367 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
5368     * BUG 570: Ensure that configure honors the LDFLAGS variable.
5371 o   Stefan Metzmacher <metze@samba.org>
5372     * Implement LDAP rebind sleep patch.
5373     * Revert to 2.2 quota code because of so many broken quota files 
5374       out there.
5375     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
5376                       XFS_USER_QUOTA -> USRQUOTA
5377                       XFS_GROUP_QUOTA -> GRPQUOTA
5378     * Fix disk_free calculation with group quotas.
5379     * Add debug class 'quota' and a lot of DEBUG()'s 
5380       to the quota code.
5381     * Fix sys_chown() when no chown() is present.
5382     * Add SIGABRT to fault handling in order to catch got a 
5383       backtrace if an error occurs the OpenLDAP client libs.
5386 o   <ndb@theghet.to>
5387     * Allow an existing LDAP machine account to be re-used when 
5388       joining an AD domain.
5391 o   James Peach <jpeach@sgi.com>
5392     * BUG 889: Change smbd to use pread/pwrite on platforms that 
5393       support these calls. Can lead to a significant speed increase.
5396 o   Tim Potter <tpot@samba.org>
5397     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
5398     * BUG 924: Fix typo in RW2 torture test.
5399     
5400     
5401 o   Richard Sharpe <rsharpe@samba.org>
5402     * Small fixes to torture.c to cleanup the error handling 
5403       and prevent crashes.
5406 o   J. Tournier <jerome.tournier@IDEALX.com>
5407     * Small fixes for the smbldap-tool scripts.
5410 o   Andrew Tridgell <tridge@samba.org>
5411     * Fix src len check in pull_usc2().
5412     
5413     
5414 o   Jelmer Vernooij <jelmer@samba.org>
5415     * Put functions for generating SQL queries in pdb_sql.c
5416     * Add pgSQL backend (based on patch by Hamish Friedlander)
5417     * BUG 908: Fix -s option to smbcontrol.    
5418     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
5419     * Fix for libnss_wins on IRIX platforms.
5420     * Fix swatdir for --with-fhs.
5423         --------------------------------------------------
5425                   =============================
5426                   Release Notes for Samba 3.0.1
5427                         December 15, 2003
5428                   =============================
5430 Some of the more common bugs in 3.0.0 addressed in the release 
5431 include:
5433   o Substitution problems with smb.conf variables.
5434   o Errors in return codes which caused some applications
5435     to fail to open files.
5436   o General Protection Faults on Windows 2000/XP clients
5437     using Samba point-n-print features.
5438   o Several miscellaneous crash bugs.
5439   o Access problems when enumerating group mappings are
5440     stored in an LDAP Directory.
5441   o Several common SWAT bugs when writing changes to
5442     smb.conf.
5443   o Internal inconsistencies when 'winbind use default
5444     domain = yes'
5448 Changes since 3.0.0
5449 ----------------------
5451     Parameter Name              Action
5452     --------------              ------
5453     hide local users            Removed
5454     mangled map                 Deprecated
5455     mangled stack               Removed
5456     passwd chat timeout         New
5459 commits
5460 -------
5462 o   Change the interface for init_unistr2 to not take a length 
5463     but a flags field.  We were assuming that 
5464     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
5465 o   Allow d_printf() to handle strings with escaped quotation 
5466     marks since the msg file includes the escape character (bug 489).
5467 o   Fix bad html table row termination in SWAT wizard code (bug 413).
5468 o   Fix to parse the level-2 strings.
5469 o   Fix for "valid users = %S" in [homes].  Fix read/write 
5470     list as well. 
5471 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
5472     This is the same way AC_CHECK_LIB works (bug 508).
5473 o   Testparm output fixes for clarity.
5474 o   Fix broken wins hook functionality -- i18n bug (bug 528).
5475 o   Take care of condition where DOS and NT error codes must differ.
5476 o   Default to using only built-in charsets when a working iconv 
5477     implementation cannot be located.
5478 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
5479     be done unconditionally (bug 550).
5480 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
5481 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
5482     --enable-debug=[yes|no] works correctly.
5483 o   Allow ^C to interrupt smbpasswd if using our getpass 
5484     (e.g. smbpasswd command).
5485 o   Support signing only on RPC's (bug 167).
5486 o   Correct bug that prevented  Excel 2000 clients from opening 
5487     files marked as read-only.
5488 o   Portability fix bugs 546 - 549).
5489 o   Explicitly initialize the value of AR for vendor makes that don't
5490     do this (e.g. HPUX 11).  (bug 552).
5491 o   More i18n fixes for SWAT (bug 413).
5492 o   Change the cwd before the postexec script to ensure that a
5493     umount will succeed.
5494 o   Correct double free that caused winbindd to crash when a DC 
5495     is rebooted (bug 437).
5496 o   Fix incorrect mode sum (bug 562).
5497 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
5498     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
5499 o   Add script to generate *msg files.
5500 o   Add Dutch SWAT translation file.
5501 o   Make sure to call get_user_groups() with the full winbindd 
5502     name for a user if he/she has one (bug 406).
5503 o   Fix up error code returns from Samba4 tester. Ensure invalid 
5504     paths are validated the same way.  
5505 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
5506 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
5507     libraries were found for $BACKEND.
5508 o   Move sysquotas autoconf tests to a separate file.
5509 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
5510     tester
5511 o   Make sure that the files that contain the static_init_$subsystem; 
5512     macro get recompiled after configure by removing the object 
5513     files.
5514 o   Ensure canceling a blocking lock returns the correct error 
5515     message.
5516 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
5517 o   Updated Japanese welcome file in SWAT.
5518 o   Fix to  nt-time <-> unix-time functions reversible.
5519 o   Ensure that winbindd uses the the escaped DN when querying
5520     an AD ldap server.
5521 o   Fix portability issues when compiling (bug 505, 550)
5522 o   Compile fix for tdbbackup when Samba needs to override 
5523     non-C99 compliant implementations of snprintf().
5524 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
5525 o   Make sure we break out of samsync loop on error.
5526 o   Ensure error code path doesn't free unmalloc()'d memory
5527     (bug 628).
5528 o   Add configure test for krb5_keytab_entry keyblock vs key 
5529     member (bug 636).
5530 o   Fixed spinlocks.
5531 o   Modified testparm so that all output so all debug output goes 
5532     to stderr, and all file processing goes to stdout.
5533 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
5534     and smbcquotas.
5535 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
5536     we have a devmode before copying a string to the devicename.
5537 o   Support mapping REALM.COM\user to a local user account (without 
5538     running winbindd)  for compatibility with 2.2.x release.
5539 o   Ensure we don't use mmap() on blacklisted systems.
5540 o   fixed a number of bugs and memory leaks in the AIX 
5541     winbindd shim
5542 o   Call initgroups() in SWAT before becomming the user so that
5543     secondary group permissions can be used when writing to 
5544     smb.conf.
5545 o   Fix signing problems when reverse connecting back to a 
5546     client for printer notify
5547 o   Fix signing problems caused by a miss-sequence bug.
5548 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
5549     Fixes NEXUS tools running on Win9x clients (bug 64).
5550 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
5551     SID could not be mapped.
5552 o   Fix segfault in mount.cifs helper when there is no options 
5553     specified during mount.
5554 o   Change the \n after the password prompt to go to tty instead 
5555     of stdout (bug 668).
5556 o   Stop net -P from prompting for machine account password (bug 451).
5557 o   Change in behavior to Not only change the effective uid but also
5558     the real uid when becoming unprivileged.
5559 o   Cope with Exchange 5.5 cleartext pop password auth.
5560 o   New files for support of initshutdown pipe.  Win2k doesn't 
5561     respond properly to all requests on the winreg pipe, so we need 
5562     to handle this new pipe (bug 534).
5563 o   Added more va_copy() checks in configure.in.
5564 o   Include fixes for libsmbclient build problems.
5565 o   Missing UNIX -> DOS codepage conversion in lanman.c.
5566 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
5567 o   Parameterize the listen backlog in smbd and make it larger by
5568     default. A backlog of 5 is way too small these days.
5569 o   Check for an invalid fid before dereferencing the fsp pointer
5570     (bug 696).
5571 o   Remove invalid memory frees and return codes in pdb_ldap.c.
5572 o   Prompt for password when invoking --set-auth-user and no 
5573     password is given.
5574 o   Bind the nmbd sending socket to the 'socket address'.
5575 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
5576     $LDFLAGS occurs before any library specification (bug 661).
5577 o   Fix large number of printf() calls for 64-bit size_t.
5578 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
5579     keyblock in the krb5 structs.
5580 o   Remove #include <compat.h> in hopes to avoid problems with 
5581     apache header files.
5582 o   Correct winbindd build problems on HP-UX 11.
5583 o   Lowercase netgroups lookups (bug 703).
5584 o   Use the actual size of the buffer in strftime instead of a made
5585     up value which just happens to be less than sizeof(fstring).  
5586     (bug 713).
5587 o   Add ldaplibs to pdbedit link line (bug 651).
5588 o   Fix crash bug in smbclient completion (bug 659).
5589 o   Fix packet length for browse list reply (bug 771).
5590 o   Fix coredump in cli_get_backup_list().
5591 o   Make sure that we expand %N (bug 612).
5592 o   Allow rpcclient adddriver command to specify printer driver 
5593     version (bug 514).
5594 o   Compile tdbdump by default.
5595 o   Apply patches to fix iconv detection for FreeBSD.
5596 o   Do not allow the 'guest account' to be added to a passdb backend 
5597     using smbpasswd or pdbedit (bug 624).
5598 o   Save LDFLAGS during iconv detection (bug 57).
5599 o   Run krb5 logins through the username map if the winbindd 
5600     lookup fails (bug 698).
5601 o   Add const for lp_set_name_resolve_order() to avoid compiler 
5602     warnings (bug 471).
5603 o   Add support for the %i macro in smb.conf to stand in for the for
5604     the local IP address to which a client connected.
5605 o   Allow winbindd to match local accounts to domain SID when 
5606     'winbind trusted domains only = yes' (bug 680).
5607 o   Remove code in idmap_ldap that searches the user suffix and group 
5608     suffix.  It's not needed and provides inconsistent functionality 
5609     from the tdb backend.
5610 o   Patch to handle munged dial string for Windows 2000 TSE.
5611     Thanks to Gaz de France, Direction de la Recherche, Service 
5612     Informatique Métier for their supporting this work by Aurelien 
5613     Degrémont <adegremont@idealx.com>.
5614 o   Correct the "smbldap_open: cannot access when not root error"
5615     messages when looking up group information (bug 281).
5616 o   Skip over the winbind separator when looking up a user.
5617     This fixes the bug that prevented local users from
5618     matching an AD user when not running winbindd (bug 698).
5619 o   Fix a problem with configure on *BSD systems. Make sure
5620     we add -liconv etc to LDFLAGS.
5621 o   Fix core dump bug when "security = server" and the authentication
5622     server goes away.
5623 o   Correct crash bug due to an empty munged dial string.
5624 o   Show files locked by a specific user (smbstatus -u 'user') 
5625     (bug 590).
5626 o   Fix bug preventing print jobs from display in the queue
5627     monitor used by Windows NT and later clients (bug 660).
5628 o   Fix several reported problems with point-n-print from
5629     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
5630     reply (bug 338, 527 & 643).
5631 o   Fix a handful of potential memory leaks in the LDAP code used
5632     by ldapsam[_compat] and the LDAP idmap backend.
5633 o   Fix for pdbedit error code returns (bug 763).
5634 o   Make sure we only enumerate group mapping entries  (not 
5635     /etc/group) even when doing local aliases.
5636 o   Relax check on the pipe name in a dce/rpc bind response to work 
5637     around issues with establishing trusts to a Windows 2003 domain.
5638 o   Ensure we mangle names ending in '.' in hash2 mangling method.
5639 o   Correct parsing issues with munged dial string.
5640 o   Fix bugs in quota support for XFS.
5641 o   Add a cleaner method for applications that need to provide 
5642     name->SID mappings to do this via NSS rather than having to 
5643     know the winbindd pipe protocol.
5644 o   Adds a variant of the winbindd_getgroups() call called 
5645     winbindd_getusersids() that provides direct SID->SIDs listing of 
5646     a users supplementary groups. This is enough to allow non-Samba 
5647     applications to do ACL checking.
5648 o   Make sure we don't append the 'ldap suffix' when writing out the 
5649     'ldap XXX suffix' values in SWAT (bug 328).
5650 o   Fix renames across file systems.
5651 o   Ensure that items in a list of strings containing whitespace are 
5652     written out surrounded by single quotes.  This means that both 
5653     double and single quotes are now used to surround strings in 
5654     smb.conf (bug 481).
5655 o   Enable SWAT to correctly determine if winbindd is running (bug 
5656     398).
5657 o   Include WWW-Authenticate field in 401 response for bad auth 
5658     attempt (bug 629).
5659 o   Add support for NTLM2 (NTLMv2 session security).
5660 o   Add support for variable-length session keys.
5661 o   More privilege fixes for group enumeration in LDAP (bug 281).
5662 o   Use the dns name (or IP) as the originating client name when
5663     using CUPS (bug 467).
5664 o   Fix various SMB signing bugs.
5665 o   Fix ACL propagation on a DFS root (bug 263).
5666 o   Disable NTLM2 for RPC pipes.
5667 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
5668     authentication.
5669 o   Change the name of the job passed off to cups from "Test Page" 
5670     to "smbprn.00000033 Test Page" so that we can get the smb 
5671     jobid back. This allow users to delete jobs with cups printing 
5672     backend (partial work on bug 770).
5673 o   Fix build of winbindd with static pdb modules.
5674 o   Retrieve the correct ACL group bits if the file has an ACL 
5675     (bug 802).
5676 o   Implement "net rpc group members": Get members of a domain group 
5677     in human-readable format.
5678 o   Add MacOSX (Darwin) specific charset module code.
5679 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
5680     can include the full name in gecos field (bug 587).
5681 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
5682 o   Implement 'net rpc group list [global|local|builtin]*' for a 
5683     select listing of the respective user databases.
5684 o   Don't automatically set NT status code flag unless client tells 
5685     us it can cope.
5686 o   Add 'net status [sessions|shares] [parseable]'.
5687 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
5688     bug 770).
5689 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
5690    (bug 608).
5691 o   Fix inverted logic in hosts allow/deny checks caused by 
5692     s/strcmp/strequal/ (bug 846).
5693 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
5694 o   Fix typo in 'hash' mangling algorithm.
5695 o   Support munged dial for ldapsam (bug 800).
5696 o   Fix process_incoming_data() to return the number of bytes handled 
5697     this call whether we have a complete PDU or not; fixes bug 
5698     with multiple PDU request rpc's broken over SMBwriteX calls 
5699     each.
5700 o   Fix incorrect smb flags2 for connections to pre-NT servers 
5701     (causes smbclient to fail to OS2 for example) (bug 821).
5702 o   Update version string in smbldap-tools Makefile to 0.8.2.
5703 o   Correct a problem with "net rpc vampire" mis-parsing the 
5704     alias member info reply.
5705 o   Ensure the ${libdir} is created by the installclientlib script.
5706 o   Fix detection of Windows 2003 client architecture in the smb.conf
5707     %a variable.
5708 o   Ensure that smbd calls the add user script for a missing UNIX 
5709     user on kerberos auth call (bug 445).
5710 o   Fix bugs in hosts allow/deny when using a mismatched 
5711     network/netmask pair.
5712 o   Protect alloc_sub_basic() from crashing when the source string 
5713     is NULL (partial work on bug 687).
5714 o   Fix spinlocks on IRIX.
5715 o   Corrected some bad destination paths when running "configure 
5716     --with-fhs".
5717 o   Add packaging files for Fedora Core 1.
5718 o   Correct bug in SWAT install script for non-english languages.
5719 o   Support character set ISO-8859-1 internally (bug 558).
5720 o   Fixed more LDAP access errors when looking up group mappings 
5721     (bug 281).
5722 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
5723     resolution to fail on local files on on domain members 
5724     (bug 875).
5725 o   Fix uninitialized variable in passdb.c.
5726 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
5727 o   Fix problem mounting directories when mount.cifs is installed 
5728     with the setuid bit on.
5729 o   Fix bug that prevent --mandir from overriding the defaults
5730     given in the --with-fhs macro.
5731 o   Fix bug in in-memory Kerberos keytab detection routines 
5732     in configure.in
5736 ######################################################################
5738               The original 3.0.0 release notes follow
5739               =======================================
5740                     WHATS NEW IN Samba 3.0.0
5741                         September 24, 2003
5742               =======================================
5745 Major new features:
5746 -------------------
5748 1)  Active Directory support.  Samba 3.0 is now able to  
5749     join a ADS realm as a member server and authenticate 
5750     users using LDAP/Kerberos.
5752 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
5753     and internally there is now a much better infrastructure for 
5754     multi-byte and UNICODE character sets.
5756 3)  New authentication system. The internal authentication system 
5757     has been almost completely rewritten. Most of the changes are 
5758     internal, but the new auth system is also very configurable.
5760 4)  New default filename mangling system.
5762 5)  A new "net" command has been added. It is somewhat similar to 
5763     the "net" command in windows. Eventually we plan to replace 
5764     numerous other utilities (such as smbpasswd) with subcommands 
5765     in "net".
5767 6)  Samba now negotiates NT-style status32 codes on the wire. This
5768     improves error handling a lot.
5770 7)  Better Windows 2000/XP/2003 printing support including publishing
5771     printer attributes in active directory.
5773 8)  New loadable module support for passdb backends and character 
5774     sets.
5776 9)  New default dual-daemon winbindd support for better performance.
5778 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
5779     domain and maintaining user, group and domain SIDs.
5781 11) Support for establishing trust relationships with Windows NT 4.0
5782     domain controllers.
5783   
5784 12) Initial support for a distributed Winbind architecture using
5785     an LDAP directory for storing SID to uid/gid mappings.
5786   
5787 13) Major updates to the Samba documentation tree.
5789 14) Full support for client and server SMB signing to ensure
5790     compatibility with default Windows 2003 security settings.
5792 15) Improvement of ACL mapping features based on code donated by
5793     Andreas Grünbacher.
5796 Plus lots of other improvements!
5799 Additional Documentation
5800 ------------------------
5802 Please refer to Samba documentation tree (included in the docs/ 
5803 subdirectory) for extensive explanations of installing, configuring
5804 and maintaining Samba 3.0 servers and clients.  It is advised to 
5805 begin with the Samba-HOWTO-Collection for overviews and specific 
5806 tasks (the current book is up to approximately 400 pages) and to 
5807 refer to the various man pages for information on individual options.
5809 We are very glad to be able to include the second edition of
5810 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
5811 (O'Reilly & Associates) in this release.  The book is available
5812 on-line at http://samba.org/samba/docs/ and is included with 
5813 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
5814 publisher for making "Using Samba" under the GNU Free Documentation 
5815 License.
5818 ######################################################################
5819 Upgrading from a previous Samba 3.0 beta
5820 ########################################
5822 Beginning with Samba 3.0.0beta3, the RID allocation functions
5823 have been moved into winbindd.  Previously these were handled
5824 by each passdb backend.  This means that winbindd must be running
5825 to automatically allocate RIDs for users and/or groups.  Otherwise,
5826 smbd will use the 2.2 algorithm for generating new RIDs.
5828 If you are using 'passdb backend = tdbsam' with a previous Samba 
5829 3.0 beta release (or possibly alpha), it may be necessary to 
5830 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
5831 to winbindd_idmap.tdb.  To do this:
5833 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
5834     once)
5835 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
5836     directory
5837 3)  run: (note that 'tdb>' is the tool's prompt for input)
5839        root# ./tdbtool /usr/local/samba/private/passdb.tdb
5840        tdb> show RID_COUNTER
5841        key 12 bytes
5842        RID_COUNTER
5843        data 4 bytes
5844        [000] 0A 52 00 00                                       .R.
5846        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
5847        ....
5848        record moved
5850 If you are using 'passdb backend = ldapsam', it will be necessary to 
5851 store idmap entries in the LDAP directory as well (i.e. idmap backend 
5852 = ldap).  Refer to the 'net idmap' command for more information on 
5853 migrating SID<->UNIX id mappings from one backend to another.
5855 If the RID_COUNTER record does not exist, then these instructions are
5856 unneccessary and the new RID_COUNTER record will be correctly generated
5857 if needed.  
5861 ########################
5862 Upgrading from Samba 2.2
5863 ########################
5865 This section is provided to help administrators understand the details
5866 involved with upgrading a Samba 2.2 server to Samba 3.0.
5869 Building
5870 --------
5872 Many of the options to the GNU autoconf script have been modified 
5873 in the 3.0 release.  The most noticeable are:
5875   * removal of --with-tdbsam (is now included by default; see section
5876     on passdb backends and authentication for more details)
5877     
5878   * --with-ldapsam is now on used to provided backward compatible
5879     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
5880     backend and authentication section for more details
5881   
5882   * inclusion of non-standard passdb modules may be enabled using
5883     --with-expsam.  This includes an XML backend and a mysql backend.
5884       
5885   * removal of --with-msdfs (is now enabled by default)
5886   
5887   * removal of --with-ssl (no longer supported)
5888   
5889   * --with-utmp now defaults to 'yes' on supported systems
5890   
5891   * --with-sendfile-support is now enabled by default on supported 
5892     systems
5893   
5894     
5895 Parameters
5896 ----------
5898 This section contains a brief listing of changes to smb.conf options
5899 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
5900 complete descriptions of new or modified parameters.
5902 Removed Parameters (order alphabetically):
5904   * admin log
5905   * alternate permissions
5906   * character set
5907   * client codepage
5908   * code page directory
5909   * coding system
5910   * domain admin group
5911   * domain guest group
5912   * force unknown acl user
5913   * hide local users
5914   * mangled stack
5915   * nt smb support
5916   * postscript
5917   * printer driver
5918   * printer driver file
5919   * printer driver location
5920   * read size
5921   * source environment
5922   * status
5923   * strip dot
5924   * total print jobs
5925   * use rhosts
5926   * valid chars
5927   * vfs options
5929 New Parameters (new parameters have been grouped by function):
5931   Remote management
5932   -----------------
5933   * abort shutdown script
5934   * shutdown script
5936   User and Group Account Management
5937   ---------------------------------
5938   * add group script
5939   * add machine script
5940   * add user to group script
5941   * algorithmic rid base
5942   * delete group script
5943   * delete user from group script
5944   * passdb backend
5945   * set primary group script
5947   Authentication
5948   --------------
5949   * auth methods
5950   * realm
5951   * passwd chat timeout
5953   Protocol Options
5954   ----------------
5955   * client lanman auth
5956   * client NTLMv2 auth
5957   * client schannel
5958   * client signing
5959   * client use spnego
5960   * disable netbios
5961   * ntlm auth
5962   * paranoid server security
5963   * server schannel
5964   * server signing
5965   * smb ports
5966   * use spnego
5968   File Service
5969   ------------
5970   * get quota command
5971   * hide special files
5972   * hide unwriteable files
5973   * hostname lookups
5974   * kernel change notify
5975   * mangle prefix
5976   * map acl inherit
5977   * msdfs proxy
5978   * set quota command
5979   * use sendfile
5980   * vfs objects
5981   
5982   Printing
5983   --------
5984   * max reported print jobs
5986   UNICODE and Character Sets
5987   --------------------------
5988   * display charset
5989   * dos charset
5990   * unicode
5991   * unix charset
5992   
5993   SID to uid/gid Mappings
5994   -----------------------
5995   * idmap backend
5996   * idmap gid
5997   * idmap uid
5998   * winbind enable local accounts
5999   * winbind trusted domains only
6000   * template primary group
6001   * enable rid algorithm
6003   LDAP
6004   ----
6005   * ldap delete dn
6006   * ldap group suffix
6007   * ldap idmap suffix
6008   * ldap machine suffix
6009   * ldap passwd sync
6010   * ldap replication sleep
6011   * ldap user suffix
6012   
6013   General Configuration
6014   ---------------------
6015   * preload modules
6016   * private dir
6018 Modified Parameters (changes in behavior):
6020   * encrypt passwords (enabled by default)
6021   * mangling method (set to 'hash2' by default)
6022   * passwd chat
6023   * passwd program
6024   * restrict anonymous (integer value)
6025   * security (new 'ads' value)
6026   * strict locking (enabled by default)
6027   * unix extensions (enabled by default)
6028   * winbind cache time (increased to 5 minutes)
6029   * winbind uid (deprecated in favor of 'idmap uid')
6030   * winbind gid (deprecated in favor of 'idmap gid')
6033 Databases
6034 ---------
6036 This section contains brief descriptions of any new databases 
6037 introduced in Samba 3.0.  Please remember to backup your existing 
6038 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
6039 upgrade databases as they are opened (if necessary), but downgrading 
6040 from 3.0 to 2.2 is an unsupported path.
6042 Name                    Description                             Backup?
6043 ----                    -----------                             -------
6044 account_policy          User policy settings                    yes
6045 gencache                Generic caching db                      no
6046 group_mapping           Mapping table from Windows              yes
6047                         groups/SID to unix groups        
6048 winbindd_idmap          ID map table from SIDS to UNIX          yes
6049                         uids/gids.
6050 namecache               Name resolution cache entries           no
6051 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
6052                         returned as part of a successful
6053                         net_sam_logon request 
6054 printing/*.tdb          Cached output from 'lpq                 no
6055                         command' created on a per print 
6056                         service basis
6057 registry                Read-only samba registry skeleton       no
6058                         that provides support for exporting
6059                         various db tables via the winreg RPCs
6062 Changes in Behavior
6063 -------------------
6065 The following issues are known changes in behavior between Samba 2.2 and 
6066 Samba 3.0 that may affect certain installations of Samba.
6068   1)  When operating as a member of a Windows domain, Samba 2.2 would 
6069       map any users authenticated by the remote DC to the 'guest account'
6070       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
6071       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
6072       current work around to re-establish the 2.2 behavior.
6073       
6074   2)  When adding machines to a Samba 2.2 controlled domain, the 
6075       'add user script' was used to create the UNIX identity of the 
6076       machine trust account.  Samba 3.0 introduces a new 'add machine 
6077       script' that must be specified for this purpose.  Samba 3.0 will
6078       not fall back to using the 'add user script' in the absence of 
6079       an 'add machine script'
6080   
6082 ######################################################################
6083 Passdb Backends and Authentication
6084 ##################################
6086 There have been a few new changes that Samba administrators should be
6087 aware of when moving to Samba 3.0.
6089   1) encrypted passwords have been enabled by default in order to 
6090      inter-operate better with out-of-the-box Windows client 
6091      installations.  This does mean that either (a) a samba account
6092      must be created for each user, or (b) 'encrypt passwords = no'
6093      must be explicitly defined in smb.conf.
6094     
6095   2) Inclusion of new 'security = ads' option for integration 
6096      with an Active Directory domain using the native Windows
6097      Kerberos 5 and LDAP protocols.
6099      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
6100      type which is neccessary for servers on which the 
6101      administrator password has not been changed, or kerberos-enabled 
6102      SMB connections to servers that require Kerberos SMB signing.
6103      Besides this one difference, either MIT or Heimdal Kerberos
6104      distributions are usable by Samba 3.0.
6105      
6107 Samba 3.0 also includes the possibility of setting up chains
6108 of authentication methods (auth methods) and account storage 
6109 backends (passdb backend).  Please refer to the smb.conf(5) 
6110 man page for details.  While both parameters assume sane default 
6111 values, it is likely that you will need to understand what the 
6112 values actually mean in order to ensure Samba operates correctly.
6114 The recommended passdb backends at this time are
6116   * smbpasswd - 2.2 compatible flat file format
6117   * tdbsam - attribute rich database intended as an smbpasswd
6118     replacement for stand alone servers
6119   * ldapsam - attribute rich account storage and retrieval 
6120     backend utilizing an LDAP directory.  
6121   * ldapsam_compat - a 2.2 backward compatible LDAP account 
6122     backend
6123     
6124 Certain functions of the smbpasswd(8) tool have been split between the 
6125 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
6126 utility.  See the respective man pages for details.
6127     
6128      
6129 ######################################################################
6130 LDAP
6131 ####
6133 This section outlines the new features affecting Samba / LDAP 
6134 integration.
6136 New Schema
6137 ----------
6138   
6139 A new object class (sambaSamAccount) has been introduced to replace 
6140 the old sambaAccount.  This change aids us in the renaming of 
6141 attributes to prevent clashes with attributes from other vendors.  
6142 There is a conversion script (examples/LDAP/convertSambaAccount) to 
6143 modify and LDIF file to the new schema.
6144   
6145 Example:
6146   
6147   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
6148   $ convertSambaAccount --sid=<Domain SID> \
6149     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
6150     --changetype=[modify|add]
6151         
6152 The <DOM SID> can be obtained by running 'net getlocalsid 
6153 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
6154 the format of the generated LDIF output--either create new entries 
6155 or modify existing entries.
6156     
6157 The old sambaAccount schema may still be used by specifying the 
6158 "ldapsam_compat" passdb backend.  However, the sambaAccount and
6159 associated attributes have been moved to the historical section of
6160 the schema file and must be uncommented before use if needed.
6161 The 2.2 object class declaration for a sambaAccount has not changed
6162 in the 3.0 samba.schema file. 
6163   
6164 Other new object classes and their uses include:
6165   
6166   * sambaDomain - domain information used to allocate rids 
6167     for users and groups as necessary.  The attributes are added
6168     in 'ldap suffix' directory entry automatically if 
6169     an idmap uid/gid range has been set and the 'ldapsam'
6170     passdb backend has been selected.
6171       
6172   * sambaGroupMapping - an object representing the 
6173     relationship between a posixGroup and a Windows
6174     group/SID.  These entries are stored in the 'ldap 
6175     group suffix' and managed by the 'net groupmap' command.
6176     
6177   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
6178     automatically and contains the next available 'idmap uid' and 
6179     'idmap gid'
6180     
6181   * sambaIdmapEntry - object storing a mapping between a 
6182     SID and a UNIX uid/gid.  These objects are created by the 
6183     idmap_ldap module as needed.
6185   * sambaSidEntry - object representing a SID alone, as a Structural
6186     class on which to build the sambaIdmapEntry.
6188     
6189 New Suffix for Searching
6190 ------------------------
6191   
6192 The following new smb.conf parameters have been added to aid in directing
6193 certain LDAP queries when 'passdb backend = ldapsam://...' has been
6194 specified.
6196   * ldap suffix         - used to search for user and computer accounts
6197   * ldap user suffix    - used to store user accounts
6198   * ldap machine suffix - used to store machine trust accounts
6199   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
6200   * ldap idmap suffix   - location of sambaIdmapEntry objects
6202 If an 'ldap suffix' is defined, it will be appended to all of the 
6203 remaining sub-suffix parameters.  In this case, the order of the suffix
6204 listings in smb.conf is important.  Always place the 'ldap suffix' first
6205 in the list.  
6207 Due to a limitation in Samba's smb.conf parsing, you should not surround 
6208 the DN's with quotation marks.
6211 IdMap LDAP support
6212 ------------------
6214 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
6215 following options would inform Samba that the idmap table should be
6216 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
6217 dc=org" partition.
6219  [global]
6220     ...
6221     idmap backend     = ldap:ldap://onterose/
6222     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
6223     idmap uid         = 40000-50000
6224     idmap gid         = 40000-50000
6226 This configuration allows winbind installations on multiple servers to
6227 share a uid/gid number space, thus avoiding the interoperability problems
6228 with NFS that were present in Samba 2.2.
6229     
6232 ######################################################################
6233 Trust Relationships and a Samba Domain
6234 ######################################
6236 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
6237 allocating uids and gids to trusted users and groups.  More
6238 information regarding Samba's support for establishing trust 
6239 relationships can be found in the Samba-HOWTO-Collection included
6240 in the docs/ directory of this release.
6242 First create your Samba PDC and ensure that everything is 
6243 working correctly before moving on the trusts.
6245 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
6246 4.0 domain named WINDOWS:
6248   1) create the trust account for SAMBA in "User Manager for Domains"
6249   2) connect the trust from the Samba domain using
6250      'net rpc trustdom establish GLASS'
6252 To create a trustlationship with SAMBA as the trusted domain:
6254   1) create the initial trust account for GLASS using
6255      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
6256      account for GLASS$ prior to this step (depending on your
6257      local configuration).
6258   2) connect the trust from a WINDOWS DC using "User Manager
6259      for Domains"
6261 Now join winbindd on the Samba PDC to the SAMBA domain using
6262 the normal steps for adding a Samba server to an NT4 domain:
6263 (note that smbd & nmbd must be running at this point)
6265    root# net rpc join -U root
6266    Password: <enter root password from smbpasswd file here>
6268 Start winbindd and test the join with 'wbinfo -t'.
6270 Now test the trust relationship by connecting to the SAMBA DC
6271 (e.g. POGO) as a user from the WINDOWS domain:
6273    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
6274    Password:
6276 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
6278    $ smbclient //crystal/netlogon -U root -W WINDOWS
6279    Password:
6281 ######################################################################
6282 Changes in Winbind
6283 ##################
6285 Beginning with Samba3.0.0beta3, winbindd has been given new account
6286 manage functionality equivalent to the 'add user script' family of
6287 smb.conf parameters.  The idmap design has also been changed to 
6288 centralize control of foreign SID lookups and matching to UNIX 
6289 uids and gids.
6292 Brief Description of Changes
6293 ----------------------------
6295 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
6296    reverted to the 2.2.x design.  This means that when resolving a 
6297    SID to a UID or similar mapping:
6299         a) First consult winbindd
6300         b) perform a local lookup only if winbindd fails to
6301            return a successful answer
6303    There are some variations to this, but these two rules generally
6304    apply.
6306 2) All idmap lookups have been moved into winbindd.  This means that
6307    a server must run winbindd (and support NSS) in order to achieve
6308    any mappings of SID to dynamically allocated UNIX ids.  This was
6309    a conscious design choice.
6311 3) (OBSOLETE) New functions have been added to winbindd to emulate 
6312    the 'add user script' family of smbd functions without requiring 
6313    that external scripts be defined.  This functionality is controlled 
6314    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
6315    by default).
6317    However, this account management functionality is only supported 
6318    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
6319    must be shared among multiple Samba servers (such as a PDC and BDCs), 
6320    it will be necessary to define your own 'add user script', et. al.
6321    programs that place the accounts/groups in some form of directory
6322    such as NIS or LDAP.  This requirement was deemed beyond the scope
6323    of winbind's account management functions.  Solutions for 
6324    distributing UNIX system information have been deployed and tested 
6325    for many years.  We saw no need to reinvent the wheel.
6327 4) A member of a Samba controlled domain running winbindd is now able 
6328    to map domain users directly onto existing UNIX accounts while still
6329    automatically creating accounts for trusted users and groups.  This
6330    behavior is controlled by the 'winbind trusted domains only' smb.conf
6331    parameter (disabled by default to provide 2.2.x winbind behavior).
6333 5) Group mapping support is wrapped in the local_XX_to_XX() functions
6334    in smbd/uid.c.  The reason that group mappings are not included
6335    in winbindd is because the purpose of Samba's group map is to
6336    match any Windows SID with an existing UNIX group.  These UNIX
6337    groups can be created by winbindd (see next section), but the
6338    SID<->gid mapping is retreived by smbd, not winbindd.
6341 Examples
6342 --------
6344 * security = server running winbindd to allocate accounts on demand
6346 * Samba PDC running winbindd to handle the automatic creation of UNIX
6347   identities for machine trust accounts
6349 * Automtically creating UNIX user and groups when migrating a Windows NT
6350   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
6351   'net rpc vampire' for this to work.
6353    
6354 ######################################################################
6355 Known Issues
6356 ############
6358 * There are several bugs currently logged against the 3.0 codebase
6359   that affect the use of NT 4.0 GUI domain management tools when run
6360   against a Samba 3.0 PDC.  This bugs should be released in an early 
6361   3.0.x release.
6363 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
6364 filed against the Samba 3.0 codebase.
6367 ######################################################################
6368 Reporting bugs & Development Discussion
6369 #######################################
6371 Please discuss this release on the samba-technical mailing list or by
6372 joining the #samba-technical IRC channel on irc.freenode.net.
6374 If you do report problems then please try to send high quality
6375 feedback. If you don't provide vital information to help us track down
6376 the problem then you will probably be ignored.  
6378 A new bugzilla installation has been established to help support the 
6379 Samba 3.0 community of users.  This server, located at 
6380 https://bugzilla.samba.org/, has replaced the older jitterbug server 
6381 previously located at http://bugs.samba.org/.