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