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