NEWS[4.17.0rc1]: Samba 4.17.0rc1 Available for Download
[samba-web.git] / history / samba-3.0.21a.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.21a Available for Download</H2>
12
13 <p>
14 <pre>
15                    ===============================
16                    Release Notes for Samba 3.0.21a
17                               Dec 30, 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 ######################################################################
26 Changes
27 #######
28
29 Changes since 3.0.21
30 --------------------
31
32 commits
33 -------
34 o   Gerald (Jerry) Carter <jerry@samba.org>
35     * RedHat 9 packaging Fixes.
36
37
38 o   Guenther Deschner <gd@samba.org>
39     * eDirectory schema syntax fixes.
40
41
42 o   Volker Lendecke <vl@samba.org>
43     * BUG 3349: Deadlock caused logic error in oplock code.
44
45
46 Release Notes for older release follow:
47
48       --------------------------------------------------
49                    ==============================
50                    Release Notes for Samba 3.0.21
51                             Dec 20, 2005
52                    ==============================
53
54 Common bugs fixed in 3.0.21 include:
55
56   o Missing groups in a user's token when logging in via kerberos
57   o Incompatibilities with newer MS Windows hotfixes and 
58     embedded OS platforms
59   o Portability and crash bugs.
60   o Performance issues in winbindd.
61
62 New features introduced in Samba 3.0.21 include:
63
64   o Complete NTLMv2 support by consolidating authentication
65     mechanism used at the CIFS and RPC layers.
66   o The capability to manage Unix services using the Win32 
67     Service Control API.
68   o The capability to view external Unix log files via the
69     Microsoft Event Viewer.
70   o New libmsrpc share library for application developers.
71   o Rewrite of CIFS oplock implementation.
72   o Performance Counter external daemon.
73   o Winbindd auto-detection query methods when communicating with
74     a domain controller.
75   o The ability to enumerate long share names in libsmbclient 
76     applications.
77
78
79 ######################################################################
80 Changes
81 #######
82
83 smb.conf changes
84 ----------------
85
86     Parameter Name                      Action
87     --------------                      ------
88     dfree cache time                    New
89     dfree command                       Per share
90     eventlog list                       New
91     iprint server                       New
92     map read only                       New
93     passdb expand explicit              New
94     rename user script                  New
95     reset on zero vc                    New
96     svcctl list                         Renamed from 'enable svcctl'
97
98
99
100 Changes since 3.0.20b
101 ---------------------
102
103 o   Jeremy Allison <jra@samba.org>
104     * BUG 1828: Fixed SPNEGO issues with PocketPC clients.
105     * Added 'map readonly' parameter.
106     * BUG 3166: Fix crash in libsmbclient if the $HOME environment is
107       not defined.
108     * Maintain schannel client session keys in volatile 
109       $(privatedir)/schannel_store.tdb.
110     * BUG 2769: Ensure we mangle filenames ending in a space
111     * Catch corner case of renaming a symlinked directory into 
112       itself
113     * Ensure that smb.conf requests for hidden files are honored, 
114       even when DOS attributes are stored in EA's
115     * Add new auth method "auth_script" for calling an external 
116       program
117     * BUG 2152: Fix for mangled filenames when the client does 
118       support long filenames
119     * Rewritten implementation of client and server DCE/RPC infrastructure 
120     * BUG 3192: Adds a "dfree cache time" parameter.
121     * Fix acl evaluation bug found by Marc Cousin.  Only evaluate 
122       the S_IWGRP mask in the absence of a POSIX ACL.
123     * Remove use of 'long long' in libsmbclient code.
124     * Ensure the new canonicalize_servicename() in name/snum hash 
125       is multi-byte safe.
126     * BUG 2922: Integration of FreeBSD AIO patches from Timur 
127       Bakeyev.
128     * BUG 3216: Put directory opens into the share mode db so we 
129       can treat them similarly to file opens (delete on close, 
130       share mode violations etc.).
131     * Fix bug in name mangling code when case sensitivity is enabled.
132     * Remove external dependencies from the sharemodes library.
133     * BUG 3212: Ignore bogus OS/2 set EA values on trans2 calls.
134     * Don't misinterpret wild card characters in file names on disk
135       as they are actually valid characters.
136     * BUG 3223: Fix bug in account policy management when 
137       account_pol.tdb settings have been migrating to an LDAP 
138       backend.
139     * Allow the hash size of the tdb open (locking) database to be 
140       set in local.h.
141     * Fix error code returns on client spoolss code.
142     * Remove unneeded strncpy use.
143     * Fix uninitialized variables warnings.
144     * Cleanup smbcacls security descriptor parsing and error codes.
145     * BUG 3224: Correctly use machine_account_name and client_name 
146       when doing netlogon credential setup.  Fixes winbindd running 
147       on a Samba PDC.
148     * Backport Samba 4 time zone handling.
149     * Fix core dump if setmntent() returns NULL.
150     * Replace old crc32 code with one from the FreeBSD tree.
151     * Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK.
152     * Remove #define of close -> close_fn macro in libsmbclient.
153     * Return early if -1 returned from *BSD EA call (reported by 
154       Timur).
155     * Name space cleanup by marking local functions static.
156     * Move samr enumeration cache from per handle basis to a shared 
157       cache.
158     * BUG 3274: Fix invalid smbclient qpath_basic() queries against 
159       OS/2 servers (based on patch from Guenter Kukkukk).
160     * Ensure default applies to new files (reported by Thomas 
161       Neumann).
162     * BUG 3293: Use SMBecho to testing the server in client rather 
163       than SMBchkpath.
164     * Merge talloc fixes from Samba 4 branch.
165     * Add support DCE/RPC cancel operation.
166     * Don't reset attrs to zero in EA get.  Fixes 'hide dot files'
167       when using EA for DOS attributes.
168     * Fix bug in returning remote time (reported by Thomas Bork).
169     * No users or groups to return in BUILTIN domain.
170     * Removed separate "builtin" search enumeration.
171     * Added count_sam_aliases to return the correct alias count.
172     * Correctly handle the LDAP_UNWILLING_TO_PERFORM error from 
173       eDirectory when accessing the universal password.
174     * Fix deadlock condition in share mode locking code.
175     * Fix logic bug in unix_mask_match().
176     * Fix memory leak in SMB client code found by Mikhail Kshevetskiy.
177
178
179 o   Rashid N. Achilov <shelton@granch.ru>
180     * Add better service description names to the svcctl code.
181
182
183 o   Timur Bakeyev <timur@com.bat.ru>
184     * BUG 3262: Improve FreeBSD DOS attribute error reporting.
185
186
187 o   Andrew Bartlett <abartlet@samba.org>
188     * Remove another ancient NTLMSSP implementation.
189     * Allow machine account logons work if the client gives the 
190       appropriate flags. 
191
192
193 o   Alexander Bokovoy <ab@samba.org>
194     * Add POSIX statvfs() to VFS api.
195
196
197 o   Gerald (Jerry) Carter <jerry@samba.org>
198     * Eventlog and ServiceControl support.
199     * BUG 1051: store the directory path so we can send the full 
200       name in the unlink call from smbclient.
201     * Use reference count strategy for keeping the registry tdb 
202       open.
203     * Convert internal registry objects to new hierarchical talloc
204     * Allow the root user a free pass for access checks in the
205       registry and service control checks.
206     * Sanity checks in the privilege code to prevent empty SID 
207       entries
208     * Add basic infrastructure for 'make test' when the socket 
209       wrapper library is configured at compile time
210     * Convert profiles utility to use the current regfio interface 
211       for reading and writing user profiles
212     * Remove netsamlogon_cache interface
213     * Ensure that print jobs are removed even when the cancel 
214       command is received before the print cache has been updated
215     * Fix linking problem on Solaris when including ACL support.
216     * Give root a free pass to open the eventlog tdb files.
217     * Fix segfault in addprinter due to mixing talloc() and 
218       malloc()'d memory.
219     * fix invalid read reported by valgrind in the spoolss 
220       backchannel connection.
221     * Remove use of 'long long' in perfcounter registry code.
222     * BUG 3201: make sure request structure is cleared prior to 
223       sending the request to winbindd.
224     * Don't count open pipes in the num_files_open on a connection
225       (regression from Samba 2.2).
226     * Ensure servername hashing code normalizes the name.
227     * Fix checks for connect() in -lnsl[_s].
228     * Convert eventlog API to use NTSTATUS return codes rather 
229       than WERROR.
230     * Fix segv in winbindd caused by an uninitialized variable 
231       in winbindd_dual_getsidaliases().
232     * Allow winbindd to select the appropriate backend methods
233       based on the DC attributes and not the security parameter.
234     * Re-add the netsamlogon_cache tdb and ensure that user entries
235       are updated from the PAC data during kerberos ticket 
236       validation.
237     * Fix lockup when running 'wbinfo -t' on a Samba PDC caused 
238       by mangling machine names in sub_set_smb_name().
239     * Add smbget to the list of tools built by default.
240     * Fix clearing of eventlog tdb files.
241     * Fix sequential reads in eventlog support.
242     * BUG 2718: Don't use qpathinfo_basic() call when remote server 
243       is Win9x.
244     * Fix build issues with the Sun compiler.
245     * BUG 3156: Don't use find_service() when explicitly looking 
246       for a printer.
247     * Fix nss_winbind_solaris.c build breakage on HP-UX.
248     * Initialize the local group description.
249     * Disable WINS and NetLogon services in the MMC services
250       plugin when the associated smb.conf features are not enabled.
251     * Add checks for invalid characters in new share names on the 
252       srvsvc pipe.
253     * Fix SWAT installation issues with 'make install'.
254
255
256 o   Alex Deiter <tiamat@komi.mts.ru>
257     * BUG 3196: Patch to compile against the Sun LDAP client libs.
258       (not for AD support; just ldap support).
259
260
261 o   Guenther Deschner <gd@samba.org>
262     * Fixed compile problems and warnings with newer OpenLDAP 
263       and OpenSSL libs
264     * Fix bug when enumerating trusted domains via 'wbinfo -m'
265     * Parse the MS Kerberos PAC to obtain the user group 
266       membership during logon.
267     * Add support for SeRestorePrivilege to allow a process to 
268       change the ownership of a file to any arbitrary account
269     * Fix password history storage when using Novell eDirectory for 
270       ldapsam storage
271     * Backport Kerberos PAC parsing from Samba 4 branch in order to
272       correctly create the NT User Token when logging into a Samba 
273       member server
274     * Add small helper function to return a PAC_LOGON_INFO.
275     * Use LDAP bitwise matching rule when searching for groups 
276       in ADS.
277     * Avoid an infinite loop when retrying to connect in smbspool.
278     * Memory leak fixes in the kerberos PAC parsing code.
279     * Improve NT_STATUS error messages returned from pam_winbind.
280     * Rename unknown samr group fields in samr structures with 
281       the correct name.removed separate "builtin" search enumeration.
282     * Cleanup redundant StartTLS code.
283     * Allow StartTLS support when connecting to Windows 2003 by
284       setting 'ldap ssl = start_tls'.
285     * Support raw NTLMSSP session setups in smbspool.
286     * Add rpccli_samr_chgpasswd3().
287     * Add 'wbinfo --separator'.
288     * Uninitialized warnings fixes.
289     * Fix return value in client spooler code.
290     * Require forced migration of account policies.  
291
292
293 o   Steve French <sfrench@us.ibm.com>
294     * Fix cifs to handle non-numeric uid and gid parameters.
295     * Merge trunk and SAMBA_3_0 mount.cifs code.
296     * Cleanup cifs cfs help message.
297
298
299 o   Paul Green <paulg@samba.org>
300     * Update to the latest config.guess and config.sub files.
301
302
303 o   Deryck Hodge <deryck@samba.org>
304     * Allow control of syslog facility and level in audit vfs modules.
305
306
307 o   S Murthy Kambhampaty <smk_va@yahoo.com>
308     * Patches for Fedora RPM specfile and init script
309
310
311 o   Krishna Ganugapati <krishnag@centeris.com>
312     * Use the subtree delete ldap control when running 'net ads 
313       leave'.
314
315
316 o   Volker Lendecke <vl@samba.org>
317     * New oplock implementation.
318     * Add assert() call if winbindd cannot locate the domain SID in 
319       secrets.tdb on startup
320     * Fix an annoying timeout in winbindd when nmbd is not running.
321     * Speed up loading smb.conf for large numbers of share 
322       definitions by adding an internal hashing of names to snums. 
323       Thanks to Michael Adam.
324     * Fix potential segv in rpcclient's lsarpc calls.
325     * Fix bugs in winbindd's use of rpccli_netlogon_getdcname().
326     * Fix alignment in getdc response.
327     * Allow pdbedit to set the domain for a user account.
328     * Fix fallback logic in rpc binds.
329     * Fix memleak in message handling code.
330     * Fix connection bug to port 445 and 139 after a successful 
331       getdcname response.
332     * Add additional calls to initialize_krb5_error_table() for 
333       kerberos client code.
334     * Implement the possibility to have AFS users as SIDs in pts.
335     * Removed unused alternative_name code from winbindd.
336     * Protect against NULL alternative_name strings in winbindd.
337     * Define a default panic action with -DEVELOPER is defined.
338     * Add the capability to reset smbd connections on a zero VC id.
339     * Allow smb.conf variable expansion to be disabled in passdb 
340       backends.
341     * Add lookupname to rpcclient query_user as a fallback.
342     * BUG 3292: Prevent smbclient from spinning when the server 
343       disconnects.
344     * BUG 2191: Fix valgrind error in cli_session_setup_guest().
345     * Add samr_lookup_rids for the builtin domain.
346     * Memory allocation cleanups in passdb.
347     * Restrict samr_open_domain() to our domain only.
348     * Change local_lookup_sid() to local_lookup_rid() since it 
349       is responsible for our domain only.
350     * Fix some uninitialized variable warnings.
351     * Fix winbind_lookup_name for the local domain, 
352
353
354 o   Derrell Lipman <derrell@samba.org>
355     * Cleanup libmsrpc version numbers.
356     * Libsmbclient memory & file descriptor leak fixes.
357     * Fix crash bug in libsmbclient.
358     * Add long share name support to libsmbclient when enumerating shares.
359
360
361 o   Jason Mader <jason@ncac.gwu.edu>
362     * Removed compiler various warnings.
363
364
365 o   Alex Masterov <alex@infobit.ru>
366     * BUG 3218: Fix XATTR calls on *BSD systems.
367
368
369 o   Jim McDonough <jmcd@us.ibm.com>
370     * Speed up string_to_sid by removing next_token calls and 
371       unneeded strncmp() calls.
372     * Implement user rename for smbpasswd and LDAP backends.
373     * BUG 2961 (partial): Add rename support for user accounts to tdbsam
374     * BUG 3187: Fix time zone offset in logon hours restrictions.
375
376
377 o   Stefan Metzmacher <metze@samba.org>
378     * Fix setting of quotas on linux kernel with the struct 
379       if_dqblk interface
380     * Enable sysquota interfact on Linux by default
381     * Use lp_socket_address() when binding to port 138/udp in nmbd.
382
383
384 o   Brian Moran <bmoran@centeris.com>
385     * Eventlog and ServiceControl support.
386     * Added eventlogadm tool for writing Eventlog records.
387     * Fix typo when creating Eventlog source DLL registry paths.
388     * Add simple script to tail syslog and write records to 
389       eventlog tdb.
390     * Fix segv in eventlogadm when not event logs are listed in 
391       smb.conf.
392
393
394 o   Lars Müller <lmuelle@samba.org>
395     * Only install smbsh manpage if smbwrapper has been successfully
396       built.
397     * Ensure setmntent() returns with != NULL in the disk_quotas() 
398       Linux version.
399     * Add configure switch to disable libmsrpc build.
400     * Add a soname to libmsrpc.
401
402
403 o   Ricky Nance <ricky.nance@gmail.com>
404     * Updates for the mklogon perl scripts.
405
406
407 o   Chris Nicholls <skel@samba.org>
408     * New libmsrpc library (Google SoC Project).
409     * Fix libmsrpc build of on the Sun compiler by removing empty 
410       structure declarations.
411
412
413 o   James Peach <jpeach@sgi.com>
414     * Fix parsing error for smb ports parameter.
415
416
417 o   Tim Potter <tpot@samba.org>
418     * BUG 3260: Fix DYNEXP flags on HPUX.
419
420
421 o   Marcin Porwit <mporwit@centeris.com>
422     * Eventlog and ServiceControl support.
423     * Added basic Performance Counter daemon which can feed data
424       for the Windows perfmon.exe tool.
425     * Fix directory permissions in the perfcounter daemon.
426     * Add the 'File' registry value for the eventlog keys.
427
428
429 o   Aruna Prabakar <aruna.prabakar@hp.com.
430     * Add checks to verify that the spooler is running on HP-UX when
431       reloading the printer name cache.
432
433
434 o   Joel Smith <joel.j.smith@novell.com>
435     * Add iPrint printing backend support.
436
437
438 o   Toomas Soome <Toomas.Soome@mls.ee>
439     * Implement host lookups in nss_winbind.so.1 on Solaris
440
441
442 o   Simo Sorce <idra@samba.org>
443     * Update Debian packaging.
444
445
446 o   John Terpstra <jht@samba.org>
447     * Add 'net idmap' usage help text.
448
449
450 o   Andrew Tridgell <tridge@samba.org>
451     * Change license notice of standalone talloc library to LGPL.
452
453
454 o   Darren Tucker <dtucker@zip.com.au>
455     o Crash fix for snprintf() code.
456
457
458 o   Rainer Weikusat <rainer.weikusat@sncag.com>
459     * Fix function name typo in skeleton VFS code.
460
461
462
463 Release Notes for older release follow:
464
465       --------------------------------------------------
466                    ===============================
467                    Release Notes for Samba 3.0.20b
468                              Oct 12, 2005
469                    ===============================
470
471 Common bugs fixed in 3.0.20b include:
472
473   o A crash bug in winbindd
474   o Reporting files as read-only instead of returning the 
475     correct error code of "access denied"
476   o File system quota support defects
477   
478
479 ######################################################################
480 Changes
481 #######
482
483
484 Changes since 3.0.20a
485 ---------------------
486
487 commits
488 -------
489
490 o   Jeremy Allison <jra@samba.org>
491     * BUG 3088: Fix error condition for files on a read-write share 
492       which cannot be read due to permissions.
493
494
495 o   Gerald (Jerry) Carter <jerry@samba.org>
496     * BUG 3070: Fix crash bug in qfsinfo when retrieving fs quota 
497       details.
498     * BUG 1473, 3090: Quota detection and compilation problems on 
499       Solaris.
500
501
502 o   Marc Balmer <marc@msys.ch>
503     * Build fixes when builddir != srcdir
504
505
506 o   Alex Deiter <tiamat@komi.mts.ru>
507     * BUG 3145: Fix build issue regarding quota support on Solaris.
508
509
510 o   Volker Lendecke <vl@samba.org>
511     * BUG 3068: Fix for winbindd crashed by empty DC alternative 
512       name.
513
514
515       --------------------------------------------------
516                    ===============================
517                    Release Notes for Samba 3.0.20a
518                              Sept 30, 2005
519                    ===============================
520
521 Common bugs fixed in 3.0.20a include:
522
523   o Stability problems with winbindd.
524   o Crash bugs caused by incompatibilities on 64-bit systems.
525   o Missing files from directory listings on AIX servers
526   o User Manager interoperability problems.
527   o Minor build difficulties on various platforms such as 
528     Solaris and OpenBSD, 
529
530
531 Winbind, security = domain, and Active Directory
532 ================================================
533
534 Recent security updates for Windows 2000 and Windows 2003 have 
535 changed the fashion in which user and group lists can be obtained 
536 from domain controllers.  In short, the RPC mechanisms used by 
537 "security = domain" to retrieve users and groups is not compatible 
538 with these changes.   The "security = ads" configuration is not 
539 affected by the Windows protocol changes.
540
541 Samba developers are actively working to correct this problem in 
542 the 3.0.21 release.  In the meantime, Administrators who are unable 
543 to migrate to "security = ads" and must continue using "security = 
544 domain", can define credentials to be used by winbindd for account
545 enumeration by executing the following command as root.
546
547         wbinfo --set-auth-user='DOMAIN\username%password'
548
549
550
551 ######################################################################
552 Changes
553 #######
554
555
556 Changes since 3.0.20
557 --------------------
558
559 commits
560 -------
561
562 o   Jeremy Allison <jra@samba.org>
563     * BUG 3065: Fix for legacy clients retrieving a listing of 
564       an empty directory.
565     * Added external library for accessing Samba's share mode 
566       database.
567     * Fix winbindd credentials chain which caused logon failures 
568       after attempting to authenticate an unknown user.
569     * Fix recursive looping bug in winbindd.
570     * Fix build errors on 64-bit systems.
571     * Posix ACL memory leak and crash bug fixes.
572     * BUG 3044: Ensure OPEN-EXEC is honored as read-only.
573     * BUG 3060: Ensure SMBcreate truncates the file if it exists.
574     * Hide dot files and directory logic fixes.
575     * Correct display of open file modes by smbstatus.
576     * BUG 3010: Fix missing files bug on AIX systems.
577
578
579 o   Gerald (Jerry) Carter <jerry@samba.org>
580     * Allow the root user to automatically pass se_access_checks()
581       in the registry and service control server code.
582     * Ensure that winbindd uses the correct name in the net_auth2()
583       request when running on a Samba PDC.
584     * Fix linking problem with tdb utilities.
585     * BUG 3080: Fix regression in 'net rpc shutdown' command.
586     * Fix segv in 'net rpc' when the pipe open fails.
587     * Fix upload bug when installing 64-bit Windows printer drivers.
588     * Fix regression in the smburi syntax used by smbspool.
589     * Fix sorting of subkey hash records in registry files.
590     * Correct REG_CREATE_KEY_EX parsing error.
591     * Interoperability issues with usrmgr.exe and Samba groups.
592     * Use the display names and not the Unix names when enumerating
593       groups in the ldapsam passdb backend.
594     * Ensure that Windows domain user names are converted to lower case.
595
596
597 o   Guenther Deschner <gd@samba.org>
598     * Prevent BUILTIN sids returned in the user's token from 
599       a Windows DC from being applied to any local group mappings
600       on the Samba host.
601     * Plug memory leaks in the kerberos keytab code.
602     * Ensure BUILTIN groups are returned from winbindd's idmap_rid
603       backend when 'winbind nested groups' is enabled.
604     * Fix crash bug in winbindd caused by 64-bit build issues.
605     * Improve debug messages in smbspool.
606     * Give better error-message when "NDS Universal Password" change fails.
607     * Fix password history error in the eDirectory schema file.
608     * Ensure that Windows domain group names are converted to lower case.
609
610
611 o   Steve French <sfrench@us.ibm.com>
612     * Allow disabling mandatory byte range lock mount flag, and fix 
613       corresponding entry in mtab.
614
615
616 o   Volker Lendecke <vl@samba.org>
617     * Fix race condition in the NTcreate&X open code when the 
618       disposition is NTCREATEX_DISP_CREATE.
619     * Correct logic error when checking the pid for pending print 
620       change notify messages.
621     * Ensure that winbindd child process complete startup even when
622       the parent is receiving authentication requests.
623     * Return the full NTSTATUS code to ntlm_auth and pam_winbindd
624       when authentication fails.
625
626
627 o   Jason Mader <jason@ncac.gwu.edu>
628     * Compile warning fixes.
629
630
631 o   Uli Meis <a.sporto@gmail.com>
632     * Patches for pdb_*sql.c
633
634
635 o   Luke Mewburn <lukem@NetBSD.org>
636     * Autoconf syntax fixes.
637
638
639 o   James Peach <jpeach@sgi.com>
640     * Correct problem with creating a core file in Linux.
641
642
643 o   Stefan Metzmacher <metze@samba.org>    
644     * Quota fixes in smbd.
645
646
647 o   Peter Rindfuss <rindfuss@wz-berlin.de>
648     * Patches for pdb_*sql.c
649
650
651 o   Jiri Sasek <Jiri.Sasek@Sun.COM>
652     * Solaris toolchain patches for autoconf scripts.
653
654
655 o   Andrew Tridgell <tridge@samba.org>
656     * Fix for tdb clear-if-first race condition.
657
658
659 o   Leo Weppelman <leo@wau.mis.ah.nl>
660     * BUG 3104: Don't allow time updates to files on read-only shares.
661
662
663 o   Steve Williams <steve@celineandsteve.com>
664     * BUG 3052: Fix compile issues on OpenBSD.
665
666
667       --------------------------------------------------
668                    ==============================
669                    Release Notes for Samba 3.0.20
670                              Aug 19, 2005
671                    ==============================
672
673 Additional features introduced in Samba 3.0.20 include:
674
675   o Support for several new Win32 rpc pipes.
676   o Improved support for OS/2 clients.
677   o New 'net rpc service' tool for managing Win32 services.
678   o Capability to set the owner on new files and directory
679     based on the parent's ownership.
680   o Experimental, asynchronous IO file serving support.
681   o Completed Support for Microsoft Print Migrator.
682   o New Winbind IDmap plugin (ad) for retrieving uid and gid
683     from AD servers which maintain the SFU user and group 
684     attributes.
685   o Rewritten support for POSIX pathnames when utilizing 
686     the Linux CIFS fs client.
687   o New asynchronous winbindd.
688   o Support for Microsoft Print Migrator.
689   o New Windows NT registry file I/O library.
690   o New user right (SeTakeOwnershipPrivilege) added.
691   o New "net share migrate" options.
692
693
694 What happened to 3.0.15 - 3.0.19?
695 ==================================
696
697 After some discussion it was deemed that the amount of changes 
698 going into the next Samba 3.0 release needed something to catch
699 people's attention.  Skipping several releases was chosen as 
700 the best solution with the least overhead.  There will be no
701 3.0.15 - 3.0.19 ever released.  The next production release
702 following 3.0.20 should be 3.0.21.
703
704 The original announcement about the version number change can 
705 be found in the samba mailing list archives:
706
707 http://marc.theaimsgroup.com/?l=samba&m=111721010206997&w=2
708
709
710 Asynchronous Winbind Implementation
711 ===================================
712
713 Winbindd has been completely rewritten in this release to support
714 an almost completely non-blocking, asynchronous request/reply
715 model.  This means that winbindd will scale much better in 
716 large domain environments and on high latency networks.  Neither 
717 the client interface nor the command line tools (i.e. wbinfo) have 
718 changed in their calling conventions or syntax.  However, due to 
719 internal structure changes, it is required (more so than normal) 
720 that you install the nss_winbind.so library included in this release.
721
722
723 Support for Microsoft Print Migrator
724 ====================================
725
726 Samba 3.0.20 includes full support for migrating printers from 
727 Windows servers or other Samba servers via the Microsoft Print 
728 Migrator tool.  Restoring printers requires a working "add printer 
729 command" defined in smb.conf.  Current support also allows
730 administrators to create a master list of printer drivers which
731 can be restored in bulk on new (or existing) Samba installations.
732
733
734 Asynchronous IO Support
735 =======================
736
737 Experimental support for async IO has been added to smbd for 
738 certain platforms.  To enable this new feature, Samba must be 
739 compiled to include the --with-aio-support configure option.
740 In addition, the "aio read size" and "aio write size" to non-zero
741 values.  See the smb.conf(5) man page for more details on these 
742 settings.
743
744
745 ######################################################################
746 Changes
747 #######
748
749 smb.conf changes
750 ----------------
751
752     Parameter Name                      Action
753     --------------                      ------
754     acl check permissions               New
755     acl group control                   New
756     acl map full control                New
757     aio read size                       New
758     aio write size                      New
759     enable asu support                  New
760     inherit owner                       New
761     ldap filter                         Removed
762     map to guest                        Modified (new value added)
763     max stat cache size                 New
764     min password length                 Removed
765     printer admin                       Deprecated
766     username map script                 New
767     winbind enable local accounts       Removed
768     winbindd nss info                   New
769
770
771 Changes since 3.0.14a
772 ---------------------
773
774
775 commits
776 -------
777
778 o   Jeremy Allison <jra@samba.org>
779     * BUG 2533: Fix incorrect directory listings for OS/2 clients.
780     * Ensure the old SMB search calls always ask mask_match() to 
781       translate patterns like ????????.???.
782     * Split out the check_path_syntax() into a findfirst, findnext,
783       & wildcard versions.
784     * Fix checks for matching groups in an file ACL against the
785       user's primary and supplementary group list.
786     * BUG 2541: Ensure we recognize LANMAN2.1 as OS/2 and select 
787       LANMAN2 protocol, ensure the EA size is always correctly 
788       set on a query for a file with no EA's.
789     * BUG 2551: Look at the incoming flags2 flag 
790       FLAGS2_LONG_PATH_COMPONENTS determines if a reply is 
791       uppercased on a SMBsearch request, not the protocol level.
792     * Added "volume" command to smbclient that prints out the 
793       volume name and serial number.
794     * Added "fix for broken SMB_INFO_VOLUME level used by OS/2.
795     * Add support for OS/2 Extended Attributes.
796     * Correctly check OpenX open modes.
797     * Ensure allocation size is correctly returned for OpenX. 
798     * Only set allocation on create/truncate for nttrans.
799     * Fix oplock bug in trans2open() code.
800     * Remove unix_ERR_XXX global nastiness.
801     * Only do the strange DOS error for openX, not trans2open.
802     * Ensure SMBopen replies includes the share modes as well as 
803       open modes.
804     * BUG 2581: Add size limit (in kb) to stat cache.
805     * Fix bug in the trans2 secondary processing.
806     * BUG 2601: Enforce DOS_OPEN_EXEC to mean read-only.
807     * Add an SMB counter per connection struct for gathering
808       profiling data.
809     * BUG 2605: Ensure smbclient doesn't perform commands if 
810       the "chdir" fails in a scripted set.
811     * Ensure a 'forced group' is added to the list of effective
812       gids when processing ACLs.
813     * Refactor rpc_bind structures for better future work.
814     * BUG 2942: Add missing value in debug message.
815     * BUG 2946: Fix regressions in str[n]cmp_w) functions found
816       by 'mangling method = hash'.
817     * Fix memory leaks in the msdfs trans2 server code.
818     * Convert msdfs server to be talloc'd based.
819     * Fix up stackable vfs interface.
820     * Fix rpc fault when encountering an unknown rpc_bind auth 
821       type.
822     * BUG 2954: More AIX 5.1 AIO compile fixes.
823     * Fix valgrind bug in interaction with new aio buffer (found
824       by Volker).
825     * BUG 2878: Fix Norton commander not running on OS/2 clients. 
826     * Cleanup SAMR user info structure naming.
827     * BUG 2889:  Fix directly listings from OS/2 clients.
828     * Added "acl group control" parameter.
829     * Add debug warning if AddPrinterEx() is called without having
830       an 'add printer command'  defined.
831     * Add better log messages when modifying ldap entries.
832     * BUG 2829: Fix strXX_w() functions on non-x86 platforms when 
833       when string is unaligned.
834     * BUG 2918: Fix SMB chaining by ensuring that deferred open 
835       message buffer is nor reused.
836     * Add support for client setting capabilities to select posix 
837       pathnames on the wire.
838     * Stop using C++ reserved words so that Samba can be compiled 
839       using g++.  Also allows VFS modules in C++.
840     * More fixes to allow better large directory scaling.
841     * BUG 2827: Ensure we call the vfs connection hook before 
842       doing a vfs stat.  Allows database vfs backends to initialize 
843       with a working connection.
844     * BUG 2826: Ensure the correct return value for symlink and 
845       readlink in the VFS.
846     * Merge handling of ASN.1 objects bigger than 64k from Samba 4.
847     * Added AIO support to smbd.
848     * Add "acl map full control", true by default, to allow people 
849       to change mapping of rwx to full control or not.
850     * Transition smbd to use NTcreate&X for internal file opens.
851     * Add checks against the current effective group id (e.g. force 
852       user) when testing write permissions one ACLs.
853     * Fix FindFirst/FindNext server code when parsing directories
854       on old IRIX XFS file systems (thanks to Cale Fairchild
855       for the debugging help).
856     * BUG 2644: Test for special files to be ignored was reversed.
857     * Ensure yield_connection() is called on all appropriate error
858       conditions.
859     * Fix EDEADLCK problem with deferred open calls.
860     * BUG 2622: Remove DPTR_MASK as it makes no sense.
861     * Fix the write cache based on some VERY good detective work
862       from Ingo Kilian.
863     * BUG 2346: Fix read-only excel file bugs.
864     * Don't wrap the setfsinfo call in HAVE_QUOTA as they'll just 
865       return ENOSYS if not implemented.
866     * Add new CAP for POSIX pathnames.
867     * BUG 2703: Add NULL guard for disp_fields[0].
868     * BUG 2681: With "strict allocate = yes" we now zero fill when 
869       a file is extended. Should catch disk full errors on write
870       from MS-Office.
871     * Add "acl check permissions" to turn on/off the new 
872       behavior of checking for write access in a directory 
873       before delete. 
874     * Refactor printing interface to take offset into job. 
875     * Allow mapping of POSIX ACLs to NT perms to differentiate 
876       between directories and files.
877     * Added encrypt/decrypt function for LSA secrets and trusted
878       domain passwords on the wire.
879     * BUG 2729: Resume keys are *mandatory* for a search when 
880       listing a W2K and above server from a FATxx filesystem only.
881     * BUG 2735: Ensure that smbd mangles control characters in file 
882       and directory names.
883     * Refactor small pieces of socket handling code (in conjunction 
884       with Derrell).
885     * BUG 2698: Fix infinite listing loop in smbclient caused by
886       an invalid character set conversion.
887     * Add client code that will abort a directory listing if we 
888       see the same name twice between packets.
889     * Performance improvements in trans2 qfilepathinfo code by 
890       removing unnecessary memset() calls.
891     * Rewrite the RPC bind parsing functions to follow the 
892       spec; fixes bug with 64-bit Windows XP and OS X 10.4.
893     * BUG 2774: Set sparse flag if needed when returning 
894       file attributes.
895     * Fix errors listing directories from Windows NT clients 
896       which caused "." and ".." to show up in explorer.exe.
897     * Merge of error code fixes from SAMBA_4_0 branch.
898     * BUG 2801: Fix regression in the "delete veto files" option.
899     * Fix based on work from  Shlomi Yaakobovich to catch loops 
900       in corrupted tdb files.
901     * Allow someone with SeTakeOwnershipPrivilege to chown the 
902       user of a file to herself.
903     * Fix minor compiler warnings in printing/printing.c.
904     * Merge new DOS error code from SAMBA_4.
905     * Fix issue when non-English characters in filenames and 
906       directories.
907     * Fix bogus error message in smbstatus about unknown share modes.
908
909
910 o   Andrew Bartlett <abartlet@samba.org>
911     * Support raw NTLMSSP authentication for Windows Vista 
912       clients.
913     * Fix parallel NTLMSSP processing by removing global state.
914     * BUG 2684: Add per service hosts allow/deny checks for 
915       printers when  connecting via MS-RPC.
916     * BUG 2391: Fix segv caused by free a static pointer returned 
917       from getpwnam().
918     * Support kerberos authentication in smbd when using a keytab
919       and participating in a non-Microsoft Kerberos realm.
920
921
922 o   Timur Bakeyev <timur@com.bat.ru>
923     * BUG 2546: Add support for FreeBSD EA API
924     * Fix detection of FreeBSD 7.x platforms in autoconf checks.
925     * BUG 2908: Fix string length logic error in msdfs code.
926     * BUG 2909: Fix typo that caused smbd to call the wrong 
927       aio_fsync function.
928
929
930 o   Ed Boraas <ed.boraas@concordia.ab.ca>.
931     * Added Linux per-socket TCP settings.
932
933
934 o   Gerald (Jerry) Carter <jerry@samba.org>
935     * Added support for \svcctl pipe rpcs.
936     * Added 'net rpc service' subcommand for managing Win32 
937       services.
938     * Refactoring work on the rpc [un]marshalling layer and 
939       structures.
940     * Verify privilege name in 'net rpc rights privileges' in 
941       order to provide better error messages.
942     * Cleanup rpc structures in rpc_spoolss.h.
943     * Cleanups and fixes for the \winreg server code.
944     * Cleanup of rpc structures used by LsaEnumerateTrustedDomains.
945     * Fix bugs in client spoolss code after refactoring work.
946     * Fix Valgrind warnings of invalid reads in the spoolss 
947       server code.
948     * Fixed a segv when enumerating services on a Samba host.
949     * Fix segv in the service control server code.
950     * Fix crashes in client spoolss calls caused by not checking 
951       for a valid pointer from the caller.
952     * Fix regression in DeleteDriver() server routines.
953     * Fix dup_a_regval() when size is 0.
954     * Fix usrmgr.exe crash when viewing user properties at 
955       debuglevel 10.
956     * Do not enumerate any privileges when 'enable privileges = no'
957       and log a message if a client tries.
958     * BUG 2872: Fix cut-n-paste error when checking pointer value 
959       in ntlmssp_set_workstation().
960     * Fix upgrade path from earlier nt*tdb files.
961     * Removed print handle object cache.
962     * BUG 2853: Don't strip out characters like '$' from printer 
963       names when substituting for the lpq command.
964     * BUG 2557: Gracefully fail on unsupported SetPrinter() levels.
965     * Fix build issues on x86_64-linux systems caused by valgrind 
966       headers.  Thanks to Bent Vangli to the suggestions.
967     * Refactor spoolss client calls.
968     * Adding 'username map script'.
969     * Disable schannel on the LSA and SAMR pipes in winbindd client 
970       code to deal with Windows 2003 SP1 and Windows 2000 SP4 SR1.
971     * Cleanup of winreg API functions.
972     * Add server stubs for RegSetKeySec() and RegGetKeySec().
973     * Map generic bits to specific bits in reg_open_entry() 
974       requests.
975     * Add write support to registry tdb and printing backends.
976     * Use tdb lookups rather than hard-coding certain registry 
977       value names and data.
978     * BUG 2808: don't try to install man pages if they are not 
979       present.
980     * Fix initialized variables reported by valgrind.
981     * Normalize key lookups in ntprinters.tdb.
982     * Mark "enumports command" as deprecated.
983     * Add missing class file for python share command example.
984     * Fix smbclient build issue on Solaris.
985     * BUG 2626: ensure that the calling_name is set to something 
986       after parsing smb.conf (if not set via -n).
987     * Use "add machine script" when creating a user (ACB_NORMAL)
988       who has a name ending in '$' (e.g. usrmgr.exe creating
989       domain trust accounts).
990     * Add 'rid' synonym for idmap_rid IDMap module.
991     * Ensure that we set full access on the handle returned 
992       from _samr_create_dom_{alias,group}() so that future 
993       set_{alias,group}() commands succeed.
994     * Fix bug when looking for internal domains in winbindd
995       (caused winbindd_getgrgid() for local groups to fail).
996     * Fix query and set alias info calls (level 1 from the MMC 
997       manage computer plug-in.
998     * Remove bogus log messages about unknown specversions.
999     * BUG 2680: copy files from an MS-DFS win2k root share
1000     * BUG 2688: re-implement support for the -P (--port) option
1001     * Support connecting to an 'msdfs proxy' share on a Samba
1002       server.
1003     * Strip the directory path from cups command line printing 
1004       defaults.
1005     * Fix bug that prevented smbclient from creating directories 
1006       on non-dfs paths.
1007     * Deprecate the "printer admin" parameter in favor of the 
1008       SePrintOperatorPrivilege.
1009     * Add the capability to read and write WinNT regf registry 
1010       files.
1011     * Implement access checks for RegOpenXXX() server calls.
1012     * Extend registry client rpc calls.
1013     * Add "net rpc registry" set of commands.
1014     * Remove testprns tool.
1015     * Ensure that printer ACLs use the specific bits as well as 
1016       the generic bits.  Upgrade existing ntprinters.tdb SECDESC 
1017       records.
1018     * Add server support for RegSaveKey() for dumping registry 
1019       trees to a regf file.
1020     * Add "enable asu support" smb.conf parameter.
1021     * Merge various small file changes from trunk.
1022     * Remove "winbind enable local accounts" support.
1023     * Remove "ldap filter" smb.conf option.
1024     * Remove editreg utility (needs to be rewritten using regfio.c).
1025     * Fix build failure when running 'make torture' without first 
1026       running 'make all' first.
1027     * BUG 1261: Remove unusable libbiconv from iconv detection 
1028       in configure.
1029     * Add new option for "map to guest".  "Bad Uid" re-enables the
1030       Samba 2.2 behavior of mapping authenticated users to the
1031       guest account if there does not exist a valid Unix account 
1032       for the Windows domain user (based on patch from 
1033       aruna.prabakar@hp.com).
1034     * Fix a couple of regressions after introduction of new winbindd.
1035     * Fix smbpasswd user password change (still worked by bad error
1036       messages) due to trying to strdup a NULL pointer.
1037     * Implement default security descriptors for the
1038       OpenService[Manager]() calls and check requested access mask 
1039       at connect time.
1040     * Include access checks on handle mask for \svcctl operations
1041       such as ControlService() and StartService().
1042     * Implement simulated start and stop service control for 
1043       the spooler service as a per smbd service state value.
1044     * Add interface structure for controlling service via rc.init
1045       scripts (incomplete).
1046     * Convert move_driver_to_download_area() to use copy_file()
1047       rather than moving the files.
1048     * Add version number to registry.tdb file since it can be 
1049       modified now.
1050     * Remove over-paranoid assert() call when checking spoolss 
1051       buffer pointers
1052     * Fix error in EnumPrinterData() reported by valgrind.
1053     * Fix broken help links in SWAT editor caused by new doc layout.
1054     * Ensure that a domain structure in winbind is initialized prior
1055       to assigning the methods for communicating to a DC.
1056     * BUG 3000: Remove background updates of winbind cache and allow
1057       child processes to immediately update and expired cache entry.
1058
1059
1060 o   David.Collier-Brown  <David.Collier-Brown@sun.com>
1061     * Added panic action script for Solaris.
1062
1063
1064 o   Jeremy Cooper <jeremy@ncircle.com>
1065     * Added support for several new \winreg client rpcs.
1066
1067
1068 o   <core@road-star.jp>
1069     * BUG 2792: Ensure the shadow copy module hooks seekdir, 
1070       telldir, rewinddir to match updated large directory code.
1071
1072
1073 o   Guenther Deschner <gd@samba.org>
1074     * Close handles on group creation in rpcclient to better 
1075       support mass group account creation.
1076     * Fix account policy key lookup for minimum and maximum
1077       password lengths.
1078     * Fix some compiler warnings and add missing exclude-block 
1079       in 'net rpc share migrate'.
1080     * Allow use of a non-default smb.conf by rpcclient.
1081     * Fix querydispinfo search semantics in rpcclient test code.
1082     * Fix querydispinfo server semantics to allow to list more 
1083       then 511 users.
1084     * Fix server crash bug in ancient OpenPrinter() call.
1085     * Fix a crash bug when enumerating privileges via the LSA 
1086       calls.
1087     * Fix crash in EnumPrinterKey() client calls caused by previous 
1088       refactoring work.
1089     * Various compiler warning fixes.
1090     * Fix segfault in the client AddPrinterEx-call of 'net 
1091       rpc printer'.
1092     * Fix build issues when --with-aio-support is enabled.
1093     * BUG 2502: Removed the deprecated 'min passwd length parameter'.
1094     * Honour the CC environment variable in python build.
1095     * Fix searches in pdb_ldap for inter-domain trust accounts.
1096     * Don't expand the %L in %LOGONSERVER% from user attributes.
1097     * Fix bug in 'net rpc vampire' that caused accounts to be created 
1098       with no assigned ACB flags.
1099     * Fix enumeration of builtin-aliases.
1100     * Avoid unset rids for builtin-aliases.
1101     * Add 'recycle:touch_mtime = true' vfs option for the recycle bin.
1102     * More "net rpc share migrate" fixes.
1103     * Merge PADL's idmap_ad plugin (taken from the latest 
1104       xad_oss_plugins-tarball).
1105     * Add support for "idmap backend = ad" when "security = ads".
1106     * Add home directory and shell support from AD via "winbindd nss 
1107       support = sfu" and "security = ads".
1108     * Provide better feedback when we fail share-manipulation 
1109       due to missing scripts.
1110     * Correctly substitute "\" as default winbind separator in 
1111       generate_parm_table.py example share command script.
1112     * Document pam_winbind.c to clarify the working status of
1113       require-membership-of option.
1114     * Added client-support for various lsa_query_trust_dom_info()
1115       calls and a rpcclient-tester for some info-levels.
1116     * Add "net rpc trustdom vampire" tool (in conjunction with 
1117       Lars Mueller).
1118     * Add missing cli_srvsvc_net_share_set_info-function and
1119       rpcclient-testers (in preparation for net share acl migration).
1120     * Print trusted domain passwords returned via rpcclient in 
1121       display charset.
1122     * Error code fixes when attempting to manipulating 
1123       non-existent shares.
1124     * Cleanup "net share migrate" code. 
1125     * Allow to touch mtime in vfs-recycle with "recycle:touch_mtime 
1126       = true".
1127     * Allow admins to uncheck the "User must change Password at 
1128       next Logon" checkbox in User manager (merge from trunk).
1129
1130
1131 o   Renaud Duhaut <rd@duhaut.com> 
1132     * BUG 1040: Add directory_mode parameter when creating recycle
1133       directories.
1134
1135
1136 o   Steven Edwards <steven_ed4153@yahoo.com>.
1137     * Use chsize() if we don't have ftruncate().
1138
1139
1140 o   Rodrigo Fernandez-Vizarra <Rodrigo.Fernandez-Vizarra@Sun.COM>
1141     * BUG 1780: Add kerberos (file based ticket cache) support 
1142       to smbspool.
1143
1144
1145 o   Steve French <sfrench@us.ibm.com>
1146     * Update list of mount options for mount.cifs.
1147     * Add more defines for POSIX extensions to match the newly 
1148       added client implementation.
1149     * Add initial support for cifs umount utility.
1150     * Fix cifs mounts to handle commas embedded in prompted 
1151       password, and password and credential files.
1152     * Fix cifs mounts to handle domain name and user name in 
1153       username field (in form domain\user).
1154     * Add missing error code mappings when a client unsuccessfully 
1155       tries to create a hard-link.
1156     * Add support so umount.cifs can update mtab.
1157     * Add two newer mount options to syntax help for mount.cifs.
1158     * Add missing remount flag handling.
1159     * Allow domain= to be specified in credentials file. 
1160     * Fix umount.cifs help, allow root to unmount someone else's
1161       mount.
1162     * Lock mtab when updating it during umount.cifs, also delete
1163       only one matching entry at a time.
1164     * Fix minor compiler warnings in the mount.cifs helper.
1165
1166
1167 o   Deryck Hodge <deryck@samba.org>
1168     * BUG 2137: Encode quotes for display in HTML (original patch 
1169       from Jay Fenlason).
1170
1171
1172 o   Olaf Imig <Olaf.Imig@bifab.de>
1173     * BUG 1998: Correct byte ordering bug when storing 16-bit RAP 
1174       print job ids.
1175     * BUG 2653: Fix segv in rpcclient OpenPrinterEx() call.
1176
1177
1178 o   Björn Jacke <bj@sernet.de>
1179     * Added ioctl constants reported by msbackup.exe and filemon.exe.
1180
1181
1182 o   Kevin Jamieson <bugzilla@kevinjamieson.com> 
1183     * BUG 2819: Fix typo when checking for ".." in smbd's statcache.
1184
1185
1186 o   John Janosik <jpjanosi@us.ibm.com>
1187     * BUG 2077: Correctly fill in the correct server name when 
1188       processing trusted domain logins.
1189     * BUG 2976: Mark logons for unknown domains with a 
1190       non-authoritative response.
1191
1192
1193 o   William Jojo <jojowil@hvcc.edu>
1194     * AIX AIO fixes.
1195
1196
1197 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
1198     * BUG 2541: Fix copying of file(s) from samba share to an OS/2 
1199       local drive.
1200
1201
1202 o   Tom Lackemann <cessnatomny@yahoo.com>
1203     * BUG 2242: Patch to ensure that we only set the security 
1204       descriptor on an NTtransact create if we created the file.
1205
1206
1207 o   Volker Lendecke <vl@samba.org>
1208     * Port some of the non-critical changes from HEAD to 3_0. 
1209       The main one is the change in pdb_enum_alias_memberships 
1210       to match samr.idl a bit closer.
1211     * Close handles on user creation in rpcclient to better 
1212       support mass user account creation.
1213     * Implement client RAP calls for enumusers/enumgroups level 0.
1214     * Implement a new caching API for enumerating the pdb elements.
1215     * Convert the RAP user and group enumeration functions to the 
1216       utilized the pdb_search API. 
1217     * BUG 2438: Partial fix for 'net rpc trustdom establish' in 
1218       RestrictAnonymous environments.
1219     * Internal passdb API changes for better search capabilities
1220       (based on original work by Guenther Deschner).
1221     * Fix various compiler warnings.
1222     * Add chain length statistics to tdbtool.
1223     * Fix set afs ACL calls on files and directories in the root of 
1224       a share.
1225     * Refactoring work on internal open code
1226     * Correctly initialize the version in a new set of nt*tdb files.
1227     * Remove smb_run_idle_events() from main process loop in smbd 
1228       and instead rely upon the timeout processing to handle 
1229       dropping idle LDAP connections.
1230     * Fix the bug where users show up as trusting domains.
1231     * Fix an assertion failure in winbindd.
1232     * Fix a memleak in vfs_afsacl.
1233     * Various compiler warning fixes.
1234     * Fix compile when --enable-socket-wrapper is defined.
1235     * Fixes for top level acls in vfs_acl.c.
1236     * Refactor passdb interface functions.
1237     * Compile fixes when '#define PARANOID_MALLOC_CHECKER 1'.
1238     * Correct 2 segv's in "net rpc printer migrate".
1239     * Return correct group type from smbd for BUILTIN groups.
1240     * Backport the talloc() layer from Samba 4.
1241     * BUG 2701: Fix segv in ldap reconnection code.
1242     * BUG 2705: Fix segv when connecting from usrmgr.exe.
1243     * Use the SID in the user token for the %s expansion in 'afs 
1244       username map'.
1245     * Memory leak fixes in passdb code.
1246     * BUG 2720: Fixes for "net usersidlist".
1247     * BUG 2725: Fix segv in "net ads user".
1248     * Only allow schannel connections if a successful Auth2 
1249       has been previously performed.
1250     * Don't look at gencache.tdb for the trusted domains if 
1251       winbind is present.
1252     * Rewrite winbindd using an asynchronous process model.
1253
1254
1255 o   Herb Lewis <herb@samba.org>
1256     * Compiler warning cleanups.
1257     * smbwrapper Makefile and compile time check cleanups.
1258     * Adding robustness checks for tdbdump and tdbtool.
1259     * Extend tdb command line parsing to arbitrary hex characters.
1260     * Add LOCKING debug class.
1261     * Fix more compiler warnings.
1262
1263
1264 o   Derrell Lipman <derrell@samba.org>
1265     * add support for opening a file for write with O_APPEND 
1266       in libsmbclient.
1267     * Added smbsh/smbwrapper for Linux to example/libsmbclient 
1268       tree.
1269     * Fix smbc_stat() from returning incorrect timestamps IFF 
1270       it used cli_qpathinfo2() to retrieve the timestamps (Win2k) 
1271       and not if it used cli-getatr() to retrieve the timestamps 
1272       (Win98). 
1273     * Fix handful of compiler warnings.
1274     * BUG 2498, 2484: smbc_getxattr() fixes.
1275     * BUG 1133: Added provision for overloading some global 
1276       configuration options via the new, per-user file 
1277       ~/.smb/smb.conf.append.
1278     * BUG 2543: Properly cache anonymous username when reverting 
1279       to anonymous login, in libsmbclient.
1280     * BUG 2505: Fix large file support in libsmbclient.
1281     * BUG 2564: Ensure correct errno when smbc_opendir() was called 
1282       with a file rather than a directory.
1283     * Correct deprecated lvalue casts in testsuite/libsmbclient.
1284     * BUG 2663.  cli_getattrE() and cli_setattrE() were not 
1285       formatting or parsing the timestamp values correctly.
1286     * Correctly detect AF_LOCAL support in configure.
1287     * Fix problem updating file times on Windows 98 hosts using 
1288       libsmbclient.
1289     * Fix compile breakage on Solaris by eliminating the use of 
1290       ctime_r() in libsmbclient DEBUG statement.
1291
1292
1293 o   Jason Mader <jason@ncac.gwu.edu>
1294     * BUG 2483, 2468. 2469, 2478, 2093: Compiler warning fixes.
1295     * Various compiler warning fixes about mistyped variables.
1296     * BUG 2882, 2885, 2890, 2891, 2900: Various compiler warning fixes 
1297       and code  cleanups.
1298     * BUG 2527, 2538: Removed unused variables.
1299
1300
1301 o   Marcel <samba.10.maazl@spamgourmet.com>
1302     * Fix regression in OS/2 trans2 open code.
1303
1304
1305 o   Jim McDonough <jmcd@us.ibm.com>
1306     * Fixes for samr_lookup_rids() when using ldapsam:trusted=yes
1307       (in conjunction with Volker).
1308     * BUG 2953: Prevent the credentials chain on DC gets out 
1309       of sync with client when NT_STATUS_NO_USER is returned.
1310     * Added subcommands to "net rpc vampire" (mostly done by Don 
1311       Watson <dwatson@us.ibm.com>) to allow data to be put into an 
1312       ldif file instead of actually writing to the passdb.  
1313     * BUG 2736: Add retries to workaround winbind race condition 
1314       with detecting idle clients.
1315     * BUG 2953: Additional fixes for domain trusts.  Also clears
1316       up the "bad stub" error when attempting to logon to a Samba
1317       domain with a bad username.
1318
1319
1320 o   Luke Mewburn <lukem@NetBSD.org>
1321     * Compiler warning fixes.
1322
1323
1324 o   Kalim Moghul <kalim@samba.org>
1325     * Removed unused printmode command from smbclient.
1326
1327
1328 o   Lars Müller <lmuelle@samba.org>
1329     * Re-enable the VERSION_REVISION option in case of another 
1330       letter release.
1331     * Fix spoolss python bindings after C++ compiler changes and 
1332       other python fixes.
1333     * BUG 2659: Don't trump on memory in smbtorture.
1334     * BUG 2060: Add -fPIC which is the case for all other Samba 
1335       shared libs.
1336     * Fix argv parsing in "net rpc".
1337     * Add support to create position independent executable (PIE) 
1338       code if the compiler supports it.
1339     * BUG 2767: Add new options to testparm (--show-all-parameters,
1340       --parameter-name, and --section-name).
1341     * Fix net share migrate files to also migrate the ACLs of 
1342       the top level dir of a share.
1343
1344
1345 o   Marcel Muller <mueller@maazl.de>
1346     * Patch to fix the OS/2 EA_FROM_LIST info level call.
1347     * Mangled names fix for OS/2 clients.
1348     * Ensure we correctly set the return packet size to include the 
1349       pad bytes in reply_readbmpx().
1350     * Fix for bug in SMBwriteBraw that incorrectly returned the 
1351       number of bytes written. 
1352
1353
1354 o   Ricky Nance <ricky.nance@gmail.com>
1355     * Implemented mklogon script generator for domain logon scripts.
1356
1357
1358 o   James Peach <jpeach@sgi.com>
1359     * BUG 1843: Fix quotas (with no soft limits) on IRIX.
1360     * BUG 2285: Patch for hires timestamps and efficient notify code.
1361     * MS-DFS tidyup patches.
1362     * Build fixes on IRIX.
1363     * IRIX compiler warning fixes.
1364     * BUG 2596: Fix become_root link issues and one IRIX stack 
1365       backtrace bug.
1366     * Fix for null pointer ACL free.
1367     * BUG 2314: Fix const compiler warnings in the quota code.
1368
1369
1370 o   Ed Plese <ed@edplese.com>
1371     * Fix faulty logic which caused winbindd to return failure 
1372       when a user possessed no supplementary groups.
1373
1374
1375 o   Marcin Porwit <mporwit@centeris.com>
1376     * Initial support for the \eventlog pipe.
1377     * Fix a memleak in the eventlog code.
1378     * Miscellaneous fixes for Samba's experimental event log support.
1379     * Add ServiceQueryConfig2() and ServiceQueryStatusEx() server 
1380       calls.
1381
1382
1383 o   Tim Potter <tpot@samba.org>
1384     * BUG 2940, 2943: Fixed various compiler warnings regarding 
1385       mismatched types and unused variables.
1386     * BUG 1888, 1894: Fix warnings when time_t is an unsigned type.
1387     * BUG 2733: Fix incorrect SHLIBEXT is set when running 
1388       configure script on HPUX IA.
1389     * Remove unused autoconf #define's.
1390     * BUG 2893: Fix inverted assignment in 'net rpc printer' code.
1391     * Removed unused function declarations in tdb.h.
1392     * BUG 2895: Don't wrap non-existent functions in the python 
1393       tdb bindings.
1394     * BUG 2623, 2630: $< and $* are not valid in explicit rules 
1395       according to POSIX.
1396     * BUG 2560: Fix compile error lurking where PATH_MAX is not 
1397       defined.
1398     * BUG 2625: Remove configure check for FTRUNCATE_NEEDS_ROOT.
1399     * BUG 2611: Add fflush(stdout) after displaying username prompt 
1400       in smbsh if username not specified on command line.
1401     * BUG 2699: Fix for segfault in samba.winbind.auth_crap module 
1402     * BUG 2808: Update install swat message to reflect the fact 
1403       that swat/README no longer exists.
1404
1405
1406 o   Denis Sbragion <d.sbragion@infotecna.it>
1407     * BUG 2196: Allow absolute path (system wide) recycle bin.
1408
1409
1410 o   Fernando Schapachnik <fernando@mecon.gov.ar>
1411     * Add logon hours support for the Postgres backend.
1412
1413
1414 o   Richard Sharpe <rsharpe@samba.org>
1415     * Fix bug in profiles tool caused by use of MAP_PRIVATE.
1416
1417 o   Joerg Sonnenberger <joerg@leaf.dragonflybsd.org>
1418     * BUG 2362: Quota support fix for DragonFly.
1419     * Fix dragonfly detection in configure.
1420
1421
1422 o   Simo Sorce <idra@samba.org>
1423     * Allow Domain Admins to force user sessions to close via the 
1424       Windows Server Manager.
1425     * Add support to 'net rpc right privileges <name>' to enumerate 
1426       accounts which possess a specific privilege.
1427     * Fix memory issues issues in vfstest (reported by Rainer Link).
1428     * Randomize reloading as to not overload cupsd.
1429
1430
1431 o   Smitty <smitty@plainjoe.org>
1432     * Compile fixes for smbget when using --enable-developer.
1433     * Include LUID values to match Windows privileges since 
1434       apparently this matters to printmig.exe
1435
1436
1437 o   John Terpstra <jht@samba.org>
1438     * Solaris packaging fixes.
1439     * Clean up usage help text in "net rpc user"
1440
1441
1442 o   Andrew Tridgell <tridge@samba.org>
1443     * Merge socket wrapper library fixes from Samba 4.
1444
1445
1446 o   Brett Trotter <blt@iastate.edu>
1447     * Fix definition of global_sid_* in vfs_acl.c.
1448
1449
1450 o   Mark Weaver <mark-clist@npsl.co.uk>
1451     * Patch to fix sys_select so it can't drop signals if another 
1452       fd is ready to read. 
1453
1454
1455 o   Jelmer Vernooij <jelmer@samba.org>
1456     * Remove --with-manpage-languages configure option.
1457     * Merge socket wrapper fixes for IRIX systems from the 
1458       Samba 4 branch.
1459     * Add socket_wrapper library to 3.0. Can be enabled by passing
1460       --enable-socket-wrapper to configure.
1461     * Fix build of the various sql pdb backends after new talloc.
1462
1463
1464 o   Qiao Yang <qyang@stbernard.com>
1465     * Use our own DC when getting the SID for a domain.
1466
1467
1468
1469 Release Notes for older release follow:
1470
1471       --------------------------------------------------
1472                    ===============================
1473                    Release Notes for Samba 3.0.14a
1474                               Apr 14, 2005
1475                    ===============================
1476
1477 Common bugs fixed in 3.0.14a include:
1478
1479   o Compatibility issues between Winbind and Windows 2003 SP1
1480     domain controllers (*2k3sp1*).
1481   o MS-DFS errors with Windows XP SP2 clients.
1482   o High CPU loads caused by infinite loops in the FindNext()
1483     server code.
1484   o Invalid SMB_ASSERT() which caused smbd to panic on ACL'd 
1485     files.
1486
1487     
1488 ######################################################################
1489 Changes
1490 #######
1491
1492 Changes since 3.0.14
1493 --------------------
1494
1495 commits
1496 -------
1497 o   Jeremy Allison <jra@samba.org>
1498     * Fixed invalid SMB_ASSERT() triggered by checking access on
1499        ACL'd files.
1500
1501
1502 Changes since 3.0.13
1503 --------------------
1504
1505 smb.conf changes
1506 ----------------
1507
1508     Parameter Name                      Action
1509     --------------                      ------
1510     dos filetimes                       Enabled by default
1511
1512
1513 commits
1514 -------
1515 o   Jeremy Allison <jra@samba.org>
1516     * Prevent nt_status code support when negotiating protocols
1517       earlier than NT1.
1518     * BUG 2533: Remove the UNICODE flags2 bit from SMBsearch calls
1519       as this SMB is DOS codepage only.
1520     * BUG 2585: Fix printf() issues in smbpasswd which caused
1521       seg faults.
1522     * BUG 2563: Fix infinite loop on non-existent file with 
1523       FindNext().
1524     * BUG 2581 (partial): Ensure if realloc fails on an internal 
1525       tdb we fail gracefully.
1526     * Ensure that 'dos filetimes' works with ACLs.
1527     * Set 'dos filetimes = yes' as the default for smb.conf.
1528
1529       
1530 o   Gerald (Jerry) Carter <jerry@samba.org>
1531     * Workaround autoconf issue to prevent debug symbols from 
1532       being included in the default build.
1533     * Disable schannel on the \lsarpc pipe in order to successfully 
1534       enumerate users and groups (*2k3sp1*)
1535     * Fix parsing error in rpc binds which broke NTLMSSP 
1536       authentication.   And as a result broke CTL+ALT+DEL password 
1537       changes from a Windows 2003 SP1 member of a Samba domain 
1538       (*2k3sp1*).
1539     * Revert change to FindFirst() server code that broke WinXP
1540       SP2 clients from launching *.exe files from a dfs target 
1541       share.
1542     * BUG 2588: Force smbclient to send netbios messages to port 
1543       139 unless otherwise instructed (based on patch from Thomas 
1544       Bork).
1545       
1546
1547 o   Volker Lendecke <vl@samba.org>
1548     * Fix build on FreeBSD 4 where Winbind is not supported.
1549     * Fix 'wbinfo --user-sids' when using domain local groups.
1550     * Restrict domain local groups reported by 'wbinfo -r' to
1551       the Samba server domain and not the users domain.
1552
1553
1554 o   Lin Li <linl@xandros.com>
1555     * Ensure that winbind initializes internal trusted domain 
1556       structures when enumerating users and groups.
1557       
1558
1559 o   Tim Potter <tpot@samba.org>
1560     * BUG 2565: Fix crash bug and compiler warnings in strchr_m() 
1561       test.
1562     * Fix compiler warnings.
1563
1564
1565 o   <psz@maths.usyd.edu.au>
1566     * Fix for possible root squash NFS bugs.
1567     
1568     
1569 o   Simo Sorce <irda@samba.org>
1570     * Debian packaging fixes.
1571     
1572
1573       --------------------------------------------------
1574                    ==============================
1575                    Release Notes for Samba 3.0.13
1576                             Mar 24, 2005
1577                    ==============================
1578
1579 Common bugs fixed in 3.0.13 include:
1580
1581   o Infinite FindNext() loop from Windows 9x client when
1582     copying or deleting files on a Samba file share using 
1583     explorer.exe.
1584   o Numerous smbclient bugs when listing directories.
1585   o Failures in smbclient when connecting to a Windows 9x 
1586     file server.
1587
1588     
1589 ######################################################################
1590 Changes
1591 #######
1592
1593 Changes since 3.0.12
1594 --------------------
1595
1596 o   Jeremy Allison <jra@samba.org>
1597     * Fix typo bug in smbclient where flags overwrote info level
1598       in the cli_list_new().
1599     * Fix old smbclient bug where ff_searchcount was being compared 
1600       to -1 resulting in processing a filename twice.
1601     * Fix segv in smbclient caused by overwriting the last 2 bytes 
1602       in cli_list_new().
1603     * BUG 2530: Fix potential segv in smbclient when talking to a 
1604       Windows 9x file server.
1605     * Fix last entry offset in cli_list_new() when using a 
1606       FindFirst/FindNext info level of 0x104.
1607     * BUG 2501: Stop Win98 from looping doing FindNext on a 
1608       singleton directory. 
1609     * BUG 2521: Fix error in access checks when user group ACLs.
1610       
1611       
1612 o   Gerald (Jerry) Carter <jerry@samba.org>
1613     * BUG 2497: Fix bug in rpcclient's deletedriverex when asking 
1614       to delete all versions of a driver.
1615     * BUG 2517: use the realm from smb.conf for 'net ads info' when 
1616       'disable netbios = yes'.
1617     * BUG 2530: Ensure that smbclient correctly detects MS-DFS root
1618       shares.  
1619     * Update RedHat packaging files to require cups support.  Also
1620       remove requirement for 'idmap {uid,gid}' settings in smb.conf
1621       from winbindd init script.
1622     * BUG 2516: fix compile issue on True64.
1623     
1624       
1625       
1626 o   Guenther Deschner <gd@samba.org>
1627     * Check for the correct cli-struct when copying files in 'net 
1628       rpc printer' routines.
1629
1630
1631 o   Herb Lewis <herb@samba.org>
1632     * Fix incorrect test in 'net rpc user' when the user is not
1633       a member of any groups.
1634       
1635       
1636 o   Jim McDonough <jmcd@us.ibm.com>
1637     * Make sure that enum_group_members() searches the correct suffix.
1638     
1639
1640       --------------------------------------------------
1641                    ==============================
1642                    Release Notes for Samba 3.0.12
1643                             Mar 18, 2005
1644                    ==============================
1645
1646 Common bugs fixed in 3.0.12 include:
1647
1648   o Winbind failures when using 'disable netbios = yes'
1649   o Failure to establish a trust relationship via 'net rpc trust 
1650     establish'
1651   o Various portability & compiler issues.
1652   o Read only file deletion failure caused by new delete semantics 
1653     in Windows XP SP2 and the MS 04-044 security hotfix.
1654   o Error messages from shared Excel workbooks residing on Samba 
1655     file shares.
1656   o Missing files in the output of smbclient -c 'dir' when run 
1657     against Windows file servers.
1658   o Inability for Print Administrators to pause/resume/purge print 
1659     queues.
1660
1661 Additional features introduced in Samba 3.0.12:
1662
1663   o Performance enhancements when serving directories containing 
1664     large number of files.
1665   o MS-DFS support added to smbclient.
1666   o More performance improvements when using Samba/OpenLDAP based 
1667     DC's via the 'ldapsam:trusted=yes' option.
1668   o Support for the Novell NDS universal password when using the
1669     ldapsam passdb backend.
1670   o New 'net rpc trustdom {add,del}' functionality to eventually 
1671     replace 'smbpasswd {-a,-x} -i'.
1672   o New libsmbclient functionality.
1673
1674
1675
1676 =======================
1677 Large Directory Support
1678 =======================
1679
1680 Samba 3.0.12pre1 introduces a specific mechanism for dealing
1681 with file services that frequently contain a large number of files
1682 per directory.  Historically Samba's performance has suffered 
1683 in such environments due to the translation from case 
1684 insensitive lookups by Windows client to the case sensitive
1685 storage mechanisms used by UNIX filesystems.
1686
1687 Configuration details along with a short HOWTO can be found at:
1688
1689 http://www.samba.org/samba/ftp/HOWTO/Samba-LargeDirectory-HOWTO
1690
1691
1692 ==================================
1693 libsmbclient Binary Compatibility
1694 ==================================
1695
1696 Please note that a change has been made to the _SMBCCTX structure 
1697 in source/include/libsmbclient.h.  This change is not backwards
1698 compatible with applications linked against the libsmbclient.so
1699 library from Samba 3.0.11.  However, it is compatible with all 
1700 other Samba 3.0.x releases.  This means that it will be most likely
1701 be necessary to recompile any applications linked against the 
1702 3.0.11 version of the library.
1703
1704
1705 ######################################################################
1706 Changes
1707 #######
1708
1709 smb.conf changes
1710 ----------------
1711
1712     Parameter Name                      Action
1713     --------------                      ------
1714     allocation roundup size             New
1715     log nt token command                New
1716     write cache                         Deprecated
1717
1718
1719
1720 Changes since 3.0.11
1721 --------------------
1722
1723 commits
1724 -------
1725 o   Jeremy Allison <jra@samba.org>
1726     * BUG 2146: Return correct allocation sizes so as not to crash 
1727       the VC++ compiler.
1728     * BUG 962: Ensure that parsing of service names in smb.conf is 
1729       multibyte safe.
1730     * BUG 2201, 2227: Support new delete semantics used by MS04-044
1731       and XP SP2.
1732     * BUG 1525: Correctly timestamps interpreted on 64-bit time_t 
1733       values (patch submitted by Jay Fenlason <fenlason@redhat.com>).
1734     * Add special hooks when serving directories containing large
1735       numbers of files.
1736     * Ensure that WINS negative name query responses and WACK 
1737       packets use the correct RR type of 0xA instead of reflecting 
1738       back what the query RR type was (0x20).
1739     * BUG 2310: Only do 16-bit normalization on small dfree request.
1740     * BUG 2323: Correct authentication failure when using plaintext 
1741       passwords from Windows XP clients.
1742     * BUG 2146: Add new smb.conf option 'allocation roundup size' to
1743       work around issues building MS Visual Studio 6.0 project 
1744       on a Samba file share while restoring the pre-3.0.21pre1 
1745       behavior by default.
1746     * BUG 2399 (partial): Ensure we use SMB_VFS_STAT instead of 
1747       stat when checking for existence of a pathname.
1748     * Check the sticky bit on the parent directory for supporting
1749       the new WinXP SP2 file deletion semantics.
1750     * Various oplock, share mode, and byte range locking fixes
1751       found by Connectathon tests.
1752     * BUG 2271: Fix resume key issues in trans2FindFirst() client 
1753       code (inspired by patch from Satwik Hebbar).
1754     * BUG 2382, 2045: More pending modtime and delayed write fixes
1755       for MS Excel (incorporates partial patches from 
1756       ke_miyata@itg.hitachi.co.jp).
1757     * Debug log message cleanups.
1758     * Add case insensitive search for a principal match on logon 
1759       verification in the system keytab (based on patch by 
1760       Michael Brown <mbrown@fensystems.co.uk>).
1761     * Revert the previous SMB signing change from Nalin Dahyabhai
1762       when using DES keys.
1763     * Add missing RESOLVE_DFSPATH() calls for older SMB commands.
1764     * Fix FindFirst() server code to deal with resume names of ".."
1765       and "." (found by Jim McDonough).
1766     * BUG 2451: Fix missing functions in full audit VFS module.
1767     * Ensure that smbd logs failures reported by DISK_FREE()
1768       (reported by Ying Li <ying.li2@hp.com>).
1769     * Ensure that smbclient obeys the max protocol argument again.
1770     * BUG 2335: Return correct error code for OS/2 clients (based on
1771       negotiated protocol level).
1772     * BUG 2460, 2464: remove dead code and unused variables 
1773       (reported by Jason Mader).
1774
1775
1776 o   Andrew Bartlett <abartlet@samba.org>
1777     * Avoid length-limited intermediate copy of NT and LM responses 
1778       in NETLOGON client.
1779     * Debug message cleanups in the NTLMSSP implementation.
1780
1781
1782 o   Manuel Baena <mbaena@lcc.uma.es>
1783     * Print actual error message in smbmnt.c:fullpath().
1784
1785
1786 o   Vince Brimhall <vbrimhall@novell.com>
1787     * Add support for Novell NDS universal password.
1788     * BUG 2424: Ensure that uidNumber and gidNumber use match 
1789       the RFC2307 schema.
1790     * BUG 2453: Change the way pdb_nds.c handles users with no 
1791       Universal or Simple Password.
1792     * NDS schema file corrections.
1793
1794
1795 o   Gerald (Jerry) Carter <jerry@samba.org>
1796     * Add trans2 client call for checking dfs referrals
1797     * Convert smbclient to use TRANS_QPATHINFO(SMB_QUERY_FILE_BASIC_INFO) 
1798       when checking directories on modern CIFS servers.
1799     * Add MS-DFS support to smbclient.
1800     * Code cleanup of adt_tree.[ch].
1801     * Add missing checks to allow root to manage user rights.
1802     * Allow domain admins to manage rights assignments on domain members
1803       servers.
1804     * BUG 2333: Use the lpq command to pass in the correct printer name 
1805       for cups_queue_get().  CUPS backend now sets 'lpq command= %p' as 
1806       the default.
1807     * BUG 1439: make sure to initialize pointer to prevent invalid 
1808       free()'s on exit.
1809     * BUG 2329: fix to re-enable winbindd to locate DC's when 'disable 
1810       netbios = yes'.
1811     * Add cups-devel to BuidlRequires directive in Fedora spec file.
1812     * BUG 858: Fix order of popt args evaluation so we don't crash 
1813       when given no command line args.
1814     * Remove dependency on bash for source/autogen.sh.
1815     * Fix clitar.c compile issues caused by broken MIT 1.4 headers.
1816     * Implement MS-DFS for recursive directory listings in smbclient.
1817     * BUG 2394: Fix nmbd linking issue on IRIX.
1818     * Only display the publish check box in the client's printer 
1819       properties dialog if we are a member of an AD domain.
1820     * BUG 2363: allow 'in use' driver to be removed as long as 
1821       one 'Windows NT x86' driver remains.
1822     * BUG 1881: Allow PRINT_SPOOL_PREFIX to be set in local.h for 
1823       porting purposes.
1824     * Enforce better printer.tdb cache consistency when removing 
1825       jobs from a print queue via SMB.
1826     * Ensure that pause/resume/purge print queue commands are run
1827       with the appropriate level of privilege necessary to actually
1828       work.
1829     * BUG 2355: Use bsd style commands (lpq, lpr, etc...) for default
1830       for 'printing = cups' installations that do not actually have 
1831       libcups.
1832     * BUG 2425: Remove incorrect checks for Win98 DFS clients.
1833     * BUG 2215: Rewrite questionable code that was causing gcc to 
1834       choke.
1835     * Add server support for LsaLookupPrivValue().
1836     * Various small compile fixes and cleanup warnings.
1837     * BUG 2456: Fix compile failure on non-gcc platforms due to
1838       non-standard pragma.
1839
1840
1841 o   Kevin Dalley <kevin@kelphead.org>
1842     * BUG 2398: Don't force smbclient to assume a dry run if the 
1843       target tarfile is /dev/null.
1844
1845
1846 o   Guenther Deschner <gd@samba.org>
1847     * Fix crash bug in the client-spoolss enumdataex-call.
1848     * Expand the valid-workstation-scheme by expanding names 
1849       beginning with a plus (+) as a unix group.
1850     * Allow own netbios name to be set in smbclient's session setup.
1851     * Better handling of LDAP over IPC connections that have expired 
1852       on the LDAP-Server.
1853     * Fix pipe-mismatch for NETDFS in cli_dfs.c.
1854     * Add examples/misc/adssearch.pl.
1855     * BUG 2343: Build fixes.
1856     * Support get_user_info_7 in SAMR server RPC.
1857     * Fix server_role in the samr_query_dom_info calls.
1858     * Add example perl script to check for multiple LDAP entries
1859       after running 'net rpc vampire'.
1860     * Add more output when listing printer forms via rpcclient.
1861     * Debug log message cleanup.
1862
1863
1864 o   Steve French <sfrench@us.ibm.com>
1865     * On failed mount (ENXIO) retry share name in uppercase (fix
1866       mount to FastConnect AIX SMB server).
1867     * Add missing FILE_ATTRIBUTE_XXX defines to smb.h.
1868     * Ignore user_xattr mount parm (mount.cifs) so as not to confuse
1869       it with a user name.
1870     * Update for new CIFS POSIX info levels.
1871     * Ignore users mount parm in mount.cifs.
1872
1873 o   SATOH Fumiyasu <fumiya@samba.gr.jp>
1874     * BUG 1549: Don't truncate service names in smbstatus.
1875
1876
1877 o   William Jojo <jojowil@hvcc.edu>
1878     * BUG 2445: Patch to avoid default ACLs on AIX.
1879
1880
1881 o   S Murthy Kambhampaty <smk_va@yahoo.com>
1882     * Add idmap_rid module to Fedora and RedHat spec files.      
1883
1884
1885 o   Volker Lendecke <vl@samba.org>
1886     * BUG 2401: Flush internal getpwnam() cache after deleting a 
1887       user.
1888     * BUG 1604: Make winbind work with more than 10 trusted domains.
1889     * Cleanup various compiler warnings.
1890     * Fix a memory leaks in privileges code and passdb backends.
1891     * Fixes for samr_lookup_sids() client call.
1892     * Optimize _samr_query_groupmem with LDAP backend for large 
1893       domains.
1894     * Support SIDs as %s replacements in the afs username map 
1895       parameter.
1896     * Add 'log nt token command' parameter. If set, %s is replaced 
1897       with the user sid, and %t takes all the group sids.
1898     * Do not use the "Local Unix Group"-default description for 
1899       all kinds of group-mappings. 
1900     * Fix uninitialized variable in Linux nss_winbind library.
1901     * Move 'net afskey' into a subcommand of its own, 'net afs key'.
1902     * Implement 'net afs impersonate'.
1903     
1904
1905 o   Herb Lewis <herb@samba.org>
1906     * Fix build problem when HAVE_POSIX_ACL is not defined.
1907     * BUG 2417: Add help lines for net rpc group addmem and 
1908       delmem commands.
1909     
1910
1911 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
1912     * Add support to libsmbclient for getting and setting DOS 
1913       attributes using EA functions.
1914     * Fix libsmbclient's URL encoding/decoding.
1915     * Replace browse listing URI queries with an internal options 
1916       structure (previous method violated the SMB URI syntax).
1917     * Allow tree connects to be multiplexed over a single CIFS server 
1918       connection context.
1919     * Ensure that cli_tdis() sets the cnum field to -1 so that callers
1920       can determine a dead tree connection.
1921     * Implement better solution for backwards binary compatibility
1922       in libsmbclient while adding new fields to struct _SMBCCTX.
1923
1924
1925 o   Mark Loeser <halcy0n@gentoo.org>
1926     * BUG 2443: Compile fix for gcc4.
1927
1928
1929 o   Jim McDonough <jmcd@us.ibm.com>
1930     * BUG 2338: Fix coredump when OS/2 checks for long file name 
1931       support (with .+,;=[].) (thanks to Guenter Kukkukk).
1932
1933
1934 o   Jason Mader <jason@ncac.gwu.edu>
1935     * Compiler warning fixes (BUGS BUG 2132, 2134, 2289, 2327, 2340,
1936       2341, 2342)
1937
1938
1939 o   Jim McDonough <jmcd@us.ibm.com>
1940     * Fixes for server schannel implementation when 'restrict 
1941       anonymous = 1' is set in smb.conf.
1942     * Fix bug in server side lookupsids reply that crashed lsass.exe 
1943       on Windows clients.
1944     * Fix 'net rpc trustdom establish'.
1945     * BUG 2062: Turn off broadcast for all 390 NICs.
1946     * Fix 'net rpc trustdom add' to correctly add new domain trust 
1947       accounts.  This will eventually replace 'smbpasswd -a -i'.
1948     * Implement 'net rpc trustdom del', including client side of 
1949       samr_remove_sid_from_foreign_domain.
1950     * Bring IBM Directory Server schema up to date with openldap 
1951       schema.
1952     * Allow for better protection of sensitive attributes in IBM
1953       Directory Server.
1954
1955
1956 o   Stefan Metzmacher <metze@samba.org>    
1957     * Fix memleaks in the nttrans code.
1958
1959
1960 o   Mike Nix <mnix@wanm.com.au>
1961     * Add SMBsplopen and SMBsplclose client calls.
1962
1963
1964 o   Justin Ossevoort <justin@snt.utwente.nl>
1965     * BUG 2316: Fix crashes in pdb_pgsql.
1966
1967
1968 o   James Peach <jpeach@sgi.com>
1969     * Fixes in string handling code.
1970     * Fix oplock2 test in client smbtorture.
1971
1972
1973 o   Tim Potter <tpot@samba.org>
1974     * Fix up example pdb modules after prototype change for 
1975       setsampwent.
1976     * BUG 2058: Fix for shared object creation in examples.
1977     * BUG 2315: Fix segv in LSA privileges server code.
1978     * Build fixes for python wrapper libraries.
1979
1980
1981 o   Richard Sharpe <rsharpe@samba.org>
1982     * BUG 2044: Fix segv in profiles tool.
1983     * Fix bogus error messages when enumerating user group 
1984       membership via 'net rpc'.
1985
1986
1987 o   Simo Sorce <idra@samba.org>
1988     * Debian packaging fixes.
1989
1990
1991 o   John Terpstra <jht@samba.org>
1992     * Add the capability to set account description using pdbedit.
1993
1994
1995 o   Doug VanLeuven <roamdad@sonic.net> 
1996     * Add more case/realm/name permutations to the kerberos keytab.
1997     * AIX compile fixes.
1998
1999
2000 o   Jelmer Vernooij <jelmer@samba.org>
2001     * BUG 892: Default unknown_6 field to 1260 in mySQL pdb module.
2002     * BUG 1957: Implement minimal update of fields in mySQL pdb 
2003       module.
2004     
2005
2006 o   Torsten Werner <torsten.werner@assyst-intl.com>
2007     * BUG 2405: Define 'lpstat' printcap output on HPUX.
2008     
2009
2010 o   Shlomi Yaakobovich" <Shlomi@exanet.com>
2011     * Detect infinite loops when traversing tdbs.
2012
2013
2014       --------------------------------------------------
2015                    ==============================
2016                    Release Notes for Samba 3.0.11
2017                              Feb 5, 2005
2018                    ==============================
2019
2020 Common bugs fixed in 3.0.11 include:
2021
2022   o Crash in smbd when using CUPS printing.
2023   o Parsing error of other SIDs included in the user_info_3
2024     structure returned from domain controllers.
2025   o Inefficiencies when searching non-AD LDAP directories.
2026   o Failure to expand variables in user domain attributes
2027     in tdbsam and ldapsam.
2028   o Memory leaks.
2029   o Failure to retrieve certain attribute when migrating from 
2030     a Windows DC to a Samba DC via 'net rpc vampire'.
2031   o Numerous printing bugs bugs including memory 
2032     bloating on large/busy print servers.
2033   o Compatibility issues with Exchange 5.5 SP4.
2034   o sendfile fixes.
2035
2036 Additional features introduced in Samba 3.0.11:
2037
2038   o Winbindd performance improvements.
2039   o More 'net rpc vampire' functionality.
2040   o Support for the Windows privilege model to assign rights
2041     to specific SIDs.
2042   o New administrative options to the 'net rpc' command.
2043
2044
2045 ============
2046 LDAP Changes
2047 ============
2048
2049 If "ldap user suffix" or "ldap machine suffix" are defined in
2050 smb.conf, all user-accounts must reside below the user suffix,
2051 and all machine and inter-domain trust-accounts must be located 
2052 below the machine suffix.  Previous Samba releases would fall 
2053 back to searching the 'ldap suffix' in some cases.
2054
2055
2056 ===============
2057 Privilege Model
2058 ===============
2059
2060 Samba 3.0.11 supports the following assignable rights
2061
2062 SeMachineAccountPrivilege  Add machines to domain
2063 SePrintOperatorPrivilege   Manage printers
2064 SeAddUsersPrivilege        Add users and groups to the domain
2065 SeRemoteShutdownPrivilege  Force shutdown from a remote system
2066 SeDiskOperatorPrivilege    Manage disk shares
2067
2068 These rights can be assigned to arbitrary users or groups
2069 via the 'net rpc rights grant/revoke' command.  More details
2070 of Samba's privilege implementation can be found in the 
2071 Samba-HOWTO-Collection.
2072     
2073
2074 ######################################################################
2075 Changes
2076 #######
2077
2078 Changes since 3.0.10
2079 --------------------
2080
2081 smb.conf changes
2082 ----------------
2083
2084     Parameter Name                      Action
2085     --------------                      ------
2086     afs token lifetime                  New
2087     enable privileges                   New
2088     ldap password sync                  Alias
2089     min password length                 Deprecated
2090     winbind enable local accounts       Deprecated
2091
2092
2093 commits
2094 -------
2095 o   Jeremy Allison <jra@samba.org>
2096     * Extend vfs to add seekdir/telldir/rewinddir.
2097     * Fix dirent return.
2098     * Fix bugs when handling secondary trans2 requests.
2099     * Implementation of get posix acls in UNIX extensions.
2100     * Added set posix acl functionality into the UNIX extensions code.
2101     * Updated config.guess/config.sub .
2102     * Fix error reply when 'follow symlinks = no'.
2103     * BUG 1061, 2045: Only set mtime from pending_modtime if it's 
2104       not already zero.
2105     * Fixes for LARGE_READX support.
2106     * Fix the problem we get on Linux where sendfile fails, but we've
2107       already sent the header using send().
2108     * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl 
2109       inherit = no'.
2110     * BUG 2088: Ensure inherit permissions is only applied on a new 
2111       file, not an existing one.
2112     * Don't go fishing for the krb5 authorization data unless we know
2113       it's there.
2114     * Fixes for libsmbclient to ensure that interrupted system calls
2115       are restarted minus the already expired portion of the timeout
2116       (based on work by Derrell Lipman).
2117     * More Unicode string parsing fixes.
2118     * Convert the winreg pipe to use WERROR returns.
2119     * Make all LDAP timeouts consistent (input from Joe Meadows 
2120       <jameadows@webopolis.com>).
2121     * BUG 2231: Remove double "\\" from client findfirst.
2122     * BUG 2238: Fix memory leak in shadow copy vfs.
2123     * Return correct DOS/NT error code on transact named pipe on 
2124       closed pipe handle.
2125     * BUG 2211: Fix security descriptor parsing bug (based on work by 
2126       Mrinal Kalakrishnan <mail@mrinal.net>).
2127     * BUG 2270: Fix memory leaks in cups printing backend support 
2128       (based on work by Lars Mueller).
2129     * BUG 2255: Fix debug level in kerberos error messages.
2130     * BUG 2110: Ensure we convert to ucs2 correctly after the 
2131       CAN-2004-0930 patch.
2132     * Make strict locking an enum. Auto means use oplock optimization.
2133     * Fix client  & server to allow 127k READX calls.
2134     * More *alloc fixes (includes additional fixes by Albert Chin.
2135     * Catch sendfile errors correctly and return the correct values 
2136       we want the caller to return.
2137     * BUG 2092: Prevent auto-anonymous logins via libsmbclient 
2138       for better use by desktop environments such as GNOME.
2139     * Ensure we can't remove a level II oplock without having the
2140       shared memory area locked.
2141             
2142
2143 o   Timur Bakeyev <timur@com.bat.ru>
2144     * BUG 2100: change the way we check for errors after a dlopen().
2145     * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
2146     
2147     
2148 o   Andrew Bartlett <abartlet@samba.org>
2149     * Clarify error message when 'lanman auth = no'.
2150     * Remove the unnecessary UTF-8 conversion calls in the calls to
2151       auth_winbind from smbd.
2152     * Don't store the auth-user credentials with the cli_state* as 
2153       this can cause the schannel setup to fail when the auth-user
2154       domain is not our primary domain.
2155
2156
2157 o   Grigory Batalov <bga@altlinux.org>
2158     * Fix encoding while receiving of a message which was actually 
2159       sent using STR_ASCII.
2160
2161
2162 o   Daniel Beschorner <db@unit-netz.de>
2163     * BUG 603: Correct access mask check for _samr_lookup_domain()
2164       to work with Windows RAS server
2165
2166
2167 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
2168     * Fix missing printer_tdb reference decrement.
2169     
2170
2171 o   Gerald (Jerry) Carter <jerry@samba.org>
2172     * BUG 2073: fall back to smb_name if current_user_info is not
2173       available in lp_file_list_changed().
2174     * Fixes the spurious 'register_message_flags: tdb fetch failed' 
2175       errors.
2176     * Don't run the background LPQ daemon when we are running in
2177       interactive mode.
2178     * prevent the background LPQ daemon from updating the print queue
2179       cache just because multiple smbd processes sent a message that
2180       it was out of date.
2181     * consolidate printer searches to use find_service rather than 
2182       for(...) loops.
2183     * BUG 2091: don't remove statically defined printers in 
2184       remove_stale_printers().
2185     * Fix logic error in add_a_form() that only compared N characters 
2186       instead of the entire form name.
2187     * BUG 2107: fix memory bloating caused by large numbers of 
2188       print_queue_updates() requests sent via messages.tdb.
2189     * Check the setprinter(3) based on the access permissions on 
2190       the handle and avoid the call to print_access_check().
2191     * Re-instantiate previous semantics for calling init_unistr2() 
2192       with a NULL source buffer.
2193     * Support Windows privilege model for assigning rights
2194       to specific SIDs.  Based on work by Simo Sorce in the trunk 
2195       svn branch.  This feature is controlled by the 'enable 
2196       privileges = [yes|no]' smb.conf(5) option.
2197     * Add some smb.conf scripts for add/delete/change shares and 
2198       deleting cups printers.
2199     * Expand variables in the profile path, logon home and logon script 
2200       values when using either tdbsam or ldapsam.
2201     * Add Domain Admins (Full Control) to the default printer security 
2202       descriptor if we are a DC.
2203     * RedHat and Fedora Packaging fixes for perl dependencies.
2204     * Remove unused schema items from OpenLDAP schema file.
2205     * Remove duplicate enumeration of "Windows x86" architecture
2206       when listing printer drivers via rpcclient.
2207     * Fail set_privileges() if 'enable privileges = no' to prevent 
2208       confused admins.
2209     * Fix segfault in cups_queue_get().
2210     * Tighten restrictions on changing user passwords when 
2211       the connected user possesses the SeMachineAccountPrivilege.
2212     * Ensure we set NETBIOSNAME.domainname for the long machine name
2213       when publishing printers in AD (based on input from Rob Foehl).
2214     * Mark 'winbind enable local accounts' as deprecated.
2215     * Mark testprns tool as deprecated.
2216     * Allow root to grant/revoke privilege assignments.
2217     * Correct interaction between user rights and se_access_check() on
2218       SAMR objects.
2219     * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object 
2220       class.
2221     * BUG 2262: Add support in configure.in for *freebsd6*.
2222     * BUG 2266: Portability fixes for quota code on FreeBSD4.
2223     * BUG 2264: Remove shutdown and abortshutdown commands from 
2224       rpcclient in favor of using the same functions in 'net'.
2225     * BUG 2295: Prevent smbd from returning an empty server name
2226       in certain lanman api calls.
2227     * BUG 2290: Fix autogen.sh script in examples (based on original
2228       patch from Lars Mueller).
2229     * Fix bug enumerating domain trusts in security = ads.
2230     * Fix segv in rpcclient's dsenumdomtrusts.
2231     * Fix bug in expansion of %U and %G in included filenames.
2232     * BUG 2291: Restrict creation of server trust and domain trust
2233       accounts to members of the "Domain Admins" group.
2234  
2235 o   Nadav Danieli <nadavd@exanet.com>
2236     * Short circuit some is_locked() tests if we are oplocked.
2237     
2238     
2239 o   Guenther Deschner <gd@samba.org>
2240     * Allow 'localhost' as a valid server name in the smbd for the
2241       spoolss calls.
2242     * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
2243       Mewburn for the input).
2244     * BUG 2059: Add additional checks needed after logic change to the
2245       HAVE_WRFILE_KEYTAB detection test.
2246     * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a 
2247       Samba DC.  Allow us to lookup at least our own SID.
2248     * More fixes to have proper German in swat (Thanks to Reiner 
2249       Klaproth and Björn Jacke.
2250     * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while 
2251       setting security descriptors with smbcacls and using with 
2252       the -S or -M switch. 
2253     * Include the munged_dial, bad_password_count, logon_count, and 
2254       logon_hours attributes when running 'net rpc vampire'.
2255     * Fix segfault in idmap_rid.
2256     * When winbindd is operating in the multi-mapping mode of 
2257       idmap_rid, allow BUILTIN domain-mapping.
2258     * Display infolevel 12 in query_dom_info in rpcclient.
2259     * Fix bug in winbindd's lowercasing of usernames.
2260     * Allow -v or -l for displaying verbose groupmap-listing 
2261       as well as "verbose".
2262     * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc 
2263       vampire'.
2264     * Close LDAP-Connection before retrying to open a new connection 
2265       in the retry-loop.
2266     * Marking "min password length" as depreciated.  
2267     * Implement SAMR query_dom_info-call info-level 8 server- and 
2268       client-side, based on samba4-idl.
2269     * Allow rpcclient to define a port to use when connecting 
2270       to a remote server.
2271     * Allow Account Lockout with Lockout Duration "forever" (until 
2272       admin unlocks) to be set and displayed in User Manager.
2273     * Allow to set acb_mask in rpcclient's enumdomusers.
2274     * Add more generic rootDSE inspection function to check 
2275       for given controls or extensions and remember these on a 
2276       per server basis.
2277     * Improve LDAP search efficiency by passing the acb_mask to 
2278       pdb_setsampwent().
2279     * Fixes for ldapsam_enum_group_memberships().
2280     * Add createdomgroup to rpcclient.
2281     * Add "net rpc user RENAME"-command.
2282     * Display sam_user_info_7 in rpcclient.
2283     * Make multi-domain-mode in idmap_rid accessible from outside 
2284       (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
2285     * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor 
2286       "Lockout Duration: Forever".
2287     * Fix configure.in tests using KRB5_CONFIG variable and krb5-
2288       config utility.
2289     * Require assignment of Administrator SID in the passdb 
2290       backend.  Fall back to the default name of 'Administrator' if
2291       the lookup fails rather than using the first name in the
2292       default 'admin users' list.
2293     * Enhance LDAP failure debug messages.
2294     * BUG 2291: Call the 'add machine script' for server trust and 
2295       domain trust accounts as well as workstation accounts.
2296     
2297     
2298 o   Levente Farkas <lfarkas@lfarkas.org>
2299     * BUG 2299: Better logrotate scripts for RedHat and Fedora 
2300       packages.
2301
2302
2303 o   Jay Fenlason <fenlason@redhat.com>
2304     * Fix crash in 'net join' due to calling free on 
2305       static buffers.
2306     * Several patches from RedHat's Fedora Core RPMS.
2307
2308
2309 o   Rob Foehl <rwf@loonybin.net>.
2310     * Compiler warnings.
2311     * Try modifying printer published attributes before adding it a
2312       new entry in AD.
2313     * Solaris packaging fixes.
2314     * Don't force the cups printer-make-and-model tag as the comment
2315       for autoloaded printers.
2316     * Implement caching of names from printcap to support a true
2317       'printcap cache time'.
2318
2319
2320 o   Johann Hanne <jhml@gmx.net>
2321     * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
2322
2323
2324 o   Jeff Hardy <hardyjm@potsdam.edu>
2325     * Example script for 'add print command' when using CUPS.
2326
2327
2328 o   Deryck Hodge <deryck@samba.org>
2329     * Add -P (--password-only-menu) to SWAT for displaying only the
2330       password change page to non-root users.
2331
2332
2333 o   David Hu <david.hu@hp.com>
2334     * Copy structure from print_queue_update() message rather than 
2335       referencing it.  Fixes seg fault on HP-UX.
2336       
2337       
2338 o   Buck Huppmann <buckh@pobox.com>
2339     * BUG 2186: Don't free uninitialized credentials.
2340     * BUG 2189: Add the HOST/fqdn servicePrincipalName even when 
2341       dnsDomainName != realm.
2342    
2343
2344 o   Björn Jacke <bjoern@j3e.de>
2345     * BUG 2040: Ensure the locale is reset to C to get ASCII-
2346       compatible toupper/lower functions.
2347
2348
2349 o   William Jojo <jojowil@hvcc.edu>
2350     * Fix HPUX sendfile and add configure.in tests and code for
2351       sendfile on AIX.
2352     * AIX 5.3 compile fixes.
2353
2354
2355 o   Volker Lendecke <vl@samba.org>
2356     * Optimize anonymous session setups by workstations in a 
2357       Samba domain.
2358     * Reimplment the QueryUserAliases() server RPC reply.
2359     * Re-add the getpwnam-cache for performance.
2360     * Cache the result of a pdb_getsampwnam for later SID lookup 
2361       queries.
2362     * Unify the means of localtaing a user's global groups on a 
2363       Samba DC.
2364     * Fix bug when serving the 'Start Menu' in a roaming user profile..
2365     * Map more pre-defined NT security descriptors to AFS acls.
2366     * Add timeout to AD search requests.
2367     * If a connection to a DC is requested (in winbindd), open
2368       connections simultaneously to all DCs found.
2369     * Memleak fixes.
2370     * Fix logic error in handling of 'printcap name' parameter.
2371     * Prevent winbindd from SPAM'ing the log files with 'user root 
2372       does not exist'.
2373     * Backport samr_DomInfo2 IDL specification from Samba 4.
2374     * Implement smbstatus -n, don't lookup users and groups.
2375     * Implement simple mapping that maps the space to another character 
2376       defined by afsacl:space.
2377     * Add support for 'net idmap delete <idmap-file> <SID>'.
2378     * Add new parameter 'afs token lifetime' tells the AFS client 
2379       when to throw away a token (patch from kllin@it.su.se).
2380     * Initial work to allow support for multiple pipe opens on a 
2381       single cli_state*.
2382     * Ensure that we still retrieve the netbios name of any DC 
2383       listed as a 'password server' to work around cases where the 
2384       DC was defined using an IP address or fqdn.
2385     * Fix memleak in winbindd connection code.
2386     * Fix cli_samr_queryuseraliases.
2387     * Allow wbinfo --user-sids to expand expand domain local groups.
2388     * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
2389     * Fix parsing of other_sids in net_user_info3.
2390     * Correct bad failure logic when user was not a member of any 
2391       domain local groups.
2392     
2393
2394 o   Jason Mader <jason@ncac.gwu.edu>
2395     * BUG 2113, 2289: Remove dead code.
2396
2397
2398 o   Jim McDonough <jmcd@us.ibm.com>
2399     * BUG 1952: Try INITSHUTDOWN pipe first, used by newer 
2400       clients.  If it fails, fall back to WINREG.
2401     * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
2402     * BUG 2198: Set password last change time when running 'net rpc 
2403       vampire'.
2404     * Add "refuse machine password change" policy field.
2405
2406
2407 o   Luke Mewburn <lukem@NetBSD.org>
2408     * BUG 2150: shmget() - Use POSIX definitions instead of non-
2409       standard SHM_.
2410       
2411
2412 o   Stefan Metzmacher <metze@samba.org>    
2413     * autogen.sh fixes.
2414
2415
2416 o   Buchan Milne <bgmilne@mandrake.org>
2417     * Mandrake packaging fixes.
2418
2419
2420 o   Lars Mueller <lmuelle@samba.org>
2421     * Fix build of libsmbclient on x86_64.
2422     * BUG 2013: Fix testsuite build issues when libsmbclient.so 
2423       is installed in a non-default location.
2424     * BUG 2050: Calculate max_fd for select correctly.
2425     * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf 
2426       script.
2427
2428
2429 o   Jason Mader <jason@ncac.gwu.edu>
2430     * BUG 2069: Remove unused variables.
2431     * BUG 2075: Remove dead code paths.
2432     * BUG 2083: Fix compiler warnings caused by bad type casts.
2433
2434
2435 o   James Peach <jpeach@sgi.com>
2436     * Fix rewinddir -> rewind_dir when using VFS macros.
2437     
2438
2439 o   Gavrie Philipson <gavrie@disksites.com>
2440     * BUG 1838: Remove stale printers imeeddiately when 
2441       processing a SIGHUP and during smb.conf reload.
2442
2443       
2444 o   Tim Potter <tpot@samba.org>
2445     * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
2446     * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
2447     * Change the license for the winbindd external interface 
2448       more liberal.
2449     * HP-UX compile fixes.
2450     * Compile fixes after new setsampwent() API.
2451
2452
2453 o   Richard Renard <rrenard@idealx.com>
2454     * Update Netscape DS 5.2 LDAP schema.
2455
2456
2457 o   Simo Sorce <idra@samba.org>
2458     * Backport pdbedit changes from trunk.
2459     * Allows the add/change share command to create the shared 
2460       directory directory on disk.
2461     * Log a warning in testparm if a print command is defined for
2462       a print service using 'printing = cups'.
2463      
2464 o   Jelmer Vernooij <jelmer@samba.org>
2465     * Bug fixes for pdb_{xml,pqsql,xml}
2466     * Fixes for pdb_mysql.
2467
2468
2469 o   Andrew Tridgell <tridge@samba.org>
2470     * Bring Samba3 into line with the Samba4 password change code.
2471     
2472
2473 o   Shiro Yamada <shiro@miraclelinux.com>
2474     * BUG 2190: Force SWAT to display parameters in unix charset and 
2475       not UTF-8.
2476
2477
2478       --------------------------------------------------
2479                    ==============================
2480                    Release Notes for Samba 3.0.10
2481                              Dec 16, 2004
2482                    ==============================
2483
2484 Common bugs fixed in 3.0.10 include:
2485
2486   o Fix for security issues described in CAN-2004-1154.
2487
2488
2489 Changes since 3.0.9
2490 -------------------
2491
2492 commits
2493 -------
2494
2495 o   Jeremy Allison <jra@samba.org>
2496     * Added checks surrounding all *alloc() calls to fix
2497       CAN-2004-1154.
2498     * Fix long standing memory size bug in bitmap_allocate().
2499     * Remove bogus error check in deferred open file serving 
2500       code.
2501
2502
2503 o   Thomas Bork <tombork@web.de>
2504     * Fix autoconf script on platforms using a version of GNU ld
2505       that does not include a date stamp in the output of --version.
2506
2507
2508 o   Luke Mewburn <lukem@NetBSD.org>
2509     * Fix the swat install script to deal with the new image
2510       destination directory used by the docs.
2511      
2512
2513
2514       --------------------------------------------------
2515
2516                    =============================
2517                    Release Notes for Samba 3.0.9
2518                              Nov 15, 2004
2519                    =============================
2520
2521 Common bugs fixed in 3.0.9 include:
2522
2523   o Problem updating roaming user profiles.
2524   o Crash in smbd when printing from a Windows 9x client.
2525   o Unresolved symbols in libsmbclient which caused
2526     applications such as KDE's konqueror to fail when
2527     accessing smb:// URLs.
2528
2529
2530 Changes since 3.0.8
2531 -------------------
2532
2533
2534 commits
2535 -------
2536
2537 o   Jeremy Allison <jra@samba.org>
2538     * Correctly detect errno for no acl/ea support.
2539     * BUG 2036: Fix seg fault in 'net ads join'.
2540
2541     
2542 o   Gerald (Jerry) Carter <jerry@samba.org>
2543     * Solaris packaging fixes.
2544     * Fix seg fault in lanman printing code.
2545     * BUG 2017: fix testparm reporting for the passwd program 
2546       string.
2547     * Fix output of smbstatus to match the man page.
2548     * BUG 2027: fix conflict with declaration MD5_CTX in system 
2549       headers.
2550     * 2028: Avoid false error messages when copying a long 
2551       printer name to the device mode.
2552
2553
2554 o   Guenther Deschner <gd@samba.org> 
2555     * Allow deldriverex in rpcclient to delete drivers for a 
2556       specific architecture and a specific version.
2557     * Fix a couple of rpcclient spoolss commands (setprinter, 
2558       setprintername, getdriver) w.r.t to printer-naming scheme.
2559       Allow 'localhost' in the server string for certain server-side
2560       spoolss functions.
2561     * BUG 2015: Do not fail on setting file attributes with 
2562       acl support enabled.
2563
2564
2565 o   Michel Gravey <michel.gravey@optogone.com>
2566     * Fix build when using gcc 3.0.
2567
2568
2569 o   Volker Lendecke <vl@samba.org>
2570     * Fix tdb open logic when checking our local_pid after 
2571       the fork().
2572
2573
2574 o   Jim McDonough <jmcd@us.ibm.com>
2575     * BUG 1932: Fix crash in 'net getlocalsid' when run as 
2576       non-root user.
2577
2578
2579 o   Luke Mewburn <lukem@NetBSD.org>
2580     BUG 1661: Fix KRB5_SETPW-defines
2581
2582
2583 o   Buchan Milne <bgmilne@mandrake.org> 
2584     * BUG 2023: Mandrake packaging fixes for building 3.0.9.
2585
2586
2587 o   Lars Mueller <lmuelle@samba.org>
2588     * BUG 2013: Fix unresolved symbols in libsmbclient.so.
2589
2590
2591 o   Martin Zielinski <mz@seh.de>
2592     * Add DeletePrinterDriverEx() functionality to rpcclient.
2593     
2594
2595       --------------------------------------------------
2596
2597                    =============================
2598                    Release Notes for Samba 3.0.8
2599                              Nov 7, 2004
2600                    =============================
2601
2602 Common bugs fixed in 3.0.8 include:
2603
2604   o Compile fixes for HP-UX
2605   o Fixes for the printer publishing code used when joined to 
2606     an AD domain.
2607   o Incompatibilities with file system quotas.
2608   o Several bugs in the spoolss printing code and print system 
2609     backends.
2610   o Inconsistencies in the username map functionality when 
2611     configured on domain member servers.
2612   o Various compile warnings and errors on various platforms.
2613   o Fixes for kerberos interoperability with Windows 200x 
2614     domains when using DES keys.
2615   o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
2616   o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
2617
2618     
2619 New features included in the 3.0.8 release are:
2620
2621   o New migration functionality added the the net tool
2622     for files/directories, printers, and shares.
2623   o New experimental idmap backend for assigning uids/gids
2624     directly based on the user/group RID when acting as a
2625     member of single domain without any trusts.
2626   o Additional printer migration support for XP/2003 platforms.
2627
2628
2629 ===========================
2630 Change in Winbindd Behavior
2631 ===========================
2632
2633 All usernames returned by winbindd are now converted to lower 
2634 case for better consistency.  This means any winbind installation
2635 relying on the winbind username will need to rename existing 
2636 directories and/or files based on the username (%u and %U) to lower 
2637 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`).  This may 
2638 include mail spool files, home directories, valid user lines in 
2639 smb.conf, etc....
2640
2641
2642 ======================
2643 Change in Username Map
2644 ======================
2645
2646 Previous Samba releases would only support reading the fully qualified 
2647 username (e.g. DOMAIN\user) from the username map when performing a 
2648 kerberos login from a client.  However, when looking up a map 
2649 entry for a user authenticated by NTLM[SSP], only the login name would be
2650 used for matches.  This resulted in inconsistent behavior sometimes
2651 even on the same server.
2652
2653 Samba 3.0.8 obeys the following rules when applying the username
2654 map functionality:
2655
2656   * When performing local authentication, the username map is 
2657     applied to the login name before attempting to authenticate 
2658     the connection.
2659   * When relying upon a external domain controller for validating
2660     authentication requests, smbd will apply the username map 
2661     to the fully qualified username (i.e. DOMAIN\user) only
2662     after the user has been successfully authenticated.
2663
2664
2665 ######################################################################
2666 Changes
2667 #######
2668
2669 Changes since 3.0.7
2670 -------------------
2671
2672 smb.conf changes
2673 ----------------
2674     Parameter Name                      Action
2675     --------------                      ------
2676     force printername                   New
2677     sendfile                            disabled by default
2678
2679
2680 commits
2681 -------
2682
2683 o   Jeremy Allison <jra@samba.org>
2684     * Ensure extended security bit is on only if we negotiated 
2685       extended security.
2686     * Simplify statcache to use an in-memory tdb. 
2687     * If you're selecting a hash algorithm for tdb, you need 
2688       to do it at open time.
2689     * Removed old dir caching code - not being used now we 
2690       have the statcache anyway.
2691     * Simplify the mangle hash code to use an in-memory tdb.
2692     * Merge iconv changes from Samba 4 branch.
2693     * Fix parsing of names ending in dot and a few other error 
2694       returns.
2695     * BUG 1667: Smbpasswd file could be left locked on some 
2696       error exits.
2697     * Fixes for smbclient tar functionality.
2698     * BUG 1743: Fix logic bug the deferred open code.
2699     * Don't try to set security descriptors on shares where 
2700       this has been turned off.
2701     * Return correct error codes on old SEARCH call.
2702     * Ensure we set errno = E2BIG when we overflow in the 
2703       fast-path character conversion code.
2704     * Fix the roundup problem (returning 1mb roundup) for 
2705       non-Windows clients.
2706     * Added 'stat' command to smbclient to exercise the 
2707       UNIX_FILE_BASIC info level.
2708     * Fix bug where we could incorrectly set sparse attribute.
2709     * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
2710       (reported by Taj Khattra <taj.khattra@gmail.com>).
2711     * Remove locked keys tdb code.
2712     * BUG 1886: Prevent delete on close being set for readonly files 
2713       (and return the correct error code).
2714     * Ensure we pass most of the new lock tests except for the cancel 
2715       lock which is yet to be added (merged from Samba 4 branch).
2716     * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
2717     * BUG 1956: Ensure errno is saved and restored consistently on a 
2718       normal_close.
2719     * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring 
2720       that all of the appropriate service principal names are set 
2721       upon joining an AD domain.
2722     * Fix the correct use of resume name in the trans2 code.
2723     * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
2724       correct salt used when generated the DES key after joining an 
2725       AD domain.
2726     * Enhanced krb5 detection routines in the autoconf scripts.
2727   
2728
2729 o   Andrew Bartlett <abartlet@samba.org>
2730     * Avoid changing the machine account password in the passdb 
2731       backend, when it has 'already been changed'.  This occurs 
2732       in situations where the secure channel between the workstation 
2733       and the DC breaks down, such as occurred in the MS04-11 
2734       security patch.
2735     * Fix utility name in error message in ntlm_auth.
2736     * Fix NTLMv2 for use with pam_winbind.
2737     * Remove conversion to and from UTF8 on the winbind pipe.
2738     * Allow 'require_membership_of' and 'require-membership-of'.
2739     * Fix the error code for 'you didn't specify a domain' in 
2740       ntlm_auth.
2741     * Use sys_getgroups() rather than scanning all groups 
2742       when generating SAMR replies.
2743
2744
2745 o   Igor Belyi <sambauser@katehok.ac93.org>
2746     * Ensure pdb user is deleted first before deleting UNIX 
2747       user (LDAP backend needs this ordering).
2748
2749
2750 o   Cornelio Bondad Jr <Corny.Bondad@hp.com>
2751     * Fix core dump in 'net rpc vampire'.
2752     
2753
2754 o   Vince Brimhall <vbrimhall@novell.com>
2755     * Make ldapsam_compat robust against NULL attributes.
2756
2757
2758 o   Gerald Carter <jerry@samba.org>
2759     * Don't limit the number of groups returned by winbindd_getgroups()
2760       by NGROUPS_MAX.
2761     * BUG 1519: Match Windows 2000 behavior when opening a 
2762       printer using a servername in the form of an IP address or 
2763       DNS name.
2764     * BUG 1907: remove extra slashes from the printer name in 
2765       getprinterdriverdir_1().  
2766     * Fix standard_sub_snum() to use the current user's gid.
2767     * Fix background queue update bug (based on Volker's initial work 
2768       in 3.1.0).
2769     * Add 'force printername' service parameter for people that want 
2770       to enforce printername == sharename for spoolss printing.
2771     * Ensure consistent usage of the username map.  Use the fully 
2772       qualified DOMAIN\user format for 'security = domain|ads' and 
2773       apply after authentication has succeeded.
2774     * Cosmetic fix for getent output -- lowercase the username only 
2775       and not the complete domain\username string.
2776     * Packaging fixes for Solaris, Redhat, & Fedora.
2777
2778     
2779 o   Sean Chandler <sean.chandler@verizon.net>
2780     * Fix memlieak in cliconnect.c.
2781
2782
2783 o   Darren Chew <darrenc@vicscouts.asn.au>
2784     * Solaris packaging fixes.
2785     
2786
2787 o   Nalin Dahyabhai <nalin@redhat.com>
2788     * SMB signing fix for 56-bit DES session keys.
2789
2790
2791 o   Guenther Deschner <gd@samba.org> 
2792     * add IA64 to the architecture table of printer-drivers.
2793     * Add file/share/printer migration functionality to 
2794       the net command.
2795     * Show correct help for net groupmap commands.
2796     * Fix deadlock loop in winbind's required_membership_sid
2797       verification.
2798     * Bring the same level of "required_membership"-functionality 
2799       that ntlm_auth uses, to pam_winbindd as well.
2800     * Prevent "net lookup kdc" from seg-faulting when
2801       using our own implementation of krb5_lookup_kdc with 
2802       heimdal.
2803     * Adding getprinter level 7 to rpcclient.
2804     * Support migrating printers|shares|files from Server A 
2805       to Server B while running the net-command on client C.
2806     * Fixed krb5_krbhost_get_addrinfo()-parameters and make 
2807       failure of this call non-critical (Thanks to Love @ Heimdal
2808       for the explanation and patch).
2809     * Fix typos in net's usage-output.
2810     * Fix the paranoia-check to ensure the ldap-attribute and the
2811       smb.conf-parameter for samba's "algorithmic rid base" in ldapsam 
2812       are identical.
2813     * Fix several bugs in the _samr_query_useraliases() rpc reply.
2814     * Check correct string length when verifying password-policies 
2815       and using extended characters (Thanks to Uwe Morgenroth from CC 
2816       Compunet and Volker).
2817     * Make 'password history'-behavior in ldapsam more consistent. 
2818     * Adding "Windows x64" as architecture string and driverdir "x64" 
2819       for the 64bit AMD platform.
2820     * BUG 1343: Readd WKGUID-binding to match the correct default-
2821       locations of new User-, Group- and Machine-Accounts in Active 
2822       Directory (this got lost during the last trunk-merge).
2823     * Fix printer-migration w.r.t. to new naming-convention for
2824       policy-handles.
2825     * Allow to migrate win2k3/xp-drivers as well. 
2826     * Add client-side support of triggering ads printer publishing 
2827       over msrpc setprinter calls inside the net-tool. 
2828     * Add the idmap_rid module (written in conjunction with 
2829       Sumit Bose <sbose@suse.de>).
2830     * BUG 1661: Fix build with recent heimdal releases.
2831     * Prevent idmap_rid from making unnecessary calls to domain 
2832       controllers for trusted domains.
2833
2834
2835 o   Arthur van Dongen <avdongen@xs4all.nl>
2836     * Fix typos in pam_winbind log messages and SuSE 
2837       packaging files.
2838
2839
2840 o   Rob Foehl <rwf@loonybin.net>
2841     * Typo fixes for log messages in printer publishing code.
2842     * Fix memory leak in printer publishing code.
2843     * Ensure print_backend_init() only gets called once.
2844     * Have smbd check the published status of all printers 
2845       at startup.
2846     * Cleanup up the XXX_a_printer() API for consistency.
2847     * Refactored the printer publishing code and include better 
2848       error handling.
2849
2850
2851 o   Steve French <sfrench@us.ibm.com>
2852     * Fix IP address override in mount.cifs mount helper and clean 
2853       up warning messages from the sparse tool and expand syntax help.
2854     * Strip guest mount option off before sending to kernel mount 
2855       routine to avoid logging spurious message.
2856
2857
2858 o   Satoh Fumiyasu <fumiya@samba.gr.jp>
2859     * BUG 1732: Limit share names returned by RAP based on windows 
2860       character width, not unix character width.
2861     * BUG 1498: Ensure that acl entries are stored in the correct 
2862       order.
2863
2864
2865 o   Brett Funderburg <brett@deepfile.com>
2866     * Pass create options parameter to nt_create_andx() function
2867       from the python bindings.
2868     * BUG 1864: Add sd->type field to security descriptor Python 
2869       representation.
2870     * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
2871       when trying to return the security descriptor for a file.
2872     * BUG 1884: Fixes for the Python bindings to use the value
2873       of the desired_access filed passed into the lsa_open_policy()
2874       routines.
2875
2876  
2877 o   Michael Gravey <michel.gravey@optogone.com>
2878     * BUG 1776: Fix warnings when building modules caused by 
2879       certain versions of GNU ld not using the the default 
2880       --allow-shlib-undefined flag.
2881
2882
2883 o   Chris Hertel <crh@samba.org>
2884     * Fix logic bug in splay tree data structure when finding 
2885       a leaf node.
2886     * Fix bug where an invalid MAC address would be printed by 
2887       a node status lookup from nmblookup.
2888
2889       
2890 o   Uli Iske <iske@elkb.de>
2891     * Update the DNS/eDirectory LDAP schema file.
2892
2893
2894 o   Björn Jacke <bjacke@sernet.de>
2895     * BUG 1766: Unify charset-handling in Content-Type:-headers to 
2896       UTF-8.  Reformat msgstr in msg-files to UTF-8.
2897     * Do not use display charset for swat output.
2898     * Convert the share names correctly from unix encoding to web 
2899       encoding and vice versa. 
2900     * Convert files from status page from unix charset to UTF-8.
2901
2902
2903 o   Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
2904     * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
2905
2906
2907 o   Tom Lackemann <cessnatomny@yahoo.com>
2908     * BUG 1954: Fix memory leak in posix acl code.
2909
2910
2911 o   Volker Lendecke <vl@samba.org>
2912     * Robustnss fix for winbindd when sending multiple requests 
2913       at a high rate for a slow operation.  
2914     * Solve the problem of user sids ending up with gid's 
2915       and vice versa.
2916     * Use sys_fork instead of fork for the dual daemon so that 
2917       we get the correct debug pid in the logfiles.
2918     * Based on patch from jmcd, implement special lists for the LDAP 
2919       user attributes to delete.
2920     * Fix creation of aliases via usrmgr. Winbind was too strict 
2921       checking the type of sids.
2922     * Lowercase all usernames returned by winbind.
2923     * BUG 1545, 1823: Only issue the ldap extended password change 
2924       operation if the ldap server supports it.  Also ignore object 
2925       class violation errors from the extended operation.
2926     * Optimization for 'idmap backend = ldap': When asking sid2id 
2927       for the wrong type, don't ask ldap when we have the opposite mapping 
2928       in the local tdb.
2929     * Fix ldapsam_compat homeDrive.
2930     * Add usersidlist and allowedusers subcommands to the net tool
2931       in order to support scanning a file server's share and list 
2932       all users who have permission to connect there.
2933     * Allow for multiple DC's to be named as #1c names in lmhosts.
2934     * Memory leak fixes.
2935     * Fix checks for the local pid of an smbd process after 
2936       reopening tdbs.
2937
2938
2939 o   Herb Lewis <herb@samba.org>
2940     * Added tdbtool to be built by default.
2941
2942
2943 o   Love <lha@stacken.kth.se>
2944     * BUG 1955: Inconsistent error return.
2945
2946
2947 o   Sorin Manolache <sorinm@gmail.com>
2948     * Memory leak fix.
2949
2950
2951 o   Jim McDonough <jmcd@us.ibm.com>
2952     * Allow 'net ads lookup' to rely on command line arguments 
2953       if contacting an ADS server fails; utilize cldap for lookups.
2954     * Fixup formatting errors in TDB_LOG calls; add printf attribute
2955       support to tdb log functions.
2956
2957
2958 o   Bill McGonigle <bill+samba@bfccomputing.com>
2959     * BUG 1926: Type in debug message.
2960
2961
2962 o   Sean McGrath
2963     * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
2964       for libsmbclient.
2965
2966
2967 o   Luke Mewburn <lukem@NetBSD.org>
2968     * BUG 1782: Prevent testparm from displaying parameter synonyms.
2969
2970
2971 o   Stefan Metzmacher <metze@samba.org>    
2972     * Fix crash in smbcquotas and smbcacls caused by setup_logging().
2973     * Fix client quota support.
2974     * Fix opening of system quota file.
2975
2976
2977 o   Lars Mueller <lmuelle@samba.org>
2978     * Small fixes for autogen.sh to deal with version detection 
2979       of autoconf and autoheader; fixes for examples using 
2980       libtool to adhere to stricter syntax of newer version.
2981
2982
2983 o   Henrik Nordstrom <hno@squid-cache.org>
2984     * Allow winbindd to return the correct number of groups 
2985       when the groups array must be enlarged.
2986
2987
2988 o   Narayana Pattipati <narayana.pattipati@wipro.com>
2989     * Solaris autoconf detection fixes.
2990
2991
2992 o   Tim Potter <tpot@samba.org>
2993     * BUG 1360: (correct fix) Use -Wl when passing flags to 
2994       the linker.
2995     * HP-UX compile fixes (from JBravo on #samba-technical).
2996     * BUG 1731: More HP-UX compiles fixes.
2997     * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2 
2998       spits the dummy otherwise.
2999     * Fix bug in Python printerdata wrapper.
3000     * BUG 1762: nss_winbind fixes on AIX 5.x (patch from 
3001       <bugzilla-samba@thewrittenword.com>).
3002     * Fix parameter confusion in priming of name-to-sid cache
3003       (Found by Qiao Yang).
3004     * BUG 1888: Remove '..' from all pre-processor commands.
3005     * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef 
3006       DEBUG_PASSWORD.
3007
3008
3009 o   Matt Selsky <selsky@columbia.edu>
3010     * BUG 350: use autoconf 2.57 feature for checking header file
3011       preprocessing (fixes configure warnings on Solaris).
3012
3013
3014 o   Richard Renard <rrenard@idealx.com>
3015     * Fix usermgr.exe and trust relationships.
3016
3017
3018 o   Paul Szabo <psz@maths.usyd.edu.au>
3019     * Fix to make find_workgroup use the same 
3020       truncation as create_workgroup.
3021
3022
3023 o   Richard Sharpe <rsharpe@samba.org>
3024     * Ensure cli_write() can support writes >= 65536 bytes.
3025
3026
3027 o   Simo Sorce <idra@samba.org>
3028     * Added check password script code in examples/auth/crackcheck/
3029     * Fix memory corruption bug caused in freeing static memory.
3030
3031
3032 o   Andrew Tridgell <tridge@samba.org>
3033     * Remove lp_use_mmap() from map_file() since the latter 
3034       is for read only and does not require coherence.
3035     * Ensure that the uuid pack/unpack routines do not go past 
3036       the end of the structure.
3037     * Converted Samba 3 tree to use the new utf-16 aware iconv 
3038       code. 
3039     * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
3040     * Ensure configure only uses '=' instead of the bashism '=='.
3041     * Reduces the number of tdb locking calls made on file IO.
3042     
3043
3044 o   Jelmer Vernooij <jelmer@samba.org>
3045     * Convert internal data to UTF-8 before calling libxml2.
3046     * Complain if 'password chat' doesn't contain the %u variable
3047       (based on a patch by Ronan Waide).
3048     
3049
3050 o   Josef Zlomek
3051     * BUG 1541:  Fix recursive ls in smbclient. 
3052
3053     
3054 o   Igor Zhbanov <bsg@uniyar.ac.ru>
3055     * BUG 1797: Prevent winbind and nmbd from ignoring the "-l" 
3056       option.
3057
3058       --------------------------------------------------
3059
3060                   =============================
3061                   Release Notes for Samba 3.0.7
3062                            Sept 13, 2004
3063                   =============================
3064
3065 Common bugs fixed in 3.0.7 include:
3066
3067   o Fixes for two Denial of Service vulnerabilities
3068     (CVE ID# CAN-2004-0807 & CAN-2004-0808).
3069   o Winbind failure to return user entries under certain
3070     conditions.
3071   o Syntax errors in the OpenLDAP schema file (samba.schema).
3072   o Printing errors caused by not setting default values
3073     for the various printing commands.
3074
3075
3076 Changes since 3.0.6
3077 -------------------
3078
3079 smb.conf changes
3080 ----------------
3081
3082     Parameter Name                      Action
3083     --------------                      ------
3084     winbind enable local accounts       disabled by default
3085
3086     
3087 commits
3088 -------
3089 o   Jeremy Allison <jra@samba.org>
3090     * Fix parsing of names ending in dot and a few other error 
3091       returns.
3092     * BUG 1674: Move the symlinks checks into reduce_name().
3093     * Fix memleak when checking the valid names smb.conf option.
3094     * Fix memleak on error return path in the file open code.
3095     * More paranoia checks in the hash2 mangling code.
3096     * Fix syntax error in configure.in.
3097     * Match Win2k3's behavior for pathname parsing error returns.
3098     * Make nmbd more robust against bad netbios packets 
3099       (CAN-2004-0808).
3100     * Add more checks for invalid ASN.1 packets for SPNEGO packets
3101       (CAN-2004-0807).
3102
3103   
3104 o   Andrew Bartlett <abartlet@samba.org>  
3105     * Janitor work in loadparm.c -- remove unused parameters.
3106
3107
3108 o   Gerald Carter <jerry@samba.org>
3109     * BUG 1464: Ensure that printing commands are initialized even
3110       if the 'printing' parameter is not explicitly set.
3111     * Resolve name conflict on DEC OSF-5.1 (inspired by patch from 
3112       Adharsh Praveen <rprav@india.hp.com>)
3113     * Work around parsing error in the print change notify code.
3114     * remove duplicate declaration of getprintprocdir from 
3115       rpcclient.
3116     * Only use sAMAccountName and not userPrincipalName when looking
3117       up a username in AD since the breaks winbindd (lookup_name() 
3118       only works with the sAMAccountName).
3119     * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not 
3120       filling in the username in the user_info3.
3121     * Fix logic bug in the check for creating a user's home directory 
3122       in register_vuid(); caused home directory to be mismatched to 
3123       the first share in smb.conf under certain conditions.
3124     * BUG 1656: rename auto.a to auto.smb.
3125     * Ensure that we assign our pid to print jobs (and not our 
3126       parent's pid); ensures that spooling jobs from dead smbds 
3127       are removed from the tdb.
3128     * Disable 'winbind enable local accounts' by default.
3129     * Adding some initial checks for DragonFly (same as 
3130       FreeBSD 4.1).
3131     
3132
3133 o   Guenther Deschner <gd@samba.org> 
3134     * Use SMB_ASSERT() to track down NULL printer names in 
3135       the tdb open code.
3136     * Revert fix for BUG 1474 to avoid unnecessary packaging 
3137       dependencies.
3138
3139
3140 o   Olaf Flebbe <o.flebbe@science-computing.de>.  
3141     * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 
3142       and 5.1.
3143     * BUG 1626: More compile fixes.
3144
3145
3146 o   Rob Foehl <rwf@loonybin.net>
3147     * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset 
3148       by attempts to sanitize the defined attributes.
3149
3150
3151 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
3152     * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
3153
3154
3155 o   Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
3156     * BUG 1657: Remove used initialized variable, 
3157     * BUG 1658: Add a little bit of const.
3158
3159
3160 o   Volker Lendecke <vl@samba.org>
3161     * If there's garbage in the pidfile, we should not panic 
3162       but assume that no one else is around. We can't find the 
3163       other guy anyway.
3164
3165
3166 o   Jim McDonough <jmcd@us.ibm.com>
3167     * Fixup format string in the tdb error messages.
3168
3169
3170 o   Jonas Olsson <lexicon@lysator.liu.se>
3171     * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when 
3172       reporting the list in usrmgr.exe.
3173
3174
3175 o   Tim Potter <tpot@samba.org>
3176     * Fix out-of-tree builds (problem with the script to generate 
3177       the svn version number).
3178     * BUG 1360:  Need to use -Wl when passing flags to the linker.
3179     * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which 
3180       doesn't have one of its own.
3181
3182 o   Simo Sorce <idra@samba.org>
3183     * Fixup compile issues on AIX caused by broken strlen() and 
3184       strdup().
3185     * Update debian packaging files.
3186
3187
3188 o   Dimitri van der Spek <dwspek@aboveit.nl>
3189     * Use the correct counter when copying group rids from the 
3190       user_info3 struct in pam_winbind.
3191       
3192
3193 o   Qiao Yang <qyang@stbernard.com>
3194     * BUG 1622: Only cache the user
3195
3196
3197       --------------------------------------------------
3198       
3199                   =============================
3200                   Release Notes for Samba 3.0.6
3201                            Aug 19, 2004
3202                   =============================
3203
3204 Common bugs fixed in 3.0.6 include:
3205
3206   o Schannel failure in winbindd.
3207   o Numerous memory leaks.
3208   o Incompatibilities between the 'write list' and 'force user'
3209     smb.conf options.
3210   o Premature optimization of the open_directory() internal 
3211     function that broke tools such as the ArcServe backup 
3212     agent, Macromedia HomeSite, and Robocopy.
3213   o Corrupt workgroup names in nmbd's browse.dat.
3214   o Sharing violation errors commonly seen when opening
3215     when serving Microsoft Office documents from a Samba 
3216     file share.
3217   o Browsing problems caused by an apostrophe (') in the 
3218     computer's description field.
3219   o Problems creating special file types from UNIX CIFS 
3220     clients and enabling 'unix extensions'.
3221   o Fix stalls in smbd caused by inaccessible LDAP servers.
3222   o Remove various memory leaks.
3223   o Fix issues in the password lockout feature.
3224
3225 New features introduced in this release include:
3226
3227   O Support symlinks created by CIFS clients which 
3228     can be followed on the server.
3229   o Using a cups server other than localhost.
3230   o Maintaining the service principal entry in the system 
3231     keytab for integration with other kerberized services.
3232     Please refer to the 'use kerberos keytab' entry in 
3233     smb.conf(5).  When using the heimdal kerberos libraries,
3234     you must also specify the following in /etc/krb5.conf:
3235     [libdefaults]
3236        default_keytab_name = FILE:/etc/krb5.keytab
3237   o Support for maintaining individual printer names
3238     stored separately from the printer's sharename.
3239   o Support for maintaining user password history.
3240   o Support for honoring the logon times for user in a 
3241     Samba domain.
3242
3243
3244 ============================================
3245 unix extensions = yes (default) and symlinks
3246 ============================================
3247
3248 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1), 
3249 clients supporting the UNIX extensions to the CIFS protocol 
3250 can create symlinks to absolute paths which will be **followed** 
3251 by the server.  This functionality has been requested in order 
3252 to correctly support certain applications when the user's home 
3253 directory is mounted using some type of CIFS client (e.g. the 
3254 cifsvfs in the Linux 2.6 kernel).
3255
3256 If this behavior is not acceptable for your production environment
3257 you can set 'wide links = no' in the specific share declaration in 
3258 the server's smb.conf.  Be aware that disabling wide link support 
3259 out of a share in Samba may impact the server's performance due 
3260 to the fact that smbd will now have to check each path additional 
3261 times before traversing it.
3262   
3263
3264 ========================
3265 Password History Support 
3266 ========================
3267
3268 The new password history feature allows smbd to check the new 
3269 password in password change requests against a list of the user's
3270 previous passwords.  The number of previous passwords to save can 
3271 be set using pdbedit (4 in this example):
3272
3273    root# pdbedit -P "password history" -C 4
3274
3275 When using the ldapsam passdb backend, it is vital to secure the 
3276 following attributes from access by non-administrative users:
3277
3278    * sambaNTPassword
3279    * sambaLMPassword
3280    * sambaPasswordHistory
3281
3282 You should refer to your directory server's documentation on how 
3283 to implement this restriction.
3284
3285
3286 Changes since 3.0.5
3287 -------------------
3288
3289 smb.conf changes
3290 ----------------
3291
3292     Parameter Name              Action
3293     --------------              ------
3294     cups server                 New
3295     defer sharing violations    New
3296     force unknown acl user      New
3297     ldap timeout                New
3298     printcap cache time         New
3299     use kerberos keytab         New
3300     
3301 commits
3302 -------
3303 o   Jeremy Allison <jra@samba.org> 
3304     * Correct path parsing bug that broke DeletePrinterDriverEx().
3305     * Fix bugs in check_path_syntax() caught by asserts.
3306     * Internal change - rearrange internal global case setting 
3307       variables to a per connection basis.
3308     * BUG 1345: Fix premature optimization in unix_convert(). 
3309     * Allow clients to truncate a locked file.
3310     * BUG 1319: Always check to see if a user as write access
3311       to a share, even when 'force user' is set.
3312     * Fix specific case of open that doesn't cause oplock break, 
3313       or share mode check.
3314     * Correct sid type is WKN_GROUP, not alias. Added some 
3315       more known types (inspired by patch from Jianliang Lu).
3316     * Allow creation of absolute symlink paths via CIFS clients.
3317     * Fix charset bug in when invoking send_mailslot().
3318     * When using widelinks = no, use realpath to canonicalize 
3319       the connection path on connection create for the user. 
3320     * Enhance stat open code.
3321     * Fix unix extensions mknod code path.
3322     * Allow unix domain socket creation via unix extensions.
3323     * Auto disable the 'store dos attribute' parameter if the 
3324       underlying filesystem doesn't support EAs.
3325     * Implement deferred open code to fix a bug with Excel files 
3326       on Samba shares.
3327     * BUG 1427: Catch bad path errors at the right point.  Ensure 
3328       all our pathname parsing is consistent.
3329     * Fix SMB signing error introduced by the new deferred open 
3330       code.
3331     * Change default setting for case sensitivity to "auto". (see 
3332       commit message -- r1154 -- for details).
3333     * Add new remote client arch -- CIFSFS.
3334     * Allow smbd to maintain the service principal entry in the 
3335       system keytab file (based on patch Dan Perry <dperry@pppl.gov>, 
3336       Guenther Deschner, et. al.).
3337     * Fix longstanding memleak bug with logfile name.
3338     * Fix incorrect type in printer publishing (struct uuid, 
3339       not UUID_FLAT).
3340     * Heimdal compile fixes after introduction of the new ketyab 
3341       feature.
3342     * Ensure we check attributes correctly on rename request.
3343     * Ensure we defer a sharing violation on rename correctly.
3344     * BUG 607: Ensure we remove DNS and DNSFAIL records immediately 
3345       on timeout.
3346     * Fix bogus error message when using "mangling method = hash" 
3347       rather than hash2.
3348     * Turn on sendfile by default for non-Win9x clients.
3349     * Handle non-io opens that cause oplock breaks correctly.
3350     * Ensure ldap replication sleep time is not more than 5 seconds.
3351     * Add support for storing a user's password history.
3352       LDAP portion of the code was based on a patch from 
3353       Jianliang Lu <j.lu@tiesse.com>.
3354     * Correct memory leaks found in the password change code.
3355     * Fix support for the mknod command with the Linux CIFS client.
3356     * Remove support for passing the new password to smbpasswd 
3357       on the command line without using the -s option.
3358     * Ensure home directory service number is correctly reused
3359       (inspired by patches from Michael Collin Nielsen 
3360       <michael@hum.aau.dk>).
3361     * Fix to stop printing accounts from resetting the bas 
3362       password and account lockout flags.
3363     * If a account was locked out by an admin (and has a bad 
3364       password count of zero) leave it locked out until an admin 
3365       unlocks it (but log a message).
3366     * Ensure we return the same ACL revision on the wire that 
3367       W2K3 does.
3368     * BUG 1578: Hardcode replacement for invalid characters as '_'
3369       (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
3370     * Fix hashed password history for LDAP backends.
3371     * Enforce logon hours restrictions if confiogured (based on code 
3372       from Richard Renard <rrenard@idealx.com>).
3373     * BUG 1606: Force smbd to disable sendfile with DOS clients 
3374       and ensure that the chained header is filled in for ...&X 
3375       commands.
3376     * BUG 1602: Fix access to shares when all symlink support 
3377       has been disabled.
3378
3379
3380
3381 o   Tom Alsberg <alsbergt@cs.huji.ac.il>
3382     * Allow pdbedit to export a single user from a passdb backend.
3383     
3384
3385 o   Andrew Bartlett <abartlet@samba.org>  
3386     * Fix parsing bug in GetDomPwInfo().
3387     * Fix segfault in 'ntlm_auth --diagnostics'.
3388     * Re-enable code to allow sid_to_gid() to perform a group 
3389       mapping lookup before checking with winbindd.
3390     * Fix memory leak in the trans2 signing code.
3391     * Allow more flexible GSS-SPENGO client and server operation 
3392       in ntlm_auth.
3393     * Improve smbd's internal random number generation.
3394     * Fix a few outstanding long password changes in smbd.
3395     * Fix LANMAN2 session setup code.
3396
3397
3398 o   Eric Boehm <boehm@nortelnetworks.com>
3399     BUG 703: Final touches on netgroup case lookups.
3400     
3401     
3402 o   Jerome Borsboom <j.borsboom@erasmusmc.nl>
3403     * Ensure error status codes don't get overwritten in 
3404       lsa_lookup_sids() server code.
3405     * Correct bug that caused smbd to overwrite certain error 
3406       codes when returning up the call stack.
3407     * Ensure the correct sid type returned for builtin sids.
3408
3409
3410 o   Gerald Carter <jerry@samba.org>
3411     * Fix a few bugs in the Fedora Packaging files.
3412     * Fix for setting the called name to by our IP if the 
3413       called name was *SMBSERVER and *SMBSERV.   Fixes issue 
3414       with connecting to printers via \\ip.ad.dr.ess\printer 
3415       UNC path.
3416     * BUG 1315: fix for schannel client connections to servers
3417       when we haven't specifically negotiated AUTH_PIPE_SEAL.
3418     * Allow PrinterDriverData valuenames with embedded backslashes
3419       (Fixes bug with one of the Konica Fiery drivers).
3420     * Fixed string length miscalculation in netbios names that 
3421       resulted in corrupt workgroup names in browse.dat.
3422     * When running smbd as a daemon, launch child smbd to update 
3423       the lpq cache listing in the background.
3424     * Allow printers "Printers..." folder to be renamed to a string 
3425       other than the share name.
3426     * Allow winbindd to use domain trust account passwords when 
3427       running on a Samba DC to establish an schannel to remote 
3428       domains.
3429     * Fix bad merge and ensure that we always use tdb_open_log() 
3430       instead of tdb_open_ex() (the former call enforce the 'use 
3431       mmap' parameter).
3432     * BUG 1221: revert old change that used single and double 
3433       quotes as delimeters in next_token(), and change 
3434       print_parameter() to print out parm values surrounded by 
3435       double quotes (instead of single quotes).
3436     * Prevent home directories added during the SMBsesssetup&X from 
3437       being removed as unused services.
3438     * Invalidate the print object cache for open printer handles when
3439       smbd receives a message that an attribute on a given printer 
3440       has been changed.
3441     * Cause the configure script to exit if --enable-cups[=yes] is 
3442       defined and the system does not have the cups devel files 
3443       installed.
3444     * BUG 1297: Prevent map_username() from being called twice 
3445       during logon.
3446     * Ensure that we use the userPrincipalName AD attribute 
3447       value for LDAP SASL binds.
3448     * Ensure we remove the tdb entry when deleting a job that 
3449       is being spooled.
3450     * BUG 1520: Work around bug in Windows XP SP2 RC2 where the 
3451       client sends a FindNextPrintChangeNotify() request without 
3452       previously sending a FindFirstPrintChangeNotify().  Return 
3453       the same error code as Windows 2000 SP4.
3454     * BUG 1516: Manually declare ldap_open_with_timeout() to 
3455       workaround compiler errors on IRIX (or other systems without 
3456       LDAP headers).
3457     * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from 
3458       3.0.5.
3459     * Corrected syntax error in the OID for sambaUnixIdPool, 
3460       sambaSidEntry, & sambaIdmapEntry object classes.
3461     * Tighten the cache consistency with the ntprinters.tdb entry 
3462       an the in memory cache associated with open printer handles.
3463     * Make sure that register_messages_flags() doesn't overwrite 
3464       the originally registered flags.
3465
3466
3467 o   Fabien Chevalier <fabien.chevalier@supelec.fr>
3468     * Debian BUG 252591: Ensure that the return value from the 
3469       number of available interfaces is initialized in case no 
3470       interfaces are actually available.
3471
3472
3473 o   Guenther Deschner <gd@sernet.de> 
3474     * Implement 'rpcclient setprintername'.
3475     * Add local groups to the user's NT_TOKEN since they are 
3476       actually supported now.
3477     * Heimdal compile fixes after introduction of the new keytab 
3478       feature.
3479     * Correctly honor the info level parameter in 'rpcclient 
3480       enumprinters'.
3481     * Reintroduce 'force unknown acl user' parameter.  When getting a 
3482       security descriptor for a file, if the owner sid is not known, 
3483       the owner uid is set to the current uid. Same for group sid.
3484     * Ensure that REG_SZ values in the SetPrinterData actually 
3485       get written in UNICODE strings rather than ASCII.
3486     * Ensure that the last kerberos error return is not invalid.
3487     * Display share ACL entries from rpcclient.
3488     * Correct infinite loop in pam_winbind's verification of 
3489       group membership in the 'other sids' field in the user_info3 
3490       struct.
3491
3492
3493 o   Fabian Franz <FabianFranz@gmx.de>
3494     * Support specifying a port in the device URL passed to smbspool.
3495     
3496     
3497 o   Steve French <sfrench@us.ibm.com>
3498     * Handle -S and user mount parms in mount.cifs.
3499     * Fix user unmount of shares mount with suid mount.cifs.
3500     * prevent infinite recusion in reopen_logs() when expanding 
3501       the smb.conf variable %I.
3502
3503
3504 o   Bjoern Jacke <bj@sernet.de>
3505     * Install libsmbclient into $(LIBDIR), not into hard coded 
3506       ${prefix}/lib. This helps amd64 systems with /lib and /lib64 
3507       and an explicit configure --libdir setting.
3508
3509
3510 o   <kawasa_r@itg.hitachi.co.jp>
3511     * Correct more memory leaks and initialization bugs.
3512     * Fix bug that prevented core dumps from being generated 
3513       even if you tried.
3514     * Connect to the winbind pipe in non-blocking mode to 
3515       prevent processes from hanging.
3516     * Memory leak fixes.
3517
3518
3519 o   Stephan Kulow <coolo@suse.de>
3520     * Fix crash bug in libsmbclient.
3521
3522
3523 o   Volker Lendecke <vl@samba.org>
3524     * Added vfs_full_audit module.
3525     * Add vfs_afsacl.c which can display & set AFS acls via 
3526       the NT security editor.
3527     * Fix crash bug caused by trying to Base64 encode a NULL string.
3528     * Fix DOS error code bug in reply_chkpath().
3529     * Correct misunderstanding of the max_size field in 
3530       cli_samr_enum_als_groups;  it is more like an account_control 
3531       field with individual bits what to retrieve.
3532     * Implement 'net rpc group rename' -- rename domain groups.
3533     * Implement the 'cups server' option. This makes it possible 
3534       to have virtual smbd's connect to different cups daemons.
3535     * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
3536     * Fix sid_to_gid() calls in winbindd to prevent loops.
3537     * Ensure that local_sid_to_gid() sets the type of the group on 
3538       return.
3539     * Make sure that the clients are given back the IP address to 
3540       which they connected in the case of a multi-homed host. Only 
3541       affects strings the spoolss printing replies.
3542     * Fix the bad password lockout. This has not worked as pdb_ldap.c 
3543       did not ask for the modifyTimestamp attribute, so it could 
3544       not find it.   Try not to regress by not putting that attrib 
3545       in the main list but append it manually for the relevant searches.
3546     * Fix two memleaks in login_cache.c.
3547     * fixes memory bloat when unmarshalling strings.
3548     * Fix compile errors using gcc 3.2 on SuSE 8.2.
3549     * Fix the build for systems without kerberos headers.
3550     * Allow winbindd to handle authentication requests only when 
3551       started without either an 'idmap uid' or 'idmap gid' range.
3552     * Fix the build for systems without ldap headers.
3553     * Fix interaction between share security descriptor and the 
3554       'read only' smb.conf option.
3555     * Fix bug that caused _samr_lookupsids() with more than 32 (
3556       MAX_REF_DOMAINS) SIDs to fail.
3557     * Allow the 'idmap backend' parameter to accept a list of 
3558       LDAP servers for failover purposes.
3559     * Revert code in smbd to remove a tdb when it has become 
3560       corrupted.
3561     * Add paranoid checks when mapping SIDs to a uid/gid to 
3562       ensure that the type is correct.
3563     * Initial work on getting client support for sending mailslot 
3564       datagrams.
3565     * Add 'ldap timeout' parameter.
3566     * Dont always uppercase 'afs username map'.
3567     * Expand aliases for getusersids as well.
3568     * Improved NT->AFS ACL mapping VFS module.
3569
3570
3571 o   Herb Lewis <herb@samba.org>
3572     * Add the acls debug class.
3573     * Fix logic bug in netbios name truncate routine.
3574     * Fix smbd crash caused by smbtorture IOCTL test.
3575     * Fix errno tromping before calling iconv to reset the 
3576       conversion state.
3577     * need to leave empty dacl so we can remove last ACE.
3578
3579
3580 o   Jianliang Lu <Jianliang.Lu@getronics.com>
3581     * Fix to stop smbd hanging on missing group member in 
3582       get_memberuids().
3583     * Make sure Samba returns the correct group types.
3584      * Reset the bad password count password counts upon a successful login.
3585      
3586      
3587 o   Jason Mader <jason@ncac.gwu.edu>
3588     * BUG 1385: Don't use non-consts in a structure initialization.
3589     
3590
3591 o   Jim McDonough <jmcd@us.ibm.com>
3592     * BUG 1279: SMBjobid fix for Samba print servers running on 
3593       Big-Endian platforms.
3594
3595
3596 o   Joe Meadows <jameadows@webopolis.com>
3597     * Add optional timeout parameter to ldap open calls.
3598     * Allow get_dc_list() to check the negative cache.
3599
3600
3601 o   Stefan Metzmacher <metze@samba.org>    
3602     * fix a configure logic bug for linux/XFS quotas when 
3603       using --with-sys-quotas.
3604     * Use quota debug class in quota code.
3605     * print out the SVN revision by configure,
3606     
3607
3608 o   Buchan Milne <bgmilne@mandrake.org>
3609     * Mandrake packaging fixes.
3610     
3611     
3612 o   Lars Mueller <lmuelle@samba.org>
3613     * BUG 1279: Added 'printcap cache time' parameter.
3614     * Fix afs related build issues on SuSE.
3615     * Fix compiler warnings in the kerberos client code.
3616
3617
3618 o   James Peach <jpeach@sgi.com>
3619     * More iconv detection fixes for IRIX.
3620     * Compile fixed for systems that do not have C99/UNIX98 compliant 
3621       vsnprintf by default.
3622     * Prevent smbd from attempting to use sendfile at all if it is 
3623       not supported by the server's OS.
3624     * Allow SWAT to search for index.html when serving html files 
3625       in a directory.
3626
3627
3628 o   Dan Peterson
3629     * Implement NFS quota support on FreeBSD.
3630
3631
3632 o   Tim Potter <tpot@samba.org>
3633     * BUG 1360: Use -Bsymbolic when creating shared libraries to 
3634       avoid conflicts with identical symbols in the global namespace 
3635       when loading libnss_wins.so.
3636
3637
3638 o   Richard Renard <rrenard@idealx.com>
3639     * Save the current password as it is being changed into the 
3640       password history list.
3641
3642
3643 o   Richard Sharpe <rsharpe@samba.org>
3644     * Fix error return codes on some lock messages.
3645     * BUG 1178: Make the libsmbclient routines callable 
3646       by C++ programs.
3647     * BUG 1333: Make sure we return an error code when 
3648       things go wrong.
3649     * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when 
3650       share mode locking requests fail.
3651
3652
3653 o   Simo Sorce <idra@samba.org>
3654     * Update Debian stable & unstable packaging.
3655     * Tidy up parametric options in testparm output.
3656
3657
3658 o   Richard Sharpe <rsharpe@samba.org>
3659     * Add sigchild handling to winbindd to restart the child 
3660       daemon if necessary.
3661
3662
3663 o   Tom Shaw <tomisfaraway@gmail.com>
3664     * Use winbindd_fill_pwent() consistently.
3665
3666
3667 o   Nick Thompson <nickthompson@agere.com>
3668     * Protect smbd against broken filesystems which return zero 
3669       blocksize.
3670
3671
3672 o   Andrew Tridgell <tridge@samba.org>
3673     * Fixed bug in handling of timeout in socket connections.
3674      
3675
3676 o   Nick Wellnhofer <wellnhofer@aevum.de>    
3677     * Prevent lp_interfaces() list from being corrupted.  Fixes
3678       bug where nmbd would lose the list of network interfaces 
3679       on the system and consequently shutdown.
3680
3681       
3682 o   James Wilkinson <jwilk@alumni.cse.ucsc.edu>
3683     * Fix ntlm_auth memory leaks.
3684
3685
3686 o   Jelmer Vernooij <jelmer@samba.org>
3687     * Additional NT status to unix error mappings.
3688     * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't 
3689       get duplicate symbol errors.
3690     * Return an error when the last command read from stdin 
3691       fails in smbclient.
3692     * Prepare for better error checking in tar.
3693     * BUG 1474: Fix build of --with-expsam stuff on Solaris.
3694       
3695
3696       --------------------------------------------------
3697       
3698                  =============================
3699                  Release Notes for Samba 3.0.5
3700                          July 20, 2004
3701                  =============================
3702
3703 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with 
3704 the exception of correcting the two security issues outlined 
3705 below.
3706
3707 ######################## SECURITY RELEASE ########################
3708
3709 Summary:       Multiple Potential Buffer Overruns in Samba 3.0.x
3710 CVE ID:        CAN-2004-0600, CAN-2004-0686
3711                (http://cve.mitre.org/)
3712
3713
3714 This is the latest stable release of Samba. This is the version
3715 that production Samba servers should be running for all current
3716 bug-fixes.
3717
3718 It has been confirmed that versions of Samba 3 prior to v3.0.4
3719 are vulnerable to two potential buffer overruns.  The individual
3720 details are given below.
3721
3722 =============
3723 CAN-2004-0600
3724 =============
3725
3726 Affected Versions:      Samba 3.0.2 and later
3727
3728 The internal routine used by the Samba Web Administration
3729 Tool (SWAT v3.0.2 and later) to decode the base64 data
3730 during HTTP basic authentication is subject to a buffer
3731 overrun caused by an invalid base64 character.  It is
3732 recommended that all Samba v3.0.2 or later installations
3733 running SWAT either (a) upgrade to v3.0.5, or (b) disable
3734 the swat administration service as a temporary workaround.
3735
3736 This same code is used internally to decode the
3737 sambaMungedDial attribute value when using the ldapsam
3738 passdb backend. While we do not believe that the base64
3739 decoding routines used by the ldapsam passdb backend can
3740 be exploited, sites using an LDAP directory service with
3741 Samba are strongly encouraged to verify that the DIT only
3742 allows write access to sambaSamAccount attributes by a
3743 sufficiently authorized user.
3744
3745 The Samba Team would like to heartily thank Evgeny Demidov
3746 for analyzing and reporting this bug.
3747
3748 -------------
3749 CAN-2004-0686
3750 -------------
3751
3752 Affected Versions:      Samba 3.0.0 and later
3753
3754 A buffer overrun has been located in the code used to support
3755 the 'mangling method = hash' smb.conf option.  Please be aware
3756 that the default setting for this parameter is 'mangling method
3757 = hash2' and therefore not vulnerable.
3758
3759 Affected Samba 3 installations can avoid this possible security
3760 bug by using the default hash2 mangling method.  Server
3761 installations requiring the hash mangling method are encouraged
3762 to upgrade to Samba 3.0.5.
3763
3764
3765 ##################################################################
3766
3767     --------------------------------------------------
3768                  
3769                  =============================
3770                  Release Notes for Samba 3.0.4
3771                           May 8, 2004
3772                  =============================
3773
3774 Common bugs fixed in Samba 3.0.4 include:
3775
3776   o Password changing after applying the patch described in 
3777     the Microsoft KB828741 article to Windows clients.
3778   o Crashes in smbd.
3779   o Managing print jobs via Windows on Big-Endian servers.
3780   o Several memory leaks in winbindd and smbd.
3781   o Compile issues on AIX and *BSD.
3782
3783 Changes since 3.0.3
3784 --------------------
3785
3786 commits
3787 -------
3788
3789 o   Jeremy Allison <jra@samba.org>
3790     * Fix path processing for DeletePrinterDriverEx().
3791     * BUG 1303: Fix for Microsoft hotfix MS04-011 password change 
3792       breakage.
3793
3794
3795 o   Andrew Bartlett <abartlet@samba.org>
3796     * Fix alignment bug in GetDomPwInfo().
3797
3798
3799 o   Alexander Bokovoy <ab@samba.org>
3800     * Fix utime[s]() issues in smbwrapper on systems 
3801       that can boot both the 2.4 and 2.6 Linux kernels.
3802
3803
3804 o   Gerald Carter <jerry@samba.org>
3805     * Fedora packaging fixes.
3806     * BUG 1302: Fix seg fault by not trying to optimize a list of 
3807       invalid gids using the wrong array size.
3808     * BUG 1309: fix seg fault caused by trying to strdup(NULL)
3809       seen when 'security = share'.
3810     * Fix problems when using IBM's compiler on AIX.
3811     * Link Developer's Guide, Example Guide, and multi-page HOWTO
3812       into SWAT's welcome page.
3813     * BUG 1293: fix double free in printer publishing code.
3814
3815     
3816 o   Wim Delvaux <wim.delvaux@adaptiveplanet.com>
3817     * Fix for handling timeouts in socket connections.
3818
3819
3820 o   Michel Gravey <michel.gravey@optogone.com>
3821     * BUG 483: patch from  to fix password hash creation in SWAT.
3822     
3823
3824 o   Volker Lendecke <vl@samba.org>
3825     * Close the open NT pipes before the tdis.
3826     * Fix AFS related build issues.
3827     * Handle error conditions when base64 encoding a blob of 0 bytes.
3828
3829     
3830 o   Herb Lewis <herb@samba.org>
3831     * Added 'acls' debug class.
3832
3833 o   kawasa_r@itg.hitachi.co.jp
3834     * Multiple variable initialization and memory leak fixes.
3835     
3836     
3837 o   Stephan Kulow <coolo@suse.de>
3838     * Fix string length bug in libsmbclient that caused KDE's 
3839       Konqueror to crash.
3840     * BUG 429: More libsmbclient fixes.
3841
3842
3843 o   Jim McDonough <jmcd@us.ibm.com>
3844     * BUG 1007, 1279: Store the print job using a little-endian key.
3845
3846
3847 o   Eric Mertens
3848     o Compile fix for OpenBSD (ENOTSUP not supported).
3849
3850     
3851 o   Stefan Metzmacher <metze@samba.org>
3852     * Correct bug in disks quota views from explorer.
3853
3854     
3855 o   Tim Potter <tpot@samba.org>
3856     BUG 1305: Correct debug output.
3857
3858
3859 o   Richard Sharpe <rsharpe@samba.org>
3860     * Fix incorrect error code mapping.
3861
3862
3863 o   Jelmer Vernooij <jelmer@samba.org>
3864     * Add additional NT_STATUS errorm mappings.
3865     
3866
3867     --------------------------------------------------
3868
3869                  =============================
3870                  Release Notes for Samba 3.0.3
3871                         April 29, 2004
3872                  =============================
3873
3874
3875 Common bugs fixed in Samba 3.0.3 include:
3876
3877   o Crash bugs and change notify issues in Samba's printing code.
3878   o Honoring secondary group membership on domain member servers.
3879   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
3880   o Substitution errors for %[UuGg] in smb.conf.
3881   o winbindd crashes when using ADS security mode.
3882   o SMB signing errors.
3883   o Delays in winbindd startup caused by unnecessary 
3884     connections to trusted domain controllers.
3885   o Various small memory leaks.
3886   o Winbindd failing due to expired Kerberos tickets.
3887
3888 New features introduced in Samba 3.0.3 include:
3889
3890   o Improved support for i18n character sets.
3891   o Support for account lockout policy based on
3892     bad password attempts.
3893   o Improved support for long password changes (>14
3894     characters) and strong password enforcement.
3895   o Support for Windows aliases (i.e. nested groups).
3896   o Experimental support for storing DOS attribute on files
3897     and folders in Extended Attributes.
3898   o Support for local nested groups via winbindd.
3899   o Specifying options to be passed directly to the CUPS libraries.
3900
3901 Please be aware that the Samba source code repository was 
3902 migrated from CVS to Subversion on April 4, 2004.  Details on 
3903 accessing the Samba source tree via anonymous svn can be found 
3904 at http://svn.samba.org/samba/subversion.html.
3905
3906
3907 Changes since 3.0.2a
3908 --------------------
3909 smb.conf changes
3910 ----------------
3911
3912     Parameter Name              Action
3913     --------------              ------
3914     cups options                New
3915     ea support                  New
3916     only user                   Deprecated
3917     store dos attributes        New
3918     unicode                     Removed
3919     winbind nested groups       New
3920
3921     
3922 commits
3923 -------
3924
3925 o   Jeremy Allison <jra@samba.org>
3926     * Ensure that Kerberos mutex is always properly unlocked.
3927     * Removed Heimdal "in-memory keytab" support.
3928     * Fixup the 'multiple-vuids' bugs in our server code.
3929     * Correct return code from lsa_lookup_sids() on unmapped
3930       sids (based on work by vl@samba.org).
3931     * Fix the "too many fcntl locks" scalability problem 
3932       raised by tridge.
3933     * Fixup correct (as per W2K3) returns for lookupsids 
3934       as well as lookupnames.
3935     * Fixups for delete-on-close semantics as per Win2k3 behavior.
3936     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
3937     * Fix "unable to initialize" bug when smbd hasn't been run with 
3938       new system and a user is being added via pdbedit/smbpasswd.
3939     * Added NTrename SMB (0xA5).
3940     * Fixup correct timeout values for blocking lock timeouts.
3941     * Fix various bugs reported by 'gentest'.
3942     * More locking fixes in the case where we own the lock.
3943     * Fix up regression in IS_NAME_VALID and renames.
3944     * Don't set allocation size on directories.
3945     * Return correct error code on fail if file exists and target 
3946       is a directory.
3947     * Added client "hardlink" comment to test doing NT rename with 
3948       hard links.  Added hardlink_internals() code - UNIX extensions 
3949       now use this as well.
3950     * Use a common function to parse all pathnames from the wire for 
3951       much closer emulation of Win2k3 error return codes.
3952     * Implement check_path_syntax() and rewrite string sub 
3953       functions for better multibyte support.
3954     * Ensure msdfs referrals are multibyte safe.
3955     * Allow msdfs symlink syntax to be more forgiving.
3956       eg. sym_link -> msdfs://server/share/path/in/share 
3957       or  sym_link -> msdfs:\\server\share\path\in\share.
3958     * Cleanup multibyte netbios name support in nmbd ( based on patch
3959       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
3960     * Fix check_path_syntax() for multibyte encodings which have 
3961       no '\' as second byte (based on work by ab@samba.org.
3962     * Fix the "dfs self-referrals as anonymous user" problem
3963       (based on patch from vl@samba.org).
3964     * BUG 1064: Ensure truncate attribute checking is done correctly 
3965       on "hidden" dot files.
3966     * Fix bug in anonymous dfs self-referrals again.
3967     * Fix get/set of EA's in client library
3968     * Added support for OS/2 EA's in smbd server.
3969     * Added 'ea support' parameter to smb.conf.
3970     * Added 'store dos attributes' parameter to smb.conf.
3971     * Fix wildcard identical rename.
3972     * Fix reply_ctemp - make compatible with w2k3.
3973     * Fix wildcard unlink.
3974     * Fix wildcard src with wildcard dest renames.      
3975     * BUG 1139: Fix based on suggestion by jdev@panix.com.
3976       swap lookups for user and group - group will do an
3977       algorithmic lookup if it fails, user won't.
3978     * Make EA's lookups case independent.
3979     * Fix SETPATHINFO in 'unix extensions' support.
3980     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
3981       the UNIX info levels, and the short case preserve names.
3982
3983
3984 o   Timur Bakeyev <timur@com.bat.ru>
3985     * BUG 1144: only set --with-fhs when the argument is 'yes'
3986     * BUG 1152: Allow python modules to build despite libraries added 
3987       to LDFLAGS instead of LDPATH.
3988     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
3989
3990
3991 o   Craig Barratt <cbarratt@users.sourceforge.net>
3992     * BUG 389: Allow multiple exclude arguments with smbclient 
3993       tar -Xr options (better support for Amanda backup client).
3994
3995
3996 o   Andrew Bartlett <abartlet@samba.org>
3997     * Include support for linking with cracklib for enforcing strong 
3998       password changes.
3999     * Add support for >14 character password changes from Windows 
4000       clients.
4001     * Add 'admin set password' capability to 'net rpc'.
4002     * Allow 'net rpc samdump' to work with any joined domain 
4003       regardless of smb.conf settings.
4004     * Use an allocated buffer for count_chars.
4005     * Add sanity checks for changes in the domain SID in an 
4006       LDAP DIT.
4007     * Implement python unit tests for Samba's multibyte string 
4008       support.
4009     * Remove 'unicode' smb.conf option.
4010     * BUG 1138: Fix support for 'optional' SMB signing and other 
4011       signing bugs.
4012     * BUG 169: Fix NTLMv2-only behavior.
4013     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
4014       default.
4015     * Support SMB signing on connections using only the LANMAN 
4016       password and generate the correct the 'session key' for these 
4017       connections.
4018     * Implement --required-membership-of=, an ntlm_auth option 
4019       that restricts all authentication to members of this particular 
4020       group.
4021     * Improve our fall back code for password changes.
4022     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
4023       after the server had said something (such as an error).
4024     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
4025
4026       
4027 o   Alexander Bokovoy <ab@samba.org>
4028     * Fix incorrect size calculation of the directory name 
4029       in recycle.so.
4030     * Fix problems with very long filenames in both smbd and smbclient
4031       caused by truncating paths during character conversions.
4032     * Fix smbfs problem with Tree Disconnect issued before smbfs 
4033       starts its work.
4034
4035
4036 o   Gerald Carter <jerry@samba.org>
4037     * BUG 850: Fix 'make installmodules' bug on True64.
4038     * BUG 66: mark 'only user' deprecated.
4039     * Remove corrupt tdb and shutdown (only for printing tdbs, 
4040       connections, sessionid & locking).
4041     * decrement smbd counter in connections.tdb in smb_panic().
4042     * RedHat specfile updates.
4043     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
4044     * BUG 1147; bad pointer case in get_stored_queue_info() 
4045       causing seg fault.
4046     * BUG 761: read the config file before initialized default 
4047       values for printing options; don't default to bsd printing 
4048       Linux.
4049     * Allow the 'printing' parameter to be set on a per share basis.
4050     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
4051     * BUG 848: don't create winbind local users/groups that already 
4052       exist in the tdb.
4053     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
4054       LynxOS/ppc).
4055     * BUG 488: fix the 'show client in col 1' button and correctly 
4056       enumerate active connections.
4057     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
4058       problem when storing the updating pid for the lpq cache.
4059     * BUG 1007 (partial): Fix print change notify bugs.
4060     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
4061       and winbind use default domain = yes.  Also ensures that 
4062     * BUG 1151: Ensure that winbindd users are passed through 
4063       the username map.
4064     * Fix client rpc binds for ASU derived servers (pc netlink, 
4065       etc...).
4066     * BUG 417, 1128: Ensure that the current_user_info is set
4067       consistently so that %[UuGg] is expanded correctly.
4068     * BUG 1195: Fix crash in winbindd when the ADS server is 
4069       unavailable.
4070     * BUG 1185: Set reconnect time to be the same as the 
4071       'winbind cache time'.
4072     * Ensure that we return the sec_desc in smb_io_printer_info_2.
4073     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
4074     * BUG 1095: Honor the '-l' option in smbclient.
4075     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
4076       block.
4077     * Ensure server schannel uses the auth level requested by the 
4078       client.
4079     * Removed --with-cracklib option due to potential crash issue.
4080     * Fix -lcrypto linking problem with wbinfo.
4081     * BUG 761: allow printing parameter to set defaults on a per 
4082       share basis.
4083     * Add 'cups options' parameter to allow raw printing without 
4084       changing /etc/cups/cupsd.conf.
4085     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
4086       winbindd.
4087     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
4088     * BUG 1288: resolve any machine netbios name (0x00) and not just 
4089       servers (0x20).
4090     * BUG 1199: Fix potential symlink issue in 
4091       examples/printing/smbprint.
4092
4093
4094 o   Robert Dahlem <Robert.Dahlem@gmx.net>
4095     * BUG 1048:  Don't return short names when when 'mangled names = no'
4096
4097
4098 o   Guenther Deschner <gd@suse.com>
4099     * Remove hard coded attribute name in the ads ranged retrieval
4100       code.
4101     * Add --with-libdir and --with-mandir to autoconf script.
4102
4103
4104 o   Bostjan Golob <golob@gimb.org>
4105     * BUG 1046: Fix  getpwent_list() so that the username is not 
4106       overwritten by other fields.
4107
4108
4109 o   Landon Fuller <landonf@opendarwin.org>
4110     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
4111       to fix user/group enumeration on systems whose libc does not 
4112       call setgrent() before trying to enumerate users (i.e. 
4113       FreeBSD 5.2).
4114
4115
4116 o   Steve French <sfrench@us.ibm.com>
4117     * Update mount.cifs to version 1.1.
4118     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
4119     * Fixes to minor security bug in the mount helper.
4120     * Fix credential file mounting for cifs vfs.
4121     * Fix free of incremented pointer in cifsvfs mount helper.
4122     * Fix path canonicalization of the mount target path and help 
4123       text display in the cifs mount helper.
4124     * Add missing guest mount option for mount.cifs.
4125
4126
4127 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
4128     * BUG 1055; formatting fixes for 'net share'.
4129     * BUG 692: correct truncation of share names and workgroup 
4130       names in smbclient.
4131     * BUG 1088: use strchr_m() for query_host (smbclient -L).
4132     * Patch from to internally count characters correctly.
4133
4134
4135 o   Paul Green <paulg@samba.org>
4136     * Update VOS _POSIX_C_SOURCE macro to 200112L.
4137     * Fix bug in configure.ion by moving the first use of 
4138       AC_CHECK_HEADERS so it is always executed.
4139     * Fix configure.in to only use $BLDSHARED to select whether to 
4140       build static or shared libraries.
4141
4142
4143 o   Pat Haywarrd <Pat.Hayward@propero.net>
4144     * Make the session_users list dynamic (max of 128K).
4145     
4146     
4147 o   Cal Heldenbrand <calzplace@yahoo.com> 
4148     * Fix for for 'pam_smbpass migrate' functionality.
4149
4150
4151 o   Chris Hertel <crh@samba.org>
4152     * fix enumeration of shares 12 characters in length via 
4153       smbclient.
4154
4155
4156 o   Ulrich Holeschak <ulrich@holeschak.de>
4157     * BUG 932: fix local password change using pam_smbpass
4158
4159
4160 o   Krischan Jodies <kj@sernet.de>
4161     * Implement 'net rpc group delete'
4162
4163
4164 o   John Klinger <john.klinger@lmco.com>
4165     * Return NSS_SUCCESS once the max number of gids possible 
4166        has been found in initgroups() on Solaris.
4167     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
4168
4169
4170 o   Volker Lendecke <vl@samba.org>
4171     * Fix success message for net groupmap modify.
4172     * Fix errors when enumerating members of groups in 'net rpc'.
4173     * Match Windows behavior in samr_lookup_names() by returning
4174       ALIAS(4) when you search in BUILTIN. 
4175     * Fix server SAMR code to be able to set alias info for 
4176       builtin as well. 
4177     * Fix duplication of logic when creating groups via smbd.
4178     * Ensure that the HWM values are set correctly after running 
4179       'net idmap'.
4180     * Add 'net rpc group add'.
4181     * Implement 'net groupmap set' and 'net groupmap cleanup'.
4182     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
4183     * Fix wb_delgrpmem (wbinfo -o).
4184     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
4185     * Fix sambaUserWorkstations on a Samba DC.
4186     * Implement wbinfo -k: Have winbind generate an AFS token after
4187       authenticating the user.
4188     * Add expand_msdfs VFS module for providing referrals based on the
4189       the client's IP address.
4190     * Implement client side NETLOGON GetDCName function.
4191     * Fix caching of name->sid lookups.
4192     * Add support in winbindd for expanding nested local groups.
4193     * Fix memleak in winbindd.
4194     * Fix msdfs proxy.
4195     * Don't list domain groups from BUILTIN.
4196     * Fix memleak in policy handle utility functions.
4197     * Decrease winbindd startup time by only contacting trusted 
4198       domains as necessary.
4199     * Allow winbindd to ask the DC for its domain for a trusted 
4200       DC.
4201     * Fix Netscape DS schema based on comments from 
4202       <thomas.mueller@christ-wasser.de>.
4203     * Correct case where adding a domain user to a XP local group 
4204       did a lsalookupname on the user without domain prefix, and 
4205       failed.
4206     * Fix segfault in winbindd caused by 'wbinfo -a'.
4207     
4208
4209 o   Herb Lewis <herb@samba.org>
4210     * Fix typo for tag in proto file.
4211     * Add missing #ifdef HAVE_BICONV stuff.
4212     * Truncate Samba's netbios name at the first '.' (not 
4213       right to left).
4214
4215
4216 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
4217     * Bug fixes and enhancements to libsmbclient library.
4218
4219     
4220 o   Jianliang Lu <j.lu@tiesse.com>
4221     * Enforce the 'user must change password at next login' flag.
4222     * Decode meaning of 'fields present' flags (improves support 
4223       for usrmgr.exe).
4224     * NTLMv2 fixes.
4225     * Don't force an upper case domain name in the ntlmssp code.
4226     
4227
4228 o   L. Lucius <ib@digicron.com>.
4229     * type fixes.
4230
4231
4232 o   Jim McDonough <jmcd@us.ibm.com>
4233     * Add versioning support to tdbsam.
4234     * Update the IBM Directory Server schema with the OpenLDAP 
4235       file.
4236     * Various decoding fixes to improve usrmgr.exe support.
4237     * Fix statfs redeclaration of statfs struct on ppc
4238     * Implement support for password lockout of Samba domain 
4239       controllers and standalone servers.
4240     * Get MungedDial attribute actually working with full TS 
4241       strings in it for pdb_ldap.
4242     * BUG 1208 (partial): Improvements for working with expired krb5 
4243       tickets in winbindd.
4244     * Use timegm, or our already existing replacement instead of 
4245       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
4246     * Remove modifyTimestamp from list of our attributes.  
4247     * Fix lsalookupnames to check for domain users as well as local 
4248       users. 
4249     * Merge struct uuid replacement for GUID from trunk.
4250     * BUG 1208: Finish support for handling expired tickets in 
4251       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
4252
4253
4254 o   Stefan Metzmacher <metze@samba.org>
4255     * Implement new VERSION schema based on subversion revision 
4256       numbers.
4257     * Add shadow_copy vfs module.
4258     * Fix segault in login_cache support.
4259
4260
4261 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
4262      o BUG 979 -- Fix quota display on AIX.
4263
4264
4265 o   James Peach <jpeach@sgi.com>
4266     * Correct check for printf() format when using the SGI MIPSPro 
4267       compiler.
4268     * BUG 1038: support backtrace for 'panic action' on IRIX.
4269     * BUG 768: Accept profileing arg to IRIX init script.
4270     * BUG 748: Relax arg parsing to sambalp script (IRIX).
4271     * BUG 758: Fix pdma build.
4272     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
4273       Jason Mader.
4274       
4275
4276 o   Kurt Pfeifle <kpfeifle@danka.de>
4277     * Add example shell script for migrating drivers and printers 
4278       from a Windows print server to a Samba print server using 
4279       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
4280
4281
4282 o   Tim Potter <tpot@samba.org>
4283     * Fix logic bug in tdb non-blocking lock routines when 
4284       errno == EAGAIN.
4285     * BUG 1025: Include sys/acl.h in check for broken nisplus 
4286       include files.      
4287     * BUG 1066: s/printf/d_printf/g in SWAT.
4288     * BUG 1098: rename internal msleep() function to fix build 
4289       problems on AIX.
4290     * BUG 1112: Fix for writable printerdata problem in python bindings.
4291     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
4292     * BUG 1155: enclose use of fchown() with guards.
4293     * Relicense tdb python module as LGPL.
4294
4295
4296 o   Richard Sharpe <rsharpe@samba.org>
4297     * Add support to smbclient for multiple logins on the same 
4298       session (based on work by abartlet@samba.org).
4299     * Correct blocking condition in smbd's use of accept() on IRIX.
4300     * Add support for printing out the MAC address on nmblookup.
4301
4302
4303 o   Simo Sorce <idra@samba.org>
4304     * Replace unknown_3 with fields_present in SAMR code.
4305     * More length checks in strlcat().
4306
4307
4308 o   Andrew Tridgell <tridge@samba.org>
4309     * Rewrote the AIX UESS backend for winbindd.
4310     * Fixed compilation with --enable-dmalloc.
4311     * Change tdb license to LGPL (see source/tdb/tdb.c).
4312     * Force winbindd to use schannel in clients connections to 
4313       DC's if possible.
4314
4315
4316 o   Jelmer Vernooij <jelmer@samba.org>
4317    * Fix ETA Calculation when resuming downloads in smbget.
4318    * Add -O (for writing downloaded files to standard out) 
4319      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
4320     * Fix syntax error in example mysql table
4321
4322            
4323 o   TAKEDA yasuma <yasuma@miraclelinux.com>
4324     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
4325       cmd_chown, cmd_chmod smbclient functions.
4326
4327
4328 o   Shiro Yamada <shiro@miraclelinux.com>
4329     * BUG 1129: install image files for SWAT.
4330
4331       
4332     --------------------------------------------------
4333
4334                   ==============================
4335                   Release Notes for Samba 3.0.2a
4336                         February 13, 2004
4337                   ==============================
4338
4339 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
4340 to address, in particular, a problem when using pdbedit to 
4341 sanitize (--force-initialized-passwords) Samba's tdbsam 
4342 backend.   This is the latest stable release of Samba. This 
4343 is the version that all production Samba servers should be 
4344 running for all current bug-fixes.  
4345
4346 ******************* Attention! Achtung! Kree! *********************
4347
4348 Beginning with Samba 3.0.2, passwords for accounts with a last 
4349 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
4350 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
4351 strings.  This will cause authentication to fail for such
4352 accounts.  If you have valid passwords that meet this criteria, 
4353 you must update the last change time to a non-zero value.  If you 
4354 do not, then  'pdbedit --force-initialized-passwords' will disable 
4355 these accounts and reset the password hashes to a string of X's.
4356
4357 ******************* Attention! Achtung! Kree! *********************
4358
4359
4360 Changes since 3.0.2
4361 -------------------
4362
4363 commits
4364 -------
4365
4366 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4367 details.  The list of changes per contributor are as follows:
4368
4369
4370 o   Jeremy Allison <jra@samba.org>
4371     * Added paranoia checks in parsing code.
4372     
4373
4374 o   Andrew Bartlett <abartlet@samba.org>
4375     * Ensure that changes to uninitialized passwords in ldapsam 
4376       are written to the DIT.
4377
4378
4379 o   Gerald (Jerry) Carter <jerry@samba.org>
4380     * Fixed iterator in tdbsam.
4381     * Fix bug that disabled accounts with a valid NT password 
4382       hash, but no LanMan hash.
4383     
4384
4385 o   Steve French <sfrench@us.ibm.com>
4386     * Added missing nosetuid and noexec options.
4387
4388     
4389 o   Bostjan Golob <golob@gimb.org>
4390     * BUG 1046: Don't overwrite usernames of entries returned 
4391       by getpwent_list().
4392
4393
4394 o   Sebastian Krahmer <krahmer@suse.de>
4395     * Fixed potential crash bug in NTLMSSP parsing code.
4396
4397
4398 o   Tim Potter <tpot@samba.org>
4399     * Fixed logic in tdb_brlock error checking.
4400
4401     
4402 o   Urban Widmark <urban@teststation.com>
4403     * Set nosuid,nodev flags in smbmnt by default.
4404     
4405     
4406         --------------------------------------------------
4407                   
4408                   =============================
4409                   Release Notes for Samba 3.0.2
4410                         February 9, 2004
4411                   =============================
4412
4413 It has been confirmed that previous versions of Samba 3.0 are
4414 susceptible to a password initialization bug that could grant an 
4415 attacker unauthorized access to a user account created by the
4416 mksmbpasswd.sh shell script.
4417
4418 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
4419 has assigned the name CAN-2004-0082 to this issue.
4420
4421 Samba administrators not wishing to upgrade to the current 
4422 version should download the 3.0.2 release, build the pdbedit 
4423 tool, and run 
4424
4425    root# pdbedit-3.0.2 --force-initialized-passwords
4426       
4427 This will disable all accounts not possessing a valid password
4428 (e.g. the password field has been set a string of X's).
4429
4430 Samba servers running 3.0.2 are not vulnerable to this bug 
4431 regardless of whether or not pdbedit has been used to sanitize
4432 the passdb backend.
4433
4434 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
4435 release include:
4436
4437   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
4438   o Logging onto a Samba domain from Windows XP clients.
4439   o Problems with the %U and %u smb.conf variables in relation to 
4440     Windows 9x/ME clients.
4441   o Kerberos failures due to an invalid in memory keytab detection
4442     test.
4443   o Updates to the ntlm_auth tool.
4444   o Fixes for various SMB signing errors.
4445   o Better separation of WINS and DNS queries for domain controllers.
4446   o Issues with nss_winbind FreeBSD and Solaris.
4447   o Several crash bugs in smbd and winbindd.
4448   o Output formatting fixes for smbclient for better compatibility
4449     with scripts based on the 2.2 version.
4450
4451
4452 Changes since 3.0.1
4453 -------------------
4454
4455 smb.conf changes
4456 ----------------
4457
4458     Parameter Name              Action
4459     --------------              ------
4460     ldap replication sleep      New
4461     read size                   removed (unused)
4462     source environment          removed (unused)
4463
4464
4465 commits
4466 -------
4467
4468 Please refer to the CVS log for the SAMBA_3_0 branch for complete
4469 details.  The list of changes per contributor are as follows:
4470
4471 o   Jeremy Allison <jra@samba.org>
4472     * Revert change that broke Exchange clear text samlogons.
4473     * Fix gcc 3.4 warning in MS-DFS code.
4474     * Tidy up of NTLMSSP code.
4475     * Fixes for SMB signing errors
4476     * BUG 815: Workaround NT4 bug to support plaintext
4477       password logins and UNICODE.
4478     * Fix SMB signing bug when copying large files.
4479     * Correct error logic in mkdir_internals() (caused a panic
4480       when combined with --enable-developer).
4481     * BUG 830: Protect against crashes due to bad character 
4482       conversions.
4483
4484       
4485 o   Petri Asikainen <paca@sci.fi>
4486     * BUG 330, 387:Fix single valued attribute updates when 
4487       working with Novell NDS.
4488
4489
4490 o   Andrew Bartlett <abartlet@samba.org>
4491     * Correctly handle per-pipe NTLMSSP inside a NULL session.
4492     * Fix segfault in gencache 
4493     * Fix early free() of encrypted_session_key.
4494     * Change DC lookup routines to more carefully separate
4495       DNS names (realms) from NetBIOS domain names.
4496     * Add new sid_to_dn() function for internal winbindd use.
4497     * Refactor cli_ds_enum_domain_trusts().
4498     * BUG 707: Implement range retrieval of ADS attributes (based 
4499       on work from Volker <vl@samba.org> and Guenther Deschner 
4500       <gd@suse.com>).
4501     * Automatically initialize the signing engine if a session key
4502       is available.
4503     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
4504       encoded strings, only form input in SWAT.
4505     * Resets the NTLMSSP state for new negotiate packets.
4506     * Add 2-byte alignments in net_samlogon() queries to parse 
4507       odd-length plain text passwords.
4508     * Allow Windows groups with no members in winbindd.
4509     * Allow normal authentication in the absence of a server 
4510       generated session key.
4511     * More optimizations for looking up UNIX group lists.
4512     * Clean up error codes and return values for pam_winbindd
4513       and winbindd PAM interface.
4514     * Fix string return values in ntlm_auth tool.
4515     * Fix segfault when 'security = ads' but no realm is defined.
4516     * BUG 722: Allow winbindd to map machine accounts to uids.
4517     * More cleanups for winbindd's find_our_domain().
4518     * More clearly detect whether a domain controller is an NT4
4519       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
4520     * Increase separation between DNS queries for hosts and queries
4521       for AD domain controllers.
4522     * Include additional NT_STATUS to PAM error mappings.
4523     * Password initialization fixes.
4524
4525     
4526 o   Justin Baugh <justin.baugh@request.com>
4527     * BUG 948: Implement missing functions required for FreeBSD 
4528       nss_winbind support. 
4529
4530
4531 o   Alexander Bokovoy <ab@samba.org>
4532     * BUG 922: Make sure enable fast path for strlower_m() and 
4533       strupper_m().
4534
4535
4536 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
4537     * Fix crash when using 'security = server' and 'encrypt 
4538       passwords = no' by always initializing the session key.
4539
4540       
4541 o   Dmitry Butskoj <buc@odusz.elektra.ru>
4542     * Fix for special files being hidden from admins.
4543
4544
4545 o   Gerald (Jerry) Carter <jerry@samba.org>
4546     * Fix bug in the lanman session key generation.  Caused 
4547       "decode_pw: incorrect password length" error messages.
4548     * Save the right case for the located user name in 
4549       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
4550     * BUG 897: Add well known rid for pre win2k compatible access
4551       group.
4552     * BUG 887: Correct typo in delete user script example.
4553     * Use short lived TALLOC_CTX* for allocating printer objects 
4554       from the print handle cache.
4555     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
4556     * Fix several warnings reported by the SUN Forte C compiler.
4557     * Fully control DNS queries for AD DC's using 'name resolve order'.
4558     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
4559     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
4560     * BUG 936: fix bind credentials for schannel binds in smbd.
4561     * BUG 446: Fix output of smbclient for better compatibility 
4562       with scripts based on the 2.2 version (including Amanda).
4563     * BUG 891, 949: Fedora packaging fixes.
4564     * Fix bug that caused rpcclient to incorrectly retrieve 
4565       the SID for a server (this causing all calls that required 
4566       this information to fail). 
4567     * BUG 977: Don't create a homes share for a user if a static 
4568       share already exists by the same name.
4569     * Removed unused smb.conf options.
4570     * Password initialization fixes.
4571     * Set the disable flag for template accounts created by
4572       mksmbpasswd.sh.
4573     * Disable any account has no passwords and does not have the
4574       ACB_PWNOTREQ bit set.
4575
4576
4577 o   Guenther Deschner <gd@suse.com>
4578     * Install smbwrapper.so should be put into the $(libdir) 
4579       and not $(bindir).
4580     * Add the capability to specify the new user password 
4581       for "net ads password" on the command line.
4582     * Correctly detect AFS headers on SuSE.
4583         
4584
4585 o   James Flemer <jflemer@uvm.edu>
4586     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
4587       HAVE_SYS_ATTRIBUTES_H.
4588
4589
4590 o   Luke Howard <lukeh@PADL.COM>
4591     * Fix segfault in session setup reply caused by a early free().
4592
4593
4594 o   Stoian Ivanov <sdr@bultra.com>
4595     * Implement grepable output for smbclient -L.
4596
4597
4598 o   LaMont Jones <lamont@debian.org>
4599     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
4600       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
4601       not being defined).
4602
4603       
4604 o   Volker Lendecke <vl@samba.org>
4605     * BUG 583: Ensure that user names always contain the short 
4606       version of the domain name.
4607     * Fix our parsing of the LDAP uri.
4608     * Don't show the 'afs username map' in the SWAT basic view.
4609     * Fix SMB signing issues in relation to failed NTLMSSP logins.
4610     * BUG 924: Fix return codes in smbtorture harness.
4611     * Always lower-case usernames before handing it to AFS code.
4612     * Add a German translation for SWAT.
4613     * Fix a segfaults in winbindd.
4614     * Fix the user's domain passed to register_vuid() from 
4615       reply_spnego_kerberos().
4616     * Add NSS example code in nss_winbind to convert UNIX 
4617       id's <-> Windows SIDs.
4618     * Display more descriptive error messages for login via 'net'.
4619     * Fix compiler warning in the net tool.
4620     * Fix length bug when decoding base64 strings.
4621     * Ensure we don't call getpwnam() inside a loop that is iterating 
4622       over users with getpwent().  This broke on glibc 2.3.2.
4623
4624
4625 o   Herb Lewis <herb@samba.org>
4626     * Fix bit rot in psec.
4627
4628
4629 o   Jianliang Lu <j.lu@tiesse.com>
4630     * Ensure we delete the group mapping before calling the delete 
4631       group script.
4632     * Define well known RID for managing the  "Power Users" group.
4633     * BUG 381: check builtin (not local) group SID when updating 
4634       group membership.
4635     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
4636       packet.
4637
4638
4639 o   John Klinger <john.klinger@lmco.com>
4640     * Implement initgroups() call in nss_winbind on Solaris.
4641
4642
4643 o   Jim McDonough <jmcd@us.ibm.com>
4644     * Fix regression in net rpc join caused by recent changes 
4645       to cli_lsa_query_info_policy().
4646     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
4647       machine account.
4648
4649
4650 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
4651     * BUG 570: Ensure that configure honors the LDFLAGS variable.
4652
4653
4654 o   Stefan Metzmacher <metze@samba.org>
4655     * Implement LDAP rebind sleep patch.
4656     * Revert to 2.2 quota code because of so many broken quota files 
4657       out there.
4658     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
4659                       XFS_USER_QUOTA -> USRQUOTA
4660                       XFS_GROUP_QUOTA -> GRPQUOTA
4661     * Fix disk_free calculation with group quotas.
4662     * Add debug class 'quota' and a lot of DEBUG()'s 
4663       to the quota code.
4664     * Fix sys_chown() when no chown() is present.
4665     * Add SIGABRT to fault handling in order to catch got a 
4666       backtrace if an error occurs the OpenLDAP client libs.
4667
4668
4669 o   <ndb@theghet.to>
4670     * Allow an existing LDAP machine account to be re-used when 
4671       joining an AD domain.
4672
4673
4674 o   James Peach <jpeach@sgi.com>
4675     * BUG 889: Change smbd to use pread/pwrite on platforms that 
4676       support these calls. Can lead to a significant speed increase.
4677
4678
4679 o   Tim Potter <tpot@samba.org>
4680     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
4681     * BUG 924: Fix typo in RW2 torture test.
4682     
4683     
4684 o   Richard Sharpe <rsharpe@samba.org>
4685     * Small fixes to torture.c to cleanup the error handling 
4686       and prevent crashes.
4687
4688
4689 o   J. Tournier <jerome.tournier@IDEALX.com>
4690     * Small fixes for the smbldap-tool scripts.
4691
4692
4693 o   Andrew Tridgell <tridge@samba.org>
4694     * Fix src len check in pull_usc2().
4695     
4696     
4697 o   Jelmer Vernooij <jelmer@samba.org>
4698     * Put functions for generating SQL queries in pdb_sql.c
4699     * Add pgSQL backend (based on patch by Hamish Friedlander)
4700     * BUG 908: Fix -s option to smbcontrol.    
4701     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
4702     * Fix for libnss_wins on IRIX platforms.
4703     * Fix swatdir for --with-fhs.
4704
4705
4706         --------------------------------------------------
4707
4708                   =============================
4709                   Release Notes for Samba 3.0.1
4710                         December 15, 2003
4711                   =============================
4712
4713 Some of the more common bugs in 3.0.0 addressed in the release 
4714 include:
4715
4716   o Substitution problems with smb.conf variables.
4717   o Errors in return codes which caused some applications
4718     to fail to open files.
4719   o General Protection Faults on Windows 2000/XP clients
4720     using Samba point-n-print features.
4721   o Several miscellaneous crash bugs.
4722   o Access problems when enumerating group mappings are
4723     stored in an LDAP Directory.
4724   o Several common SWAT bugs when writing changes to
4725     smb.conf.
4726   o Internal inconsistencies when 'winbind use default
4727     domain = yes'
4728
4729
4730
4731 Changes since 3.0.0
4732 ----------------------
4733
4734     Parameter Name              Action
4735     --------------              ------
4736     hide local users            Removed
4737     mangled map                 Deprecated
4738     mangled stack               Removed
4739     passwd chat timeout         New
4740
4741
4742 commits
4743 -------
4744
4745 o   Change the interface for init_unistr2 to not take a length 
4746     but a flags field.  We were assuming that 
4747     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
4748 o   Allow d_printf() to handle strings with escaped quotation 
4749     marks since the msg file includes the escape character (bug 489).
4750 o   Fix bad html table row termination in SWAT wizard code (bug 413).
4751 o   Fix to parse the level-2 strings.
4752 o   Fix for "valid users = %S" in [homes].  Fix read/write 
4753     list as well. 
4754 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
4755     This is the same way AC_CHECK_LIB works (bug 508).
4756 o   Testparm output fixes for clarity.
4757 o   Fix broken wins hook functionality -- i18n bug (bug 528).
4758 o   Take care of condition where DOS and NT error codes must differ.
4759 o   Default to using only built-in charsets when a working iconv 
4760     implementation cannot be located.
4761 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
4762     be done unconditionally (bug 550).
4763 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
4764 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
4765     --enable-debug=[yes|no] works correctly.
4766 o   Allow ^C to interrupt smbpasswd if using our getpass 
4767     (e.g. smbpasswd command).
4768 o   Support signing only on RPC's (bug 167).
4769 o   Correct bug that prevented  Excel 2000 clients from opening 
4770     files marked as read-only.
4771 o   Portability fix bugs 546 - 549).
4772 o   Explicitly initialize the value of AR for vendor makes that don't
4773     do this (e.g. HPUX 11).  (bug 552).
4774 o   More i18n fixes for SWAT (bug 413).
4775 o   Change the cwd before the postexec script to ensure that a
4776     umount will succeed.
4777 o   Correct double free that caused winbindd to crash when a DC 
4778     is rebooted (bug 437).
4779 o   Fix incorrect mode sum (bug 562).
4780 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
4781     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
4782 o   Add script to generate *msg files.
4783 o   Add Dutch SWAT translation file.
4784 o   Make sure to call get_user_groups() with the full winbindd 
4785     name for a user if he/she has one (bug 406).
4786 o   Fix up error code returns from Samba4 tester. Ensure invalid 
4787     paths are validated the same way.  
4788 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
4789 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
4790     libraries were found for $BACKEND.
4791 o   Move sysquotas autoconf tests to a separate file.
4792 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
4793     tester
4794 o   Make sure that the files that contain the static_init_$subsystem; 
4795     macro get recompiled after configure by removing the object 
4796     files.
4797 o   Ensure canceling a blocking lock returns the correct error 
4798     message.
4799 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
4800 o   Updated Japanese welcome file in SWAT.
4801 o   Fix to  nt-time <-> unix-time functions reversible.
4802 o   Ensure that winbindd uses the the escaped DN when querying
4803     an AD ldap server.
4804 o   Fix portability issues when compiling (bug 505, 550)
4805 o   Compile fix for tdbbackup when Samba needs to override 
4806     non-C99 compliant implementations of snprintf().
4807 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
4808 o   Make sure we break out of samsync loop on error.
4809 o   Ensure error code path doesn't free unmalloc()'d memory
4810     (bug 628).
4811 o   Add configure test for krb5_keytab_entry keyblock vs key 
4812     member (bug 636).
4813 o   Fixed spinlocks.
4814 o   Modified testparm so that all output so all debug output goes 
4815     to stderr, and all file processing goes to stdout.
4816 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
4817     and smbcquotas.
4818 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
4819     we have a devmode before copying a string to the devicename.
4820 o   Support mapping REALM.COM\user to a local user account (without 
4821     running winbindd)  for compatibility with 2.2.x release.
4822 o   Ensure we don't use mmap() on blacklisted systems.
4823 o   fixed a number of bugs and memory leaks in the AIX 
4824     winbindd shim
4825 o   Call initgroups() in SWAT before becomming the user so that
4826     secondary group permissions can be used when writing to 
4827     smb.conf.
4828 o   Fix signing problems when reverse connecting back to a 
4829     client for printer notify
4830 o   Fix signing problems caused by a miss-sequence bug.
4831 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
4832     Fixes NEXUS tools running on Win9x clients (bug 64).
4833 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
4834     SID could not be mapped.
4835 o   Fix segfault in mount.cifs helper when there is no options 
4836     specified during mount.
4837 o   Change the \n after the password prompt to go to tty instead 
4838     of stdout (bug 668).
4839 o   Stop net -P from prompting for machine account password (bug 451).
4840 o   Change in behavior to Not only change the effective uid but also
4841     the real uid when becoming unprivileged.
4842 o   Cope with Exchange 5.5 cleartext pop password auth.
4843 o   New files for support of initshutdown pipe.  Win2k doesn't 
4844     respond properly to all requests on the winreg pipe, so we need 
4845     to handle this new pipe (bug 534).
4846 o   Added more va_copy() checks in configure.in.
4847 o   Include fixes for libsmbclient build problems.
4848 o   Missing UNIX -> DOS codepage conversion in lanman.c.
4849 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
4850 o   Parameterize the listen backlog in smbd and make it larger by
4851     default. A backlog of 5 is way too small these days.
4852 o   Check for an invalid fid before dereferencing the fsp pointer
4853     (bug 696).
4854 o   Remove invalid memory frees and return codes in pdb_ldap.c.
4855 o   Prompt for password when invoking --set-auth-user and no 
4856     password is given.
4857 o   Bind the nmbd sending socket to the 'socket address'.
4858 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
4859     $LDFLAGS occurs before any library specification (bug 661).
4860 o   Fix large number of printf() calls for 64-bit size_t.
4861 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
4862     keyblock in the krb5 structs.
4863 o   Remove #include <compat.h> in hopes to avoid problems with 
4864     apache header files.
4865 o   Correct winbindd build problems on HP-UX 11.
4866 o   Lowercase netgroups lookups (bug 703).
4867 o   Use the actual size of the buffer in strftime instead of a made
4868     up value which just happens to be less than sizeof(fstring).  
4869     (bug 713).
4870 o   Add ldaplibs to pdbedit link line (bug 651).
4871 o   Fix crash bug in smbclient completion (bug 659).
4872 o   Fix packet length for browse list reply (bug 771).
4873 o   Fix coredump in cli_get_backup_list().
4874 o   Make sure that we expand %N (bug 612).
4875 o   Allow rpcclient adddriver command to specify printer driver 
4876     version (bug 514).
4877 o   Compile tdbdump by default.
4878 o   Apply patches to fix iconv detection for FreeBSD.
4879 o   Do not allow the 'guest account' to be added to a passdb backend 
4880     using smbpasswd or pdbedit (bug 624).
4881 o   Save LDFLAGS during iconv detection (bug 57).
4882 o   Run krb5 logins through the username map if the winbindd 
4883     lookup fails (bug 698).
4884 o   Add const for lp_set_name_resolve_order() to avoid compiler 
4885     warnings (bug 471).
4886 o   Add support for the %i macro in smb.conf to stand in for the for
4887     the local IP address to which a client connected.
4888 o   Allow winbindd to match local accounts to domain SID when 
4889     'winbind trusted domains only = yes' (bug 680).
4890 o   Remove code in idmap_ldap that searches the user suffix and group 
4891     suffix.  It's not needed and provides inconsistent functionality 
4892     from the tdb backend.
4893 o   Patch to handle munged dial string for Windows 2000 TSE.
4894     Thanks to Gaz de France, Direction de la Recherche, Service 
4895     Informatique Métier for their supporting this work by Aurelien 
4896     Degrémont <adegremont@idealx.com>.
4897 o   Correct the "smbldap_open: cannot access when not root error"
4898     messages when looking up group information (bug 281).
4899 o   Skip over the winbind separator when looking up a user.
4900     This fixes the bug that prevented local users from
4901     matching an AD user when not running winbindd (bug 698).
4902 o   Fix a problem with configure on *BSD systems. Make sure
4903     we add -liconv etc to LDFLAGS.
4904 o   Fix core dump bug when "security = server" and the authentication
4905     server goes away.
4906 o   Correct crash bug due to an empty munged dial string.
4907 o   Show files locked by a specific user (smbstatus -u 'user') 
4908     (bug 590).
4909 o   Fix bug preventing print jobs from display in the queue
4910     monitor used by Windows NT and later clients (bug 660).
4911 o   Fix several reported problems with point-n-print from
4912     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
4913     reply (bug 338, 527 & 643).
4914 o   Fix a handful of potential memory leaks in the LDAP code used
4915     by ldapsam[_compat] and the LDAP idmap backend.
4916 o   Fix for pdbedit error code returns (bug 763).
4917 o   Make sure we only enumerate group mapping entries  (not 
4918     /etc/group) even when doing local aliases.
4919 o   Relax check on the pipe name in a dce/rpc bind response to work 
4920     around issues with establishing trusts to a Windows 2003 domain.
4921 o   Ensure we mangle names ending in '.' in hash2 mangling method.
4922 o   Correct parsing issues with munged dial string.
4923 o   Fix bugs in quota support for XFS.
4924 o   Add a cleaner method for applications that need to provide 
4925     name->SID mappings to do this via NSS rather than having to 
4926     know the winbindd pipe protocol.
4927 o   Adds a variant of the winbindd_getgroups() call called 
4928     winbindd_getusersids() that provides direct SID->SIDs listing of 
4929     a users supplementary groups. This is enough to allow non-Samba 
4930     applications to do ACL checking.
4931 o   Make sure we don't append the 'ldap suffix' when writing out the 
4932     'ldap XXX suffix' values in SWAT (bug 328).
4933 o   Fix renames across file systems.
4934 o   Ensure that items in a list of strings containing whitespace are 
4935     written out surrounded by single quotes.  This means that both 
4936     double and single quotes are now used to surround strings in 
4937     smb.conf (bug 481).
4938 o   Enable SWAT to correctly determine if winbindd is running (bug 
4939     398).
4940 o   Include WWW-Authenticate field in 401 response for bad auth 
4941     attempt (bug 629).
4942 o   Add support for NTLM2 (NTLMv2 session security).
4943 o   Add support for variable-length session keys.
4944 o   More privilege fixes for group enumeration in LDAP (bug 281).
4945 o   Use the dns name (or IP) as the originating client name when
4946     using CUPS (bug 467).
4947 o   Fix various SMB signing bugs.
4948 o   Fix ACL propagation on a DFS root (bug 263).
4949 o   Disable NTLM2 for RPC pipes.
4950 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
4951     authentication.
4952 o   Change the name of the job passed off to cups from "Test Page" 
4953     to "smbprn.00000033 Test Page" so that we can get the smb 
4954     jobid back. This allow users to delete jobs with cups printing 
4955     backend (partial work on bug 770).
4956 o   Fix build of winbindd with static pdb modules.
4957 o   Retrieve the correct ACL group bits if the file has an ACL 
4958     (bug 802).
4959 o   Implement "net rpc group members": Get members of a domain group 
4960     in human-readable format.
4961 o   Add MacOSX (Darwin) specific charset module code.
4962 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
4963     can include the full name in gecos field (bug 587).
4964 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
4965 o   Implement 'net rpc group list [global|local|builtin]*' for a 
4966     select listing of the respective user databases.
4967 o   Don't automatically set NT status code flag unless client tells 
4968     us it can cope.
4969 o   Add 'net status [sessions|shares] [parseable]'.
4970 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
4971     bug 770).
4972 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
4973    (bug 608).
4974 o   Fix inverted logic in hosts allow/deny checks caused by 
4975     s/strcmp/strequal/ (bug 846).
4976 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
4977 o   Fix typo in 'hash' mangling algorithm.
4978 o   Support munged dial for ldapsam (bug 800).
4979 o   Fix process_incoming_data() to return the number of bytes handled 
4980     this call whether we have a complete PDU or not; fixes bug 
4981     with multiple PDU request rpc's broken over SMBwriteX calls 
4982     each.
4983 o   Fix incorrect smb flags2 for connections to pre-NT servers 
4984     (causes smbclient to fail to OS2 for example) (bug 821).
4985 o   Update version string in smbldap-tools Makefile to 0.8.2.
4986 o   Correct a problem with "net rpc vampire" mis-parsing the 
4987     alias member info reply.
4988 o   Ensure the ${libdir} is created by the installclientlib script.
4989 o   Fix detection of Windows 2003 client architecture in the smb.conf
4990     %a variable.
4991 o   Ensure that smbd calls the add user script for a missing UNIX 
4992     user on kerberos auth call (bug 445).
4993 o   Fix bugs in hosts allow/deny when using a mismatched 
4994     network/netmask pair.
4995 o   Protect alloc_sub_basic() from crashing when the source string 
4996     is NULL (partial work on bug 687).
4997 o   Fix spinlocks on IRIX.
4998 o   Corrected some bad destination paths when running "configure 
4999     --with-fhs".
5000 o   Add packaging files for Fedora Core 1.
5001 o   Correct bug in SWAT install script for non-english languages.
5002 o   Support character set ISO-8859-1 internally (bug 558).
5003 o   Fixed more LDAP access errors when looking up group mappings 
5004     (bug 281).
5005 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
5006     resolution to fail on local files on on domain members 
5007     (bug 875).
5008 o   Fix uninitialized variable in passdb.c.
5009 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
5010 o   Fix problem mounting directories when mount.cifs is installed 
5011     with the setuid bit on.
5012 o   Fix bug that prevent --mandir from overriding the defaults
5013     given in the --with-fhs macro.
5014 o   Fix bug in in-memory Kerberos keytab detection routines 
5015     in configure.in
5016
5017
5018
5019 ######################################################################
5020
5021               The original 3.0.0 release notes follow
5022               =======================================
5023                     WHATS NEW IN Samba 3.0.0
5024                         September 24, 2003
5025               =======================================
5026
5027
5028 Major new features:
5029 -------------------
5030
5031 1)  Active Directory support.  Samba 3.0 is now able to  
5032     join a ADS realm as a member server and authenticate 
5033     users using LDAP/Kerberos.
5034
5035 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
5036     and internally there is now a much better infrastructure for 
5037     multi-byte and UNICODE character sets.
5038
5039 3)  New authentication system. The internal authentication system 
5040     has been almost completely rewritten. Most of the changes are 
5041     internal, but the new auth system is also very configurable.
5042
5043 4)  New default filename mangling system.
5044
5045 5)  A new "net" command has been added. It is somewhat similar to 
5046     the "net" command in windows. Eventually we plan to replace 
5047     numerous other utilities (such as smbpasswd) with subcommands 
5048     in "net".
5049
5050 6)  Samba now negotiates NT-style status32 codes on the wire. This
5051     improves error handling a lot.
5052
5053 7)  Better Windows 2000/XP/2003 printing support including publishing
5054     printer attributes in active directory.
5055
5056 8)  New loadable module support for passdb backends and character 
5057     sets.
5058
5059 9)  New default dual-daemon winbindd support for better performance.
5060
5061 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
5062     domain and maintaining user, group and domain SIDs.
5063
5064 11) Support for establishing trust relationships with Windows NT 4.0
5065     domain controllers.
5066   
5067 12) Initial support for a distributed Winbind architecture using
5068     an LDAP directory for storing SID to uid/gid mappings.
5069   
5070 13) Major updates to the Samba documentation tree.
5071
5072 14) Full support for client and server SMB signing to ensure
5073     compatibility with default Windows 2003 security settings.
5074
5075 15) Improvement of ACL mapping features based on code donated by
5076     Andreas Grünbacher.
5077
5078
5079 Plus lots of other improvements!
5080
5081
5082 Additional Documentation
5083 ------------------------
5084
5085 Please refer to Samba documentation tree (included in the docs/ 
5086 subdirectory) for extensive explanations of installing, configuring
5087 and maintaining Samba 3.0 servers and clients.  It is advised to 
5088 begin with the Samba-HOWTO-Collection for overviews and specific 
5089 tasks (the current book is up to approximately 400 pages) and to 
5090 refer to the various man pages for information on individual options.
5091
5092 We are very glad to be able to include the second edition of
5093 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
5094 (O'Reilly & Associates) in this release.  The book is available
5095 on-line at http://samba.org/samba/docs/ and is included with 
5096 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
5097 publisher for making "Using Samba" under the GNU Free Documentation 
5098 License.
5099
5100
5101 ######################################################################
5102 Upgrading from a previous Samba 3.0 beta
5103 ########################################
5104
5105 Beginning with Samba 3.0.0beta3, the RID allocation functions
5106 have been moved into winbindd.  Previously these were handled
5107 by each passdb backend.  This means that winbindd must be running
5108 to automatically allocate RIDs for users and/or groups.  Otherwise,
5109 smbd will use the 2.2 algorithm for generating new RIDs.
5110
5111 If you are using 'passdb backend = tdbsam' with a previous Samba 
5112 3.0 beta release (or possibly alpha), it may be necessary to 
5113 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
5114 to winbindd_idmap.tdb.  To do this:
5115
5116 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
5117     once)
5118 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
5119     directory
5120 3)  run: (note that 'tdb>' is the tool's prompt for input)
5121
5122        root# ./tdbtool /usr/local/samba/private/passdb.tdb
5123        tdb> show RID_COUNTER
5124        key 12 bytes
5125        RID_COUNTER
5126        data 4 bytes
5127        [000] 0A 52 00 00                                       .R.
5128
5129        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
5130        ....
5131        record moved
5132
5133 If you are using 'passdb backend = ldapsam', it will be necessary to 
5134 store idmap entries in the LDAP directory as well (i.e. idmap backend 
5135 = ldap).  Refer to the 'net idmap' command for more information on 
5136 migrating SID<->UNIX id mappings from one backend to another.
5137
5138 If the RID_COUNTER record does not exist, then these instructions are
5139 unneccessary and the new RID_COUNTER record will be correctly generated
5140 if needed.  
5141
5142
5143
5144 ########################
5145 Upgrading from Samba 2.2
5146 ########################
5147
5148 This section is provided to help administrators understand the details
5149 involved with upgrading a Samba 2.2 server to Samba 3.0.
5150
5151
5152 Building
5153 --------
5154
5155 Many of the options to the GNU autoconf script have been modified 
5156 in the 3.0 release.  The most noticeable are:
5157
5158   * removal of --with-tdbsam (is now included by default; see section
5159     on passdb backends and authentication for more details)
5160     
5161   * --with-ldapsam is now on used to provided backward compatible
5162     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
5163     backend and authentication section for more details
5164   
5165   * inclusion of non-standard passdb modules may be enabled using
5166     --with-expsam.  This includes an XML backend and a mysql backend.
5167       
5168   * removal of --with-msdfs (is now enabled by default)
5169   
5170   * removal of --with-ssl (no longer supported)
5171   
5172   * --with-utmp now defaults to 'yes' on supported systems
5173   
5174   * --with-sendfile-support is now enabled by default on supported 
5175     systems
5176   
5177     
5178 Parameters
5179 ----------
5180
5181 This section contains a brief listing of changes to smb.conf options
5182 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
5183 complete descriptions of new or modified parameters.
5184
5185 Removed Parameters (order alphabetically):
5186
5187   * admin log
5188   * alternate permissions
5189   * character set
5190   * client codepage
5191   * code page directory
5192   * coding system
5193   * domain admin group
5194   * domain guest group
5195   * force unknown acl user
5196   * hide local users
5197   * mangled stack
5198   * nt smb support
5199   * postscript
5200   * printer driver
5201   * printer driver file
5202   * printer driver location
5203   * read size
5204   * source environment
5205   * status
5206   * strip dot
5207   * total print jobs
5208   * use rhosts
5209   * valid chars
5210   * vfs options
5211
5212 New Parameters (new parameters have been grouped by function):
5213
5214   Remote management
5215   -----------------
5216   * abort shutdown script
5217   * shutdown script
5218
5219   User and Group Account Management
5220   ---------------------------------
5221   * add group script
5222   * add machine script
5223   * add user to group script
5224   * algorithmic rid base
5225   * delete group script
5226   * delete user from group script
5227   * passdb backend
5228   * set primary group script
5229
5230   Authentication
5231   --------------
5232   * auth methods
5233   * realm
5234   * passwd chat timeout
5235
5236   Protocol Options
5237   ----------------
5238   * client lanman auth
5239   * client NTLMv2 auth
5240   * client schannel
5241   * client signing
5242   * client use spnego
5243   * disable netbios
5244   * ntlm auth
5245   * paranoid server security
5246   * server schannel
5247   * server signing
5248   * smb ports
5249   * use spnego
5250
5251   File Service
5252   ------------
5253   * get quota command
5254   * hide special files
5255   * hide unwriteable files
5256   * hostname lookups
5257   * kernel change notify
5258   * mangle prefix
5259   * map acl inherit
5260   * msdfs proxy
5261   * set quota command
5262   * use sendfile
5263   * vfs objects
5264   
5265   Printing
5266   --------
5267   * max reported print jobs
5268
5269   UNICODE and Character Sets
5270   --------------------------
5271   * display charset
5272   * dos charset
5273   * unicode
5274   * unix charset
5275   
5276   SID to uid/gid Mappings
5277   -----------------------
5278   * idmap backend
5279   * idmap gid
5280   * idmap uid
5281   * winbind enable local accounts
5282   * winbind trusted domains only
5283   * template primary group
5284   * enable rid algorithm
5285
5286   LDAP
5287   ----
5288   * ldap delete dn
5289   * ldap group suffix
5290   * ldap idmap suffix
5291   * ldap machine suffix
5292   * ldap passwd sync
5293   * ldap replication sleep
5294   * ldap user suffix
5295   
5296   General Configuration
5297   ---------------------
5298   * preload modules
5299   * private dir
5300
5301 Modified Parameters (changes in behavior):
5302
5303   * encrypt passwords (enabled by default)
5304   * mangling method (set to 'hash2' by default)
5305   * passwd chat
5306   * passwd program
5307   * restrict anonymous (integer value)
5308   * security (new 'ads' value)
5309   * strict locking (enabled by default)
5310   * unix extensions (enabled by default)
5311   * winbind cache time (increased to 5 minutes)
5312   * winbind uid (deprecated in favor of 'idmap uid')
5313   * winbind gid (deprecated in favor of 'idmap gid')
5314
5315
5316 Databases
5317 ---------
5318
5319 This section contains brief descriptions of any new databases 
5320 introduced in Samba 3.0.  Please remember to backup your existing 
5321 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
5322 upgrade databases as they are opened (if necessary), but downgrading 
5323 from 3.0 to 2.2 is an unsupported path.
5324
5325 Name                    Description                             Backup?
5326 ----                    -----------                             -------
5327 account_policy          User policy settings                    yes
5328 gencache                Generic caching db                      no
5329 group_mapping           Mapping table from Windows              yes
5330                         groups/SID to unix groups        
5331 winbindd_idmap          ID map table from SIDS to UNIX          yes
5332                         uids/gids.
5333 namecache               Name resolution cache entries           no
5334 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
5335                         returned as part of a successful
5336                         net_sam_logon request 
5337 printing/*.tdb          Cached output from 'lpq                 no
5338                         command' created on a per print 
5339                         service basis
5340 registry                Read-only samba registry skeleton       no
5341                         that provides support for exporting
5342                         various db tables via the winreg RPCs
5343
5344
5345 Changes in Behavior
5346 -------------------
5347
5348 The following issues are known changes in behavior between Samba 2.2 and 
5349 Samba 3.0 that may affect certain installations of Samba.
5350
5351   1)  When operating as a member of a Windows domain, Samba 2.2 would 
5352       map any users authenticated by the remote DC to the 'guest account'
5353       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
5354       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
5355       current work around to re-establish the 2.2 behavior.
5356       
5357   2)  When adding machines to a Samba 2.2 controlled domain, the 
5358       'add user script' was used to create the UNIX identity of the 
5359       machine trust account.  Samba 3.0 introduces a new 'add machine 
5360       script' that must be specified for this purpose.  Samba 3.0 will
5361       not fall back to using the 'add user script' in the absence of 
5362       an 'add machine script'
5363   
5364
5365 ######################################################################
5366 Passdb Backends and Authentication
5367 ##################################
5368
5369 There have been a few new changes that Samba administrators should be
5370 aware of when moving to Samba 3.0.
5371
5372   1) encrypted passwords have been enabled by default in order to 
5373      inter-operate better with out-of-the-box Windows client 
5374      installations.  This does mean that either (a) a samba account
5375      must be created for each user, or (b) 'encrypt passwords = no'
5376      must be explicitly defined in smb.conf.
5377     
5378   2) Inclusion of new 'security = ads' option for integration 
5379      with an Active Directory domain using the native Windows
5380      Kerberos 5 and LDAP protocols.
5381
5382      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
5383      type which is neccessary for servers on which the 
5384      administrator password has not been changed, or kerberos-enabled 
5385      SMB connections to servers that require Kerberos SMB signing.
5386      Besides this one difference, either MIT or Heimdal Kerberos
5387      distributions are usable by Samba 3.0.
5388      
5389
5390 Samba 3.0 also includes the possibility of setting up chains
5391 of authentication methods (auth methods) and account storage 
5392 backends (passdb backend).  Please refer to the smb.conf(5) 
5393 man page for details.  While both parameters assume sane default 
5394 values, it is likely that you will need to understand what the 
5395 values actually mean in order to ensure Samba operates correctly.
5396
5397 The recommended passdb backends at this time are
5398
5399   * smbpasswd - 2.2 compatible flat file format
5400   * tdbsam - attribute rich database intended as an smbpasswd
5401     replacement for stand alone servers
5402   * ldapsam - attribute rich account storage and retrieval 
5403     backend utilizing an LDAP directory.  
5404   * ldapsam_compat - a 2.2 backward compatible LDAP account 
5405     backend
5406     
5407 Certain functions of the smbpasswd(8) tool have been split between the 
5408 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
5409 utility.  See the respective man pages for details.
5410     
5411      
5412 ######################################################################
5413 LDAP
5414 ####
5415
5416 This section outlines the new features affecting Samba / LDAP 
5417 integration.
5418
5419 New Schema
5420 ----------
5421   
5422 A new object class (sambaSamAccount) has been introduced to replace 
5423 the old sambaAccount.  This change aids us in the renaming of 
5424 attributes to prevent clashes with attributes from other vendors.  
5425 There is a conversion script (examples/LDAP/convertSambaAccount) to 
5426 modify and LDIF file to the new schema.
5427   
5428 Example:
5429   
5430   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
5431   $ convertSambaAccount --sid=<Domain SID> \
5432     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
5433     --changetype=[modify|add]
5434         
5435 The <DOM SID> can be obtained by running 'net getlocalsid 
5436 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
5437 the format of the generated LDIF output--either create new entries 
5438 or modify existing entries.
5439     
5440 The old sambaAccount schema may still be used by specifying the 
5441 "ldapsam_compat" passdb backend.  However, the sambaAccount and
5442 associated attributes have been moved to the historical section of
5443 the schema file and must be uncommented before use if needed.
5444 The 2.2 object class declaration for a sambaAccount has not changed
5445 in the 3.0 samba.schema file. 
5446   
5447 Other new object classes and their uses include:
5448   
5449   * sambaDomain - domain information used to allocate rids 
5450     for users and groups as necessary.  The attributes are added
5451     in 'ldap suffix' directory entry automatically if 
5452     an idmap uid/gid range has been set and the 'ldapsam'
5453     passdb backend has been selected.
5454       
5455   * sambaGroupMapping - an object representing the 
5456     relationship between a posixGroup and a Windows
5457     group/SID.  These entries are stored in the 'ldap 
5458     group suffix' and managed by the 'net groupmap' command.
5459     
5460   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
5461     automatically and contains the next available 'idmap uid' and 
5462     'idmap gid'
5463     
5464   * sambaIdmapEntry - object storing a mapping between a 
5465     SID and a UNIX uid/gid.  These objects are created by the 
5466     idmap_ldap module as needed.
5467
5468   * sambaSidEntry - object representing a SID alone, as a Structural
5469     class on which to build the sambaIdmapEntry.
5470
5471     
5472 New Suffix for Searching
5473 ------------------------
5474   
5475 The following new smb.conf parameters have been added to aid in directing
5476 certain LDAP queries when 'passdb backend = ldapsam://...' has been
5477 specified.
5478
5479   * ldap suffix         - used to search for user and computer accounts
5480   * ldap user suffix    - used to store user accounts
5481   * ldap machine suffix - used to store machine trust accounts
5482   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
5483   * ldap idmap suffix   - location of sambaIdmapEntry objects
5484
5485 If an 'ldap suffix' is defined, it will be appended to all of the 
5486 remaining sub-suffix parameters.  In this case, the order of the suffix
5487 listings in smb.conf is important.  Always place the 'ldap suffix' first
5488 in the list.  
5489
5490 Due to a limitation in Samba's smb.conf parsing, you should not surround 
5491 the DN's with quotation marks.
5492
5493
5494 IdMap LDAP support
5495 ------------------
5496
5497 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
5498 following options would inform Samba that the idmap table should be
5499 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
5500 dc=org" partition.
5501
5502  [global]
5503     ...
5504     idmap backend     = ldap:ldap://onterose/
5505     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
5506     idmap uid         = 40000-50000
5507     idmap gid         = 40000-50000
5508
5509 This configuration allows winbind installations on multiple servers to
5510 share a uid/gid number space, thus avoiding the interoperability problems
5511 with NFS that were present in Samba 2.2.
5512     
5513
5514
5515 ######################################################################
5516 Trust Relationships and a Samba Domain
5517 ######################################
5518
5519 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
5520 allocating uids and gids to trusted users and groups.  More
5521 information regarding Samba's support for establishing trust 
5522 relationships can be found in the Samba-HOWTO-Collection included
5523 in the docs/ directory of this release.
5524
5525 First create your Samba PDC and ensure that everything is 
5526 working correctly before moving on the trusts.
5527
5528 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
5529 4.0 domain named WINDOWS:
5530
5531   1) create the trust account for SAMBA in "User Manager for Domains"
5532   2) connect the trust from the Samba domain using
5533      'net rpc trustdom establish GLASS'
5534
5535 To create a trustlationship with SAMBA as the trusted domain:
5536
5537   1) create the initial trust account for GLASS using
5538      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
5539      account for GLASS$ prior to this step (depending on your
5540      local configuration).
5541   2) connect the trust from a WINDOWS DC using "User Manager
5542      for Domains"
5543
5544 Now join winbindd on the Samba PDC to the SAMBA domain using
5545 the normal steps for adding a Samba server to an NT4 domain:
5546 (note that smbd & nmbd must be running at this point)
5547
5548    root# net rpc join -U root
5549    Password: <enter root password from smbpasswd file here>
5550
5551 Start winbindd and test the join with 'wbinfo -t'.
5552
5553 Now test the trust relationship by connecting to the SAMBA DC
5554 (e.g. POGO) as a user from the WINDOWS domain:
5555
5556    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
5557    Password:
5558
5559 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
5560
5561    $ smbclient //crystal/netlogon -U root -W WINDOWS
5562    Password:
5563
5564 ######################################################################
5565 Changes in Winbind
5566 ##################
5567
5568 Beginning with Samba3.0.0beta3, winbindd has been given new account
5569 manage functionality equivalent to the 'add user script' family of
5570 smb.conf parameters.  The idmap design has also been changed to 
5571 centralize control of foreign SID lookups and matching to UNIX 
5572 uids and gids.
5573
5574
5575 Brief Description of Changes
5576 ----------------------------
5577
5578 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
5579    reverted to the 2.2.x design.  This means that when resolving a 
5580    SID to a UID or similar mapping:
5581
5582         a) First consult winbindd
5583         b) perform a local lookup only if winbindd fails to
5584            return a successful answer
5585
5586    There are some variations to this, but these two rules generally
5587    apply.
5588
5589 2) All idmap lookups have been moved into winbindd.  This means that
5590    a server must run winbindd (and support NSS) in order to achieve
5591    any mappings of SID to dynamically allocated UNIX ids.  This was
5592    a conscious design choice.
5593
5594 3) (OBSOLETE) New functions have been added to winbindd to emulate 
5595    the 'add user script' family of smbd functions without requiring 
5596    that external scripts be defined.  This functionality is controlled 
5597    by the 'winbind  enable local accounts' smb.conf parameter (enabled 
5598    by default).
5599
5600    However, this account management functionality is only supported 
5601    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
5602    must be shared among multiple Samba servers (such as a PDC and BDCs), 
5603    it will be necessary to define your own 'add user script', et. al.
5604    programs that place the accounts/groups in some form of directory
5605    such as NIS or LDAP.  This requirement was deemed beyond the scope
5606    of winbind's account management functions.  Solutions for 
5607    distributing UNIX system information have been deployed and tested 
5608    for many years.  We saw no need to reinvent the wheel.
5609
5610 4) A member of a Samba controlled domain running winbindd is now able 
5611    to map domain users directly onto existing UNIX accounts while still
5612    automatically creating accounts for trusted users and groups.  This
5613    behavior is controlled by the 'winbind trusted domains only' smb.conf
5614    parameter (disabled by default to provide 2.2.x winbind behavior).
5615
5616 5) Group mapping support is wrapped in the local_XX_to_XX() functions
5617    in smbd/uid.c.  The reason that group mappings are not included
5618    in winbindd is because the purpose of Samba's group map is to
5619    match any Windows SID with an existing UNIX group.  These UNIX
5620    groups can be created by winbindd (see next section), but the
5621    SID<->gid mapping is retreived by smbd, not winbindd.
5622
5623
5624 Examples
5625 --------
5626
5627 * security = server running winbindd to allocate accounts on demand
5628
5629 * Samba PDC running winbindd to handle the automatic creation of UNIX
5630   identities for machine trust accounts
5631
5632 * Automtically creating UNIX user and groups when migrating a Windows NT
5633   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
5634   'net rpc vampire' for this to work.
5635
5636    
5637 ######################################################################
5638 Known Issues
5639 ############
5640
5641 * There are several bugs currently logged against the 3.0 codebase
5642   that affect the use of NT 4.0 GUI domain management tools when run
5643   against a Samba 3.0 PDC.  This bugs should be released in an early 
5644   3.0.x release.
5645
5646 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
5647 filed against the Samba 3.0 codebase.
5648
5649
5650 ######################################################################
5651 Reporting bugs & Development Discussion
5652 #######################################
5653
5654 Please discuss this release on the samba-technical mailing list or by
5655 joining the #samba-technical IRC channel on irc.freenode.net.
5656
5657 If you do report problems then please try to send high quality
5658 feedback. If you don't provide vital information to help us track down
5659 the problem then you will probably be ignored.  
5660
5661 A new bugzilla installation has been established to help support the 
5662 Samba 3.0 community of users.  This server, located at 
5663 https://bugzilla.samba.org/, has replaced the older jitterbug server 
5664 previously located at http://bugs.samba.org/.
5665 </pre>
5666 </body>
5667 </html>