r5870: syncing up for 3.0.12
[Samba.git] / WHATSNEW.txt
blob0cbf4c925a10ffe46f96d0a756149ff2e5eb02fa
1                    =================================
2                    Release Notes for Samba 3.0.12rc1
3                              Mar 11, 2005
4                    ==================================
6 This is a release candidate of the Samba 3.0.12 code base and is 
7 provided for testing only.  While close to the final stable release, 
8 this snapshot is *not* intended for production servers.  If all 
9 goes well, this this version (or something very similar) will become
10 the final 3.0.12 stable release. 
12 Common bugs fixed in 3.0.12rc1 include:
14   o Error messages from shared Excel workbooks residing on Samba 
15     file shares.
16   o Missing files in the output of smbclient -c 'dir' when run 
17     against Windows file servers.
18   o Inability for Print Administrators to pause/resume/purge print 
19     queues.
21 Additional features introduced in Samba 3.0.12rc1:
23   o Support for the Novell NDS universal password when using the
24     ldapsam passdb backend.
25   o New 'net rpc trustdom {add,del}' functionality to eventually 
26     replace 'smbpasswd {-a,-x} -i'.
27   o New libsmbclient functionality.
30 libsmbclient Binary Compatibility
31 ==================================
33 Please note that a change has been made to the _SMBCCTX structure 
34 in source/include/libsmbclient.h.  This change is not backwards
35 compatible with applications linked against the libsmbclient.so
36 library from Samba 3.0.11.  However, it is compatible with all 
37 other Samba 3.0.x releases.  This means that it will be most likely
38 be necessary to recompile any applications linked against the 
39 3.0.11 version of the library.
42 ######################################################################
43 Changes
44 #######
46 Changes since 3.0.12pre1
47 ------------------------
49 smb.conf changes
50 ----------------
52     Parameter Name                      Action
53     --------------                      ------
54     write cache                         Deprecated
55     allocation roundup size             New
58 commits
59 -------
60 o   Jeremy Allison <jra@samba.org>
61     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
62       work around issues building MS Visual Studio 6.0 project 
63       on a Samba file share while restoring the pre-3.0.21pre1 
64       behavior by default.
65     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
66       stat when checking for existence of a pathname.
67     * Check the sticky bit on the parent directory for supporting
68       the new WinXP SP2 file deletion semantics.
69     * Various oplock, share mode, and byte range locking fixes
70       found by Connectathon tests.
71     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
72       code.
73     * BUG 2382, 2045: More pending modtime and delayed write fixes
74       for MS Excel (incorporates partial patches from 
75       ke_miyata@itg.hitachi.co.jp).
76       
78 o   Vince Brimhall <vbrimhall@novell.com>
79     * Add support for Novell NDS universal password.
80     * BUG 2424: Ensure that uidNumber and gidNumber use match 
81       the RFC2307 schema
82     
83     
84 o   Gerald (Jerry) Carter <jerry@samba.org>
85     * Implement MS-DFS for recursive directory listings in smbclient.
86     * BUG 2394: Fix nmbd linking issue on IRIX.
87     * Only display the publish check box in the client's printer 
88       properties dialog if we are a member of an AD domain.
89     * BUG 2363: allow 'in use' driver to be removed as long as 
90       one 'Windows NT x86' driver remains.
91     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
92       porting purposes.
93     * Enforce better printer.tdb cache consistency when removing 
94       jobs from a print queue via SMB.
95     * Ensure that pause/resume/purge print queue commands are run
96       with the appropriate level of privilege necessary to actually
97       work.
98     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
99       for 'printing = cups' installations that do not actually have 
100       libcups.
101     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
102     * BUG 2215: Rewrite questionable code that was causing gcc to 
103       choke.
104     * Add server support for LsaLookupPrivValue().
105       
107 o   Kevin Dalley <kevin@kelphead.org>
108     * BUG 2398: Don't force smbclient to assume a dry run if the 
109       target tarfile is /dev/null.
110       
111       
112 o   Steve French <sfrench@us.ibm.com>
113     * On failed mount (ENXIO) retry share name in uppercase (fix
114       mount to FastConnect AIX SMB server).
115     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
116     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
117       it with a user name.
118     * Update for new CIFS POSIX info levels.
119       
120       
121       
122 o   Volker Lendecke <vl@samba.org>
123     * BUG 2401: Flush internal getpwnam() cache after deleting a 
124       user.
125     * BUG 1604: Make winbind work with more than 10 trusted domains.
126     * Cleanup various compiler warnings.
127     
128     
129 o   Herb Lewis <herb@samba.org>
130     * BUG 2417: Add help lines for net rpc group addmem and 
131       delmem commands.
132       
133       
134 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
135     * Add support to libsmbclient for getting and setting DOS 
136       attributes using EA functions.
137     * Fix libsmbclient's URL encoding/decoding.
138     * Replace browse listing URI queries with an internal options 
139       structure (previous method violated the SMB URI syntax).
140     * Allow tree connects to be multiplexed over a single CIFS server 
141       connection context.
142     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
143       can determine a dead tree connection.
144     
146 o   Justin Ossevoort <justin@snt.utwente.nl>
147     * BUG 2316: Fix crashes in pdb_pgsql.
148     
149     
150 o   Jim McDonough <jmcd@us.ibm.com>
151     * Fix 'net rpc trustdom add' to correctly add new domain trust 
152       accounts.  This will eventually replace 'smbpasswd -a -i'.
153     * Implement 'net rpc trustdom del', including client side of 
154       samr_remove_sid_from_foreign_domain.
155     * Bring IBM Directory Server schema up to date with openldap 
156       schema.
157     * Allow for better protection of sensitive attributes in IBM
158       Directory Server.
160     
161 o   James Peach <jpeach@sgi.com>
162     * Fix oplock2 test in client smbtorture.
163     
164     
165 o   Jelmer Vernooij <jelmer@samba.org>
166     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
167     * BUG 1957: Implement minimal update of fields in mySQL pdb 
168       module.
169     
171 o   Torsten Werner <torsten.werner@assyst-intl.com>
172     * BUG 2405: Define 'lpstat' printcap output on HPUX.
173     
175 Release Notes for older release follow:
177       --------------------------------------------------
178                    ==================================
179                    Release Notes for Samba 3.0.12pre1
180                              Feb 25, 2005
181                    ===================================
183 Common bugs fixed in 3.0.12pre1 include:
185   o Winbind failures when using 'disable netbios = yes'
186   o Failure to establish a trust relationship via 'net rpc 
187     trust establish'
188   o Various portability & compiler issues.
189   o Read only file deletion failure caused by new delete 
190     semantics in Windows XP SP2 and the MS 04-044 security 
191     hotfix.
193 Additional features introduced in Samba 3.0.12pre1:
195   o Performance enhancements when serving directories 
196     containing large number of files.
197   o MS-DFS support added to smbclient.
198   o More performance improvements when using Samba/OpenLDAP
199     based DC's via the 'ldapsam:trusted=yes' option.
202 Large Directory Support
203 -----------------------
205 Samba 3.0.12pre1 introduces a specific mechanism for dealing
206 with file services that frequently contain a large number of files
207 per directory.  Historically Samba's performance has suffered 
208 in such environments due to the translation from case 
209 insensitive lookups by Windows client to the case sensitive
210 storage mechanisms used by UNIX filesystems.
212 Configuration details along with a short HOWTO can be found at:
214 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
216     
218 ######################################################################
219 Changes
220 #######
222 Changes since 3.0.11
223 --------------------
224 smb.conf changes
225 ----------------
227     Parameter Name                      Action
228     --------------                      ------
229     log nt token command                New
232 commits
233 -------
234 o   Jeremy Allison <jra@samba.org>
235     * BUG 2146: Return correct allocation sizes so as not to crash 
236       the VC++ compiler.
237     * BUG 962: Ensure that parsing of service names in smb.conf is 
238       multibyte safe.
239     * BUG 2201, 2227: Support new delete semantics used by MS04-044
240       and XP SP2.
241     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
242       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
243     * Add special hooks when serving directories containing large
244       numbers of files.
245     * Ensure that WINS negative name query responses and WACK 
246       packets use the correct RR type of 0xA instead of reflecting 
247       back what the query RR type was (0x20).
248     * BUG 2310: Only do 16-bit normalization on small dfree request.
249     * BUG 2323: Correct authentication failure when using plaintext 
250       passwords from Windows XP clients.
251     
252     
253 o   Andrew Bartlett <abartlet@samba.org>
254     * Avoid length-limited intermediate copy of NT and LM responses 
255       in NETLOGON client.
256     * Debug message cleanups in the NTLMSSP implementation.
257       
259 o   Manuel Baena <mbaena@lcc.uma.es>
260     * Print actual error message in smbmnt.c:fullpath().
263 o   Gerald (Jerry) Carter <jerry@samba.org>
264     * Add trans2 client call for checking dfs referrals
265     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
266       when checking directories on modern CIFS servers.
267     * Add MS-DFS support to smbclient.
268     * Code cleanup of adt_tree.[ch].
269     * Add missing checks to allow root to manage user rights.
270     * Allow domain admins to manage rights assignments on domain members
271       servers.
272     * BUG 2333: Use the lpq command to pass in the correct printer name 
273       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
274       the default.
275     * BUG 1439: make sure to initialize pointer to prevent invalid 
276       free()'s on exit.
277     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
278       netbios = yes'.
279     * Add cups-devel to BuidlRequires directive in Fedora spec file.
280     * BUG 858: Fix order of popt args evaluation so we don't crash 
281       when given no command line args.
282     * Remove dependency on bash for source/autogen.sh.
283     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
284      
286 o   Guenther Deschner <gd@samba.org>
287     * Fix crash bug in the client-spoolss enumdataex-call.
288     * Expand the valid-workstation-scheme by expanding names 
289       beginning with a plus (+) as a unix group.
290     * Allow own netbios name to be set in smbclient's session setup.
291     * Better handling of LDAP over IPC connections that have expired 
292       on the LDAP-Server.
293     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
294     * Add examples/misc/adssearch.pl.
295     * BUG 2343: Build fixes.
296     * Support get_user_info_7 in SAMR server RPC.
297     * Fix server_role in the samr_query_dom_info calls. 
298     
299     
300 o   Steve French <sfrench@us.ibm.com>
301     * Ignore users mount parm in mount.cifs.
304 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
305     * BUG 1549: Don't truncate service names in smbstatus.
306     
308 o   S Murthy Kambhampaty <smk_va@yahoo.com>
309     * Add idmap_rid module to Fedora and RedHat spec files.
312 o   Volker Lendecke <vl@samba.org>
313     * Fix a memory leaks in privileges code and passdb backends.
314     * Fixes for samr_lookup_sids() client call.
315     * Optimize _samr_query_groupmem with LDAP backend for large 
316       domains.
317     * Support SIDs as %s replacements in the afs username map 
318       parameter.
319     * Add 'log nt token command' parameter. If set, %s is replaced 
320       with the user sid, and %t takes all the group sids.
321     * Do not use the "Local Unix Group"-default description for 
322       all kinds of group-mappings. 
323     * Fix uninitialized variable in Linux nss_winbind library.
324     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
325     * Implement 'net afs impersonate'.
326     
328 o   Herb Lewis <herb@samba.org>
329     * Fix build problem when HAVE_POSIX_ACL is not defined.
330     
331     
332 o   Jason Mader <jason@ncac.gwu.edu>
333     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340, 2341, 
334        2342)
335     
336         
337 o   Jim McDonough <jmcd@us.ibm.com>
338     * Fixes for server schannel implementation when 'restrict 
339       anonymous = 1' is set in smb.conf.
340     * Fix bug in server side lookupsids reply that crashed lsass.exe 
341       on Windows clients.
342     * Fix 'net rpc trustdom establish'.
343     * BUG 2062: Turn off broadcast for all 390 NICs.
346 o   Stefan Metzmacher <metze@samba.org>    
347     * Fix memleaks in the nttrans code.
350 o   Mike Nix <mnix@wanm.com.au>
351     * Add SMBsplopen and SMBsplclose client calls.
352     
354 o   James Peach <jpeach@sgi.com>
355     * Fixes in string handling code.
356     
358 o   Tim Potter <tpot@samba.org>
359     * Fix up example pdb modules after prototype change for 
360       setsampwent.
361     * BUG 2058: Fix for shared object creation in examples.
362     * BUG 2315: Fix segv in LSA privileges server code.
363     * Build fixes for python wrapper libraries.
366 o   Richard Sharpe <rsharpe@samba.org>
367     * BUG 2044: Fix segv in profiles tool.
368     * Fix bogus error messages when enumerating user group 
369       membership via 'net rpc'.
372 o   Simo Sorce <idra@samba.org>
373     * Debian packaging fixes.
374       
375       
376 o   Doug VanLeuven <roamdad@sonic.net>
377     * AIX compile fixes.
378     
380 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
381     * Detect infinite loops when traversing tdbs.
382     
384       --------------------------------------------------
385                    ==============================
386                    Release Notes for Samba 3.0.11
387                              Feb 5, 2005
388                    ==============================
390 This is the latest stable release of Samba. This is the version
391 that production Samba servers should be running for all current
392 bug-fixes.  Please read the following important changes in this 
393 release.
395 Common bugs fixed in 3.0.11 include:
397   o Crash in smbd when using CUPS printing.
398   o Parsing error of other SIDs included in the user_info_3
399     structure returned from domain controllers.
400   o Inefficiencies when searching non-AD LDAP directories.
401   o Failure to expand variables in user domain attributes
402     in tdbsam and ldapsam.
403   o Memory leaks.
404   o Failure to retrieve certain attribute when migrating from 
405     a Windows DC to a Samba DC via 'net rpc vampire'.
406   o Numerous printing bugs bugs including memory 
407     bloating on large/busy print servers.
408   o Compatibility issues with Exchange 5.5 SP4.
409   o sendfile fixes.
411 Additional features introduced in Samba 3.0.11:
413   o Winbindd performance improvements.
414   o More 'net rpc vampire' functionality.
415   o Support for the Windows privilege model to assign rights
416     to specific SIDs.
417   o New administrative options to the 'net rpc' command.
420 LDAP Changes
421 ------------
423 If "ldap user suffix" or "ldap machine suffix" are defined in
424 smb.conf, all user-accounts must reside below the user suffix,
425 and all machine and inter-domain trust-accounts must be located 
426 below the machine suffix.  Previous Samba releases would fall 
427 back to searching the 'ldap suffix' in some cases.
430 Privilege Model
431 ---------------
433 Samba 3.0.11 supports the following assignable rights
435 SeMachineAccountPrivilege  Add machines to domain
436 SePrintOperatorPrivilege   Manage printers
437 SeAddUsersPrivilege        Add users and groups to the domain
438 SeRemoteShutdownPrivilege  Force shutdown from a remote system
439 SeDiskOperatorPrivilege    Manage disk shares
441 These rights can be assigned to arbitrary users or groups
442 via the 'net rpc rights grant/revoke' command.  More details
443 of Samba's privilege implementation can be found in the 
444 Samba-HOWTO-Collection.
445     
447 ######################################################################
448 Changes
449 #######
451 Changes since 3.0.11rc1
452 -----------------------
454 commits
455 -------
456 o   Timur Bakeyev <timur@com.bat.ru>
457     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
460 o   Gerald (Jerry) Carter <jerry@samba.org>
461     * BUG 2262: Add support in configure.in for *freebsd6*.
462     * BUG 2266: Portability fixes for quota code on FreeBSD4.
463     * BUG 2264: Remove shutdown and abortshutdown commands from 
464       rpcclient in favor of using the same functions in 'net'.
465     * BUG 2295: Prevent smbd from returning an empty server name
466       in certain lanman api calls.
467     * BUG 2290: Fix autogen.sh script in examples (based on original
468       patch from Lars Mueller).
469     * Fix bug enumerating domain trusts in security = ads.
470     * Fix segv in rpcclient's dsenumdomtrusts.
471     * Fix bug in expansion of %U and %G in included filenames.
472     * BUG 2291: Restrict creation of server trust and domain trust
473       accounts to members of the "Domain Admins" group.
474     
476 o   Guenther Deschner <gd@samba.org>
477     * BUG 2291: Call the 'add machine script' for server trust and 
478       domain trust accounts as well as workstation accounts.
481 o   Levente Farkas <lfarkas@lfarkas.org>
482     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
483       packages.
486 o   Jay Fenlason <fenlason@redhat.com>
487     * Several patches from RedHat's Fedora Core RPMS.
490 o   Deryck Hodge <deryck@samba.org>
491     * Add -P (--password-only-menu) to SWAT for displaying only the
492       password change page to non-root users.
495 o   Jason Mader <jason@ncac.gwu.edu>
496     * BUG 2113, 2289: Remove dead code.
499 o   Tim Potter <tpot@samba.org>
500     * Compile fixes after new setsampwent() API.
503 o   Richard Renard <rrenard@idealx.com>
504     * Update Netscape DS 5.2 LDAP schema.
507 o   Simo Sorce <idra@samba.org>
508     * Log a warning in testparm if a print command is defined for
509       a print service using 'printing = cups'.
512 Changes since 3.0.10
513 --------------------
515 smb.conf changes
516 ----------------
518     Parameter Name                      Action
519     --------------                      ------
520     afs token lifetime                  New
521     enable privileges                   New
522     ldap password sync                  Alias
523     min password length                 Deprecated
524     winbind enable local accounts       Deprecated
527 commits
528 -------
529 o   Jeremy Allison <jra@samba.org>
530     * Extend vfs to add seekdir/telldir/rewinddir.
531     * Fix dirent return.
532     * Fix bugs when handling secondary trans2 requests.
533     * Implementation of get posix acls in UNIX extensions.
534     * Added set posix acl functionality into the UNIX extensions code.
535     * Updated config.guess/config.sub .
536     * Fix error reply when 'follow symlinks = no'.
537     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
538       not already zero.
539     * Fixes for LARGE_READX support.
540     * Fix the problem we get on Linux where sendfile fails, but we've
541       already sent the header using send().
542     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
543       inherit = no'.
544     * BUG 2088: Ensure inherit permissions is only applied on a new 
545       file, not an existing one.
546     * Don't go fishing for the krb5 authorization data unless we know
547       it's there.
548     * Fixes for libsmbclient to ensure that interrupted system calls
549       are restarted minus the already expired portion of the timeout
550       (based on work by Derrell Lipman).
551     * More Unicode string parsing fixes.
552     * Convert the winreg pipe to use WERROR returns.
553     * Make all LDAP timeouts consistent (input from Joe Meadows 
554       <jameadows@webopolis.com>).
555     * BUG 2231: Remove double "\\" from client findfirst.
556     * BUG 2238: Fix memory leak in shadow copy vfs.
557     * Return correct DOS/NT error code on transact named pipe on 
558       closed pipe handle.
559     * BUG 2211: Fix security descriptor parsing bug (based on work by 
560       Mrinal Kalakrishnan <mail@mrinal.net>).
561     * BUG 2270: Fix memory leaks in cups printing backend support 
562       (based on work by Lars Mueller).
563     * BUG 2255: Fix debug level in kerberos error messages.
564     * BUG 2110: Ensure we convert to ucs2 correctly after the 
565       CAN-2004-0930 patch.
566     * Make strict locking an enum. Auto means use oplock optimization.
567     * Fix client  & server to allow 127k READX calls.
568     * More *alloc fixes (includes additional fixes by Albert Chin.
569     * Catch sendfile errors correctly and return the correct values 
570       we want the caller to return.
571     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
572       for better use by desktop environments such as GNOME.
573     * Ensure we can't remove a level II oplock without having the
574       shared memory area locked.
575             
577 o   Timur Bakeyev <timur@com.bat.ru>
578     * BUG 2100: change the way we check for errors after a dlopen().
579     
580     
581 o   Andrew Bartlett <abartlet@samba.org>
582     * Clarify error message when 'lanman auth = no'.
583     * Remove the unnecessary UTF-8 conversion calls in the calls to
584       auth_winbind from smbd.
585     * Don't store the auth-user credentials with the cli_state* as 
586       this can cause the schannel setup to fail when the auth-user
587       domain is not our primary domain.
590 o   Grigory Batalov <bga@altlinux.org>
591     * Fix encoding while receiving of a message which was actually 
592       sent using STR_ASCII.
595 o   Daniel Beschorner <db@unit-netz.de>
596     * BUG 603: Correct access mask check for _samr_lookup_domain()
597       to work with Windows RAS server
600 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
601     * Fix missing printer_tdb reference decrement.
602     
604 o   Gerald (Jerry) Carter <jerry@samba.org>
605     * BUG 2073: fall back to smb_name if current_user_info is not
606       available in lp_file_list_changed().
607     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
608       errors.
609     * Don't run the background LPQ daemon when we are running in
610       interactive mode.
611     * prevent the background LPQ daemon from updating the print queue
612       cache just because multiple smbd processes sent a message that
613       it was out of date.
614     * consolidate printer searches to use find_service rather than 
615       for(...) loops.
616     * BUG 2091: don't remove statically defined printers in 
617       remove_stale_printers().
618     * Fix logic error in add_a_form() that only compared N characters 
619       instead of the entire form name.
620     * BUG 2107: fix memory bloating caused by large numbers of 
621       print_queue_updates() requests sent via messages.tdb.
622     * Check the setprinter(3) based on the access permissions on 
623       the handle and avoid the call to print_access_check().
624     * Re-instantiate previous semantics for calling init_unistr2() 
625       with a NULL source buffer.
626     * Support Windows privilege model for assigning rights
627       to specific SIDs.  Based on work by Simo Sorce in the trunk 
628       svn branch.  This feature is controlled by the 'enable 
629       privileges = [yes|no]' smb.conf(5) option.
630     * Add some smb.conf scripts for add/delete/change shares and 
631       deleting cups printers.
632     * Expand variables in the profile path, logon home and logon script 
633       values when using either tdbsam or ldapsam.
634     * Add Domain Admins (Full Control) to the default printer security 
635       descriptor if we are a DC.
636     * RedHat and Fedora Packaging fixes for perl dependencies.
637     * Remove unused schema items from OpenLDAP schema file.
638     * Remove duplicate enumeration of "Windows x86" architecture
639       when listing printer drivers via rpcclient.
640     * Fail set_privileges() if 'enable privileges = no' to prevent 
641       confused admins.
642     * Fix segfault in cups_queue_get().
643     * Tighten restrictions on changing user passwords when 
644       the connected user possesses the SeMachineAccountPrivilege.
645     * Ensure we set NETBIOSNAME.domainname for the long machine name
646       when publishing printers in AD (based on input from Rob Foehl).
647     * Mark 'winbind enable local accounts' as deprecated.
648     * Mark testprns tool as deprecated.
649     * Allow root to grant/revoke privilege assignments.
650     * Correct interaction between user rights and se_access_check() on
651       SAMR objects.
652     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
653       class.
656 o   Nadav Danieli <nadavd@exanet.com>
657     * Short circuit some is_locked() tests if we are oplocked.
658     
659     
660 o   Guenther Deschner <gd@samba.org>
661     * Allow 'localhost' as a valid server name in the smbd for the
662       spoolss calls.
663     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
664       Mewburn for the input).
665     * BUG 2059: Add additional checks needed after logic change to the
666       HAVE_WRFILE_KEYTAB detection test.
667     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
668       Samba DC.  Allow us to lookup at least our own SID.
669     * More fixes to have proper German in swat (Thanks to Reiner 
670       Klaproth and Björn Jacke.
671     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
672       setting security descriptors with smbcacls and using with 
673       the -S or -M switch. 
674     * Include the munged_dial, bad_password_count, logon_count, and 
675       logon_hours attributes when running 'net rpc vampire'.
676     * Fix segfault in idmap_rid.
677     * When winbindd is operating in the multi-mapping mode of 
678       idmap_rid, allow BUILTIN domain-mapping.
679     * Display infolevel 12 in query_dom_info in rpcclient.
680     * Fix bug in winbindd's lowercasing of usernames.
681     * Allow -v or -l for displaying verbose groupmap-listing 
682       as well as "verbose".
683     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
684       vampire'.
685     * Close LDAP-Connection before retrying to open a new connection 
686       in the retry-loop.
687     * Marking "min password length" as depreciated.  
688     * Implement SAMR query_dom_info-call info-level 8 server- and 
689       client-side, based on samba4-idl.
690     * Allow rpcclient to define a port to use when connecting 
691       to a remote server.
692     * Allow Account Lockout with Lockout Duration "forever" (until 
693       admin unlocks) to be set and displayed in User Manager.
694     * Allow to set acb_mask in rpcclient's enumdomusers.
695     * Add more generic rootDSE inspection function to check 
696       for given controls or extensions and remember these on a 
697       per server basis.
698     * Improve LDAP search efficiency by passing the acb_mask to 
699       pdb_setsampwent().
700     * Fixes for ldapsam_enum_group_memberships().
701     * Add createdomgroup to rpcclient.
702     * Add "net rpc user RENAME"-command.
703     * Display sam_user_info_7 in rpcclient.
704     * Make multi-domain-mode in idmap_rid accessible from outside 
705       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
706     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
707       "Lockout Duration: Forever".
708     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
709       config utility.
710     * Require assignment of Administrator SID in the passdb 
711       backend.  Fall back to the default name of 'Administrator' if
712       the lookup fails rather than using the first name in the
713       default 'admin users' list.
714     * Enhance LDAP failure debug messages.
715     
716     
717 o   Jay Fenlason <fenlason@redhat.com>
718     * Fix crash in 'net join' due to calling free on 
719       static buffers.
722 o   Rob Foehl <rwf@loonybin.net>.
723     * Compiler warnings.
724     * Try modifying printer published attributes before adding it a
725       new entry in AD.
726     * Solaris packaging fixes.
727     * Don't force the cups printer-make-and-model tag as the comment
728       for autoloaded printers.
729     * Implement caching of names from printcap to support a true
730       'printcap cache time'.
733 o   Johann Hanne <jhml@gmx.net>
734     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
737 o   Jeff Hardy <hardyjm@potsdam.edu>
738     * Example script for 'add print command' when using CUPS.
741 o   David Hu <david.hu@hp.com>
742     * Copy structure from print_queue_update() message rather than 
743       referencing it.  Fixes seg fault on HP-UX.
744       
745       
746 o   Buck Huppmann <buckh@pobox.com>
747     * BUG 2186: Don't free uninitialized credentials.
748     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
749       dnsDomainName != realm.
750    
752 o   Björn Jacke <bjoern@j3e.de>
753     * BUG 2040: Ensure the locale is reset to C to get ASCII-
754       compatible toupper/lower functions.
757 o   William Jojo <jojowil@hvcc.edu>
758     * Fix HPUX sendfile and add configure.in tests and code for
759       sendfile on AIX.
760     * AIX 5.3 compile fixes.
763 o   Volker Lendecke <vl@samba.org>
764     * Optimize anonymous session setups by workstations in a 
765       Samba domain.
766     * Reimplment the QueryUserAliases() server RPC reply.
767     * Re-add the getpwnam-cache for performance.
768     * Cache the result of a pdb_getsampwnam for later SID lookup 
769       queries.
770     * Unify the means of localtaing a user's global groups on a 
771       Samba DC.
772     * Fix bug when serving the 'Start Menu' in a roaming user profile..
773     * Map more pre-defined NT security descriptors to AFS acls.
774     * Add timeout to AD search requests.
775     * If a connection to a DC is requested (in winbindd), open
776       connections simultaneously to all DCs found.
777     * Memleak fixes.
778     * Fix logic error in handling of 'printcap name' parameter.
779     * Prevent winbindd from SPAM'ing the log files with 'user root 
780       does not exist'.
781     * Backport samr_DomInfo2 IDL specification from Samba 4.
782     * Implement smbstatus -n, don't lookup users and groups.
783     * Implement simple mapping that maps the space to another character 
784       defined by afsacl:space.
785     * Add support for 'net idmap delete <idmap-file> <SID>'.
786     * Add new parameter 'afs token lifetime' tells the AFS client 
787       when to throw away a token (patch from kllin@it.su.se).
788     * Initial work to allow support for multiple pipe opens on a 
789       single cli_state*.
790     * Ensure that we still retrieve the netbios name of any DC 
791       listed as a 'password server' to work around cases where the 
792       DC was defined using an IP address or fqdn.
793     * Fix memleak in winbindd connection code.
794     * Fix cli_samr_queryuseraliases.
795     * Allow wbinfo --user-sids to expand expand domain local groups.
796     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
797     * Fix parsing of other_sids in net_user_info3.
798     * Correct bad failure logic when user was not a member of any 
799       domain local groups.
800     
802 o   Jim McDonough <jmcd@us.ibm.com>
803     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
804       clients.  If it fails, fall back to WINREG.
805     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
806     * BUG 2198: Set password last change time when running 'net rpc 
807       vampire'.
808     * Add "refuse machine password change" policy field.
811 o   Luke Mewburn <lukem@NetBSD.org>
812     * BUG 2150: shmget() - Use POSIX definitions instead of non-
813       standard SHM_.
814       
816 o   Stefan Metzmacher <metze@samba.org>    
817     * autogen.sh fixes.
820 o   Buchan Milne <bgmilne@mandrake.org>
821     * Mandrake packaging fixes.
824 o   Lars Mueller <lmuelle@suse.de>
825     * Fix build of libsmbclient on x86_64.
826     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
827       is installed in a non-default location.
828     * BUG 2050: Calculate max_fd for select correctly.
829     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
830       script.
833 o   Jason Mader <jason@ncac.gwu.edu>
834     * BUG 2069: Remove unused variables.
835     * BUG 2075: Remove dead code paths.
836     * BUG 2083: Fix compiler warnings caused by bad type casts.
839 o   James Peach <jpeach@sgi.com>
840     * Fix rewinddir -> rewind_dir when using VFS macros.
841     
843 o   Gavrie Philipson <gavrie@disksites.com>
844     * BUG 1838: Remove stale printers imeeddiately when 
845       processing a SIGHUP and during smb.conf reload.
847       
848 o   Tim Potter <tpot@samba.org>
849     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
850     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
851     * Change the license for the winbindd external interface 
852       more liberal.
853     * HP-UX compile fixes.
856 o   Simo Sorce <idra@samba.org>
857     * Backport pdbedit changes from trunk.
858     * Allows the add/change share command to create the shared 
859       directory directory on disk.
860      
861 o   Jelmer Vernooij <jelmer@samba.org>
862     * Bug fixes for pdb_{xml,pqsql,xml}
863     * Fixes for pdb_mysql.
866 o   Andrew Tridgell <tridge@samba.org>
867     * Bring Samba3 into line with the Samba4 password change code.
868     
870 o   Shiro Yamada <shiro@miraclelinux.com>
871     * BUG 2190: Force SWAT to display parameters in unix charset and 
872       not UTF-8.
875       --------------------------------------------------
876                    ==============================
877                    Release Notes for Samba 3.0.10
878                              Dec 16, 2004
879                    ==============================
881 Common bugs fixed in 3.0.10 include:
883   o Fix for security issues described in CAN-2004-1154.
886       
887 Changes since 3.0.9
888 -------------------
891 commits
892 -------
894 o   Jeremy Allison <jra@samba.org>
895     * Added checks surrounding all *alloc() calls to fix
896       CAN-2004-1154.
897     * Fix long standing memory size bug in bitmap_allocate().
898     * Remove bogus error check in deferred open file serving 
899       code.
902 o   Thomas Bork <tombork@web.de>
903     * Fix autoconf script on platforms using a version of GNU ld
904       that does not include a date stamp in the output of --version.
907 o   Luke Mewburn <lukem@NetBSD.org>
908     * Fix the swat install script to deal with the new image
909       destination directory used by the docs.
910      
913       --------------------------------------------------
915                    =============================
916                    Release Notes for Samba 3.0.9
917                              Nov 15, 2004
918                    =============================
920 Common bugs fixed in 3.0.9 include:
922   o Problem updating roaming user profiles.
923   o Crash in smbd when printing from a Windows 9x client.
924   o Unresolved symbols in libsmbclient which caused
925     applications such as KDE's konqueror to fail when
926     accessing smb:// URLs.
929 Changes since 3.0.8
930 -------------------
933 commits
934 -------
936 o   Jeremy Allison <jra@samba.org>
937     * Correctly detect errno for no acl/ea support.
938     * BUG 2036: Fix seg fault in 'net ads join'.
940     
941 o   Gerald (Jerry) Carter <jerry@samba.org>
942     * Solaris packaging fixes.
943     * Fix seg fault in lanman printing code.
944     * BUG 2017: fix testparm reporting for the passwd program 
945       string.
946     * Fix output of smbstatus to match the man page.
947     * BUG 2027: fix conflict with declaration MD5_CTX in system 
948       headers.
949     * 2028: Avoid false error messages when copying a long 
950       printer name to the device mode.
953 o   Guenther Deschner <gd@samba.org> 
954     * Allow deldriverex in rpcclient to delete drivers for a 
955       specific architecture and a specific version.
956     * Fix a couple of rpcclient spoolss commands (setprinter, 
957       setprintername, getdriver) w.r.t to printer-naming scheme.
958       Allow 'localhost' in the server string for certain server-side
959       spoolss functions.
960     * BUG 2015: Do not fail on setting file attributes with 
961       acl support enabled.
964 o   Michel Gravey <michel.gravey@optogone.com>
965     * Fix build when using gcc 3.0.
968 o   Volker Lendecke <vl@samba.org>
969     * Fix tdb open logic when checking our local_pid after 
970       the fork().
973 o   Jim McDonough <jmcd@us.ibm.com>
974     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
975       non-root user.
978 o   Luke Mewburn <lukem@NetBSD.org>
979     BUG 1661: Fix KRB5_SETPW-defines
982 o   Buchan Milne <bgmilne@mandrake.org> 
983     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
986 o   Lars Müller <lmuelle@suse.de>
987     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
990 o   Martin Zielinski <mz@seh.de>
991     * Add DeletePrinterDriverEx() functionality to rpcclient.
992     
994       --------------------------------------------------
996                    =============================
997                    Release Notes for Samba 3.0.8
998                              Nov 7, 2004
999                    =============================
1001 Common bugs fixed in 3.0.8 include:
1003   o Compile fixes for HP-UX
1004   o Fixes for the printer publishing code used when joined to 
1005     an AD domain.
1006   o Incompatibilities with file system quotas.
1007   o Several bugs in the spoolss printing code and print system 
1008     backends.
1009   o Inconsistencies in the username map functionality when 
1010     configured on domain member servers.
1011   o Various compile warnings and errors on various platforms.
1012   o Fixes for kerberos interoperability with Windows 200x 
1013     domains when using DES keys.
1014   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
1015   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
1017     
1018 New features included in the 3.0.8 release are:
1020   o New migration functionality added the the net tool
1021     for files/directories, printers, and shares.
1022   o New experimental idmap backend for assigning uids/gids
1023     directly based on the user/group RID when acting as a
1024     member of single domain without any trusts.
1025   o Additional printer migration support for XP/2003 platforms.
1028 Change in Winbindd Behavior
1029 ---------------------------
1031 All usernames returned by winbindd are now converted to lower 
1032 case for better consistency.  This means any winbind installation
1033 relying on the winbind username will need to rename existing 
1034 directories and/or files based on the username (%u and %U) to lower 
1035 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
1036 include mail spool files, home directories, valid user lines in 
1037 smb.conf, etc....
1040 Change in Username Map
1041 ----------------------
1043 Previous Samba releases would only support reading the fully qualified 
1044 username (e.g. DOMAIN\user) from the username map when performing a 
1045 kerberos login from a client.  However, when looking up a map 
1046 entry for a user authenticated by NTLM[SSP], only the login name would be
1047 used for matches.  This resulted in inconsistent behavior sometimes
1048 even on the same server.
1050 Samba 3.0.8 obeys the following rules when applying the username
1051 map functionality:
1053   * When performing local authentication, the username map is 
1054     applied to the login name before attempting to authenticate 
1055     the connection.
1056   * When relying upon a external domain controller for validating
1057     authentication requests, smbd will apply the username map 
1058     to the fully qualified username (i.e. DOMAIN\user) only
1059     after the user has been successfully authenticated.
1062 ######################################################################
1063 Changes
1064 #######
1066 Changes since 3.0.7
1067 -------------------
1069 smb.conf changes
1070 ----------------
1071     Parameter Name                      Action
1072     --------------                      ------
1073     force printername                   New
1074     sendfile                            disabled by default
1077 commits
1078 -------
1080 o   Jeremy Allison <jra@samba.org>
1081     * Ensure extended security bit is on only if we negotiated 
1082       extended security.
1083     * Simplify statcache to use an in-memory tdb. 
1084     * If you're selecting a hash algorithm for tdb, you need 
1085       to do it at open time.
1086     * Removed old dir caching code - not being used now we 
1087       have the statcache anyway.
1088     * Simplify the mangle hash code to use an in-memory tdb.
1089     * Merge iconv changes from Samba 4 branch.
1090     * Fix parsing of names ending in dot and a few other error 
1091       returns.
1092     * BUG 1667: Smbpasswd file could be left locked on some 
1093       error exits.
1094     * Fixes for smbclient tar functionality.
1095     * BUG 1743: Fix logic bug the deferred open code.
1096     * Don't try to set security descriptors on shares where 
1097       this has been turned off.
1098     * Return correct error codes on old SEARCH call.
1099     * Ensure we set errno = E2BIG when we overflow in the 
1100       fast-path character conversion code.
1101     * Fix the roundup problem (returning 1mb roundup) for 
1102       non-Windows clients.
1103     * Added 'stat' command to smbclient to exercise the 
1104       UNIX_FILE_BASIC info level.
1105     * Fix bug where we could incorrectly set sparse attribute.
1106     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
1107       (reported by Taj Khattra <taj.khattra@gmail.com>).
1108     * Remove locked keys tdb code.
1109     * BUG 1886: Prevent delete on close being set for readonly files 
1110       (and return the correct error code).
1111     * Ensure we pass most of the new lock tests except for the cancel 
1112       lock which is yet to be added (merged from Samba 4 branch).
1113     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
1114     * BUG 1956: Ensure errno is saved and restored consistently on a 
1115       normal_close.
1116     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
1117       that all of the appropriate service principal names are set 
1118       upon joining an AD domain.
1119     * Fix the correct use of resume name in the trans2 code.
1120     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
1121       correct salt used when generated the DES key after joining an 
1122       AD domain.
1123     * Enhanced krb5 detection routines in the autoconf scripts.
1124   
1126 o   Andrew Bartlett <abartlet@samba.org>
1127     * Avoid changing the machine account password in the passdb 
1128       backend, when it has 'already been changed'.  This occurs 
1129       in situations where the secure channel between the workstation 
1130       and the DC breaks down, such as occurred in the MS04-11 
1131       security patch.
1132     * Fix utility name in error message in ntlm_auth.
1133     * Fix NTLMv2 for use with pam_winbind.
1134     * Remove conversion to and from UTF8 on the winbind pipe.
1135     * Allow 'require_membership_of' and 'require-membership-of'.
1136     * Fix the error code for 'you didn't specify a domain' in 
1137       ntlm_auth.
1138     * Use sys_getgroups() rather than scanning all groups 
1139       when generating SAMR replies.
1142 o   Igor Belyi <sambauser@katehok.ac93.org>
1143     * Ensure pdb user is deleted first before deleting UNIX 
1144       user (LDAP backend needs this ordering).
1147 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
1148     * Fix core dump in 'net rpc vampire'.
1149     
1151 o   Vince Brimhall <vbrimhall@novell.com>
1152     * Make ldapsam_compat robust against NULL attributes.
1155 o   Gerald Carter <jerry@samba.org>
1156     * Don't limit the number of groups returned by winbindd_getgroups()
1157       by NGROUPS_MAX.
1158     * BUG 1519: Match Windows 2000 behavior when opening a 
1159       printer using a servername in the form of an IP address or 
1160       DNS name.
1161     * BUG 1907: remove extra slashes from the printer name in 
1162       getprinterdriverdir_1().  
1163     * Fix standard_sub_snum() to use the current user's gid.
1164     * Fix background queue update bug (based on Volker's initial work 
1165       in 3.1.0).
1166     * Add 'force printername' service parameter for people that want 
1167       to enforce printername == sharename for spoolss printing.
1168     * Ensure consistent usage of the username map.  Use the fully 
1169       qualified DOMAIN\user format for 'security = domain|ads' and 
1170       apply after authentication has succeeded.
1171     * Cosmetic fix for getent output -- lowercase the username only 
1172       and not the complete domain\username string.
1173     * Packaging fixes for Solaris, Redhat, & Fedora.
1175     
1176 o   Sean Chandler <sean.chandler@verizon.net>
1177     * Fix memlieak in cliconnect.c.
1180 o   Darren Chew <darrenc@vicscouts.asn.au>
1181     * Solaris packaging fixes.
1182     
1184 o   Nalin Dahyabhai <nalin@redhat.com>
1185     * SMB signing fix for 56-bit DES session keys.
1188 o   Guenther Deschner <gd@samba.org> 
1189     * add IA64 to the architecture table of printer-drivers.
1190     * Add file/share/printer migration functionality to 
1191       the net command.
1192     * Show correct help for net groupmap commands.
1193     * Fix deadlock loop in winbind's required_membership_sid
1194       verification.
1195     * Bring the same level of "required_membership"-functionality 
1196       that ntlm_auth uses, to pam_winbindd as well.
1197     * Prevent "net lookup kdc" from seg-faulting when
1198       using our own implementation of krb5_lookup_kdc with 
1199       heimdal.
1200     * Adding getprinter level 7 to rpcclient.
1201     * Support migrating printers|shares|files from Server A 
1202       to Server B while running the net-command on client C.
1203     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
1204       failure of this call non-critical (Thanks to Love @ Heimdal
1205       for the explanation and patch).
1206     * Fix typos in net's usage-output.
1207     * Fix the paranoia-check to ensure the ldap-attribute and the
1208       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
1209       are identical.
1210     * Fix several bugs in the _samr_query_useraliases() rpc reply.
1211     * Check correct string length when verifying password-policies 
1212       and using extended characters (Thanks to Uwe Morgenroth from CC 
1213       Compunet and Volker).
1214     * Make 'password history'-behavior in ldapsam more consistent. 
1215     * Adding "Windows x64" as architecture string and driverdir "x64" 
1216       for the 64bit AMD platform.
1217     * BUG 1343: Readd WKGUID-binding to match the correct default-
1218       locations of new User-, Group- and Machine-Accounts in Active 
1219       Directory (this got lost during the last trunk-merge).
1220     * Fix printer-migration w.r.t. to new naming-convention for
1221       policy-handles.
1222     * Allow to migrate win2k3/xp-drivers as well. 
1223     * Add client-side support of triggering ads printer publishing 
1224       over msrpc setprinter calls inside the net-tool. 
1225     * Add the idmap_rid module (written in conjunction with 
1226       Sumit Bose <sbose@suse.de>).
1227     * BUG 1661: Fix build with recent heimdal releases.
1228     * Prevent idmap_rid from making unnecessary calls to domain 
1229       controllers for trusted domains.
1232 o   Arthur van Dongen <avdongen@xs4all.nl>
1233     * Fix typos in pam_winbind log messages and SuSE 
1234       packaging files.
1237 o   Rob Foehl <rwf@loonybin.net>
1238     * Typo fixes for log messages in printer publishing code.
1239     * Fix memory leak in printer publishing code.
1240     * Ensure print_backend_init() only gets called once.
1241     * Have smbd check the published status of all printers 
1242       at startup.
1243     * Cleanup up the XXX_a_printer() API for consistency.
1244     * Refactored the printer publishing code and include better 
1245       error handling.
1248 o   Steve French <sfrench@us.ibm.com>
1249     * Fix IP address override in mount.cifs mount helper and clean 
1250       up warning messages from the sparse tool and expand syntax help.
1251     * Strip guest mount option off before sending to kernel mount 
1252       routine to avoid logging spurious message.
1255 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
1256     * BUG 1732: Limit share names returned by RAP based on windows 
1257       character width, not unix character width.
1258     * BUG 1498: Ensure that acl entries are stored in the correct 
1259       order.
1262 o   Brett Funderburg <brett@deepfile.com>
1263     * Pass create options parameter to nt_create_andx() function
1264       from the python bindings.
1265     * BUG 1864: Add sd->type field to security descriptor Python 
1266       representation.
1267     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
1268       when trying to return the security descriptor for a file.
1269     * BUG 1884: Fixes for the Python bindings to use the value
1270       of the desired_access filed passed into the lsa_open_policy()
1271       routines.
1274 o   Michael Gravey <michel.gravey@optogone.com>
1275     * BUG 1776: Fix warnings when building modules caused by 
1276       certain versions of GNU ld not using the the default 
1277       --allow-shlib-undefined flag.
1280 o   Chris Hertel <crh@samba.org>
1281     * Fix logic bug in splay tree data structure when finding 
1282       a leaf node.
1283     * Fix bug where an invalid MAC address would be printed by 
1284       a node status lookup from nmblookup.
1286       
1287 o   Uli Iske <iske@elkb.de>
1288     * Update the DNS/eDirectory LDAP schema file.
1291 o   Björn Jacke <bjacke@sernet.de>
1292     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
1293       UTF-8.  Reformat msgstr in msg-files to UTF-8.
1294     * Do not use display charset for swat output.
1295     * Convert the share names correctly from unix encoding to web 
1296       encoding and vice versa. 
1297     * Convert files from status page from unix charset to UTF-8.
1300 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1301     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
1304 o   Tom Lackemann <cessnatomny@yahoo.com>
1305     * BUG 1954: Fix memory leak in posix acl code.
1308 o   Volker Lendecke <vl@samba.org>
1309     * Robustnss fix for winbindd when sending multiple requests 
1310       at a high rate for a slow operation.  
1311     * Solve the problem of user sids ending up with gid's 
1312       and vice versa.
1313     * Use sys_fork instead of fork for the dual daemon so that 
1314       we get the correct debug pid in the logfiles.
1315     * Based on patch from jmcd, implement special lists for the LDAP 
1316       user attributes to delete.
1317     * Fix creation of aliases via usrmgr. Winbind was too strict 
1318       checking the type of sids.
1319     * Lowercase all usernames returned by winbind.
1320     * BUG 1545, 1823: Only issue the ldap extended password change 
1321       operation if the ldap server supports it.  Also ignore object 
1322       class violation errors from the extended operation.
1323     * Optimization for 'idmap backend = ldap': When asking sid2id 
1324       for the wrong type, don't ask ldap when we have the opposite mapping 
1325       in the local tdb.
1326     * Fix ldapsam_compat homeDrive.
1327     * Add usersidlist and allowedusers subcommands to the net tool
1328       in order to support scanning a file server's share and list 
1329       all users who have permission to connect there.
1330     * Allow for multiple DC's to be named as #1c names in lmhosts.
1331     * Memory leak fixes.
1332     * Fix checks for the local pid of an smbd process after 
1333       reopening tdbs.
1336 o   Herb Lewis <herb@samba.org>
1337     * Added tdbtool to be built by default.
1340 o   Love <lha@stacken.kth.se>
1341     * BUG 1955: Inconsistent error return.
1344 o   Sorin Manolache <sorinm@gmail.com>
1345     * Memory leak fix.
1348 o   Jim McDonough <jmcd@us.ibm.com>
1349     * Allow 'net ads lookup' to rely on command line arguments 
1350       if contacting an ADS server fails; utilize cldap for lookups.
1351     * Fixup formatting errors in TDB_LOG calls; add printf attribute
1352       support to tdb log functions.
1355 o   Bill McGonigle <bill+samba@bfccomputing.com>
1356     * BUG 1926: Type in debug message.
1359 o   Sean McGrath
1360     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
1361       for libsmbclient.
1364 o   Luke Mewburn <lukem@NetBSD.org>
1365     * BUG 1782: Prevent testparm from displaying parameter synonyms.
1368 o   Stefan Metzmacher <metze@samba.org>    
1369     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
1370     * Fix client quota support.
1371     * Fix opening of system quota file.
1374 o   Lars Mueller <lmuelle@suse.de>
1375     * Small fixes for autogen.sh to deal with version detection 
1376       of autoconf and autoheader; fixes for examples using 
1377       libtool to adhere to stricter syntax of newer version.
1380 o   Henrik Nordstrom <hno@squid-cache.org>
1381     * Allow winbindd to return the correct number of groups 
1382       when the groups array must be enlarged.
1385 o   Narayana Pattipati <narayana.pattipati@wipro.com>
1386     * Solaris autoconf detection fixes.
1389 o   Tim Potter <tpot@samba.org>
1390     * BUG 1360: (correct fix) Use -Wl when passing flags to 
1391       the linker.
1392     * HP-UX compile fixes (from JBravo on #samba-technical).
1393     * BUG 1731: More HP-UX compiles fixes.
1394     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
1395       spits the dummy otherwise.
1396     * Fix bug in Python printerdata wrapper.
1397     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
1398       <bugzilla-samba@thewrittenword.com>).
1399     * Fix parameter confusion in priming of name-to-sid cache
1400       (Found by Qiao Yang).
1401     * BUG 1888: Remove '..' from all pre-processor commands.
1402     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
1403       DEBUG_PASSWORD.
1406 o   Matt Selsky <selsky@columbia.edu>
1407     * BUG 350: use autoconf 2.57 feature for checking header file
1408       preprocessing (fixes configure warnings on Solaris).
1411 o   Richard Renard <rrenard@idealx.com>
1412     * Fix usermgr.exe and trust relationships.
1415 o   Paul Szabo <psz@maths.usyd.edu.au>
1416     * Fix to make find_workgroup use the same 
1417       truncation as create_workgroup.
1420 o   Richard Sharpe <rsharpe@samba.org>
1421     * Ensure cli_write() can support writes >= 65536 bytes.
1424 o   Simo Sorce <idra@samba.org>
1425     * Added check password script code in examples/auth/crackcheck/
1426     * Fix memory corruption bug caused in freeing static memory.
1429 o   Andrew Tridgell <tridge@samba.org>
1430     * Remove lp_use_mmap() from map_file() since the latter 
1431       is for read only and does not require coherence.
1432     * Ensure that the uuid pack/unpack routines do not go past 
1433       the end of the structure.
1434     * Converted Samba 3 tree to use the new utf-16 aware iconv 
1435       code. 
1436     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1437     * Ensure configure only uses '=' instead of the bashism '=='.
1438     * Reduces the number of tdb locking calls made on file IO.
1439     
1441 o   Jelmer Vernooij <jelmer@samba.org>
1442     * Convert internal data to UTF-8 before calling libxml2.
1443     * Complain if 'password chat' doesn't contain the %u variable
1444       (based on a patch by Ronan Waide).
1445     
1447 o   Josef Zlomek
1448     * BUG 1541:  Fix recursive ls in smbclient. 
1450     
1451 o   Igor Zhbanov <bsg@uniyar.ac.ru>
1452     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
1453       option.
1455       --------------------------------------------------
1457                   =============================
1458                   Release Notes for Samba 3.0.7
1459                            Sept 13, 2004
1460                   =============================
1462 This is the latest stable release of Samba. This is the version
1463 that production Samba servers should be running for all
1464 current bug-fixes.  There have been several important issues
1465 fixes since the 3.0.6 release.  See the "Changes" section for
1466 details on exact updates.
1468 Common bugs fixed in 3.0.7 include:
1470   o Fixes for two Denial of Service vulnerabilities
1471     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1472   o Winbind failure to return user entries under certain
1473     conditions.
1474   o Syntax errors in the OpenLDAP schema file (samba.schema).
1475   o Printing errors caused by not setting default values
1476     for the various printing commands.
1479 Changes since 3.0.6
1480 -------------------
1482 smb.conf changes
1483 ----------------
1485     Parameter Name                      Action
1486     --------------                      ------
1487     winbind enable local accounts       disabled by default
1489     
1490 commits
1491 -------
1492 o   Jeremy Allison <jra@samba.org>
1493     * Fix parsing of names ending in dot and a few other error 
1494       returns.
1495     * BUG 1674: Move the symlinks checks into reduce_name().
1496     * Fix memleak when checking the valid names smb.conf option.
1497     * Fix memleak on error return path in the file open code.
1498     * More paranoia checks in the hash2 mangling code.
1499     * Fix syntax error in configure.in.
1500     * Match Win2k3's behavior for pathname parsing error returns.
1501     * Make nmbd more robust against bad netbios packets 
1502       (CAN-2004-0808).
1503     * Add more checks for invalid ASN.1 packets for SPNEGO packets
1504       (CAN-2004-0807).
1506   
1507 o   Andrew Bartlett <abartlet@samba.org>  
1508     * Janitor work in loadparm.c -- remove unused parameters.
1511 o   Gerald Carter <jerry@samba.org>
1512     * BUG 1464: Ensure that printing commands are initialized even
1513       if the 'printing' parameter is not explicitly set.
1514     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
1515       Adharsh Praveen <rprav@india.hp.com>)
1516     * Work around parsing error in the print change notify code.
1517     * remove duplicate declaration of getprintprocdir from 
1518       rpcclient.
1519     * Only use sAMAccountName and not userPrincipalName when looking
1520       up a username in AD since the breaks winbindd (lookup_name() 
1521       only works with the sAMAccountName).
1522     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
1523       filling in the username in the user_info3.
1524     * Fix logic bug in the check for creating a user's home directory 
1525       in register_vuid(); caused home directory to be mismatched to 
1526       the first share in smb.conf under certain conditions.
1527     * BUG 1656: rename auto.a to auto.smb.
1528     * Ensure that we assign our pid to print jobs (and not our 
1529       parent's pid); ensures that spooling jobs from dead smbds 
1530       are removed from the tdb.
1531     * Disable 'winbind enable local accounts' by default.
1532     * Adding some initial checks for DragonFly (same as 
1533       FreeBSD 4.1).
1534     
1536 o   Guenther Deschner <gd@samba.org> 
1537     * Use SMB_ASSERT() to track down NULL printer names in 
1538       the tdb open code.
1539     * Revert fix for BUG 1474 to avoid unnecessary packaging 
1540       dependencies.
1543 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
1544     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
1545       and 5.1.
1546     * BUG 1626: More compile fixes.
1549 o   Rob Foehl <rwf@loonybin.net>
1550     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
1551       by attempts to sanitize the defined attributes.
1554 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
1555     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1558 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1559     * BUG 1657: Remove used initialized variable, 
1560     * BUG 1658: Add a little bit of const.
1563 o   Volker Lendecke <vl@samba.org>
1564     * If there's garbage in the pidfile, we should not panic 
1565       but assume that no one else is around. We can't find the 
1566       other guy anyway.
1569 o   Jim McDonough <jmcd@us.ibm.com>
1570     * Fixup format string in the tdb error messages.
1573 o   Jonas Olsson <lexicon@lysator.liu.se>
1574     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
1575       reporting the list in usrmgr.exe.
1578 o   Tim Potter <tpot@samba.org>
1579     * Fix out-of-tree builds (problem with the script to generate 
1580       the svn version number).
1581     * BUG 1360:  Need to use -Wl when passing flags to the linker.
1582     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
1583       doesn't have one of its own.
1585 o   Simo Sorce <idra@samba.org>
1586     * Fixup compile issues on AIX caused by broken strlen() and 
1587       strdup().
1588     * Update debian packaging files.
1591 o   Dimitri van der Spek <dwspek@aboveit.nl>
1592     * Use the correct counter when copying group rids from the 
1593       user_info3 struct in pam_winbind.
1594       
1596 o   Qiao Yang <qyang@stbernard.com>
1597     * BUG 1622: Only cache the user
1600       --------------------------------------------------
1601       
1602                   =============================
1603                   Release Notes for Samba 3.0.6
1604                            Aug 19, 2004
1605                   =============================
1607 Common bugs fixed in 3.0.6 include:
1609   o Schannel failure in winbindd.
1610   o Numerous memory leaks.
1611   o Incompatibilities between the 'write list' and 'force user'
1612     smb.conf options.
1613   o Premature optimization of the open_directory() internal 
1614     function that broke tools such as the ArcServe backup 
1615     agent, Macromedia HomeSite, and Robocopy.
1616   o Corrupt workgroup names in nmbd's browse.dat.
1617   o Sharing violation errors commonly seen when opening
1618     when serving Microsoft Office documents from a Samba 
1619     file share.
1620   o Browsing problems caused by an apostrophe (') in the 
1621     computer's description field.
1622   o Problems creating special file types from UNIX CIFS 
1623     clients and enabling 'unix extensions'.
1624   o Fix stalls in smbd caused by inaccessible LDAP servers.
1625   o Remove various memory leaks.
1626   o Fix issues in the password lockout feature.
1628 New features introduced in this release include:
1630   O Support symlinks created by CIFS clients which 
1631     can be followed on the server.
1632   o Using a cups server other than localhost.
1633   o Maintaining the service principal entry in the system 
1634     keytab for integration with other kerberized services.
1635     Please refer to the 'use kerberos keytab' entry in 
1636     smb.conf(5).  When using the heimdal kerberos libraries,
1637     you must also specify the following in /etc/krb5.conf:
1638     [libdefaults]
1639        default_keytab_name = FILE:/etc/krb5.keytab
1640   o Support for maintaining individual printer names
1641     stored separately from the printer's sharename.
1642   o Support for maintaining user password history.
1643   o Support for honoring the logon times for user in a 
1644     Samba domain.
1646 --------------------------------------------
1647 unix extensions = yes (default) and symlinks
1648 --------------------------------------------
1650 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
1651 clients supporting the UNIX extensions to the CIFS protocol 
1652 can create symlinks to absolute paths which will be **followed** 
1653 by the server.  This functionality has been requested in order 
1654 to correctly support certain applications when the user's home 
1655 directory is mounted using some type of CIFS client (e.g. the 
1656 cifsvfs in the Linux 2.6 kernel).
1658 If this behavior is not acceptable for your production environment
1659 you can set 'wide links = no' in the specific share declaration in 
1660 the server's smb.conf.  Be aware that disabling wide link support 
1661 out of a share in Samba may impact the server's performance due 
1662 to the fact that smbd will now have to check each path additional 
1663 times before traversing it.
1664   
1665 ------------------------
1666 Password History Support 
1667 ------------------------
1669 The new password history feature allows smbd to check the new 
1670 password in password change requests against a list of the user's
1671 previous passwords.  The number of previous passwords to save can 
1672 be set using pdbedit (4 in this example):
1674    root# pdbedit -P "password history" -C 4
1676 When using the ldapsam passdb backend, it is vital to secure the 
1677 following attributes from access by non-administrative users:
1679    * sambaNTPassword
1680    * sambaLMPassword
1681    * sambaPasswordHistory
1683 You should refer to your directory server's documentation on how 
1684 to implement this restriction.
1687 Changes since 3.0.5
1688 -------------------
1690 smb.conf changes
1691 ----------------
1693     Parameter Name              Action
1694     --------------              ------
1695     cups server                 New
1696     defer sharing violations    New
1697     force unknown acl user      New
1698     ldap timeout                New
1699     printcap cache time         New
1700     use kerberos keytab         New
1701     
1702 commits
1703 -------
1704 o   Jeremy Allison <jra@samba.org> 
1705     * Correct path parsing bug that broke DeletePrinterDriverEx().
1706     * Fix bugs in check_path_syntax() caught by asserts.
1707     * Internal change - rearrange internal global case setting 
1708       variables to a per connection basis.
1709     * BUG 1345: Fix premature optimization in unix_convert(). 
1710     * Allow clients to truncate a locked file.
1711     * BUG 1319: Always check to see if a user as write access
1712       to a share, even when 'force user' is set.
1713     * Fix specific case of open that doesn't cause oplock break, 
1714       or share mode check.
1715     * Correct sid type is WKN_GROUP, not alias. Added some 
1716       more known types (inspired by patch from Jianliang Lu).
1717     * Allow creation of absolute symlink paths via CIFS clients.
1718     * Fix charset bug in when invoking send_mailslot().
1719     * When using widelinks = no, use realpath to canonicalize 
1720       the connection path on connection create for the user. 
1721     * Enhance stat open code.
1722     * Fix unix extensions mknod code path.
1723     * Allow unix domain socket creation via unix extensions.
1724     * Auto disable the 'store dos attribute' parameter if the 
1725       underlying filesystem doesn't support EAs.
1726     * Implement deferred open code to fix a bug with Excel files 
1727       on Samba shares.
1728     * BUG 1427: Catch bad path errors at the right point.  Ensure 
1729       all our pathname parsing is consistent.
1730     * Fix SMB signing error introduced by the new deferred open 
1731       code.
1732     * Change default setting for case sensitivity to "auto". (see 
1733       commit message -- r1154 -- for details).
1734     * Add new remote client arch -- CIFSFS.
1735     * Allow smbd to maintain the service principal entry in the 
1736       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
1737       Guenther Deschner, et. al.).
1738     * Fix longstanding memleak bug with logfile name.
1739     * Fix incorrect type in printer publishing (struct uuid, 
1740       not UUID_FLAT).
1741     * Heimdal compile fixes after introduction of the new ketyab 
1742       feature.
1743     * Ensure we check attributes correctly on rename request.
1744     * Ensure we defer a sharing violation on rename correctly.
1745     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
1746       on timeout.
1747     * Fix bogus error message when using "mangling method = hash" 
1748       rather than hash2.
1749     * Turn on sendfile by default for non-Win9x clients.
1750     * Handle non-io opens that cause oplock breaks correctly.
1751     * Ensure ldap replication sleep time is not more than 5 seconds.
1752     * Add support for storing a user's password history.
1753       LDAP portion of the code was based on a patch from 
1754       Jianliang Lu <j.lu@tiesse.com>.
1755     * Correct memory leaks found in the password change code.
1756     * Fix support for the mknod command with the Linux CIFS client.
1757     * Remove support for passing the new password to smbpasswd 
1758       on the command line without using the -s option.
1759     * Ensure home directory service number is correctly reused
1760       (inspired by patches from Michael Collin Nielsen 
1761       <michael@hum.aau.dk>).
1762     * Fix to stop printing accounts from resetting the bas 
1763       password and account lockout flags.
1764     * If a account was locked out by an admin (and has a bad 
1765       password count of zero) leave it locked out until an admin 
1766       unlocks it (but log a message).
1767     * Ensure we return the same ACL revision on the wire that 
1768       W2K3 does.
1769     * BUG 1578: Hardcode replacement for invalid characters as '_'
1770       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1771     * Fix hashed password history for LDAP backends.
1772     * Enforce logon hours restrictions if confiogured (based on code 
1773       from Richard Renard <rrenard@idealx.com>).
1774     * BUG 1606: Force smbd to disable sendfile with DOS clients 
1775       and ensure that the chained header is filled in for ...&X 
1776       commands.
1777     * BUG 1602: Fix access to shares when all symlink support 
1778       has been disabled.
1782 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
1783     * Allow pdbedit to export a single user from a passdb backend.
1784     
1786 o   Andrew Bartlett <abartlet@samba.org>  
1787     * Fix parsing bug in GetDomPwInfo().
1788     * Fix segfault in 'ntlm_auth --diagnostics'.
1789     * Re-enable code to allow sid_to_gid() to perform a group 
1790       mapping lookup before checking with winbindd.
1791     * Fix memory leak in the trans2 signing code.
1792     * Allow more flexible GSS-SPENGO client and server operation 
1793       in ntlm_auth.
1794     * Improve smbd's internal random number generation.
1795     * Fix a few outstanding long password changes in smbd.
1796     * Fix LANMAN2 session setup code.
1799 o   Eric Boehm <boehm@nortelnetworks.com>
1800     BUG 703: Final touches on netgroup case lookups.
1801     
1802     
1803 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
1804     * Ensure error status codes don't get overwritten in 
1805       lsa_lookup_sids() server code.
1806     * Correct bug that caused smbd to overwrite certain error 
1807       codes when returning up the call stack.
1808     * Ensure the correct sid type returned for builtin sids.
1811 o   Gerald Carter <jerry@samba.org>
1812     * Fix a few bugs in the Fedora Packaging files.
1813     * Fix for setting the called name to by our IP if the 
1814       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
1815       with connecting to printers via \\ip.ad.dr.ess\printer 
1816       UNC path.
1817     * BUG 1315: fix for schannel client connections to servers
1818       when we haven't specifically negotiated AUTH_PIPE_SEAL.
1819     * Allow PrinterDriverData valuenames with embedded backslashes
1820       (Fixes bug with one of the Konica Fiery drivers).
1821     * Fixed string length miscalculation in netbios names that 
1822       resulted in corrupt workgroup names in browse.dat.
1823     * When running smbd as a daemon, launch child smbd to update 
1824       the lpq cache listing in the background.
1825     * Allow printers "Printers..." folder to be renamed to a string 
1826       other than the share name.
1827     * Allow winbindd to use domain trust account passwords when 
1828       running on a Samba DC to establish an schannel to remote 
1829       domains.
1830     * Fix bad merge and ensure that we always use tdb_open_log() 
1831       instead of tdb_open_ex() (the former call enforce the 'use 
1832       mmap' parameter).
1833     * BUG 1221: revert old change that used single and double 
1834       quotes as delimeters in next_token(), and change 
1835       print_parameter() to print out parm values surrounded by 
1836       double quotes (instead of single quotes).
1837     * Prevent home directories added during the SMBsesssetup&X from 
1838       being removed as unused services.
1839     * Invalidate the print object cache for open printer handles when
1840       smbd receives a message that an attribute on a given printer 
1841       has been changed.
1842     * Cause the configure script to exit if --enable-cups[=yes] is 
1843       defined and the system does not have the cups devel files 
1844       installed.
1845     * BUG 1297: Prevent map_username() from being called twice 
1846       during logon.
1847     * Ensure that we use the userPrincipalName AD attribute 
1848       value for LDAP SASL binds.
1849     * Ensure we remove the tdb entry when deleting a job that 
1850       is being spooled.
1851     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
1852       client sends a FindNextPrintChangeNotify() request without 
1853       previously sending a FindFirstPrintChangeNotify().  Return 
1854       the same error code as Windows 2000 SP4.
1855     * BUG 1516: Manually declare ldap_open_with_timeout() to 
1856       workaround compiler errors on IRIX (or other systems without 
1857       LDAP headers).
1858     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
1859       3.0.5.
1860     * Corrected syntax error in the OID for sambaUnixIdPool, 
1861       sambaSidEntry, & sambaIdmapEntry object classes.
1862     * Tighten the cache consistency with the ntprinters.tdb entry 
1863       an the in memory cache associated with open printer handles.
1864     * Make sure that register_messages_flags() doesn't overwrite 
1865       the originally registered flags.
1868 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
1869     * Debian BUG 252591: Ensure that the return value from the 
1870       number of available interfaces is initialized in case no 
1871       interfaces are actually available.
1874 o   Guenther Deschner <gd@sernet.de> 
1875     * Implement 'rpcclient setprintername'.
1876     * Add local groups to the user's NT_TOKEN since they are 
1877       actually supported now.
1878     * Heimdal compile fixes after introduction of the new keytab 
1879       feature.
1880     * Correctly honor the info level parameter in 'rpcclient 
1881       enumprinters'.
1882     * Reintroduce 'force unknown acl user' parameter.  When getting a 
1883       security descriptor for a file, if the owner sid is not known, 
1884       the owner uid is set to the current uid. Same for group sid.
1885     * Ensure that REG_SZ values in the SetPrinterData actually 
1886       get written in UNICODE strings rather than ASCII.
1887     * Ensure that the last kerberos error return is not invalid.
1888     * Display share ACL entries from rpcclient.
1889     * Correct infinite loop in pam_winbind's verification of 
1890       group membership in the 'other sids' field in the user_info3 
1891       struct.
1894 o   Fabian Franz <FabianFranz@gmx.de>
1895     * Support specifying a port in the device URL passed to smbspool.
1896     
1897     
1898 o   Steve French <sfrench@us.ibm.com>
1899     * Handle -S and user mount parms in mount.cifs.
1900     * Fix user unmount of shares mount with suid mount.cifs.
1901     * prevent infinite recusion in reopen_logs() when expanding 
1902       the smb.conf variable %I.
1905 o   Bjoern Jacke <bj@sernet.de>
1906     * Install libsmbclient into $(LIBDIR), not into hard coded 
1907       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
1908       and an explicit configure --libdir setting.
1911 o   <kawasa_r@itg.hitachi.co.jp>
1912     * Correct more memory leaks and initialization bugs.
1913     * Fix bug that prevented core dumps from being generated 
1914       even if you tried.
1915     * Connect to the winbind pipe in non-blocking mode to 
1916       prevent processes from hanging.
1917     * Memory leak fixes.
1920 o   Stephan Kulow <coolo@suse.de>
1921     * Fix crash bug in libsmbclient.
1924 o   Volker Lendecke <vl@samba.org>
1925     * Added vfs_full_audit module.
1926     * Add vfs_afsacl.c which can display & set AFS acls via 
1927       the NT security editor.
1928     * Fix crash bug caused by trying to Base64 encode a NULL string.
1929     * Fix DOS error code bug in reply_chkpath().
1930     * Correct misunderstanding of the max_size field in 
1931       cli_samr_enum_als_groups;  it is more like an account_control 
1932       field with individual bits what to retrieve.
1933     * Implement 'net rpc group rename' -- rename domain groups.
1934     * Implement the 'cups server' option. This makes it possible 
1935       to have virtual smbd's connect to different cups daemons.
1936     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
1937     * Fix sid_to_gid() calls in winbindd to prevent loops.
1938     * Ensure that local_sid_to_gid() sets the type of the group on 
1939       return.
1940     * Make sure that the clients are given back the IP address to 
1941       which they connected in the case of a multi-homed host. Only 
1942       affects strings the spoolss printing replies.
1943     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
1944       did not ask for the modifyTimestamp attribute, so it could 
1945       not find it.   Try not to regress by not putting that attrib 
1946       in the main list but append it manually for the relevant searches.
1947     * Fix two memleaks in login_cache.c.
1948     * fixes memory bloat when unmarshalling strings.
1949     * Fix compile errors using gcc 3.2 on SuSE 8.2.
1950     * Fix the build for systems without kerberos headers.
1951     * Allow winbindd to handle authentication requests only when 
1952       started without either an 'idmap uid' or 'idmap gid' range.
1953     * Fix the build for systems without ldap headers.
1954     * Fix interaction between share security descriptor and the 
1955       'read only' smb.conf option.
1956     * Fix bug that caused _samr_lookupsids() with more than 32 (
1957       MAX_REF_DOMAINS) SIDs to fail.
1958     * Allow the 'idmap backend' parameter to accept a list of 
1959       LDAP servers for failover purposes.
1960     * Revert code in smbd to remove a tdb when it has become 
1961       corrupted.
1962     * Add paranoid checks when mapping SIDs to a uid/gid to 
1963       ensure that the type is correct.
1964     * Initial work on getting client support for sending mailslot 
1965       datagrams.
1966     * Add 'ldap timeout' parameter.
1967     * Dont always uppercase 'afs username map'.
1968     * Expand aliases for getusersids as well.
1969     * Improved NT->AFS ACL mapping VFS module.
1972 o   Herb Lewis <herb@samba.org>
1973     * Add the acls debug class.
1974     * Fix logic bug in netbios name truncate routine.
1975     * Fix smbd crash caused by smbtorture IOCTL test.
1976     * Fix errno tromping before calling iconv to reset the 
1977       conversion state.
1978     * need to leave empty dacl so we can remove last ACE.
1981 o    Jianliang Lu <Jianliang.Lu@getronics.com>
1982     * Fix to stop smbd hanging on missing group member in 
1983       get_memberuids().
1984     * Make sure Samba returns the correct group types.
1985      * Reset the bad password count password counts upon a successful login.
1986      
1987      
1988 o   Jason Mader <jason@ncac.gwu.edu>
1989     * BUG 1385: Don't use non-consts in a structure initialization.
1990     
1992 o   Jim McDonough <jmcd@us.ibm.com>
1993     * BUG 1279: SMBjobid fix for Samba print servers running on 
1994       Big-Endian platforms.
1997 o   Joe Meadows <jameadows@webopolis.com>
1998     * Add optional timeout parameter to ldap open calls.
1999     * Allow get_dc_list() to check the negative cache.
2002 o   Stefan Metzmacher <metze@samba.org>    
2003     * fix a configure logic bug for linux/XFS quotas when 
2004       using --with-sys-quotas.
2005     * Use quota debug class in quota code.
2006     * print out the SVN revision by configure,
2007     
2009 o   Buchan Milne <bgmilne@mandrake.org>
2010     * Mandrake packaging fixes.
2011     
2012     
2013 o   Lars Mueller <lmuelle@suse.de>
2014     * BUG 1279: Added 'printcap cache time' parameter.
2015     * Fix afs related build issues on SuSE.
2016     * Fix compiler warnings in the kerberos client code.
2019 o   James Peach <jpeach@sgi.com>
2020     * More iconv detection fixes for IRIX.
2021     * Compile fixed for systems that do not have C99/UNIX98 compliant 
2022       vsnprintf by default.
2023     * Prevent smbd from attempting to use sendfile at all if it is 
2024       not supported by the server's OS.
2025     * Allow SWAT to search for index.html when serving html files 
2026       in a directory.
2029 o   Dan Peterson
2030     * Implement NFS quota support on FreeBSD.
2033 o   Tim Potter <tpot@samba.org>
2034     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
2035       avoid conflicts with identical symbols in the global namespace 
2036       when loading libnss_wins.so.
2039 o   Richard Renard <rrenard@idealx.com>
2040     * Save the current password as it is being changed into the 
2041       password history list.
2044 o   Richard Sharpe <rsharpe@samba.org>
2045     * Fix error return codes on some lock messages.
2046     * BUG 1178: Make the libsmbclient routines callable 
2047       by C++ programs.
2048     * BUG 1333: Make sure we return an error code when 
2049       things go wrong.
2050     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
2051       share mode locking requests fail.
2054 o   Simo Sorce <idra@samba.org>
2055     * Update Debian stable & unstable packaging.
2056     * Tidy up parametric options in testparm output.
2059 o   Richard Sharpe <rsharpe@samba.org>
2060     * Add sigchild handling to winbindd to restart the child 
2061       daemon if necessary.
2064 o   Tom Shaw <tomisfaraway@gmail.com>
2065     * Use winbindd_fill_pwent() consistently.
2068 o   Nick Thompson <nickthompson@agere.com>
2069     * Protect smbd against broken filesystems which return zero 
2070       blocksize.
2073 o   Andrew Tridgell <tridge@samba.org>
2074     * Fixed bug in handling of timeout in socket connections.
2075      
2077 o   Nick Wellnhofer <wellnhofer@aevum.de>    
2078     * Prevent lp_interfaces() list from being corrupted.  Fixes
2079       bug where nmbd would lose the list of network interfaces 
2080       on the system and consequently shutdown.
2082       
2083 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
2084     * Fix ntlm_auth memory leaks.
2087 o   Jelmer Vernooij <jelmer@samba.org>
2088     * Additional NT status to unix error mappings.
2089     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
2090       get duplicate symbol errors.
2091     * Return an error when the last command read from stdin 
2092       fails in smbclient.
2093     * Prepare for better error checking in tar.
2094     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
2095       
2097 Changes for older versions follow below:
2099       --------------------------------------------------
2100       
2101                  =============================
2102                  Release Notes for Samba 3.0.5
2103                          July 20, 2004
2104                  =============================
2106 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
2107 the exception of correcting the two security issues outlined 
2108 below.
2110 ######################## SECURITY RELEASE ########################
2112 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
2113 CVE ID:        CAN-2004-0600, CAN-2004-0686
2114                (http://cve.mitre.org/)
2117 This is the latest stable release of Samba. This is the version
2118 that production Samba servers should be running for all current
2119 bug-fixes.
2121 It has been confirmed that versions of Samba 3 prior to v3.0.4
2122 are vulnerable to two potential buffer overruns.  The individual
2123 details are given below.
2125 -------------
2126 CAN-2004-0600
2127 -------------
2129 Affected Versions:      Samba 3.0.2 and later
2131 The internal routine used by the Samba Web Administration
2132 Tool (SWAT v3.0.2 and later) to decode the base64 data
2133 during HTTP basic authentication is subject to a buffer
2134 overrun caused by an invalid base64 character.  It is
2135 recommended that all Samba v3.0.2 or later installations
2136 running SWAT either (a) upgrade to v3.0.5, or (b) disable
2137 the swat administration service as a temporary workaround.
2139 This same code is used internally to decode the
2140 sambaMungedDial attribute value when using the ldapsam
2141 passdb backend. While we do not believe that the base64
2142 decoding routines used by the ldapsam passdb backend can
2143 be exploited, sites using an LDAP directory service with
2144 Samba are strongly encouraged to verify that the DIT only
2145 allows write access to sambaSamAccount attributes by a
2146 sufficiently authorized user.
2148 The Samba Team would like to heartily thank Evgeny Demidov
2149 for analyzing and reporting this bug.
2151 -------------
2152 CAN-2004-0686
2153 -------------
2155 Affected Versions:      Samba 3.0.0 and later
2157 A buffer overrun has been located in the code used to support
2158 the 'mangling method = hash' smb.conf option.  Please be aware
2159 that the default setting for this parameter is 'mangling method
2160 = hash2' and therefore not vulnerable.
2162 Affected Samba 3 installations can avoid this possible security
2163 bug by using the default hash2 mangling method.  Server
2164 installations requiring the hash mangling method are encouraged
2165 to upgrade to Samba 3.0.5.
2168 ##################################################################
2170     --------------------------------------------------
2171                  
2172                  =============================
2173                  Release Notes for Samba 3.0.4
2174                           May 8, 2004
2175                  =============================
2177 Common bugs fixed in Samba 3.0.4 include:
2179   o Password changing after applying the patch described in 
2180     the Microsoft KB828741 article to Windows clients.
2181   o Crashes in smbd.
2182   o Managing print jobs via Windows on Big-Endian servers.
2183   o Several memory leaks in winbindd and smbd.
2184   o Compile issues on AIX and *BSD.
2186 Changes since 3.0.3
2187 --------------------
2189 commits
2190 -------
2192 o   Jeremy Allison <jra@samba.org>
2193     * Fix path processing for DeletePrinterDriverEx().
2194     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
2195       breakage.
2198 o   Andrew Bartlett <abartlet@samba.org>
2199     * Fix alignment bug in GetDomPwInfo().
2202 o   Alexander Bokovoy <ab@samba.org>
2203     * Fix utime[s]() issues in smbwrapper on systems 
2204       that can boot both the 2.4 and 2.6 Linux kernels.
2207 o   Gerald Carter <jerry@samba.org>
2208     * Fedora packaging fixes.
2209     * BUG 1302: Fix seg fault by not trying to optimize a list of 
2210       invalid gids using the wrong array size.
2211     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
2212       seen when 'security = share'.
2213     * Fix problems when using IBM's compiler on AIX.
2214     * Link Developer's Guide, Example Guide, and multi-page HOWTO
2215       into SWAT's welcome page.
2216     * BUG 1293: fix double free in printer publishing code.
2218     
2219 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
2220     * Fix for handling timeouts in socket connections.
2223 o   Michel Gravey <michel.gravey@optogone.com>
2224     * BUG 483: patch from  to fix password hash creation in SWAT.
2225     
2227 o   Volker Lendecke <vl@samba.org>
2228     * Close the open NT pipes before the tdis.
2229     * Fix AFS related build issues.
2230     * Handle error conditions when base64 encoding a blob of 0 bytes.
2232     
2233 o   Herb Lewis <herb@samba.org>
2234     * Added 'acls' debug class.
2236 o   kawasa_r@itg.hitachi.co.jp
2237     * Multiple variable initialization and memory leak fixes.
2238     
2239     
2240 o   Stephan Kulow <coolo@suse.de>
2241     * Fix string length bug in libsmbclient that caused KDE's 
2242       Konqueror to crash.
2243     * BUG 429: More libsmbclient fixes.
2246 o   Jim McDonough <jmcd@us.ibm.com>
2247     * BUG 1007, 1279: Store the print job using a little-endian key.
2250 o   Eric Mertens
2251     o Compile fix for OpenBSD (ENOTSUP not supported).
2253     
2254 o   Stefan Metzmacher <metze@samba.org>
2255     * Correct bug in disks quota views from explorer.
2257     
2258 o   Tim Potter <tpot@samba.org>
2259     BUG 1305: Correct debug output.
2262 o   Richard Sharpe <rsharpe@samba.org>
2263     * Fix incorrect error code mapping.
2266 o   Jelmer Vernooij <jelmer@samba.org>
2267     * Add additional NT_STATUS errorm mappings.
2268     
2270 Changes for older versions follow below:
2272     --------------------------------------------------
2274                  =============================
2275                  Release Notes for Samba 3.0.3
2276                         April 29, 2004
2277                  =============================
2280 Common bugs fixed in Samba 3.0.3 include:
2282   o Crash bugs and change notify issues in Samba's printing code.
2283   o Honoring secondary group membership on domain member servers.
2284   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
2285   o Substitution errors for %[UuGg] in smb.conf.
2286   o winbindd crashes when using ADS security mode.
2287   o SMB signing errors.
2288   o Delays in winbindd startup caused by unnecessary 
2289     connections to trusted domain controllers.
2290   o Various small memory leaks.
2291   o Winbindd failing due to expired Kerberos tickets.
2293 New features introduced in Samba 3.0.3 include:
2295   o Improved support for i18n character sets.
2296   o Support for account lockout policy based on
2297     bad password attempts.
2298   o Improved support for long password changes (>14
2299     characters) and strong password enforcement.
2300   o Support for Windows aliases (i.e. nested groups).
2301   o Experimental support for storing DOS attribute on files
2302     and folders in Extended Attributes.
2303   o Support for local nested groups via winbindd.
2304   o Specifying options to be passed directly to the CUPS libraries.
2306 Please be aware that the Samba source code repository was 
2307 migrated from CVS to Subversion on April 4, 2004.  Details on 
2308 accessing the Samba source tree via anonymous svn can be found 
2309 at http://svn.samba.org/samba/subversion.html.
2312 Changes since 3.0.2a
2313 --------------------
2314 smb.conf changes
2315 ----------------
2317     Parameter Name              Action
2318     --------------              ------
2319     cups options                New
2320     ea support                  New
2321     only user                   Deprecated
2322     store dos attributes        New
2323     unicode                     Removed
2324     winbind nested groups       New
2326     
2327 commits
2328 -------
2330 o   Jeremy Allison <jra@samba.org>
2331     * Ensure that Kerberos mutex is always properly unlocked.
2332     * Removed Heimdal "in-memory keytab" support.
2333     * Fixup the 'multiple-vuids' bugs in our server code.
2334     * Correct return code from lsa_lookup_sids() on unmapped
2335       sids (based on work by vl@samba.org).
2336     * Fix the "too many fcntl locks" scalability problem 
2337       raised by tridge.
2338     * Fixup correct (as per W2K3) returns for lookupsids 
2339       as well as lookupnames.
2340     * Fixups for delete-on-close semantics as per Win2k3 behavior.
2341     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
2342     * Fix "unable to initialize" bug when smbd hasn't been run with 
2343       new system and a user is being added via pdbedit/smbpasswd.
2344     * Added NTrename SMB (0xA5).
2345     * Fixup correct timeout values for blocking lock timeouts.
2346     * Fix various bugs reported by 'gentest'.
2347     * More locking fixes in the case where we own the lock.
2348     * Fix up regression in IS_NAME_VALID and renames.
2349     * Don't set allocation size on directories.
2350     * Return correct error code on fail if file exists and target 
2351       is a directory.
2352     * Added client "hardlink" comment to test doing NT rename with 
2353       hard links.  Added hardlink_internals() code - UNIX extensions 
2354       now use this as well.
2355     * Use a common function to parse all pathnames from the wire for 
2356       much closer emulation of Win2k3 error return codes.
2357     * Implement check_path_syntax() and rewrite string sub 
2358       functions for better multibyte support.
2359     * Ensure msdfs referrals are multibyte safe.
2360     * Allow msdfs symlink syntax to be more forgiving.
2361       eg. sym_link -> msdfs://server/share/path/in/share 
2362       or  sym_link -> msdfs:\\server\share\path\in\share.
2363     * Cleanup multibyte netbios name support in nmbd ( based on patch
2364       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
2365     * Fix check_path_syntax() for multibyte encodings which have 
2366       no '\' as second byte (based on work by ab@samba.org.
2367     * Fix the "dfs self-referrals as anonymous user" problem
2368       (based on patch from vl@samba.org).
2369     * BUG 1064: Ensure truncate attribute checking is done correctly 
2370       on "hidden" dot files.
2371     * Fix bug in anonymous dfs self-referrals again.
2372     * Fix get/set of EA's in client library
2373     * Added support for OS/2 EA's in smbd server.
2374     * Added 'ea support' parameter to smb.conf.
2375     * Added 'store dos attributes' parameter to smb.conf.
2376     * Fix wildcard identical rename.
2377     * Fix reply_ctemp - make compatible with w2k3.
2378     * Fix wildcard unlink.
2379     * Fix wildcard src with wildcard dest renames.      
2380     * BUG 1139: Fix based on suggestion by jdev@panix.com.
2381       swap lookups for user and group - group will do an
2382       algorithmic lookup if it fails, user won't.
2383     * Make EA's lookups case independent.
2384     * Fix SETPATHINFO in 'unix extensions' support.
2385     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
2386       the UNIX info levels, and the short case preserve names.
2389 o   Timur Bakeyev <timur@com.bat.ru>
2390     * BUG 1144: only set --with-fhs when the argument is 'yes'
2391     * BUG 1152: Allow python modules to build despite libraries added 
2392       to LDFLAGS instead of LDPATH.
2393     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2396 o   Craig Barratt <cbarratt@users.sourceforge.net>
2397     * BUG 389: Allow multiple exclude arguments with smbclient 
2398       tar -Xr options (better support for Amanda backup client).
2401 o   Andrew Bartlett <abartlet@samba.org>
2402     * Include support for linking with cracklib for enforcing strong 
2403       password changes.
2404     * Add support for >14 character password changes from Windows 
2405       clients.
2406     * Add 'admin set password' capability to 'net rpc'.
2407     * Allow 'net rpc samdump' to work with any joined domain 
2408       regardless of smb.conf settings.
2409     * Use an allocated buffer for count_chars.
2410     * Add sanity checks for changes in the domain SID in an 
2411       LDAP DIT.
2412     * Implement python unit tests for Samba's multibyte string 
2413       support.
2414     * Remove 'unicode' smb.conf option.
2415     * BUG 1138: Fix support for 'optional' SMB signing and other 
2416       signing bugs.
2417     * BUG 169: Fix NTLMv2-only behavior.
2418     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
2419       default.
2420     * Support SMB signing on connections using only the LANMAN 
2421       password and generate the correct the 'session key' for these 
2422       connections.
2423     * Implement --required-membership-of=, an ntlm_auth option 
2424       that restricts all authentication to members of this particular 
2425       group.
2426     * Improve our fall back code for password changes.
2427     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
2428       after the server had said something (such as an error).
2429     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2431       
2432 o   Alexander Bokovoy <ab@samba.org>
2433     * Fix incorrect size calculation of the directory name 
2434       in recycle.so.
2435     * Fix problems with very long filenames in both smbd and smbclient
2436       caused by truncating paths during character conversions.
2437     * Fix smbfs problem with Tree Disconnect issued before smbfs 
2438       starts its work.
2441 o   Gerald Carter <jerry@samba.org>
2442     * BUG 850: Fix 'make installmodules' bug on True64.
2443     * BUG 66: mark 'only user' deprecated.
2444     * Remove corrupt tdb and shutdown (only for printing tdbs, 
2445       connections, sessionid & locking).
2446     * decrement smbd counter in connections.tdb in smb_panic().
2447     * RedHat specfile updates.
2448     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2449     * BUG 1147; bad pointer case in get_stored_queue_info() 
2450       causing seg fault.
2451     * BUG 761: read the config file before initialized default 
2452       values for printing options; don't default to bsd printing 
2453       Linux.
2454     * Allow the 'printing' parameter to be set on a per share basis.
2455     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2456     * BUG 848: don't create winbind local users/groups that already 
2457       exist in the tdb.
2458     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
2459       LynxOS/ppc).
2460     * BUG 488: fix the 'show client in col 1' button and correctly 
2461       enumerate active connections.
2462     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
2463       problem when storing the updating pid for the lpq cache.
2464     * BUG 1007 (partial): Fix print change notify bugs.
2465     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
2466       and winbind use default domain = yes.  Also ensures that 
2467     * BUG 1151: Ensure that winbindd users are passed through 
2468       the username map.
2469     * Fix client rpc binds for ASU derived servers (pc netlink, 
2470       etc...).
2471     * BUG 417, 1128: Ensure that the current_user_info is set
2472       consistently so that %[UuGg] is expanded correctly.
2473     * BUG 1195: Fix crash in winbindd when the ADS server is 
2474       unavailable.
2475     * BUG 1185: Set reconnect time to be the same as the 
2476       'winbind cache time'.
2477     * Ensure that we return the sec_desc in smb_io_printer_info_2.
2478     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2479     * BUG 1095: Honor the '-l' option in smbclient.
2480     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
2481       block.
2482     * Ensure server schannel uses the auth level requested by the 
2483       client.
2484     * Removed --with-cracklib option due to potential crash issue.
2485     * Fix -lcrypto linking problem with wbinfo.
2486     * BUG 761: allow printing parameter to set defaults on a per 
2487       share basis.
2488     * Add 'cups options' parameter to allow raw printing without 
2489       changing /etc/cups/cupsd.conf.
2490     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
2491       winbindd.
2492     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2493     * BUG 1288: resolve any machine netbios name (0x00) and not just 
2494       servers (0x20).
2495     * BUG 1199: Fix potential symlink issue in 
2496       examples/printing/smbprint.
2499 o   Robert Dahlem <Robert.Dahlem@gmx.net>
2500     * BUG 1048:  Don't return short names when when 'mangled names = no'
2503 o   Guenther Deschner <gd@suse.com>
2504     * Remove hard coded attribute name in the ads ranged retrieval
2505       code.
2506     * Add --with-libdir and --with-mandir to autoconf script.
2509 o   Bostjan Golob <golob@gimb.org>
2510     * BUG 1046: Fix  getpwent_list() so that the username is not 
2511       overwritten by other fields.
2514 o   Landon Fuller <landonf@opendarwin.org>
2515     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
2516       to fix user/group enumeration on systems whose libc does not 
2517       call setgrent() before trying to enumerate users (i.e. 
2518       FreeBSD 5.2).
2521 o   Steve French <sfrench@us.ibm.com>
2522     * Update mount.cifs to version 1.1.
2523     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2524     * Fixes to minor security bug in the mount helper.
2525     * Fix credential file mounting for cifs vfs.
2526     * Fix free of incremented pointer in cifsvfs mount helper.
2527     * Fix path canonicalization of the mount target path and help 
2528       text display in the cifs mount helper.
2529     * Add missing guest mount option for mount.cifs.
2532 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
2533     * BUG 1055; formatting fixes for 'net share'.
2534     * BUG 692: correct truncation of share names and workgroup 
2535       names in smbclient.
2536     * BUG 1088: use strchr_m() for query_host (smbclient -L).
2537     * Patch from to internally count characters correctly.
2540 o   Paul Green <paulg@samba.org>
2541     * Update VOS _POSIX_C_SOURCE macro to 200112L.
2542     * Fix bug in configure.ion by moving the first use of 
2543       AC_CHECK_HEADERS so it is always executed.
2544     * Fix configure.in to only use $BLDSHARED to select whether to 
2545       build static or shared libraries.
2548 o   Pat Haywarrd <Pat.Hayward@propero.net>
2549     * Make the session_users list dynamic (max of 128K).
2550     
2551     
2552 o   Cal Heldenbrand <calzplace@yahoo.com> 
2553     * Fix for for 'pam_smbpass migrate' functionality.
2556 o   Chris Hertel <crh@samba.org>
2557     * fix enumeration of shares 12 characters in length via 
2558       smbclient.
2561 o   Ulrich Holeschak <ulrich@holeschak.de>
2562     * BUG 932: fix local password change using pam_smbpass
2565 o   Krischan Jodies <kj@sernet.de>
2566     * Implement 'net rpc group delete'
2569 o   John Klinger <john.klinger@lmco.com>
2570     * Return NSS_SUCCESS once the max number of gids possible 
2571        has been found in initgroups() on Solaris.
2572     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2575 o   Volker Lendecke <vl@samba.org>
2576     * Fix success message for net groupmap modify.
2577     * Fix errors when enumerating members of groups in 'net rpc'.
2578     * Match Windows behavior in samr_lookup_names() by returning
2579       ALIAS(4) when you search in BUILTIN. 
2580     * Fix server SAMR code to be able to set alias info for 
2581       builtin as well. 
2582     * Fix duplication of logic when creating groups via smbd.
2583     * Ensure that the HWM values are set correctly after running 
2584       'net idmap'.
2585     * Add 'net rpc group add'.
2586     * Implement 'net groupmap set' and 'net groupmap cleanup'.
2587     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2588     * Fix wb_delgrpmem (wbinfo -o).
2589     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2590     * Fix sambaUserWorkstations on a Samba DC.
2591     * Implement wbinfo -k: Have winbind generate an AFS token after
2592       authenticating the user.
2593     * Add expand_msdfs VFS module for providing referrals based on the
2594       the client's IP address.
2595     * Implement client side NETLOGON GetDCName function.
2596     * Fix caching of name->sid lookups.
2597     * Add support in winbindd for expanding nested local groups.
2598     * Fix memleak in winbindd.
2599     * Fix msdfs proxy.
2600     * Don't list domain groups from BUILTIN.
2601     * Fix memleak in policy handle utility functions.
2602     * Decrease winbindd startup time by only contacting trusted 
2603       domains as necessary.
2604     * Allow winbindd to ask the DC for its domain for a trusted 
2605       DC.
2606     * Fix Netscape DS schema based on comments from 
2607       <thomas.mueller@christ-wasser.de>.
2608     * Correct case where adding a domain user to a XP local group 
2609       did a lsalookupname on the user without domain prefix, and 
2610       failed.
2611     * Fix segfault in winbindd caused by 'wbinfo -a'.
2612     
2614 o   Herb Lewis <herb@samba.org>
2615     * Fix typo for tag in proto file.
2616     * Add missing #ifdef HAVE_BICONV stuff.
2617     * Truncate Samba's netbios name at the first '.' (not 
2618       right to left).
2621 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2622     * Bug fixes and enhancements to libsmbclient library.
2624     
2625 o   Jianliang Lu <j.lu@tiesse.com>
2626     * Enforce the 'user must change password at next login' flag.
2627     * Decode meaning of 'fields present' flags (improves support 
2628       for usrmgr.exe).
2629     * NTLMv2 fixes.
2630     * Don't force an upper case domain name in the ntlmssp code.
2631     
2633 o   L. Lucius <ib@digicron.com>.
2634     * type fixes.
2637 o   Jim McDonough <jmcd@us.ibm.com>
2638     * Add versioning support to tdbsam.
2639     * Update the IBM Directory Server schema with the OpenLDAP 
2640       file.
2641     * Various decoding fixes to improve usrmgr.exe support.
2642     * Fix statfs redeclaration of statfs struct on ppc
2643     * Implement support for password lockout of Samba domain 
2644       controllers and standalone servers.
2645     * Get MungedDial attribute actually working with full TS 
2646       strings in it for pdb_ldap.
2647     * BUG 1208 (partial): Improvements for working with expired krb5 
2648       tickets in winbindd.
2649     * Use timegm, or our already existing replacement instead of 
2650       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2651     * Remove modifyTimestamp from list of our attributes.  
2652     * Fix lsalookupnames to check for domain users as well as local 
2653       users. 
2654     * Merge struct uuid replacement for GUID from trunk.
2655     * BUG 1208: Finish support for handling expired tickets in 
2656       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2659 o   Stefan Metzmacher <metze@samba.org>
2660     * Implement new VERSION schema based on subversion revision 
2661       numbers.
2662     * Add shadow_copy vfs module.
2663     * Fix segault in login_cache support.
2666 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2667      o BUG 979 -- Fix quota display on AIX.
2670 o   James Peach <jpeach@sgi.com>
2671     * Correct check for printf() format when using the SGI MIPSPro 
2672       compiler.
2673     * BUG 1038: support backtrace for 'panic action' on IRIX.
2674     * BUG 768: Accept profileing arg to IRIX init script.
2675     * BUG 748: Relax arg parsing to sambalp script (IRIX).
2676     * BUG 758: Fix pdma build.
2677     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
2678       Jason Mader.
2679       
2681 o   Kurt Pfeifle <kpfeifle@danka.de>
2682     * Add example shell script for migrating drivers and printers 
2683       from a Windows print server to a Samba print server using 
2684       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2687 o   Tim Potter <tpot@samba.org>
2688     * Fix logic bug in tdb non-blocking lock routines when 
2689       errno == EAGAIN.
2690     * BUG 1025: Include sys/acl.h in check for broken nisplus 
2691       include files.      
2692     * BUG 1066: s/printf/d_printf/g in SWAT.
2693     * BUG 1098: rename internal msleep() function to fix build 
2694       problems on AIX.
2695     * BUG 1112: Fix for writable printerdata problem in python bindings.
2696     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2697     * BUG 1155: enclose use of fchown() with guards.
2698     * Relicense tdb python module as LGPL.
2701 o   Richard Sharpe <rsharpe@samba.org>
2702     * Add support to smbclient for multiple logins on the same 
2703       session (based on work by abartlet@samba.org).
2704     * Correct blocking condition in smbd's use of accept() on IRIX.
2705     * Add support for printing out the MAC address on nmblookup.
2708 o   Simo Sorce <idra@samba.org>
2709     * Replace unknown_3 with fields_present in SAMR code.
2710     * More length checks in strlcat().
2713 o   Andrew Tridgell <tridge@samba.org>
2714     * Rewrote the AIX UESS backend for winbindd.
2715     * Fixed compilation with --enable-dmalloc.
2716     * Change tdb license to LGPL (see source/tdb/tdb.c).
2717     * Force winbindd to use schannel in clients connections to 
2718       DC's if possible.
2721 o   Jelmer Vernooij <jelmer@samba.org>
2722    * Fix ETA Calculation when resuming downloads in smbget.
2723    * Add -O (for writing downloaded files to standard out) 
2724      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2725     * Fix syntax error in example mysql table
2727            
2728 o   TAKEDA yasuma <yasuma@miraclelinux.com>
2729     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
2730       cmd_chown, cmd_chmod smbclient functions.
2733 o   Shiro Yamada <shiro@miraclelinux.com>
2734     * BUG 1129: install image files for SWAT.
2736       
2737     --------------------------------------------------
2739                   ==============================
2740                   Release Notes for Samba 3.0.2a
2741                         February 13, 2004
2742                   ==============================
2744 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2745 to address, in particular, a problem when using pdbedit to 
2746 sanitize (--force-initialized-passwords) Samba's tdbsam 
2747 backend.   This is the latest stable release of Samba. This 
2748 is the version that all production Samba servers should be 
2749 running for all current bug-fixes.  
2751 ******************* Attention! Achtung! Kree! *********************
2753 Beginning with Samba 3.0.2, passwords for accounts with a last 
2754 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2755 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
2756 strings.  This will cause authentication to fail for such
2757 accounts.  If you have valid passwords that meet this criteria, 
2758 you must update the last change time to a non-zero value.  If you 
2759 do not, then  'pdbedit --force-initialized-passwords' will disable 
2760 these accounts and reset the password hashes to a string of X's.
2762 ******************* Attention! Achtung! Kree! *********************
2765 Changes since 3.0.2
2766 -------------------
2768 commits
2769 -------
2771 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2772 details.  The list of changes per contributor are as follows:
2775 o   Jeremy Allison <jra@samba.org>
2776     * Added paranoia checks in parsing code.
2777     
2779 o   Andrew Bartlett <abartlet@samba.org>
2780     * Ensure that changes to uninitialized passwords in ldapsam 
2781       are written to the DIT.
2784 o   Gerald (Jerry) Carter <jerry@samba.org>
2785     * Fixed iterator in tdbsam.
2786     * Fix bug that disabled accounts with a valid NT password 
2787       hash, but no LanMan hash.
2788     
2790 o   Steve French <sfrench@us.ibm.com>
2791     * Added missing nosetuid and noexec options.
2793     
2794 o   Bostjan Golob <golob@gimb.org>
2795     * BUG 1046: Don't overwrite usernames of entries returned 
2796       by getpwent_list().
2799 o   Sebastian Krahmer <krahmer@suse.de>
2800     * Fixed potential crash bug in NTLMSSP parsing code.
2803 o   Tim Potter <tpot@samba.org>
2804     * Fixed logic in tdb_brlock error checking.
2806     
2807 o   Urban Widmark <urban@teststation.com>
2808     * Set nosuid,nodev flags in smbmnt by default.
2809     
2810     
2811         --------------------------------------------------
2812                   
2813                   =============================
2814                   Release Notes for Samba 3.0.2
2815                         February 9, 2004
2816                   =============================
2818 It has been confirmed that previous versions of Samba 3.0 are
2819 susceptible to a password initialization bug that could grant an 
2820 attacker unauthorized access to a user account created by the
2821 mksmbpasswd.sh shell script.
2823 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
2824 has assigned the name CAN-2004-0082 to this issue.
2826 Samba administrators not wishing to upgrade to the current 
2827 version should download the 3.0.2 release, build the pdbedit 
2828 tool, and run 
2830    root# pdbedit-3.0.2 --force-initialized-passwords
2831       
2832 This will disable all accounts not possessing a valid password
2833 (e.g. the password field has been set a string of X's).
2835 Samba servers running 3.0.2 are not vulnerable to this bug 
2836 regardless of whether or not pdbedit has been used to sanitize
2837 the passdb backend.
2839 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2840 release include:
2842   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2843   o Logging onto a Samba domain from Windows XP clients.
2844   o Problems with the %U and %u smb.conf variables in relation to 
2845     Windows 9x/ME clients.
2846   o Kerberos failures due to an invalid in memory keytab detection
2847     test.
2848   o Updates to the ntlm_auth tool.
2849   o Fixes for various SMB signing errors.
2850   o Better separation of WINS and DNS queries for domain controllers.
2851   o Issues with nss_winbind FreeBSD and Solaris.
2852   o Several crash bugs in smbd and winbindd.
2853   o Output formatting fixes for smbclient for better compatibility
2854     with scripts based on the 2.2 version.
2857 Changes since 3.0.1
2858 -------------------
2860 smb.conf changes
2861 ----------------
2863     Parameter Name              Action
2864     --------------              ------
2865     ldap replication sleep      New
2866     read size                   removed (unused)
2867     source environment          removed (unused)
2870 commits
2871 -------
2873 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2874 details.  The list of changes per contributor are as follows:
2876 o   Jeremy Allison <jra@samba.org>
2877     * Revert change that broke Exchange clear text samlogons.
2878     * Fix gcc 3.4 warning in MS-DFS code.
2879     * Tidy up of NTLMSSP code.
2880     * Fixes for SMB signing errors
2881     * BUG 815: Workaround NT4 bug to support plaintext
2882       password logins and UNICODE.
2883     * Fix SMB signing bug when copying large files.
2884     * Correct error logic in mkdir_internals() (caused a panic
2885       when combined with --enable-developer).
2886     * BUG 830: Protect against crashes due to bad character 
2887       conversions.
2889       
2890 o   Petri Asikainen <paca@sci.fi>
2891     * BUG 330, 387:Fix single valued attribute updates when 
2892       working with Novell NDS.
2895 o   Andrew Bartlett <abartlet@samba.org>
2896     * Correctly handle per-pipe NTLMSSP inside a NULL session.
2897     * Fix segfault in gencache 
2898     * Fix early free() of encrypted_session_key.
2899     * Change DC lookup routines to more carefully separate
2900       DNS names (realms) from NetBIOS domain names.
2901     * Add new sid_to_dn() function for internal winbindd use.
2902     * Refactor cli_ds_enum_domain_trusts().
2903     * BUG 707: Implement range retrieval of ADS attributes (based 
2904       on work from Volker <vl@samba.org> and Guenther Deschner 
2905       <gd@suse.com>).
2906     * Automatically initialize the signing engine if a session key
2907       is available.
2908     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
2909       encoded strings, only form input in SWAT.
2910     * Resets the NTLMSSP state for new negotiate packets.
2911     * Add 2-byte alignments in net_samlogon() queries to parse 
2912       odd-length plain text passwords.
2913     * Allow Windows groups with no members in winbindd.
2914     * Allow normal authentication in the absence of a server 
2915       generated session key.
2916     * More optimizations for looking up UNIX group lists.
2917     * Clean up error codes and return values for pam_winbindd
2918       and winbindd PAM interface.
2919     * Fix string return values in ntlm_auth tool.
2920     * Fix segfault when 'security = ads' but no realm is defined.
2921     * BUG 722: Allow winbindd to map machine accounts to uids.
2922     * More cleanups for winbindd's find_our_domain().
2923     * More clearly detect whether a domain controller is an NT4
2924       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
2925     * Increase separation between DNS queries for hosts and queries
2926       for AD domain controllers.
2927     * Include additional NT_STATUS to PAM error mappings.
2928     * Password initialization fixes.
2930     
2931 o   Justin Baugh <justin.baugh@request.com>
2932     * BUG 948: Implement missing functions required for FreeBSD 
2933       nss_winbind support. 
2936 o   Alexander Bokovoy <ab@samba.org>
2937     * BUG 922: Make sure enable fast path for strlower_m() and 
2938       strupper_m().
2941 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
2942     * Fix crash when using 'security = server' and 'encrypt 
2943       passwords = no' by always initializing the session key.
2945       
2946 o   Dmitry Butskoj <buc@odusz.elektra.ru>
2947     * Fix for special files being hidden from admins.
2950 o   Gerald (Jerry) Carter <jerry@samba.org>
2951     * Fix bug in the lanman session key generation.  Caused 
2952       "decode_pw: incorrect password length" error messages.
2953     * Save the right case for the located user name in 
2954       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
2955     * BUG 897: Add well known rid for pre win2k compatible access
2956       group.
2957     * BUG 887: Correct typo in delete user script example.
2958     * Use short lived TALLOC_CTX* for allocating printer objects 
2959       from the print handle cache.
2960     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2961     * Fix several warnings reported by the SUN Forte C compiler.
2962     * Fully control DNS queries for AD DC's using 'name resolve order'.
2963     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2964     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2965     * BUG 936: fix bind credentials for schannel binds in smbd.
2966     * BUG 446: Fix output of smbclient for better compatibility 
2967       with scripts based on the 2.2 version (including Amanda).
2968     * BUG 891, 949: Fedora packaging fixes.
2969     * Fix bug that caused rpcclient to incorrectly retrieve 
2970       the SID for a server (this causing all calls that required 
2971       this information to fail). 
2972     * BUG 977: Don't create a homes share for a user if a static 
2973       share already exists by the same name.
2974     * Removed unused smb.conf options.
2975     * Password initialization fixes.
2976     * Set the disable flag for template accounts created by
2977       mksmbpasswd.sh.
2978     * Disable any account has no passwords and does not have the
2979       ACB_PWNOTREQ bit set.
2982 o   Guenther Deschner <gd@suse.com>
2983     * Install smbwrapper.so should be put into the $(libdir) 
2984       and not $(bindir).
2985     * Add the capability to specify the new user password 
2986       for "net ads password" on the command line.
2987     * Correctly detect AFS headers on SuSE.
2988         
2990 o   James Flemer <jflemer@uvm.edu>
2991     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
2992       HAVE_SYS_ATTRIBUTES_H.
2995 o   Luke Howard <lukeh@PADL.COM>
2996     * Fix segfault in session setup reply caused by a early free().
2999 o   Stoian Ivanov <sdr@bultra.com>
3000     * Implement grepable output for smbclient -L.
3003 o   LaMont Jones <lamont@debian.org>
3004     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
3005       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
3006       not being defined).
3008       
3009 o   Volker Lendecke <vl@samba.org>
3010     * BUG 583: Ensure that user names always contain the short 
3011       version of the domain name.
3012     * Fix our parsing of the LDAP uri.
3013     * Don't show the 'afs username map' in the SWAT basic view.
3014     * Fix SMB signing issues in relation to failed NTLMSSP logins.
3015     * BUG 924: Fix return codes in smbtorture harness.
3016     * Always lower-case usernames before handing it to AFS code.
3017     * Add a German translation for SWAT.
3018     * Fix a segfaults in winbindd.
3019     * Fix the user's domain passed to register_vuid() from 
3020       reply_spnego_kerberos().
3021     * Add NSS example code in nss_winbind to convert UNIX 
3022       id's <-> Windows SIDs.
3023     * Display more descriptive error messages for login via 'net'.
3024     * Fix compiler warning in the net tool.
3025     * Fix length bug when decoding base64 strings.
3026     * Ensure we don't call getpwnam() inside a loop that is iterating 
3027       over users with getpwent().  This broke on glibc 2.3.2.
3030 o   Herb Lewis <herb@samba.org>
3031     * Fix bit rot in psec.
3034 o   Jianliang Lu <j.lu@tiesse.com>
3035     * Ensure we delete the group mapping before calling the delete 
3036       group script.
3037     * Define well known RID for managing the  "Power Users" group.
3038     * BUG 381: check builtin (not local) group SID when updating 
3039       group membership.
3040     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
3041       packet.
3044 o   John Klinger <john.klinger@lmco.com>
3045     * Implement initgroups() call in nss_winbind on Solaris.
3048 o   Jim McDonough <jmcd@us.ibm.com>
3049     * Fix regression in net rpc join caused by recent changes 
3050       to cli_lsa_query_info_policy().
3051     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
3052       machine account.
3055 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
3056     * BUG 570: Ensure that configure honors the LDFLAGS variable.
3059 o   Stefan Metzmacher <metze@samba.org>
3060     * Implement LDAP rebind sleep patch.
3061     * Revert to 2.2 quota code because of so many broken quota files 
3062       out there.
3063     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
3064                       XFS_USER_QUOTA -> USRQUOTA
3065                       XFS_GROUP_QUOTA -> GRPQUOTA
3066     * Fix disk_free calculation with group quotas.
3067     * Add debug class 'quota' and a lot of DEBUG()'s 
3068       to the quota code.
3069     * Fix sys_chown() when no chown() is present.
3070     * Add SIGABRT to fault handling in order to catch got a 
3071       backtrace if an error occurs the OpenLDAP client libs.
3074 o   <ndb@theghet.to>
3075     * Allow an existing LDAP machine account to be re-used when 
3076       joining an AD domain.
3079 o   James Peach <jpeach@sgi.com>
3080     * BUG 889: Change smbd to use pread/pwrite on platforms that 
3081       support these calls. Can lead to a significant speed increase.
3084 o   Tim Potter <tpot@samba.org>
3085     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
3086     * BUG 924: Fix typo in RW2 torture test.
3087     
3088     
3089 o   Richard Sharpe <rsharpe@samba.org>
3090     * Small fixes to torture.c to cleanup the error handling 
3091       and prevent crashes.
3094 o   J. Tournier <jerome.tournier@IDEALX.com>
3095     * Small fixes for the smbldap-tool scripts.
3098 o   Andrew Tridgell <tridge@samba.org>
3099     * Fix src len check in pull_usc2().
3100     
3101     
3102 o   Jelmer Vernooij <jelmer@samba.org>
3103     * Put functions for generating SQL queries in pdb_sql.c
3104     * Add pgSQL backend (based on patch by Hamish Friedlander)
3105     * BUG 908: Fix -s option to smbcontrol.    
3106     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
3107     * Fix for libnss_wins on IRIX platforms.
3108     * Fix swatdir for --with-fhs.
3111         --------------------------------------------------
3113                   =============================
3114                   Release Notes for Samba 3.0.1
3115                         December 15, 2003
3116                   =============================
3118 Some of the more common bugs in 3.0.0 addressed in the release 
3119 include:
3121   o Substitution problems with smb.conf variables.
3122   o Errors in return codes which caused some applications
3123     to fail to open files.
3124   o General Protection Faults on Windows 2000/XP clients
3125     using Samba point-n-print features.
3126   o Several miscellaneous crash bugs.
3127   o Access problems when enumerating group mappings are
3128     stored in an LDAP Directory.
3129   o Several common SWAT bugs when writing changes to
3130     smb.conf.
3131   o Internal inconsistencies when 'winbind use default
3132     domain = yes'
3136 Changes since 3.0.0
3137 ----------------------
3139     Parameter Name              Action
3140     --------------              ------
3141     hide local users            Removed
3142     mangled map                 Deprecated
3143     mangled stack               Removed
3144     passwd chat timeout         New
3147 commits
3148 -------
3150 o   Change the interface for init_unistr2 to not take a length 
3151     but a flags field.  We were assuming that 
3152     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
3153 o   Allow d_printf() to handle strings with escaped quotation 
3154     marks since the msg file includes the escape character (bug 489).
3155 o   Fix bad html table row termination in SWAT wizard code (bug 413).
3156 o   Fix to parse the level-2 strings.
3157 o   Fix for "valid users = %S" in [homes].  Fix read/write 
3158     list as well. 
3159 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
3160     This is the same way AC_CHECK_LIB works (bug 508).
3161 o   Testparm output fixes for clarity.
3162 o   Fix broken wins hook functionality -- i18n bug (bug 528).
3163 o   Take care of condition where DOS and NT error codes must differ.
3164 o   Default to using only built-in charsets when a working iconv 
3165     implementation cannot be located.
3166 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
3167     be done unconditionally (bug 550).
3168 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
3169 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
3170     --enable-debug=[yes|no] works correctly.
3171 o   Allow ^C to interrupt smbpasswd if using our getpass 
3172     (e.g. smbpasswd command).
3173 o   Support signing only on RPC's (bug 167).
3174 o   Correct bug that prevented  Excel 2000 clients from opening 
3175     files marked as read-only.
3176 o   Portability fix bugs 546 - 549).
3177 o   Explicitly initialize the value of AR for vendor makes that don't
3178     do this (e.g. HPUX 11).  (bug 552).
3179 o   More i18n fixes for SWAT (bug 413).
3180 o   Change the cwd before the postexec script to ensure that a
3181     umount will succeed.
3182 o   Correct double free that caused winbindd to crash when a DC 
3183     is rebooted (bug 437).
3184 o   Fix incorrect mode sum (bug 562).
3185 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
3186     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
3187 o   Add script to generate *msg files.
3188 o   Add Dutch SWAT translation file.
3189 o   Make sure to call get_user_groups() with the full winbindd 
3190     name for a user if he/she has one (bug 406).
3191 o   Fix up error code returns from Samba4 tester. Ensure invalid 
3192     paths are validated the same way.  
3193 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
3194 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
3195     libraries were found for $BACKEND.
3196 o   Move sysquotas autoconf tests to a separate file.
3197 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
3198     tester
3199 o   Make sure that the files that contain the static_init_$subsystem; 
3200     macro get recompiled after configure by removing the object 
3201     files.
3202 o   Ensure canceling a blocking lock returns the correct error 
3203     message.
3204 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
3205 o   Updated Japanese welcome file in SWAT.
3206 o   Fix to  nt-time <-> unix-time functions reversible.
3207 o   Ensure that winbindd uses the the escaped DN when querying
3208     an AD ldap server.
3209 o   Fix portability issues when compiling (bug 505, 550)
3210 o   Compile fix for tdbbackup when Samba needs to override 
3211     non-C99 compliant implementations of snprintf().
3212 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
3213 o   Make sure we break out of samsync loop on error.
3214 o   Ensure error code path doesn't free unmalloc()'d memory
3215     (bug 628).
3216 o   Add configure test for krb5_keytab_entry keyblock vs key 
3217     member (bug 636).
3218 o   Fixed spinlocks.
3219 o   Modified testparm so that all output so all debug output goes 
3220     to stderr, and all file processing goes to stdout.
3221 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
3222     and smbcquotas.
3223 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
3224     we have a devmode before copying a string to the devicename.
3225 o   Support mapping REALM.COM\user to a local user account (without 
3226     running winbindd)  for compatibility with 2.2.x release.
3227 o   Ensure we don't use mmap() on blacklisted systems.
3228 o   fixed a number of bugs and memory leaks in the AIX 
3229     winbindd shim
3230 o   Call initgroups() in SWAT before becomming the user so that
3231     secondary group permissions can be used when writing to 
3232     smb.conf.
3233 o   Fix signing problems when reverse connecting back to a 
3234     client for printer notify
3235 o   Fix signing problems caused by a miss-sequence bug.
3236 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
3237     Fixes NEXUS tools running on Win9x clients (bug 64).
3238 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
3239     SID could not be mapped.
3240 o   Fix segfault in mount.cifs helper when there is no options 
3241     specified during mount.
3242 o   Change the \n after the password prompt to go to tty instead 
3243     of stdout (bug 668).
3244 o   Stop net -P from prompting for machine account password (bug 451).
3245 o   Change in behavior to Not only change the effective uid but also
3246     the real uid when becoming unprivileged.
3247 o   Cope with Exchange 5.5 cleartext pop password auth.
3248 o   New files for support of initshutdown pipe.  Win2k doesn't 
3249     respond properly to all requests on the winreg pipe, so we need 
3250     to handle this new pipe (bug 534).
3251 o   Added more va_copy() checks in configure.in.
3252 o   Include fixes for libsmbclient build problems.
3253 o   Missing UNIX -> DOS codepage conversion in lanman.c.
3254 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
3255 o   Parameterize the listen backlog in smbd and make it larger by
3256     default. A backlog of 5 is way too small these days.
3257 o   Check for an invalid fid before dereferencing the fsp pointer
3258     (bug 696).
3259 o   Remove invalid memory frees and return codes in pdb_ldap.c.
3260 o   Prompt for password when invoking --set-auth-user and no 
3261     password is given.
3262 o   Bind the nmbd sending socket to the 'socket address'.
3263 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
3264     $LDFLAGS occurs before any library specification (bug 661).
3265 o   Fix large number of printf() calls for 64-bit size_t.
3266 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
3267     keyblock in the krb5 structs.
3268 o   Remove #include <compat.h> in hopes to avoid problems with 
3269     apache header files.
3270 o   Correct winbindd build problems on HP-UX 11.
3271 o   Lowercase netgroups lookups (bug 703).
3272 o   Use the actual size of the buffer in strftime instead of a made
3273     up value which just happens to be less than sizeof(fstring).  
3274     (bug 713).
3275 o   Add ldaplibs to pdbedit link line (bug 651).
3276 o   Fix crash bug in smbclient completion (bug 659).
3277 o   Fix packet length for browse list reply (bug 771).
3278 o   Fix coredump in cli_get_backup_list().
3279 o   Make sure that we expand %N (bug 612).
3280 o   Allow rpcclient adddriver command to specify printer driver 
3281     version (bug 514).
3282 o   Compile tdbdump by default.
3283 o   Apply patches to fix iconv detection for FreeBSD.
3284 o   Do not allow the 'guest account' to be added to a passdb backend 
3285     using smbpasswd or pdbedit (bug 624).
3286 o   Save LDFLAGS during iconv detection (bug 57).
3287 o   Run krb5 logins through the username map if the winbindd 
3288     lookup fails (bug 698).
3289 o   Add const for lp_set_name_resolve_order() to avoid compiler 
3290     warnings (bug 471).
3291 o   Add support for the %i macro in smb.conf to stand in for the for
3292     the local IP address to which a client connected.
3293 o   Allow winbindd to match local accounts to domain SID when 
3294     'winbind trusted domains only = yes' (bug 680).
3295 o   Remove code in idmap_ldap that searches the user suffix and group 
3296     suffix.  It's not needed and provides inconsistent functionality 
3297     from the tdb backend.
3298 o   Patch to handle munged dial string for Windows 2000 TSE.
3299     Thanks to Gaz de France, Direction de la Recherche, Service 
3300     Informatique Métier for their supporting this work by Aurelien 
3301     Degrémont <adegremont@idealx.com>.
3302 o   Correct the "smbldap_open: cannot access when not root error"
3303     messages when looking up group information (bug 281).
3304 o   Skip over the winbind separator when looking up a user.
3305     This fixes the bug that prevented local users from
3306     matching an AD user when not running winbindd (bug 698).
3307 o   Fix a problem with configure on *BSD systems. Make sure
3308     we add -liconv etc to LDFLAGS.
3309 o   Fix core dump bug when "security = server" and the authentication
3310     server goes away.
3311 o   Correct crash bug due to an empty munged dial string.
3312 o   Show files locked by a specific user (smbstatus -u 'user') 
3313     (bug 590).
3314 o   Fix bug preventing print jobs from display in the queue
3315     monitor used by Windows NT and later clients (bug 660).
3316 o   Fix several reported problems with point-n-print from
3317     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
3318     reply (bug 338, 527 & 643).
3319 o   Fix a handful of potential memory leaks in the LDAP code used
3320     by ldapsam[_compat] and the LDAP idmap backend.
3321 o   Fix for pdbedit error code returns (bug 763).
3322 o   Make sure we only enumerate group mapping entries  (not 
3323     /etc/group) even when doing local aliases.
3324 o   Relax check on the pipe name in a dce/rpc bind response to work 
3325     around issues with establishing trusts to a Windows 2003 domain.
3326 o   Ensure we mangle names ending in '.' in hash2 mangling method.
3327 o   Correct parsing issues with munged dial string.
3328 o   Fix bugs in quota support for XFS.
3329 o   Add a cleaner method for applications that need to provide 
3330     name->SID mappings to do this via NSS rather than having to 
3331     know the winbindd pipe protocol.
3332 o   Adds a variant of the winbindd_getgroups() call called 
3333     winbindd_getusersids() that provides direct SID->SIDs listing of 
3334     a users supplementary groups. This is enough to allow non-Samba 
3335     applications to do ACL checking.
3336 o   Make sure we don't append the 'ldap suffix' when writing out the 
3337     'ldap XXX suffix' values in SWAT (bug 328).
3338 o   Fix renames across file systems.
3339 o   Ensure that items in a list of strings containing whitespace are 
3340     written out surrounded by single quotes.  This means that both 
3341     double and single quotes are now used to surround strings in 
3342     smb.conf (bug 481).
3343 o   Enable SWAT to correctly determine if winbindd is running (bug 
3344     398).
3345 o   Include WWW-Authenticate field in 401 response for bad auth 
3346     attempt (bug 629).
3347 o   Add support for NTLM2 (NTLMv2 session security).
3348 o   Add support for variable-length session keys.
3349 o   More privilege fixes for group enumeration in LDAP (bug 281).
3350 o   Use the dns name (or IP) as the originating client name when
3351     using CUPS (bug 467).
3352 o   Fix various SMB signing bugs.
3353 o   Fix ACL propagation on a DFS root (bug 263).
3354 o   Disable NTLM2 for RPC pipes.
3355 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
3356     authentication.
3357 o   Change the name of the job passed off to cups from "Test Page" 
3358     to "smbprn.00000033 Test Page" so that we can get the smb 
3359     jobid back. This allow users to delete jobs with cups printing 
3360     backend (partial work on bug 770).
3361 o   Fix build of winbindd with static pdb modules.
3362 o   Retrieve the correct ACL group bits if the file has an ACL 
3363     (bug 802).
3364 o   Implement "net rpc group members": Get members of a domain group 
3365     in human-readable format.
3366 o   Add MacOSX (Darwin) specific charset module code.
3367 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
3368     can include the full name in gecos field (bug 587).
3369 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
3370 o   Implement 'net rpc group list [global|local|builtin]*' for a 
3371     select listing of the respective user databases.
3372 o   Don't automatically set NT status code flag unless client tells 
3373     us it can cope.
3374 o   Add 'net status [sessions|shares] [parseable]'.
3375 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
3376     bug 770).
3377 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
3378    (bug 608).
3379 o   Fix inverted logic in hosts allow/deny checks caused by 
3380     s/strcmp/strequal/ (bug 846).
3381 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3382 o   Fix typo in 'hash' mangling algorithm.
3383 o   Support munged dial for ldapsam (bug 800).
3384 o   Fix process_incoming_data() to return the number of bytes handled 
3385     this call whether we have a complete PDU or not; fixes bug 
3386     with multiple PDU request rpc's broken over SMBwriteX calls 
3387     each.
3388 o   Fix incorrect smb flags2 for connections to pre-NT servers 
3389     (causes smbclient to fail to OS2 for example) (bug 821).
3390 o   Update version string in smbldap-tools Makefile to 0.8.2.
3391 o   Correct a problem with "net rpc vampire" mis-parsing the 
3392     alias member info reply.
3393 o   Ensure the ${libdir} is created by the installclientlib script.
3394 o   Fix detection of Windows 2003 client architecture in the smb.conf
3395     %a variable.
3396 o   Ensure that smbd calls the add user script for a missing UNIX 
3397     user on kerberos auth call (bug 445).
3398 o   Fix bugs in hosts allow/deny when using a mismatched 
3399     network/netmask pair.
3400 o   Protect alloc_sub_basic() from crashing when the source string 
3401     is NULL (partial work on bug 687).
3402 o   Fix spinlocks on IRIX.
3403 o   Corrected some bad destination paths when running "configure 
3404     --with-fhs".
3405 o   Add packaging files for Fedora Core 1.
3406 o   Correct bug in SWAT install script for non-english languages.
3407 o   Support character set ISO-8859-1 internally (bug 558).
3408 o   Fixed more LDAP access errors when looking up group mappings 
3409     (bug 281).
3410 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
3411     resolution to fail on local files on on domain members 
3412     (bug 875).
3413 o   Fix uninitialized variable in passdb.c.
3414 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
3415 o   Fix problem mounting directories when mount.cifs is installed 
3416     with the setuid bit on.
3417 o   Fix bug that prevent --mandir from overriding the defaults
3418     given in the --with-fhs macro.
3419 o   Fix bug in in-memory Kerberos keytab detection routines 
3420     in configure.in
3424 ######################################################################
3426               The original 3.0.0 release notes follow
3427               =======================================
3428                     WHATS NEW IN Samba 3.0.0
3429                         September 24, 2003
3430               =======================================
3433 Major new features:
3434 -------------------
3436 1)  Active Directory support.  Samba 3.0 is now able to  
3437     join a ADS realm as a member server and authenticate 
3438     users using LDAP/Kerberos.
3440 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
3441     and internally there is now a much better infrastructure for 
3442     multi-byte and UNICODE character sets.
3444 3)  New authentication system. The internal authentication system 
3445     has been almost completely rewritten. Most of the changes are 
3446     internal, but the new auth system is also very configurable.
3448 4)  New default filename mangling system.
3450 5)  A new "net" command has been added. It is somewhat similar to 
3451     the "net" command in windows. Eventually we plan to replace 
3452     numerous other utilities (such as smbpasswd) with subcommands 
3453     in "net".
3455 6)  Samba now negotiates NT-style status32 codes on the wire. This
3456     improves error handling a lot.
3458 7)  Better Windows 2000/XP/2003 printing support including publishing
3459     printer attributes in active directory.
3461 8)  New loadable module support for passdb backends and character 
3462     sets.
3464 9)  New default dual-daemon winbindd support for better performance.
3466 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
3467     domain and maintaining user, group and domain SIDs.
3469 11) Support for establishing trust relationships with Windows NT 4.0
3470     domain controllers.
3471   
3472 12) Initial support for a distributed Winbind architecture using
3473     an LDAP directory for storing SID to uid/gid mappings.
3474   
3475 13) Major updates to the Samba documentation tree.
3477 14) Full support for client and server SMB signing to ensure
3478     compatibility with default Windows 2003 security settings.
3480 15) Improvement of ACL mapping features based on code donated by
3481     Andreas Grünbacher.
3484 Plus lots of other improvements!
3487 Additional Documentation
3488 ------------------------
3490 Please refer to Samba documentation tree (included in the docs/ 
3491 subdirectory) for extensive explanations of installing, configuring
3492 and maintaining Samba 3.0 servers and clients.  It is advised to 
3493 begin with the Samba-HOWTO-Collection for overviews and specific 
3494 tasks (the current book is up to approximately 400 pages) and to 
3495 refer to the various man pages for information on individual options.
3497 We are very glad to be able to include the second edition of
3498 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3499 (O'Reilly & Associates) in this release.  The book is available
3500 on-line at http://samba.org/samba/docs/ and is included with 
3501 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
3502 publisher for making "Using Samba" under the GNU Free Documentation 
3503 License.
3506 ######################################################################
3507 Upgrading from a previous Samba 3.0 beta
3508 ########################################
3510 Beginning with Samba 3.0.0beta3, the RID allocation functions
3511 have been moved into winbindd.  Previously these were handled
3512 by each passdb backend.  This means that winbindd must be running
3513 to automatically allocate RIDs for users and/or groups.  Otherwise,
3514 smbd will use the 2.2 algorithm for generating new RIDs.
3516 If you are using 'passdb backend = tdbsam' with a previous Samba 
3517 3.0 beta release (or possibly alpha), it may be necessary to 
3518 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3519 to winbindd_idmap.tdb.  To do this:
3521 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
3522     once)
3523 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
3524     directory
3525 3)  run: (note that 'tdb>' is the tool's prompt for input)
3527        root# ./tdbtool /usr/local/samba/private/passdb.tdb
3528        tdb> show RID_COUNTER
3529        key 12 bytes
3530        RID_COUNTER
3531        data 4 bytes
3532        [000] 0A 52 00 00                                       .R.
3534        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3535        ....
3536        record moved
3538 If you are using 'passdb backend = ldapsam', it will be necessary to 
3539 store idmap entries in the LDAP directory as well (i.e. idmap backend 
3540 = ldap).  Refer to the 'net idmap' command for more information on 
3541 migrating SID<->UNIX id mappings from one backend to another.
3543 If the RID_COUNTER record does not exist, then these instructions are
3544 unneccessary and the new RID_COUNTER record will be correctly generated
3545 if needed.  
3549 ########################
3550 Upgrading from Samba 2.2
3551 ########################
3553 This section is provided to help administrators understand the details
3554 involved with upgrading a Samba 2.2 server to Samba 3.0.
3557 Building
3558 --------
3560 Many of the options to the GNU autoconf script have been modified 
3561 in the 3.0 release.  The most noticeable are:
3563   * removal of --with-tdbsam (is now included by default; see section
3564     on passdb backends and authentication for more details)
3565     
3566   * --with-ldapsam is now on used to provided backward compatible
3567     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
3568     backend and authentication section for more details
3569   
3570   * inclusion of non-standard passdb modules may be enabled using
3571     --with-expsam.  This includes an XML backend and a mysql backend.
3572       
3573   * removal of --with-msdfs (is now enabled by default)
3574   
3575   * removal of --with-ssl (no longer supported)
3576   
3577   * --with-utmp now defaults to 'yes' on supported systems
3578   
3579   * --with-sendfile-support is now enabled by default on supported 
3580     systems
3581   
3582     
3583 Parameters
3584 ----------
3586 This section contains a brief listing of changes to smb.conf options
3587 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
3588 complete descriptions of new or modified parameters.
3590 Removed Parameters (order alphabetically):
3592   * admin log
3593   * alternate permissions
3594   * character set
3595   * client codepage
3596   * code page directory
3597   * coding system
3598   * domain admin group
3599   * domain guest group
3600   * force unknown acl user
3601   * hide local users
3602   * mangled stack
3603   * nt smb support
3604   * postscript
3605   * printer driver
3606   * printer driver file
3607   * printer driver location
3608   * read size
3609   * source environment
3610   * status
3611   * strip dot
3612   * total print jobs
3613   * use rhosts
3614   * valid chars
3615   * vfs options
3617 New Parameters (new parameters have been grouped by function):
3619   Remote management
3620   -----------------
3621   * abort shutdown script
3622   * shutdown script
3624   User and Group Account Management
3625   ---------------------------------
3626   * add group script
3627   * add machine script
3628   * add user to group script
3629   * algorithmic rid base
3630   * delete group script
3631   * delete user from group script
3632   * passdb backend
3633   * set primary group script
3635   Authentication
3636   --------------
3637   * auth methods
3638   * realm
3639   * passwd chat timeout
3641   Protocol Options
3642   ----------------
3643   * client lanman auth
3644   * client NTLMv2 auth
3645   * client schannel
3646   * client signing
3647   * client use spnego
3648   * disable netbios
3649   * ntlm auth
3650   * paranoid server security
3651   * server schannel
3652   * server signing
3653   * smb ports
3654   * use spnego
3656   File Service
3657   ------------
3658   * get quota command
3659   * hide special files
3660   * hide unwriteable files
3661   * hostname lookups
3662   * kernel change notify
3663   * mangle prefix
3664   * map acl inherit
3665   * msdfs proxy
3666   * set quota command
3667   * use sendfile
3668   * vfs objects
3669   
3670   Printing
3671   --------
3672   * max reported print jobs
3674   UNICODE and Character Sets
3675   --------------------------
3676   * display charset
3677   * dos charset
3678   * unicode
3679   * unix charset
3680   
3681   SID to uid/gid Mappings
3682   -----------------------
3683   * idmap backend
3684   * idmap gid
3685   * idmap uid
3686   * winbind enable local accounts
3687   * winbind trusted domains only
3688   * template primary group
3689   * enable rid algorithm
3691   LDAP
3692   ----
3693   * ldap delete dn
3694   * ldap group suffix
3695   * ldap idmap suffix
3696   * ldap machine suffix
3697   * ldap passwd sync
3698   * ldap replication sleep
3699   * ldap user suffix
3700   
3701   General Configuration
3702   ---------------------
3703   * preload modules
3704   * private dir
3706 Modified Parameters (changes in behavior):
3708   * encrypt passwords (enabled by default)
3709   * mangling method (set to 'hash2' by default)
3710   * passwd chat
3711   * passwd program
3712   * restrict anonymous (integer value)
3713   * security (new 'ads' value)
3714   * strict locking (enabled by default)
3715   * unix extensions (enabled by default)
3716   * winbind cache time (increased to 5 minutes)
3717   * winbind uid (deprecated in favor of 'idmap uid')
3718   * winbind gid (deprecated in favor of 'idmap gid')
3721 Databases
3722 ---------
3724 This section contains brief descriptions of any new databases 
3725 introduced in Samba 3.0.  Please remember to backup your existing 
3726 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
3727 upgrade databases as they are opened (if necessary), but downgrading 
3728 from 3.0 to 2.2 is an unsupported path.
3730 Name                    Description                             Backup?
3731 ----                    -----------                             -------
3732 account_policy          User policy settings                    yes
3733 gencache                Generic caching db                      no
3734 group_mapping           Mapping table from Windows              yes
3735                         groups/SID to unix groups        
3736 winbindd_idmap          ID map table from SIDS to UNIX          yes
3737                         uids/gids.
3738 namecache               Name resolution cache entries           no
3739 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
3740                         returned as part of a successful
3741                         net_sam_logon request 
3742 printing/*.tdb          Cached output from 'lpq                 no
3743                         command' created on a per print 
3744                         service basis
3745 registry                Read-only samba registry skeleton       no
3746                         that provides support for exporting
3747                         various db tables via the winreg RPCs
3750 Changes in Behavior
3751 -------------------
3753 The following issues are known changes in behavior between Samba 2.2 and 
3754 Samba 3.0 that may affect certain installations of Samba.
3756   1)  When operating as a member of a Windows domain, Samba 2.2 would 
3757       map any users authenticated by the remote DC to the 'guest account'
3758       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
3759       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
3760       current work around to re-establish the 2.2 behavior.
3761       
3762   2)  When adding machines to a Samba 2.2 controlled domain, the 
3763       'add user script' was used to create the UNIX identity of the 
3764       machine trust account.  Samba 3.0 introduces a new 'add machine 
3765       script' that must be specified for this purpose.  Samba 3.0 will
3766       not fall back to using the 'add user script' in the absence of 
3767       an 'add machine script'
3768   
3770 ######################################################################
3771 Passdb Backends and Authentication
3772 ##################################
3774 There have been a few new changes that Samba administrators should be
3775 aware of when moving to Samba 3.0.
3777   1) encrypted passwords have been enabled by default in order to 
3778      inter-operate better with out-of-the-box Windows client 
3779      installations.  This does mean that either (a) a samba account
3780      must be created for each user, or (b) 'encrypt passwords = no'
3781      must be explicitly defined in smb.conf.
3782     
3783   2) Inclusion of new 'security = ads' option for integration 
3784      with an Active Directory domain using the native Windows
3785      Kerberos 5 and LDAP protocols.
3787      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
3788      type which is neccessary for servers on which the 
3789      administrator password has not been changed, or kerberos-enabled 
3790      SMB connections to servers that require Kerberos SMB signing.
3791      Besides this one difference, either MIT or Heimdal Kerberos
3792      distributions are usable by Samba 3.0.
3793      
3795 Samba 3.0 also includes the possibility of setting up chains
3796 of authentication methods (auth methods) and account storage 
3797 backends (passdb backend).  Please refer to the smb.conf(5) 
3798 man page for details.  While both parameters assume sane default 
3799 values, it is likely that you will need to understand what the 
3800 values actually mean in order to ensure Samba operates correctly.
3802 The recommended passdb backends at this time are
3804   * smbpasswd - 2.2 compatible flat file format
3805   * tdbsam - attribute rich database intended as an smbpasswd
3806     replacement for stand alone servers
3807   * ldapsam - attribute rich account storage and retrieval 
3808     backend utilizing an LDAP directory.  
3809   * ldapsam_compat - a 2.2 backward compatible LDAP account 
3810     backend
3811     
3812 Certain functions of the smbpasswd(8) tool have been split between the 
3813 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
3814 utility.  See the respective man pages for details.
3815     
3816      
3817 ######################################################################
3818 LDAP
3819 ####
3821 This section outlines the new features affecting Samba / LDAP 
3822 integration.
3824 New Schema
3825 ----------
3826   
3827 A new object class (sambaSamAccount) has been introduced to replace 
3828 the old sambaAccount.  This change aids us in the renaming of 
3829 attributes to prevent clashes with attributes from other vendors.  
3830 There is a conversion script (examples/LDAP/convertSambaAccount) to 
3831 modify and LDIF file to the new schema.
3832   
3833 Example:
3834   
3835   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3836   $ convertSambaAccount --sid=<Domain SID> \
3837     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3838     --changetype=[modify|add]
3839         
3840 The <DOM SID> can be obtained by running 'net getlocalsid 
3841 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
3842 the format of the generated LDIF output--either create new entries 
3843 or modify existing entries.
3844     
3845 The old sambaAccount schema may still be used by specifying the 
3846 "ldapsam_compat" passdb backend.  However, the sambaAccount and
3847 associated attributes have been moved to the historical section of
3848 the schema file and must be uncommented before use if needed.
3849 The 2.2 object class declaration for a sambaAccount has not changed
3850 in the 3.0 samba.schema file. 
3851   
3852 Other new object classes and their uses include:
3853   
3854   * sambaDomain - domain information used to allocate rids 
3855     for users and groups as necessary.  The attributes are added
3856     in 'ldap suffix' directory entry automatically if 
3857     an idmap uid/gid range has been set and the 'ldapsam'
3858     passdb backend has been selected.
3859       
3860   * sambaGroupMapping - an object representing the 
3861     relationship between a posixGroup and a Windows
3862     group/SID.  These entries are stored in the 'ldap 
3863     group suffix' and managed by the 'net groupmap' command.
3864     
3865   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
3866     automatically and contains the next available 'idmap uid' and 
3867     'idmap gid'
3868     
3869   * sambaIdmapEntry - object storing a mapping between a 
3870     SID and a UNIX uid/gid.  These objects are created by the 
3871     idmap_ldap module as needed.
3873   * sambaSidEntry - object representing a SID alone, as a Structural
3874     class on which to build the sambaIdmapEntry.
3876     
3877 New Suffix for Searching
3878 ------------------------
3879   
3880 The following new smb.conf parameters have been added to aid in directing
3881 certain LDAP queries when 'passdb backend = ldapsam://...' has been
3882 specified.
3884   * ldap suffix         - used to search for user and computer accounts
3885   * ldap user suffix    - used to store user accounts
3886   * ldap machine suffix - used to store machine trust accounts
3887   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
3888   * ldap idmap suffix   - location of sambaIdmapEntry objects
3890 If an 'ldap suffix' is defined, it will be appended to all of the 
3891 remaining sub-suffix parameters.  In this case, the order of the suffix
3892 listings in smb.conf is important.  Always place the 'ldap suffix' first
3893 in the list.  
3895 Due to a limitation in Samba's smb.conf parsing, you should not surround 
3896 the DN's with quotation marks.
3899 IdMap LDAP support
3900 ------------------
3902 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
3903 following options would inform Samba that the idmap table should be
3904 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
3905 dc=org" partition.
3907  [global]
3908     ...
3909     idmap backend     = ldap:ldap://onterose/
3910     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
3911     idmap uid         = 40000-50000
3912     idmap gid         = 40000-50000
3914 This configuration allows winbind installations on multiple servers to
3915 share a uid/gid number space, thus avoiding the interoperability problems
3916 with NFS that were present in Samba 2.2.
3917     
3920 ######################################################################
3921 Trust Relationships and a Samba Domain
3922 ######################################
3924 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
3925 allocating uids and gids to trusted users and groups.  More
3926 information regarding Samba's support for establishing trust 
3927 relationships can be found in the Samba-HOWTO-Collection included
3928 in the docs/ directory of this release.
3930 First create your Samba PDC and ensure that everything is 
3931 working correctly before moving on the trusts.
3933 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
3934 4.0 domain named WINDOWS:
3936   1) create the trust account for SAMBA in "User Manager for Domains"
3937   2) connect the trust from the Samba domain using
3938      'net rpc trustdom establish GLASS'
3940 To create a trustlationship with SAMBA as the trusted domain:
3942   1) create the initial trust account for GLASS using
3943      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
3944      account for GLASS$ prior to this step (depending on your
3945      local configuration).
3946   2) connect the trust from a WINDOWS DC using "User Manager
3947      for Domains"
3949 Now join winbindd on the Samba PDC to the SAMBA domain using
3950 the normal steps for adding a Samba server to an NT4 domain:
3951 (note that smbd & nmbd must be running at this point)
3953    root# net rpc join -U root
3954    Password: <enter root password from smbpasswd file here>
3956 Start winbindd and test the join with 'wbinfo -t'.
3958 Now test the trust relationship by connecting to the SAMBA DC
3959 (e.g. POGO) as a user from the WINDOWS domain:
3961    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3962    Password:
3964 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3966    $ smbclient //crystal/netlogon -U root -W WINDOWS
3967    Password:
3969 ######################################################################
3970 Changes in Winbind
3971 ##################
3973 Beginning with Samba3.0.0beta3, winbindd has been given new account
3974 manage functionality equivalent to the 'add user script' family of
3975 smb.conf parameters.  The idmap design has also been changed to 
3976 centralize control of foreign SID lookups and matching to UNIX 
3977 uids and gids.
3980 Brief Description of Changes
3981 ----------------------------
3983 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
3984    reverted to the 2.2.x design.  This means that when resolving a 
3985    SID to a UID or similar mapping:
3987         a) First consult winbindd
3988         b) perform a local lookup only if winbindd fails to
3989            return a successful answer
3991    There are some variations to this, but these two rules generally
3992    apply.
3994 2) All idmap lookups have been moved into winbindd.  This means that
3995    a server must run winbindd (and support NSS) in order to achieve
3996    any mappings of SID to dynamically allocated UNIX ids.  This was
3997    a conscious design choice.
3999 3) New functions have been added to winbindd to emulate the 'add user 
4000    script' family of smbd functions without requiring that external
4001    scripts be defined.  This functionality is controlled by the 'winbind 
4002    enable local accounts' smb.conf parameter (enabled by default).
4004    However, this account management functionality is only supported 
4005    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
4006    must be shared among multiple Samba servers (such as a PDC and BDCs), 
4007    it will be necessary to define your own 'add user script', et. al.
4008    programs that place the accounts/groups in some form of directory
4009    such as NIS or LDAP.  This requirement was deemed beyond the scope
4010    of winbind's account management functions.  Solutions for 
4011    distributing UNIX system information have been deployed and tested 
4012    for many years.  We saw no need to reinvent the wheel.
4014 4) A member of a Samba controlled domain running winbindd is now able 
4015    to map domain users directly onto existing UNIX accounts while still
4016    automatically creating accounts for trusted users and groups.  This
4017    behavior is controlled by the 'winbind trusted domains only' smb.conf
4018    parameter (disabled by default to provide 2.2.x winbind behavior).
4020 5) Group mapping support is wrapped in the local_XX_to_XX() functions
4021    in smbd/uid.c.  The reason that group mappings are not included
4022    in winbindd is because the purpose of Samba's group map is to
4023    match any Windows SID with an existing UNIX group.  These UNIX
4024    groups can be created by winbindd (see next section), but the
4025    SID<->gid mapping is retreived by smbd, not winbindd.
4028 Examples
4029 --------
4031 * security = server running winbindd to allocate accounts on demand
4033 * Samba PDC running winbindd to handle the automatic creation of UNIX
4034   identities for machine trust accounts
4036 * Automtically creating UNIX user and groups when migrating a Windows NT
4037   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
4038   'net rpc vampire' for this to work.
4040    
4041 ######################################################################
4042 Known Issues
4043 ############
4045 * There are several bugs currently logged against the 3.0 codebase
4046   that affect the use of NT 4.0 GUI domain management tools when run
4047   against a Samba 3.0 PDC.  This bugs should be released in an early 
4048   3.0.x release.
4050 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
4051 filed against the Samba 3.0 codebase.
4054 ######################################################################
4055 Reporting bugs & Development Discussion
4056 #######################################
4058 Please discuss this release on the samba-technical mailing list or by
4059 joining the #samba-technical IRC channel on irc.freenode.net.
4061 If you do report problems then please try to send high quality
4062 feedback. If you don't provide vital information to help us track down
4063 the problem then you will probably be ignored.  
4065 A new bugzilla installation has been established to help support the 
4066 Samba 3.0 community of users.  This server, located at 
4067 https://bugzilla.samba.org/, has replaced the older jitterbug server 
4068 previously located at http://bugs.samba.org/.