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