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