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