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