fix from Bostjan Golob
[nivanova/samba-autobuild/.git] / WHATSNEW.txt
1                  =================================
2                  Release Notes for Samba 3.0.3pre1
3                          XXXXXX XX, 2004
4                  =================================
5
6 This is a preview release of the Samba 3.0.3 code base and is
7 provided for testing only.  This release is *not* intended for
8 production servers.  Use at your own risk.
9
10 There have been several bug fixes since the 3.0.2 release that
11 we feel are important to make available to the Samba community
12 for wider testings.  See the "Changes" section for details on
13 exact updates.
14
15 Common bugs fixed in this preview release include:
16
17   o <FILL THIS IN>
18
19
20 ######################################################################
21 Changes
22 #######
23 Changes since 3.0.2
24 -------------------
25 smb.conf changes
26 ----------------
27
28     Parameter Name              Action
29     --------------              ------
30     use cracklib                New
31
32     
33 Please refer to the CVS log for the SAMBA_3_0 branch for complete
34 details.  The list of changes per contributor are as follows:
35
36
37 commits
38 -------
39 o   Jeremy Allison <jra@samba.org>
40     * Ensure that Kerberos mutex is always properly unlocked.
41     * Removed Heimdal "in-memory keytab" support.
42
43 o   Andrew Bartlet <abartlet@samba.org>
44     * Include support for linking with cracklib for enforcing 
45       strong password changes.
46     * Add support for >14 character password changes from Windows 
47       clients.
48     * Add 'admin set password' capability to 'net rpc'.
49     * Allow 'net rpc samdump' to work with any joined domain 
50       regardless of smb.conf settings.
51
52
53 o   Alexander Bokovoy <ab@samba.org>
54
55
56 o   Gerald (Jerry) Carter <jerry@samba.org>
57     * Fix ';make installmodules' bug on True64.
58
59
60 o   Guenther Deschner <gd@suse.com>
61     * Remove hard coded attribute name in the ads ranged retrieval
62       code.
63
64
65 o   Bostjan Golob <golob@gimb.org>
66     * BUG 1046: Fix  getpwent_list() so that the username is not 
67       overwritten by other fields.
68
69
70 o   Chris Hertel <crh@samba.org>
71     * fix enumeration of shares 12 characters in length via 
72       smbclient.
73
74       
75 o    John Klinger <john.klinger@lmco.com>
76      * Return NSS_SUCCESS once the max number of gids possible 
77        has been found in initgroups() on Solaris.
78
79
80 o   Volker Lendecke <vl@samba.org>
81
82
83 o   Herb Lewis <herb@samba.org>
84
85
86 o   Jianliang Lu <j.lu@tiesse.com>
87
88
89 o   L. Lucius <ib@digicron.com>.
90     * type fixes.
91
92
93 o   Jim McDonough <jmcd@us.ibm.com>
94
95
96 o   Stefan Metzmacher <metze@samba.org>
97
98
99 o   James Peach <jpeach@sgi.com>
100     * Correct check for printf() format when using the SGI MIPSPro 
101       compiler.
102
103
104 o   Tim Potter <tpot@samba.org>
105     * Fix logic bug in tdb non-blocking lock routines when 
106       errno == EAGAIN.
107     * BUG 1025: Include sys/acl.h in check for broken nisplus 
108       include files.      
109
110
111 o   Andrew Tridgell <tridge@samba.org>
112     * Rewrote the AIX UESS backend for winbindd.
113     
114     
115 o   Jelmer Vernooij <jelmer@samba.org>
116
117
118 Changes for older versions follow below:
119
120         --------------------------------------------------
121
122                   =============================
123                   Release Notes for Samba 3.0.2
124                         February 9, 2004
125                   =============================
126
127 It has been confirmed that previous versions of Samba 3.0 are
128 susceptible to a password initialization bug that could grant an 
129 attacker unauthorized access to a user account created by the
130 mksmbpasswd.sh shell script.
131
132 The Common Vulnerabilities and Exposures project (cve.mitre.org) 
133 has assigned the name CAN-2004-0082 to this issue.
134
135 Samba administrators not wishing to upgrade to the current 
136 version should download the 3.0.2 release, build the pdbedit 
137 tool, and run 
138
139    root# pdbedit-3.0.2 --force-initialized-passwords
140       
141 This will disable all accounts not possessing a valid password
142 (e.g. the password field has been set a string of X's).
143
144 Samba servers running 3.0.2 are not vulnerable to this bug 
145 regardless of whether or not pdbedit has been used to sanitize
146 the passdb backend.
147
148 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
149 release include:
150
151   o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
152   o Logging onto a Samba domain from Windows XP clients.
153   o Problems with the %U and %u smb.conf variables in relation to 
154     Windows 9x/ME clients.
155   o Kerberos failures due to an invalid in memory keytab detection
156     test.
157   o Updates to the ntlm_auth tool.
158   o Fixes for various SMB signing errors.
159   o Better separation of WINS and DNS queries for domain controllers.
160   o Issues with nss_winbind FreeBSD and Solaris.
161   o Several crash bugs in smbd and winbindd.
162   o Output formatting fixes for smbclient for better compatibility
163     with scripts based on the 2.2 version.
164
165
166 Changes since 3.0.1
167 -------------------
168
169 smb.conf changes
170 ----------------
171
172     Parameter Name              Action
173     --------------              ------
174     ldap replication sleep      New
175     read size                   removed (unused)
176     source environment          removed (unused)
177
178
179 commits
180 -------
181
182 Please refer to the CVS log for the SAMBA_3_0 branch for complete
183 details.  The list of changes per contributor are as follows:
184
185 o   Jeremy Allison <jra@samba.org>
186     * Revert change that broke Exchange clear text samlogons.
187     * Fix gcc 3.4 warning in MS-DFS code.
188     * Tidy up of NTLMSSP code.
189     * Fixes for SMB signing errors
190     * BUG 815: Workaround NT4 bug to support plaintext
191       password logins and UNICODE.
192     * Fix SMB signing bug when copying large files.
193     * Correct error logic in mkdir_internals() (caused a panic
194       when combined with --enable-developer).
195     * BUG 830: Protect against crashes due to bad character 
196       conversions.
197
198       
199 o   Petri Asikainen <paca@sci.fi>
200     * BUG 330, 387:Fix single valued attribute updates when 
201       working with Novell NDS.
202
203
204 o   Andrew Bartlet <abartlet@samba.org>
205     * Correctly handle per-pipe NTLMSSP inside a NULL session.
206     * Fix segfault in gencache 
207     * Fix early free() of encrypted_session_key.
208     * Change DC lookup routines to more carefully separate
209       DNS names (realms) from NetBIOS domain names.
210     * Add new sid_to_dn() function for internal winbindd use.
211     * Refactor cli_ds_enum_domain_trusts().
212     * BUG 707: Implement range retrieval of ADS attributes (based 
213       on work from Volker <vl@samba.org> and Guenther Deschner 
214       <gd@suse.com>).
215     * Automatically initialize the signing engine if a session key
216       is available.
217     * BUG 916: Do not perform a + -> ' ' substitution for squid URL 
218       encoded strings, only form input in SWAT.
219     * Resets the NTLMSSP state for new negotiate packets.
220     * Add 2-byte alignments in net_samlogon() queries to parse 
221       odd-length plain text passwords.
222     * Allow Windows groups with no members in winbindd.
223     * Allow normal authentication in the absence of a server 
224       generated session key.
225     * More optimizations for looking up UNIX group lists.
226     * Clean up error codes and return values for pam_winbindd
227       and winbindd PAM interface.
228     * Fix string return values in ntlm_auth tool.
229     * Fix segfault when 'security = ads' but no realm is defined.
230     * BUG 722: Allow winbindd to map machine accounts to uids.
231     * More cleanups for winbindd's find_our_domain().
232     * More clearly detect whether a domain controller is an NT4
233       or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
234     * Increase separation between DNS queries for hosts and queries
235       for AD domain controllers.
236     * Include additional NT_STATUS to PAM error mappings.
237     * Password initialization fixes.
238
239     
240 o   Justin Baugh <justin.baugh@request.com>
241     * BUG 948: Implement missing functions required for FreeBSD 
242       nss_winbind support. 
243
244
245 o   Alexander Bokovoy <ab@samba.org>
246     * BUG 922: Make sure enable fast path for strlower_m() and 
247       strupper_m().
248
249
250 o   Luca Bolcioni <Luca.Bolcioni@yacme.com>
251     * Fix crash when using 'security = server' and 'encrypt 
252       passwords = no' by always initializing the session key.
253
254       
255 o   Dmitry Butskoj <buc@odusz.elektra.ru>
256     * Fix for special files being hidden from admins.
257
258
259 o   Gerald (Jerry) Carter <jerry@samba.org>
260     * Fix bug in the lanman session key generation.  Caused 
261       "decode_pw: incorrect password length" error messages.
262     * Save the right case for the located user name in 
263       fill_sam_account().  Fixes %U/%u expansion for win9x clients.
264     * BUG 897: Add well known rid for pre win2k compatible access
265       group.
266     * BUG 887: Correct typo in delete user script example.
267     * Use short lived TALLOC_CTX* for allocating printer objects 
268       from the print handle cache.
269     * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
270     * Fix several warnings reported by the SUN Forte C compiler.
271     * Fully control DNS queries for AD DC's using 'name resolve order'.
272     * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
273     * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
274     * BUG 936: fix bind credentials for schannel binds in smbd.
275     * BUG 446: Fix output of smbclient for better compatibility 
276       with scripts based on the 2.2 version (including Amanda).
277     * BUG 891, 949: Fedora packaging fixes.
278     * Fix bug that caused rpcclient to incorrectly retrieve 
279       the SID for a server (this causing all calls that required 
280       this information to fail). 
281     * BUG 977: Don't create a homes share for a user if a static 
282       share already exists by the same name.
283     * Removed unused smb.conf options.
284     * Password initialization fixes.
285     * Set the disable flag for template accounts created by
286       mksmbpasswd.sh.
287     * Disable any account has no passwords and does not have the
288       ACB_PWNOTREQ bit set.
289
290
291 o   Guenther Deschner <gd@suse.com>
292     * Install smbwrapper.so should be put into the $(libdir) 
293       and not $(bindir).
294     * Add the capability to specify the new user password 
295       for "net ads password" on the command line.
296     * Correctly detect AFS headers on SuSE.
297         
298
299 o   James Flemer <jflemer@uvm.edu>
300     * Fix AIX compile bug by linking HAVE_ATTR_LIST to 
301       HAVE_SYS_ATTRIBUTES_H.
302
303
304 o   Luke Howard <lukeh@PADL.COM>
305     * Fix segfault in session setup reply caused by a early free().
306
307
308 o   Stoian Ivanov <sdr@bultra.com>
309     * Implement grepable output for smbclient -L.
310
311
312 o   LaMont Jones <lamont@debian.org>
313     * BUG 225328 (Debian): Correct false failure LFS test that resulted 
314       in  _GNU_SOURCE not being defined (thus resulting in strndup() 
315       not being defined).
316
317       
318 o   Volker Lendecke <vl@samba.org>
319     * BUG 583: Ensure that user names always contain the short 
320       version of the domain name.
321     * Fix our parsing of the LDAP uri.
322     * Don't show the 'afs username map' in the SWAT basic view.
323     * Fix SMB signing issues in relation to failed NTLMSSP logins.
324     * BUG 924: Fix return codes in smbtorture harness.
325     * Always lower-case usernames before handing it to AFS code.
326     * Add a German translation for SWAT.
327     * Fix a segfaults in winbindd.
328     * Fix the user's domain passed to register_vuid() from 
329       reply_spnego_kerberos().
330     * Add NSS example code in nss_winbind to convert UNIX 
331       id's <-> Windows SIDs.
332     * Display more descriptive error messages for login via 'net'.
333     * Fix compiler warning in the net tool.
334     * Fix length bug when decoding base64 strings.
335     * Ensure we don't call getpwnam() inside a loop that is iterating 
336       over users with getpwent().  This broke on glibc 2.3.2.
337
338
339 o   Herb Lewis <herb@samba.org>
340     * Fix bit rot in psec.
341
342
343 o   Jianliang Lu <j.lu@tiesse.com>
344     * Ensure we delete the group mapping before calling the delete 
345       group script.
346     * Define well known RID for managing the  "Power Users" group.
347     * BUG 381: check builtin (not local) group SID when updating 
348       group membership.
349     * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement 
350       packet.
351
352
353 o   John Klinger <john.klinger@lmco.com>
354     * Implement initgroups() call in nss_winbind on Solaris.
355
356
357 o   Jim McDonough <jmcd@us.ibm.com>
358     * Fix regression in net rpc join caused by recent changes 
359       to cli_lsa_query_info_policy().
360     * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
361       machine account.
362
363
364 o   MORIYAMA Masayuki <moriyama@miraclelinux.com>
365     * BUG 570: Ensure that configure honors the LDFLAGS variable.
366
367
368 o   Stefan Metzmacher <metze@samba.org>
369     * Implement LDAP rebind sleep patch.
370     * Revert to 2.2 quota code because of so many broken quota files 
371       out there.
372     * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
373                       XFS_USER_QUOTA -> USRQUOTA
374                       XFS_GROUP_QUOTA -> GRPQUOTA
375     * Fix disk_free calculation with group quotas.
376     * Add debug class 'quota' and a lot of DEBUG()'s 
377       to the quota code.
378     * Fix sys_chown() when no chown() is present.
379     * Add SIGABRT to fault handling in order to catch got a 
380       backtrace if an error occurs the OpenLDAP client libs.
381
382
383 o   <ndb@theghet.to>
384     * Allow an existing LDAP machine account to be re-used when 
385       joining an AD domain.
386
387
388 o   James Peach <jpeach@sgi.com>
389     * BUG 889: Change smbd to use pread/pwrite on platforms that 
390       support these calls. Can lead to a significant speed increase.
391
392
393 o   Tim Potter <tpot@samba.org>
394     * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
395     * BUG 924: Fix typo in RW2 torture test.
396     
397     
398 o   Richard Sharpe <shape@samba.org>
399     * Small fixes to torture.c to cleanup the error handling 
400       and prevent crashes.
401
402
403 o   J. Tournier <jerome.tournier@IDEALX.com>
404     * Small fixes for the smbldap-tool scripts.
405
406
407 o   Andrew Tridgell <tridge@samba.org>
408     * Fix src len check in pull_usc2().
409     
410     
411 o   Jelmer Vernooij <jelmer@samba.org>
412     * Put functions for generating SQL queries in pdb_sql.c
413     * Add pgSQL backend (based on patch by Hamish Friedlander)
414     * BUG 908: Fix -s option to smbcontrol.    
415     * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
416     * Fix for libnss_wins on IRIX platforms.
417     * Fix swatdir for --with-fhs.
418
419
420         --------------------------------------------------
421
422                   =============================
423                   Release Notes for Samba 3.0.1
424                         December 15, 2003
425                   =============================
426
427 Some of the more common bugs in 3.0.0 addressed in the release 
428 include:
429
430   o Substitution problems with smb.conf variables.
431   o Errors in return codes which caused some applications
432     to fail to open files.
433   o General Protection Faults on Windows 2000/XP clients
434     using Samba point-n-print features.
435   o Several miscellaneous crash bugs.
436   o Access problems when enumerating group mappings are
437     stored in an LDAP Directory.
438   o Several common SWAT bugs when writing changes to
439     smb.conf.
440   o Internal inconsistencies when 'winbind use default
441     domain = yes'
442
443
444
445 Changes since 3.0.0
446 ----------------------
447
448     Parameter Name              Action
449     --------------              ------
450     hide local users            Removed
451     mangled map                 Deprecated
452     mangled stack               Removed
453     passwd chat timeout         New
454
455
456 commits
457 -------
458
459 o   Change the interface for init_unistr2 to not take a length 
460     but a flags field.  We were assuming that 
461     2*strlen(mb_string) == length of ucs2-le string.  (bug 480).
462 o   Allow d_printf() to handle strings with escaped quotation 
463     marks since the msg file includes the escape character (bug 489).
464 o   Fix bad html table row termination in SWAT wizard code (bug 413).
465 o   Fix to parse the level-2 strings.
466 o   Fix for "valid users = %S" in [homes].  Fix read/write 
467     list as well. 
468 o   Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  
469     This is the same way AC_CHECK_LIB works (bug 508).
470 o   Testparm output fixes for clarity.
471 o   Fix broken wins hook functionality -- i18n bug (bug 528).
472 o   Take care of condition where DOS and NT error codes must differ.
473 o   Default to using only built-in charsets when a working iconv 
474     implementation cannot be located.
475 o   Wrap internals of sys_setgroups() so the sys_XX() call can 
476     be done unconditionally (bug 550).
477 o   Remove duplicate smbspool link on SWAT's front page (bug 541).
478 o   Save and restore CFLAGS before/after AC_PROG_CC.  Ensures that
479     --enable-debug=[yes|no] works correctly.
480 o   Allow ^C to interrupt smbpasswd if using our getpass 
481     (e.g. smbpasswd command).
482 o   Support signing only on RPC's (bug 167).
483 o   Correct bug that prevented  Excel 2000 clients from opening 
484     files marked as read-only.
485 o   Portability fix bugs 546 - 549).
486 o   Explicitly initialize the value of AR for vendor makes that don't
487     do this (e.g. HPUX 11).  (bug 552).
488 o   More i18n fixes for SWAT (bug 413).
489 o   Change the cwd before the postexec script to ensure that a
490     umount will succeed.
491 o   Correct double free that caused winbindd to crash when a DC 
492     is rebooted (bug 437).
493 o   Fix incorrect mode sum (bug 562).
494 o   Canonicalize SMB_INFO_ALLOCATION in the same was as
495     SMB_FS_FULL_SIZE_INFORMATION (bug 564).
496 o   Add script to generate *msg files.
497 o   Add Dutch SWAT translation file.
498 o   Make sure to call get_user_groups() with the full winbindd 
499     name for a user if he/she has one (bug 406).
500 o   Fix up error code returns from Samba4 tester. Ensure invalid 
501     paths are validated the same way.  
502 o   Allow Samba3 to pass the Samba4 RAW-READ tests.
503 o   Refuse to configure if --with-expsam=$BACKEND was used but no 
504     libraries were found for $BACKEND.
505 o   Move sysquotas autoconf tests to a separate file.
506 o   Match W2K w.r.t. writelock and writeclose.  Samba4 torture 
507     tester
508 o   Make sure that the files that contain the static_init_$subsystem; 
509     macro get recompiled after configure by removing the object 
510     files.
511 o   Ensure canceling a blocking lock returns the correct error 
512     message.
513 o   Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
514 o   Updated Japanese welcome file in SWAT.
515 o   Fix to  nt-time <-> unix-time functions reversible.
516 o   Ensure that winbindd uses the the escaped DN when querying
517     an AD ldap server.
518 o   Fix portability issues when compiling (bug 505, 550)
519 o   Compile fix for tdbbackup when Samba needs to override 
520     non-C99 compliant implementations of snprintf().
521 o   Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
522 o   Make sure we break out of samsync loop on error.
523 o   Ensure error code path doesn't free unmalloc()'d memory
524     (bug 628).
525 o   Add configure test for krb5_keytab_entry keyblock vs key 
526     member (bug 636).
527 o   Fixed spinlocks.
528 o   Modified testparm so that all output so all debug output goes 
529     to stderr, and all file processing goes to stdout.
530 o   Fix error return code for BUFFER_TOO_SMALL in smbcacls 
531     and smbcquotas.
532 o   Fix "NULL dest in safe_strcpy()" log message by ensuring that 
533     we have a devmode before copying a string to the devicename.
534 o   Support mapping REALM.COM\user to a local user account (without 
535     running winbindd)  for compatibility with 2.2.x release.
536 o   Ensure we don't use mmap() on blacklisted systems.
537 o   fixed a number of bugs and memory leaks in the AIX 
538     winbindd shim
539 o   Call initgroups() in SWAT before becomming the user so that
540     secondary group permissions can be used when writing to 
541     smb.conf.
542 o   Fix signing problems when reverse connecting back to a 
543     client for printer notify
544 o   Fix signing problems caused by a miss-sequence bug.
545 o   Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
546     Fixes NEXUS tools running on Win9x clients (bug 64).
547 o   Don't leave the domain field uninitialized in cli_lsa.c if some 
548     SID could not be mapped.
549 o   Fix segfault in mount.cifs helper when there is no options 
550     specified during mount.
551 o   Change the \n after the password prompt to go to tty instead 
552     of stdout (bug 668).
553 o   Stop net -P from prompting for machine account password (bug 451).
554 o   Change in behavior to Not only change the effective uid but also
555     the real uid when becoming unprivileged.
556 o   Cope with Exchange 5.5 cleartext pop password auth.
557 o   New files for support of initshutdown pipe.  Win2k doesn't 
558     respond properly to all requests on the winreg pipe, so we need 
559     to handle this new pipe (bug 534).
560 o   Added more va_copy() checks in configure.in.
561 o   Include fixes for libsmbclient build problems.
562 o   Missing UNIX -> DOS codepage conversion in lanman.c.
563 o   Allow DFMS-S filenames can now have arbitrary case (bug 667).
564 o   Parameterize the listen backlog in smbd and make it larger by
565     default. A backlog of 5 is way too small these days.
566 o   Check for an invalid fid before dereferencing the fsp pointer
567     (bug 696).
568 o   Remove invalid memory frees and return codes in pdb_ldap.c.
569 o   Prompt for password when invoking --set-auth-user and no 
570     password is given.
571 o   Bind the nmbd sending socket to the 'socket address'.
572 o   Re-order link command for smbd, rpcclient and smbpasswd to ensure 
573     $LDFLAGS occurs before any library specification (bug 661).
574 o   Fix large number of printf() calls for 64-bit size_t.
575 o   Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the 
576     keyblock in the krb5 structs.
577 o   Remove #include <compat.h> in hopes to avoid problems with 
578     apache header files.
579 o   Correct winbindd build problems on HP-UX 11.
580 o   Lowercase netgroups lookups (bug 703).
581 o   Use the actual size of the buffer in strftime instead of a made
582     up value which just happens to be less than sizeof(fstring).  
583     (bug 713).
584 o   Add ldaplibs to pdbedit link line (bug 651).
585 o   Fix crash bug in smbclient completion (bug 659).
586 o   Fix packet length for browse list reply (bug 771).
587 o   Fix coredump in cli_get_backup_list().
588 o   Make sure that we expand %N (bug 612).
589 o   Allow rpcclient adddriver command to specify printer driver 
590     version (bug 514).
591 o   Compile tdbdump by default.
592 o   Apply patches to fix iconv detection for FreeBSD.
593 o   Do not allow the 'guest account' to be added to a passdb backend 
594     using smbpasswd or pdbedit (bug 624).
595 o   Save LDFLAGS during iconv detection (bug 57).
596 o   Run krb5 logins through the username map if the winbindd 
597     lookup fails (bug 698).
598 o   Add const for lp_set_name_resolve_order() to avoid compiler 
599     warnings (bug 471).
600 o   Add support for the %i macro in smb.conf to stand in for the for
601     the local IP address to which a client connected.
602 o   Allow winbindd to match local accounts to domain SID when 
603     'winbind trusted domains only = yes' (bug 680).
604 o   Remove code in idmap_ldap that searches the user suffix and group 
605     suffix.  It's not needed and provides inconsistent functionality 
606     from the tdb backend.
607 o   Patch to handle munged dial string for Windows 200 TSE.
608 o   Correct the "smbldap_open: cannot access when not root error"
609     messages when looking up group information (bug 281).
610 o   Skip over the winbind separator when looking up a user.
611     This fixes the bug that prevented local users from
612     matching an AD user when not running winbindd (bug 698).
613 o   Fix a problem with configure on *BSD systems. Make sure
614     we add -liconv etc to LDFLAGS.
615 o   Fix core dump bug when "security = server" and the authentication
616     server goes away.
617 o   Correct crash bug due to an empty munged dial string.
618 o   Show files locked by a specific user (smbstatus -u 'user') 
619     (bug 590).
620 o   Fix bug preventing print jobs from display in the queue
621     monitor used by Windows NT and later clients (bug 660).
622 o   Fix several reported problems with point-n-print from
623     Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
624     reply (bug 338, 527 & 643).
625 o   Fix a handful of potential memory leaks in the LDAP code used
626     by ldapsam[_compat] and the LDAP idmap backend.
627 o   Fix for pdbedit error code returns (bug 763).
628 o   Make sure we only enumerate group mapping entries  (not 
629     /etc/group) even when doing local aliases.
630 o   Relax check on the pipe name in a dce/rpc bind response to work 
631     around issues with establishing trusts to a Windows 2003 domain.
632 o   Ensure we mangle names ending in '.' in hash2 mangling method.
633 o   Correct parsing issues with munged dial string.
634 o   Fix bugs in quota support for XFS.
635 o   Add a cleaner method for applications that need to provide 
636     name->SID mappings to do this via NSS rather than having to 
637     know the winbindd pipe protocol.
638 o   Adds a variant of the winbindd_getgroups() call called 
639     winbindd_getusersids() that provides direct SID->SIDs listing of 
640     a users supplementary groups. This is enough to allow non-Samba 
641     applications to do ACL checking.
642 o   Make sure we don't append the 'ldap suffix' when writing out the 
643     'ldap XXX suffix' values in SWAT (bug 328).
644 o   Fix renames across file systems.
645 o   Ensure that items in a list of strings containing whitespace are 
646     written out surrounded by single quotes.  This means that both 
647     double and single quotes are now used to surround strings in 
648     smb.conf (bug 481).
649 o   Enable SWAT to correctly determine if winbindd is running (bug 
650     398).
651 o   Include WWW-Authenticate field in 401 response for bad auth 
652     attempt (bug 629).
653 o   Add support for NTLM2 (NTLMv2 session security).
654 o   Add support for variable-length session keys.
655 o   More privilege fixes for group enumeration in LDAP (bug 281).
656 o   Use the dns name (or IP) as the originating client name when
657     using CUPS (bug 467).
658 o   Fix various SMB signing bugs.
659 o   Fix ACL propagation on a DFS root (bug 263).
660 o   Disable NTLM2 for RPC pipes.
661 o   Allow the client to specify the NTLM2 flags got NTLMSSP 
662     authentication.
663 o   Change the name of the job passed off to cups from "Test Page" 
664     to "smbprn.00000033 Test Page" so that we can get the smb 
665     jobid back. This allow users to delete jobs with cups printing 
666     backend (partial work on bug 770).
667 o   Fix build of winbindd with static pdb modules.
668 o   Retrieve the correct ACL group bits if the file has an ACL 
669     (bug 802).
670 o   Implement "net rpc group members": Get members of a domain group 
671     in human-readable format.
672 o   Add MacOSX (Darwin) specific charset module code.
673 o   Use samr_dispinfo(level == 1) for enumerating domain users so we 
674     can include the full name in gecos field (bug 587).
675 o   Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
676 o   Implement 'net rpc group list [global|local|builtin]*' for a 
677     select listing of the respective user databases.
678 o   Don't automatically set NT status code flag unless client tells 
679     us it can cope.
680 o   Add 'net status [sessions|shares] [parseable]'.
681 o   Don't mistake pre-existing UNIX jobs for smb jobs (remainder of  
682     bug 770).
683 o   Add 'Replicator' and 'RAS Servers' to list of builtin SIDs 
684    (bug 608).
685 o   Fix inverted logic in hosts allow/deny checks caused by 
686     s/strcmp/strequal/ (bug 846).
687 o   Implement correct version SamrRemoveSidForeignDomain() (bug 252).
688 o   Fix typo in 'hash' mangling algorithm.
689 o   Support munged dial for ldapsam (bug 800).
690 o   Fix process_incoming_data() to return the number of bytes handled 
691     this call whether we have a complete PDU or not; fixes bug 
692     with multiple PDU request rpc's broken over SMBwriteX calls 
693     each.
694 o   Fix incorrect smb flags2 for connections to pre-NT servers 
695     (causes smbclient to fail to OS2 for example) (bug 821).
696 o   Update version string in smbldap-tools Makefile to 0.8.2.
697 o   Correct a problem with "net rpc vampire" mis-parsing the 
698     alias member info reply.
699 o   Ensure the ${libdir} is created by the installclientlib script.
700 o   Fix detection of Windows 2003 client architecture in the smb.conf
701     %a variable.
702 o   Ensure that smbd calls the add user script for a missing UNIX 
703     user on kerberos auth call (bug 445).
704 o   Fix bugs in hosts allow/deny when using a mismatched 
705     network/netmask pair.
706 o   Protect alloc_sub_basic() from crashing when the source string 
707     is NULL (partial work on bug 687).
708 o   Fix spinlocks on IRIX.
709 o   Corrected some bad destination paths when running "configure 
710     --with-fhs".
711 o   Add packaging files for Fedora Core 1.
712 o   Correct bug in SWAT install script for non-english languages.
713 o   Support character set ISO-8859-1 internally (bug 558).
714 o   Fixed more LDAP access errors when looking up group mappings 
715     (bug 281).
716 o   Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID 
717     resolution to fail on local files on on domain members 
718     (bug 875).
719 o   Fix uninitialized variable in passdb.c.
720 o   Fix formal parameter type in get_static() in nsswitch/wins.c.
721 o   Fix problem mounting directories when mount.cifs is installed 
722     with the setuid bit on.
723 o   Fix bug that prevent --mandir from overriding the defaults
724     given in the --with-fhs macro.
725 o   Fix bug in in-memory Kerberos keytab detection routines 
726     in configure.in
727
728
729
730 ######################################################################
731
732               The original 3.0.0 release notes follow
733               =======================================
734                     WHATS NEW IN Samba 3.0.0
735                         September 24, 2003
736               =======================================
737
738
739 Major new features:
740 -------------------
741
742 1)  Active Directory support.  Samba 3.0 is now able to  
743     join a ADS realm as a member server and authenticate 
744     users using LDAP/Kerberos.
745
746 2)  Unicode support. Samba will now negotiate UNICODE on the wire 
747     and internally there is now a much better infrastructure for 
748     multi-byte and UNICODE character sets.
749
750 3)  New authentication system. The internal authentication system 
751     has been almost completely rewritten. Most of the changes are 
752     internal, but the new auth system is also very configurable.
753
754 4)  New default filename mangling system.
755
756 5)  A new "net" command has been added. It is somewhat similar to 
757     the "net" command in windows. Eventually we plan to replace 
758     numerous other utilities (such as smbpasswd) with subcommands 
759     in "net".
760
761 6)  Samba now negotiates NT-style status32 codes on the wire. This
762     improves error handling a lot.
763
764 7)  Better Windows 2000/XP/2003 printing support including publishing
765     printer attributes in active directory.
766
767 8)  New loadable module support for passdb backends and character 
768     sets.
769
770 9)  New default dual-daemon winbindd support for better performance.
771
772 10) Support for migrating from a Windows NT 4.0 domain to a Samba 
773     domain and maintaining user, group and domain SIDs.
774
775 11) Support for establishing trust relationships with Windows NT 4.0
776     domain controllers.
777   
778 12) Initial support for a distributed Winbind architecture using
779     an LDAP directory for storing SID to uid/gid mappings.
780   
781 13) Major updates to the Samba documentation tree.
782
783 14) Full support for client and server SMB signing to ensure
784     compatibility with default Windows 2003 security settings.
785
786 15) Improvement of ACL mapping features based on code donated by
787     Andreas Grünbacher.
788
789
790 Plus lots of other improvements!
791
792
793 Additional Documentation
794 ------------------------
795
796 Please refer to Samba documentation tree (included in the docs/ 
797 subdirectory) for extensive explanations of installing, configuring
798 and maintaining Samba 3.0 servers and clients.  It is advised to 
799 begin with the Samba-HOWTO-Collection for overviews and specific 
800 tasks (the current book is up to approximately 400 pages) and to 
801 refer to the various man pages for information on individual options.
802
803 We are very glad to be able to include the second edition of
804 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
805 (O'Reilly & Associates) in this release.  The book is available
806 on-line at http://samba.org/samba/docs/ and is included with 
807 the Samba Web Administration Tool (SWAT).  Thanks to the authors and
808 publisher for making "Using Samba" under the GNU Free Documentation 
809 License.
810
811
812 ######################################################################
813 Upgrading from a previous Samba 3.0 beta
814 ########################################
815
816 Beginning with Samba 3.0.0beta3, the RID allocation functions
817 have been moved into winbindd.  Previously these were handled
818 by each passdb backend.  This means that winbindd must be running
819 to automatically allocate RIDs for users and/or groups.  Otherwise,
820 smbd will use the 2.2 algorithm for generating new RIDs.
821
822 If you are using 'passdb backend = tdbsam' with a previous Samba 
823 3.0 beta release (or possibly alpha), it may be necessary to 
824 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
825 to winbindd_idmap.tdb.  To do this:
826
827 1)  Ensure that winbindd_idmap.tdb exists (launch winbindd at least 
828     once)
829 2)  build tdbtool by executing 'make tdbtool' in the source/tdb/ 
830     directory
831 3)  run: (note that 'tdb>' is the tool's prompt for input)
832
833        root# ./tdbtool /usr/local/samba/private/passdb.tdb
834        tdb> show RID_COUNTER
835        key 12 bytes
836        RID_COUNTER
837        data 4 bytes
838        [000] 0A 52 00 00                                       .R.
839
840        tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
841        ....
842        record moved
843
844 If you are using 'passdb backend = ldapsam', it will be necessary to 
845 store idmap entries in the LDAP directory as well (i.e. idmap backend 
846 = ldap).  Refer to the 'net idmap' command for more information on 
847 migrating SID<->UNIX id mappings from one backend to another.
848
849 If the RID_COUNTER record does not exist, then these instructions are
850 unneccessary and the new RID_COUNTER record will be correctly generated
851 if needed.  
852
853
854
855 ########################
856 Upgrading from Samba 2.2
857 ########################
858
859 This section is provided to help administrators understand the details
860 involved with upgrading a Samba 2.2 server to Samba 3.0.
861
862
863 Building
864 --------
865
866 Many of the options to the GNU autoconf script have been modified 
867 in the 3.0 release.  The most noticeable are:
868
869   * removal of --with-tdbsam (is now included by default; see section
870     on passdb backends and authentication for more details)
871     
872   * --with-ldapsam is now on used to provided backward compatible
873     parameters for LDAP enabled Samba 2.2 servers.  Refer to the passdb 
874     backend and authentication section for more details
875   
876   * inclusion of non-standard passdb modules may be enabled using
877     --with-expsam.  This includes an XML backend and a mysql backend.
878       
879   * removal of --with-msdfs (is now enabled by default)
880   
881   * removal of --with-ssl (no longer supported)
882   
883   * --with-utmp now defaults to 'yes' on supported systems
884   
885   * --with-sendfile-support is now enabled by default on supported 
886     systems
887   
888     
889 Parameters
890 ----------
891
892 This section contains a brief listing of changes to smb.conf options
893 in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
894 complete descriptions of new or modified parameters.
895
896 Removed Parameters (order alphabetically):
897
898   * admin log
899   * alternate permissions
900   * character set
901   * client codepage
902   * code page directory
903   * coding system
904   * domain admin group
905   * domain guest group
906   * force unknown acl user
907   * hide local users
908   * nt smb support
909   * postscript
910   * printer driver
911   * printer driver file
912   * printer driver location
913   * status
914   * strip dot
915   * total print jobs
916   * use rhosts
917   * valid chars
918   * vfs options
919
920 New Parameters (new parameters have been grouped by function):
921
922   Remote management
923   -----------------
924   * abort shutdown script
925   * shutdown script
926
927   User and Group Account Management
928   ---------------------------------
929   * add group script
930   * add machine script
931   * add user to group script
932   * algorithmic rid base
933   * delete group script
934   * delete user from group script
935   * passdb backend
936   * set primary group script
937
938   Authentication
939   --------------
940   * auth methods
941   * realm
942   * passwd chat timeout
943
944   Protocol Options
945   ----------------
946   * client lanman auth
947   * client NTLMv2 auth
948   * client schannel
949   * client signing
950   * client use spnego
951   * disable netbios
952   * ntlm auth
953   * paranoid server security
954   * server schannel
955   * server signing
956   * smb ports
957   * use spnego
958
959   File Service
960   ------------
961   * get quota command
962   * hide special files
963   * hide unwriteable files
964   * hostname lookups
965   * kernel change notify
966   * mangle prefix
967   * map acl inherit
968   * msdfs proxy
969   * set quota command
970   * use sendfile
971   * vfs objects
972   
973   Printing
974   --------
975   * max reported print jobs
976
977   UNICODE and Character Sets
978   --------------------------
979   * display charset
980   * dos charset
981   * unicode
982   * unix charset
983   
984   SID to uid/gid Mappings
985   -----------------------
986   * idmap backend
987   * idmap gid
988   * idmap uid
989   * winbind enable local accounts
990   * winbind trusted domains only
991   * template primary group
992   * enable rid algorithm
993
994   LDAP
995   ----
996   * ldap delete dn
997   * ldap group suffix
998   * ldap idmap suffix
999   * ldap machine suffix
1000   * ldap passwd sync
1001   * ldap user suffix
1002   
1003   General Configuration
1004   ---------------------
1005   * preload modules
1006   * private dir
1007
1008 Modified Parameters (changes in behavior):
1009
1010   * encrypt passwords (enabled by default)
1011   * mangling method (set to 'hash2' by default)
1012   * passwd chat
1013   * passwd program
1014   * restrict anonymous (integer value)
1015   * security (new 'ads' value)
1016   * strict locking (enabled by default)
1017   * unix extensions (enabled by default)
1018   * winbind cache time (increased to 5 minutes)
1019   * winbind uid (deprecated in favor of 'idmap uid')
1020   * winbind gid (deprecated in favor of 'idmap gid')
1021
1022
1023 Databases
1024 ---------
1025
1026 This section contains brief descriptions of any new databases 
1027 introduced in Samba 3.0.  Please remember to backup your existing 
1028 ${lock directory}/*tdb before upgrading to Samba 3.0.  Samba will 
1029 upgrade databases as they are opened (if necessary), but downgrading 
1030 from 3.0 to 2.2 is an unsupported path.
1031
1032 Name                    Description                             Backup?
1033 ----                    -----------                             -------
1034 account_policy          User policy settings                    yes
1035 gencache                Generic caching db                      no
1036 group_mapping           Mapping table from Windows              yes
1037                         groups/SID to unix groups        
1038 winbindd_idmap          ID map table from SIDS to UNIX          yes
1039                         uids/gids.
1040 namecache               Name resolution cache entries           no
1041 netsamlogon_cache       Cache of NET_USER_INFO_3 structure      no
1042                         returned as part of a successful
1043                         net_sam_logon request 
1044 printing/*.tdb          Cached output from 'lpq                 no
1045                         command' created on a per print 
1046                         service basis
1047 registry                Read-only samba registry skeleton       no
1048                         that provides support for exporting
1049                         various db tables via the winreg RPCs
1050
1051
1052 Changes in Behavior
1053 -------------------
1054
1055 The following issues are known changes in behavior between Samba 2.2 and 
1056 Samba 3.0 that may affect certain installations of Samba.
1057
1058   1)  When operating as a member of a Windows domain, Samba 2.2 would 
1059       map any users authenticated by the remote DC to the 'guest account'
1060       if a uid could not be obtained via the getpwnam() call.  Samba 3.0
1061       rejects the connection as NT_STATUS_LOGON_FAILURE.  There is no 
1062       current work around to re-establish the 2.2 behavior.
1063       
1064   2)  When adding machines to a Samba 2.2 controlled domain, the 
1065       'add user script' was used to create the UNIX identity of the 
1066       machine trust account.  Samba 3.0 introduces a new 'add machine 
1067       script' that must be specified for this purpose.  Samba 3.0 will
1068       not fall back to using the 'add user script' in the absence of 
1069       an 'add machine script'
1070   
1071
1072 ######################################################################
1073 Passdb Backends and Authentication
1074 ##################################
1075
1076 There have been a few new changes that Samba administrators should be
1077 aware of when moving to Samba 3.0.
1078
1079   1) encrypted passwords have been enabled by default in order to 
1080      inter-operate better with out-of-the-box Windows client 
1081      installations.  This does mean that either (a) a samba account
1082      must be created for each user, or (b) 'encrypt passwords = no'
1083      must be explicitly defined in smb.conf.
1084     
1085   2) Inclusion of new 'security = ads' option for integration 
1086      with an Active Directory domain using the native Windows
1087      Kerberos 5 and LDAP protocols.
1088
1089      MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption 
1090      type which is neccessary for servers on which the 
1091      administrator password has not been changed, or kerberos-enabled 
1092      SMB connections to servers that require Kerberos SMB signing.
1093      Besides this one difference, either MIT or Heimdal Kerberos
1094      distributions are usable by Samba 3.0.
1095      
1096
1097 Samba 3.0 also includes the possibility of setting up chains
1098 of authentication methods (auth methods) and account storage 
1099 backends (passdb backend).  Please refer to the smb.conf(5) 
1100 man page for details.  While both parameters assume sane default 
1101 values, it is likely that you will need to understand what the 
1102 values actually mean in order to ensure Samba operates correctly.
1103
1104 The recommended passdb backends at this time are
1105
1106   * smbpasswd - 2.2 compatible flat file format
1107   * tdbsam - attribute rich database intended as an smbpasswd
1108     replacement for stand alone servers
1109   * ldapsam - attribute rich account storage and retrieval 
1110     backend utilizing an LDAP directory.  
1111   * ldapsam_compat - a 2.2 backward compatible LDAP account 
1112     backend
1113     
1114 Certain functions of the smbpasswd(8) tool have been split between the 
1115 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8) 
1116 utility.  See the respective man pages for details.
1117     
1118      
1119 ######################################################################
1120 LDAP
1121 ####
1122
1123 This section outlines the new features affecting Samba / LDAP 
1124 integration.
1125
1126 New Schema
1127 ----------
1128   
1129 A new object class (sambaSamAccount) has been introduced to replace 
1130 the old sambaAccount.  This change aids us in the renaming of attributes 
1131 to prevent clashes with attributes from other vendors.  There is a 
1132 conversion script (examples/LDAP/convertSambaAccount) to modify and LDIF 
1133 file to the new schema.
1134   
1135 Example:
1136   
1137         $ ldapsearch .... -b "ou=people,dc=..." > old.ldif
1138         $ convertSambaAccount <DOM SID> old.ldif new.ldif
1139         
1140 The <DOM SID> can be obtained by running 'net getlocalsid <DOMAINNAME>' 
1141 on the Samba PDC as root.
1142     
1143 The old sambaAccount schema may still be used by specifying the 
1144 "ldapsam_compat" passdb backend.  However, the sambaAccount and
1145 associated attributes have been moved to the historical section of
1146 the schema file and must be uncommented before use if needed.
1147 The 2.2 object class declaration for a sambaAccount has not changed
1148 in the 3.0 samba.schema file. 
1149   
1150 Other new object classes and their uses include:
1151   
1152   * sambaDomain - domain information used to allocate rids 
1153     for users and groups as necessary.  The attributes are added
1154     in 'ldap suffix' directory entry automatically if 
1155     an idmap uid/gid range has been set and the 'ldapsam'
1156     passdb backend has been selected.
1157       
1158   * sambaGroupMapping - an object representing the 
1159     relationship between a posixGroup and a Windows
1160     group/SID.  These entries are stored in the 'ldap 
1161     group suffix' and managed by the 'net groupmap' command.
1162     
1163   * sambaUnixIdPool - created in the 'ldap idmap suffix' entry 
1164     automatically and contains the next available 'idmap uid' and 
1165     'idmap gid'
1166     
1167   * sambaIdmapEntry - object storing a mapping between a 
1168     SID and a UNIX uid/gid.  These objects are created by the 
1169     idmap_ldap module as needed.
1170
1171   * sambaSidEntry - object representing a SID alone, as a Structural
1172     class on which to build the sambaIdmapEntry.
1173
1174     
1175 New Suffix for Searching
1176 ------------------------
1177   
1178 The following new smb.conf parameters have been added to aid in directing
1179 certain LDAP queries when 'passdb backend = ldapsam://...' has been
1180 specified.
1181
1182   * ldap suffix         - used to search for user and computer accounts
1183   * ldap user suffix    - used to store user accounts
1184   * ldap machine suffix - used to store machine trust accounts
1185   * ldap group suffix   - location of posixGroup/sambaGroupMapping entries
1186   * ldap idmap suffix   - location of sambaIdmapEntry objects
1187
1188 If an 'ldap suffix' is defined, it will be appended to all of the 
1189 remaining sub-suffix parameters.  In this case, the order of the suffix
1190 listings in smb.conf is important.  Always place the 'ldap suffix' first
1191 in the list.  
1192
1193 Due to a limitation in Samba's smb.conf parsing, you should not surround 
1194 the DN's with quotation marks.
1195
1196
1197 IdMap LDAP support
1198 ------------------
1199
1200 Samba 3.0 supports an ldap backend for the idmap subsystem.  The 
1201 following options would inform Samba that the idmap table should be
1202 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
1203 dc=org" partition.
1204
1205  [global]
1206     ...
1207     idmap backend     = ldap:ldap://onterose/
1208     ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
1209     idmap uid         = 40000-50000
1210     idmap gid         = 40000-50000
1211
1212 This configuration allows winbind installations on multiple servers to
1213 share a uid/gid number space, thus avoiding the interoperability problems
1214 with NFS that were present in Samba 2.2.
1215     
1216
1217
1218 ######################################################################
1219 Trust Relationships and a Samba Domain
1220 ######################################
1221
1222 Samba 3.0.0beta2 is able to utilize winbindd as the means of 
1223 allocating uids and gids to trusted users and groups.  More
1224 information regarding Samba's support for establishing trust 
1225 relationships can be found in the Samba-HOWTO-Collection included
1226 in the docs/ directory of this release.
1227
1228 First create your Samba PDC and ensure that everything is 
1229 working correctly before moving on the trusts.
1230
1231 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
1232 4.0 domain named WINDOWS:
1233
1234   1) create the trust account for SAMBA in "User Manager for Domains"
1235   2) connect the trust from the Samba domain using
1236      'net rpc trustdom establish GLASS'
1237
1238 To create a trustlationship with SAMBA as the trusted domain:
1239
1240   1) create the initial trust account for GLASS using
1241      'smbpasswd -a -i GLASS'.  You may need to create a UNIX
1242      account for GLASS$ prior to this step (depending on your
1243      local configuration).
1244   2) connect the trust from a WINDOWS DC using "User Manager
1245      for Domains"
1246
1247 Now join winbindd on the Samba PDC to the SAMBA domain using
1248 the normal steps for adding a Samba server to an NT4 domain:
1249 (note that smbd & nmbd must be running at this point)
1250
1251    root# net rpc join -U root
1252    Password: <enter root password from smbpasswd file here>
1253
1254 Start winbindd and test the join with 'wbinfo -t'.
1255
1256 Now test the trust relationship by connecting to the SAMBA DC
1257 (e.g. POGO) as a user from the WINDOWS domain:
1258
1259    $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
1260    Password:
1261
1262 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
1263
1264    $ smbclient //crystal/netlogon -U root -W WINDOWS
1265    Password:
1266
1267 ######################################################################
1268 Changes in Winbind
1269 ##################
1270
1271 Beginning with Samba3.0.0beta3, winbindd has been given new account
1272 manage functionality equivalent to the 'add user script' family of
1273 smb.conf parameters.  The idmap design has also been changed to 
1274 centralize control of foreign SID lookups and matching to UNIX 
1275 uids and gids.
1276
1277
1278 Brief Description of Changes
1279 ----------------------------
1280
1281 1) The sid_to_uid() family of functions (smbd/uid.c) have been 
1282    reverted to the 2.2.x design.  This means that when resolving a 
1283    SID to a UID or similar mapping:
1284
1285         a) First consult winbindd
1286         b) perform a local lookup only if winbindd fails to
1287            return a successful answer
1288
1289    There are some variations to this, but these two rules generally
1290    apply.
1291
1292 2) All idmap lookups have been moved into winbindd.  This means that
1293    a server must run winbindd (and support NSS) in order to achieve
1294    any mappings of SID to dynamically allocated UNIX ids.  This was
1295    a conscious design choice.
1296
1297 3) New functions have been added to winbindd to emulate the 'add user 
1298    script' family of smbd functions without requiring that external
1299    scripts be defined.  This functionality is controlled by the 'winbind 
1300    enable local accounts' smb.conf parameter (enabled by default).
1301
1302    However, this account management functionality is only supported 
1303    in a local tdb (winbindd_idmap.tdb).  If these new UNIX accounts 
1304    must be shared among multiple Samba servers (such as a PDC and BDCs), 
1305    it will be necessary to define your own 'add user script', et. al.
1306    programs that place the accounts/groups in some form of directory
1307    such as NIS or LDAP.  This requirement was deemed beyond the scope
1308    of winbind's account management functions.  Solutions for 
1309    distributing UNIX system information have been deployed and tested 
1310    for many years.  We saw no need to reinvent the wheel.
1311
1312 4) A member of a Samba controlled domain running winbindd is now able 
1313    to map domain users directly onto existing UNIX accounts while still
1314    automatically creating accounts for trusted users and groups.  This
1315    behavior is controlled by the 'winbind trusted domains only' smb.conf
1316    parameter (disabled by default to provide 2.2.x winbind behavior).
1317
1318 5) Group mapping support is wrapped in the local_XX_to_XX() functions
1319    in smbd/uid.c.  The reason that group mappings are not included
1320    in winbindd is because the purpose of Samba's group map is to
1321    match any Windows SID with an existing UNIX group.  These UNIX
1322    groups can be created by winbindd (see next section), but the
1323    SID<->gid mapping is retreived by smbd, not winbindd.
1324
1325
1326 Examples
1327 --------
1328
1329 * security = server running winbindd to allocate accounts on demand
1330
1331 * Samba PDC running winbindd to handle the automatic creation of UNIX
1332   identities for machine trust accounts
1333
1334 * Automtically creating UNIX user and groups when migrating a Windows NT
1335   4.0 PDC to a Samba PDC.  Winbindd must be running when executing
1336   'net rpc vampire' for this to work.
1337
1338    
1339 ######################################################################
1340 Known Issues
1341 ############
1342
1343 * There are several bugs currently logged against the 3.0 codebase
1344   that affect the use of NT 4.0 GUI domain management tools when run
1345   against a Samba 3.0 PDC.  This bugs should be released in an early 
1346   3.0.x release.
1347
1348 Please refer to https://bugzilla.samba.org/ for a current list of bugs 
1349 filed against the Samba 3.0 codebase.
1350
1351
1352 ######################################################################
1353 Reporting bugs & Development Discussion
1354 #######################################
1355
1356 Please discuss this release on the samba-technical mailing list or by
1357 joining the #samba-technical IRC channel on irc.freenode.net.
1358
1359 If you do report problems then please try to send high quality
1360 feedback. If you don't provide vital information to help us track down
1361 the problem then you will probably be ignored.  
1362
1363 A new bugzilla installation has been established to help support the 
1364 Samba 3.0 community of users.  This server, located at 
1365 https://bugzilla.samba.org/, has replaced the older jitterbug server 
1366 previously located at http://bugs.samba.org/.
1367