1 <!--#include virtual="/samba/header.html" -->
3 <H2>Samba 3.0.1 Available for Download</H2>
7 The Samba Team is proud to announce the availability
8 of the first patch release of the Samba 3.0 code base.
9 This is the latest stable release of Samba and the
10 version that all production Samba servers should be running
11 for all current bug-fixes. Some of the more common bugs in
12 3.0.0 addressed in the release include:
14 * Substitution problems with smb.conf variables.
15 * Errors in return codes which caused some applications
16 to fail to open files.
17 * General Protection Faults on Windows 2000/XP clients
18 using Samba point-n-print features.
19 * Several miscellaneous crash bugs.
20 * Access problems when enumerating group mappings are
21 stored in an LDAP Directory.
22 * Several common SWAT bugs when writing changes to
24 * Internal inconsistencies when 'winbind use default
27 The source code can be downloaded from :
29 <a href="http://download.samba.org/samba/ftp/">http://download.samba.org/samba/ftp/</a>
31 The uncompressed tarball and patch file have been signed
32 using GnuPG. The Samba public key is available at
34 <a href="http://download.samba.org/samba/ftp/samba-pubkey.asc">http://download.samba.org/samba/ftp/samba-pubkey.asc</a>
36 Binary packages are available at
38 <a href="http://download.samba.org/samba/ftp/Binary_Packages/">http://download.samba.org/samba/ftp/Binary_Packages/</a>
40 A simplified version of the CVS log of updates since 3.0.0 can
41 be found in the the download directory under the name
42 <a href="/samba/ftp/ChangeLog-3.0.0-3.0.1">ChangeLog-3.0.0-3.0.1</a>.
43 The release notes are also available on-line at
45 <a href="http://www.samba.org/samba/whatsnew/samba-3.0.1.html">http://www.samba.org/samba/whatsnew/samba-3.0.1.html</a>
47 Please file any bugs you find in this release at
49 <a href="https://bugzilla.samba.org/">https://bugzilla.samba.org/</a>
51 As always, all bugs are our responsibility.
57 #######################################################################
58 WHATS NEW IN Samba 3.0.1
60 ===============================
62 This is the latest stable release of Samba. This is the
63 version that all production Samba servers should be running
64 for all current bug-fixes. Some of the more common bugs in
65 3.0.0 addressed in the release include:
67 * Substitution problems with smb.conf variables.
68 * Errors in return codes which caused some applications
69 to fail to open files.
70 * General Protection Faults on Windows 2000/XP clients
71 using Samba point-n-print features.
72 * Several miscellaneous crash bugs.
73 * Access problems when enumerating group mappings are
74 stored in an LDAP Directory.
75 * Several common SWAT bugs when writing changes to
77 * Internal inconsistencies when 'winbind use default
81 ######################################################################
84 Changes since 3.0.1rc2
85 ----------------------
87 Please refer to the CVS log for the SAMBA_3_0 branch for complete
90 1) Fix uninitialized variable in passdb.c.
91 2) Fix formal parameter type in get_static() in nsswitch/wins.c.
92 3) Fix problem mounting directories when mount.cifs is installed
93 with the setuid bit on.
94 4) Fix bug that prevent --mandir from overriding the defaults
95 given in the --with-fhs macro.
96 5) Fix bug in in-memory Kerberos keytab detection routines
100 Changes since 3.0.1rc1
101 -----------------------
103 1) Update version string in smbldap-tools Makefile to 0.8.2.
104 2) Correct a problem with "net rpc vampire" mis-parsing the
105 alias member info reply.
106 3) Ensure the ${libdir} is created by the installclientlib script.
107 4) Fix detection of Windows 2003 client architecture in the smb.conf
109 5) Ensure that smbd calls the add user script for a missing UNIX
110 user on kerberos auth call (bug 445).
111 6) Fix bugs in hosts allow/deny when using a mismatched
112 network/netmask pair.
113 7) Protect alloc_sub_basic() from crashing when the source string
114 is NULL (partial work on bug 687).
115 8) Fix spinlocks on IRIX.
116 9) Corrected some bad destination paths when running "configure
118 10) Add packaging files for Fedora Core 1.
119 11) Correct bug in SWAT install script for non-english languages.
120 12) Support character set ISO-8859-1 internally (bug 558).
121 13) Fixed more LDAP access errors when looking up group mappings
123 14) Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
124 resolution to fail on local files on on domain members
128 Changes since 3.0.1pre3
129 -----------------------
135 * passwd chat timeout
137 1) Fix for pdbedit error code returns (bug 763).
138 2) Make sure we only enumerate group mapping entries (not
139 /etc/group) even when doing local aliases.
140 3) Relax check on the pipe name in a dce/rpc bind response to work
141 around issues with establishing trusts to a Windows 2003 domain.
142 4) Ensure we mangle names ending in '.' in hash2 mangling method.
143 5) Correct parsing issues with munged dial string.
144 6) Fix bugs in quota support for XFS.
145 7) Add a cleaner method for applications that need to provide name->SID
146 mappings to do this via NSS rather than having to know the
147 winbindd pipe protocol.
148 8) Adds a variant of the winbindd_getgroups() call called
149 winbindd_getusersids() that provides direct SID->SIDs listing of a
150 users supplementary groups. This is enough to allow non-Samba
151 applications to do ACL checking.
152 9) Make sure we don't append the 'ldap suffix' when writing out the
153 'ldap XXX suffix' values in SWAT (bug 328).
154 10) Fix renames across file systems.
155 11) Ensure that items in a list of strings containing whitespace are
156 written out surrounded by single quotes. This means that both
157 double and single quotes are now used to surround strings in
159 12) Enable SWAT to correctly determine if winbindd is running (bug
161 13) Include WWW-Authenticate field in 401 response for bad auth
163 14) Add support for NTLM2 (NTLMv2 session security).
164 15) Add support for variable-length session keys.
165 16) More privilege fixes for group enumeration in LDAP (bug 281).
166 17) Use the dns name (or IP) as the originating client name when
167 using CUPS (bug 467).
168 18) Fix various SMB signing bugs.
169 19) Fix ACL propagation on a DFS root (bug 263).
170 20) Disable NTLM2 for RPC pipes.
171 21) Allow the client to specify the NTLM2 flags got NTLMSSP
173 22) Change the name of the job passed off to cups from "Test Page" to
174 "smbprn.00000033 Test Page" so that we can get the smb jobid back.
175 This allow users to delete jobs with cups printing backend (partial
177 23) Fix build of winbindd with static pdb modules.
178 24) Retrieve the correct ACL group bits if the file has an ACL
180 25) Implement "net rpc group members": Get members of a domain group
181 in human-readable format.
182 26) Add MacOSX (Darwin) specific charset module code.
183 27) Use samr_dispinfo(level == 1) for enumerating domain users so we
184 can include the full name in gecos field (bug 587).
185 28) Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
186 29) Implement 'net rpc group list [global|local|builtin]*' for a
187 select listing of the respective user databases.
188 30) Don't automatically set NT status code flag unless client tells
190 31) Add 'net status [sessions|shares] [parseable]'.
191 32) Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
193 33) Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
195 34) Fix inverted logic in hosts allow/deny checks caused by s/strcmp/strequal/
197 35) Implement correct version SamrRemoveSidForeignDomain() (bug 252).
198 36) Fix typo in 'hash' mangling algorithm.
199 37) Support munged dial for ldapsam (bug 800).
200 38) Fix process_incoming_data() to return the number of bytes handled this
201 call whether we have a complete PDU or not; fixes bug with multiple
202 PDU request rpc's broken over SMBwriteX calls each.
203 39) Fix incorrect smb flags2 for connections to pre-NT servers (causes
204 smbclient to fail to OS2 for example) (bug 821).
208 Changes since 3.0.1pre2
209 -----------------------
211 Please refer to the CVS log for the SAMBA_3_0 branch for complete
214 1) Skip over the winbind separator when looking up a user.
215 This fixes the bug that prevented local users from
216 matching an AD user when not running winbindd (bug 698).
217 2) Fix a problem with configure on *BSD systems. Make sure
218 we add -liconv etc to LDFLAGS.
219 3) Fix core dump bug when "security = server" and the authentication
221 4) Correct crash bug due to an empty munged dial string.
222 5) Show files locked by a specific user (smbstatus -u 'user')
224 6) Fix bug preventing print jobs from display in the queue
225 monitor used by Windows NT and later clients (bug 660).
226 7) Fix several reported problems with point-n-print from
227 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
228 reply (bug 338, 527 & 643).
229 8) Fix a handful of potential memory leaks in the LDAP code used
230 by ldapsam[_compat] and the LDAP idmap backend.
233 Changes since 3.0.1pre1
234 -----------------------
236 1) Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
237 2) Updated Japanese welcome file in SWAT.
238 3) Fix to nt-time <-> unix-time functions reversible.
239 4) Ensure that winbindd uses the the escaped DN when querying
241 5) Fix portability issues when compiling (bug 505, 550)
242 6) Compile fix for tdbbackup when Samba needs to override
243 non-C99 compliant implementations of snprintf().
244 7) Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
245 8) Make sure we break out of samsync loop on error.
246 9) Ensure error code path doesn't free unmalloc()'d memory
248 10) Add configure test for krb5_keytab_entry keyblock vs key
251 12) Modified testparm so that all output so all debug output goes
252 to stderr, and all file processing goes to stdout.
253 13) Fix error return code for BUFFER_TOO_SMALL in smbcacls
255 14) Fix "NULL dest in safe_strcpy()" log message by ensuring that
256 we have a devmode before copying a string to the devicename.
257 15) Support mapping REALM.COM\user to a local user account (without
258 running winbindd) for compatibility with 2.2.x release.
259 16) Ensure we don't use mmap() on blacklisted systems.
260 17) fixed a number of bugs and memory leaks in the AIX
262 18) Call initgroups() in SWAT before becomming the user so that
263 secondary group permissions can be used when writing to
265 19) Fix signing problems when reverse connecting back to a
266 client for printer notify
267 20) Fix signing problems caused by a miss-sequence bug.
268 21) Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
269 Fixes NEXUS tools running on Win9x clients (bug 64).
270 22) Don't leave the domain field uninitialized in cli_lsa.c if some
271 SID could not be mapped.
272 23) Fix segfault in mount.cifs helper when there is no options
273 specified during mount.
274 24) Change the \n after the password prompt to go to tty instead
276 25) Stop net -P from prompting for machine account password (bug 451).
277 26) Change in behavior to Not only change the effective uid but also
278 the real uid when becoming unprivileged.
279 27) Cope with Exchange 5.5 cleartext pop password auth.
280 28) New files for support of initshutdown pipe. Win2k doesn't
281 respond properly to all requests on the winreg pipe, so we need
282 to handle this new pipe (bug 534).
283 29) Added more va_copy() checks in configure.in.
284 30) Include fixes for libsmbclient build problems.
285 31) Missing UNIX -> DOS codepage conversion in lanman.c.
286 32) Allow DFMS-S filenames can now have arbitrary case (bug 667).
287 33) Parameterize the listen backlog in smbd and make it larger by
288 default. A backlog of 5 is way too small these days.
289 34) Check for an invalid fid before dereferencing the fsp pointer
291 35) Remove invalid memory frees and return codes in pdb_ldap.c.
292 36) Prompt for password when invoking --set-auth-user and no
294 37) Bind the nmbd sending socket to the 'socket address'.
295 38) Re-order link command for smbd, rpcclient and smbpasswd to ensure
296 $LDFLAGS occurs before any library specification (bug 661).
297 39) Fix large number of printf() calls for 64-bit size_t.
298 40) Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
299 keyblock in the krb5 structs.
300 41) Remove #include <compat.h> in hopes to avoid problems with
302 42) Correct winbindd build problems on HP-UX 11.
303 43) Lowercase netgroups lookups (bug 703).
304 44) Use the actual size of the buffer in strftime instead of a made
305 up value which just happens to be less than sizeof(fstring).
307 45) Add ldaplibs to pdbedit link line (bug 651).
308 46) Fix crash bug in smbclient completion (bug 659).
309 47) Fix packet length for browse list reply (bug 771).
310 48) Fix coredump in cli_get_backup_list().
311 49) Make sure that we expand %N (bug 612).
312 50) Allow rpcclient adddriver command to specify printer driver
314 51) Compile tdbdump by default.
315 52) Apply patches to fix iconv detection for FreeBSD.
316 53) Do not allow the 'guest account' to be added to a passdb backend
317 using smbpasswd or pdbedit (bug 624).
318 54) Save LDFLAGS during iconv detection (bug 57).
319 55) Run krb5 logins through the username map if the winbindd
320 lookup fails (bug 698).
321 56) Add const for lp_set_name_resolve_order() to avoid compiler
323 57) Add support for the %i macro in smb.conf to stand in for the for
324 the local IP address to which a client connected.
325 58) Allow winbindd to match local accounts to domain SID when
326 'winbind trusted domains only = yes' (bug 680).
327 59) Remove code in idmap_ldap that searches the user suffix and group
328 suffix. It's not needed and provides inconsistent functionality
329 from the tdb backend.
330 60) Patch to handle munged dial string for Windows 200 TSE.
331 61) Correct the "smbldap_open: cannot access when not root error"
332 messages when looking up group information (bug 281).
340 * mangled map (deprecated)
343 * mangled stack (unused)
346 1) Change the interface for init_unistr2 to not take a length
347 but a flags field. We were assuming that
348 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
349 2) Allow d_printf() to handle strings with escaped quotation
350 marks since the msg file includes the escape character (bug 489).
351 3) Fix bad html table row termination in SWAT wizard code (bug 413).
352 4) Fix to parse the level-2 strings.
353 5) Fix for "valid users = %S" in [homes]. Fix read/write
355 6) Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
356 This is the same way AC_CHECK_LIB works (bug 508).
357 7) Testparm output fixes for clarity.
358 8) Fix broken wins hook functionality -- i18n bug (bug 528).
359 9) Take care of condition where DOS and NT error codes must differ.
360 10) Default to using only built-in charsets when a working iconv
361 implementation cannot be located.
362 11) Wrap internals of sys_setgroups() so the sys_XX() call can
363 be done unconditionally (bug 550).
364 12) Remove duplicate smbspool link on SWAT's front page (bug 541).
365 13) Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
366 --enable-debug=[yes|no] works correctly.
367 14) Allow ^C to interrupt smbpasswd if using our getpass
368 (e.g. smbpasswd command).
369 15) Support signing only on RPC's (bug 167).
370 16) Correct bug that prevented Excel 2000 clients from opening
371 files marked as read-only.
372 17) Portability fix bugs 546 - 549).
373 18) Explicitly initialize the value of AR for vendor makes that don't
374 do this (e.g. HPUX 11). (bug 552).
375 19) More i18n fixes for SWAT (bug 413).
376 20) Change the cwd before the postexec script to ensure that a
378 21) Correct double free that caused winbindd to crash when a DC
379 is rebooted (bug 437).
380 22) Fix incorrect mode sum (bug 562).
381 23) Canonicalize SMB_INFO_ALLOCATION in the same was as
382 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
383 24) Add script to generate *msg files.
384 25) Add Dutch SWAT translation file.
385 26) Make sure to call get_user_groups() with the full winbindd
386 name for a user if he/she has one (bug 406).
387 27) Fix up error code returns from Samba4 tester. Ensure invalid
388 paths are validated the same way.
389 28) Allow Samba3 to pass the Samba4 RAW-READ tests.
390 29) Refuse to configure if --with-expsam=$BACKEND was used but no
391 libraries were found for $BACKEND.
392 30) Move sysquotas autoconf tests to a separate file.
393 31) Match W2K w.r.t. writelock and writeclose. Samba4 torture
395 32) Make sure that the files that contain the static_init_$subsystem;
396 macro get recompiled after configure by removing the object
398 33) Ensure canceling a blocking lock returns the correct error
403 ######################################################################
405 =======================================
406 The original 3.0.0 release notes follow
407 =======================================
413 1) Active Directory support. Samba 3.0 is now able to
414 join a ADS realm as a member server and authenticate
415 users using LDAP/Kerberos.
417 2) Unicode support. Samba will now negotiate UNICODE on the wire
418 and internally there is now a much better infrastructure for
419 multi-byte and UNICODE character sets.
421 3) New authentication system. The internal authentication system
422 has been almost completely rewritten. Most of the changes are
423 internal, but the new auth system is also very configurable.
425 4) New default filename mangling system.
427 5) A new "net" command has been added. It is somewhat similar to
428 the "net" command in windows. Eventually we plan to replace
429 numerous other utilities (such as smbpasswd) with subcommands
432 6) Samba now negotiates NT-style status32 codes on the wire. This
433 improves error handling a lot.
435 7) Better Windows 2000/XP/2003 printing support including publishing
436 printer attributes in active directory.
438 8) New loadable module support for passdb backends and character
441 9) New default dual-daemon winbindd support for better performance.
443 10) Support for migrating from a Windows NT 4.0 domain to a Samba
444 domain and maintaining user, group and domain SIDs.
446 11) Support for establishing trust relationships with Windows NT 4.0
449 12) Initial support for a distributed Winbind architecture using
450 an LDAP directory for storing SID to uid/gid mappings.
452 13) Major updates to the Samba documentation tree.
454 14) Full support for client and server SMB signing to ensure
455 compatibility with default Windows 2003 security settings.
457 15) Improvement of ACL mapping features based on code donated by
461 Plus lots of other improvements!
464 Additional Documentation
465 ------------------------
467 Please refer to Samba documentation tree (included in the docs/
468 subdirectory) for extensive explanations of installing, configuring
469 and maintaining Samba 3.0 servers and clients. It is advised to
470 begin with the Samba-HOWTO-Collection for overviews and specific
471 tasks (the current book is up to approximately 400 pages) and to
472 refer to the various man pages for information on individual options.
474 We are very glad to be able to include the second edition of
475 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
476 (O'Reilly & Associates) in this release. The book is available
477 on-line at http://samba.org/samba/docs/ and is included with
478 the Samba Web Administration Tool (SWAT). Thanks to the authors and
479 publisher for making "Using Samba" under the GNU Free Documentation
483 ######################################################################
484 Upgrading from a previous Samba 3.0 beta
485 ########################################
487 Beginning with Samba 3.0.0beta3, the RID allocation functions
488 have been moved into winbindd. Previously these were handled
489 by each passdb backend. This means that winbindd must be running
490 to automatically allocate RIDs for users and/or groups. Otherwise,
491 smbd will use the 2.2 algorithm for generating new RIDs.
493 If you are using 'passdb backend = tdbsam' with a previous Samba
494 3.0 beta release (or possibly alpha), it may be necessary to
495 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
496 to winbindd_idmap.tdb. To do this:
498 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
500 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
502 3) run: (note that 'tdb>' is the tool's prompt for input)
504 root# ./tdbtool /usr/local/samba/private/passdb.tdb
505 tdb> show RID_COUNTER
509 [000] 0A 52 00 00 .R.
511 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
515 If you are using 'passdb backend = ldapsam', it will be necessary to
516 store idmap entries in the LDAP directory as well (i.e. idmap backend
517 = ldap). Refer to the 'net idmap' command for more information on
518 migrating SID<->UNIX id mappings from one backend to another.
520 If the RID_COUNTER record does not exist, then these instructions are
521 unneccessary and the new RID_COUNTER record will be correctly generated
526 ########################
527 Upgrading from Samba 2.2
528 ########################
530 This section is provided to help administrators understand the details
531 involved with upgrading a Samba 2.2 server to Samba 3.0.
537 Many of the options to the GNU autoconf script have been modified
538 in the 3.0 release. The most noticeable are:
540 * removal of --with-tdbsam (is now included by default; see section
541 on passdb backends and authentication for more details)
543 * --with-ldapsam is now on used to provided backward compatible
544 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
545 backend and authentication section for more details
547 * inclusion of non-standard passdb modules may be enabled using
548 --with-expsam. This includes an XML backend and a mysql backend.
550 * removal of --with-msdfs (is now enabled by default)
552 * removal of --with-ssl (no longer supported)
554 * --with-utmp now defaults to 'yes' on supported systems
556 * --with-sendfile-support is now enabled by default on supported
563 This section contains a brief listing of changes to smb.conf options
564 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
565 complete descriptions of new or modified parameters.
567 Removed Parameters (order alphabetically):
570 * alternate permissions
573 * code page directory
577 * force unknown acl user
582 * printer driver file
583 * printer driver location
591 New Parameters (new parameters have been grouped by function):
595 * abort shutdown script
598 User and Group Account Management
599 ---------------------------------
602 * add user to group script
603 * algorithmic rid base
604 * delete group script
605 * delete user from group script
607 * set primary group script
613 * passwd chat timeout
624 * paranoid server security
634 * hide unwriteable files
636 * kernel change notify
646 * max reported print jobs
648 UNICODE and Character Sets
649 --------------------------
655 SID to uid/gid Mappings
656 -----------------------
660 * winbind enable local accounts
661 * winbind trusted domains only
662 * template primary group
663 * enable rid algorithm
670 * ldap machine suffix
674 General Configuration
675 ---------------------
679 Modified Parameters (changes in behavior):
681 * encrypt passwords (enabled by default)
682 * mangling method (set to 'hash2' by default)
685 * restrict anonymous (integer value)
686 * security (new 'ads' value)
687 * strict locking (enabled by default)
688 * unix extensions (enabled by default)
689 * winbind cache time (increased to 5 minutes)
690 * winbind uid (deprecated in favor of 'idmap uid')
691 * winbind gid (deprecated in favor of 'idmap gid')
697 This section contains brief descriptions of any new databases
698 introduced in Samba 3.0. Please remember to backup your existing
699 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
700 upgrade databases as they are opened (if necessary), but downgrading
701 from 3.0 to 2.2 is an unsupported path.
703 Name Description Backup?
704 ---- ----------- -------
705 account_policy User policy settings yes
706 gencache Generic caching db no
707 group_mapping Mapping table from Windows yes
708 groups/SID to unix groups
709 winbindd_idmap ID map table from SIDS to UNIX yes
711 namecache Name resolution cache entries no
712 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
713 returned as part of a successful
714 net_sam_logon request
715 printing/*.tdb Cached output from 'lpq no
716 command' created on a per print
718 registry Read-only samba registry skeleton no
719 that provides support for exporting
720 various db tables via the winreg RPCs
726 The following issues are known changes in behavior between Samba 2.2 and
727 Samba 3.0 that may affect certain installations of Samba.
729 1) When operating as a member of a Windows domain, Samba 2.2 would
730 map any users authenticated by the remote DC to the 'guest account'
731 if a uid could not be obtained via the getpwnam() call. Samba 3.0
732 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
733 current work around to re-establish the 2.2 behavior.
735 2) When adding machines to a Samba 2.2 controlled domain, the
736 'add user script' was used to create the UNIX identity of the
737 machine trust account. Samba 3.0 introduces a new 'add machine
738 script' that must be specified for this purpose. Samba 3.0 will
739 not fall back to using the 'add user script' in the absence of
740 an 'add machine script'
743 ######################################################################
744 Passdb Backends and Authentication
745 ##################################
747 There have been a few new changes that Samba administrators should be
748 aware of when moving to Samba 3.0.
750 1) encrypted passwords have been enabled by default in order to
751 inter-operate better with out-of-the-box Windows client
752 installations. This does mean that either (a) a samba account
753 must be created for each user, or (b) 'encrypt passwords = no'
754 must be explicitly defined in smb.conf.
756 2) Inclusion of new 'security = ads' option for integration
757 with an Active Directory domain using the native Windows
758 Kerberos 5 and LDAP protocols.
760 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
761 type which is neccessary for servers on which the
762 administrator password has not been changed, or kerberos-enabled
763 SMB connections to servers that require Kerberos SMB signing.
764 Besides this one difference, either MIT or Heimdal Kerberos
765 distributions are usable by Samba 3.0.
768 Samba 3.0 also includes the possibility of setting up chains
769 of authentication methods (auth methods) and account storage
770 backends (passdb backend). Please refer to the smb.conf(5)
771 man page for details. While both parameters assume sane default
772 values, it is likely that you will need to understand what the
773 values actually mean in order to ensure Samba operates correctly.
775 The recommended passdb backends at this time are
777 * smbpasswd - 2.2 compatible flat file format
778 * tdbsam - attribute rich database intended as an smbpasswd
779 replacement for stand alone servers
780 * ldapsam - attribute rich account storage and retrieval
781 backend utilizing an LDAP directory.
782 * ldapsam_compat - a 2.2 backward compatible LDAP account
785 Certain functions of the smbpasswd(8) tool have been split between the
786 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
787 utility. See the respective man pages for details.
790 ######################################################################
794 This section outlines the new features affecting Samba / LDAP
800 A new object class (sambaSamAccount) has been introduced to replace
801 the old sambaAccount. This change aids us in the renaming of attributes
802 to prevent clashes with attributes from other vendors. There is a
803 conversion script (examples/LDAP/convertSambaAccount) to modify and LDIF
804 file to the new schema.
808 $ ldapsearch .... -b "ou=people,dc=..." > old.ldif
809 $ convertSambaAccount <DOM SID> old.ldif new.ldif
811 The <DOM SID> can be obtained by running 'net getlocalsid <DOMAINNAME>'
812 on the Samba PDC as root.
814 The old sambaAccount schema may still be used by specifying the
815 "ldapsam_compat" passdb backend. However, the sambaAccount and
816 associated attributes have been moved to the historical section of
817 the schema file and must be uncommented before use if needed.
818 The 2.2 object class declaration for a sambaAccount has not changed
819 in the 3.0 samba.schema file.
821 Other new object classes and their uses include:
823 * sambaDomain - domain information used to allocate rids
824 for users and groups as necessary. The attributes are added
825 in 'ldap suffix' directory entry automatically if
826 an idmap uid/gid range has been set and the 'ldapsam'
827 passdb backend has been selected.
829 * sambaGroupMapping - an object representing the
830 relationship between a posixGroup and a Windows
831 group/SID. These entries are stored in the 'ldap
832 group suffix' and managed by the 'net groupmap' command.
834 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
835 automatically and contains the next available 'idmap uid' and
838 * sambaIdmapEntry - object storing a mapping between a
839 SID and a UNIX uid/gid. These objects are created by the
840 idmap_ldap module as needed.
842 * sambaSidEntry - object representing a SID alone, as a Structural
843 class on which to build the sambaIdmapEntry.
846 New Suffix for Searching
847 ------------------------
849 The following new smb.conf parameters have been added to aid in directing
850 certain LDAP queries when 'passdb backend = ldapsam://...' has been
853 * ldap suffix - used to search for user and computer accounts
854 * ldap user suffix - used to store user accounts
855 * ldap machine suffix - used to store machine trust accounts
856 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
857 * ldap idmap suffix - location of sambaIdmapEntry objects
859 If an 'ldap suffix' is defined, it will be appended to all of the
860 remaining sub-suffix parameters. In this case, the order of the suffix
861 listings in smb.conf is important. Always place the 'ldap suffix' first
864 Due to a limitation in Samba's smb.conf parsing, you should not surround
865 the DN's with quotation marks.
871 Samba 3.0 supports an ldap backend for the idmap subsystem. The
872 following options would inform Samba that the idmap table should be
873 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
878 idmap backend = ldap:ldap://onterose/
879 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
880 idmap uid = 40000-50000
881 idmap gid = 40000-50000
883 This configuration allows winbind installations on multiple servers to
884 share a uid/gid number space, thus avoiding the interoperability problems
885 with NFS that were present in Samba 2.2.
889 ######################################################################
890 Trust Relationships and a Samba Domain
891 ######################################
893 Samba 3.0.0beta2 is able to utilize winbindd as the means of
894 allocating uids and gids to trusted users and groups. More
895 information regarding Samba's support for establishing trust
896 relationships can be found in the Samba-HOWTO-Collection included
897 in the docs/ directory of this release.
899 First create your Samba PDC and ensure that everything is
900 working correctly before moving on the trusts.
902 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
903 4.0 domain named WINDOWS:
905 1) create the trust account for SAMBA in "User Manager for Domains"
906 2) connect the trust from the Samba domain using
907 'net rpc trustdom establish GLASS'
909 To create a trustlationship with SAMBA as the trusted domain:
911 1) create the initial trust account for GLASS using
912 'smbpasswd -a -i GLASS'. You may need to create a UNIX
913 account for GLASS$ prior to this step (depending on your
914 local configuration).
915 2) connect the trust from a WINDOWS DC using "User Manager
918 Now join winbindd on the Samba PDC to the SAMBA domain using
919 the normal steps for adding a Samba server to an NT4 domain:
920 (note that smbd & nmbd must be running at this point)
922 root# net rpc join -U root
923 Password: <enter root password from smbpasswd file here>
925 Start winbindd and test the join with 'wbinfo -t'.
927 Now test the trust relationship by connecting to the SAMBA DC
928 (e.g. POGO) as a user from the WINDOWS domain:
930 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
933 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
935 $ smbclient //crystal/netlogon -U root -W WINDOWS
938 ######################################################################
942 Beginning with Samba3.0.0beta3, winbindd has been given new account
943 manage functionality equivalent to the 'add user script' family of
944 smb.conf parameters. The idmap design has also been changed to
945 centralize control of foreign SID lookups and matching to UNIX
949 Brief Description of Changes
950 ----------------------------
952 1) The sid_to_uid() family of functions (smbd/uid.c) have been
953 reverted to the 2.2.x design. This means that when resolving a
954 SID to a UID or similar mapping:
956 a) First consult winbindd
957 b) perform a local lookup only if winbindd fails to
958 return a successful answer
960 There are some variations to this, but these two rules generally
963 2) All idmap lookups have been moved into winbindd. This means that
964 a server must run winbindd (and support NSS) in order to achieve
965 any mappings of SID to dynamically allocated UNIX ids. This was
966 a conscious design choice.
968 3) New functions have been added to winbindd to emulate the 'add user
969 script' family of smbd functions without requiring that external
970 scripts be defined. This functionality is controlled by the 'winbind
971 enable local accounts' smb.conf parameter (enabled by default).
973 However, this account management functionality is only supported
974 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
975 must be shared among multiple Samba servers (such as a PDC and BDCs),
976 it will be necessary to define your own 'add user script', et. al.
977 programs that place the accounts/groups in some form of directory
978 such as NIS or LDAP. This requirement was deemed beyond the scope
979 of winbind's account management functions. Solutions for
980 distributing UNIX system information have been deployed and tested
981 for many years. We saw no need to reinvent the wheel.
983 4) A member of a Samba controlled domain running winbindd is now able
984 to map domain users directly onto existing UNIX accounts while still
985 automatically creating accounts for trusted users and groups. This
986 behavior is controlled by the 'winbind trusted domains only' smb.conf
987 parameter (disabled by default to provide 2.2.x winbind behavior).
989 5) Group mapping support is wrapped in the local_XX_to_XX() functions
990 in smbd/uid.c. The reason that group mappings are not included
991 in winbindd is because the purpose of Samba's group map is to
992 match any Windows SID with an existing UNIX group. These UNIX
993 groups can be created by winbindd (see next section), but the
994 SID<->gid mapping is retreived by smbd, not winbindd.
1000 * security = server running winbindd to allocate accounts on demand
1002 * Samba PDC running winbindd to handle the automatic creation of UNIX
1003 identities for machine trust accounts
1005 * Automtically creating UNIX user and groups when migrating a Windows NT
1006 4.0 PDC to a Samba PDC. Winbindd must be running when executing
1007 'net rpc vampire' for this to work.
1010 ######################################################################
1014 * There are several bugs currently logged against the 3.0 codebase
1015 that affect the use of NT 4.0 GUI domain management tools when run
1016 against a Samba 3.0 PDC. This bugs should be released in an early
1019 Please refer to https://bugzilla.samba.org/ for a current list of bugs
1020 filed against the Samba 3.0 codebase.
1023 ######################################################################
1024 Reporting bugs & Development Discussion
1025 #######################################
1027 Please discuss this release on the samba-technical mailing list or by
1028 joining the #samba-technical IRC channel on irc.freenode.net.
1030 If you do report problems then please try to send high quality
1031 feedback. If you don't provide vital information to help us track down
1032 the problem then you will probably be ignored.
1034 A new bugzilla installation has been established to help support the
1035 Samba 3.0 community of users. This server, located at
1036 https://bugzilla.samba.org/, has replaced the older jitterbug server
1037 previously located at http://bugs.samba.org/.
1040 <!--#include virtual="/samba/footer.html" -->