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