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