r3684: syncing up some changes for 3.0.9
[Samba.git] / WHATSNEW.txt
blobf36aa77bee710a38e368d960fd7fc922984d20a9
1                    =============================
2                    Release Notes for Samba 3.0.8
3                              Nov 7, 2004
4                    =============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all
8 current bug-fixes.  There have been several important issues
9 fixes since the 3.0.7 release.  See the "Changes" section for
10 details on exact updates.
12 Common bugs fixed in 3.0.8 include:
14   o Compile fixes for HP-UX
15   o Fixes for the printer publishing code used when joined to 
16     an AD domain.
17   o Incompatibilities with file system quotas.
18   o Several bugs in the spoolss printing code and print system 
19     backends.
20   o Inconsistencies in the username map functionality when 
21     configured on domain member servers.
22   o Various compile warnings and errors on various platforms.
23   o Fixes for kerberos interoperability with Windows 200x 
24     domains when using DES keys.
25   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
27   
28 New features included in the 3.0.8 release are:
30   o New migration functionality added the the net tool
31     for files/directories, printers, and shares.
32   o New experimental idmap backend for assigning uids/gids
33     directly based on the user/group RID when acting as a
34     member of single domain without any trusts.
35   o Additional printer migration support for XP/2003 platforms.
38 Change in Winbindd Behavior
39 ---------------------------
41 All usernames returned by winbindd are now converted to lower 
42 case for better consistency.  This means any winbind installation
43 relying on the winbind username will need to rename existing 
44 directories and/or files based on the username (%u and %U) to lower 
45 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
46 include mail spool files, home directories, valid user lines in 
47 smb.conf, etc....
50 Change in Username Map
51 ----------------------
53 Previous Samba releases would only support reading the fully qualified 
54 username (e.g. DOMAIN\user) from the username map when performing a 
55 kerberos login from a client.  However, when looking up a map 
56 entry for a user authenticated by NTLM[SSP], only the login name would be
57 used for matches.  This resulted in inconsistent behavior sometimes
58 even on the same server.
60 Samba 3.0.8 obeys the following rules when applying the username
61 map functionality:
63   * When performing local authentication, the username map is 
64     applied to the login name before attempting to authenticate 
65     the connection.
66   * When relying upon a external domain controller for validating
67     authentication requests, smbd will apply the username map 
68     to the fully qualified username (i.e. DOMAIN\user) only
69     after the user has been successfully authenticated.
72 ######################################################################
73 Changes
74 #######
76 Changes since 3.0.8pre2
77 -----------------------
78     Parameter Name                      Action
79     --------------                      ------
80     sendfile                            disabled by default
83 commits
84 -------
86 o   Jeremy Allison <jra@samba.org>
87     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
88       that all of the appropriate service principal names are set 
89       upon joining an AD domain.
90     * Fix the correct use of resume name in the trans2 code.
91     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
92       correct salt used when generated the DES key after joining an 
93       AD domain.
94     * Enhanced krb5 detection routines in the autoconf scripts.
97 o   Gerald Carter <jerry@samba.org>
98     * Packaging fixes for Solaris, Redhat, & Fedora.
101 o   Nalin Dahyabhai <nalin@redhat.com>
102     * SMB signing fix for 56-bit DES session keys.
103     
105 o   Guenther Deschner <gd@samba.org> 
106     * BUG 1661: Fix build with recent heimdal releases.
107     * Prevent idmap_rid from making unnecessary calls to domain 
108       controllers for trusted domains.
109     
111 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
112     * BUG 1498: Ensure that acl entries are stored in the correct 
113       order.
116 o   Brett Funderburg <brett@deepfile.com>
117     * BUG 1884: Fixes for the Python bindings to use the value
118       of the desired_access filed passed into the lsa_open_policy()
119       routines.
122 o   Volker Lendecke <vl@samba.org>
123     * Memory leak fixes.
124     * Fix checks for the local pid of an smbd process after 
125       reopening tdbs.
127 o   Herb Lewis <herb@samba.org>
128     * Added tdbtool to be built by default.
131 o   Luke Mewburn <lukem@NetBSD.org>
132     * BUG 1782: Prevent testparm from displaying parameter synonyms.
135 o   Narayana Pattipati <narayana.pattipati@wipro.com>
136     * Solaris autoconf detection fixes.
139 o   Matt Selsky <selsky@columbia.edu>
140     * BUG 350: use autoconf 2.57 feature for checking header file
141       preprocessing (fixes configure warnings on Solaris).
144 o   Michael Sweet <mike@easysw.com>
145     * BUG 1892: Updated smbspool for use with newer CUPS libraries.
148 Changes since 3.0.7
149 -------------------
151 smb.conf changes
152 ----------------
154     Parameter Name                      Action
155     --------------                      ------
156     force printername                   New
158 commits
159 -------
161 o   Jeremy Allison <jra@samba.org>
162     * Ensure extended security bit is on only if we negotiated 
163       extended security.
164     * Simplify statcache to use an in-memory tdb. 
165     * If you're selecting a hash algorithm for tdb, you need 
166       to do it at open time.
167     * Removed old dir caching code - not being used now we 
168       have the statcache anyway.
169     * Simplify the mangle hash code to use an in-memory tdb.
170     * Merge iconv changes from Samba 4 branch.
171     * Fix parsing of names ending in dot and a few other error 
172       returns.
173     * BUG 1667: Smbpasswd file could be left locked on some 
174       error exits.
175     * Fixes for smbclient tar functionality.
176     * BUG 1743: Fix logic bug the deferred open code.
177     * Don't try to set security descriptors on shares where 
178       this has been turned off.
179     * Return correct error codes on old SEARCH call.
180     * Ensure we set errno = E2BIG when we overflow in the 
181       fast-path character conversion code.
182     * Fix the roundup problem (returning 1mb roundup) for 
183       non-Windows clients.
184     * Added 'stat' command to smbclient to exercise the 
185       UNIX_FILE_BASIC info level.
186     * Fix bug where we could incorrectly set sparse attribute.
187     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
188       (reported by Taj Khattra <taj.khattra@gmail.com>).
189     * Remove locked keys tdb code.
190     * BUG 1886: Prevent delete on close being set for readonly files 
191       (and return the correct error code).
192     * Ensure we pass most of the new lock tests except for the cancel 
193       lock which is yet to be added (merged from Samba 4 branch).
194     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
195     * BUG 1956: Ensure errno is saved and restored consistently on a normal_close.
196   
198 o   Andrew Bartlett <abartlet@samba.org>
199     * Avoid changing the machine account password in the passdb 
200       backend, when it has 'already been changed'.  This occurs 
201       in situations where the secure channel between the workstation 
202       and the DC breaks down, such as occurred in the MS04-11 
203       security patch.
204     * Fix utility name in error message in ntlm_auth.
205     * Fix NTLMv2 for use with pam_winbind.
206     * Remove conversion to and from UTF8 on the winbind pipe.
207     * Allow 'require_membership_of' and 'require-membership-of'.
208     * Fix the error code for 'you didn't specify a domain' in 
209       ntlm_auth.
210     * Use sys_getgroups() rather than scanning all groups 
211       when generating SAMR replies.
214 o   Igor Belyi <sambauser@katehok.ac93.org>
215     * Ensure pdb user is deleted first before deleting UNIX 
216       user (LDAP backend needs this ordering).
219 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
220     * Fix core dump in 'net rpc vampire'.
221     
223 o   Vince Brimhall <vbrimhall@novell.com>
224     * Make ldapsam_compat robust against NULL attributes.
227 o   Gerald Carter <jerry@samba.org>
228     * Don't limit the number of groups returned by winbindd_getgroups()
229       by NGROUPS_MAX.
230     * BUG 1519: Match Windows 2000 behavior when opening a 
231       printer using a servername in the form of an IP address or 
232       DNS name.
233     * BUG 1907: remove extra slashes from the printer name in 
234       getprinterdriverdir_1().  
235     * Fix standard_sub_snum() to use the current user's gid.
236     * Fix background queue update bug (based on Volker's initial work 
237       in 3.1.0).
238     * Add 'force printername' service parameter for people that want 
239       to enforce printername == sharename for spoolss printing.
240     * Ensure consistent usage of the username map.  Use the fully 
241       qualified DOMAIN\user format for 'security = domain|ads' and 
242       apply after authentication has succeeded.
243     * Cosmetic fix for getent output -- lowercase the username only 
244       and not the complete domain\username string.
246     
247 o   Sean Chandler <sean.chandler@verizon.net>
248     * Fix memlieak in cliconnect.c.
251 o   Darren Chew <darrenc@vicscouts.asn.au>
252     * Solaris packaging fixes.
253     
255 o   Guenther Deschner <gd@samba.org> 
256     * add IA64 to the architecture table of printer-drivers.
257     * Add file/share/printer migration functionality to 
258       the net command.
259     * Show correct help for net groupmap commands.
260     * Fix deadlock loop in winbind's required_membership_sid
261       verification.
262     * Bring the same level of "required_membership"-functionality 
263       that ntlm_auth uses, to pam_winbindd as well.
264     * Prevent "net lookup kdc" from seg-faulting when
265       using our own implementation of krb5_lookup_kdc with 
266       heimdal.
267     * Adding getprinter level 7 to rpcclient.
268     * Support migrating printers|shares|files from Server A 
269       to Server B while running the net-command on client C.
270     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
271       failure of this call non-critical (Thanks to Love @ Heimdal
272       for the explanation and patch).
273     * Fix typos in net's usage-output.
274     * Fix the paranoia-check to ensure the ldap-attribute and the
275       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
276       are identical.
277     * Fix several bugs in the _samr_query_useraliases() rpc reply.
278     * Check correct string length when verifying password-policies 
279       and using extended characters (Thanks to Uwe Morgenroth from CC 
280       Compunet and Volker).
281     * Make 'password history'-behavior in ldapsam more consistent. 
282     * Adding "Windows x64" as architecture string and driverdir "x64" 
283       for the 64bit AMD platform.
284     * BUG 1343: Readd WKGUID-binding to match the correct default-
285       locations of new User-, Group- and Machine-Accounts in Active 
286       Directory (this got lost during the last trunk-merge).
287     * Fix printer-migration w.r.t. to new naming-convention for
288       policy-handles.
289     * Allow to migrate win2k3/xp-drivers as well. 
290     * Add client-side support of triggering ads printer publishing 
291       over msrpc setprinter calls inside the net-tool. 
292     * Add the idmap_rid module (written in conjunction with 
293       Sumit Bose <sbose@suse.de>).
296 o   Arthur van Dongen <avdongen@xs4all.nl>
297     * Fix typos in pam_winbind log messages and SuSE 
298       packaging files.
301 o   Rob Foehl <rwf@loonybin.net>
302     * Typo fixes for log messages in printer publishing code.
303     * Fix memory leak in printer publishing code.
304     * Ensure print_backend_init() only gets called once.
305     * Have smbd check the published status of all printers 
306       at startup.
307     * Cleanup up the XXX_a_printer() API for consistency.
308     * Refactored the printer publishing code and include better 
309       error handling.
312 o   Steve French <sfrench@us.ibm.com>
313     * Fix IP address override in mount.cifs mount helper and clean 
314       up warning messages from the sparse tool and expand syntax help.
315     * Strip guest mount option off before sending to kernel mount 
316       routine to avoid logging spurious message.
319 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
320     * BUG 1732: Limit share names returned by RAP based on windows 
321       character width, not unix character width.
324 o   Brett Funderburg <brett@deepfile.com>
325     * Pass create options parameter to nt_create_andx() function
326       from the python bindings.
327     * BUG 1864: Add sd->type field to security descriptor Python 
328       representation.
329     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
330       when trying to return the security descriptor for a file.
333 o   Michael Gravey <michel.gravey@optogone.com>
334     * BUG 1776: Fix warnings when building modules caused by 
335       certain versions of GNU ld not using the the default 
336       --allow-shlib-undefined flag.
339 o   Chris Hertel <crh@samba.org>
340     * Fix logic bug in splay tree data structure when finding 
341       a leaf node.
342     * Fix bug where an invalid MAC address would be printed by 
343       a node status lookup from nmblookup.
345       
346 o   Uli Iske <iske@elkb.de>
347     * Update the DNS/eDirectory LDAP schema file.
350 o   Björn Jacke <bjacke@sernet.de>
351     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
352       UTF-8.  Reformat msgstr in msg-files to UTF-8.
353     * Do not use display charset for swat output.
354     * Convert the share names correctly from unix encoding to web 
355       encoding and vice versa. 
356     * Convert files from status page from unix charset to UTF-8.
359 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
360     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
363 o   Tom Lackemann <cessnatomny@yahoo.com>
364     * BUG 1954: Fix memory leak in posix acl code.
367 o   Volker Lendecke <vl@samba.org>
368     * Robustnss fix for winbindd when sending multiple requests 
369       at a high rate for a slow operation.  
370     * Solve the problem of user sids ending up with gid's 
371       and vice versa.
372     * Use sys_fork instead of fork for the dual daemon so that 
373       we get the correct debug pid in the logfiles.
374     * Based on patch from jmcd, implement special lists for the LDAP 
375       user attributes to delete.
376     * Fix creation of aliases via usrmgr. Winbind was too strict 
377       checking the type of sids.
378     * Lowercase all usernames returned by winbind.
379     * BUG 1545, 1823: Only issue the ldap extended password change 
380       operation if the ldap server supports it.  Also ignore object 
381       class violation errors from the extended operation.
382     * Optimization for 'idmap backend = ldap': When asking sid2id 
383       for the wrong type, don't ask ldap when we have the opposite mapping 
384       in the local tdb.
385     * Fix ldapsam_compat homeDrive.
386     * Add usersidlist and allowedusers subcommands to the net tool
387       in order to support scanning a file server's share and list 
388       all users who have permission to connect there.
389     * Allow for multiple DC's to be named as #1c names in lmhosts.
392 o   Love <lha@stacken.kth.se>
393     * BUG 1955: Inconsistent error return.
396 o   Sorin Manolache <sorinm@gmail.com>
397     * Memory leak fix.
400 o   Jim McDonough <jmcd@us.ibm.com>
401     * Allow 'net ads lookup' to rely on command line arguments 
402       if contacting an ADS server fails; utilize cldap for lookups.
403     * Fixup formatting errors in TDB_LOG calls; add printf attribute
404       support to tdb log functions.
407 o   Bill McGonigle <bill+samba@bfccomputing.com>
408     * BUG 1926: Type in debug message.
411 o   Sean McGrath
412     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
413       for libsmbclient.
416 o   Stefan Metzmacher <metze@samba.org>    
417     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
418     * Fix client quota support.
419     * Fix opening of system quota file.
422 o   Lars Mueller <lmuelle@suse.de>
423     * Small fixes for autogen.sh to deal with version detection 
424       of autoconf and autoheader; fixes for examples using 
425       libtool to adhere to stricter syntax of newer version.
428 o   Henrik Nordstrom <hno@squid-cache.org>
429     * Allow winbindd to return the correct number of groups 
430       when the groups array must be enlarged.
433 o   Tim Potter <tpot@samba.org>
434     * BUG 1360: (correct fix) Use -Wl when passing flags to 
435       the linker.
436     * HP-UX compile fixes (from JBravo on #samba-technical).
437     * BUG 1731: More HP-UX compiles fixes.
438     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
439       spits the dummy otherwise.
440     * Fix bug in Python printerdata wrapper.
441     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
442       <bugzilla-samba@thewrittenword.com>).
443     * Fix parameter confusion in priming of name-to-sid cache
444       (Found by Qiao Yang).
445     * BUG 1888: Remove '..' from all pre-processor commands.
446     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
447       DEBUG_PASSWORD.
450 o   Richard Renard <rrenard@idealx.com>
451     * Fix usermgr.exe and trust relationships.
454 o   Paul Szabo <psz@maths.usyd.edu.au>
455     * Fix to make find_workgroup use the same 
456       truncation as create_workgroup.
459 o   Richard Sharpe <rsharpe@samba.org>
460     * Ensure cli_write() can support writes >= 65536 bytes.
463 o   Simo Sorce <idra@samba.org>
464     * Added check password script code in examples/auth/crackcheck/
465     * Fix memory corruption bug caused in freeing static memory.
468 o   Andrew Tridgell <tridge@samba.org>
469     * Remove lp_use_mmap() from map_file() since the latter 
470       is for read only and does not require coherence.
471     * Ensure that the uuid pack/unpack routines do not go past 
472       the end of the structure.
473     * Converted Samba 3 tree to use the new utf-16 aware iconv 
474       code. 
475     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
476     * Ensure configure only uses '=' instead of the bashism '=='.
477     * Reduces the number of tdb locking calls made on file IO.
478     
480 o   Jelmer Vernooij <jelmer@samba.org>
481     * Convert internal data to UTF-8 before calling libxml2.
482     * Complain if 'password chat' doesn't contain the %u variable
483       (based on a patch by Ronan Waide).
484     
486 o   Josef Zlomek
487     * BUG 1541:  Fix recursive ls in smbclient. 
489     
490 o   Igor Zhbanov <bsg@uniyar.ac.ru>
491     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
492       option.
495 Changes for older versions follow below:
497       --------------------------------------------------
498                   =============================
499                   Release Notes for Samba 3.0.7
500                            Sept 13, 2004
501                   =============================
503 This is the latest stable release of Samba. This is the version
504 that production Samba servers should be running for all
505 current bug-fixes.  There have been several important issues
506 fixes since the 3.0.6 release.  See the "Changes" section for
507 details on exact updates.
509 Common bugs fixed in 3.0.7 include:
511   o Fixes for two Denial of Service vulnerabilities
512     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
513   o Winbind failure to return user entries under certain
514     conditions.
515   o Syntax errors in the OpenLDAP schema file (samba.schema).
516   o Printing errors caused by not setting default values
517     for the various printing commands.
520 Changes since 3.0.6
521 -------------------
523 smb.conf changes
524 ----------------
526     Parameter Name                      Action
527     --------------                      ------
528     winbind enable local accounts       disabled by default
530     
531 commits
532 -------
533 o   Jeremy Allison <jra@samba.org>
534     * Fix parsing of names ending in dot and a few other error 
535       returns.
536     * BUG 1674: Move the symlinks checks into reduce_name().
537     * Fix memleak when checking the valid names smb.conf option.
538     * Fix memleak on error return path in the file open code.
539     * More paranoia checks in the hash2 mangling code.
540     * Fix syntax error in configure.in.
541     * Match Win2k3's behavior for pathname parsing error returns.
542     * Make nmbd more robust against bad netbios packets 
543       (CAN-2004-0808).
544     * Add more checks for invalid ASN.1 packets for SPNEGO packets
545       (CAN-2004-0807).
547   
548 o   Andrew Bartlett <abartlet@samba.org>  
549     * Janitor work in loadparm.c -- remove unused parameters.
552 o   Gerald Carter <jerry@samba.org>
553     * BUG 1464: Ensure that printing commands are initialized even
554       if the 'printing' parameter is not explicitly set.
555     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
556       Adharsh Praveen <rprav@india.hp.com>)
557     * Work around parsing error in the print change notify code.
558     * remove duplicate declaration of getprintprocdir from 
559       rpcclient.
560     * Only use sAMAccountName and not userPrincipalName when looking
561       up a username in AD since the breaks winbindd (lookup_name() 
562       only works with the sAMAccountName).
563     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
564       filling in the username in the user_info3.
565     * Fix logic bug in the check for creating a user's home directory 
566       in register_vuid(); caused home directory to be mismatched to 
567       the first share in smb.conf under certain conditions.
568     * BUG 1656: rename auto.a to auto.smb.
569     * Ensure that we assign our pid to print jobs (and not our 
570       parent's pid); ensures that spooling jobs from dead smbds 
571       are removed from the tdb.
572     * Disable 'winbind enable local accounts' by default.
573     * Adding some initial checks for DragonFly (same as 
574       FreeBSD 4.1).
575     
577 o   Guenther Deschner <gd@samba.org> 
578     * Use SMB_ASSERT() to track down NULL printer names in 
579       the tdb open code.
580     * Revert fix for BUG 1474 to avoid unnecessary packaging 
581       dependencies.
584 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
585     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
586       and 5.1.
587     * BUG 1626: More compile fixes.
590 o   Rob Foehl <rwf@loonybin.net>
591     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
592       by attempts to sanitize the defined attributes.
595 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
596     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
599 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
600     * BUG 1657: Remove used initialized variable, 
601     * BUG 1658: Add a little bit of const.
604 o   Volker Lendecke <vl@samba.org>
605     * If there's garbage in the pidfile, we should not panic 
606       but assume that no one else is around. We can't find the 
607       other guy anyway.
610 o   Jim McDonough <jmcd@us.ibm.com>
611     * Fixup format string in the tdb error messages.
614 o   Jonas Olsson <lexicon@lysator.liu.se>
615     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
616       reporting the list in usrmgr.exe.
619 o   Tim Potter <tpot@samba.org>
620     * Fix out-of-tree builds (problem with the script to generate 
621       the svn version number).
622     * BUG 1360:  Need to use -Wl when passing flags to the linker.
623     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
624       doesn't have one of its own.
626 o   Simo Sorce <idra@samba.org>
627     * Fixup compile issues on AIX caused by broken strlen() and 
628       strdup().
629     * Update debian packaging files.
632 o   Dimitri van der Spek <dwspek@aboveit.nl>
633     * Use the correct counter when copying group rids from the 
634       user_info3 struct in pam_winbind.
635       
637 o   Qiao Yang <qyang@stbernard.com>
638     * BUG 1622: Only cache the user
641       --------------------------------------------------
642       
643                   =============================
644                   Release Notes for Samba 3.0.6
645                            Aug 19, 2004
646                   =============================
648 Common bugs fixed in 3.0.6 include:
650   o Schannel failure in winbindd.
651   o Numerous memory leaks.
652   o Incompatibilities between the 'write list' and 'force user'
653     smb.conf options.
654   o Premature optimization of the open_directory() internal 
655     function that broke tools such as the ArcServe backup 
656     agent, Macromedia HomeSite, and Robocopy.
657   o Corrupt workgroup names in nmbd's browse.dat.
658   o Sharing violation errors commonly seen when opening
659     when serving Microsoft Office documents from a Samba 
660     file share.
661   o Browsing problems caused by an apostrophe (') in the 
662     computer's description field.
663   o Problems creating special file types from UNIX CIFS 
664     clients and enabling 'unix extensions'.
665   o Fix stalls in smbd caused by inaccessible LDAP servers.
666   o Remove various memory leaks.
667   o Fix issues in the password lockout feature.
669 New features introduced in this release include:
671   O Support symlinks created by CIFS clients which 
672     can be followed on the server.
673   o Using a cups server other than localhost.
674   o Maintaining the service principal entry in the system 
675     keytab for integration with other kerberized services.
676     Please refer to the 'use kerberos keytab' entry in 
677     smb.conf(5).  When using the heimdal kerberos libraries,
678     you must also specify the following in /etc/krb5.conf:
679     [libdefaults]
680        default_keytab_name = FILE:/etc/krb5.keytab
681   o Support for maintaining individual printer names
682     stored separately from the printer's sharename.
683   o Support for maintaining user password history.
684   o Support for honoring the logon times for user in a 
685     Samba domain.
687 --------------------------------------------
688 unix extensions = yes (default) and symlinks
689 --------------------------------------------
691 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
692 clients supporting the UNIX extensions to the CIFS protocol 
693 can create symlinks to absolute paths which will be **followed** 
694 by the server.  This functionality has been requested in order 
695 to correctly support certain applications when the user's home 
696 directory is mounted using some type of CIFS client (e.g. the 
697 cifsvfs in the Linux 2.6 kernel).
699 If this behavior is not acceptable for your production environment
700 you can set 'wide links = no' in the specific share declaration in 
701 the server's smb.conf.  Be aware that disabling wide link support 
702 out of a share in Samba may impact the server's performance due 
703 to the fact that smbd will now have to check each path additional 
704 times before traversing it.
705   
706 ------------------------
707 Password History Support 
708 ------------------------
710 The new password history feature allows smbd to check the new 
711 password in password change requests against a list of the user's
712 previous passwords.  The number of previous passwords to save can 
713 be set using pdbedit (4 in this example):
715    root# pdbedit -P "password history" -C 4
717 When using the ldapsam passdb backend, it is vital to secure the 
718 following attributes from access by non-administrative users:
720    * sambaNTPassword
721    * sambaLMPassword
722    * sambaPasswordHistory
724 You should refer to your directory server's documentation on how 
725 to implement this restriction.
728 Changes since 3.0.5
729 -------------------
731 smb.conf changes
732 ----------------
734     Parameter Name              Action
735     --------------              ------
736     cups server                 New
737     defer sharing violations    New
738     force unknown acl user      New
739     ldap timeout                New
740     printcap cache time         New
741     use kerberos keytab         New
742     
743 commits
744 -------
745 o   Jeremy Allison <jra@samba.org> 
746     * Correct path parsing bug that broke DeletePrinterDriverEx().
747     * Fix bugs in check_path_syntax() caught by asserts.
748     * Internal change - rearrange internal global case setting 
749       variables to a per connection basis.
750     * BUG 1345: Fix premature optimization in unix_convert(). 
751     * Allow clients to truncate a locked file.
752     * BUG 1319: Always check to see if a user as write access
753       to a share, even when 'force user' is set.
754     * Fix specific case of open that doesn't cause oplock break, 
755       or share mode check.
756     * Correct sid type is WKN_GROUP, not alias. Added some 
757       more known types (inspired by patch from Jianliang Lu).
758     * Allow creation of absolute symlink paths via CIFS clients.
759     * Fix charset bug in when invoking send_mailslot().
760     * When using widelinks = no, use realpath to canonicalize 
761       the connection path on connection create for the user. 
762     * Enhance stat open code.
763     * Fix unix extensions mknod code path.
764     * Allow unix domain socket creation via unix extensions.
765     * Auto disable the 'store dos attribute' parameter if the 
766       underlying filesystem doesn't support EAs.
767     * Implement deferred open code to fix a bug with Excel files 
768       on Samba shares.
769     * BUG 1427: Catch bad path errors at the right point.  Ensure 
770       all our pathname parsing is consistent.
771     * Fix SMB signing error introduced by the new deferred open 
772       code.
773     * Change default setting for case sensitivity to "auto". (see 
774       commit message -- r1154 -- for details).
775     * Add new remote client arch -- CIFSFS.
776     * Allow smbd to maintain the service principal entry in the 
777       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
778       Guenther Deschner, et. al.).
779     * Fix longstanding memleak bug with logfile name.
780     * Fix incorrect type in printer publishing (struct uuid, 
781       not UUID_FLAT).
782     * Heimdal compile fixes after introduction of the new ketyab 
783       feature.
784     * Ensure we check attributes correctly on rename request.
785     * Ensure we defer a sharing violation on rename correctly.
786     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
787       on timeout.
788     * Fix bogus error message when using "mangling method = hash" 
789       rather than hash2.
790     * Turn on sendfile by default for non-Win9x clients.
791     * Handle non-io opens that cause oplock breaks correctly.
792     * Ensure ldap replication sleep time is not more than 5 seconds.
793     * Add support for storing a user's password history.
794       LDAP portion of the code was based on a patch from 
795       Jianliang Lu <j.lu@tiesse.com>.
796     * Correct memory leaks found in the password change code.
797     * Fix support for the mknod command with the Linux CIFS client.
798     * Remove support for passing the new password to smbpasswd 
799       on the command line without using the -s option.
800     * Ensure home directory service number is correctly reused
801       (inspired by patches from Michael Collin Nielsen 
802       <michael@hum.aau.dk>).
803     * Fix to stop printing accounts from resetting the bas 
804       password and account lockout flags.
805     * If a account was locked out by an admin (and has a bad 
806       password count of zero) leave it locked out until an admin 
807       unlocks it (but log a message).
808     * Ensure we return the same ACL revision on the wire that 
809       W2K3 does.
810     * BUG 1578: Hardcode replacement for invalid characters as '_'
811       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
812     * Fix hashed password history for LDAP backends.
813     * Enforce logon hours restrictions if confiogured (based on code 
814       from Richard Renard <rrenard@idealx.com>).
815     * BUG 1606: Force smbd to disable sendfile with DOS clients 
816       and ensure that the chained header is filled in for ...&X 
817       commands.
818     * BUG 1602: Fix access to shares when all symlink support 
819       has been disabled.
823 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
824     * Allow pdbedit to export a single user from a passdb backend.
825     
827 o   Andrew Bartlett <abartlet@samba.org>  
828     * Fix parsing bug in GetDomPwInfo().
829     * Fix segfault in 'ntlm_auth --diagnostics'.
830     * Re-enable code to allow sid_to_gid() to perform a group 
831       mapping lookup before checking with winbindd.
832     * Fix memory leak in the trans2 signing code.
833     * Allow more flexible GSS-SPENGO client and server operation 
834       in ntlm_auth.
835     * Improve smbd's internal random number generation.
836     * Fix a few outstanding long password changes in smbd.
837     * Fix LANMAN2 session setup code.
840 o   Eric Boehm <boehm@nortelnetworks.com>
841     BUG 703: Final touches on netgroup case lookups.
842     
843     
844 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
845     * Ensure error status codes don't get overwritten in 
846       lsa_lookup_sids() server code.
847     * Correct bug that caused smbd to overwrite certain error 
848       codes when returning up the call stack.
849     * Ensure the correct sid type returned for builtin sids.
852 o   Gerald Carter <jerry@samba.org>
853     * Fix a few bugs in the Fedora Packaging files.
854     * Fix for setting the called name to by our IP if the 
855       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
856       with connecting to printers via \\ip.ad.dr.ess\printer 
857       UNC path.
858     * BUG 1315: fix for schannel client connections to servers
859       when we haven't specifically negotiated AUTH_PIPE_SEAL.
860     * Allow PrinterDriverData valuenames with embedded backslashes
861       (Fixes bug with one of the Konica Fiery drivers).
862     * Fixed string length miscalculation in netbios names that 
863       resulted in corrupt workgroup names in browse.dat.
864     * When running smbd as a daemon, launch child smbd to update 
865       the lpq cache listing in the background.
866     * Allow printers "Printers..." folder to be renamed to a string 
867       other than the share name.
868     * Allow winbindd to use domain trust account passwords when 
869       running on a Samba DC to establish an schannel to remote 
870       domains.
871     * Fix bad merge and ensure that we always use tdb_open_log() 
872       instead of tdb_open_ex() (the former call enforce the 'use 
873       mmap' parameter).
874     * BUG 1221: revert old change that used single and double 
875       quotes as delimeters in next_token(), and change 
876       print_parameter() to print out parm values surrounded by 
877       double quotes (instead of single quotes).
878     * Prevent home directories added during the SMBsesssetup&X from 
879       being removed as unused services.
880     * Invalidate the print object cache for open printer handles when
881       smbd receives a message that an attribute on a given printer 
882       has been changed.
883     * Cause the configure script to exit if --enable-cups[=yes] is 
884       defined and the system does not have the cups devel files 
885       installed.
886     * BUG 1297: Prevent map_username() from being called twice 
887       during logon.
888     * Ensure that we use the userPrincipalName AD attribute 
889       value for LDAP SASL binds.
890     * Ensure we remove the tdb entry when deleting a job that 
891       is being spooled.
892     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
893       client sends a FindNextPrintChangeNotify() request without 
894       previously sending a FindFirstPrintChangeNotify().  Return 
895       the same error code as Windows 2000 SP4.
896     * BUG 1516: Manually declare ldap_open_with_timeout() to 
897       workaround compiler errors on IRIX (or other systems without 
898       LDAP headers).
899     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
900       3.0.5.
901     * Corrected syntax error in the OID for sambaUnixIdPool, 
902       sambaSidEntry, & sambaIdmapEntry object classes.
903     * Tighten the cache consistency with the ntprinters.tdb entry 
904       an the in memory cache associated with open printer handles.
905     * Make sure that register_messages_flags() doesn't overwrite 
906       the originally registered flags.
909 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
910     * Debian BUG 252591: Ensure that the return value from the 
911       number of available interfaces is initialized in case no 
912       interfaces are actually available.
915 o   Guenther Deschner <gd@sernet.de> 
916     * Implement 'rpcclient setprintername'.
917     * Add local groups to the user's NT_TOKEN since they are 
918       actually supported now.
919     * Heimdal compile fixes after introduction of the new keytab 
920       feature.
921     * Correctly honor the info level parameter in 'rpcclient 
922       enumprinters'.
923     * Reintroduce 'force unknown acl user' parameter.  When getting a 
924       security descriptor for a file, if the owner sid is not known, 
925       the owner uid is set to the current uid. Same for group sid.
926     * Ensure that REG_SZ values in the SetPrinterData actually 
927       get written in UNICODE strings rather than ASCII.
928     * Ensure that the last kerberos error return is not invalid.
929     * Display share ACL entries from rpcclient.
930     * Correct infinite loop in pam_winbind's verification of 
931       group membership in the 'other sids' field in the user_info3 
932       struct.
935 o   Fabian Franz <FabianFranz@gmx.de>
936     * Support specifying a port in the device URL passed to smbspool.
937     
938     
939 o   Steve French <sfrench@us.ibm.com>
940     * Handle -S and user mount parms in mount.cifs.
941     * Fix user unmount of shares mount with suid mount.cifs.
942     * prevent infinite recusion in reopen_logs() when expanding 
943       the smb.conf variable %I.
946 o   Bjoern Jacke <bj@sernet.de>
947     * Install libsmbclient into $(LIBDIR), not into hard coded 
948       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
949       and an explicit configure --libdir setting.
952 o   <kawasa_r@itg.hitachi.co.jp>
953     * Correct more memory leaks and initialization bugs.
954     * Fix bug that prevented core dumps from being generated 
955       even if you tried.
956     * Connect to the winbind pipe in non-blocking mode to 
957       prevent processes from hanging.
958     * Memory leak fixes.
961 o   Stephan Kulow <coolo@suse.de>
962     * Fix crash bug in libsmbclient.
965 o   Volker Lendecke <vl@samba.org>
966     * Added vfs_full_audit module.
967     * Add vfs_afsacl.c which can display & set AFS acls via 
968       the NT security editor.
969     * Fix crash bug caused by trying to Base64 encode a NULL string.
970     * Fix DOS error code bug in reply_chkpath().
971     * Correct misunderstanding of the max_size field in 
972       cli_samr_enum_als_groups;  it is more like an account_control 
973       field with individual bits what to retrieve.
974     * Implement 'net rpc group rename' -- rename domain groups.
975     * Implement the 'cups server' option. This makes it possible 
976       to have virtual smbd's connect to different cups daemons.
977     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
978     * Fix sid_to_gid() calls in winbindd to prevent loops.
979     * Ensure that local_sid_to_gid() sets the type of the group on 
980       return.
981     * Make sure that the clients are given back the IP address to 
982       which they connected in the case of a multi-homed host. Only 
983       affects strings the spoolss printing replies.
984     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
985       did not ask for the modifyTimestamp attribute, so it could 
986       not find it.   Try not to regress by not putting that attrib 
987       in the main list but append it manually for the relevant searches.
988     * Fix two memleaks in login_cache.c.
989     * fixes memory bloat when unmarshalling strings.
990     * Fix compile errors using gcc 3.2 on SuSE 8.2.
991     * Fix the build for systems without kerberos headers.
992     * Allow winbindd to handle authentication requests only when 
993       started without either an 'idmap uid' or 'idmap gid' range.
994     * Fix the build for systems without ldap headers.
995     * Fix interaction between share security descriptor and the 
996       'read only' smb.conf option.
997     * Fix bug that caused _samr_lookupsids() with more than 32 (
998       MAX_REF_DOMAINS) SIDs to fail.
999     * Allow the 'idmap backend' parameter to accept a list of 
1000       LDAP servers for failover purposes.
1001     * Revert code in smbd to remove a tdb when it has become 
1002       corrupted.
1003     * Add paranoid checks when mapping SIDs to a uid/gid to 
1004       ensure that the type is correct.
1005     * Initial work on getting client support for sending mailslot 
1006       datagrams.
1007     * Add 'ldap timeout' parameter.
1008     * Dont always uppercase 'afs username map'.
1009     * Expand aliases for getusersids as well.
1010     * Improved NT->AFS ACL mapping VFS module.
1013 o   Herb Lewis <herb@samba.org>
1014     * Add the acls debug class.
1015     * Fix logic bug in netbios name truncate routine.
1016     * Fix smbd crash caused by smbtorture IOCTL test.
1017     * Fix errno tromping before calling iconv to reset the 
1018       conversion state.
1019     * need to leave empty dacl so we can remove last ACE.
1022 o    Jianliang Lu <Jianliang.Lu@getronics.com>
1023     * Fix to stop smbd hanging on missing group member in 
1024       get_memberuids().
1025     * Make sure Samba returns the correct group types.
1026      * Reset the bad password count password counts upon a successful login.
1027      
1028      
1029 o   Jason Mader <jason@ncac.gwu.edu>
1030     * BUG 1385: Don't use non-consts in a structure initialization.
1031     
1033 o   Jim McDonough <jmcd@us.ibm.com>
1034     * BUG 1279: SMBjobid fix for Samba print servers running on 
1035       Big-Endian platforms.
1038 o   Joe Meadows <jameadows@webopolis.com>
1039     * Add optional timeout parameter to ldap open calls.
1040     * Allow get_dc_list() to check the negative cache.
1043 o   Stefan Metzmacher <metze@samba.org>    
1044     * fix a configure logic bug for linux/XFS quotas when 
1045       using --with-sys-quotas.
1046     * Use quota debug class in quota code.
1047     * print out the SVN revision by configure,
1048     
1050 o   Buchan Milne <bgmilne@mandrake.org>
1051     * Mandrake packaging fixes.
1052     
1053     
1054 o   Lars Mueller <lmuelle@suse.de>
1055     * BUG 1279: Added 'printcap cache time' parameter.
1056     * Fix afs related build issues on SuSE.
1057     * Fix compiler warnings in the kerberos client code.
1060 o   James Peach <jpeach@sgi.com>
1061     * More iconv detection fixes for IRIX.
1062     * Compile fixed for systems that do not have C99/UNIX98 compliant 
1063       vsnprintf by default.
1064     * Prevent smbd from attempting to use sendfile at all if it is 
1065       not supported by the server's OS.
1066     * Allow SWAT to search for index.html when serving html files 
1067       in a directory.
1070 o   Dan Peterson
1071     * Implement NFS quota support on FreeBSD.
1074 o   Tim Potter <tpot@samba.org>
1075     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
1076       avoid conflicts with identical symbols in the global namespace 
1077       when loading libnss_wins.so.
1080 o   Richard Renard <rrenard@idealx.com>
1081     * Save the current password as it is being changed into the 
1082       password history list.
1085 o   Richard Sharpe <rsharpe@samba.org>
1086     * Fix error return codes on some lock messages.
1087     * BUG 1178: Make the libsmbclient routines callable 
1088       by C++ programs.
1089     * BUG 1333: Make sure we return an error code when 
1090       things go wrong.
1091     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
1092       share mode locking requests fail.
1095 o   Simo Sorce <idra@samba.org>
1096     * Update Debian stable & unstable packaging.
1097     * Tidy up parametric options in testparm output.
1100 o   Richard Sharpe <rsharpe@samba.org>
1101     * Add sigchild handling to winbindd to restart the child 
1102       daemon if necessary.
1105 o   Tom Shaw <tomisfaraway@gmail.com>
1106     * Use winbindd_fill_pwent() consistently.
1109 o   Nick Thompson <nickthompson@agere.com>
1110     * Protect smbd against broken filesystems which return zero 
1111       blocksize.
1114 o   Andrew Tridgell <tridge@samba.org>
1115     * Fixed bug in handling of timeout in socket connections.
1116      
1118 o   Nick Wellnhofer <wellnhofer@aevum.de>    
1119     * Prevent lp_interfaces() list from being corrupted.  Fixes
1120       bug where nmbd would lose the list of network interfaces 
1121       on the system and consequently shutdown.
1123       
1124 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1125     * Fix ntlm_auth memory leaks.
1128 o   Jelmer Vernooij <jelmer@samba.org>
1129     * Additional NT status to unix error mappings.
1130     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
1131       get duplicate symbol errors.
1132     * Return an error when the last command read from stdin 
1133       fails in smbclient.
1134     * Prepare for better error checking in tar.
1135     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1136       
1138 Changes for older versions follow below:
1140       --------------------------------------------------
1141       
1142                  =============================
1143                  Release Notes for Samba 3.0.5
1144                          July 20, 2004
1145                  =============================
1147 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
1148 the exception of correcting the two security issues outlined 
1149 below.
1151 ######################## SECURITY RELEASE ########################
1153 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
1154 CVE ID:        CAN-2004-0600, CAN-2004-0686
1155                (http://cve.mitre.org/)
1158 This is the latest stable release of Samba. This is the version
1159 that production Samba servers should be running for all current
1160 bug-fixes.
1162 It has been confirmed that versions of Samba 3 prior to v3.0.4
1163 are vulnerable to two potential buffer overruns.  The individual
1164 details are given below.
1166 -------------
1167 CAN-2004-0600
1168 -------------
1170 Affected Versions:      Samba 3.0.2 and later
1172 The internal routine used by the Samba Web Administration
1173 Tool (SWAT v3.0.2 and later) to decode the base64 data
1174 during HTTP basic authentication is subject to a buffer
1175 overrun caused by an invalid base64 character.  It is
1176 recommended that all Samba v3.0.2 or later installations
1177 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1178 the swat administration service as a temporary workaround.
1180 This same code is used internally to decode the
1181 sambaMungedDial attribute value when using the ldapsam
1182 passdb backend. While we do not believe that the base64
1183 decoding routines used by the ldapsam passdb backend can
1184 be exploited, sites using an LDAP directory service with
1185 Samba are strongly encouraged to verify that the DIT only
1186 allows write access to sambaSamAccount attributes by a
1187 sufficiently authorized user.
1189 The Samba Team would like to heartily thank Evgeny Demidov
1190 for analyzing and reporting this bug.
1192 -------------
1193 CAN-2004-0686
1194 -------------
1196 Affected Versions:      Samba 3.0.0 and later
1198 A buffer overrun has been located in the code used to support
1199 the 'mangling method = hash' smb.conf option.  Please be aware
1200 that the default setting for this parameter is 'mangling method
1201 = hash2' and therefore not vulnerable.
1203 Affected Samba 3 installations can avoid this possible security
1204 bug by using the default hash2 mangling method.  Server
1205 installations requiring the hash mangling method are encouraged
1206 to upgrade to Samba 3.0.5.
1209 ##################################################################
1211     --------------------------------------------------
1212                  
1213                  =============================
1214                  Release Notes for Samba 3.0.4
1215                           May 8, 2004
1216                  =============================
1218 Common bugs fixed in Samba 3.0.4 include:
1220   o Password changing after applying the patch described in 
1221     the Microsoft KB828741 article to Windows clients.
1222   o Crashes in smbd.
1223   o Managing print jobs via Windows on Big-Endian servers.
1224   o Several memory leaks in winbindd and smbd.
1225   o Compile issues on AIX and *BSD.
1227 Changes since 3.0.3
1228 --------------------
1230 commits
1231 -------
1233 o   Jeremy Allison <jra@samba.org>
1234     * Fix path processing for DeletePrinterDriverEx().
1235     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
1236       breakage.
1239 o   Andrew Bartlett <abartlet@samba.org>
1240     * Fix alignment bug in GetDomPwInfo().
1243 o   Alexander Bokovoy <ab@samba.org>
1244     * Fix utime[s]() issues in smbwrapper on systems 
1245       that can boot both the 2.4 and 2.6 Linux kernels.
1248 o   Gerald Carter <jerry@samba.org>
1249     * Fedora packaging fixes.
1250     * BUG 1302: Fix seg fault by not trying to optimize a list of 
1251       invalid gids using the wrong array size.
1252     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1253       seen when 'security = share'.
1254     * Fix problems when using IBM's compiler on AIX.
1255     * Link Developer's Guide, Example Guide, and multi-page HOWTO
1256       into SWAT's welcome page.
1257     * BUG 1293: fix double free in printer publishing code.
1259     
1260 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1261     * Fix for handling timeouts in socket connections.
1264 o   Michel Gravey <michel.gravey@optogone.com>
1265     * BUG 483: patch from  to fix password hash creation in SWAT.
1266     
1268 o   Volker Lendecke <vl@samba.org>
1269     * Close the open NT pipes before the tdis.
1270     * Fix AFS related build issues.
1271     * Handle error conditions when base64 encoding a blob of 0 bytes.
1273     
1274 o   Herb Lewis <herb@samba.org>
1275     * Added 'acls' debug class.
1277 o   kawasa_r@itg.hitachi.co.jp
1278     * Multiple variable initialization and memory leak fixes.
1279     
1280     
1281 o   Stephan Kulow <coolo@suse.de>
1282     * Fix string length bug in libsmbclient that caused KDE's 
1283       Konqueror to crash.
1284     * BUG 429: More libsmbclient fixes.
1287 o   Jim McDonough <jmcd@us.ibm.com>
1288     * BUG 1007, 1279: Store the print job using a little-endian key.
1291 o   Eric Mertens
1292     o Compile fix for OpenBSD (ENOTSUP not supported).
1294     
1295 o   Stefan Metzmacher <metze@samba.org>
1296     * Correct bug in disks quota views from explorer.
1298     
1299 o   Tim Potter <tpot@samba.org>
1300     BUG 1305: Correct debug output.
1303 o   Richard Sharpe <rsharpe@samba.org>
1304     * Fix incorrect error code mapping.
1307 o   Jelmer Vernooij <jelmer@samba.org>
1308     * Add additional NT_STATUS errorm mappings.
1309     
1311 Changes for older versions follow below:
1313     --------------------------------------------------
1315                  =============================
1316                  Release Notes for Samba 3.0.3
1317                         April 29, 2004
1318                  =============================
1321 Common bugs fixed in Samba 3.0.3 include:
1323   o Crash bugs and change notify issues in Samba's printing code.
1324   o Honoring secondary group membership on domain member servers.
1325   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1326   o Substitution errors for %[UuGg] in smb.conf.
1327   o winbindd crashes when using ADS security mode.
1328   o SMB signing errors.
1329   o Delays in winbindd startup caused by unnecessary 
1330     connections to trusted domain controllers.
1331   o Various small memory leaks.
1332   o Winbindd failing due to expired Kerberos tickets.
1334 New features introduced in Samba 3.0.3 include:
1336   o Improved support for i18n character sets.
1337   o Support for account lockout policy based on
1338     bad password attempts.
1339   o Improved support for long password changes (>14
1340     characters) and strong password enforcement.
1341   o Support for Windows aliases (i.e. nested groups).
1342   o Experimental support for storing DOS attribute on files
1343     and folders in Extended Attributes.
1344   o Support for local nested groups via winbindd.
1345   o Specifying options to be passed directly to the CUPS libraries.
1347 Please be aware that the Samba source code repository was 
1348 migrated from CVS to Subversion on April 4, 2004.  Details on 
1349 accessing the Samba source tree via anonymous svn can be found 
1350 at http://svn.samba.org/samba/subversion.html.
1353 Changes since 3.0.2a
1354 --------------------
1355 smb.conf changes
1356 ----------------
1358     Parameter Name              Action
1359     --------------              ------
1360     cups options                New
1361     ea support                  New
1362     only user                   Deprecated
1363     store dos attributes        New
1364     unicode                     Removed
1365     winbind nested groups       New
1367     
1368 commits
1369 -------
1371 o   Jeremy Allison <jra@samba.org>
1372     * Ensure that Kerberos mutex is always properly unlocked.
1373     * Removed Heimdal "in-memory keytab" support.
1374     * Fixup the 'multiple-vuids' bugs in our server code.
1375     * Correct return code from lsa_lookup_sids() on unmapped
1376       sids (based on work by vl@samba.org).
1377     * Fix the "too many fcntl locks" scalability problem 
1378       raised by tridge.
1379     * Fixup correct (as per W2K3) returns for lookupsids 
1380       as well as lookupnames.
1381     * Fixups for delete-on-close semantics as per Win2k3 behavior.
1382     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
1383     * Fix "unable to initialize" bug when smbd hasn't been run with 
1384       new system and a user is being added via pdbedit/smbpasswd.
1385     * Added NTrename SMB (0xA5).
1386     * Fixup correct timeout values for blocking lock timeouts.
1387     * Fix various bugs reported by 'gentest'.
1388     * More locking fixes in the case where we own the lock.
1389     * Fix up regression in IS_NAME_VALID and renames.
1390     * Don't set allocation size on directories.
1391     * Return correct error code on fail if file exists and target 
1392       is a directory.
1393     * Added client "hardlink" comment to test doing NT rename with 
1394       hard links.  Added hardlink_internals() code - UNIX extensions 
1395       now use this as well.
1396     * Use a common function to parse all pathnames from the wire for 
1397       much closer emulation of Win2k3 error return codes.
1398     * Implement check_path_syntax() and rewrite string sub 
1399       functions for better multibyte support.
1400     * Ensure msdfs referrals are multibyte safe.
1401     * Allow msdfs symlink syntax to be more forgiving.
1402       eg. sym_link -> msdfs://server/share/path/in/share 
1403       or  sym_link -> msdfs:\\server\share\path\in\share.
1404     * Cleanup multibyte netbios name support in nmbd ( based on patch
1405       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
1406     * Fix check_path_syntax() for multibyte encodings which have 
1407       no '\' as second byte (based on work by ab@samba.org.
1408     * Fix the "dfs self-referrals as anonymous user" problem
1409       (based on patch from vl@samba.org).
1410     * BUG 1064: Ensure truncate attribute checking is done correctly 
1411       on "hidden" dot files.
1412     * Fix bug in anonymous dfs self-referrals again.
1413     * Fix get/set of EA's in client library
1414     * Added support for OS/2 EA's in smbd server.
1415     * Added 'ea support' parameter to smb.conf.
1416     * Added 'store dos attributes' parameter to smb.conf.
1417     * Fix wildcard identical rename.
1418     * Fix reply_ctemp - make compatible with w2k3.
1419     * Fix wildcard unlink.
1420     * Fix wildcard src with wildcard dest renames.      
1421     * BUG 1139: Fix based on suggestion by jdev@panix.com.
1422       swap lookups for user and group - group will do an
1423       algorithmic lookup if it fails, user won't.
1424     * Make EA's lookups case independent.
1425     * Fix SETPATHINFO in 'unix extensions' support.
1426     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
1427       the UNIX info levels, and the short case preserve names.
1430 o   Timur Bakeyev <timur@com.bat.ru>
1431     * BUG 1144: only set --with-fhs when the argument is 'yes'
1432     * BUG 1152: Allow python modules to build despite libraries added 
1433       to LDFLAGS instead of LDPATH.
1434     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
1437 o   Craig Barratt <cbarratt@users.sourceforge.net>
1438     * BUG 389: Allow multiple exclude arguments with smbclient 
1439       tar -Xr options (better support for Amanda backup client).
1442 o   Andrew Bartlett <abartlet@samba.org>
1443     * Include support for linking with cracklib for enforcing strong 
1444       password changes.
1445     * Add support for >14 character password changes from Windows 
1446       clients.
1447     * Add 'admin set password' capability to 'net rpc'.
1448     * Allow 'net rpc samdump' to work with any joined domain 
1449       regardless of smb.conf settings.
1450     * Use an allocated buffer for count_chars.
1451     * Add sanity checks for changes in the domain SID in an 
1452       LDAP DIT.
1453     * Implement python unit tests for Samba's multibyte string 
1454       support.
1455     * Remove 'unicode' smb.conf option.
1456     * BUG 1138: Fix support for 'optional' SMB signing and other 
1457       signing bugs.
1458     * BUG 169: Fix NTLMv2-only behavior.
1459     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
1460       default.
1461     * Support SMB signing on connections using only the LANMAN 
1462       password and generate the correct the 'session key' for these 
1463       connections.
1464     * Implement --required-membership-of=, an ntlm_auth option 
1465       that restricts all authentication to members of this particular 
1466       group.
1467     * Improve our fall back code for password changes.
1468     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
1469       after the server had said something (such as an error).
1470     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
1472       
1473 o   Alexander Bokovoy <ab@samba.org>
1474     * Fix incorrect size calculation of the directory name 
1475       in recycle.so.
1476     * Fix problems with very long filenames in both smbd and smbclient
1477       caused by truncating paths during character conversions.
1478     * Fix smbfs problem with Tree Disconnect issued before smbfs 
1479       starts its work.
1482 o   Gerald Carter <jerry@samba.org>
1483     * BUG 850: Fix 'make installmodules' bug on True64.
1484     * BUG 66: mark 'only user' deprecated.
1485     * Remove corrupt tdb and shutdown (only for printing tdbs, 
1486       connections, sessionid & locking).
1487     * decrement smbd counter in connections.tdb in smb_panic().
1488     * RedHat specfile updates.
1489     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
1490     * BUG 1147; bad pointer case in get_stored_queue_info() 
1491       causing seg fault.
1492     * BUG 761: read the config file before initialized default 
1493       values for printing options; don't default to bsd printing 
1494       Linux.
1495     * Allow the 'printing' parameter to be set on a per share basis.
1496     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
1497     * BUG 848: don't create winbind local users/groups that already 
1498       exist in the tdb.
1499     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
1500       LynxOS/ppc).
1501     * BUG 488: fix the 'show client in col 1' button and correctly 
1502       enumerate active connections.
1503     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
1504       problem when storing the updating pid for the lpq cache.
1505     * BUG 1007 (partial): Fix print change notify bugs.
1506     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
1507       and winbind use default domain = yes.  Also ensures that 
1508     * BUG 1151: Ensure that winbindd users are passed through 
1509       the username map.
1510     * Fix client rpc binds for ASU derived servers (pc netlink, 
1511       etc...).
1512     * BUG 417, 1128: Ensure that the current_user_info is set
1513       consistently so that %[UuGg] is expanded correctly.
1514     * BUG 1195: Fix crash in winbindd when the ADS server is 
1515       unavailable.
1516     * BUG 1185: Set reconnect time to be the same as the 
1517       'winbind cache time'.
1518     * Ensure that we return the sec_desc in smb_io_printer_info_2.
1519     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
1520     * BUG 1095: Honor the '-l' option in smbclient.
1521     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
1522       block.
1523     * Ensure server schannel uses the auth level requested by the 
1524       client.
1525     * Removed --with-cracklib option due to potential crash issue.
1526     * Fix -lcrypto linking problem with wbinfo.
1527     * BUG 761: allow printing parameter to set defaults on a per 
1528       share basis.
1529     * Add 'cups options' parameter to allow raw printing without 
1530       changing /etc/cups/cupsd.conf.
1531     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
1532       winbindd.
1533     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
1534     * BUG 1288: resolve any machine netbios name (0x00) and not just 
1535       servers (0x20).
1536     * BUG 1199: Fix potential symlink issue in 
1537       examples/printing/smbprint.
1540 o   Robert Dahlem <Robert.Dahlem@gmx.net>
1541     * BUG 1048:  Don't return short names when when 'mangled names = no'
1544 o   Guenther Deschner <gd@suse.com>
1545     * Remove hard coded attribute name in the ads ranged retrieval
1546       code.
1547     * Add --with-libdir and --with-mandir to autoconf script.
1550 o   Bostjan Golob <golob@gimb.org>
1551     * BUG 1046: Fix  getpwent_list() so that the username is not 
1552       overwritten by other fields.
1555 o   Landon Fuller <landonf@opendarwin.org>
1556     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
1557       to fix user/group enumeration on systems whose libc does not 
1558       call setgrent() before trying to enumerate users (i.e. 
1559       FreeBSD 5.2).
1562 o   Steve French <sfrench@us.ibm.com>
1563     * Update mount.cifs to version 1.1.
1564     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
1565     * Fixes to minor security bug in the mount helper.
1566     * Fix credential file mounting for cifs vfs.
1567     * Fix free of incremented pointer in cifsvfs mount helper.
1568     * Fix path canonicalization of the mount target path and help 
1569       text display in the cifs mount helper.
1570     * Add missing guest mount option for mount.cifs.
1573 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
1574     * BUG 1055; formatting fixes for 'net share'.
1575     * BUG 692: correct truncation of share names and workgroup 
1576       names in smbclient.
1577     * BUG 1088: use strchr_m() for query_host (smbclient -L).
1578     * Patch from to internally count characters correctly.
1581 o   Paul Green <paulg@samba.org>
1582     * Update VOS _POSIX_C_SOURCE macro to 200112L.
1583     * Fix bug in configure.ion by moving the first use of 
1584       AC_CHECK_HEADERS so it is always executed.
1585     * Fix configure.in to only use $BLDSHARED to select whether to 
1586       build static or shared libraries.
1589 o   Pat Haywarrd <Pat.Hayward@propero.net>
1590     * Make the session_users list dynamic (max of 128K).
1591     
1592     
1593 o   Cal Heldenbrand <calzplace@yahoo.com> 
1594     * Fix for for 'pam_smbpass migrate' functionality.
1597 o   Chris Hertel <crh@samba.org>
1598     * fix enumeration of shares 12 characters in length via 
1599       smbclient.
1602 o   Ulrich Holeschak <ulrich@holeschak.de>
1603     * BUG 932: fix local password change using pam_smbpass
1606 o   Krischan Jodies <kj@sernet.de>
1607     * Implement 'net rpc group delete'
1610 o   John Klinger <john.klinger@lmco.com>
1611     * Return NSS_SUCCESS once the max number of gids possible 
1612        has been found in initgroups() on Solaris.
1613     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
1616 o   Volker Lendecke <vl@samba.org>
1617     * Fix success message for net groupmap modify.
1618     * Fix errors when enumerating members of groups in 'net rpc'.
1619     * Match Windows behavior in samr_lookup_names() by returning
1620       ALIAS(4) when you search in BUILTIN. 
1621     * Fix server SAMR code to be able to set alias info for 
1622       builtin as well. 
1623     * Fix duplication of logic when creating groups via smbd.
1624     * Ensure that the HWM values are set correctly after running 
1625       'net idmap'.
1626     * Add 'net rpc group add'.
1627     * Implement 'net groupmap set' and 'net groupmap cleanup'.
1628     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
1629     * Fix wb_delgrpmem (wbinfo -o).
1630     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
1631     * Fix sambaUserWorkstations on a Samba DC.
1632     * Implement wbinfo -k: Have winbind generate an AFS token after
1633       authenticating the user.
1634     * Add expand_msdfs VFS module for providing referrals based on the
1635       the client's IP address.
1636     * Implement client side NETLOGON GetDCName function.
1637     * Fix caching of name->sid lookups.
1638     * Add support in winbindd for expanding nested local groups.
1639     * Fix memleak in winbindd.
1640     * Fix msdfs proxy.
1641     * Don't list domain groups from BUILTIN.
1642     * Fix memleak in policy handle utility functions.
1643     * Decrease winbindd startup time by only contacting trusted 
1644       domains as necessary.
1645     * Allow winbindd to ask the DC for its domain for a trusted 
1646       DC.
1647     * Fix Netscape DS schema based on comments from 
1648       <thomas.mueller@christ-wasser.de>.
1649     * Correct case where adding a domain user to a XP local group 
1650       did a lsalookupname on the user without domain prefix, and 
1651       failed.
1652     * Fix segfault in winbindd caused by 'wbinfo -a'.
1653     
1655 o   Herb Lewis <herb@samba.org>
1656     * Fix typo for tag in proto file.
1657     * Add missing #ifdef HAVE_BICONV stuff.
1658     * Truncate Samba's netbios name at the first '.' (not 
1659       right to left).
1662 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
1663     * Bug fixes and enhancements to libsmbclient library.
1665     
1666 o   Jianliang Lu <j.lu@tiesse.com>
1667     * Enforce the 'user must change password at next login' flag.
1668     * Decode meaning of 'fields present' flags (improves support 
1669       for usrmgr.exe).
1670     * NTLMv2 fixes.
1671     * Don't force an upper case domain name in the ntlmssp code.
1672     
1674 o   L. Lucius <ib@digicron.com>.
1675     * type fixes.
1678 o   Jim McDonough <jmcd@us.ibm.com>
1679     * Add versioning support to tdbsam.
1680     * Update the IBM Directory Server schema with the OpenLDAP 
1681       file.
1682     * Various decoding fixes to improve usrmgr.exe support.
1683     * Fix statfs redeclaration of statfs struct on ppc
1684     * Implement support for password lockout of Samba domain 
1685       controllers and standalone servers.
1686     * Get MungedDial attribute actually working with full TS 
1687       strings in it for pdb_ldap.
1688     * BUG 1208 (partial): Improvements for working with expired krb5 
1689       tickets in winbindd.
1690     * Use timegm, or our already existing replacement instead of 
1691       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
1692     * Remove modifyTimestamp from list of our attributes.  
1693     * Fix lsalookupnames to check for domain users as well as local 
1694       users. 
1695     * Merge struct uuid replacement for GUID from trunk.
1696     * BUG 1208: Finish support for handling expired tickets in 
1697       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
1700 o   Stefan Metzmacher <metze@samba.org>
1701     * Implement new VERSION schema based on subversion revision 
1702       numbers.
1703     * Add shadow_copy vfs module.
1704     * Fix segault in login_cache support.
1707 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
1708      o BUG 979 -- Fix quota display on AIX.
1711 o   James Peach <jpeach@sgi.com>
1712     * Correct check for printf() format when using the SGI MIPSPro 
1713       compiler.
1714     * BUG 1038: support backtrace for 'panic action' on IRIX.
1715     * BUG 768: Accept profileing arg to IRIX init script.
1716     * BUG 748: Relax arg parsing to sambalp script (IRIX).
1717     * BUG 758: Fix pdma build.
1718     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
1719       Jason Mader.
1720       
1722 o   Kurt Pfeifle <kpfeifle@danka.de>
1723     * Add example shell script for migrating drivers and printers 
1724       from a Windows print server to a Samba print server using 
1725       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
1728 o   Tim Potter <tpot@samba.org>
1729     * Fix logic bug in tdb non-blocking lock routines when 
1730       errno == EAGAIN.
1731     * BUG 1025: Include sys/acl.h in check for broken nisplus 
1732       include files.      
1733     * BUG 1066: s/printf/d_printf/g in SWAT.
1734     * BUG 1098: rename internal msleep() function to fix build 
1735       problems on AIX.
1736     * BUG 1112: Fix for writable printerdata problem in python bindings.
1737     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
1738     * BUG 1155: enclose use of fchown() with guards.
1739     * Relicense tdb python module as LGPL.
1742 o   Richard Sharpe <rsharpe@samba.org>
1743     * Add support to smbclient for multiple logins on the same 
1744       session (based on work by abartlet@samba.org).
1745     * Correct blocking condition in smbd's use of accept() on IRIX.
1746     * Add support for printing out the MAC address on nmblookup.
1749 o   Simo Sorce <idra@samba.org>
1750     * Replace unknown_3 with fields_present in SAMR code.
1751     * More length checks in strlcat().
1754 o   Andrew Tridgell <tridge@samba.org>
1755     * Rewrote the AIX UESS backend for winbindd.
1756     * Fixed compilation with --enable-dmalloc.
1757     * Change tdb license to LGPL (see source/tdb/tdb.c).
1758     * Force winbindd to use schannel in clients connections to 
1759       DC's if possible.
1762 o   Jelmer Vernooij <jelmer@samba.org>
1763    * Fix ETA Calculation when resuming downloads in smbget.
1764    * Add -O (for writing downloaded files to standard out) 
1765      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
1766     * Fix syntax error in example mysql table
1768            
1769 o   TAKEDA yasuma <yasuma@miraclelinux.com>
1770     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
1771       cmd_chown, cmd_chmod smbclient functions.
1774 o   Shiro Yamada <shiro@miraclelinux.com>
1775     * BUG 1129: install image files for SWAT.
1777       
1778     --------------------------------------------------
1780                   ==============================
1781                   Release Notes for Samba 3.0.2a
1782                         February 13, 2004
1783                   ==============================
1785 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
1786 to address, in particular, a problem when using pdbedit to 
1787 sanitize (--force-initialized-passwords) Samba's tdbsam 
1788 backend.   This is the latest stable release of Samba. This 
1789 is the version that all production Samba servers should be 
1790 running for all current bug-fixes.  
1792 ******************* Attention! Achtung! Kree! *********************
1794 Beginning with Samba 3.0.2, passwords for accounts with a last 
1795 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
1796 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
1797 strings.  This will cause authentication to fail for such
1798 accounts.  If you have valid passwords that meet this criteria, 
1799 you must update the last change time to a non-zero value.  If you 
1800 do not, then  'pdbedit --force-initialized-passwords' will disable 
1801 these accounts and reset the password hashes to a string of X's.
1803 ******************* Attention! Achtung! Kree! *********************
1806 Changes since 3.0.2
1807 -------------------
1809 commits
1810 -------
1812 Please refer to the CVS log for the SAMBA_3_0 branch for complete
1813 details.  The list of changes per contributor are as follows:
1816 o   Jeremy Allison <jra@samba.org>
1817     * Added paranoia checks in parsing code.
1818     
1820 o   Andrew Bartlett <abartlet@samba.org>
1821     * Ensure that changes to uninitialized passwords in ldapsam 
1822       are written to the DIT.
1825 o   Gerald (Jerry) Carter <jerry@samba.org>
1826     * Fixed iterator in tdbsam.
1827     * Fix bug that disabled accounts with a valid NT password 
1828       hash, but no LanMan hash.
1829     
1831 o   Steve French <sfrench@us.ibm.com>
1832     * Added missing nosetuid and noexec options.
1834     
1835 o   Bostjan Golob <golob@gimb.org>
1836     * BUG 1046: Don't overwrite usernames of entries returned 
1837       by getpwent_list().
1840 o   Sebastian Krahmer <krahmer@suse.de>
1841     * Fixed potential crash bug in NTLMSSP parsing code.
1844 o   Tim Potter <tpot@samba.org>
1845     * Fixed logic in tdb_brlock error checking.
1847     
1848 o   Urban Widmark <urban@teststation.com>
1849     * Set nosuid,nodev flags in smbmnt by default.
1850     
1851     
1852         --------------------------------------------------
1853                   
1854                   =============================
1855                   Release Notes for Samba 3.0.2
1856                         February 9, 2004
1857                   =============================
1859 It has been confirmed that previous versions of Samba 3.0 are
1860 susceptible to a password initialization bug that could grant an 
1861 attacker unauthorized access to a user account created by the
1862 mksmbpasswd.sh shell script.
1864 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
1865 has assigned the name CAN-2004-0082 to this issue.
1867 Samba administrators not wishing to upgrade to the current 
1868 version should download the 3.0.2 release, build the pdbedit 
1869 tool, and run 
1871    root# pdbedit-3.0.2 --force-initialized-passwords
1872       
1873 This will disable all accounts not possessing a valid password
1874 (e.g. the password field has been set a string of X's).
1876 Samba servers running 3.0.2 are not vulnerable to this bug 
1877 regardless of whether or not pdbedit has been used to sanitize
1878 the passdb backend.
1880 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
1881 release include:
1883   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
1884   o Logging onto a Samba domain from Windows XP clients.
1885   o Problems with the %U and %u smb.conf variables in relation to 
1886     Windows 9x/ME clients.
1887   o Kerberos failures due to an invalid in memory keytab detection
1888     test.
1889   o Updates to the ntlm_auth tool.
1890   o Fixes for various SMB signing errors.
1891   o Better separation of WINS and DNS queries for domain controllers.
1892   o Issues with nss_winbind FreeBSD and Solaris.
1893   o Several crash bugs in smbd and winbindd.
1894   o Output formatting fixes for smbclient for better compatibility
1895     with scripts based on the 2.2 version.
1898 Changes since 3.0.1
1899 -------------------
1901 smb.conf changes
1902 ----------------
1904     Parameter Name              Action
1905     --------------              ------
1906     ldap replication sleep      New
1907     read size                   removed (unused)
1908     source environment          removed (unused)
1911 commits
1912 -------
1914 Please refer to the CVS log for the SAMBA_3_0 branch for complete
1915 details.  The list of changes per contributor are as follows:
1917 o   Jeremy Allison <jra@samba.org>
1918     * Revert change that broke Exchange clear text samlogons.
1919     * Fix gcc 3.4 warning in MS-DFS code.
1920     * Tidy up of NTLMSSP code.
1921     * Fixes for SMB signing errors
1922     * BUG 815: Workaround NT4 bug to support plaintext
1923       password logins and UNICODE.
1924     * Fix SMB signing bug when copying large files.
1925     * Correct error logic in mkdir_internals() (caused a panic
1926       when combined with --enable-developer).
1927     * BUG 830: Protect against crashes due to bad character 
1928       conversions.
1930       
1931 o   Petri Asikainen <paca@sci.fi>
1932     * BUG 330, 387:Fix single valued attribute updates when 
1933       working with Novell NDS.
1936 o   Andrew Bartlett <abartlet@samba.org>
1937     * Correctly handle per-pipe NTLMSSP inside a NULL session.
1938     * Fix segfault in gencache 
1939     * Fix early free() of encrypted_session_key.
1940     * Change DC lookup routines to more carefully separate
1941       DNS names (realms) from NetBIOS domain names.
1942     * Add new sid_to_dn() function for internal winbindd use.
1943     * Refactor cli_ds_enum_domain_trusts().
1944     * BUG 707: Implement range retrieval of ADS attributes (based 
1945       on work from Volker <vl@samba.org> and Guenther Deschner 
1946       <gd@suse.com>).
1947     * Automatically initialize the signing engine if a session key
1948       is available.
1949     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
1950       encoded strings, only form input in SWAT.
1951     * Resets the NTLMSSP state for new negotiate packets.
1952     * Add 2-byte alignments in net_samlogon() queries to parse 
1953       odd-length plain text passwords.
1954     * Allow Windows groups with no members in winbindd.
1955     * Allow normal authentication in the absence of a server 
1956       generated session key.
1957     * More optimizations for looking up UNIX group lists.
1958     * Clean up error codes and return values for pam_winbindd
1959       and winbindd PAM interface.
1960     * Fix string return values in ntlm_auth tool.
1961     * Fix segfault when 'security = ads' but no realm is defined.
1962     * BUG 722: Allow winbindd to map machine accounts to uids.
1963     * More cleanups for winbindd's find_our_domain().
1964     * More clearly detect whether a domain controller is an NT4
1965       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
1966     * Increase separation between DNS queries for hosts and queries
1967       for AD domain controllers.
1968     * Include additional NT_STATUS to PAM error mappings.
1969     * Password initialization fixes.
1971     
1972 o   Justin Baugh <justin.baugh@request.com>
1973     * BUG 948: Implement missing functions required for FreeBSD 
1974       nss_winbind support. 
1977 o   Alexander Bokovoy <ab@samba.org>
1978     * BUG 922: Make sure enable fast path for strlower_m() and 
1979       strupper_m().
1982 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
1983     * Fix crash when using 'security = server' and 'encrypt 
1984       passwords = no' by always initializing the session key.
1986       
1987 o   Dmitry Butskoj <buc@odusz.elektra.ru>
1988     * Fix for special files being hidden from admins.
1991 o   Gerald (Jerry) Carter <jerry@samba.org>
1992     * Fix bug in the lanman session key generation.  Caused 
1993       "decode_pw: incorrect password length" error messages.
1994     * Save the right case for the located user name in 
1995       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
1996     * BUG 897: Add well known rid for pre win2k compatible access
1997       group.
1998     * BUG 887: Correct typo in delete user script example.
1999     * Use short lived TALLOC_CTX* for allocating printer objects 
2000       from the print handle cache.
2001     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2002     * Fix several warnings reported by the SUN Forte C compiler.
2003     * Fully control DNS queries for AD DC's using 'name resolve order'.
2004     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2005     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2006     * BUG 936: fix bind credentials for schannel binds in smbd.
2007     * BUG 446: Fix output of smbclient for better compatibility 
2008       with scripts based on the 2.2 version (including Amanda).
2009     * BUG 891, 949: Fedora packaging fixes.
2010     * Fix bug that caused rpcclient to incorrectly retrieve 
2011       the SID for a server (this causing all calls that required 
2012       this information to fail). 
2013     * BUG 977: Don't create a homes share for a user if a static 
2014       share already exists by the same name.
2015     * Removed unused smb.conf options.
2016     * Password initialization fixes.
2017     * Set the disable flag for template accounts created by
2018       mksmbpasswd.sh.
2019     * Disable any account has no passwords and does not have the
2020       ACB_PWNOTREQ bit set.
2023 o   Guenther Deschner <gd@suse.com>
2024     * Install smbwrapper.so should be put into the $(libdir) 
2025       and not $(bindir).
2026     * Add the capability to specify the new user password 
2027       for "net ads password" on the command line.
2028     * Correctly detect AFS headers on SuSE.
2029         
2031 o   James Flemer <jflemer@uvm.edu>
2032     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
2033       HAVE_SYS_ATTRIBUTES_H.
2036 o   Luke Howard <lukeh@PADL.COM>
2037     * Fix segfault in session setup reply caused by a early free().
2040 o   Stoian Ivanov <sdr@bultra.com>
2041     * Implement grepable output for smbclient -L.
2044 o   LaMont Jones <lamont@debian.org>
2045     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
2046       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
2047       not being defined).
2049       
2050 o   Volker Lendecke <vl@samba.org>
2051     * BUG 583: Ensure that user names always contain the short 
2052       version of the domain name.
2053     * Fix our parsing of the LDAP uri.
2054     * Don't show the 'afs username map' in the SWAT basic view.
2055     * Fix SMB signing issues in relation to failed NTLMSSP logins.
2056     * BUG 924: Fix return codes in smbtorture harness.
2057     * Always lower-case usernames before handing it to AFS code.
2058     * Add a German translation for SWAT.
2059     * Fix a segfaults in winbindd.
2060     * Fix the user's domain passed to register_vuid() from 
2061       reply_spnego_kerberos().
2062     * Add NSS example code in nss_winbind to convert UNIX 
2063       id's <-> Windows SIDs.
2064     * Display more descriptive error messages for login via 'net'.
2065     * Fix compiler warning in the net tool.
2066     * Fix length bug when decoding base64 strings.
2067     * Ensure we don't call getpwnam() inside a loop that is iterating 
2068       over users with getpwent().  This broke on glibc 2.3.2.
2071 o   Herb Lewis <herb@samba.org>
2072     * Fix bit rot in psec.
2075 o   Jianliang Lu <j.lu@tiesse.com>
2076     * Ensure we delete the group mapping before calling the delete 
2077       group script.
2078     * Define well known RID for managing the  "Power Users" group.
2079     * BUG 381: check builtin (not local) group SID when updating 
2080       group membership.
2081     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
2082       packet.
2085 o   John Klinger <john.klinger@lmco.com>
2086     * Implement initgroups() call in nss_winbind on Solaris.
2089 o   Jim McDonough <jmcd@us.ibm.com>
2090     * Fix regression in net rpc join caused by recent changes 
2091       to cli_lsa_query_info_policy().
2092     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2093       machine account.
2096 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
2097     * BUG 570: Ensure that configure honors the LDFLAGS variable.
2100 o   Stefan Metzmacher <metze@samba.org>
2101     * Implement LDAP rebind sleep patch.
2102     * Revert to 2.2 quota code because of so many broken quota files 
2103       out there.
2104     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2105                       XFS_USER_QUOTA -> USRQUOTA
2106                       XFS_GROUP_QUOTA -> GRPQUOTA
2107     * Fix disk_free calculation with group quotas.
2108     * Add debug class 'quota' and a lot of DEBUG()'s 
2109       to the quota code.
2110     * Fix sys_chown() when no chown() is present.
2111     * Add SIGABRT to fault handling in order to catch got a 
2112       backtrace if an error occurs the OpenLDAP client libs.
2115 o   <ndb@theghet.to>
2116     * Allow an existing LDAP machine account to be re-used when 
2117       joining an AD domain.
2120 o   James Peach <jpeach@sgi.com>
2121     * BUG 889: Change smbd to use pread/pwrite on platforms that 
2122       support these calls. Can lead to a significant speed increase.
2125 o   Tim Potter <tpot@samba.org>
2126     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2127     * BUG 924: Fix typo in RW2 torture test.
2128     
2129     
2130 o   Richard Sharpe <rsharpe@samba.org>
2131     * Small fixes to torture.c to cleanup the error handling 
2132       and prevent crashes.
2135 o   J. Tournier <jerome.tournier@IDEALX.com>
2136     * Small fixes for the smbldap-tool scripts.
2139 o   Andrew Tridgell <tridge@samba.org>
2140     * Fix src len check in pull_usc2().
2141     
2142     
2143 o   Jelmer Vernooij <jelmer@samba.org>
2144     * Put functions for generating SQL queries in pdb_sql.c
2145     * Add pgSQL backend (based on patch by Hamish Friedlander)
2146     * BUG 908: Fix -s option to smbcontrol.    
2147     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2148     * Fix for libnss_wins on IRIX platforms.
2149     * Fix swatdir for --with-fhs.
2152         --------------------------------------------------
2154                   =============================
2155                   Release Notes for Samba 3.0.1
2156                         December 15, 2003
2157                   =============================
2159 Some of the more common bugs in 3.0.0 addressed in the release 
2160 include:
2162   o Substitution problems with smb.conf variables.
2163   o Errors in return codes which caused some applications
2164     to fail to open files.
2165   o General Protection Faults on Windows 2000/XP clients
2166     using Samba point-n-print features.
2167   o Several miscellaneous crash bugs.
2168   o Access problems when enumerating group mappings are
2169     stored in an LDAP Directory.
2170   o Several common SWAT bugs when writing changes to
2171     smb.conf.
2172   o Internal inconsistencies when 'winbind use default
2173     domain = yes'
2177 Changes since 3.0.0
2178 ----------------------
2180     Parameter Name              Action
2181     --------------              ------
2182     hide local users            Removed
2183     mangled map                 Deprecated
2184     mangled stack               Removed
2185     passwd chat timeout         New
2188 commits
2189 -------
2191 o   Change the interface for init_unistr2 to not take a length 
2192     but a flags field.  We were assuming that 
2193     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
2194 o   Allow d_printf() to handle strings with escaped quotation 
2195     marks since the msg file includes the escape character (bug 489).
2196 o   Fix bad html table row termination in SWAT wizard code (bug 413).
2197 o   Fix to parse the level-2 strings.
2198 o   Fix for "valid users = %S" in [homes].  Fix read/write 
2199     list as well. 
2200 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
2201     This is the same way AC_CHECK_LIB works (bug 508).
2202 o   Testparm output fixes for clarity.
2203 o   Fix broken wins hook functionality -- i18n bug (bug 528).
2204 o   Take care of condition where DOS and NT error codes must differ.
2205 o   Default to using only built-in charsets when a working iconv 
2206     implementation cannot be located.
2207 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
2208     be done unconditionally (bug 550).
2209 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
2210 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
2211     --enable-debug=[yes|no] works correctly.
2212 o   Allow ^C to interrupt smbpasswd if using our getpass 
2213     (e.g. smbpasswd command).
2214 o   Support signing only on RPC's (bug 167).
2215 o   Correct bug that prevented  Excel 2000 clients from opening 
2216     files marked as read-only.
2217 o   Portability fix bugs 546 - 549).
2218 o   Explicitly initialize the value of AR for vendor makes that don't
2219     do this (e.g. HPUX 11).  (bug 552).
2220 o   More i18n fixes for SWAT (bug 413).
2221 o   Change the cwd before the postexec script to ensure that a
2222     umount will succeed.
2223 o   Correct double free that caused winbindd to crash when a DC 
2224     is rebooted (bug 437).
2225 o   Fix incorrect mode sum (bug 562).
2226 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
2227     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2228 o   Add script to generate *msg files.
2229 o   Add Dutch SWAT translation file.
2230 o   Make sure to call get_user_groups() with the full winbindd 
2231     name for a user if he/she has one (bug 406).
2232 o   Fix up error code returns from Samba4 tester. Ensure invalid 
2233     paths are validated the same way.  
2234 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
2235 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
2236     libraries were found for $BACKEND.
2237 o   Move sysquotas autoconf tests to a separate file.
2238 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
2239     tester
2240 o   Make sure that the files that contain the static_init_$subsystem; 
2241     macro get recompiled after configure by removing the object 
2242     files.
2243 o   Ensure canceling a blocking lock returns the correct error 
2244     message.
2245 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2246 o   Updated Japanese welcome file in SWAT.
2247 o   Fix to  nt-time <-> unix-time functions reversible.
2248 o   Ensure that winbindd uses the the escaped DN when querying
2249     an AD ldap server.
2250 o   Fix portability issues when compiling (bug 505, 550)
2251 o   Compile fix for tdbbackup when Samba needs to override 
2252     non-C99 compliant implementations of snprintf().
2253 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2254 o   Make sure we break out of samsync loop on error.
2255 o   Ensure error code path doesn't free unmalloc()'d memory
2256     (bug 628).
2257 o   Add configure test for krb5_keytab_entry keyblock vs key 
2258     member (bug 636).
2259 o   Fixed spinlocks.
2260 o   Modified testparm so that all output so all debug output goes 
2261     to stderr, and all file processing goes to stdout.
2262 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
2263     and smbcquotas.
2264 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
2265     we have a devmode before copying a string to the devicename.
2266 o   Support mapping REALM.COM\user to a local user account (without 
2267     running winbindd)  for compatibility with 2.2.x release.
2268 o   Ensure we don't use mmap() on blacklisted systems.
2269 o   fixed a number of bugs and memory leaks in the AIX 
2270     winbindd shim
2271 o   Call initgroups() in SWAT before becomming the user so that
2272     secondary group permissions can be used when writing to 
2273     smb.conf.
2274 o   Fix signing problems when reverse connecting back to a 
2275     client for printer notify
2276 o   Fix signing problems caused by a miss-sequence bug.
2277 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2278     Fixes NEXUS tools running on Win9x clients (bug 64).
2279 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
2280     SID could not be mapped.
2281 o   Fix segfault in mount.cifs helper when there is no options 
2282     specified during mount.
2283 o   Change the \n after the password prompt to go to tty instead 
2284     of stdout (bug 668).
2285 o   Stop net -P from prompting for machine account password (bug 451).
2286 o   Change in behavior to Not only change the effective uid but also
2287     the real uid when becoming unprivileged.
2288 o   Cope with Exchange 5.5 cleartext pop password auth.
2289 o   New files for support of initshutdown pipe.  Win2k doesn't 
2290     respond properly to all requests on the winreg pipe, so we need 
2291     to handle this new pipe (bug 534).
2292 o   Added more va_copy() checks in configure.in.
2293 o   Include fixes for libsmbclient build problems.
2294 o   Missing UNIX -> DOS codepage conversion in lanman.c.
2295 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
2296 o   Parameterize the listen backlog in smbd and make it larger by
2297     default. A backlog of 5 is way too small these days.
2298 o   Check for an invalid fid before dereferencing the fsp pointer
2299     (bug 696).
2300 o   Remove invalid memory frees and return codes in pdb_ldap.c.
2301 o   Prompt for password when invoking --set-auth-user and no 
2302     password is given.
2303 o   Bind the nmbd sending socket to the 'socket address'.
2304 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
2305     $LDFLAGS occurs before any library specification (bug 661).
2306 o   Fix large number of printf() calls for 64-bit size_t.
2307 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
2308     keyblock in the krb5 structs.
2309 o   Remove #include <compat.h> in hopes to avoid problems with 
2310     apache header files.
2311 o   Correct winbindd build problems on HP-UX 11.
2312 o   Lowercase netgroups lookups (bug 703).
2313 o   Use the actual size of the buffer in strftime instead of a made
2314     up value which just happens to be less than sizeof(fstring).  
2315     (bug 713).
2316 o   Add ldaplibs to pdbedit link line (bug 651).
2317 o   Fix crash bug in smbclient completion (bug 659).
2318 o   Fix packet length for browse list reply (bug 771).
2319 o   Fix coredump in cli_get_backup_list().
2320 o   Make sure that we expand %N (bug 612).
2321 o   Allow rpcclient adddriver command to specify printer driver 
2322     version (bug 514).
2323 o   Compile tdbdump by default.
2324 o   Apply patches to fix iconv detection for FreeBSD.
2325 o   Do not allow the 'guest account' to be added to a passdb backend 
2326     using smbpasswd or pdbedit (bug 624).
2327 o   Save LDFLAGS during iconv detection (bug 57).
2328 o   Run krb5 logins through the username map if the winbindd 
2329     lookup fails (bug 698).
2330 o   Add const for lp_set_name_resolve_order() to avoid compiler 
2331     warnings (bug 471).
2332 o   Add support for the %i macro in smb.conf to stand in for the for
2333     the local IP address to which a client connected.
2334 o   Allow winbindd to match local accounts to domain SID when 
2335     'winbind trusted domains only = yes' (bug 680).
2336 o   Remove code in idmap_ldap that searches the user suffix and group 
2337     suffix.  It's not needed and provides inconsistent functionality 
2338     from the tdb backend.
2339 o   Patch to handle munged dial string for Windows 2000 TSE.
2340     Thanks to Gaz de France, Direction de la Recherche, Service 
2341     Informatique Métier for their supporting this work by Aurelien 
2342     Degrémont <adegremont@idealx.com>.
2343 o   Correct the "smbldap_open: cannot access when not root error"
2344     messages when looking up group information (bug 281).
2345 o   Skip over the winbind separator when looking up a user.
2346     This fixes the bug that prevented local users from
2347     matching an AD user when not running winbindd (bug 698).
2348 o   Fix a problem with configure on *BSD systems. Make sure
2349     we add -liconv etc to LDFLAGS.
2350 o   Fix core dump bug when "security = server" and the authentication
2351     server goes away.
2352 o   Correct crash bug due to an empty munged dial string.
2353 o   Show files locked by a specific user (smbstatus -u 'user') 
2354     (bug 590).
2355 o   Fix bug preventing print jobs from display in the queue
2356     monitor used by Windows NT and later clients (bug 660).
2357 o   Fix several reported problems with point-n-print from
2358     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2359     reply (bug 338, 527 & 643).
2360 o   Fix a handful of potential memory leaks in the LDAP code used
2361     by ldapsam[_compat] and the LDAP idmap backend.
2362 o   Fix for pdbedit error code returns (bug 763).
2363 o   Make sure we only enumerate group mapping entries  (not 
2364     /etc/group) even when doing local aliases.
2365 o   Relax check on the pipe name in a dce/rpc bind response to work 
2366     around issues with establishing trusts to a Windows 2003 domain.
2367 o   Ensure we mangle names ending in '.' in hash2 mangling method.
2368 o   Correct parsing issues with munged dial string.
2369 o   Fix bugs in quota support for XFS.
2370 o   Add a cleaner method for applications that need to provide 
2371     name->SID mappings to do this via NSS rather than having to 
2372     know the winbindd pipe protocol.
2373 o   Adds a variant of the winbindd_getgroups() call called 
2374     winbindd_getusersids() that provides direct SID->SIDs listing of 
2375     a users supplementary groups. This is enough to allow non-Samba 
2376     applications to do ACL checking.
2377 o   Make sure we don't append the 'ldap suffix' when writing out the 
2378     'ldap XXX suffix' values in SWAT (bug 328).
2379 o   Fix renames across file systems.
2380 o   Ensure that items in a list of strings containing whitespace are 
2381     written out surrounded by single quotes.  This means that both 
2382     double and single quotes are now used to surround strings in 
2383     smb.conf (bug 481).
2384 o   Enable SWAT to correctly determine if winbindd is running (bug 
2385     398).
2386 o   Include WWW-Authenticate field in 401 response for bad auth 
2387     attempt (bug 629).
2388 o   Add support for NTLM2 (NTLMv2 session security).
2389 o   Add support for variable-length session keys.
2390 o   More privilege fixes for group enumeration in LDAP (bug 281).
2391 o   Use the dns name (or IP) as the originating client name when
2392     using CUPS (bug 467).
2393 o   Fix various SMB signing bugs.
2394 o   Fix ACL propagation on a DFS root (bug 263).
2395 o   Disable NTLM2 for RPC pipes.
2396 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
2397     authentication.
2398 o   Change the name of the job passed off to cups from "Test Page" 
2399     to "smbprn.00000033 Test Page" so that we can get the smb 
2400     jobid back. This allow users to delete jobs with cups printing 
2401     backend (partial work on bug 770).
2402 o   Fix build of winbindd with static pdb modules.
2403 o   Retrieve the correct ACL group bits if the file has an ACL 
2404     (bug 802).
2405 o   Implement "net rpc group members": Get members of a domain group 
2406     in human-readable format.
2407 o   Add MacOSX (Darwin) specific charset module code.
2408 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
2409     can include the full name in gecos field (bug 587).
2410 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
2411 o   Implement 'net rpc group list [global|local|builtin]*' for a 
2412     select listing of the respective user databases.
2413 o   Don't automatically set NT status code flag unless client tells 
2414     us it can cope.
2415 o   Add 'net status [sessions|shares] [parseable]'.
2416 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
2417     bug 770).
2418 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
2419    (bug 608).
2420 o   Fix inverted logic in hosts allow/deny checks caused by 
2421     s/strcmp/strequal/ (bug 846).
2422 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
2423 o   Fix typo in 'hash' mangling algorithm.
2424 o   Support munged dial for ldapsam (bug 800).
2425 o   Fix process_incoming_data() to return the number of bytes handled 
2426     this call whether we have a complete PDU or not; fixes bug 
2427     with multiple PDU request rpc's broken over SMBwriteX calls 
2428     each.
2429 o   Fix incorrect smb flags2 for connections to pre-NT servers 
2430     (causes smbclient to fail to OS2 for example) (bug 821).
2431 o   Update version string in smbldap-tools Makefile to 0.8.2.
2432 o   Correct a problem with "net rpc vampire" mis-parsing the 
2433     alias member info reply.
2434 o   Ensure the ${libdir} is created by the installclientlib script.
2435 o   Fix detection of Windows 2003 client architecture in the smb.conf
2436     %a variable.
2437 o   Ensure that smbd calls the add user script for a missing UNIX 
2438     user on kerberos auth call (bug 445).
2439 o   Fix bugs in hosts allow/deny when using a mismatched 
2440     network/netmask pair.
2441 o   Protect alloc_sub_basic() from crashing when the source string 
2442     is NULL (partial work on bug 687).
2443 o   Fix spinlocks on IRIX.
2444 o   Corrected some bad destination paths when running "configure 
2445     --with-fhs".
2446 o   Add packaging files for Fedora Core 1.
2447 o   Correct bug in SWAT install script for non-english languages.
2448 o   Support character set ISO-8859-1 internally (bug 558).
2449 o   Fixed more LDAP access errors when looking up group mappings 
2450     (bug 281).
2451 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
2452     resolution to fail on local files on on domain members 
2453     (bug 875).
2454 o   Fix uninitialized variable in passdb.c.
2455 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
2456 o   Fix problem mounting directories when mount.cifs is installed 
2457     with the setuid bit on.
2458 o   Fix bug that prevent --mandir from overriding the defaults
2459     given in the --with-fhs macro.
2460 o   Fix bug in in-memory Kerberos keytab detection routines 
2461     in configure.in
2465 ######################################################################
2467               The original 3.0.0 release notes follow
2468               =======================================
2469                     WHATS NEW IN Samba 3.0.0
2470                         September 24, 2003
2471               =======================================
2474 Major new features:
2475 -------------------
2477 1)  Active Directory support.  Samba 3.0 is now able to  
2478     join a ADS realm as a member server and authenticate 
2479     users using LDAP/Kerberos.
2481 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
2482     and internally there is now a much better infrastructure for 
2483     multi-byte and UNICODE character sets.
2485 3)  New authentication system. The internal authentication system 
2486     has been almost completely rewritten. Most of the changes are 
2487     internal, but the new auth system is also very configurable.
2489 4)  New default filename mangling system.
2491 5)  A new "net" command has been added. It is somewhat similar to 
2492     the "net" command in windows. Eventually we plan to replace 
2493     numerous other utilities (such as smbpasswd) with subcommands 
2494     in "net".
2496 6)  Samba now negotiates NT-style status32 codes on the wire. This
2497     improves error handling a lot.
2499 7)  Better Windows 2000/XP/2003 printing support including publishing
2500     printer attributes in active directory.
2502 8)  New loadable module support for passdb backends and character 
2503     sets.
2505 9)  New default dual-daemon winbindd support for better performance.
2507 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
2508     domain and maintaining user, group and domain SIDs.
2510 11) Support for establishing trust relationships with Windows NT 4.0
2511     domain controllers.
2512   
2513 12) Initial support for a distributed Winbind architecture using
2514     an LDAP directory for storing SID to uid/gid mappings.
2515   
2516 13) Major updates to the Samba documentation tree.
2518 14) Full support for client and server SMB signing to ensure
2519     compatibility with default Windows 2003 security settings.
2521 15) Improvement of ACL mapping features based on code donated by
2522     Andreas Grünbacher.
2525 Plus lots of other improvements!
2528 Additional Documentation
2529 ------------------------
2531 Please refer to Samba documentation tree (included in the docs/ 
2532 subdirectory) for extensive explanations of installing, configuring
2533 and maintaining Samba 3.0 servers and clients.  It is advised to 
2534 begin with the Samba-HOWTO-Collection for overviews and specific 
2535 tasks (the current book is up to approximately 400 pages) and to 
2536 refer to the various man pages for information on individual options.
2538 We are very glad to be able to include the second edition of
2539 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
2540 (O'Reilly & Associates) in this release.  The book is available
2541 on-line at http://samba.org/samba/docs/ and is included with 
2542 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
2543 publisher for making "Using Samba" under the GNU Free Documentation 
2544 License.
2547 ######################################################################
2548 Upgrading from a previous Samba 3.0 beta
2549 ########################################
2551 Beginning with Samba 3.0.0beta3, the RID allocation functions
2552 have been moved into winbindd.  Previously these were handled
2553 by each passdb backend.  This means that winbindd must be running
2554 to automatically allocate RIDs for users and/or groups.  Otherwise,
2555 smbd will use the 2.2 algorithm for generating new RIDs.
2557 If you are using 'passdb backend = tdbsam' with a previous Samba 
2558 3.0 beta release (or possibly alpha), it may be necessary to 
2559 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
2560 to winbindd_idmap.tdb.  To do this:
2562 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
2563     once)
2564 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
2565     directory
2566 3)  run: (note that 'tdb>' is the tool's prompt for input)
2568        root# ./tdbtool /usr/local/samba/private/passdb.tdb
2569        tdb> show RID_COUNTER
2570        key 12 bytes
2571        RID_COUNTER
2572        data 4 bytes
2573        [000] 0A 52 00 00                                       .R.
2575        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
2576        ....
2577        record moved
2579 If you are using 'passdb backend = ldapsam', it will be necessary to 
2580 store idmap entries in the LDAP directory as well (i.e. idmap backend 
2581 = ldap).  Refer to the 'net idmap' command for more information on 
2582 migrating SID<->UNIX id mappings from one backend to another.
2584 If the RID_COUNTER record does not exist, then these instructions are
2585 unneccessary and the new RID_COUNTER record will be correctly generated
2586 if needed.  
2590 ########################
2591 Upgrading from Samba 2.2
2592 ########################
2594 This section is provided to help administrators understand the details
2595 involved with upgrading a Samba 2.2 server to Samba 3.0.
2598 Building
2599 --------
2601 Many of the options to the GNU autoconf script have been modified 
2602 in the 3.0 release.  The most noticeable are:
2604   * removal of --with-tdbsam (is now included by default; see section
2605     on passdb backends and authentication for more details)
2606     
2607   * --with-ldapsam is now on used to provided backward compatible
2608     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
2609     backend and authentication section for more details
2610   
2611   * inclusion of non-standard passdb modules may be enabled using
2612     --with-expsam.  This includes an XML backend and a mysql backend.
2613       
2614   * removal of --with-msdfs (is now enabled by default)
2615   
2616   * removal of --with-ssl (no longer supported)
2617   
2618   * --with-utmp now defaults to 'yes' on supported systems
2619   
2620   * --with-sendfile-support is now enabled by default on supported 
2621     systems
2622   
2623     
2624 Parameters
2625 ----------
2627 This section contains a brief listing of changes to smb.conf options
2628 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
2629 complete descriptions of new or modified parameters.
2631 Removed Parameters (order alphabetically):
2633   * admin log
2634   * alternate permissions
2635   * character set
2636   * client codepage
2637   * code page directory
2638   * coding system
2639   * domain admin group
2640   * domain guest group
2641   * force unknown acl user
2642   * hide local users
2643   * mangled stack
2644   * nt smb support
2645   * postscript
2646   * printer driver
2647   * printer driver file
2648   * printer driver location
2649   * read size
2650   * source environment
2651   * status
2652   * strip dot
2653   * total print jobs
2654   * use rhosts
2655   * valid chars
2656   * vfs options
2658 New Parameters (new parameters have been grouped by function):
2660   Remote management
2661   -----------------
2662   * abort shutdown script
2663   * shutdown script
2665   User and Group Account Management
2666   ---------------------------------
2667   * add group script
2668   * add machine script
2669   * add user to group script
2670   * algorithmic rid base
2671   * delete group script
2672   * delete user from group script
2673   * passdb backend
2674   * set primary group script
2676   Authentication
2677   --------------
2678   * auth methods
2679   * realm
2680   * passwd chat timeout
2682   Protocol Options
2683   ----------------
2684   * client lanman auth
2685   * client NTLMv2 auth
2686   * client schannel
2687   * client signing
2688   * client use spnego
2689   * disable netbios
2690   * ntlm auth
2691   * paranoid server security
2692   * server schannel
2693   * server signing
2694   * smb ports
2695   * use spnego
2697   File Service
2698   ------------
2699   * get quota command
2700   * hide special files
2701   * hide unwriteable files
2702   * hostname lookups
2703   * kernel change notify
2704   * mangle prefix
2705   * map acl inherit
2706   * msdfs proxy
2707   * set quota command
2708   * use sendfile
2709   * vfs objects
2710   
2711   Printing
2712   --------
2713   * max reported print jobs
2715   UNICODE and Character Sets
2716   --------------------------
2717   * display charset
2718   * dos charset
2719   * unicode
2720   * unix charset
2721   
2722   SID to uid/gid Mappings
2723   -----------------------
2724   * idmap backend
2725   * idmap gid
2726   * idmap uid
2727   * winbind enable local accounts
2728   * winbind trusted domains only
2729   * template primary group
2730   * enable rid algorithm
2732   LDAP
2733   ----
2734   * ldap delete dn
2735   * ldap group suffix
2736   * ldap idmap suffix
2737   * ldap machine suffix
2738   * ldap passwd sync
2739   * ldap replication sleep
2740   * ldap user suffix
2741   
2742   General Configuration
2743   ---------------------
2744   * preload modules
2745   * private dir
2747 Modified Parameters (changes in behavior):
2749   * encrypt passwords (enabled by default)
2750   * mangling method (set to 'hash2' by default)
2751   * passwd chat
2752   * passwd program
2753   * restrict anonymous (integer value)
2754   * security (new 'ads' value)
2755   * strict locking (enabled by default)
2756   * unix extensions (enabled by default)
2757   * winbind cache time (increased to 5 minutes)
2758   * winbind uid (deprecated in favor of 'idmap uid')
2759   * winbind gid (deprecated in favor of 'idmap gid')
2762 Databases
2763 ---------
2765 This section contains brief descriptions of any new databases 
2766 introduced in Samba 3.0.  Please remember to backup your existing 
2767 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
2768 upgrade databases as they are opened (if necessary), but downgrading 
2769 from 3.0 to 2.2 is an unsupported path.
2771 Name                    Description                             Backup?
2772 ----                    -----------                             -------
2773 account_policy          User policy settings                    yes
2774 gencache                Generic caching db                      no
2775 group_mapping           Mapping table from Windows              yes
2776                         groups/SID to unix groups        
2777 winbindd_idmap          ID map table from SIDS to UNIX          yes
2778                         uids/gids.
2779 namecache               Name resolution cache entries           no
2780 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
2781                         returned as part of a successful
2782                         net_sam_logon request 
2783 printing/*.tdb          Cached output from 'lpq                 no
2784                         command' created on a per print 
2785                         service basis
2786 registry                Read-only samba registry skeleton       no
2787                         that provides support for exporting
2788                         various db tables via the winreg RPCs
2791 Changes in Behavior
2792 -------------------
2794 The following issues are known changes in behavior between Samba 2.2 and 
2795 Samba 3.0 that may affect certain installations of Samba.
2797   1)  When operating as a member of a Windows domain, Samba 2.2 would 
2798       map any users authenticated by the remote DC to the 'guest account'
2799       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
2800       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
2801       current work around to re-establish the 2.2 behavior.
2802       
2803   2)  When adding machines to a Samba 2.2 controlled domain, the 
2804       'add user script' was used to create the UNIX identity of the 
2805       machine trust account.  Samba 3.0 introduces a new 'add machine 
2806       script' that must be specified for this purpose.  Samba 3.0 will
2807       not fall back to using the 'add user script' in the absence of 
2808       an 'add machine script'
2809   
2811 ######################################################################
2812 Passdb Backends and Authentication
2813 ##################################
2815 There have been a few new changes that Samba administrators should be
2816 aware of when moving to Samba 3.0.
2818   1) encrypted passwords have been enabled by default in order to 
2819      inter-operate better with out-of-the-box Windows client 
2820      installations.  This does mean that either (a) a samba account
2821      must be created for each user, or (b) 'encrypt passwords = no'
2822      must be explicitly defined in smb.conf.
2823     
2824   2) Inclusion of new 'security = ads' option for integration 
2825      with an Active Directory domain using the native Windows
2826      Kerberos 5 and LDAP protocols.
2828      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
2829      type which is neccessary for servers on which the 
2830      administrator password has not been changed, or kerberos-enabled 
2831      SMB connections to servers that require Kerberos SMB signing.
2832      Besides this one difference, either MIT or Heimdal Kerberos
2833      distributions are usable by Samba 3.0.
2834      
2836 Samba 3.0 also includes the possibility of setting up chains
2837 of authentication methods (auth methods) and account storage 
2838 backends (passdb backend).  Please refer to the smb.conf(5) 
2839 man page for details.  While both parameters assume sane default 
2840 values, it is likely that you will need to understand what the 
2841 values actually mean in order to ensure Samba operates correctly.
2843 The recommended passdb backends at this time are
2845   * smbpasswd - 2.2 compatible flat file format
2846   * tdbsam - attribute rich database intended as an smbpasswd
2847     replacement for stand alone servers
2848   * ldapsam - attribute rich account storage and retrieval 
2849     backend utilizing an LDAP directory.  
2850   * ldapsam_compat - a 2.2 backward compatible LDAP account 
2851     backend
2852     
2853 Certain functions of the smbpasswd(8) tool have been split between the 
2854 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
2855 utility.  See the respective man pages for details.
2856     
2857      
2858 ######################################################################
2859 LDAP
2860 ####
2862 This section outlines the new features affecting Samba / LDAP 
2863 integration.
2865 New Schema
2866 ----------
2867   
2868 A new object class (sambaSamAccount) has been introduced to replace 
2869 the old sambaAccount.  This change aids us in the renaming of 
2870 attributes to prevent clashes with attributes from other vendors.  
2871 There is a conversion script (examples/LDAP/convertSambaAccount) to 
2872 modify and LDIF file to the new schema.
2873   
2874 Example:
2875   
2876   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
2877   $ convertSambaAccount --sid=<Domain SID> \
2878     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
2879     --changetype=[modify|add]
2880         
2881 The <DOM SID> can be obtained by running 'net getlocalsid 
2882 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
2883 the format of the generated LDIF output--either create new entries 
2884 or modify existing entries.
2885     
2886 The old sambaAccount schema may still be used by specifying the 
2887 "ldapsam_compat" passdb backend.  However, the sambaAccount and
2888 associated attributes have been moved to the historical section of
2889 the schema file and must be uncommented before use if needed.
2890 The 2.2 object class declaration for a sambaAccount has not changed
2891 in the 3.0 samba.schema file. 
2892   
2893 Other new object classes and their uses include:
2894   
2895   * sambaDomain - domain information used to allocate rids 
2896     for users and groups as necessary.  The attributes are added
2897     in 'ldap suffix' directory entry automatically if 
2898     an idmap uid/gid range has been set and the 'ldapsam'
2899     passdb backend has been selected.
2900       
2901   * sambaGroupMapping - an object representing the 
2902     relationship between a posixGroup and a Windows
2903     group/SID.  These entries are stored in the 'ldap 
2904     group suffix' and managed by the 'net groupmap' command.
2905     
2906   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
2907     automatically and contains the next available 'idmap uid' and 
2908     'idmap gid'
2909     
2910   * sambaIdmapEntry - object storing a mapping between a 
2911     SID and a UNIX uid/gid.  These objects are created by the 
2912     idmap_ldap module as needed.
2914   * sambaSidEntry - object representing a SID alone, as a Structural
2915     class on which to build the sambaIdmapEntry.
2917     
2918 New Suffix for Searching
2919 ------------------------
2920   
2921 The following new smb.conf parameters have been added to aid in directing
2922 certain LDAP queries when 'passdb backend = ldapsam://...' has been
2923 specified.
2925   * ldap suffix         - used to search for user and computer accounts
2926   * ldap user suffix    - used to store user accounts
2927   * ldap machine suffix - used to store machine trust accounts
2928   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
2929   * ldap idmap suffix   - location of sambaIdmapEntry objects
2931 If an 'ldap suffix' is defined, it will be appended to all of the 
2932 remaining sub-suffix parameters.  In this case, the order of the suffix
2933 listings in smb.conf is important.  Always place the 'ldap suffix' first
2934 in the list.  
2936 Due to a limitation in Samba's smb.conf parsing, you should not surround 
2937 the DN's with quotation marks.
2940 IdMap LDAP support
2941 ------------------
2943 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
2944 following options would inform Samba that the idmap table should be
2945 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
2946 dc=org" partition.
2948  [global]
2949     ...
2950     idmap backend     = ldap:ldap://onterose/
2951     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
2952     idmap uid         = 40000-50000
2953     idmap gid         = 40000-50000
2955 This configuration allows winbind installations on multiple servers to
2956 share a uid/gid number space, thus avoiding the interoperability problems
2957 with NFS that were present in Samba 2.2.
2958     
2961 ######################################################################
2962 Trust Relationships and a Samba Domain
2963 ######################################
2965 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
2966 allocating uids and gids to trusted users and groups.  More
2967 information regarding Samba's support for establishing trust 
2968 relationships can be found in the Samba-HOWTO-Collection included
2969 in the docs/ directory of this release.
2971 First create your Samba PDC and ensure that everything is 
2972 working correctly before moving on the trusts.
2974 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
2975 4.0 domain named WINDOWS:
2977   1) create the trust account for SAMBA in "User Manager for Domains"
2978   2) connect the trust from the Samba domain using
2979      'net rpc trustdom establish GLASS'
2981 To create a trustlationship with SAMBA as the trusted domain:
2983   1) create the initial trust account for GLASS using
2984      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
2985      account for GLASS$ prior to this step (depending on your
2986      local configuration).
2987   2) connect the trust from a WINDOWS DC using "User Manager
2988      for Domains"
2990 Now join winbindd on the Samba PDC to the SAMBA domain using
2991 the normal steps for adding a Samba server to an NT4 domain:
2992 (note that smbd & nmbd must be running at this point)
2994    root# net rpc join -U root
2995    Password: <enter root password from smbpasswd file here>
2997 Start winbindd and test the join with 'wbinfo -t'.
2999 Now test the trust relationship by connecting to the SAMBA DC
3000 (e.g. POGO) as a user from the WINDOWS domain:
3002    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3003    Password:
3005 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3007    $ smbclient //crystal/netlogon -U root -W WINDOWS
3008    Password:
3010 ######################################################################
3011 Changes in Winbind
3012 ##################
3014 Beginning with Samba3.0.0beta3, winbindd has been given new account
3015 manage functionality equivalent to the 'add user script' family of
3016 smb.conf parameters.  The idmap design has also been changed to 
3017 centralize control of foreign SID lookups and matching to UNIX 
3018 uids and gids.
3021 Brief Description of Changes
3022 ----------------------------
3024 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
3025    reverted to the 2.2.x design.  This means that when resolving a 
3026    SID to a UID or similar mapping:
3028         a) First consult winbindd
3029         b) perform a local lookup only if winbindd fails to
3030            return a successful answer
3032    There are some variations to this, but these two rules generally
3033    apply.
3035 2) All idmap lookups have been moved into winbindd.  This means that
3036    a server must run winbindd (and support NSS) in order to achieve
3037    any mappings of SID to dynamically allocated UNIX ids.  This was
3038    a conscious design choice.
3040 3) New functions have been added to winbindd to emulate the 'add user 
3041    script' family of smbd functions without requiring that external
3042    scripts be defined.  This functionality is controlled by the 'winbind 
3043    enable local accounts' smb.conf parameter (enabled by default).
3045    However, this account management functionality is only supported 
3046    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
3047    must be shared among multiple Samba servers (such as a PDC and BDCs), 
3048    it will be necessary to define your own 'add user script', et. al.
3049    programs that place the accounts/groups in some form of directory
3050    such as NIS or LDAP.  This requirement was deemed beyond the scope
3051    of winbind's account management functions.  Solutions for 
3052    distributing UNIX system information have been deployed and tested 
3053    for many years.  We saw no need to reinvent the wheel.
3055 4) A member of a Samba controlled domain running winbindd is now able 
3056    to map domain users directly onto existing UNIX accounts while still
3057    automatically creating accounts for trusted users and groups.  This
3058    behavior is controlled by the 'winbind trusted domains only' smb.conf
3059    parameter (disabled by default to provide 2.2.x winbind behavior).
3061 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3062    in smbd/uid.c.  The reason that group mappings are not included
3063    in winbindd is because the purpose of Samba's group map is to
3064    match any Windows SID with an existing UNIX group.  These UNIX
3065    groups can be created by winbindd (see next section), but the
3066    SID<->gid mapping is retreived by smbd, not winbindd.
3069 Examples
3070 --------
3072 * security = server running winbindd to allocate accounts on demand
3074 * Samba PDC running winbindd to handle the automatic creation of UNIX
3075   identities for machine trust accounts
3077 * Automtically creating UNIX user and groups when migrating a Windows NT
3078   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
3079   'net rpc vampire' for this to work.
3081    
3082 ######################################################################
3083 Known Issues
3084 ############
3086 * There are several bugs currently logged against the 3.0 codebase
3087   that affect the use of NT 4.0 GUI domain management tools when run
3088   against a Samba 3.0 PDC.  This bugs should be released in an early 
3089   3.0.x release.
3091 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
3092 filed against the Samba 3.0 codebase.
3095 ######################################################################
3096 Reporting bugs & Development Discussion
3097 #######################################
3099 Please discuss this release on the samba-technical mailing list or by
3100 joining the #samba-technical IRC channel on irc.freenode.net.
3102 If you do report problems then please try to send high quality
3103 feedback. If you don't provide vital information to help us track down
3104 the problem then you will probably be ignored.  
3106 A new bugzilla installation has been established to help support the 
3107 Samba 3.0 community of users.  This server, located at 
3108 https://bugzilla.samba.org/, has replaced the older jitterbug server 
3109 previously located at http://bugs.samba.org/.