This sets everything for using a form-mail cgi script. The submitted
[metze/test/web/.git] / whatsnew / samba-3.0.3.html
1 <!--#include virtual="/samba/header.html" -->
2
3    <H2>Samba 3.0.3 Available for Download</H2>
4
5 <p>
6 <pre>
7 This is the latest stable release of Samba. This is the version
8 that production Samba servers should be running for all
9 current bug-fixes.  There have been several issues fixes since
10 the 3.0.2a release and new features have been added as well.
11 See the "Changes" section for details on exact updates.
12
13 Common bugs fixed in Samba 3.0.3 include:
14
15   o Crash bugs and change notify issues in Samba's
16     printing code.
17   o Honoring secondary group membership on domain member
18     servers.
19   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST
20     flag.
21   o Substitution errors for %[UuGg] in smb.conf.
22   o winbindd crashes when using ADS security mode.
23   o SMB signing errors.
24   o Delays in winbindd startup caused by unnecessary
25     connections to trusted domain controllers.
26   o Various small memory leaks.
27   o Winbindd failing due to expired Kerberos tickets.
28
29 New features introduced in Samba 3.0.3 include:
30
31   o Improved support for i18n character sets.
32   o Support for account lockout policy based on
33     bad password attempts.
34   o Improved support for long password changes (>14
35     characters) and strong password enforcement.
36   o Support for Windows aliases (i.e. nested groups).
37   o Experimental support for storing DOS attribute on files
38     and folders in Extended Attributes.
39   o Support for local nested groups via winbindd.
40   o Specifying options to be passed directly to the CUPS
41     libraries.
42
43 The source code can be downloaded from :
44
45   <a href="/samba/ftp/">http://download.samba.org/samba/ftp/</a>
46
47 The uncompressed tarball and patch file have been signed
48 using GnuPG.  The Samba public key is available at
49
50   <a href="/samba/ftp/samba-pubkey.asc">http://download.samba.org/samba/ftp/samba-pubkey.asc</a>
51
52 Binary packages are available at
53
54   <a href="/samba/ftp/Binary_Packages/">http://download.samba.org/samba/ftp/Binary_Packages/</a>
55
56 The release notes are also available on-line at
57
58   <a href="/samba/whatsnew/samba-3.0.3.html">http://www.samba.org/samba/whatsnew/samba-3.0.3.html</a>
59
60 As always, all bugs (<a href="https://bugzilla.samba.org/">https://bugzilla.samba.org/</a>) are our
61 responsibility.
62
63                                   --Enjoy
64                                   The Samba Team
65
66     --------------------------------------------------
67
68                  =============================
69                  Release Notes for Samba 3.0.3
70                         April 29, 2004
71                  =============================
72
73 This is the latest stable release of Samba. This is the version 
74 that production Samba servers should be running for all 
75 current bug-fixes.  There have been several issues fixes since 
76 the 3.0.2a release and new features have been added as well.  
77 See the "Changes" section for details on exact updates.
78
79 Common bugs fixed in Samba 3.0.3 include:
80
81   o Crash bugs and change notify issues in Samba's printing code.
82   o Honoring secondary group membership on domain member servers.
83   o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
84   o Substitution errors for %[UuGg] in smb.conf.
85   o winbindd crashes when using ADS security mode.
86   o SMB signing errors.
87   o Delays in winbindd startup caused by unnecessary 
88     connections to trusted domain controllers.
89   o Various small memory leaks.
90   o Winbindd failing due to expired Kerberos tickets.
91
92 New features introduced in Samba 3.0.3 include:
93
94   o Improved support for i18n character sets.
95   o Support for account lockout policy based on
96     bad password attempts.
97   o Improved support for long password changes (>14
98     characters) and strong password enforcement.
99   o Support for Windows aliases (i.e. nested groups).
100   o Experimental support for storing DOS attribute on files
101     and folders in Extended Attributes.
102   o Support for local nested groups via winbindd.
103   o Specifying options to be passed directly to the CUPS libraries.
104
105 Please be aware that the Samba source code repository was 
106 migrated from CVS to Subversion on April 4, 2004.  Details on 
107 accessing the Samba source tree via anonymous svn can be found 
108 at http://svn.samba.org/samba/subversion.html.
109
110
111 ######################################################################
112 Changes
113 #######
114
115 Changes since 3.0.3rc1
116 ----------------------
117
118 commits
119 -------
120
121 o   Timur Bakeyev <timur@com.bat.ru>
122     * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
123
124
125 o   Gerald Carter <jerry@samba.org>
126     * BUG 1288: resolve any machine netbios name (0x00) and not just 
127       servers (0x20).
128     * BUG 1199: Fix potential symlink issue in 
129       examples/printing/smbprint.
130
131
132 o   Landon Fuller <landonf@opendarwin.org>
133     * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) 
134       to fix user/group enumeration on systems whose libc does not 
135       call setgrent() before trying to enumerate users (i.e. 
136       FreeBSD 5.2).
137
138
139 o   Volker Lendecke <vl@samba.org>
140     * Correct case where adding a domain user to a XP local group 
141       did a lsalookupname on the user without domain prefix, and 
142       failed.
143     * Fix segfault in winbindd caused by 'wbinfo -a'.
144
145
146 o   Stefan Metzmacher <metze@samba.org>
147     * Add shadow_copy vfs module.
148     * Fix segault in login_cache support.
149
150
151 o   Tim Potter <tpot@samba.org>
152     * Relicense tdb python module as LGPL.
153
154
155 o   Jelmer Vernooij <jelmer@samba.org>
156     * Fix syntax error in example mysql table
157
158
159
160 Changes since 3.0.2a
161 --------------------
162 smb.conf changes
163 ----------------
164
165     Parameter Name              Action
166     --------------              ------
167     cups options                New
168     ea support                  New
169     only user                   Deprecated
170     store dos attributes        New
171     unicode                     Removed
172     winbind nested groups       New
173
174     
175 commits
176 -------
177
178 o   Jeremy Allison <jra@samba.org>
179     * Ensure that Kerberos mutex is always properly unlocked.
180     * Removed Heimdal "in-memory keytab" support.
181     * Fixup the 'multiple-vuids' bugs in our server code.
182     * Correct return code from lsa_lookup_sids() on unmapped
183       sids (based on work by vl@samba.org).
184     * Fix the "too many fcntl locks" scalability problem 
185       raised by tridge.
186     * Fixup correct (as per W2K3) returns for lookupsids 
187       as well as lookupnames.
188     * Fixups for delete-on-close semantics as per Win2k3 behavior.
189     * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
190     * Fix "unable to initialize" bug when smbd hasn't been run with 
191       new system and a user is being added via pdbedit/smbpasswd.
192     * Added NTrename SMB (0xA5).
193     * Fixup correct timeout values for blocking lock timeouts.
194     * Fix various bugs reported by 'gentest'.
195     * More locking fixes in the case where we own the lock.
196     * Fix up regression in IS_NAME_VALID and renames.
197     * Don't set allocation size on directories.
198     * Return correct error code on fail if file exists and target 
199       is a directory.
200     * Added client "hardlink" comment to test doing NT rename with 
201       hard links.  Added hardlink_internals() code - UNIX extensions 
202       now use this as well.
203     * Use a common function to parse all pathnames from the wire for 
204       much closer emulation of Win2k3 error return codes.
205     * Implement check_path_syntax() and rewrite string sub 
206       functions for better multibyte support.
207     * Ensure msdfs referrals are multibyte safe.
208     * Allow msdfs symlink syntax to be more forgiving.
209       eg. sym_link -> msdfs://server/share/path/in/share 
210       or  sym_link -> msdfs:\\server\share\path\in\share.
211     * Cleanup multibyte netbios name support in nmbd ( based on patch
212       by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
213     * Fix check_path_syntax() for multibyte encodings which have 
214       no '\' as second byte (based on work by ab@samba.org.
215     * Fix the "dfs self-referrals as anonymous user" problem
216       (based on patch from vl@samba.org).
217     * BUG 1064: Ensure truncate attribute checking is done correctly 
218       on "hidden" dot files.
219     * Fix bug in anonymous dfs self-referrals again.
220     * Fix get/set of EA's in client library
221     * Added support for OS/2 EA's in smbd server.
222     * Added 'ea support' parameter to smb.conf.
223     * Added 'store dos attributes' parameter to smb.conf.
224     * Fix wildcard identical rename.
225     * Fix reply_ctemp - make compatible with w2k3.
226     * Fix wildcard unlink.
227     * Fix wildcard src with wildcard dest renames.      
228     * BUG 1139: Fix based on suggestion by jdev@panix.com.
229       swap lookups for user and group - group will do an
230       algorithmic lookup if it fails, user won't.
231     * Make EA's lookups case independent.
232     * Fix SETPATHINFO in 'unix extensions' support.
233     * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for 
234       the UNIX info levels, and the short case preserve names.
235
236
237 o   Timur Bakeyev <timur@com.bat.ru>
238     * BUG 1144: only set --with-fhs when the argument is 'yes'
239     * BUG 1152: Allow python modules to build despite libraries added 
240       to LDFLAGS instead of LDPATH.
241
242
243 o   Craig Barratt <cbarratt@users.sourceforge.net>
244     * BUG 389: Allow multiple exclude arguments with smbclient 
245       tar -Xr options (better support for Amanda backup client).
246
247
248 o   Andrew Bartlet <abartlet@samba.org>
249     * Include support for linking with cracklib for enforcing strong 
250       password changes.
251     * Add support for >14 character password changes from Windows 
252       clients.
253     * Add 'admin set password' capability to 'net rpc'.
254     * Allow 'net rpc samdump' to work with any joined domain 
255       regardless of smb.conf settings.
256     * Use an allocated buffer for count_chars.
257     * Add sanity checks for changes in the domain SID in an 
258       LDAP DIT.
259     * Implement python unit tests for Samba's multibyte string 
260       support.
261     * Remove 'unicode' smb.conf option.
262     * BUG 1138: Fix support for 'optional' SMB signing and other 
263       signing bugs.
264     * BUG 169: Fix NTLMv2-only behavior.
265     * Ensure 'net' honors the 'netbios name' in the smb.conf by 
266       default.
267     * Support SMB signing on connections using only the LANMAN 
268       password and generate the correct the 'session key' for these 
269       connections.
270     * Implement --required-membership-of=, an ntlm_auth option 
271       that restricts all authentication to members of this particular 
272       group.
273     * Improve our fall back code for password changes.
274     * Only send the ntlm_auth 'ntlm-server-1' helper client a '.' 
275       after the server had said something (such as an error).
276     * Add 'ntlm-server-1' helper protocol to ntlm_auth.
277
278       
279 o   Alexander Bokovoy <ab@samba.org>
280     * Fix incorrect size calculation of the directory name 
281       in recycle.so.
282     * Fix problems with very long filenames in both smbd and smbclient
283       caused by truncating paths during character conversions.
284     * Fix smbfs problem with Tree Disconnect issued before smbfs 
285       starts its work.
286
287
288 o   Gerald Carter <jerry@samba.org>
289     * BUG 850: Fix 'make installmodules' bug on True64.
290     * BUG 66: mark 'only user' deprecated.
291     * Remove corrupt tdb and shutdown (only for printing tdbs, 
292       connections, sessionid & locking).
293     * decrement smbd counter in connections.tdb in smb_panic().
294     * RedHat specfile updates.
295     * Fix xattr.h build issue on Debian testing and SuSE 8.2.
296     * BUG 1147; bad pointer case in get_stored_queue_info() 
297       causing seg fault.
298     * BUG 761: read the config file before initialized default 
299       values for printing options; don't default to bsd printing 
300       Linux.
301     * Allow the 'printing' parameter to be set on a per share basis.
302     * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
303     * BUG 848: don't create winbind local users/groups that already 
304       exist in the tdb.
305     * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on 
306       LynxOS/ppc).
307     * BUG 488: fix the 'show client in col 1' button and correctly 
308       enumerate active connections.
309     * BUG 1007 (partial): Fix abort in smbd caused by byte ordering 
310       problem when storing the updating pid for the lpq cache.
311     * BUG 1007 (partial): Fix print change notify bugs.
312     * BUG 1165, 1126: Fix bug with secondary groups (security = ads) 
313       and winbind use default domain = yes.  Also ensures that 
314     * BUG 1151: Ensure that winbindd users are passed through 
315       the username map.
316     * Fix client rpc binds for ASU derived servers (pc netlink, 
317       etc...).
318     * BUG 417, 1128: Ensure that the current_user_info is set
319       consistently so that %[UuGg] is expanded correctly.
320     * BUG 1195: Fix crash in winbindd when the ADS server is 
321       unavailable.
322     * BUG 1185: Set reconnect time to be the same as the 
323       'winbind cache time'.
324     * Ensure that we return the sec_desc in smb_io_printer_info_2.
325     * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
326     * BUG 1095: Honor the '-l' option in smbclient.
327     * BUG 1023: surround get_group_from_gid() with become_unbecome_root() 
328       block.
329     * Ensure server schannel uses the auth level requested by the 
330       client.
331     * Removed --with-cracklib option due to potential crash issue.
332     * Fix -lcrypto linking problem with wbinfo.
333     * BUG 761: allow printing parameter to set defaults on a per 
334       share basis.
335     * Add 'cups options' parameter to allow raw printing without 
336       changing /etc/cups/cupsd.conf.
337     * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and 
338       winbindd.
339     * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
340
341
342 o   Robert Dahlem <Robert.Dahlem@gmx.net>
343     * BUG 1048:  Don't return short names when when 'mangled names = no'
344
345
346 o   Guenther Deschner <gd@suse.com>
347     * Remove hard coded attribute name in the ads ranged retrieval
348       code.
349     * Add --with-libdir and --with-mandir to autoconf script.
350
351
352 o   Bostjan Golob <golob@gimb.org>
353     * BUG 1046: Fix  getpwent_list() so that the username is not 
354       overwritten by other fields.
355
356
357 o   Steve French <sfrench@us.ibm.com>
358     * Update mount.cifs to version 1.1.
359     * Disable dev (MS_NODEV) on user mounts from cifs vfs.
360     * Fixes to minor security bug in the mount helper.
361     * Fix credential file mounting for cifs vfs.
362     * Fix free of incremented pointer in cifsvfs mount helper.
363     * Fix path canonicalization of the mount target path and help 
364       text display in the cifs mount helper.
365     * Add missing guest mount option for mount.cifs.
366
367
368 o   SATOH Fumiyasu <fumiya@miraclelinux.com>
369     * BUG 1055; formatting fixes for 'net share'.
370     * BUG 692: correct truncation of share names and workgroup 
371       names in smbclient.
372     * BUG 1088: use strchr_m() for query_host (smbclient -L).
373     * Patch from to internally count characters correctly.
374
375
376 o   Paul Green <paulg@samba.org>
377     * Update VOS _POSIX_C_SOURCE macro to 200112L.
378     * Fix bug in configure.ion by moving the first use of 
379       AC_CHECK_HEADERS so it is always executed.
380     * Fix configure.in to only use $BLDSHARED to select whether to 
381       build static or shared libraries.
382
383
384 o   Pat Haywarrd <Pat.Hayward@propero.net>
385     * Make the session_users list dynamic (max of 128K).
386     
387     
388 o   Cal Heldenbrand <calzplace@yahoo.com> 
389     * Fix for for 'pam_smbpass migrate' functionality.
390
391
392 o   Chris Hertel <crh@samba.org>
393     * fix enumeration of shares 12 characters in length via 
394       smbclient.
395
396
397 o   Ulrich Holeschak <ulrich@holeschak.de>
398     * BUG 932: fix local password change using pam_smbpass
399
400
401 o   Krischan Jodies <kj@sernet.de>
402     * Implement 'net rpc group delete'
403
404
405 o   John Klinger <john.klinger@lmco.com>
406     * Return NSS_SUCCESS once the max number of gids possible 
407        has been found in initgroups() on Solaris.
408     * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
409
410
411 o   Volker Lendecke <vl@samba.org>
412     * Fix success message for net groupmap modify.
413     * Fix errors when enumerating members of groups in 'net rpc'.
414     * Match Windows behavior in samr_lookup_names() by returning
415       ALIAS(4) when you search in BUILTIN. 
416     * Fix server SAMR code to be able to set alias info for 
417       builtin as well. 
418     * Fix duplication of logic when creating groups via smbd.
419     * Ensure that the HWM values are set correctly after running 
420       'net idmap'.
421     * Add 'net rpc group add'.
422     * Implement 'net groupmap set' and 'net groupmap cleanup'.
423     * Add 'net rpc group [add|del]mem' for domain groups and aliases.
424     * Fix wb_delgrpmem (wbinfo -o).
425     * As a DC we should not reply to lsalookupnames on DCNAME\\user.
426     * Fix sambaUserWorkstations on a Samba DC.
427     * Implement wbinfo -k: Have winbind generate an AFS token after
428       authenticating the user.
429     * Add expand_msdfs VFS module for providing referrals based on the
430       the client's IP address.
431     * Implement client side NETLOGON GetDCName function.
432     * Fix caching of name->sid lookups.
433     * Add support in winbindd for expanding nested local groups.
434     * Fix memleak in winbindd.
435     * Fix msdfs proxy.
436     * Don't list domain groups from BUILTIN.
437     * Fix memleak in policy handle utility functions.
438     * Decrease winbindd startup time by only contacting trusted 
439       domains as necessary.
440     * Allow winbindd to ask the DC for its domain for a trusted 
441       DC.
442     * Fix Netscape DS schema based on comments from 
443       <thomas.mueller@christ-wasser.de>.
444     
445
446 o   Herb Lewis <herb@samba.org>
447     * Fix typo for tag in proto file.
448     * Add missing #ifdef HAVE_BICONV stuff.
449     * Truncate Samba's netbios name at the first '.' (not 
450       right to left).
451
452
453 o   Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
454     * Bug fixes and enhancements to libsmbclient library.
455
456     
457 o   Jianliang Lu <j.lu@tiesse.com>
458     * Enforce the 'user must change password at next login' flag.
459     * Decode meaning of 'fields present' flags (improves support 
460       for usrmgr.exe).
461     * NTLMv2 fixes.
462     * Don't force an upper case domain name in the ntlmssp code.
463     
464
465 o   L. Lucius <ib@digicron.com>.
466     * type fixes.
467
468
469 o   Jim McDonough <jmcd@us.ibm.com>
470     * Add versioning support to tdbsam.
471     * Update the IBM Directory Server schema with the OpenLDAP 
472       file.
473     * Various decoding fixes to improve usrmgr.exe support.
474     * Fix statfs redeclaration of statfs struct on ppc
475     * Implement support for password lockout of Samba domain 
476       controllers and standalone servers.
477     * Get MungedDial attribute actually working with full TS 
478       strings in it for pdb_ldap.
479     * BUG 1208 (partial): Improvements for working with expired krb5 
480       tickets in winbindd.
481     * Use timegm, or our already existing replacement instead of 
482       timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
483     * Remove modifyTimestamp from list of our attributes.  
484     * Fix lsalookupnames to check for domain users as well as local 
485       users. 
486     * Merge struct uuid replacement for GUID from trunk.
487     * BUG 1208: Finish support for handling expired tickets in 
488       winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
489
490
491 o   Stefan Metzmacher <metze@samba.org>
492     * Implement new VERSION schema based on subversion revision 
493       numbers.
494
495
496 o    Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
497      o BUG 979 -- Fix quota display on AIX.
498
499
500 o   James Peach <jpeach@sgi.com>
501     * Correct check for printf() format when using the SGI MIPSPro 
502       compiler.
503     * BUG 1038: support backtrace for 'panic action' on IRIX.
504     * BUG 768: Accept profileing arg to IRIX init script.
505     * BUG 748: Relax arg parsing to sambalp script (IRIX).
506     * BUG 758: Fix pdma build.
507     * Search IRIX ABI paths for libiconv.  Based on initial fix from 
508       Jason Mader.
509       
510
511 o   Kurt Pfeifle <kpfeifle@danka.de>
512     * Add example shell script for migrating drivers and printers 
513       from a Windows print server to a Samba print server using 
514       smbclient/rpcclient (examples/printing/VamireDriversFunctions).
515
516
517 o   Tim Potter <tpot@samba.org>
518     * Fix logic bug in tdb non-blocking lock routines when 
519       errno == EAGAIN.
520     * BUG 1025: Include sys/acl.h in check for broken nisplus 
521       include files.      
522     * BUG 1066: s/printf/d_printf/g in SWAT.
523     * BUG 1098: rename internal msleep() function to fix build 
524       problems on AIX.
525     * BUG 1112: Fix for writable printerdata problem in python bindings.
526     * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
527     * BUG 1155: enclose use of fchown() with guards.
528
529
530 o   Richard Sharpe <rsharpe@samba.org>
531     * Add support to smbclient for multiple logins on the same 
532       session (based on work by abartlet@samba.org).
533     * Correct blocking condition in smbd's use of accept() on IRIX.
534     * Add support for printing out the MAC address on nmblookup.
535
536
537 o   Simo Source <idra@samba.org>
538     * Replace unknown_3 with fields_present in SAMR code.
539     * More length checks in strlcat().
540
541
542 o   Andrew Tridgell <tridge@samba.org>
543     * Rewrote the AIX UESS backend for winbindd.
544     * Fixed compilation with --enable-dmalloc.
545     * Change tdb license to LGPL (see source/tdb/tdb.c).
546     * Force winbindd to use schannel in clients connections to 
547       DC's if possible.
548
549
550 o   Jelmer Vernooij <jelmer@samba.org>
551    * Fix ETA Calculation when resuming downloads in smbget.
552    * Add -O (for writing downloaded files to standard out) 
553      based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
554
555            
556 o   TAKEDA yasuma <yasuma@miraclelinux.com>
557     * BUG 900: fix token processing in cmd_symlink, cmd_link, 
558       cmd_chown, cmd_chmod smbclient functions.
559
560
561 o    Shiro Yamada <shiro@miraclelinux.com>
562      * BUG 1129: install image files for SWAT.
563
564       
565 Changes for older versions follow below:
566
567     --------------------------------------------------
568
569                   ==============================
570                   Release Notes for Samba 3.0.2a
571                         February 13, 2004
572                   ==============================
573
574 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
575 to address, in particular, a problem when using pdbedit to 
576 sanitize (--force-initialized-passwords) Samba's tdbsam 
577 backend.   This is the latest stable release of Samba. This 
578 is the version that all production Samba servers should be 
579 running for all current bug-fixes.  
580
581 ******************* Attention! Achtung! Kree! *********************
582
583 Beginning with Samba 3.0.2, passwords for accounts with a last 
584 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
585 ldapsam, etc...) of zero (0) will be regarded as uninitialized 
586 strings.  This will cause authentication to fail for such
587 accounts.  If you have valid passwords that meet this criteria, 
588 you must update the last change time to a non-zero value.  If you 
589 do not, then  'pdbedit --force-initialized-passwords' will disable 
590 these accounts and reset the password hashes to a string of X's.
591
592 ******************* Attention! Achtung! Kree! *********************
593
594
595 Changes since 3.0.2
596 -------------------
597
598 commits
599 -------
600
601 Please refer to the CVS log for the SAMBA_3_0 branch for complete
602 details.  The list of changes per contributor are as follows:
603
604
605 o   Jeremy Allison <jra@samba.org>
606     * Added paranoia checks in parsing code.
607     
608
609 o   Andrew Bartlet <abartlet@samba.org>
610     * Ensure that changes to uninitialized passwords in ldapsam 
611       are written to the DIT.
612
613
614 o   Gerald (Jerry) Carter <jerry@samba.org>
615     * Fixed iterator in tdbsam.
616     * Fix bug that disabled accounts with a valid NT password 
617       hash, but no LanMan hash.
618     
619
620 o   Steve French <sfrench@us.ibm.com>
621     * Added missing nosetuid and noexec options.
622
623     
624 o   Bostjan Golob <golob@gimb.org>
625     * BUG 1046: Don't overwrite usernames of entries returned 
626       by getpwent_list().
627
628
629 o   Sebastian Krahmer <krahmer@suse.de>
630     * Fixed potential crash bug in NTLMSSP parsing code.
631
632
633 o   Tim Potter <tpot@samba.org>
634     * Fixed logic in tdb_brlock error checking.
635
636     
637 o   Urban Widmark <urban@teststation.com>
638     * Set nosuid,nodev flags in smbmnt by default.
639     
640     
641         --------------------------------------------------
642                   
643                   =============================
644                   Release Notes for Samba 3.0.2
645                         February 9, 2004
646                   =============================
647
648 It has been confirmed that previous versions of Samba 3.0 are
649 susceptible to a password initialization bug that could grant an 
650 attacker unauthorized access to a user account created by the
651 mksmbpasswd.sh shell script.
652
653 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
654 has assigned the name CAN-2004-0082 to this issue.
655
656 Samba administrators not wishing to upgrade to the current 
657 version should download the 3.0.2 release, build the pdbedit 
658 tool, and run 
659
660    root# pdbedit-3.0.2 --force-initialized-passwords
661       
662 This will disable all accounts not possessing a valid password
663 (e.g. the password field has been set a string of X's).
664
665 Samba servers running 3.0.2 are not vulnerable to this bug 
666 regardless of whether or not pdbedit has been used to sanitize
667 the passdb backend.
668
669 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
670 release include:
671
672   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
673   o Logging onto a Samba domain from Windows XP clients.
674   o Problems with the %U and %u smb.conf variables in relation to 
675     Windows 9x/ME clients.
676   o Kerberos failures due to an invalid in memory keytab detection
677     test.
678   o Updates to the ntlm_auth tool.
679   o Fixes for various SMB signing errors.
680   o Better separation of WINS and DNS queries for domain controllers.
681   o Issues with nss_winbind FreeBSD and Solaris.
682   o Several crash bugs in smbd and winbindd.
683   o Output formatting fixes for smbclient for better compatibility
684     with scripts based on the 2.2 version.
685
686
687 Changes since 3.0.1
688 -------------------
689
690 smb.conf changes
691 ----------------
692
693     Parameter Name              Action
694     --------------              ------
695     ldap replication sleep      New
696     read size                   removed (unused)
697     source environment          removed (unused)
698
699
700 commits
701 -------
702
703 Please refer to the CVS log for the SAMBA_3_0 branch for complete
704 details.  The list of changes per contributor are as follows:
705
706 o   Jeremy Allison <jra@samba.org>
707     * Revert change that broke Exchange clear text samlogons.
708     * Fix gcc 3.4 warning in MS-DFS code.
709     * Tidy up of NTLMSSP code.
710     * Fixes for SMB signing errors
711     * BUG 815: Workaround NT4 bug to support plaintext
712       password logins and UNICODE.
713     * Fix SMB signing bug when copying large files.
714     * Correct error logic in mkdir_internals() (caused a panic
715       when combined with --enable-developer).
716     * BUG 830: Protect against crashes due to bad character 
717       conversions.
718
719       
720 o   Petri Asikainen <paca@sci.fi>
721     * BUG 330, 387:Fix single valued attribute updates when 
722       working with Novell NDS.
723
724
725 o   Andrew Bartlet <abartlet@samba.org>
726     * Correctly handle per-pipe NTLMSSP inside a NULL session.
727     * Fix segfault in gencache 
728     * Fix early free() of encrypted_session_key.
729     * Change DC lookup routines to more carefully separate
730       DNS names (realms) from NetBIOS domain names.
731     * Add new sid_to_dn() function for internal winbindd use.
732     * Refactor cli_ds_enum_domain_trusts().
733     * BUG 707: Implement range retrieval of ADS attributes (based 
734       on work from Volker <vl@samba.org> and Guenther Deschner 
735       <gd@suse.com>).
736     * Automatically initialize the signing engine if a session key
737       is available.
738     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
739       encoded strings, only form input in SWAT.
740     * Resets the NTLMSSP state for new negotiate packets.
741     * Add 2-byte alignments in net_samlogon() queries to parse 
742       odd-length plain text passwords.
743     * Allow Windows groups with no members in winbindd.
744     * Allow normal authentication in the absence of a server 
745       generated session key.
746     * More optimizations for looking up UNIX group lists.
747     * Clean up error codes and return values for pam_winbindd
748       and winbindd PAM interface.
749     * Fix string return values in ntlm_auth tool.
750     * Fix segfault when 'security = ads' but no realm is defined.
751     * BUG 722: Allow winbindd to map machine accounts to uids.
752     * More cleanups for winbindd's find_our_domain().
753     * More clearly detect whether a domain controller is an NT4
754       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
755     * Increase separation between DNS queries for hosts and queries
756       for AD domain controllers.
757     * Include additional NT_STATUS to PAM error mappings.
758     * Password initialization fixes.
759
760     
761 o   Justin Baugh <justin.baugh@request.com>
762     * BUG 948: Implement missing functions required for FreeBSD 
763       nss_winbind support. 
764
765
766 o   Alexander Bokovoy <ab@samba.org>
767     * BUG 922: Make sure enable fast path for strlower_m() and 
768       strupper_m().
769
770
771 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
772     * Fix crash when using 'security = server' and 'encrypt 
773       passwords = no' by always initializing the session key.
774
775       
776 o   Dmitry Butskoj <buc@odusz.elektra.ru>
777     * Fix for special files being hidden from admins.
778
779
780 o   Gerald (Jerry) Carter <jerry@samba.org>
781     * Fix bug in the lanman session key generation.  Caused 
782       "decode_pw: incorrect password length" error messages.
783     * Save the right case for the located user name in 
784       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
785     * BUG 897: Add well known rid for pre win2k compatible access
786       group.
787     * BUG 887: Correct typo in delete user script example.
788     * Use short lived TALLOC_CTX* for allocating printer objects 
789       from the print handle cache.
790     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
791     * Fix several warnings reported by the SUN Forte C compiler.
792     * Fully control DNS queries for AD DC's using 'name resolve order'.
793     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
794     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
795     * BUG 936: fix bind credentials for schannel binds in smbd.
796     * BUG 446: Fix output of smbclient for better compatibility 
797       with scripts based on the 2.2 version (including Amanda).
798     * BUG 891, 949: Fedora packaging fixes.
799     * Fix bug that caused rpcclient to incorrectly retrieve 
800       the SID for a server (this causing all calls that required 
801       this information to fail). 
802     * BUG 977: Don't create a homes share for a user if a static 
803       share already exists by the same name.
804     * Removed unused smb.conf options.
805     * Password initialization fixes.
806     * Set the disable flag for template accounts created by
807       mksmbpasswd.sh.
808     * Disable any account has no passwords and does not have the
809       ACB_PWNOTREQ bit set.
810
811
812 o   Guenther Deschner <gd@suse.com>
813     * Install smbwrapper.so should be put into the $(libdir) 
814       and not $(bindir).
815     * Add the capability to specify the new user password 
816       for "net ads password" on the command line.
817     * Correctly detect AFS headers on SuSE.
818         
819
820 o   James Flemer <jflemer@uvm.edu>
821     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
822       HAVE_SYS_ATTRIBUTES_H.
823
824
825 o   Luke Howard <lukeh@PADL.COM>
826     * Fix segfault in session setup reply caused by a early free().
827
828
829 o   Stoian Ivanov <sdr@bultra.com>
830     * Implement grepable output for smbclient -L.
831
832
833 o   LaMont Jones <lamont@debian.org>
834     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
835       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
836       not being defined).
837
838       
839 o   Volker Lendecke <vl@samba.org>
840     * BUG 583: Ensure that user names always contain the short 
841       version of the domain name.
842     * Fix our parsing of the LDAP uri.
843     * Don't show the 'afs username map' in the SWAT basic view.
844     * Fix SMB signing issues in relation to failed NTLMSSP logins.
845     * BUG 924: Fix return codes in smbtorture harness.
846     * Always lower-case usernames before handing it to AFS code.
847     * Add a German translation for SWAT.
848     * Fix a segfaults in winbindd.
849     * Fix the user's domain passed to register_vuid() from 
850       reply_spnego_kerberos().
851     * Add NSS example code in nss_winbind to convert UNIX 
852       id's <-> Windows SIDs.
853     * Display more descriptive error messages for login via 'net'.
854     * Fix compiler warning in the net tool.
855     * Fix length bug when decoding base64 strings.
856     * Ensure we don't call getpwnam() inside a loop that is iterating 
857       over users with getpwent().  This broke on glibc 2.3.2.
858
859
860 o   Herb Lewis <herb@samba.org>
861     * Fix bit rot in psec.
862
863
864 o   Jianliang Lu <j.lu@tiesse.com>
865     * Ensure we delete the group mapping before calling the delete 
866       group script.
867     * Define well known RID for managing the  "Power Users" group.
868     * BUG 381: check builtin (not local) group SID when updating 
869       group membership.
870     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
871       packet.
872
873
874 o   John Klinger <john.klinger@lmco.com>
875     * Implement initgroups() call in nss_winbind on Solaris.
876
877
878 o   Jim McDonough <jmcd@us.ibm.com>
879     * Fix regression in net rpc join caused by recent changes 
880       to cli_lsa_query_info_policy().
881     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
882       machine account.
883
884
885 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
886     * BUG 570: Ensure that configure honors the LDFLAGS variable.
887
888
889 o   Stefan Metzmacher <metze@samba.org>
890     * Implement LDAP rebind sleep patch.
891     * Revert to 2.2 quota code because of so many broken quota files 
892       out there.
893     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
894                       XFS_USER_QUOTA -> USRQUOTA
895                       XFS_GROUP_QUOTA -> GRPQUOTA
896     * Fix disk_free calculation with group quotas.
897     * Add debug class 'quota' and a lot of DEBUG()'s 
898       to the quota code.
899     * Fix sys_chown() when no chown() is present.
900     * Add SIGABRT to fault handling in order to catch got a 
901       backtrace if an error occurs the OpenLDAP client libs.
902
903
904 o   <ndb@theghet.to>
905     * Allow an existing LDAP machine account to be re-used when 
906       joining an AD domain.
907
908
909 o   James Peach <jpeach@sgi.com>
910     * BUG 889: Change smbd to use pread/pwrite on platforms that 
911       support these calls. Can lead to a significant speed increase.
912
913
914 o   Tim Potter <tpot@samba.org>
915     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
916     * BUG 924: Fix typo in RW2 torture test.
917     
918     
919 o   Richard Sharpe <shape@samba.org>
920     * Small fixes to torture.c to cleanup the error handling 
921       and prevent crashes.
922
923
924 o   J. Tournier <jerome.tournier@IDEALX.com>
925     * Small fixes for the smbldap-tool scripts.
926
927
928 o   Andrew Tridgell <tridge@samba.org>
929     * Fix src len check in pull_usc2().
930     
931     
932 o   Jelmer Vernooij <jelmer@samba.org>
933     * Put functions for generating SQL queries in pdb_sql.c
934     * Add pgSQL backend (based on patch by Hamish Friedlander)
935     * BUG 908: Fix -s option to smbcontrol.    
936     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
937     * Fix for libnss_wins on IRIX platforms.
938     * Fix swatdir for --with-fhs.
939
940
941         --------------------------------------------------
942
943                   =============================
944                   Release Notes for Samba 3.0.1
945                         December 15, 2003
946                   =============================
947
948 Some of the more common bugs in 3.0.0 addressed in the release 
949 include:
950
951   o Substitution problems with smb.conf variables.
952   o Errors in return codes which caused some applications
953     to fail to open files.
954   o General Protection Faults on Windows 2000/XP clients
955     using Samba point-n-print features.
956   o Several miscellaneous crash bugs.
957   o Access problems when enumerating group mappings are
958     stored in an LDAP Directory.
959   o Several common SWAT bugs when writing changes to
960     smb.conf.
961   o Internal inconsistencies when 'winbind use default
962     domain = yes'
963
964
965
966 Changes since 3.0.0
967 ----------------------
968
969     Parameter Name              Action
970     --------------              ------
971     hide local users            Removed
972     mangled map                 Deprecated
973     mangled stack               Removed
974     passwd chat timeout         New
975
976
977 commits
978 -------
979
980 o   Change the interface for init_unistr2 to not take a length 
981     but a flags field.  We were assuming that 
982     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
983 o   Allow d_printf() to handle strings with escaped quotation 
984     marks since the msg file includes the escape character (bug 489).
985 o   Fix bad html table row termination in SWAT wizard code (bug 413).
986 o   Fix to parse the level-2 strings.
987 o   Fix for "valid users = %S" in [homes].  Fix read/write 
988     list as well. 
989 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
990     This is the same way AC_CHECK_LIB works (bug 508).
991 o   Testparm output fixes for clarity.
992 o   Fix broken wins hook functionality -- i18n bug (bug 528).
993 o   Take care of condition where DOS and NT error codes must differ.
994 o   Default to using only built-in charsets when a working iconv 
995     implementation cannot be located.
996 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
997     be done unconditionally (bug 550).
998 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
999 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
1000     --enable-debug=[yes|no] works correctly.
1001 o   Allow ^C to interrupt smbpasswd if using our getpass 
1002     (e.g. smbpasswd command).
1003 o   Support signing only on RPC's (bug 167).
1004 o   Correct bug that prevented  Excel 2000 clients from opening 
1005     files marked as read-only.
1006 o   Portability fix bugs 546 - 549).
1007 o   Explicitly initialize the value of AR for vendor makes that don't
1008     do this (e.g. HPUX 11).  (bug 552).
1009 o   More i18n fixes for SWAT (bug 413).
1010 o   Change the cwd before the postexec script to ensure that a
1011     umount will succeed.
1012 o   Correct double free that caused winbindd to crash when a DC 
1013     is rebooted (bug 437).
1014 o   Fix incorrect mode sum (bug 562).
1015 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
1016     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
1017 o   Add script to generate *msg files.
1018 o   Add Dutch SWAT translation file.
1019 o   Make sure to call get_user_groups() with the full winbindd 
1020     name for a user if he/she has one (bug 406).
1021 o   Fix up error code returns from Samba4 tester. Ensure invalid 
1022     paths are validated the same way.  
1023 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
1024 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
1025     libraries were found for $BACKEND.
1026 o   Move sysquotas autoconf tests to a separate file.
1027 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
1028     tester
1029 o   Make sure that the files that contain the static_init_$subsystem; 
1030     macro get recompiled after configure by removing the object 
1031     files.
1032 o   Ensure canceling a blocking lock returns the correct error 
1033     message.
1034 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
1035 o   Updated Japanese welcome file in SWAT.
1036 o   Fix to  nt-time <-> unix-time functions reversible.
1037 o   Ensure that winbindd uses the the escaped DN when querying
1038     an AD ldap server.
1039 o   Fix portability issues when compiling (bug 505, 550)
1040 o   Compile fix for tdbbackup when Samba needs to override 
1041     non-C99 compliant implementations of snprintf().
1042 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
1043 o   Make sure we break out of samsync loop on error.
1044 o   Ensure error code path doesn't free unmalloc()'d memory
1045     (bug 628).
1046 o   Add configure test for krb5_keytab_entry keyblock vs key 
1047     member (bug 636).
1048 o   Fixed spinlocks.
1049 o   Modified testparm so that all output so all debug output goes 
1050     to stderr, and all file processing goes to stdout.
1051 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
1052     and smbcquotas.
1053 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
1054     we have a devmode before copying a string to the devicename.
1055 o   Support mapping REALM.COM\user to a local user account (without 
1056     running winbindd)  for compatibility with 2.2.x release.
1057 o   Ensure we don't use mmap() on blacklisted systems.
1058 o   fixed a number of bugs and memory leaks in the AIX 
1059     winbindd shim
1060 o   Call initgroups() in SWAT before becomming the user so that
1061     secondary group permissions can be used when writing to 
1062     smb.conf.
1063 o   Fix signing problems when reverse connecting back to a 
1064     client for printer notify
1065 o   Fix signing problems caused by a miss-sequence bug.
1066 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
1067     Fixes NEXUS tools running on Win9x clients (bug 64).
1068 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
1069     SID could not be mapped.
1070 o   Fix segfault in mount.cifs helper when there is no options 
1071     specified during mount.
1072 o   Change the \n after the password prompt to go to tty instead 
1073     of stdout (bug 668).
1074 o   Stop net -P from prompting for machine account password (bug 451).
1075 o   Change in behavior to Not only change the effective uid but also
1076     the real uid when becoming unprivileged.
1077 o   Cope with Exchange 5.5 cleartext pop password auth.
1078 o   New files for support of initshutdown pipe.  Win2k doesn't 
1079     respond properly to all requests on the winreg pipe, so we need 
1080     to handle this new pipe (bug 534).
1081 o   Added more va_copy() checks in configure.in.
1082 o   Include fixes for libsmbclient build problems.
1083 o   Missing UNIX -> DOS codepage conversion in lanman.c.
1084 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
1085 o   Parameterize the listen backlog in smbd and make it larger by
1086     default. A backlog of 5 is way too small these days.
1087 o   Check for an invalid fid before dereferencing the fsp pointer
1088     (bug 696).
1089 o   Remove invalid memory frees and return codes in pdb_ldap.c.
1090 o   Prompt for password when invoking --set-auth-user and no 
1091     password is given.
1092 o   Bind the nmbd sending socket to the 'socket address'.
1093 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
1094     $LDFLAGS occurs before any library specification (bug 661).
1095 o   Fix large number of printf() calls for 64-bit size_t.
1096 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
1097     keyblock in the krb5 structs.
1098 o   Remove #include <compat.h> in hopes to avoid problems with 
1099     apache header files.
1100 o   Correct winbindd build problems on HP-UX 11.
1101 o   Lowercase netgroups lookups (bug 703).
1102 o   Use the actual size of the buffer in strftime instead of a made
1103     up value which just happens to be less than sizeof(fstring).  
1104     (bug 713).
1105 o   Add ldaplibs to pdbedit link line (bug 651).
1106 o   Fix crash bug in smbclient completion (bug 659).
1107 o   Fix packet length for browse list reply (bug 771).
1108 o   Fix coredump in cli_get_backup_list().
1109 o   Make sure that we expand %N (bug 612).
1110 o   Allow rpcclient adddriver command to specify printer driver 
1111     version (bug 514).
1112 o   Compile tdbdump by default.
1113 o   Apply patches to fix iconv detection for FreeBSD.
1114 o   Do not allow the 'guest account' to be added to a passdb backend 
1115     using smbpasswd or pdbedit (bug 624).
1116 o   Save LDFLAGS during iconv detection (bug 57).
1117 o   Run krb5 logins through the username map if the winbindd 
1118     lookup fails (bug 698).
1119 o   Add const for lp_set_name_resolve_order() to avoid compiler 
1120     warnings (bug 471).
1121 o   Add support for the %i macro in smb.conf to stand in for the for
1122     the local IP address to which a client connected.
1123 o   Allow winbindd to match local accounts to domain SID when 
1124     'winbind trusted domains only = yes' (bug 680).
1125 o   Remove code in idmap_ldap that searches the user suffix and group 
1126     suffix.  It's not needed and provides inconsistent functionality 
1127     from the tdb backend.
1128 o   Patch to handle munged dial string for Windows 2000 TSE.
1129     Thanks to Gaz de France, Direction de la Recherche, Service 
1130     Informatique Métier for their supporting this work by Aurelien 
1131     Degrémont <adegremont@idealx.com>.
1132 o   Correct the "smbldap_open: cannot access when not root error"
1133     messages when looking up group information (bug 281).
1134 o   Skip over the winbind separator when looking up a user.
1135     This fixes the bug that prevented local users from
1136     matching an AD user when not running winbindd (bug 698).
1137 o   Fix a problem with configure on *BSD systems. Make sure
1138     we add -liconv etc to LDFLAGS.
1139 o   Fix core dump bug when "security = server" and the authentication
1140     server goes away.
1141 o   Correct crash bug due to an empty munged dial string.
1142 o   Show files locked by a specific user (smbstatus -u 'user') 
1143     (bug 590).
1144 o   Fix bug preventing print jobs from display in the queue
1145     monitor used by Windows NT and later clients (bug 660).
1146 o   Fix several reported problems with point-n-print from
1147     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
1148     reply (bug 338, 527 & 643).
1149 o   Fix a handful of potential memory leaks in the LDAP code used
1150     by ldapsam[_compat] and the LDAP idmap backend.
1151 o   Fix for pdbedit error code returns (bug 763).
1152 o   Make sure we only enumerate group mapping entries  (not 
1153     /etc/group) even when doing local aliases.
1154 o   Relax check on the pipe name in a dce/rpc bind response to work 
1155     around issues with establishing trusts to a Windows 2003 domain.
1156 o   Ensure we mangle names ending in '.' in hash2 mangling method.
1157 o   Correct parsing issues with munged dial string.
1158 o   Fix bugs in quota support for XFS.
1159 o   Add a cleaner method for applications that need to provide 
1160     name->SID mappings to do this via NSS rather than having to 
1161     know the winbindd pipe protocol.
1162 o   Adds a variant of the winbindd_getgroups() call called 
1163     winbindd_getusersids() that provides direct SID->SIDs listing of 
1164     a users supplementary groups. This is enough to allow non-Samba 
1165     applications to do ACL checking.
1166 o   Make sure we don't append the 'ldap suffix' when writing out the 
1167     'ldap XXX suffix' values in SWAT (bug 328).
1168 o   Fix renames across file systems.
1169 o   Ensure that items in a list of strings containing whitespace are 
1170     written out surrounded by single quotes.  This means that both 
1171     double and single quotes are now used to surround strings in 
1172     smb.conf (bug 481).
1173 o   Enable SWAT to correctly determine if winbindd is running (bug 
1174     398).
1175 o   Include WWW-Authenticate field in 401 response for bad auth 
1176     attempt (bug 629).
1177 o   Add support for NTLM2 (NTLMv2 session security).
1178 o   Add support for variable-length session keys.
1179 o   More privilege fixes for group enumeration in LDAP (bug 281).
1180 o   Use the dns name (or IP) as the originating client name when
1181     using CUPS (bug 467).
1182 o   Fix various SMB signing bugs.
1183 o   Fix ACL propagation on a DFS root (bug 263).
1184 o   Disable NTLM2 for RPC pipes.
1185 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
1186     authentication.
1187 o   Change the name of the job passed off to cups from "Test Page" 
1188     to "smbprn.00000033 Test Page" so that we can get the smb 
1189     jobid back. This allow users to delete jobs with cups printing 
1190     backend (partial work on bug 770).
1191 o   Fix build of winbindd with static pdb modules.
1192 o   Retrieve the correct ACL group bits if the file has an ACL 
1193     (bug 802).
1194 o   Implement "net rpc group members": Get members of a domain group 
1195     in human-readable format.
1196 o   Add MacOSX (Darwin) specific charset module code.
1197 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
1198     can include the full name in gecos field (bug 587).
1199 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
1200 o   Implement 'net rpc group list [global|local|builtin]*' for a 
1201     select listing of the respective user databases.
1202 o   Don't automatically set NT status code flag unless client tells 
1203     us it can cope.
1204 o   Add 'net status [sessions|shares] [parseable]'.
1205 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
1206     bug 770).
1207 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
1208    (bug 608).
1209 o   Fix inverted logic in hosts allow/deny checks caused by 
1210     s/strcmp/strequal/ (bug 846).
1211 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
1212 o   Fix typo in 'hash' mangling algorithm.
1213 o   Support munged dial for ldapsam (bug 800).
1214 o   Fix process_incoming_data() to return the number of bytes handled 
1215     this call whether we have a complete PDU or not; fixes bug 
1216     with multiple PDU request rpc's broken over SMBwriteX calls 
1217     each.
1218 o   Fix incorrect smb flags2 for connections to pre-NT servers 
1219     (causes smbclient to fail to OS2 for example) (bug 821).
1220 o   Update version string in smbldap-tools Makefile to 0.8.2.
1221 o   Correct a problem with "net rpc vampire" mis-parsing the 
1222     alias member info reply.
1223 o   Ensure the ${libdir} is created by the installclientlib script.
1224 o   Fix detection of Windows 2003 client architecture in the smb.conf
1225     %a variable.
1226 o   Ensure that smbd calls the add user script for a missing UNIX 
1227     user on kerberos auth call (bug 445).
1228 o   Fix bugs in hosts allow/deny when using a mismatched 
1229     network/netmask pair.
1230 o   Protect alloc_sub_basic() from crashing when the source string 
1231     is NULL (partial work on bug 687).
1232 o   Fix spinlocks on IRIX.
1233 o   Corrected some bad destination paths when running "configure 
1234     --with-fhs".
1235 o   Add packaging files for Fedora Core 1.
1236 o   Correct bug in SWAT install script for non-english languages.
1237 o   Support character set ISO-8859-1 internally (bug 558).
1238 o   Fixed more LDAP access errors when looking up group mappings 
1239     (bug 281).
1240 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
1241     resolution to fail on local files on on domain members 
1242     (bug 875).
1243 o   Fix uninitialized variable in passdb.c.
1244 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
1245 o   Fix problem mounting directories when mount.cifs is installed 
1246     with the setuid bit on.
1247 o   Fix bug that prevent --mandir from overriding the defaults
1248     given in the --with-fhs macro.
1249 o   Fix bug in in-memory Kerberos keytab detection routines 
1250     in configure.in
1251
1252
1253
1254 ######################################################################
1255
1256               The original 3.0.0 release notes follow
1257               =======================================
1258                     WHATS NEW IN Samba 3.0.0
1259                         September 24, 2003
1260               =======================================
1261
1262
1263 Major new features:
1264 -------------------
1265
1266 1)  Active Directory support.  Samba 3.0 is now able to  
1267     join a ADS realm as a member server and authenticate 
1268     users using LDAP/Kerberos.
1269
1270 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
1271     and internally there is now a much better infrastructure for 
1272     multi-byte and UNICODE character sets.
1273
1274 3)  New authentication system. The internal authentication system 
1275     has been almost completely rewritten. Most of the changes are 
1276     internal, but the new auth system is also very configurable.
1277
1278 4)  New default filename mangling system.
1279
1280 5)  A new "net" command has been added. It is somewhat similar to 
1281     the "net" command in windows. Eventually we plan to replace 
1282     numerous other utilities (such as smbpasswd) with subcommands 
1283     in "net".
1284
1285 6)  Samba now negotiates NT-style status32 codes on the wire. This
1286     improves error handling a lot.
1287
1288 7)  Better Windows 2000/XP/2003 printing support including publishing
1289     printer attributes in active directory.
1290
1291 8)  New loadable module support for passdb backends and character 
1292     sets.
1293
1294 9)  New default dual-daemon winbindd support for better performance.
1295
1296 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
1297     domain and maintaining user, group and domain SIDs.
1298
1299 11) Support for establishing trust relationships with Windows NT 4.0
1300     domain controllers.
1301   
1302 12) Initial support for a distributed Winbind architecture using
1303     an LDAP directory for storing SID to uid/gid mappings.
1304   
1305 13) Major updates to the Samba documentation tree.
1306
1307 14) Full support for client and server SMB signing to ensure
1308     compatibility with default Windows 2003 security settings.
1309
1310 15) Improvement of ACL mapping features based on code donated by
1311     Andreas Grünbacher.
1312
1313
1314 Plus lots of other improvements!
1315
1316
1317 Additional Documentation
1318 ------------------------
1319
1320 Please refer to Samba documentation tree (included in the docs/ 
1321 subdirectory) for extensive explanations of installing, configuring
1322 and maintaining Samba 3.0 servers and clients.  It is advised to 
1323 begin with the Samba-HOWTO-Collection for overviews and specific 
1324 tasks (the current book is up to approximately 400 pages) and to 
1325 refer to the various man pages for information on individual options.
1326
1327 We are very glad to be able to include the second edition of
1328 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
1329 (O'Reilly & Associates) in this release.  The book is available
1330 on-line at http://samba.org/samba/docs/ and is included with 
1331 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
1332 publisher for making "Using Samba" under the GNU Free Documentation 
1333 License.
1334
1335
1336 ######################################################################
1337 Upgrading from a previous Samba 3.0 beta
1338 ########################################
1339
1340 Beginning with Samba 3.0.0beta3, the RID allocation functions
1341 have been moved into winbindd.  Previously these were handled
1342 by each passdb backend.  This means that winbindd must be running
1343 to automatically allocate RIDs for users and/or groups.  Otherwise,
1344 smbd will use the 2.2 algorithm for generating new RIDs.
1345
1346 If you are using 'passdb backend = tdbsam' with a previous Samba 
1347 3.0 beta release (or possibly alpha), it may be necessary to 
1348 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
1349 to winbindd_idmap.tdb.  To do this:
1350
1351 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
1352     once)
1353 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
1354     directory
1355 3)  run: (note that 'tdb>' is the tool's prompt for input)
1356
1357        root# ./tdbtool /usr/local/samba/private/passdb.tdb
1358        tdb> show RID_COUNTER
1359        key 12 bytes
1360        RID_COUNTER
1361        data 4 bytes
1362        [000] 0A 52 00 00                                       .R.
1363
1364        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
1365        ....
1366        record moved
1367
1368 If you are using 'passdb backend = ldapsam', it will be necessary to 
1369 store idmap entries in the LDAP directory as well (i.e. idmap backend 
1370 = ldap).  Refer to the 'net idmap' command for more information on 
1371 migrating SID<->UNIX id mappings from one backend to another.
1372
1373 If the RID_COUNTER record does not exist, then these instructions are
1374 unneccessary and the new RID_COUNTER record will be correctly generated
1375 if needed.  
1376
1377
1378
1379 ########################
1380 Upgrading from Samba 2.2
1381 ########################
1382
1383 This section is provided to help administrators understand the details
1384 involved with upgrading a Samba 2.2 server to Samba 3.0.
1385
1386
1387 Building
1388 --------
1389
1390 Many of the options to the GNU autoconf script have been modified 
1391 in the 3.0 release.  The most noticeable are:
1392
1393   * removal of --with-tdbsam (is now included by default; see section
1394     on passdb backends and authentication for more details)
1395     
1396   * --with-ldapsam is now on used to provided backward compatible
1397     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
1398     backend and authentication section for more details
1399   
1400   * inclusion of non-standard passdb modules may be enabled using
1401     --with-expsam.  This includes an XML backend and a mysql backend.
1402       
1403   * removal of --with-msdfs (is now enabled by default)
1404   
1405   * removal of --with-ssl (no longer supported)
1406   
1407   * --with-utmp now defaults to 'yes' on supported systems
1408   
1409   * --with-sendfile-support is now enabled by default on supported 
1410     systems
1411   
1412     
1413 Parameters
1414 ----------
1415
1416 This section contains a brief listing of changes to smb.conf options
1417 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
1418 complete descriptions of new or modified parameters.
1419
1420 Removed Parameters (order alphabetically):
1421
1422   * admin log
1423   * alternate permissions
1424   * character set
1425   * client codepage
1426   * code page directory
1427   * coding system
1428   * domain admin group
1429   * domain guest group
1430   * force unknown acl user
1431   * hide local users
1432   * mangled stack
1433   * nt smb support
1434   * postscript
1435   * printer driver
1436   * printer driver file
1437   * printer driver location
1438   * read size
1439   * source environment
1440   * status
1441   * strip dot
1442   * total print jobs
1443   * use rhosts
1444   * valid chars
1445   * vfs options
1446
1447 New Parameters (new parameters have been grouped by function):
1448
1449   Remote management
1450   -----------------
1451   * abort shutdown script
1452   * shutdown script
1453
1454   User and Group Account Management
1455   ---------------------------------
1456   * add group script
1457   * add machine script
1458   * add user to group script
1459   * algorithmic rid base
1460   * delete group script
1461   * delete user from group script
1462   * passdb backend
1463   * set primary group script
1464
1465   Authentication
1466   --------------
1467   * auth methods
1468   * realm
1469   * passwd chat timeout
1470
1471   Protocol Options
1472   ----------------
1473   * client lanman auth
1474   * client NTLMv2 auth
1475   * client schannel
1476   * client signing
1477   * client use spnego
1478   * disable netbios
1479   * ntlm auth
1480   * paranoid server security
1481   * server schannel
1482   * server signing
1483   * smb ports
1484   * use spnego
1485
1486   File Service
1487   ------------
1488   * get quota command
1489   * hide special files
1490   * hide unwriteable files
1491   * hostname lookups
1492   * kernel change notify
1493   * mangle prefix
1494   * map acl inherit
1495   * msdfs proxy
1496   * set quota command
1497   * use sendfile
1498   * vfs objects
1499   
1500   Printing
1501   --------
1502   * max reported print jobs
1503
1504   UNICODE and Character Sets
1505   --------------------------
1506   * display charset
1507   * dos charset
1508   * unicode
1509   * unix charset
1510   
1511   SID to uid/gid Mappings
1512   -----------------------
1513   * idmap backend
1514   * idmap gid
1515   * idmap uid
1516   * winbind enable local accounts
1517   * winbind trusted domains only
1518   * template primary group
1519   * enable rid algorithm
1520
1521   LDAP
1522   ----
1523   * ldap delete dn
1524   * ldap group suffix
1525   * ldap idmap suffix
1526   * ldap machine suffix
1527   * ldap passwd sync
1528   * ldap replication sleep
1529   * ldap user suffix
1530   
1531   General Configuration
1532   ---------------------
1533   * preload modules
1534   * private dir
1535
1536 Modified Parameters (changes in behavior):
1537
1538   * encrypt passwords (enabled by default)
1539   * mangling method (set to 'hash2' by default)
1540   * passwd chat
1541   * passwd program
1542   * restrict anonymous (integer value)
1543   * security (new 'ads' value)
1544   * strict locking (enabled by default)
1545   * unix extensions (enabled by default)
1546   * winbind cache time (increased to 5 minutes)
1547   * winbind uid (deprecated in favor of 'idmap uid')
1548   * winbind gid (deprecated in favor of 'idmap gid')
1549
1550
1551 Databases
1552 ---------
1553
1554 This section contains brief descriptions of any new databases 
1555 introduced in Samba 3.0.  Please remember to backup your existing 
1556 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
1557 upgrade databases as they are opened (if necessary), but downgrading 
1558 from 3.0 to 2.2 is an unsupported path.
1559
1560 Name                    Description                             Backup?
1561 ----                    -----------                             -------
1562 account_policy          User policy settings                    yes
1563 gencache                Generic caching db                      no
1564 group_mapping           Mapping table from Windows              yes
1565                         groups/SID to unix groups        
1566 winbindd_idmap          ID map table from SIDS to UNIX          yes
1567                         uids/gids.
1568 namecache               Name resolution cache entries           no
1569 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
1570                         returned as part of a successful
1571                         net_sam_logon request 
1572 printing/*.tdb          Cached output from 'lpq                 no
1573                         command' created on a per print 
1574                         service basis
1575 registry                Read-only samba registry skeleton       no
1576                         that provides support for exporting
1577                         various db tables via the winreg RPCs
1578
1579
1580 Changes in Behavior
1581 -------------------
1582
1583 The following issues are known changes in behavior between Samba 2.2 and 
1584 Samba 3.0 that may affect certain installations of Samba.
1585
1586   1)  When operating as a member of a Windows domain, Samba 2.2 would 
1587       map any users authenticated by the remote DC to the 'guest account'
1588       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
1589       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
1590       current work around to re-establish the 2.2 behavior.
1591       
1592   2)  When adding machines to a Samba 2.2 controlled domain, the 
1593       'add user script' was used to create the UNIX identity of the 
1594       machine trust account.  Samba 3.0 introduces a new 'add machine 
1595       script' that must be specified for this purpose.  Samba 3.0 will
1596       not fall back to using the 'add user script' in the absence of 
1597       an 'add machine script'
1598   
1599
1600 ######################################################################
1601 Passdb Backends and Authentication
1602 ##################################
1603
1604 There have been a few new changes that Samba administrators should be
1605 aware of when moving to Samba 3.0.
1606
1607   1) encrypted passwords have been enabled by default in order to 
1608      inter-operate better with out-of-the-box Windows client 
1609      installations.  This does mean that either (a) a samba account
1610      must be created for each user, or (b) 'encrypt passwords = no'
1611      must be explicitly defined in smb.conf.
1612     
1613   2) Inclusion of new 'security = ads' option for integration 
1614      with an Active Directory domain using the native Windows
1615      Kerberos 5 and LDAP protocols.
1616
1617      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
1618      type which is neccessary for servers on which the 
1619      administrator password has not been changed, or kerberos-enabled 
1620      SMB connections to servers that require Kerberos SMB signing.
1621      Besides this one difference, either MIT or Heimdal Kerberos
1622      distributions are usable by Samba 3.0.
1623      
1624
1625 Samba 3.0 also includes the possibility of setting up chains
1626 of authentication methods (auth methods) and account storage 
1627 backends (passdb backend).  Please refer to the smb.conf(5) 
1628 man page for details.  While both parameters assume sane default 
1629 values, it is likely that you will need to understand what the 
1630 values actually mean in order to ensure Samba operates correctly.
1631
1632 The recommended passdb backends at this time are
1633
1634   * smbpasswd - 2.2 compatible flat file format
1635   * tdbsam - attribute rich database intended as an smbpasswd
1636     replacement for stand alone servers
1637   * ldapsam - attribute rich account storage and retrieval 
1638     backend utilizing an LDAP directory.  
1639   * ldapsam_compat - a 2.2 backward compatible LDAP account 
1640     backend
1641     
1642 Certain functions of the smbpasswd(8) tool have been split between the 
1643 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
1644 utility.  See the respective man pages for details.
1645     
1646      
1647 ######################################################################
1648 LDAP
1649 ####
1650
1651 This section outlines the new features affecting Samba / LDAP 
1652 integration.
1653
1654 New Schema
1655 ----------
1656   
1657 A new object class (sambaSamAccount) has been introduced to replace 
1658 the old sambaAccount.  This change aids us in the renaming of 
1659 attributes to prevent clashes with attributes from other vendors.  
1660 There is a conversion script (examples/LDAP/convertSambaAccount) to 
1661 modify and LDIF file to the new schema.
1662   
1663 Example:
1664   
1665   $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
1666   $ convertSambaAccount --sid=<Domain SID> \
1667     --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
1668     --changetype=[modify|add]
1669         
1670 The <DOM SID> can be obtained by running 'net getlocalsid 
1671 <DOMAINNAME>' on the Samba PDC as root.  The changetype determines 
1672 the format of the generated LDIF output--either create new entries 
1673 or modify existing entries.
1674     
1675 The old sambaAccount schema may still be used by specifying the 
1676 "ldapsam_compat" passdb backend.  However, the sambaAccount and
1677 associated attributes have been moved to the historical section of
1678 the schema file and must be uncommented before use if needed.
1679 The 2.2 object class declaration for a sambaAccount has not changed
1680 in the 3.0 samba.schema file. 
1681   
1682 Other new object classes and their uses include:
1683   
1684   * sambaDomain - domain information used to allocate rids 
1685     for users and groups as necessary.  The attributes are added
1686     in 'ldap suffix' directory entry automatically if 
1687     an idmap uid/gid range has been set and the 'ldapsam'
1688     passdb backend has been selected.
1689       
1690   * sambaGroupMapping - an object representing the 
1691     relationship between a posixGroup and a Windows
1692     group/SID.  These entries are stored in the 'ldap 
1693     group suffix' and managed by the 'net groupmap' command.
1694     
1695   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
1696     automatically and contains the next available 'idmap uid' and 
1697     'idmap gid'
1698     
1699   * sambaIdmapEntry - object storing a mapping between a 
1700     SID and a UNIX uid/gid.  These objects are created by the 
1701     idmap_ldap module as needed.
1702
1703   * sambaSidEntry - object representing a SID alone, as a Structural
1704     class on which to build the sambaIdmapEntry.
1705
1706     
1707 New Suffix for Searching
1708 ------------------------
1709   
1710 The following new smb.conf parameters have been added to aid in directing
1711 certain LDAP queries when 'passdb backend = ldapsam://...' has been
1712 specified.
1713
1714   * ldap suffix         - used to search for user and computer accounts
1715   * ldap user suffix    - used to store user accounts
1716   * ldap machine suffix - used to store machine trust accounts
1717   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
1718   * ldap idmap suffix   - location of sambaIdmapEntry objects
1719
1720 If an 'ldap suffix' is defined, it will be appended to all of the 
1721 remaining sub-suffix parameters.  In this case, the order of the suffix
1722 listings in smb.conf is important.  Always place the 'ldap suffix' first
1723 in the list.  
1724
1725 Due to a limitation in Samba's smb.conf parsing, you should not surround 
1726 the DN's with quotation marks.
1727
1728
1729 IdMap LDAP support
1730 ------------------
1731
1732 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
1733 following options would inform Samba that the idmap table should be
1734 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
1735 dc=org" partition.
1736
1737  [global]
1738     ...
1739     idmap backend     = ldap:ldap://onterose/
1740     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
1741     idmap uid         = 40000-50000
1742     idmap gid         = 40000-50000
1743
1744 This configuration allows winbind installations on multiple servers to
1745 share a uid/gid number space, thus avoiding the interoperability problems
1746 with NFS that were present in Samba 2.2.
1747     
1748
1749
1750 ######################################################################
1751 Trust Relationships and a Samba Domain
1752 ######################################
1753
1754 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
1755 allocating uids and gids to trusted users and groups.  More
1756 information regarding Samba's support for establishing trust 
1757 relationships can be found in the Samba-HOWTO-Collection included
1758 in the docs/ directory of this release.
1759
1760 First create your Samba PDC and ensure that everything is 
1761 working correctly before moving on the trusts.
1762
1763 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
1764 4.0 domain named WINDOWS:
1765
1766   1) create the trust account for SAMBA in "User Manager for Domains"
1767   2) connect the trust from the Samba domain using
1768      'net rpc trustdom establish GLASS'
1769
1770 To create a trustlationship with SAMBA as the trusted domain:
1771
1772   1) create the initial trust account for GLASS using
1773      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
1774      account for GLASS$ prior to this step (depending on your
1775      local configuration).
1776   2) connect the trust from a WINDOWS DC using "User Manager
1777      for Domains"
1778
1779 Now join winbindd on the Samba PDC to the SAMBA domain using
1780 the normal steps for adding a Samba server to an NT4 domain:
1781 (note that smbd & nmbd must be running at this point)
1782
1783    root# net rpc join -U root
1784    Password: <enter root password from smbpasswd file here>
1785
1786 Start winbindd and test the join with 'wbinfo -t'.
1787
1788 Now test the trust relationship by connecting to the SAMBA DC
1789 (e.g. POGO) as a user from the WINDOWS domain:
1790
1791    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
1792    Password:
1793
1794 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
1795
1796    $ smbclient //crystal/netlogon -U root -W WINDOWS
1797    Password:
1798
1799 ######################################################################
1800 Changes in Winbind
1801 ##################
1802
1803 Beginning with Samba3.0.0beta3, winbindd has been given new account
1804 manage functionality equivalent to the 'add user script' family of
1805 smb.conf parameters.  The idmap design has also been changed to 
1806 centralize control of foreign SID lookups and matching to UNIX 
1807 uids and gids.
1808
1809
1810 Brief Description of Changes
1811 ----------------------------
1812
1813 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
1814    reverted to the 2.2.x design.  This means that when resolving a 
1815    SID to a UID or similar mapping:
1816
1817         a) First consult winbindd
1818         b) perform a local lookup only if winbindd fails to
1819            return a successful answer
1820
1821    There are some variations to this, but these two rules generally
1822    apply.
1823
1824 2) All idmap lookups have been moved into winbindd.  This means that
1825    a server must run winbindd (and support NSS) in order to achieve
1826    any mappings of SID to dynamically allocated UNIX ids.  This was
1827    a conscious design choice.
1828
1829 3) New functions have been added to winbindd to emulate the 'add user 
1830    script' family of smbd functions without requiring that external
1831    scripts be defined.  This functionality is controlled by the 'winbind 
1832    enable local accounts' smb.conf parameter (enabled by default).
1833
1834    However, this account management functionality is only supported 
1835    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
1836    must be shared among multiple Samba servers (such as a PDC and BDCs), 
1837    it will be necessary to define your own 'add user script', et. al.
1838    programs that place the accounts/groups in some form of directory
1839    such as NIS or LDAP.  This requirement was deemed beyond the scope
1840    of winbind's account management functions.  Solutions for 
1841    distributing UNIX system information have been deployed and tested 
1842    for many years.  We saw no need to reinvent the wheel.
1843
1844 4) A member of a Samba controlled domain running winbindd is now able 
1845    to map domain users directly onto existing UNIX accounts while still
1846    automatically creating accounts for trusted users and groups.  This
1847    behavior is controlled by the 'winbind trusted domains only' smb.conf
1848    parameter (disabled by default to provide 2.2.x winbind behavior).
1849
1850 5) Group mapping support is wrapped in the local_XX_to_XX() functions
1851    in smbd/uid.c.  The reason that group mappings are not included
1852    in winbindd is because the purpose of Samba's group map is to
1853    match any Windows SID with an existing UNIX group.  These UNIX
1854    groups can be created by winbindd (see next section), but the
1855    SID<->gid mapping is retreived by smbd, not winbindd.
1856
1857
1858 Examples
1859 --------
1860
1861 * security = server running winbindd to allocate accounts on demand
1862
1863 * Samba PDC running winbindd to handle the automatic creation of UNIX
1864   identities for machine trust accounts
1865
1866 * Automtically creating UNIX user and groups when migrating a Windows NT
1867   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
1868   'net rpc vampire' for this to work.
1869
1870    
1871 ######################################################################
1872 Known Issues
1873 ############
1874
1875 * There are several bugs currently logged against the 3.0 codebase
1876   that affect the use of NT 4.0 GUI domain management tools when run
1877   against a Samba 3.0 PDC.  This bugs should be released in an early 
1878   3.0.x release.
1879
1880 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
1881 filed against the Samba 3.0 codebase.
1882
1883
1884 ######################################################################
1885 Reporting bugs & Development Discussion
1886 #######################################
1887
1888 Please discuss this release on the samba-technical mailing list or by
1889 joining the #samba-technical IRC channel on irc.freenode.net.
1890
1891 If you do report problems then please try to send high quality
1892 feedback. If you don't provide vital information to help us track down
1893 the problem then you will probably be ignored.  
1894
1895 A new bugzilla installation has been established to help support the 
1896 Samba 3.0 community of users.  This server, located at 
1897 https://bugzilla.samba.org/, has replaced the older jitterbug server 
1898 previously located at http://bugs.samba.org/.
1899 </pre>
1900 <!--#include virtual="/samba/footer.html" -->