1 =================================
2 Release Notes for Samba 3.0.3pre1
4 =================================
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.
10 There have been several bug fixes since the 3.0.2a 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
15 Common bugs fixed in this preview release include:
20 ######################################################################
34 Please refer to the CVS log for the SAMBA_3_0 branch for complete
35 details. The list of changes per contributor are as follows:
40 o Jeremy Allison <jra@samba.org>
41 * Ensure that Kerberos mutex is always properly unlocked.
42 * Removed Heimdal "in-memory keytab" support.
43 * Fixup the 'multiple-vuids' bugs in our server code.
44 * Correct return code from lsa_lookup_sids() on unmapped
45 sids (based on work by vlendecke).
46 * Fix the "too many fcntl locks" scalability problem
48 * Fixup correct (as per W2K3) returns for lookupsids
49 as well as lookupnames.
50 * Fixups for delete-on-close semantics as per Win2k3 behavior.
51 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
52 * Fix "unable to initialize" bug when smbd hasn't been run with
53 new system and a user is being added via pdbedit/smbpasswd.
54 * Added NTrename SMB (0xA5).
55 * Fixup correct timeout values for blocking lock timeouts.
56 * Fix various bugs reported by 'gentest'.
57 * More locking fixes in the case where we own the lock.
58 * Fix up regression in IS_NAME_VALID and renames.
59 * Don't set allocation size on directories.
60 * Return correct error code on fail if file exists and target
62 * Added client "hardlink" commant to test doing NT rename with
63 hard links. Added hardlink_internals() code - UNIX extensions
65 * Use a common function to parse all pathnames from the wire for
66 much closer emulation of Win2k3 error return codes.
67 * More fixes for internal multibyte string handling.
70 o Timur Bakeyev <timur@com.bat.ru>
71 * BUG 1144: only set --with-fhs when the argumenet is 'yes'
74 o Andrew Bartlet <abartlet@samba.org>
75 * Include support for linking with cracklib for enforcing
76 strong password changes.
77 * Add support for >14 character password changes from Windows
79 * Add 'admin set password' capability to 'net rpc'.
80 * Allow 'net rpc samdump' to work with any joined domain
81 regardless of smb.conf settings.
82 * Use an allocated buffer for count_chars.
83 * Add sanity checks for changes in the domain SID in an
87 o Alexander Bokovoy <ab@samba.org>
90 o Gerald (Jerry) Carter <jerry@samba.org>
91 * Fix 'make installmodules' bug on True64.
92 * BUG 66: mark 'only user' deprecated.
93 * Remove corrupt tdb and shutdown (only for printing tdbs,
94 connections, sessionid & locking).
95 * decrement smbd counter in connections.tdb in smb_panic().
96 * RedHat specfile updates.
97 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
98 * BUG 1147; bad pointer case in get_stored_queue_info()
100 * BUG 761: read the config file before initialized default
101 values for printing options; don't default to bsd printing
103 * Allow the 'printing' parameter to be set on a per share basis.
104 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
105 * BUG 848: don't create winbind local users/groups that already
107 * BUG 1080: fix declaration of SMB_BIG_UINT (broek compile on
111 o Guenther Deschner <gd@suse.com>
112 * Remove hard coded attribute name in the ads ranged retrieval
116 o Bostjan Golob <golob@gimb.org>
117 * BUG 1046: Fix getpwent_list() so that the username is not
118 overwritten by other fields.
121 o Steve French <sfrench@us.ibm.com>
122 * Update moun.cifs to version 1.1.
123 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
124 * Fixes to minor security bug in the mount helper.
127 o SATOH Fumiyasu <fumiya@miraclelinux.com>
128 * BUG 1055; formatting fixes for 'net share'.
129 * BUG 692: correct truncation of share names and workgroup
133 o Chris Hertel <crh@samba.org>
134 * fix enumeration of shares 12 characters in length via
138 o John Klinger <john.klinger@lmco.com>
139 * Return NSS_SUCCESS once the max number of gids possible
140 has been found in initgroups() on Solaris.
143 o Volker Lendecke <vl@samba.org>
144 * Fix success message for net groupmap modify.
145 * Fix errors when enumerating members of groups in 'net rpc'.
146 * Match Windows behavior in samr_lookup_names() by returning
147 ALIAS(4) when you search in BUILTIN.
148 * Fix server SAMR code to be able to set alias info for
150 * Fix duplication of logic when creating groups via smbd.
151 * Ensure that the HWM values are set correctly after running
153 * Add 'net rpc group add'.
154 * Implement 'net groupmap set' and 'net groupmap cleanup'.
155 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
158 o Herb Lewis <herb@samba.org>
161 o Jianliang Lu <j.lu@tiesse.com>
162 * Enforce the 'user must change password at nmext login' flag.
163 * Decode meaning of 'fields present' flags (improves support
167 o L. Lucius <ib@digicron.com>.
171 o Jim McDonough <jmcd@us.ibm.com>
172 * Add versioning support to tdbsam.
173 * Update the IBM Directory Server schema with the OpenLDAP
175 * Various decoding fixes to improve usermgr.exe support.
176 * Fix statfs redeclaration of statfs struct on ppc
177 * Implement support for password lockout of Samba domain
178 controllers and standalone servers.
181 o Stefan Metzmacher <metze@samba.org>
184 o James Peach <jpeach@sgi.com>
185 * Correct check for printf() format when using the SGI MIPSPro
187 * BUG 1038: support backtrace for 'panic action' on IRIX.
190 o Tim Potter <tpot@samba.org>
191 * Fix logic bug in tdb non-blocking lock routines when
193 * BUG 1025: Include sys/acl.h in check for broken nisplus
195 * BUG 1066: s/printf/d_printf/g in SWAT.
196 * BUG 1098: rename internal msleep() function to fix build
198 * BUG 1112: Fix for writable printerdata problem in python bindings.
201 o Simo Source <idra@samba.org>
202 * Replace unknown_3 with fields_present in SAMR code.
205 o Richard Sharpe <rsharpe@samba.org>
206 * Add support to smbclient for multiple logins on the same
207 session (based on work by abartlet).
210 o Andrew Tridgell <tridge@samba.org>
211 * Rewrote the AIX UESS backend for winbindd.
212 * Fixed compilation with --enable-dmalloc.
215 o Jelmer Vernooij <jelmer@samba.org>
216 * Fix ETA Calculation when resuming downloads in smbget.
219 o TAKEDA yasuma <yasuma@miraclelinux.com>
220 * BUG 900: fix token processing in cmd_symlink, cmd_link,
221 cmd_chown, cmd_chmod smbclient functions.
224 o Shiro Yamada <shiro@miraclelinux.com>
225 * BUG 1129: install image files for SWAT.
228 Changes for older versions follow below:
230 --------------------------------------------------
232 ==============================
233 Release Notes for Samba 3.0.2a
235 ==============================
237 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
238 to address, in particular, a problem when using pdbedit to
239 sanitize (--force-initialized-passwords) Samba's tdbsam
240 backend. This is the latest stable release of Samba. This
241 is the version that all production Samba servers should be
242 running for all current bug-fixes.
244 ******************* Attention! Achtung! Kree! *********************
246 Beginning with Samba 3.0.2, passwords for accounts with a last
247 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
248 ldapsam, etc...) of zero (0) will be regarded as uninitialized
249 strings. This will cause authentication to fail for such
250 accounts. If you have valid passwords that meet this criteria,
251 you must update the last change time to a non-zero value. If you
252 do not, then 'pdbedit --force-initialized-passwords' will disable
253 these accounts and reset the password hashes to a string of X's.
255 ******************* Attention! Achtung! Kree! *********************
258 ######################################################################
268 Please refer to the CVS log for the SAMBA_3_0 branch for complete
269 details. The list of changes per contributor are as follows:
272 o Jeremy Allison <jra@samba.org>
273 * Added paranoia checks in parsing code.
276 o Andrew Bartlet <abartlet@samba.org>
277 * Ensure that changes to uninitialized passwords in ldapsam
278 are written to the DIT.
281 o Gerald (Jerry) Carter <jerry@samba.org>
282 * Fixed iterator in tdbsam.
283 * Fix bug that disabled accounts with a valid NT password
284 hash, but no LanMan hash.
287 o Steve French <sfrench@us.ibm.com>
288 * Added missing nosetuid and noexec options.
291 o Bostjan Golob <golob@gimb.org>
292 * BUG 1046: Don't overwrite usernames of entries returned
296 o Sebastian Krahmer <krahmer@suse.de>
297 * Fixed potential crash bug in NTLMSSP parsing code.
300 o Tim Potter <tpot@samba.org>
301 * Fixed logic in tdb_brlock error checking.
304 o Urban Widmark <urban@teststation.com>
305 * Set nosuid,nodev flags in smbmnt by default.
308 --------------------------------------------------
310 =============================
311 Release Notes for Samba 3.0.2
313 =============================
315 It has been confirmed that previous versions of Samba 3.0 are
316 susceptible to a password initialization bug that could grant an
317 attacker unauthorized access to a user account created by the
318 mksmbpasswd.sh shell script.
320 The Common Vulnerabilities and Exposures project (cve.mitre.org)
321 has assigned the name CAN-2004-0082 to this issue.
323 Samba administrators not wishing to upgrade to the current
324 version should download the 3.0.2 release, build the pdbedit
327 root# pdbedit-3.0.2 --force-initialized-passwords
329 This will disable all accounts not possessing a valid password
330 (e.g. the password field has been set a string of X's).
332 Samba servers running 3.0.2 are not vulnerable to this bug
333 regardless of whether or not pdbedit has been used to sanitize
336 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
339 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
340 o Logging onto a Samba domain from Windows XP clients.
341 o Problems with the %U and %u smb.conf variables in relation to
342 Windows 9x/ME clients.
343 o Kerberos failures due to an invalid in memory keytab detection
345 o Updates to the ntlm_auth tool.
346 o Fixes for various SMB signing errors.
347 o Better separation of WINS and DNS queries for domain controllers.
348 o Issues with nss_winbind FreeBSD and Solaris.
349 o Several crash bugs in smbd and winbindd.
350 o Output formatting fixes for smbclient for better compatibility
351 with scripts based on the 2.2 version.
360 Parameter Name Action
361 -------------- ------
362 ldap replication sleep New
363 read size removed (unused)
364 source environment removed (unused)
370 Please refer to the CVS log for the SAMBA_3_0 branch for complete
371 details. The list of changes per contributor are as follows:
373 o Jeremy Allison <jra@samba.org>
374 * Revert change that broke Exchange clear text samlogons.
375 * Fix gcc 3.4 warning in MS-DFS code.
376 * Tidy up of NTLMSSP code.
377 * Fixes for SMB signing errors
378 * BUG 815: Workaround NT4 bug to support plaintext
379 password logins and UNICODE.
380 * Fix SMB signing bug when copying large files.
381 * Correct error logic in mkdir_internals() (caused a panic
382 when combined with --enable-developer).
383 * BUG 830: Protect against crashes due to bad character
387 o Petri Asikainen <paca@sci.fi>
388 * BUG 330, 387:Fix single valued attribute updates when
389 working with Novell NDS.
392 o Andrew Bartlet <abartlet@samba.org>
393 * Correctly handle per-pipe NTLMSSP inside a NULL session.
394 * Fix segfault in gencache
395 * Fix early free() of encrypted_session_key.
396 * Change DC lookup routines to more carefully separate
397 DNS names (realms) from NetBIOS domain names.
398 * Add new sid_to_dn() function for internal winbindd use.
399 * Refactor cli_ds_enum_domain_trusts().
400 * BUG 707: Implement range retrieval of ADS attributes (based
401 on work from Volker <vl@samba.org> and Guenther Deschner
403 * Automatically initialize the signing engine if a session key
405 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
406 encoded strings, only form input in SWAT.
407 * Resets the NTLMSSP state for new negotiate packets.
408 * Add 2-byte alignments in net_samlogon() queries to parse
409 odd-length plain text passwords.
410 * Allow Windows groups with no members in winbindd.
411 * Allow normal authentication in the absence of a server
412 generated session key.
413 * More optimizations for looking up UNIX group lists.
414 * Clean up error codes and return values for pam_winbindd
415 and winbindd PAM interface.
416 * Fix string return values in ntlm_auth tool.
417 * Fix segfault when 'security = ads' but no realm is defined.
418 * BUG 722: Allow winbindd to map machine accounts to uids.
419 * More cleanups for winbindd's find_our_domain().
420 * More clearly detect whether a domain controller is an NT4
421 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
422 * Increase separation between DNS queries for hosts and queries
423 for AD domain controllers.
424 * Include additional NT_STATUS to PAM error mappings.
425 * Password initialization fixes.
428 o Justin Baugh <justin.baugh@request.com>
429 * BUG 948: Implement missing functions required for FreeBSD
433 o Alexander Bokovoy <ab@samba.org>
434 * BUG 922: Make sure enable fast path for strlower_m() and
438 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
439 * Fix crash when using 'security = server' and 'encrypt
440 passwords = no' by always initializing the session key.
443 o Dmitry Butskoj <buc@odusz.elektra.ru>
444 * Fix for special files being hidden from admins.
447 o Gerald (Jerry) Carter <jerry@samba.org>
448 * Fix bug in the lanman session key generation. Caused
449 "decode_pw: incorrect password length" error messages.
450 * Save the right case for the located user name in
451 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
452 * BUG 897: Add well known rid for pre win2k compatible access
454 * BUG 887: Correct typo in delete user script example.
455 * Use short lived TALLOC_CTX* for allocating printer objects
456 from the print handle cache.
457 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
458 * Fix several warnings reported by the SUN Forte C compiler.
459 * Fully control DNS queries for AD DC's using 'name resolve order'.
460 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
461 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
462 * BUG 936: fix bind credentials for schannel binds in smbd.
463 * BUG 446: Fix output of smbclient for better compatibility
464 with scripts based on the 2.2 version (including Amanda).
465 * BUG 891, 949: Fedora packaging fixes.
466 * Fix bug that caused rpcclient to incorrectly retrieve
467 the SID for a server (this causing all calls that required
468 this information to fail).
469 * BUG 977: Don't create a homes share for a user if a static
470 share already exists by the same name.
471 * Removed unused smb.conf options.
472 * Password initialization fixes.
473 * Set the disable flag for template accounts created by
475 * Disable any account has no passwords and does not have the
476 ACB_PWNOTREQ bit set.
479 o Guenther Deschner <gd@suse.com>
480 * Install smbwrapper.so should be put into the $(libdir)
482 * Add the capability to specify the new user password
483 for "net ads password" on the command line.
484 * Correctly detect AFS headers on SuSE.
487 o James Flemer <jflemer@uvm.edu>
488 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
489 HAVE_SYS_ATTRIBUTES_H.
492 o Luke Howard <lukeh@PADL.COM>
493 * Fix segfault in session setup reply caused by a early free().
496 o Stoian Ivanov <sdr@bultra.com>
497 * Implement grepable output for smbclient -L.
500 o LaMont Jones <lamont@debian.org>
501 * BUG 225328 (Debian): Correct false failure LFS test that resulted
502 in _GNU_SOURCE not being defined (thus resulting in strndup()
506 o Volker Lendecke <vl@samba.org>
507 * BUG 583: Ensure that user names always contain the short
508 version of the domain name.
509 * Fix our parsing of the LDAP uri.
510 * Don't show the 'afs username map' in the SWAT basic view.
511 * Fix SMB signing issues in relation to failed NTLMSSP logins.
512 * BUG 924: Fix return codes in smbtorture harness.
513 * Always lower-case usernames before handing it to AFS code.
514 * Add a German translation for SWAT.
515 * Fix a segfaults in winbindd.
516 * Fix the user's domain passed to register_vuid() from
517 reply_spnego_kerberos().
518 * Add NSS example code in nss_winbind to convert UNIX
519 id's <-> Windows SIDs.
520 * Display more descriptive error messages for login via 'net'.
521 * Fix compiler warning in the net tool.
522 * Fix length bug when decoding base64 strings.
523 * Ensure we don't call getpwnam() inside a loop that is iterating
524 over users with getpwent(). This broke on glibc 2.3.2.
527 o Herb Lewis <herb@samba.org>
528 * Fix bit rot in psec.
531 o Jianliang Lu <j.lu@tiesse.com>
532 * Ensure we delete the group mapping before calling the delete
534 * Define well known RID for managing the "Power Users" group.
535 * BUG 381: check builtin (not local) group SID when updating
537 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
541 o John Klinger <john.klinger@lmco.com>
542 * Implement initgroups() call in nss_winbind on Solaris.
545 o Jim McDonough <jmcd@us.ibm.com>
546 * Fix regression in net rpc join caused by recent changes
547 to cli_lsa_query_info_policy().
548 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
552 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
553 * BUG 570: Ensure that configure honors the LDFLAGS variable.
556 o Stefan Metzmacher <metze@samba.org>
557 * Implement LDAP rebind sleep patch.
558 * Revert to 2.2 quota code because of so many broken quota files
560 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
561 XFS_USER_QUOTA -> USRQUOTA
562 XFS_GROUP_QUOTA -> GRPQUOTA
563 * Fix disk_free calculation with group quotas.
564 * Add debug class 'quota' and a lot of DEBUG()'s
566 * Fix sys_chown() when no chown() is present.
567 * Add SIGABRT to fault handling in order to catch got a
568 backtrace if an error occurs the OpenLDAP client libs.
572 * Allow an existing LDAP machine account to be re-used when
573 joining an AD domain.
576 o James Peach <jpeach@sgi.com>
577 * BUG 889: Change smbd to use pread/pwrite on platforms that
578 support these calls. Can lead to a significant speed increase.
581 o Tim Potter <tpot@samba.org>
582 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
583 * BUG 924: Fix typo in RW2 torture test.
586 o Richard Sharpe <shape@samba.org>
587 * Small fixes to torture.c to cleanup the error handling
591 o J. Tournier <jerome.tournier@IDEALX.com>
592 * Small fixes for the smbldap-tool scripts.
595 o Andrew Tridgell <tridge@samba.org>
596 * Fix src len check in pull_usc2().
599 o Jelmer Vernooij <jelmer@samba.org>
600 * Put functions for generating SQL queries in pdb_sql.c
601 * Add pgSQL backend (based on patch by Hamish Friedlander)
602 * BUG 908: Fix -s option to smbcontrol.
603 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
604 * Fix for libnss_wins on IRIX platforms.
605 * Fix swatdir for --with-fhs.
608 --------------------------------------------------
610 =============================
611 Release Notes for Samba 3.0.1
613 =============================
615 Some of the more common bugs in 3.0.0 addressed in the release
618 o Substitution problems with smb.conf variables.
619 o Errors in return codes which caused some applications
620 to fail to open files.
621 o General Protection Faults on Windows 2000/XP clients
622 using Samba point-n-print features.
623 o Several miscellaneous crash bugs.
624 o Access problems when enumerating group mappings are
625 stored in an LDAP Directory.
626 o Several common SWAT bugs when writing changes to
628 o Internal inconsistencies when 'winbind use default
634 ----------------------
636 Parameter Name Action
637 -------------- ------
638 hide local users Removed
639 mangled map Deprecated
640 mangled stack Removed
641 passwd chat timeout New
647 o Change the interface for init_unistr2 to not take a length
648 but a flags field. We were assuming that
649 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
650 o Allow d_printf() to handle strings with escaped quotation
651 marks since the msg file includes the escape character (bug 489).
652 o Fix bad html table row termination in SWAT wizard code (bug 413).
653 o Fix to parse the level-2 strings.
654 o Fix for "valid users = %S" in [homes]. Fix read/write
656 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
657 This is the same way AC_CHECK_LIB works (bug 508).
658 o Testparm output fixes for clarity.
659 o Fix broken wins hook functionality -- i18n bug (bug 528).
660 o Take care of condition where DOS and NT error codes must differ.
661 o Default to using only built-in charsets when a working iconv
662 implementation cannot be located.
663 o Wrap internals of sys_setgroups() so the sys_XX() call can
664 be done unconditionally (bug 550).
665 o Remove duplicate smbspool link on SWAT's front page (bug 541).
666 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
667 --enable-debug=[yes|no] works correctly.
668 o Allow ^C to interrupt smbpasswd if using our getpass
669 (e.g. smbpasswd command).
670 o Support signing only on RPC's (bug 167).
671 o Correct bug that prevented Excel 2000 clients from opening
672 files marked as read-only.
673 o Portability fix bugs 546 - 549).
674 o Explicitly initialize the value of AR for vendor makes that don't
675 do this (e.g. HPUX 11). (bug 552).
676 o More i18n fixes for SWAT (bug 413).
677 o Change the cwd before the postexec script to ensure that a
679 o Correct double free that caused winbindd to crash when a DC
680 is rebooted (bug 437).
681 o Fix incorrect mode sum (bug 562).
682 o Canonicalize SMB_INFO_ALLOCATION in the same was as
683 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
684 o Add script to generate *msg files.
685 o Add Dutch SWAT translation file.
686 o Make sure to call get_user_groups() with the full winbindd
687 name for a user if he/she has one (bug 406).
688 o Fix up error code returns from Samba4 tester. Ensure invalid
689 paths are validated the same way.
690 o Allow Samba3 to pass the Samba4 RAW-READ tests.
691 o Refuse to configure if --with-expsam=$BACKEND was used but no
692 libraries were found for $BACKEND.
693 o Move sysquotas autoconf tests to a separate file.
694 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
696 o Make sure that the files that contain the static_init_$subsystem;
697 macro get recompiled after configure by removing the object
699 o Ensure canceling a blocking lock returns the correct error
701 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
702 o Updated Japanese welcome file in SWAT.
703 o Fix to nt-time <-> unix-time functions reversible.
704 o Ensure that winbindd uses the the escaped DN when querying
706 o Fix portability issues when compiling (bug 505, 550)
707 o Compile fix for tdbbackup when Samba needs to override
708 non-C99 compliant implementations of snprintf().
709 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
710 o Make sure we break out of samsync loop on error.
711 o Ensure error code path doesn't free unmalloc()'d memory
713 o Add configure test for krb5_keytab_entry keyblock vs key
716 o Modified testparm so that all output so all debug output goes
717 to stderr, and all file processing goes to stdout.
718 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
720 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
721 we have a devmode before copying a string to the devicename.
722 o Support mapping REALM.COM\user to a local user account (without
723 running winbindd) for compatibility with 2.2.x release.
724 o Ensure we don't use mmap() on blacklisted systems.
725 o fixed a number of bugs and memory leaks in the AIX
727 o Call initgroups() in SWAT before becomming the user so that
728 secondary group permissions can be used when writing to
730 o Fix signing problems when reverse connecting back to a
731 client for printer notify
732 o Fix signing problems caused by a miss-sequence bug.
733 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
734 Fixes NEXUS tools running on Win9x clients (bug 64).
735 o Don't leave the domain field uninitialized in cli_lsa.c if some
736 SID could not be mapped.
737 o Fix segfault in mount.cifs helper when there is no options
738 specified during mount.
739 o Change the \n after the password prompt to go to tty instead
741 o Stop net -P from prompting for machine account password (bug 451).
742 o Change in behavior to Not only change the effective uid but also
743 the real uid when becoming unprivileged.
744 o Cope with Exchange 5.5 cleartext pop password auth.
745 o New files for support of initshutdown pipe. Win2k doesn't
746 respond properly to all requests on the winreg pipe, so we need
747 to handle this new pipe (bug 534).
748 o Added more va_copy() checks in configure.in.
749 o Include fixes for libsmbclient build problems.
750 o Missing UNIX -> DOS codepage conversion in lanman.c.
751 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
752 o Parameterize the listen backlog in smbd and make it larger by
753 default. A backlog of 5 is way too small these days.
754 o Check for an invalid fid before dereferencing the fsp pointer
756 o Remove invalid memory frees and return codes in pdb_ldap.c.
757 o Prompt for password when invoking --set-auth-user and no
759 o Bind the nmbd sending socket to the 'socket address'.
760 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
761 $LDFLAGS occurs before any library specification (bug 661).
762 o Fix large number of printf() calls for 64-bit size_t.
763 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
764 keyblock in the krb5 structs.
765 o Remove #include <compat.h> in hopes to avoid problems with
767 o Correct winbindd build problems on HP-UX 11.
768 o Lowercase netgroups lookups (bug 703).
769 o Use the actual size of the buffer in strftime instead of a made
770 up value which just happens to be less than sizeof(fstring).
772 o Add ldaplibs to pdbedit link line (bug 651).
773 o Fix crash bug in smbclient completion (bug 659).
774 o Fix packet length for browse list reply (bug 771).
775 o Fix coredump in cli_get_backup_list().
776 o Make sure that we expand %N (bug 612).
777 o Allow rpcclient adddriver command to specify printer driver
779 o Compile tdbdump by default.
780 o Apply patches to fix iconv detection for FreeBSD.
781 o Do not allow the 'guest account' to be added to a passdb backend
782 using smbpasswd or pdbedit (bug 624).
783 o Save LDFLAGS during iconv detection (bug 57).
784 o Run krb5 logins through the username map if the winbindd
785 lookup fails (bug 698).
786 o Add const for lp_set_name_resolve_order() to avoid compiler
788 o Add support for the %i macro in smb.conf to stand in for the for
789 the local IP address to which a client connected.
790 o Allow winbindd to match local accounts to domain SID when
791 'winbind trusted domains only = yes' (bug 680).
792 o Remove code in idmap_ldap that searches the user suffix and group
793 suffix. It's not needed and provides inconsistent functionality
794 from the tdb backend.
795 o Patch to handle munged dial string for Windows 2000 TSE.
796 Thanks to Gaz de France, Direction de la Recherche, Service
797 Informatique Métier for their supporting this work by Aurelien
798 Degrémont <adegremont@idealx.com>.
799 o Correct the "smbldap_open: cannot access when not root error"
800 messages when looking up group information (bug 281).
801 o Skip over the winbind separator when looking up a user.
802 This fixes the bug that prevented local users from
803 matching an AD user when not running winbindd (bug 698).
804 o Fix a problem with configure on *BSD systems. Make sure
805 we add -liconv etc to LDFLAGS.
806 o Fix core dump bug when "security = server" and the authentication
808 o Correct crash bug due to an empty munged dial string.
809 o Show files locked by a specific user (smbstatus -u 'user')
811 o Fix bug preventing print jobs from display in the queue
812 monitor used by Windows NT and later clients (bug 660).
813 o Fix several reported problems with point-n-print from
814 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
815 reply (bug 338, 527 & 643).
816 o Fix a handful of potential memory leaks in the LDAP code used
817 by ldapsam[_compat] and the LDAP idmap backend.
818 o Fix for pdbedit error code returns (bug 763).
819 o Make sure we only enumerate group mapping entries (not
820 /etc/group) even when doing local aliases.
821 o Relax check on the pipe name in a dce/rpc bind response to work
822 around issues with establishing trusts to a Windows 2003 domain.
823 o Ensure we mangle names ending in '.' in hash2 mangling method.
824 o Correct parsing issues with munged dial string.
825 o Fix bugs in quota support for XFS.
826 o Add a cleaner method for applications that need to provide
827 name->SID mappings to do this via NSS rather than having to
828 know the winbindd pipe protocol.
829 o Adds a variant of the winbindd_getgroups() call called
830 winbindd_getusersids() that provides direct SID->SIDs listing of
831 a users supplementary groups. This is enough to allow non-Samba
832 applications to do ACL checking.
833 o Make sure we don't append the 'ldap suffix' when writing out the
834 'ldap XXX suffix' values in SWAT (bug 328).
835 o Fix renames across file systems.
836 o Ensure that items in a list of strings containing whitespace are
837 written out surrounded by single quotes. This means that both
838 double and single quotes are now used to surround strings in
840 o Enable SWAT to correctly determine if winbindd is running (bug
842 o Include WWW-Authenticate field in 401 response for bad auth
844 o Add support for NTLM2 (NTLMv2 session security).
845 o Add support for variable-length session keys.
846 o More privilege fixes for group enumeration in LDAP (bug 281).
847 o Use the dns name (or IP) as the originating client name when
848 using CUPS (bug 467).
849 o Fix various SMB signing bugs.
850 o Fix ACL propagation on a DFS root (bug 263).
851 o Disable NTLM2 for RPC pipes.
852 o Allow the client to specify the NTLM2 flags got NTLMSSP
854 o Change the name of the job passed off to cups from "Test Page"
855 to "smbprn.00000033 Test Page" so that we can get the smb
856 jobid back. This allow users to delete jobs with cups printing
857 backend (partial work on bug 770).
858 o Fix build of winbindd with static pdb modules.
859 o Retrieve the correct ACL group bits if the file has an ACL
861 o Implement "net rpc group members": Get members of a domain group
862 in human-readable format.
863 o Add MacOSX (Darwin) specific charset module code.
864 o Use samr_dispinfo(level == 1) for enumerating domain users so we
865 can include the full name in gecos field (bug 587).
866 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
867 o Implement 'net rpc group list [global|local|builtin]*' for a
868 select listing of the respective user databases.
869 o Don't automatically set NT status code flag unless client tells
871 o Add 'net status [sessions|shares] [parseable]'.
872 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
874 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
876 o Fix inverted logic in hosts allow/deny checks caused by
877 s/strcmp/strequal/ (bug 846).
878 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
879 o Fix typo in 'hash' mangling algorithm.
880 o Support munged dial for ldapsam (bug 800).
881 o Fix process_incoming_data() to return the number of bytes handled
882 this call whether we have a complete PDU or not; fixes bug
883 with multiple PDU request rpc's broken over SMBwriteX calls
885 o Fix incorrect smb flags2 for connections to pre-NT servers
886 (causes smbclient to fail to OS2 for example) (bug 821).
887 o Update version string in smbldap-tools Makefile to 0.8.2.
888 o Correct a problem with "net rpc vampire" mis-parsing the
889 alias member info reply.
890 o Ensure the ${libdir} is created by the installclientlib script.
891 o Fix detection of Windows 2003 client architecture in the smb.conf
893 o Ensure that smbd calls the add user script for a missing UNIX
894 user on kerberos auth call (bug 445).
895 o Fix bugs in hosts allow/deny when using a mismatched
896 network/netmask pair.
897 o Protect alloc_sub_basic() from crashing when the source string
898 is NULL (partial work on bug 687).
899 o Fix spinlocks on IRIX.
900 o Corrected some bad destination paths when running "configure
902 o Add packaging files for Fedora Core 1.
903 o Correct bug in SWAT install script for non-english languages.
904 o Support character set ISO-8859-1 internally (bug 558).
905 o Fixed more LDAP access errors when looking up group mappings
907 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
908 resolution to fail on local files on on domain members
910 o Fix uninitialized variable in passdb.c.
911 o Fix formal parameter type in get_static() in nsswitch/wins.c.
912 o Fix problem mounting directories when mount.cifs is installed
913 with the setuid bit on.
914 o Fix bug that prevent --mandir from overriding the defaults
915 given in the --with-fhs macro.
916 o Fix bug in in-memory Kerberos keytab detection routines
921 ######################################################################
923 The original 3.0.0 release notes follow
924 =======================================
925 WHATS NEW IN Samba 3.0.0
927 =======================================
933 1) Active Directory support. Samba 3.0 is now able to
934 join a ADS realm as a member server and authenticate
935 users using LDAP/Kerberos.
937 2) Unicode support. Samba will now negotiate UNICODE on the wire
938 and internally there is now a much better infrastructure for
939 multi-byte and UNICODE character sets.
941 3) New authentication system. The internal authentication system
942 has been almost completely rewritten. Most of the changes are
943 internal, but the new auth system is also very configurable.
945 4) New default filename mangling system.
947 5) A new "net" command has been added. It is somewhat similar to
948 the "net" command in windows. Eventually we plan to replace
949 numerous other utilities (such as smbpasswd) with subcommands
952 6) Samba now negotiates NT-style status32 codes on the wire. This
953 improves error handling a lot.
955 7) Better Windows 2000/XP/2003 printing support including publishing
956 printer attributes in active directory.
958 8) New loadable module support for passdb backends and character
961 9) New default dual-daemon winbindd support for better performance.
963 10) Support for migrating from a Windows NT 4.0 domain to a Samba
964 domain and maintaining user, group and domain SIDs.
966 11) Support for establishing trust relationships with Windows NT 4.0
969 12) Initial support for a distributed Winbind architecture using
970 an LDAP directory for storing SID to uid/gid mappings.
972 13) Major updates to the Samba documentation tree.
974 14) Full support for client and server SMB signing to ensure
975 compatibility with default Windows 2003 security settings.
977 15) Improvement of ACL mapping features based on code donated by
981 Plus lots of other improvements!
984 Additional Documentation
985 ------------------------
987 Please refer to Samba documentation tree (included in the docs/
988 subdirectory) for extensive explanations of installing, configuring
989 and maintaining Samba 3.0 servers and clients. It is advised to
990 begin with the Samba-HOWTO-Collection for overviews and specific
991 tasks (the current book is up to approximately 400 pages) and to
992 refer to the various man pages for information on individual options.
994 We are very glad to be able to include the second edition of
995 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
996 (O'Reilly & Associates) in this release. The book is available
997 on-line at http://samba.org/samba/docs/ and is included with
998 the Samba Web Administration Tool (SWAT). Thanks to the authors and
999 publisher for making "Using Samba" under the GNU Free Documentation
1003 ######################################################################
1004 Upgrading from a previous Samba 3.0 beta
1005 ########################################
1007 Beginning with Samba 3.0.0beta3, the RID allocation functions
1008 have been moved into winbindd. Previously these were handled
1009 by each passdb backend. This means that winbindd must be running
1010 to automatically allocate RIDs for users and/or groups. Otherwise,
1011 smbd will use the 2.2 algorithm for generating new RIDs.
1013 If you are using 'passdb backend = tdbsam' with a previous Samba
1014 3.0 beta release (or possibly alpha), it may be necessary to
1015 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
1016 to winbindd_idmap.tdb. To do this:
1018 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
1020 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
1022 3) run: (note that 'tdb>' is the tool's prompt for input)
1024 root# ./tdbtool /usr/local/samba/private/passdb.tdb
1025 tdb> show RID_COUNTER
1029 [000] 0A 52 00 00 .R.
1031 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
1035 If you are using 'passdb backend = ldapsam', it will be necessary to
1036 store idmap entries in the LDAP directory as well (i.e. idmap backend
1037 = ldap). Refer to the 'net idmap' command for more information on
1038 migrating SID<->UNIX id mappings from one backend to another.
1040 If the RID_COUNTER record does not exist, then these instructions are
1041 unneccessary and the new RID_COUNTER record will be correctly generated
1046 ########################
1047 Upgrading from Samba 2.2
1048 ########################
1050 This section is provided to help administrators understand the details
1051 involved with upgrading a Samba 2.2 server to Samba 3.0.
1057 Many of the options to the GNU autoconf script have been modified
1058 in the 3.0 release. The most noticeable are:
1060 * removal of --with-tdbsam (is now included by default; see section
1061 on passdb backends and authentication for more details)
1063 * --with-ldapsam is now on used to provided backward compatible
1064 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
1065 backend and authentication section for more details
1067 * inclusion of non-standard passdb modules may be enabled using
1068 --with-expsam. This includes an XML backend and a mysql backend.
1070 * removal of --with-msdfs (is now enabled by default)
1072 * removal of --with-ssl (no longer supported)
1074 * --with-utmp now defaults to 'yes' on supported systems
1076 * --with-sendfile-support is now enabled by default on supported
1083 This section contains a brief listing of changes to smb.conf options
1084 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
1085 complete descriptions of new or modified parameters.
1087 Removed Parameters (order alphabetically):
1090 * alternate permissions
1093 * code page directory
1095 * domain admin group
1096 * domain guest group
1097 * force unknown acl user
1103 * printer driver file
1104 * printer driver location
1106 * source environment
1114 New Parameters (new parameters have been grouped by function):
1118 * abort shutdown script
1121 User and Group Account Management
1122 ---------------------------------
1124 * add machine script
1125 * add user to group script
1126 * algorithmic rid base
1127 * delete group script
1128 * delete user from group script
1130 * set primary group script
1136 * passwd chat timeout
1140 * client lanman auth
1141 * client NTLMv2 auth
1147 * paranoid server security
1156 * hide special files
1157 * hide unwriteable files
1159 * kernel change notify
1169 * max reported print jobs
1171 UNICODE and Character Sets
1172 --------------------------
1178 SID to uid/gid Mappings
1179 -----------------------
1183 * winbind enable local accounts
1184 * winbind trusted domains only
1185 * template primary group
1186 * enable rid algorithm
1193 * ldap machine suffix
1195 * ldap replication sleep
1198 General Configuration
1199 ---------------------
1203 Modified Parameters (changes in behavior):
1205 * encrypt passwords (enabled by default)
1206 * mangling method (set to 'hash2' by default)
1209 * restrict anonymous (integer value)
1210 * security (new 'ads' value)
1211 * strict locking (enabled by default)
1212 * unix extensions (enabled by default)
1213 * winbind cache time (increased to 5 minutes)
1214 * winbind uid (deprecated in favor of 'idmap uid')
1215 * winbind gid (deprecated in favor of 'idmap gid')
1221 This section contains brief descriptions of any new databases
1222 introduced in Samba 3.0. Please remember to backup your existing
1223 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
1224 upgrade databases as they are opened (if necessary), but downgrading
1225 from 3.0 to 2.2 is an unsupported path.
1227 Name Description Backup?
1228 ---- ----------- -------
1229 account_policy User policy settings yes
1230 gencache Generic caching db no
1231 group_mapping Mapping table from Windows yes
1232 groups/SID to unix groups
1233 winbindd_idmap ID map table from SIDS to UNIX yes
1235 namecache Name resolution cache entries no
1236 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
1237 returned as part of a successful
1238 net_sam_logon request
1239 printing/*.tdb Cached output from 'lpq no
1240 command' created on a per print
1242 registry Read-only samba registry skeleton no
1243 that provides support for exporting
1244 various db tables via the winreg RPCs
1250 The following issues are known changes in behavior between Samba 2.2 and
1251 Samba 3.0 that may affect certain installations of Samba.
1253 1) When operating as a member of a Windows domain, Samba 2.2 would
1254 map any users authenticated by the remote DC to the 'guest account'
1255 if a uid could not be obtained via the getpwnam() call. Samba 3.0
1256 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
1257 current work around to re-establish the 2.2 behavior.
1259 2) When adding machines to a Samba 2.2 controlled domain, the
1260 'add user script' was used to create the UNIX identity of the
1261 machine trust account. Samba 3.0 introduces a new 'add machine
1262 script' that must be specified for this purpose. Samba 3.0 will
1263 not fall back to using the 'add user script' in the absence of
1264 an 'add machine script'
1267 ######################################################################
1268 Passdb Backends and Authentication
1269 ##################################
1271 There have been a few new changes that Samba administrators should be
1272 aware of when moving to Samba 3.0.
1274 1) encrypted passwords have been enabled by default in order to
1275 inter-operate better with out-of-the-box Windows client
1276 installations. This does mean that either (a) a samba account
1277 must be created for each user, or (b) 'encrypt passwords = no'
1278 must be explicitly defined in smb.conf.
1280 2) Inclusion of new 'security = ads' option for integration
1281 with an Active Directory domain using the native Windows
1282 Kerberos 5 and LDAP protocols.
1284 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
1285 type which is neccessary for servers on which the
1286 administrator password has not been changed, or kerberos-enabled
1287 SMB connections to servers that require Kerberos SMB signing.
1288 Besides this one difference, either MIT or Heimdal Kerberos
1289 distributions are usable by Samba 3.0.
1292 Samba 3.0 also includes the possibility of setting up chains
1293 of authentication methods (auth methods) and account storage
1294 backends (passdb backend). Please refer to the smb.conf(5)
1295 man page for details. While both parameters assume sane default
1296 values, it is likely that you will need to understand what the
1297 values actually mean in order to ensure Samba operates correctly.
1299 The recommended passdb backends at this time are
1301 * smbpasswd - 2.2 compatible flat file format
1302 * tdbsam - attribute rich database intended as an smbpasswd
1303 replacement for stand alone servers
1304 * ldapsam - attribute rich account storage and retrieval
1305 backend utilizing an LDAP directory.
1306 * ldapsam_compat - a 2.2 backward compatible LDAP account
1309 Certain functions of the smbpasswd(8) tool have been split between the
1310 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
1311 utility. See the respective man pages for details.
1314 ######################################################################
1318 This section outlines the new features affecting Samba / LDAP
1324 A new object class (sambaSamAccount) has been introduced to replace
1325 the old sambaAccount. This change aids us in the renaming of
1326 attributes to prevent clashes with attributes from other vendors.
1327 There is a conversion script (examples/LDAP/convertSambaAccount) to
1328 modify and LDIF file to the new schema.
1332 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
1333 $ convertSambaAccount --sid=<Domain SID> \
1334 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
1335 --changetype=[modify|add]
1337 The <DOM SID> can be obtained by running 'net getlocalsid
1338 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
1339 the format of the generated LDIF output--either create new entries
1340 or modify existing entries.
1342 The old sambaAccount schema may still be used by specifying the
1343 "ldapsam_compat" passdb backend. However, the sambaAccount and
1344 associated attributes have been moved to the historical section of
1345 the schema file and must be uncommented before use if needed.
1346 The 2.2 object class declaration for a sambaAccount has not changed
1347 in the 3.0 samba.schema file.
1349 Other new object classes and their uses include:
1351 * sambaDomain - domain information used to allocate rids
1352 for users and groups as necessary. The attributes are added
1353 in 'ldap suffix' directory entry automatically if
1354 an idmap uid/gid range has been set and the 'ldapsam'
1355 passdb backend has been selected.
1357 * sambaGroupMapping - an object representing the
1358 relationship between a posixGroup and a Windows
1359 group/SID. These entries are stored in the 'ldap
1360 group suffix' and managed by the 'net groupmap' command.
1362 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
1363 automatically and contains the next available 'idmap uid' and
1366 * sambaIdmapEntry - object storing a mapping between a
1367 SID and a UNIX uid/gid. These objects are created by the
1368 idmap_ldap module as needed.
1370 * sambaSidEntry - object representing a SID alone, as a Structural
1371 class on which to build the sambaIdmapEntry.
1374 New Suffix for Searching
1375 ------------------------
1377 The following new smb.conf parameters have been added to aid in directing
1378 certain LDAP queries when 'passdb backend = ldapsam://...' has been
1381 * ldap suffix - used to search for user and computer accounts
1382 * ldap user suffix - used to store user accounts
1383 * ldap machine suffix - used to store machine trust accounts
1384 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
1385 * ldap idmap suffix - location of sambaIdmapEntry objects
1387 If an 'ldap suffix' is defined, it will be appended to all of the
1388 remaining sub-suffix parameters. In this case, the order of the suffix
1389 listings in smb.conf is important. Always place the 'ldap suffix' first
1392 Due to a limitation in Samba's smb.conf parsing, you should not surround
1393 the DN's with quotation marks.
1399 Samba 3.0 supports an ldap backend for the idmap subsystem. The
1400 following options would inform Samba that the idmap table should be
1401 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
1406 idmap backend = ldap:ldap://onterose/
1407 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
1408 idmap uid = 40000-50000
1409 idmap gid = 40000-50000
1411 This configuration allows winbind installations on multiple servers to
1412 share a uid/gid number space, thus avoiding the interoperability problems
1413 with NFS that were present in Samba 2.2.
1417 ######################################################################
1418 Trust Relationships and a Samba Domain
1419 ######################################
1421 Samba 3.0.0beta2 is able to utilize winbindd as the means of
1422 allocating uids and gids to trusted users and groups. More
1423 information regarding Samba's support for establishing trust
1424 relationships can be found in the Samba-HOWTO-Collection included
1425 in the docs/ directory of this release.
1427 First create your Samba PDC and ensure that everything is
1428 working correctly before moving on the trusts.
1430 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
1431 4.0 domain named WINDOWS:
1433 1) create the trust account for SAMBA in "User Manager for Domains"
1434 2) connect the trust from the Samba domain using
1435 'net rpc trustdom establish GLASS'
1437 To create a trustlationship with SAMBA as the trusted domain:
1439 1) create the initial trust account for GLASS using
1440 'smbpasswd -a -i GLASS'. You may need to create a UNIX
1441 account for GLASS$ prior to this step (depending on your
1442 local configuration).
1443 2) connect the trust from a WINDOWS DC using "User Manager
1446 Now join winbindd on the Samba PDC to the SAMBA domain using
1447 the normal steps for adding a Samba server to an NT4 domain:
1448 (note that smbd & nmbd must be running at this point)
1450 root# net rpc join -U root
1451 Password: <enter root password from smbpasswd file here>
1453 Start winbindd and test the join with 'wbinfo -t'.
1455 Now test the trust relationship by connecting to the SAMBA DC
1456 (e.g. POGO) as a user from the WINDOWS domain:
1458 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
1461 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
1463 $ smbclient //crystal/netlogon -U root -W WINDOWS
1466 ######################################################################
1470 Beginning with Samba3.0.0beta3, winbindd has been given new account
1471 manage functionality equivalent to the 'add user script' family of
1472 smb.conf parameters. The idmap design has also been changed to
1473 centralize control of foreign SID lookups and matching to UNIX
1477 Brief Description of Changes
1478 ----------------------------
1480 1) The sid_to_uid() family of functions (smbd/uid.c) have been
1481 reverted to the 2.2.x design. This means that when resolving a
1482 SID to a UID or similar mapping:
1484 a) First consult winbindd
1485 b) perform a local lookup only if winbindd fails to
1486 return a successful answer
1488 There are some variations to this, but these two rules generally
1491 2) All idmap lookups have been moved into winbindd. This means that
1492 a server must run winbindd (and support NSS) in order to achieve
1493 any mappings of SID to dynamically allocated UNIX ids. This was
1494 a conscious design choice.
1496 3) New functions have been added to winbindd to emulate the 'add user
1497 script' family of smbd functions without requiring that external
1498 scripts be defined. This functionality is controlled by the 'winbind
1499 enable local accounts' smb.conf parameter (enabled by default).
1501 However, this account management functionality is only supported
1502 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
1503 must be shared among multiple Samba servers (such as a PDC and BDCs),
1504 it will be necessary to define your own 'add user script', et. al.
1505 programs that place the accounts/groups in some form of directory
1506 such as NIS or LDAP. This requirement was deemed beyond the scope
1507 of winbind's account management functions. Solutions for
1508 distributing UNIX system information have been deployed and tested
1509 for many years. We saw no need to reinvent the wheel.
1511 4) A member of a Samba controlled domain running winbindd is now able
1512 to map domain users directly onto existing UNIX accounts while still
1513 automatically creating accounts for trusted users and groups. This
1514 behavior is controlled by the 'winbind trusted domains only' smb.conf
1515 parameter (disabled by default to provide 2.2.x winbind behavior).
1517 5) Group mapping support is wrapped in the local_XX_to_XX() functions
1518 in smbd/uid.c. The reason that group mappings are not included
1519 in winbindd is because the purpose of Samba's group map is to
1520 match any Windows SID with an existing UNIX group. These UNIX
1521 groups can be created by winbindd (see next section), but the
1522 SID<->gid mapping is retreived by smbd, not winbindd.
1528 * security = server running winbindd to allocate accounts on demand
1530 * Samba PDC running winbindd to handle the automatic creation of UNIX
1531 identities for machine trust accounts
1533 * Automtically creating UNIX user and groups when migrating a Windows NT
1534 4.0 PDC to a Samba PDC. Winbindd must be running when executing
1535 'net rpc vampire' for this to work.
1538 ######################################################################
1542 * There are several bugs currently logged against the 3.0 codebase
1543 that affect the use of NT 4.0 GUI domain management tools when run
1544 against a Samba 3.0 PDC. This bugs should be released in an early
1547 Please refer to https://bugzilla.samba.org/ for a current list of bugs
1548 filed against the Samba 3.0 codebase.
1551 ######################################################################
1552 Reporting bugs & Development Discussion
1553 #######################################
1555 Please discuss this release on the samba-technical mailing list or by
1556 joining the #samba-technical IRC channel on irc.freenode.net.
1558 If you do report problems then please try to send high quality
1559 feedback. If you don't provide vital information to help us track down
1560 the problem then you will probably be ignored.
1562 A new bugzilla installation has been established to help support the
1563 Samba 3.0 community of users. This server, located at
1564 https://bugzilla.samba.org/, has replaced the older jitterbug server
1565 previously located at http://bugs.samba.org/.