1 ==================================
2 Release Notes for Samba 3.0.11pre2
4 ===================================
6 This is a preview release of the Samba 3.0.11 code base and
7 is provided for testing only. This release is *not* intended
8 for production servers. However, there have been several bug
9 fixes since 3.0.10 that we feel are important to make available
10 to the Samba community for wider testing.
12 Common bugs fixed in 3.0.11pre2 include:
14 o Ineffeciencies when searching non-AD LDAP directories.
15 o Failure to expand variables in user domain attributes
16 in tdbsam and ldapsam.
18 o Failure to retrieve certain attribute when migrating from
19 a Windows DC to a Samba DC via 'net rpc vampire'.
21 Additional features introduced in Samba 3.0.11pre1:
23 o Support for the Windows privilege model to assign rights
25 o New adminstrative options to the 'net rpc' command.
29 ######################################################################
41 ldap password sync Alias
46 o Jeremy Allison <jra@samba.org>
47 * Fixes for libsmbclient to ensure that interrupted system calls
48 are restarted minus the already expired portion of the timeout
49 (based on work by Derrell Lipman).
50 * More unicode string parsing fixes.
51 * Convert the winreg pipe to use WERROR returns.
52 * Make all LDAP timeouts consistent (input from Joe Meadows
53 <jameadows@webopolis.com>).
54 * BUG 2231: Remove double "\\" from client findfirst.
55 * BUG 2238: Fix memory leak in shadow copy vfs.
56 * Return correct DOS/NT error code on transact named pipe on
58 * BUG 2211: Fix security descriptor parsing bug (based on work by
59 Mrinal Kalakrishnan <mail@mrinal.net>).
60 * BUG 2270: Fix memory leaks in cups printing backend support
61 (based on work by Lars Mueller).
62 * BUG 2255: Fix debug level in kerberos error messages.
65 o Andrew Bartlett <abartlet@samba.org>
66 * Don't store the auth-user credentials with the cli_state* as
67 this can cause the schannel setup to fail when the auth-user
68 domain is not our primary domain.
71 o Grigory Batalov <bga@altlinux.org>
72 * Fix encoding while receiving of a message which was actually
76 o Daniel Beschorner <db@unit-netz.de>
77 * BUG 603: Correct access mask check for _samr_lookup_domain()
78 to work with Windows RAS server
81 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
82 * Fix missing printer_tdb reference decrement.
85 o Gerald (Jerry) Carter <jerry@samba.org>
86 * Re-instantiate previous semantics for calling init_unistr2()
87 with a NULL source buffer.
88 * Support Windows privilege model for assigning rights
89 to specific SIDs. Based on work by Simo Sorce in the trunk
90 svn branch. This feature is controlled by the 'enable
91 privileges = [yes|no]' smb.conf(5) option.
92 * Add some smb.conf scripts for add/delete/change shares and
93 deleting cups printers.
94 * Expand variables in the profile path, logon home and logon script
95 values when using either tdbsam or ldapsam.
96 * Add Domain Admins (Full Control) to the default printer security
97 descriptor if we are a DC.
100 o Guenther Deschner <gd@samba.org>
101 * Allow rpcclient to define a port to use when connecting
103 * Allow Account Lockout with Lockout Duration "forever" (until
104 admin unlocks) to be set and displayed in User Manager.
105 * Allow to set acb_mask in rpcclient's enumdomusers.
106 * Add more generic rootDSE inspection function to check
107 for given controls or extensions and remember these on a
109 * Improve LDAP search efficiency by passing the acb_mask to
111 * Fixes for ldapsam_enum_group_memberships().
112 * Add createdomgroup to rpcclient.
113 * Add "net rpc user RENAME"-command.
114 * Display sam_user_info_7 in rpcclient.
115 * Make multi-domain-mode in idmap_rid accessible from outside
116 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
117 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
118 "Lockout Duration: Forever".
121 o Rob Foehl <rwf@loonybin.net>
122 * Implement caching of names from printcap to support a true
123 'printcap cache time'.
126 o Jeff Hardy <hardyjm@potsdam.edu>
127 * Example script for 'add print command' when using CUPS.
130 o William Jojo <jojowil@hvcc.edu>
131 * AIX 5.3 compile fixes.
134 o Volker Lendecke <vl@samba.org>
135 * Initial work to allow support for multiple pipe opens on a
137 * Ensure that we still retrieve the netbios name of any DC
138 listed as a 'password server' to work around cases where the
139 DC was defined using an IP address or fqdn.
140 * Fix memleak in winbindd connection code.
141 * Fix cli_samr_queryuseraliases.
142 * Allow wbinfo --user-sids to expand expand domain local groups.
145 o Jim McDonough <jmcd@us.ibm.com>
146 * BUG 2198: Set password last change time when running 'net rpc
148 * Add "refuse machine password change" policy field.
151 o Stefan Metzmacher <metze@samba.org>
155 o James Peach <jpeach@sgi.com>
156 * Fix rewinddir -> rewind_dir when using VFS macros.
159 o Simo Sorce <idra@samba.org>
160 * Allows the add/change share command to create the shared
161 directory directory on disk.
163 o Jelmer Vernooij <jelmer@samba.org>
164 * Fixes for pdb_mysql.
167 Changes for older versions follow below:
169 --------------------------------------------------
171 ==================================
172 Release Notes for Samba 3.0.11pre1
174 ===================================
176 Common bugs fixed in 3.0.11pre1 include:
178 o Numerous printing bugs bugs including memory
179 bloating on large/busy print servers.
180 o Compatibility issues with Exchange 5.5 SP4.
183 Additional features introduced in Samba 3.0.11pre1:
185 o Winbindd performance improvements.
186 o More 'net rpc vampire' functionality.
191 ######################################################################
200 Parameter Name Action
201 -------------- ------
202 afs token lifetime New
203 min password length Deprecated
209 o Jeremy Allison <jra@samba.org>
210 * Extend vfs to add seekdir/telldir/rewinddir.
212 * Fix bugs when handling secondary trans2 requests.
213 * Implementation of get posix acls in UNIX extensions.
214 * Added set posix acl functionality into the UNIX extensions code.
215 * Updated config.guess/config.sub .
216 * Fix error reply when 'follow symlinks = no'.
217 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
219 * Fixes for LARGE_READX support.
220 * Fix the problem we get on Linux where sendfile fails, but we've
221 already sent the header using send().
222 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
224 * BUG 2088: Ensure inherit permissions is only applied on a new
225 file, not an existing one.
226 * Don't go fishing for the krb5 authorization data unless we know
228 * BUG 2110: Ensure we convert to ucs2 correctly after the
230 * Make strict locking an enum. Auto means use oplock optimization.
231 * Fix client & server to allow 127k READX calls.
232 * More *alloc fixes (includes additional fixes by Albert Chin.
233 * Catch sendfile errors correctly and return the correct values
234 we want the caller to return.
237 o Timur Bakeyev <timur@com.bat.ru>
238 * BUG 2100: change the way we check for errors after a dlopen().
241 o Andrew Bartlett <abartlet@samba.org>
242 * Clarify error message when 'lanman auth = no'.
243 * Remove the unnecessary UTF-8 conversion calls in the calls to
244 auth_winbind from smbd.
247 o Gerald (Jerry) Carter <jerry@samba.org>
248 * BUG 2073: fall back to smb_name if current_user_info is not
249 available in lp_file_list_changed().
250 * Fixes the spurious 'register_message_flags: tdb fetch failed'
252 * Don't run the background LPQ daemon when we are running in
254 * prevent the background LPQ daemon from updating the print queue
255 cache just because multiple smbd processes sent a message that
257 * consolidate printer searches to use find_service rather than
259 * BUG 2091: don't remove statically defined printers in
260 remove_stale_printers().
261 * Fix logic error in add_a_form() that only compared N characters
262 instead of the entire form name.
263 * BUG 2107: fix memory bloating caused by large numbers of
264 print_queue_updates() requests sent via messages.tdb.
265 * Check the setprinter(3) based on the access permissions on
266 the handle and avoid the call to print_access_check().
269 o Nadav Danieli <nadavd@exanet.com>
270 * Short circuit some is_locked() tests if we are oplocked.
273 o Guenther Deschner <gd@samba.org>
274 * Allow 'localhost' as a valid server name in the smbd for the
276 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
277 Mewburn for the input).
278 * BUG 2059: Add additional checks needed after logic change to the
279 HAVE_WRFILE_KEYTAB detection test.
280 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
281 Samba DC. Allow us to lookup at least our own SID.
282 * More fixes to have proper German in swat (Thanks to Reiner
283 Klaproth and Björn Jacke.
284 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
285 setting security descriptors with smbcacls and using with
287 * Include the munged_dial, bad_password_count, logon_count, and
288 logon_hours attributes when running 'net rpc vampire'.
289 * Fix segfault in idmap_rid.
290 * When winbindd is operating in the multi-mapping mode of
291 idmap_rid, allow BUILTIN domain-mapping.
292 * Display infolevel 12 in query_dom_info in rpcclient.
293 * Fix bug in winbindd's lowercasing of usernames.
294 * Allow -v or -l for displaying verbose groupmap-listing
295 as well as "verbose".
296 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
298 * Close LDAP-Connection before retrying to open a new connection
300 * Marking "min password length" as depreciated.
301 * Implement SAMR query_dom_info-call info-level 8 server- and
302 client-side, based on samba4-idl.
306 o Jay Fenlason <fenlason@redhat.com>
307 * Fix crash in 'net join' due to calling free on
311 o Rob Foehl <rwf@loonybin.net>.
313 * Try modifying printer published attributes before adding it a
315 * Solaris packaging fixes.
316 * Don't force the cups printer-make-and-model tag as the comment
317 for autoloaded printers.
320 o Johann Hanne <jhml@gmx.net>
321 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
324 o David Hu <david.hu@hp.com>
325 * Copy structure from print_queue_update() message rather than
326 referencing it. Fixes seg fault on HP-UX.
329 o Buck Huppmann <buckh@pobox.com>
330 * BUG 2186: Don't free uninitialized credentials.
331 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
332 dnsDomainName != realm.
335 o Björn Jacke <bjoern@j3e.de>
336 * BUG 2040: Ensure the locale is reset to C to get ASCII-
337 compatible toupper/lower functions.
340 o William Jojo <jojowil@hvcc.edu>
341 * Fix HPUX sendfile and add configure.in tests and code for
345 o Volker Lendecke <vl@samba.org>
346 * Optimize anonymous session setups by workstations in a
348 * Reimplment the QueryUserAliases() server RPC reply.
349 * Re-add the getpwnam-cache for performance.
350 * Cache the result of a pdb_getsampwnam for later SID lookup
352 * Unify the means of localtaing a user's global groups on a
354 * Fix bug when serving the 'Start Menu' in a roaming user profile..
355 * Map more pre-defined NT security descriptors to AFS acls.
356 * Add timeout to AD search requests.
357 * If a connection to a DC is requested (in winbindd), open
358 connections simultaneously to all DCs found.
360 * Fix logic error in handling of 'printcap name' parameter.
361 * Prevent winbindd from SPAM'ing the log files with 'user root
363 * Backport samr_DomInfo2 IDL specification from Samba 4.
364 * Implement smbstatus -n, don't lookup users and groups.
365 * Implement simple mapping that maps the space to another character
366 defined by afsacl:space.
367 * Add support for 'net idmap delete <idmap-file> <SID>'.
368 * Add new parameter 'afs token lifetime' tells the AFS client
369 when to throw away a token (patch from kllin@it.su.se).
372 o Jim McDonough <jmcd@us.ibm.com>
373 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
374 clients. If it fails, fall back to WINREG.
375 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
378 o Luke Mewburn <lukem@NetBSD.org>
379 * BUG 2150: shmget() - Use POSIX definitions instead of non-
383 o Buchan Milne <bgmilne@mandrake.org>
384 * Mandrake packaging fixes.
387 o Lars Mueller <lmuelle@suse.de>
388 * Fix build of libsmbclient on x86_64.
389 * BUG 2013: Fix testsuite build issues when libsmbclient.so
390 is installed in a non-default location.
391 * BUG 2050: Calculate max_fd for select correctly.
392 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
396 o Jason Mader <jason@ncac.gwu.edu>
397 * BUG 2069: Remove unused variables.
398 * BUG 2075: Remove dead code paths.
399 * BUG 2083: Fix compiler warnings caused by bad type casts.
402 o Gavrie Philipson <gavrie@disksites.com>
403 * BUG 1838: Remove stale printers imeeddiately when
404 processing a SIGHUP and during smb.conf reload.
407 o Tim Potter <tpot@samba.org>
408 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
409 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
410 * Change the license for the winbindd external interface
412 * HP-UX compile fixes.
415 o Simo Sorce <idra@samba.org>
416 * Backport pdbedit changes from trunk.
419 o Andrew Tridgell <tridge@samba.org>
420 * Bring Samba3 into line with the Samba4 password change code.
423 o Jelmer Vernooij <jelmer@samba.org>
424 * Bug fixes for pdb_{xml,pqsql,xml}
427 o Shiro Yamada <shiro@miraclelinux.com>
428 * BUG 2190: Force SWAT to display parameters in unix charset and
432 --------------------------------------------------
433 ==============================
434 Release Notes for Samba 3.0.10
436 ==============================
438 Common bugs fixed in 3.0.10 include:
440 o Fix for security issues described in CAN-2004-1154.
451 o Jeremy Allison <jra@samba.org>
452 * Added checks surrounding all *alloc() calls to fix
454 * Fix long standing memory size bug in bitmap_allocate().
455 * Remove bogus error check in deferred open file serving
459 o Thomas Bork <tombork@web.de>
460 * Fix autoconf script on platforms using a version of GNU ld
461 that does not include a date stamp in the output of --version.
464 o Luke Mewburn <lukem@NetBSD.org>
465 * Fix the swat install script to deal with the new image
466 destination directory used by the docs.
470 --------------------------------------------------
472 =============================
473 Release Notes for Samba 3.0.9
475 =============================
477 Common bugs fixed in 3.0.9 include:
479 o Problem updating roaming user profiles.
480 o Crash in smbd when printing from a Windows 9x client.
481 o Unresolved symbols in libsmbclient which caused
482 applications such as KDE's konqueror to fail when
483 accessing smb:// URLs.
493 o Jeremy Allison <jra@samba.org>
494 * Correctly detect errno for no acl/ea support.
495 * BUG 2036: Fix seg fault in 'net ads join'.
498 o Gerald (Jerry) Carter <jerry@samba.org>
499 * Solaris packaging fixes.
500 * Fix seg fault in lanman printing code.
501 * BUG 2017: fix testparm reporting for the passwd program
503 * Fix output of smbstatus to match the man page.
504 * BUG 2027: fix conflict with declaration MD5_CTX in system
506 * 2028: Avoid false error messages when copying a long
507 printer name to the device mode.
510 o Guenther Deschner <gd@samba.org>
511 * Allow deldriverex in rpcclient to delete drivers for a
512 specific architecture and a specific version.
513 * Fix a couple of rpcclient spoolss commands (setprinter,
514 setprintername, getdriver) w.r.t to printer-naming scheme.
515 Allow 'localhost' in the server string for certain server-side
517 * BUG 2015: Do not fail on setting file attributes with
521 o Michel Gravey <michel.gravey@optogone.com>
522 * Fix build when using gcc 3.0.
525 o Volker Lendecke <vl@samba.org>
526 * Fix tdb open logic when checking our local_pid after
530 o Jim McDonough <jmcd@us.ibm.com>
531 * BUG 1932: Fix crash in 'net getlocalsid' when run as
535 o Luke Mewburn <lukem@NetBSD.org>
536 BUG 1661: Fix KRB5_SETPW-defines
539 o Buchan Milne <bgmilne@mandrake.org>
540 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
543 o Lars Müller <lmuelle@suse.de>
544 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
547 o Martin Zielinski <mz@seh.de>
548 * Add DeletePrinterDriverEx() functionality to rpcclient.
551 --------------------------------------------------
553 =============================
554 Release Notes for Samba 3.0.8
556 =============================
558 Common bugs fixed in 3.0.8 include:
560 o Compile fixes for HP-UX
561 o Fixes for the printer publishing code used when joined to
563 o Incompatibilities with file system quotas.
564 o Several bugs in the spoolss printing code and print system
566 o Inconsistencies in the username map functionality when
567 configured on domain member servers.
568 o Various compile warnings and errors on various platforms.
569 o Fixes for kerberos interoperability with Windows 200x
570 domains when using DES keys.
571 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
572 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
575 New features included in the 3.0.8 release are:
577 o New migration functionality added the the net tool
578 for files/directories, printers, and shares.
579 o New experimental idmap backend for assigning uids/gids
580 directly based on the user/group RID when acting as a
581 member of single domain without any trusts.
582 o Additional printer migration support for XP/2003 platforms.
585 Change in Winbindd Behavior
586 ---------------------------
588 All usernames returned by winbindd are now converted to lower
589 case for better consistency. This means any winbind installation
590 relying on the winbind username will need to rename existing
591 directories and/or files based on the username (%u and %U) to lower
592 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
593 include mail spool files, home directories, valid user lines in
597 Change in Username Map
598 ----------------------
600 Previous Samba releases would only support reading the fully qualified
601 username (e.g. DOMAIN\user) from the username map when performing a
602 kerberos login from a client. However, when looking up a map
603 entry for a user authenticated by NTLM[SSP], only the login name would be
604 used for matches. This resulted in inconsistent behavior sometimes
605 even on the same server.
607 Samba 3.0.8 obeys the following rules when applying the username
610 * When performing local authentication, the username map is
611 applied to the login name before attempting to authenticate
613 * When relying upon a external domain controller for validating
614 authentication requests, smbd will apply the username map
615 to the fully qualified username (i.e. DOMAIN\user) only
616 after the user has been successfully authenticated.
619 ######################################################################
628 Parameter Name Action
629 -------------- ------
630 force printername New
631 sendfile disabled by default
637 o Jeremy Allison <jra@samba.org>
638 * Ensure extended security bit is on only if we negotiated
640 * Simplify statcache to use an in-memory tdb.
641 * If you're selecting a hash algorithm for tdb, you need
642 to do it at open time.
643 * Removed old dir caching code - not being used now we
644 have the statcache anyway.
645 * Simplify the mangle hash code to use an in-memory tdb.
646 * Merge iconv changes from Samba 4 branch.
647 * Fix parsing of names ending in dot and a few other error
649 * BUG 1667: Smbpasswd file could be left locked on some
651 * Fixes for smbclient tar functionality.
652 * BUG 1743: Fix logic bug the deferred open code.
653 * Don't try to set security descriptors on shares where
654 this has been turned off.
655 * Return correct error codes on old SEARCH call.
656 * Ensure we set errno = E2BIG when we overflow in the
657 fast-path character conversion code.
658 * Fix the roundup problem (returning 1mb roundup) for
660 * Added 'stat' command to smbclient to exercise the
661 UNIX_FILE_BASIC info level.
662 * Fix bug where we could incorrectly set sparse attribute.
663 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
664 (reported by Taj Khattra <taj.khattra@gmail.com>).
665 * Remove locked keys tdb code.
666 * BUG 1886: Prevent delete on close being set for readonly files
667 (and return the correct error code).
668 * Ensure we pass most of the new lock tests except for the cancel
669 lock which is yet to be added (merged from Samba 4 branch).
670 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
671 * BUG 1956: Ensure errno is saved and restored consistently on a
673 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
674 that all of the appropriate service principal names are set
675 upon joining an AD domain.
676 * Fix the correct use of resume name in the trans2 code.
677 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
678 correct salt used when generated the DES key after joining an
680 * Enhanced krb5 detection routines in the autoconf scripts.
683 o Andrew Bartlett <abartlet@samba.org>
684 * Avoid changing the machine account password in the passdb
685 backend, when it has 'already been changed'. This occurs
686 in situations where the secure channel between the workstation
687 and the DC breaks down, such as occurred in the MS04-11
689 * Fix utility name in error message in ntlm_auth.
690 * Fix NTLMv2 for use with pam_winbind.
691 * Remove conversion to and from UTF8 on the winbind pipe.
692 * Allow 'require_membership_of' and 'require-membership-of'.
693 * Fix the error code for 'you didn't specify a domain' in
695 * Use sys_getgroups() rather than scanning all groups
696 when generating SAMR replies.
699 o Igor Belyi <sambauser@katehok.ac93.org>
700 * Ensure pdb user is deleted first before deleting UNIX
701 user (LDAP backend needs this ordering).
704 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
705 * Fix core dump in 'net rpc vampire'.
708 o Vince Brimhall <vbrimhall@novell.com>
709 * Make ldapsam_compat robust against NULL attributes.
712 o Gerald Carter <jerry@samba.org>
713 * Don't limit the number of groups returned by winbindd_getgroups()
715 * BUG 1519: Match Windows 2000 behavior when opening a
716 printer using a servername in the form of an IP address or
718 * BUG 1907: remove extra slashes from the printer name in
719 getprinterdriverdir_1().
720 * Fix standard_sub_snum() to use the current user's gid.
721 * Fix background queue update bug (based on Volker's initial work
723 * Add 'force printername' service parameter for people that want
724 to enforce printername == sharename for spoolss printing.
725 * Ensure consistent usage of the username map. Use the fully
726 qualified DOMAIN\user format for 'security = domain|ads' and
727 apply after authentication has succeeded.
728 * Cosmetic fix for getent output -- lowercase the username only
729 and not the complete domain\username string.
730 * Packaging fixes for Solaris, Redhat, & Fedora.
733 o Sean Chandler <sean.chandler@verizon.net>
734 * Fix memlieak in cliconnect.c.
737 o Darren Chew <darrenc@vicscouts.asn.au>
738 * Solaris packaging fixes.
741 o Nalin Dahyabhai <nalin@redhat.com>
742 * SMB signing fix for 56-bit DES session keys.
745 o Guenther Deschner <gd@samba.org>
746 * add IA64 to the architecture table of printer-drivers.
747 * Add file/share/printer migration functionality to
749 * Show correct help for net groupmap commands.
750 * Fix deadlock loop in winbind's required_membership_sid
752 * Bring the same level of "required_membership"-functionality
753 that ntlm_auth uses, to pam_winbindd as well.
754 * Prevent "net lookup kdc" from seg-faulting when
755 using our own implementation of krb5_lookup_kdc with
757 * Adding getprinter level 7 to rpcclient.
758 * Support migrating printers|shares|files from Server A
759 to Server B while running the net-command on client C.
760 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
761 failure of this call non-critical (Thanks to Love @ Heimdal
762 for the explanation and patch).
763 * Fix typos in net's usage-output.
764 * Fix the paranoia-check to ensure the ldap-attribute and the
765 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
767 * Fix several bugs in the _samr_query_useraliases() rpc reply.
768 * Check correct string length when verifying password-policies
769 and using extended characters (Thanks to Uwe Morgenroth from CC
770 Compunet and Volker).
771 * Make 'password history'-behavior in ldapsam more consistent.
772 * Adding "Windows x64" as architecture string and driverdir "x64"
773 for the 64bit AMD platform.
774 * BUG 1343: Readd WKGUID-binding to match the correct default-
775 locations of new User-, Group- and Machine-Accounts in Active
776 Directory (this got lost during the last trunk-merge).
777 * Fix printer-migration w.r.t. to new naming-convention for
779 * Allow to migrate win2k3/xp-drivers as well.
780 * Add client-side support of triggering ads printer publishing
781 over msrpc setprinter calls inside the net-tool.
782 * Add the idmap_rid module (written in conjunction with
783 Sumit Bose <sbose@suse.de>).
784 * BUG 1661: Fix build with recent heimdal releases.
785 * Prevent idmap_rid from making unnecessary calls to domain
786 controllers for trusted domains.
789 o Arthur van Dongen <avdongen@xs4all.nl>
790 * Fix typos in pam_winbind log messages and SuSE
794 o Rob Foehl <rwf@loonybin.net>
795 * Typo fixes for log messages in printer publishing code.
796 * Fix memory leak in printer publishing code.
797 * Ensure print_backend_init() only gets called once.
798 * Have smbd check the published status of all printers
800 * Cleanup up the XXX_a_printer() API for consistency.
801 * Refactored the printer publishing code and include better
805 o Steve French <sfrench@us.ibm.com>
806 * Fix IP address override in mount.cifs mount helper and clean
807 up warning messages from the sparse tool and expand syntax help.
808 * Strip guest mount option off before sending to kernel mount
809 routine to avoid logging spurious message.
812 o Satoh Fumiyasu <fumiya@samba.gr.jp>
813 * BUG 1732: Limit share names returned by RAP based on windows
814 character width, not unix character width.
815 * BUG 1498: Ensure that acl entries are stored in the correct
819 o Brett Funderburg <brett@deepfile.com>
820 * Pass create options parameter to nt_create_andx() function
821 from the python bindings.
822 * BUG 1864: Add sd->type field to security descriptor Python
824 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
825 when trying to return the security descriptor for a file.
826 * BUG 1884: Fixes for the Python bindings to use the value
827 of the desired_access filed passed into the lsa_open_policy()
831 o Michael Gravey <michel.gravey@optogone.com>
832 * BUG 1776: Fix warnings when building modules caused by
833 certain versions of GNU ld not using the the default
834 --allow-shlib-undefined flag.
837 o Chris Hertel <crh@samba.org>
838 * Fix logic bug in splay tree data structure when finding
840 * Fix bug where an invalid MAC address would be printed by
841 a node status lookup from nmblookup.
844 o Uli Iske <iske@elkb.de>
845 * Update the DNS/eDirectory LDAP schema file.
848 o Björn Jacke <bjacke@sernet.de>
849 * BUG 1766: Unify charset-handling in Content-Type:-headers to
850 UTF-8. Reformat msgstr in msg-files to UTF-8.
851 * Do not use display charset for swat output.
852 * Convert the share names correctly from unix encoding to web
853 encoding and vice versa.
854 * Convert files from status page from unix charset to UTF-8.
857 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
858 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
861 o Tom Lackemann <cessnatomny@yahoo.com>
862 * BUG 1954: Fix memory leak in posix acl code.
865 o Volker Lendecke <vl@samba.org>
866 * Robustnss fix for winbindd when sending multiple requests
867 at a high rate for a slow operation.
868 * Solve the problem of user sids ending up with gid's
870 * Use sys_fork instead of fork for the dual daemon so that
871 we get the correct debug pid in the logfiles.
872 * Based on patch from jmcd, implement special lists for the LDAP
873 user attributes to delete.
874 * Fix creation of aliases via usrmgr. Winbind was too strict
875 checking the type of sids.
876 * Lowercase all usernames returned by winbind.
877 * BUG 1545, 1823: Only issue the ldap extended password change
878 operation if the ldap server supports it. Also ignore object
879 class violation errors from the extended operation.
880 * Optimization for 'idmap backend = ldap': When asking sid2id
881 for the wrong type, don't ask ldap when we have the opposite mapping
883 * Fix ldapsam_compat homeDrive.
884 * Add usersidlist and allowedusers subcommands to the net tool
885 in order to support scanning a file server's share and list
886 all users who have permission to connect there.
887 * Allow for multiple DC's to be named as #1c names in lmhosts.
889 * Fix checks for the local pid of an smbd process after
893 o Herb Lewis <herb@samba.org>
894 * Added tdbtool to be built by default.
897 o Love <lha@stacken.kth.se>
898 * BUG 1955: Inconsistent error return.
901 o Sorin Manolache <sorinm@gmail.com>
905 o Jim McDonough <jmcd@us.ibm.com>
906 * Allow 'net ads lookup' to rely on command line arguments
907 if contacting an ADS server fails; utilize cldap for lookups.
908 * Fixup formatting errors in TDB_LOG calls; add printf attribute
909 support to tdb log functions.
912 o Bill McGonigle <bill+samba@bfccomputing.com>
913 * BUG 1926: Type in debug message.
917 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
921 o Luke Mewburn <lukem@NetBSD.org>
922 * BUG 1782: Prevent testparm from displaying parameter synonyms.
925 o Stefan Metzmacher <metze@samba.org>
926 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
927 * Fix client quota support.
928 * Fix opening of system quota file.
931 o Lars Mueller <lmuelle@suse.de>
932 * Small fixes for autogen.sh to deal with version detection
933 of autoconf and autoheader; fixes for examples using
934 libtool to adhere to stricter syntax of newer version.
937 o Henrik Nordstrom <hno@squid-cache.org>
938 * Allow winbindd to return the correct number of groups
939 when the groups array must be enlarged.
942 o Narayana Pattipati <narayana.pattipati@wipro.com>
943 * Solaris autoconf detection fixes.
946 o Tim Potter <tpot@samba.org>
947 * BUG 1360: (correct fix) Use -Wl when passing flags to
949 * HP-UX compile fixes (from JBravo on #samba-technical).
950 * BUG 1731: More HP-UX compiles fixes.
951 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
952 spits the dummy otherwise.
953 * Fix bug in Python printerdata wrapper.
954 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
955 <bugzilla-samba@thewrittenword.com>).
956 * Fix parameter confusion in priming of name-to-sid cache
957 (Found by Qiao Yang).
958 * BUG 1888: Remove '..' from all pre-processor commands.
959 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
963 o Matt Selsky <selsky@columbia.edu>
964 * BUG 350: use autoconf 2.57 feature for checking header file
965 preprocessing (fixes configure warnings on Solaris).
968 o Richard Renard <rrenard@idealx.com>
969 * Fix usermgr.exe and trust relationships.
972 o Paul Szabo <psz@maths.usyd.edu.au>
973 * Fix to make find_workgroup use the same
974 truncation as create_workgroup.
977 o Richard Sharpe <rsharpe@samba.org>
978 * Ensure cli_write() can support writes >= 65536 bytes.
981 o Simo Sorce <idra@samba.org>
982 * Added check password script code in examples/auth/crackcheck/
983 * Fix memory corruption bug caused in freeing static memory.
986 o Andrew Tridgell <tridge@samba.org>
987 * Remove lp_use_mmap() from map_file() since the latter
988 is for read only and does not require coherence.
989 * Ensure that the uuid pack/unpack routines do not go past
990 the end of the structure.
991 * Converted Samba 3 tree to use the new utf-16 aware iconv
993 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
994 * Ensure configure only uses '=' instead of the bashism '=='.
995 * Reduces the number of tdb locking calls made on file IO.
998 o Jelmer Vernooij <jelmer@samba.org>
999 * Convert internal data to UTF-8 before calling libxml2.
1000 * Complain if 'password chat' doesn't contain the %u variable
1001 (based on a patch by Ronan Waide).
1005 * BUG 1541: Fix recursive ls in smbclient.
1008 o Igor Zhbanov <bsg@uniyar.ac.ru>
1009 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1012 --------------------------------------------------
1014 =============================
1015 Release Notes for Samba 3.0.7
1017 =============================
1019 This is the latest stable release of Samba. This is the version
1020 that production Samba servers should be running for all
1021 current bug-fixes. There have been several important issues
1022 fixes since the 3.0.6 release. See the "Changes" section for
1023 details on exact updates.
1025 Common bugs fixed in 3.0.7 include:
1027 o Fixes for two Denial of Service vulnerabilities
1028 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1029 o Winbind failure to return user entries under certain
1031 o Syntax errors in the OpenLDAP schema file (samba.schema).
1032 o Printing errors caused by not setting default values
1033 for the various printing commands.
1042 Parameter Name Action
1043 -------------- ------
1044 winbind enable local accounts disabled by default
1049 o Jeremy Allison <jra@samba.org>
1050 * Fix parsing of names ending in dot and a few other error
1052 * BUG 1674: Move the symlinks checks into reduce_name().
1053 * Fix memleak when checking the valid names smb.conf option.
1054 * Fix memleak on error return path in the file open code.
1055 * More paranoia checks in the hash2 mangling code.
1056 * Fix syntax error in configure.in.
1057 * Match Win2k3's behavior for pathname parsing error returns.
1058 * Make nmbd more robust against bad netbios packets
1060 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1064 o Andrew Bartlett <abartlet@samba.org>
1065 * Janitor work in loadparm.c -- remove unused parameters.
1068 o Gerald Carter <jerry@samba.org>
1069 * BUG 1464: Ensure that printing commands are initialized even
1070 if the 'printing' parameter is not explicitly set.
1071 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1072 Adharsh Praveen <rprav@india.hp.com>)
1073 * Work around parsing error in the print change notify code.
1074 * remove duplicate declaration of getprintprocdir from
1076 * Only use sAMAccountName and not userPrincipalName when looking
1077 up a username in AD since the breaks winbindd (lookup_name()
1078 only works with the sAMAccountName).
1079 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1080 filling in the username in the user_info3.
1081 * Fix logic bug in the check for creating a user's home directory
1082 in register_vuid(); caused home directory to be mismatched to
1083 the first share in smb.conf under certain conditions.
1084 * BUG 1656: rename auto.a to auto.smb.
1085 * Ensure that we assign our pid to print jobs (and not our
1086 parent's pid); ensures that spooling jobs from dead smbds
1087 are removed from the tdb.
1088 * Disable 'winbind enable local accounts' by default.
1089 * Adding some initial checks for DragonFly (same as
1093 o Guenther Deschner <gd@samba.org>
1094 * Use SMB_ASSERT() to track down NULL printer names in
1096 * Revert fix for BUG 1474 to avoid unnecessary packaging
1100 o Olaf Flebbe <o.flebbe@science-computing.de>.
1101 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1103 * BUG 1626: More compile fixes.
1106 o Rob Foehl <rwf@loonybin.net>
1107 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1108 by attempts to sanitize the defined attributes.
1111 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1112 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1115 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1116 * BUG 1657: Remove used initialized variable,
1117 * BUG 1658: Add a little bit of const.
1120 o Volker Lendecke <vl@samba.org>
1121 * If there's garbage in the pidfile, we should not panic
1122 but assume that no one else is around. We can't find the
1126 o Jim McDonough <jmcd@us.ibm.com>
1127 * Fixup format string in the tdb error messages.
1130 o Jonas Olsson <lexicon@lysator.liu.se>
1131 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1132 reporting the list in usrmgr.exe.
1135 o Tim Potter <tpot@samba.org>
1136 * Fix out-of-tree builds (problem with the script to generate
1137 the svn version number).
1138 * BUG 1360: Need to use -Wl when passing flags to the linker.
1139 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1140 doesn't have one of its own.
1142 o Simo Sorce <idra@samba.org>
1143 * Fixup compile issues on AIX caused by broken strlen() and
1145 * Update debian packaging files.
1148 o Dimitri van der Spek <dwspek@aboveit.nl>
1149 * Use the correct counter when copying group rids from the
1150 user_info3 struct in pam_winbind.
1153 o Qiao Yang <qyang@stbernard.com>
1154 * BUG 1622: Only cache the user
1157 --------------------------------------------------
1159 =============================
1160 Release Notes for Samba 3.0.6
1162 =============================
1164 Common bugs fixed in 3.0.6 include:
1166 o Schannel failure in winbindd.
1167 o Numerous memory leaks.
1168 o Incompatibilities between the 'write list' and 'force user'
1170 o Premature optimization of the open_directory() internal
1171 function that broke tools such as the ArcServe backup
1172 agent, Macromedia HomeSite, and Robocopy.
1173 o Corrupt workgroup names in nmbd's browse.dat.
1174 o Sharing violation errors commonly seen when opening
1175 when serving Microsoft Office documents from a Samba
1177 o Browsing problems caused by an apostrophe (') in the
1178 computer's description field.
1179 o Problems creating special file types from UNIX CIFS
1180 clients and enabling 'unix extensions'.
1181 o Fix stalls in smbd caused by inaccessible LDAP servers.
1182 o Remove various memory leaks.
1183 o Fix issues in the password lockout feature.
1185 New features introduced in this release include:
1187 O Support symlinks created by CIFS clients which
1188 can be followed on the server.
1189 o Using a cups server other than localhost.
1190 o Maintaining the service principal entry in the system
1191 keytab for integration with other kerberized services.
1192 Please refer to the 'use kerberos keytab' entry in
1193 smb.conf(5). When using the heimdal kerberos libraries,
1194 you must also specify the following in /etc/krb5.conf:
1196 default_keytab_name = FILE:/etc/krb5.keytab
1197 o Support for maintaining individual printer names
1198 stored separately from the printer's sharename.
1199 o Support for maintaining user password history.
1200 o Support for honoring the logon times for user in a
1203 --------------------------------------------
1204 unix extensions = yes (default) and symlinks
1205 --------------------------------------------
1207 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
1208 clients supporting the UNIX extensions to the CIFS protocol
1209 can create symlinks to absolute paths which will be **followed**
1210 by the server. This functionality has been requested in order
1211 to correctly support certain applications when the user's home
1212 directory is mounted using some type of CIFS client (e.g. the
1213 cifsvfs in the Linux 2.6 kernel).
1215 If this behavior is not acceptable for your production environment
1216 you can set 'wide links = no' in the specific share declaration in
1217 the server's smb.conf. Be aware that disabling wide link support
1218 out of a share in Samba may impact the server's performance due
1219 to the fact that smbd will now have to check each path additional
1220 times before traversing it.
1222 ------------------------
1223 Password History Support
1224 ------------------------
1226 The new password history feature allows smbd to check the new
1227 password in password change requests against a list of the user's
1228 previous passwords. The number of previous passwords to save can
1229 be set using pdbedit (4 in this example):
1231 root# pdbedit -P "password history" -C 4
1233 When using the ldapsam passdb backend, it is vital to secure the
1234 following attributes from access by non-administrative users:
1238 * sambaPasswordHistory
1240 You should refer to your directory server's documentation on how
1241 to implement this restriction.
1250 Parameter Name Action
1251 -------------- ------
1253 defer sharing violations New
1254 force unknown acl user New
1256 printcap cache time New
1257 use kerberos keytab New
1261 o Jeremy Allison <jra@samba.org>
1262 * Correct path parsing bug that broke DeletePrinterDriverEx().
1263 * Fix bugs in check_path_syntax() caught by asserts.
1264 * Internal change - rearrange internal global case setting
1265 variables to a per connection basis.
1266 * BUG 1345: Fix premature optimization in unix_convert().
1267 * Allow clients to truncate a locked file.
1268 * BUG 1319: Always check to see if a user as write access
1269 to a share, even when 'force user' is set.
1270 * Fix specific case of open that doesn't cause oplock break,
1271 or share mode check.
1272 * Correct sid type is WKN_GROUP, not alias. Added some
1273 more known types (inspired by patch from Jianliang Lu).
1274 * Allow creation of absolute symlink paths via CIFS clients.
1275 * Fix charset bug in when invoking send_mailslot().
1276 * When using widelinks = no, use realpath to canonicalize
1277 the connection path on connection create for the user.
1278 * Enhance stat open code.
1279 * Fix unix extensions mknod code path.
1280 * Allow unix domain socket creation via unix extensions.
1281 * Auto disable the 'store dos attribute' parameter if the
1282 underlying filesystem doesn't support EAs.
1283 * Implement deferred open code to fix a bug with Excel files
1285 * BUG 1427: Catch bad path errors at the right point. Ensure
1286 all our pathname parsing is consistent.
1287 * Fix SMB signing error introduced by the new deferred open
1289 * Change default setting for case sensitivity to "auto". (see
1290 commit message -- r1154 -- for details).
1291 * Add new remote client arch -- CIFSFS.
1292 * Allow smbd to maintain the service principal entry in the
1293 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
1294 Guenther Deschner, et. al.).
1295 * Fix longstanding memleak bug with logfile name.
1296 * Fix incorrect type in printer publishing (struct uuid,
1298 * Heimdal compile fixes after introduction of the new ketyab
1300 * Ensure we check attributes correctly on rename request.
1301 * Ensure we defer a sharing violation on rename correctly.
1302 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
1304 * Fix bogus error message when using "mangling method = hash"
1306 * Turn on sendfile by default for non-Win9x clients.
1307 * Handle non-io opens that cause oplock breaks correctly.
1308 * Ensure ldap replication sleep time is not more than 5 seconds.
1309 * Add support for storing a user's password history.
1310 LDAP portion of the code was based on a patch from
1311 Jianliang Lu <j.lu@tiesse.com>.
1312 * Correct memory leaks found in the password change code.
1313 * Fix support for the mknod command with the Linux CIFS client.
1314 * Remove support for passing the new password to smbpasswd
1315 on the command line without using the -s option.
1316 * Ensure home directory service number is correctly reused
1317 (inspired by patches from Michael Collin Nielsen
1318 <michael@hum.aau.dk>).
1319 * Fix to stop printing accounts from resetting the bas
1320 password and account lockout flags.
1321 * If a account was locked out by an admin (and has a bad
1322 password count of zero) leave it locked out until an admin
1323 unlocks it (but log a message).
1324 * Ensure we return the same ACL revision on the wire that
1326 * BUG 1578: Hardcode replacement for invalid characters as '_'
1327 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1328 * Fix hashed password history for LDAP backends.
1329 * Enforce logon hours restrictions if confiogured (based on code
1330 from Richard Renard <rrenard@idealx.com>).
1331 * BUG 1606: Force smbd to disable sendfile with DOS clients
1332 and ensure that the chained header is filled in for ...&X
1334 * BUG 1602: Fix access to shares when all symlink support
1339 o Tom Alsberg <alsbergt@cs.huji.ac.il>
1340 * Allow pdbedit to export a single user from a passdb backend.
1343 o Andrew Bartlett <abartlet@samba.org>
1344 * Fix parsing bug in GetDomPwInfo().
1345 * Fix segfault in 'ntlm_auth --diagnostics'.
1346 * Re-enable code to allow sid_to_gid() to perform a group
1347 mapping lookup before checking with winbindd.
1348 * Fix memory leak in the trans2 signing code.
1349 * Allow more flexible GSS-SPENGO client and server operation
1351 * Improve smbd's internal random number generation.
1352 * Fix a few outstanding long password changes in smbd.
1353 * Fix LANMAN2 session setup code.
1356 o Eric Boehm <boehm@nortelnetworks.com>
1357 BUG 703: Final touches on netgroup case lookups.
1360 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1361 * Ensure error status codes don't get overwritten in
1362 lsa_lookup_sids() server code.
1363 * Correct bug that caused smbd to overwrite certain error
1364 codes when returning up the call stack.
1365 * Ensure the correct sid type returned for builtin sids.
1368 o Gerald Carter <jerry@samba.org>
1369 * Fix a few bugs in the Fedora Packaging files.
1370 * Fix for setting the called name to by our IP if the
1371 called name was *SMBSERVER and *SMBSERV. Fixes issue
1372 with connecting to printers via \\ip.ad.dr.ess\printer
1374 * BUG 1315: fix for schannel client connections to servers
1375 when we haven't specifically negotiated AUTH_PIPE_SEAL.
1376 * Allow PrinterDriverData valuenames with embedded backslashes
1377 (Fixes bug with one of the Konica Fiery drivers).
1378 * Fixed string length miscalculation in netbios names that
1379 resulted in corrupt workgroup names in browse.dat.
1380 * When running smbd as a daemon, launch child smbd to update
1381 the lpq cache listing in the background.
1382 * Allow printers "Printers..." folder to be renamed to a string
1383 other than the share name.
1384 * Allow winbindd to use domain trust account passwords when
1385 running on a Samba DC to establish an schannel to remote
1387 * Fix bad merge and ensure that we always use tdb_open_log()
1388 instead of tdb_open_ex() (the former call enforce the 'use
1390 * BUG 1221: revert old change that used single and double
1391 quotes as delimeters in next_token(), and change
1392 print_parameter() to print out parm values surrounded by
1393 double quotes (instead of single quotes).
1394 * Prevent home directories added during the SMBsesssetup&X from
1395 being removed as unused services.
1396 * Invalidate the print object cache for open printer handles when
1397 smbd receives a message that an attribute on a given printer
1399 * Cause the configure script to exit if --enable-cups[=yes] is
1400 defined and the system does not have the cups devel files
1402 * BUG 1297: Prevent map_username() from being called twice
1404 * Ensure that we use the userPrincipalName AD attribute
1405 value for LDAP SASL binds.
1406 * Ensure we remove the tdb entry when deleting a job that
1408 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
1409 client sends a FindNextPrintChangeNotify() request without
1410 previously sending a FindFirstPrintChangeNotify(). Return
1411 the same error code as Windows 2000 SP4.
1412 * BUG 1516: Manually declare ldap_open_with_timeout() to
1413 workaround compiler errors on IRIX (or other systems without
1415 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
1417 * Corrected syntax error in the OID for sambaUnixIdPool,
1418 sambaSidEntry, & sambaIdmapEntry object classes.
1419 * Tighten the cache consistency with the ntprinters.tdb entry
1420 an the in memory cache associated with open printer handles.
1421 * Make sure that register_messages_flags() doesn't overwrite
1422 the originally registered flags.
1425 o Fabien Chevalier <fabien.chevalier@supelec.fr>
1426 * Debian BUG 252591: Ensure that the return value from the
1427 number of available interfaces is initialized in case no
1428 interfaces are actually available.
1431 o Guenther Deschner <gd@sernet.de>
1432 * Implement 'rpcclient setprintername'.
1433 * Add local groups to the user's NT_TOKEN since they are
1434 actually supported now.
1435 * Heimdal compile fixes after introduction of the new keytab
1437 * Correctly honor the info level parameter in 'rpcclient
1439 * Reintroduce 'force unknown acl user' parameter. When getting a
1440 security descriptor for a file, if the owner sid is not known,
1441 the owner uid is set to the current uid. Same for group sid.
1442 * Ensure that REG_SZ values in the SetPrinterData actually
1443 get written in UNICODE strings rather than ASCII.
1444 * Ensure that the last kerberos error return is not invalid.
1445 * Display share ACL entries from rpcclient.
1446 * Correct infinite loop in pam_winbind's verification of
1447 group membership in the 'other sids' field in the user_info3
1451 o Fabian Franz <FabianFranz@gmx.de>
1452 * Support specifying a port in the device URL passed to smbspool.
1455 o Steve French <sfrench@us.ibm.com>
1456 * Handle -S and user mount parms in mount.cifs.
1457 * Fix user unmount of shares mount with suid mount.cifs.
1458 * prevent infinite recusion in reopen_logs() when expanding
1459 the smb.conf variable %I.
1462 o Bjoern Jacke <bj@sernet.de>
1463 * Install libsmbclient into $(LIBDIR), not into hard coded
1464 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
1465 and an explicit configure --libdir setting.
1468 o <kawasa_r@itg.hitachi.co.jp>
1469 * Correct more memory leaks and initialization bugs.
1470 * Fix bug that prevented core dumps from being generated
1472 * Connect to the winbind pipe in non-blocking mode to
1473 prevent processes from hanging.
1474 * Memory leak fixes.
1477 o Stephan Kulow <coolo@suse.de>
1478 * Fix crash bug in libsmbclient.
1481 o Volker Lendecke <vl@samba.org>
1482 * Added vfs_full_audit module.
1483 * Add vfs_afsacl.c which can display & set AFS acls via
1484 the NT security editor.
1485 * Fix crash bug caused by trying to Base64 encode a NULL string.
1486 * Fix DOS error code bug in reply_chkpath().
1487 * Correct misunderstanding of the max_size field in
1488 cli_samr_enum_als_groups; it is more like an account_control
1489 field with individual bits what to retrieve.
1490 * Implement 'net rpc group rename' -- rename domain groups.
1491 * Implement the 'cups server' option. This makes it possible
1492 to have virtual smbd's connect to different cups daemons.
1493 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
1494 * Fix sid_to_gid() calls in winbindd to prevent loops.
1495 * Ensure that local_sid_to_gid() sets the type of the group on
1497 * Make sure that the clients are given back the IP address to
1498 which they connected in the case of a multi-homed host. Only
1499 affects strings the spoolss printing replies.
1500 * Fix the bad password lockout. This has not worked as pdb_ldap.c
1501 did not ask for the modifyTimestamp attribute, so it could
1502 not find it. Try not to regress by not putting that attrib
1503 in the main list but append it manually for the relevant searches.
1504 * Fix two memleaks in login_cache.c.
1505 * fixes memory bloat when unmarshalling strings.
1506 * Fix compile errors using gcc 3.2 on SuSE 8.2.
1507 * Fix the build for systems without kerberos headers.
1508 * Allow winbindd to handle authentication requests only when
1509 started without either an 'idmap uid' or 'idmap gid' range.
1510 * Fix the build for systems without ldap headers.
1511 * Fix interaction between share security descriptor and the
1512 'read only' smb.conf option.
1513 * Fix bug that caused _samr_lookupsids() with more than 32 (
1514 MAX_REF_DOMAINS) SIDs to fail.
1515 * Allow the 'idmap backend' parameter to accept a list of
1516 LDAP servers for failover purposes.
1517 * Revert code in smbd to remove a tdb when it has become
1519 * Add paranoid checks when mapping SIDs to a uid/gid to
1520 ensure that the type is correct.
1521 * Initial work on getting client support for sending mailslot
1523 * Add 'ldap timeout' parameter.
1524 * Dont always uppercase 'afs username map'.
1525 * Expand aliases for getusersids as well.
1526 * Improved NT->AFS ACL mapping VFS module.
1529 o Herb Lewis <herb@samba.org>
1530 * Add the acls debug class.
1531 * Fix logic bug in netbios name truncate routine.
1532 * Fix smbd crash caused by smbtorture IOCTL test.
1533 * Fix errno tromping before calling iconv to reset the
1535 * need to leave empty dacl so we can remove last ACE.
1538 o Jianliang Lu <Jianliang.Lu@getronics.com>
1539 * Fix to stop smbd hanging on missing group member in
1541 * Make sure Samba returns the correct group types.
1542 * Reset the bad password count password counts upon a successful login.
1545 o Jason Mader <jason@ncac.gwu.edu>
1546 * BUG 1385: Don't use non-consts in a structure initialization.
1549 o Jim McDonough <jmcd@us.ibm.com>
1550 * BUG 1279: SMBjobid fix for Samba print servers running on
1551 Big-Endian platforms.
1554 o Joe Meadows <jameadows@webopolis.com>
1555 * Add optional timeout parameter to ldap open calls.
1556 * Allow get_dc_list() to check the negative cache.
1559 o Stefan Metzmacher <metze@samba.org>
1560 * fix a configure logic bug for linux/XFS quotas when
1561 using --with-sys-quotas.
1562 * Use quota debug class in quota code.
1563 * print out the SVN revision by configure,
1566 o Buchan Milne <bgmilne@mandrake.org>
1567 * Mandrake packaging fixes.
1570 o Lars Mueller <lmuelle@suse.de>
1571 * BUG 1279: Added 'printcap cache time' parameter.
1572 * Fix afs related build issues on SuSE.
1573 * Fix compiler warnings in the kerberos client code.
1576 o James Peach <jpeach@sgi.com>
1577 * More iconv detection fixes for IRIX.
1578 * Compile fixed for systems that do not have C99/UNIX98 compliant
1579 vsnprintf by default.
1580 * Prevent smbd from attempting to use sendfile at all if it is
1581 not supported by the server's OS.
1582 * Allow SWAT to search for index.html when serving html files
1587 * Implement NFS quota support on FreeBSD.
1590 o Tim Potter <tpot@samba.org>
1591 * BUG 1360: Use -Bsymbolic when creating shared libraries to
1592 avoid conflicts with identical symbols in the global namespace
1593 when loading libnss_wins.so.
1596 o Richard Renard <rrenard@idealx.com>
1597 * Save the current password as it is being changed into the
1598 password history list.
1601 o Richard Sharpe <rsharpe@samba.org>
1602 * Fix error return codes on some lock messages.
1603 * BUG 1178: Make the libsmbclient routines callable
1605 * BUG 1333: Make sure we return an error code when
1607 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
1608 share mode locking requests fail.
1611 o Simo Sorce <idra@samba.org>
1612 * Update Debian stable & unstable packaging.
1613 * Tidy up parametric options in testparm output.
1616 o Richard Sharpe <rsharpe@samba.org>
1617 * Add sigchild handling to winbindd to restart the child
1618 daemon if necessary.
1621 o Tom Shaw <tomisfaraway@gmail.com>
1622 * Use winbindd_fill_pwent() consistently.
1625 o Nick Thompson <nickthompson@agere.com>
1626 * Protect smbd against broken filesystems which return zero
1630 o Andrew Tridgell <tridge@samba.org>
1631 * Fixed bug in handling of timeout in socket connections.
1634 o Nick Wellnhofer <wellnhofer@aevum.de>
1635 * Prevent lp_interfaces() list from being corrupted. Fixes
1636 bug where nmbd would lose the list of network interfaces
1637 on the system and consequently shutdown.
1640 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1641 * Fix ntlm_auth memory leaks.
1644 o Jelmer Vernooij <jelmer@samba.org>
1645 * Additional NT status to unix error mappings.
1646 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
1647 get duplicate symbol errors.
1648 * Return an error when the last command read from stdin
1650 * Prepare for better error checking in tar.
1651 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1654 Changes for older versions follow below:
1656 --------------------------------------------------
1658 =============================
1659 Release Notes for Samba 3.0.5
1661 =============================
1663 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
1664 the exception of correcting the two security issues outlined
1667 ######################## SECURITY RELEASE ########################
1669 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
1670 CVE ID: CAN-2004-0600, CAN-2004-0686
1671 (http://cve.mitre.org/)
1674 This is the latest stable release of Samba. This is the version
1675 that production Samba servers should be running for all current
1678 It has been confirmed that versions of Samba 3 prior to v3.0.4
1679 are vulnerable to two potential buffer overruns. The individual
1680 details are given below.
1686 Affected Versions: Samba 3.0.2 and later
1688 The internal routine used by the Samba Web Administration
1689 Tool (SWAT v3.0.2 and later) to decode the base64 data
1690 during HTTP basic authentication is subject to a buffer
1691 overrun caused by an invalid base64 character. It is
1692 recommended that all Samba v3.0.2 or later installations
1693 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1694 the swat administration service as a temporary workaround.
1696 This same code is used internally to decode the
1697 sambaMungedDial attribute value when using the ldapsam
1698 passdb backend. While we do not believe that the base64
1699 decoding routines used by the ldapsam passdb backend can
1700 be exploited, sites using an LDAP directory service with
1701 Samba are strongly encouraged to verify that the DIT only
1702 allows write access to sambaSamAccount attributes by a
1703 sufficiently authorized user.
1705 The Samba Team would like to heartily thank Evgeny Demidov
1706 for analyzing and reporting this bug.
1712 Affected Versions: Samba 3.0.0 and later
1714 A buffer overrun has been located in the code used to support
1715 the 'mangling method = hash' smb.conf option. Please be aware
1716 that the default setting for this parameter is 'mangling method
1717 = hash2' and therefore not vulnerable.
1719 Affected Samba 3 installations can avoid this possible security
1720 bug by using the default hash2 mangling method. Server
1721 installations requiring the hash mangling method are encouraged
1722 to upgrade to Samba 3.0.5.
1725 ##################################################################
1727 --------------------------------------------------
1729 =============================
1730 Release Notes for Samba 3.0.4
1732 =============================
1734 Common bugs fixed in Samba 3.0.4 include:
1736 o Password changing after applying the patch described in
1737 the Microsoft KB828741 article to Windows clients.
1739 o Managing print jobs via Windows on Big-Endian servers.
1740 o Several memory leaks in winbindd and smbd.
1741 o Compile issues on AIX and *BSD.
1744 --------------------
1749 o Jeremy Allison <jra@samba.org>
1750 * Fix path processing for DeletePrinterDriverEx().
1751 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
1755 o Andrew Bartlett <abartlet@samba.org>
1756 * Fix alignment bug in GetDomPwInfo().
1759 o Alexander Bokovoy <ab@samba.org>
1760 * Fix utime[s]() issues in smbwrapper on systems
1761 that can boot both the 2.4 and 2.6 Linux kernels.
1764 o Gerald Carter <jerry@samba.org>
1765 * Fedora packaging fixes.
1766 * BUG 1302: Fix seg fault by not trying to optimize a list of
1767 invalid gids using the wrong array size.
1768 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1769 seen when 'security = share'.
1770 * Fix problems when using IBM's compiler on AIX.
1771 * Link Developer's Guide, Example Guide, and multi-page HOWTO
1772 into SWAT's welcome page.
1773 * BUG 1293: fix double free in printer publishing code.
1776 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1777 * Fix for handling timeouts in socket connections.
1780 o Michel Gravey <michel.gravey@optogone.com>
1781 * BUG 483: patch from to fix password hash creation in SWAT.
1784 o Volker Lendecke <vl@samba.org>
1785 * Close the open NT pipes before the tdis.
1786 * Fix AFS related build issues.
1787 * Handle error conditions when base64 encoding a blob of 0 bytes.
1790 o Herb Lewis <herb@samba.org>
1791 * Added 'acls' debug class.
1793 o kawasa_r@itg.hitachi.co.jp
1794 * Multiple variable initialization and memory leak fixes.
1797 o Stephan Kulow <coolo@suse.de>
1798 * Fix string length bug in libsmbclient that caused KDE's
1800 * BUG 429: More libsmbclient fixes.
1803 o Jim McDonough <jmcd@us.ibm.com>
1804 * BUG 1007, 1279: Store the print job using a little-endian key.
1808 o Compile fix for OpenBSD (ENOTSUP not supported).
1811 o Stefan Metzmacher <metze@samba.org>
1812 * Correct bug in disks quota views from explorer.
1815 o Tim Potter <tpot@samba.org>
1816 BUG 1305: Correct debug output.
1819 o Richard Sharpe <rsharpe@samba.org>
1820 * Fix incorrect error code mapping.
1823 o Jelmer Vernooij <jelmer@samba.org>
1824 * Add additional NT_STATUS errorm mappings.
1827 Changes for older versions follow below:
1829 --------------------------------------------------
1831 =============================
1832 Release Notes for Samba 3.0.3
1834 =============================
1837 Common bugs fixed in Samba 3.0.3 include:
1839 o Crash bugs and change notify issues in Samba's printing code.
1840 o Honoring secondary group membership on domain member servers.
1841 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1842 o Substitution errors for %[UuGg] in smb.conf.
1843 o winbindd crashes when using ADS security mode.
1844 o SMB signing errors.
1845 o Delays in winbindd startup caused by unnecessary
1846 connections to trusted domain controllers.
1847 o Various small memory leaks.
1848 o Winbindd failing due to expired Kerberos tickets.
1850 New features introduced in Samba 3.0.3 include:
1852 o Improved support for i18n character sets.
1853 o Support for account lockout policy based on
1854 bad password attempts.
1855 o Improved support for long password changes (>14
1856 characters) and strong password enforcement.
1857 o Support for Windows aliases (i.e. nested groups).
1858 o Experimental support for storing DOS attribute on files
1859 and folders in Extended Attributes.
1860 o Support for local nested groups via winbindd.
1861 o Specifying options to be passed directly to the CUPS libraries.
1863 Please be aware that the Samba source code repository was
1864 migrated from CVS to Subversion on April 4, 2004. Details on
1865 accessing the Samba source tree via anonymous svn can be found
1866 at http://svn.samba.org/samba/subversion.html.
1869 Changes since 3.0.2a
1870 --------------------
1874 Parameter Name Action
1875 -------------- ------
1878 only user Deprecated
1879 store dos attributes New
1881 winbind nested groups New
1887 o Jeremy Allison <jra@samba.org>
1888 * Ensure that Kerberos mutex is always properly unlocked.
1889 * Removed Heimdal "in-memory keytab" support.
1890 * Fixup the 'multiple-vuids' bugs in our server code.
1891 * Correct return code from lsa_lookup_sids() on unmapped
1892 sids (based on work by vl@samba.org).
1893 * Fix the "too many fcntl locks" scalability problem
1895 * Fixup correct (as per W2K3) returns for lookupsids
1896 as well as lookupnames.
1897 * Fixups for delete-on-close semantics as per Win2k3 behavior.
1898 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
1899 * Fix "unable to initialize" bug when smbd hasn't been run with
1900 new system and a user is being added via pdbedit/smbpasswd.
1901 * Added NTrename SMB (0xA5).
1902 * Fixup correct timeout values for blocking lock timeouts.
1903 * Fix various bugs reported by 'gentest'.
1904 * More locking fixes in the case where we own the lock.
1905 * Fix up regression in IS_NAME_VALID and renames.
1906 * Don't set allocation size on directories.
1907 * Return correct error code on fail if file exists and target
1909 * Added client "hardlink" comment to test doing NT rename with
1910 hard links. Added hardlink_internals() code - UNIX extensions
1911 now use this as well.
1912 * Use a common function to parse all pathnames from the wire for
1913 much closer emulation of Win2k3 error return codes.
1914 * Implement check_path_syntax() and rewrite string sub
1915 functions for better multibyte support.
1916 * Ensure msdfs referrals are multibyte safe.
1917 * Allow msdfs symlink syntax to be more forgiving.
1918 eg. sym_link -> msdfs://server/share/path/in/share
1919 or sym_link -> msdfs:\\server\share\path\in\share.
1920 * Cleanup multibyte netbios name support in nmbd ( based on patch
1921 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
1922 * Fix check_path_syntax() for multibyte encodings which have
1923 no '\' as second byte (based on work by ab@samba.org.
1924 * Fix the "dfs self-referrals as anonymous user" problem
1925 (based on patch from vl@samba.org).
1926 * BUG 1064: Ensure truncate attribute checking is done correctly
1927 on "hidden" dot files.
1928 * Fix bug in anonymous dfs self-referrals again.
1929 * Fix get/set of EA's in client library
1930 * Added support for OS/2 EA's in smbd server.
1931 * Added 'ea support' parameter to smb.conf.
1932 * Added 'store dos attributes' parameter to smb.conf.
1933 * Fix wildcard identical rename.
1934 * Fix reply_ctemp - make compatible with w2k3.
1935 * Fix wildcard unlink.
1936 * Fix wildcard src with wildcard dest renames.
1937 * BUG 1139: Fix based on suggestion by jdev@panix.com.
1938 swap lookups for user and group - group will do an
1939 algorithmic lookup if it fails, user won't.
1940 * Make EA's lookups case independent.
1941 * Fix SETPATHINFO in 'unix extensions' support.
1942 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
1943 the UNIX info levels, and the short case preserve names.
1946 o Timur Bakeyev <timur@com.bat.ru>
1947 * BUG 1144: only set --with-fhs when the argument is 'yes'
1948 * BUG 1152: Allow python modules to build despite libraries added
1949 to LDFLAGS instead of LDPATH.
1950 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
1953 o Craig Barratt <cbarratt@users.sourceforge.net>
1954 * BUG 389: Allow multiple exclude arguments with smbclient
1955 tar -Xr options (better support for Amanda backup client).
1958 o Andrew Bartlett <abartlet@samba.org>
1959 * Include support for linking with cracklib for enforcing strong
1961 * Add support for >14 character password changes from Windows
1963 * Add 'admin set password' capability to 'net rpc'.
1964 * Allow 'net rpc samdump' to work with any joined domain
1965 regardless of smb.conf settings.
1966 * Use an allocated buffer for count_chars.
1967 * Add sanity checks for changes in the domain SID in an
1969 * Implement python unit tests for Samba's multibyte string
1971 * Remove 'unicode' smb.conf option.
1972 * BUG 1138: Fix support for 'optional' SMB signing and other
1974 * BUG 169: Fix NTLMv2-only behavior.
1975 * Ensure 'net' honors the 'netbios name' in the smb.conf by
1977 * Support SMB signing on connections using only the LANMAN
1978 password and generate the correct the 'session key' for these
1980 * Implement --required-membership-of=, an ntlm_auth option
1981 that restricts all authentication to members of this particular
1983 * Improve our fall back code for password changes.
1984 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
1985 after the server had said something (such as an error).
1986 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
1989 o Alexander Bokovoy <ab@samba.org>
1990 * Fix incorrect size calculation of the directory name
1992 * Fix problems with very long filenames in both smbd and smbclient
1993 caused by truncating paths during character conversions.
1994 * Fix smbfs problem with Tree Disconnect issued before smbfs
1998 o Gerald Carter <jerry@samba.org>
1999 * BUG 850: Fix 'make installmodules' bug on True64.
2000 * BUG 66: mark 'only user' deprecated.
2001 * Remove corrupt tdb and shutdown (only for printing tdbs,
2002 connections, sessionid & locking).
2003 * decrement smbd counter in connections.tdb in smb_panic().
2004 * RedHat specfile updates.
2005 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2006 * BUG 1147; bad pointer case in get_stored_queue_info()
2008 * BUG 761: read the config file before initialized default
2009 values for printing options; don't default to bsd printing
2011 * Allow the 'printing' parameter to be set on a per share basis.
2012 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2013 * BUG 848: don't create winbind local users/groups that already
2015 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2017 * BUG 488: fix the 'show client in col 1' button and correctly
2018 enumerate active connections.
2019 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2020 problem when storing the updating pid for the lpq cache.
2021 * BUG 1007 (partial): Fix print change notify bugs.
2022 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2023 and winbind use default domain = yes. Also ensures that
2024 * BUG 1151: Ensure that winbindd users are passed through
2026 * Fix client rpc binds for ASU derived servers (pc netlink,
2028 * BUG 417, 1128: Ensure that the current_user_info is set
2029 consistently so that %[UuGg] is expanded correctly.
2030 * BUG 1195: Fix crash in winbindd when the ADS server is
2032 * BUG 1185: Set reconnect time to be the same as the
2033 'winbind cache time'.
2034 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2035 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2036 * BUG 1095: Honor the '-l' option in smbclient.
2037 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2039 * Ensure server schannel uses the auth level requested by the
2041 * Removed --with-cracklib option due to potential crash issue.
2042 * Fix -lcrypto linking problem with wbinfo.
2043 * BUG 761: allow printing parameter to set defaults on a per
2045 * Add 'cups options' parameter to allow raw printing without
2046 changing /etc/cups/cupsd.conf.
2047 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2049 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2050 * BUG 1288: resolve any machine netbios name (0x00) and not just
2052 * BUG 1199: Fix potential symlink issue in
2053 examples/printing/smbprint.
2056 o Robert Dahlem <Robert.Dahlem@gmx.net>
2057 * BUG 1048: Don't return short names when when 'mangled names = no'
2060 o Guenther Deschner <gd@suse.com>
2061 * Remove hard coded attribute name in the ads ranged retrieval
2063 * Add --with-libdir and --with-mandir to autoconf script.
2066 o Bostjan Golob <golob@gimb.org>
2067 * BUG 1046: Fix getpwent_list() so that the username is not
2068 overwritten by other fields.
2071 o Landon Fuller <landonf@opendarwin.org>
2072 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2073 to fix user/group enumeration on systems whose libc does not
2074 call setgrent() before trying to enumerate users (i.e.
2078 o Steve French <sfrench@us.ibm.com>
2079 * Update mount.cifs to version 1.1.
2080 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2081 * Fixes to minor security bug in the mount helper.
2082 * Fix credential file mounting for cifs vfs.
2083 * Fix free of incremented pointer in cifsvfs mount helper.
2084 * Fix path canonicalization of the mount target path and help
2085 text display in the cifs mount helper.
2086 * Add missing guest mount option for mount.cifs.
2089 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2090 * BUG 1055; formatting fixes for 'net share'.
2091 * BUG 692: correct truncation of share names and workgroup
2093 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2094 * Patch from to internally count characters correctly.
2097 o Paul Green <paulg@samba.org>
2098 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2099 * Fix bug in configure.ion by moving the first use of
2100 AC_CHECK_HEADERS so it is always executed.
2101 * Fix configure.in to only use $BLDSHARED to select whether to
2102 build static or shared libraries.
2105 o Pat Haywarrd <Pat.Hayward@propero.net>
2106 * Make the session_users list dynamic (max of 128K).
2109 o Cal Heldenbrand <calzplace@yahoo.com>
2110 * Fix for for 'pam_smbpass migrate' functionality.
2113 o Chris Hertel <crh@samba.org>
2114 * fix enumeration of shares 12 characters in length via
2118 o Ulrich Holeschak <ulrich@holeschak.de>
2119 * BUG 932: fix local password change using pam_smbpass
2122 o Krischan Jodies <kj@sernet.de>
2123 * Implement 'net rpc group delete'
2126 o John Klinger <john.klinger@lmco.com>
2127 * Return NSS_SUCCESS once the max number of gids possible
2128 has been found in initgroups() on Solaris.
2129 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2132 o Volker Lendecke <vl@samba.org>
2133 * Fix success message for net groupmap modify.
2134 * Fix errors when enumerating members of groups in 'net rpc'.
2135 * Match Windows behavior in samr_lookup_names() by returning
2136 ALIAS(4) when you search in BUILTIN.
2137 * Fix server SAMR code to be able to set alias info for
2139 * Fix duplication of logic when creating groups via smbd.
2140 * Ensure that the HWM values are set correctly after running
2142 * Add 'net rpc group add'.
2143 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2144 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2145 * Fix wb_delgrpmem (wbinfo -o).
2146 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2147 * Fix sambaUserWorkstations on a Samba DC.
2148 * Implement wbinfo -k: Have winbind generate an AFS token after
2149 authenticating the user.
2150 * Add expand_msdfs VFS module for providing referrals based on the
2151 the client's IP address.
2152 * Implement client side NETLOGON GetDCName function.
2153 * Fix caching of name->sid lookups.
2154 * Add support in winbindd for expanding nested local groups.
2155 * Fix memleak in winbindd.
2157 * Don't list domain groups from BUILTIN.
2158 * Fix memleak in policy handle utility functions.
2159 * Decrease winbindd startup time by only contacting trusted
2160 domains as necessary.
2161 * Allow winbindd to ask the DC for its domain for a trusted
2163 * Fix Netscape DS schema based on comments from
2164 <thomas.mueller@christ-wasser.de>.
2165 * Correct case where adding a domain user to a XP local group
2166 did a lsalookupname on the user without domain prefix, and
2168 * Fix segfault in winbindd caused by 'wbinfo -a'.
2171 o Herb Lewis <herb@samba.org>
2172 * Fix typo for tag in proto file.
2173 * Add missing #ifdef HAVE_BICONV stuff.
2174 * Truncate Samba's netbios name at the first '.' (not
2178 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2179 * Bug fixes and enhancements to libsmbclient library.
2182 o Jianliang Lu <j.lu@tiesse.com>
2183 * Enforce the 'user must change password at next login' flag.
2184 * Decode meaning of 'fields present' flags (improves support
2187 * Don't force an upper case domain name in the ntlmssp code.
2190 o L. Lucius <ib@digicron.com>.
2194 o Jim McDonough <jmcd@us.ibm.com>
2195 * Add versioning support to tdbsam.
2196 * Update the IBM Directory Server schema with the OpenLDAP
2198 * Various decoding fixes to improve usrmgr.exe support.
2199 * Fix statfs redeclaration of statfs struct on ppc
2200 * Implement support for password lockout of Samba domain
2201 controllers and standalone servers.
2202 * Get MungedDial attribute actually working with full TS
2203 strings in it for pdb_ldap.
2204 * BUG 1208 (partial): Improvements for working with expired krb5
2205 tickets in winbindd.
2206 * Use timegm, or our already existing replacement instead of
2207 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2208 * Remove modifyTimestamp from list of our attributes.
2209 * Fix lsalookupnames to check for domain users as well as local
2211 * Merge struct uuid replacement for GUID from trunk.
2212 * BUG 1208: Finish support for handling expired tickets in
2213 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2216 o Stefan Metzmacher <metze@samba.org>
2217 * Implement new VERSION schema based on subversion revision
2219 * Add shadow_copy vfs module.
2220 * Fix segault in login_cache support.
2223 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2224 o BUG 979 -- Fix quota display on AIX.
2227 o James Peach <jpeach@sgi.com>
2228 * Correct check for printf() format when using the SGI MIPSPro
2230 * BUG 1038: support backtrace for 'panic action' on IRIX.
2231 * BUG 768: Accept profileing arg to IRIX init script.
2232 * BUG 748: Relax arg parsing to sambalp script (IRIX).
2233 * BUG 758: Fix pdma build.
2234 * Search IRIX ABI paths for libiconv. Based on initial fix from
2238 o Kurt Pfeifle <kpfeifle@danka.de>
2239 * Add example shell script for migrating drivers and printers
2240 from a Windows print server to a Samba print server using
2241 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2244 o Tim Potter <tpot@samba.org>
2245 * Fix logic bug in tdb non-blocking lock routines when
2247 * BUG 1025: Include sys/acl.h in check for broken nisplus
2249 * BUG 1066: s/printf/d_printf/g in SWAT.
2250 * BUG 1098: rename internal msleep() function to fix build
2252 * BUG 1112: Fix for writable printerdata problem in python bindings.
2253 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2254 * BUG 1155: enclose use of fchown() with guards.
2255 * Relicense tdb python module as LGPL.
2258 o Richard Sharpe <rsharpe@samba.org>
2259 * Add support to smbclient for multiple logins on the same
2260 session (based on work by abartlet@samba.org).
2261 * Correct blocking condition in smbd's use of accept() on IRIX.
2262 * Add support for printing out the MAC address on nmblookup.
2265 o Simo Sorce <idra@samba.org>
2266 * Replace unknown_3 with fields_present in SAMR code.
2267 * More length checks in strlcat().
2270 o Andrew Tridgell <tridge@samba.org>
2271 * Rewrote the AIX UESS backend for winbindd.
2272 * Fixed compilation with --enable-dmalloc.
2273 * Change tdb license to LGPL (see source/tdb/tdb.c).
2274 * Force winbindd to use schannel in clients connections to
2278 o Jelmer Vernooij <jelmer@samba.org>
2279 * Fix ETA Calculation when resuming downloads in smbget.
2280 * Add -O (for writing downloaded files to standard out)
2281 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2282 * Fix syntax error in example mysql table
2285 o TAKEDA yasuma <yasuma@miraclelinux.com>
2286 * BUG 900: fix token processing in cmd_symlink, cmd_link,
2287 cmd_chown, cmd_chmod smbclient functions.
2290 o Shiro Yamada <shiro@miraclelinux.com>
2291 * BUG 1129: install image files for SWAT.
2294 --------------------------------------------------
2296 ==============================
2297 Release Notes for Samba 3.0.2a
2299 ==============================
2301 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2302 to address, in particular, a problem when using pdbedit to
2303 sanitize (--force-initialized-passwords) Samba's tdbsam
2304 backend. This is the latest stable release of Samba. This
2305 is the version that all production Samba servers should be
2306 running for all current bug-fixes.
2308 ******************* Attention! Achtung! Kree! *********************
2310 Beginning with Samba 3.0.2, passwords for accounts with a last
2311 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2312 ldapsam, etc...) of zero (0) will be regarded as uninitialized
2313 strings. This will cause authentication to fail for such
2314 accounts. If you have valid passwords that meet this criteria,
2315 you must update the last change time to a non-zero value. If you
2316 do not, then 'pdbedit --force-initialized-passwords' will disable
2317 these accounts and reset the password hashes to a string of X's.
2319 ******************* Attention! Achtung! Kree! *********************
2328 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2329 details. The list of changes per contributor are as follows:
2332 o Jeremy Allison <jra@samba.org>
2333 * Added paranoia checks in parsing code.
2336 o Andrew Bartlett <abartlet@samba.org>
2337 * Ensure that changes to uninitialized passwords in ldapsam
2338 are written to the DIT.
2341 o Gerald (Jerry) Carter <jerry@samba.org>
2342 * Fixed iterator in tdbsam.
2343 * Fix bug that disabled accounts with a valid NT password
2344 hash, but no LanMan hash.
2347 o Steve French <sfrench@us.ibm.com>
2348 * Added missing nosetuid and noexec options.
2351 o Bostjan Golob <golob@gimb.org>
2352 * BUG 1046: Don't overwrite usernames of entries returned
2356 o Sebastian Krahmer <krahmer@suse.de>
2357 * Fixed potential crash bug in NTLMSSP parsing code.
2360 o Tim Potter <tpot@samba.org>
2361 * Fixed logic in tdb_brlock error checking.
2364 o Urban Widmark <urban@teststation.com>
2365 * Set nosuid,nodev flags in smbmnt by default.
2368 --------------------------------------------------
2370 =============================
2371 Release Notes for Samba 3.0.2
2373 =============================
2375 It has been confirmed that previous versions of Samba 3.0 are
2376 susceptible to a password initialization bug that could grant an
2377 attacker unauthorized access to a user account created by the
2378 mksmbpasswd.sh shell script.
2380 The Common Vulnerabilities and Exposures project (cve.mitre.org)
2381 has assigned the name CAN-2004-0082 to this issue.
2383 Samba administrators not wishing to upgrade to the current
2384 version should download the 3.0.2 release, build the pdbedit
2387 root# pdbedit-3.0.2 --force-initialized-passwords
2389 This will disable all accounts not possessing a valid password
2390 (e.g. the password field has been set a string of X's).
2392 Samba servers running 3.0.2 are not vulnerable to this bug
2393 regardless of whether or not pdbedit has been used to sanitize
2396 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2399 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2400 o Logging onto a Samba domain from Windows XP clients.
2401 o Problems with the %U and %u smb.conf variables in relation to
2402 Windows 9x/ME clients.
2403 o Kerberos failures due to an invalid in memory keytab detection
2405 o Updates to the ntlm_auth tool.
2406 o Fixes for various SMB signing errors.
2407 o Better separation of WINS and DNS queries for domain controllers.
2408 o Issues with nss_winbind FreeBSD and Solaris.
2409 o Several crash bugs in smbd and winbindd.
2410 o Output formatting fixes for smbclient for better compatibility
2411 with scripts based on the 2.2 version.
2420 Parameter Name Action
2421 -------------- ------
2422 ldap replication sleep New
2423 read size removed (unused)
2424 source environment removed (unused)
2430 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2431 details. The list of changes per contributor are as follows:
2433 o Jeremy Allison <jra@samba.org>
2434 * Revert change that broke Exchange clear text samlogons.
2435 * Fix gcc 3.4 warning in MS-DFS code.
2436 * Tidy up of NTLMSSP code.
2437 * Fixes for SMB signing errors
2438 * BUG 815: Workaround NT4 bug to support plaintext
2439 password logins and UNICODE.
2440 * Fix SMB signing bug when copying large files.
2441 * Correct error logic in mkdir_internals() (caused a panic
2442 when combined with --enable-developer).
2443 * BUG 830: Protect against crashes due to bad character
2447 o Petri Asikainen <paca@sci.fi>
2448 * BUG 330, 387:Fix single valued attribute updates when
2449 working with Novell NDS.
2452 o Andrew Bartlett <abartlet@samba.org>
2453 * Correctly handle per-pipe NTLMSSP inside a NULL session.
2454 * Fix segfault in gencache
2455 * Fix early free() of encrypted_session_key.
2456 * Change DC lookup routines to more carefully separate
2457 DNS names (realms) from NetBIOS domain names.
2458 * Add new sid_to_dn() function for internal winbindd use.
2459 * Refactor cli_ds_enum_domain_trusts().
2460 * BUG 707: Implement range retrieval of ADS attributes (based
2461 on work from Volker <vl@samba.org> and Guenther Deschner
2463 * Automatically initialize the signing engine if a session key
2465 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
2466 encoded strings, only form input in SWAT.
2467 * Resets the NTLMSSP state for new negotiate packets.
2468 * Add 2-byte alignments in net_samlogon() queries to parse
2469 odd-length plain text passwords.
2470 * Allow Windows groups with no members in winbindd.
2471 * Allow normal authentication in the absence of a server
2472 generated session key.
2473 * More optimizations for looking up UNIX group lists.
2474 * Clean up error codes and return values for pam_winbindd
2475 and winbindd PAM interface.
2476 * Fix string return values in ntlm_auth tool.
2477 * Fix segfault when 'security = ads' but no realm is defined.
2478 * BUG 722: Allow winbindd to map machine accounts to uids.
2479 * More cleanups for winbindd's find_our_domain().
2480 * More clearly detect whether a domain controller is an NT4
2481 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
2482 * Increase separation between DNS queries for hosts and queries
2483 for AD domain controllers.
2484 * Include additional NT_STATUS to PAM error mappings.
2485 * Password initialization fixes.
2488 o Justin Baugh <justin.baugh@request.com>
2489 * BUG 948: Implement missing functions required for FreeBSD
2490 nss_winbind support.
2493 o Alexander Bokovoy <ab@samba.org>
2494 * BUG 922: Make sure enable fast path for strlower_m() and
2498 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
2499 * Fix crash when using 'security = server' and 'encrypt
2500 passwords = no' by always initializing the session key.
2503 o Dmitry Butskoj <buc@odusz.elektra.ru>
2504 * Fix for special files being hidden from admins.
2507 o Gerald (Jerry) Carter <jerry@samba.org>
2508 * Fix bug in the lanman session key generation. Caused
2509 "decode_pw: incorrect password length" error messages.
2510 * Save the right case for the located user name in
2511 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
2512 * BUG 897: Add well known rid for pre win2k compatible access
2514 * BUG 887: Correct typo in delete user script example.
2515 * Use short lived TALLOC_CTX* for allocating printer objects
2516 from the print handle cache.
2517 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2518 * Fix several warnings reported by the SUN Forte C compiler.
2519 * Fully control DNS queries for AD DC's using 'name resolve order'.
2520 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2521 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2522 * BUG 936: fix bind credentials for schannel binds in smbd.
2523 * BUG 446: Fix output of smbclient for better compatibility
2524 with scripts based on the 2.2 version (including Amanda).
2525 * BUG 891, 949: Fedora packaging fixes.
2526 * Fix bug that caused rpcclient to incorrectly retrieve
2527 the SID for a server (this causing all calls that required
2528 this information to fail).
2529 * BUG 977: Don't create a homes share for a user if a static
2530 share already exists by the same name.
2531 * Removed unused smb.conf options.
2532 * Password initialization fixes.
2533 * Set the disable flag for template accounts created by
2535 * Disable any account has no passwords and does not have the
2536 ACB_PWNOTREQ bit set.
2539 o Guenther Deschner <gd@suse.com>
2540 * Install smbwrapper.so should be put into the $(libdir)
2542 * Add the capability to specify the new user password
2543 for "net ads password" on the command line.
2544 * Correctly detect AFS headers on SuSE.
2547 o James Flemer <jflemer@uvm.edu>
2548 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
2549 HAVE_SYS_ATTRIBUTES_H.
2552 o Luke Howard <lukeh@PADL.COM>
2553 * Fix segfault in session setup reply caused by a early free().
2556 o Stoian Ivanov <sdr@bultra.com>
2557 * Implement grepable output for smbclient -L.
2560 o LaMont Jones <lamont@debian.org>
2561 * BUG 225328 (Debian): Correct false failure LFS test that resulted
2562 in _GNU_SOURCE not being defined (thus resulting in strndup()
2566 o Volker Lendecke <vl@samba.org>
2567 * BUG 583: Ensure that user names always contain the short
2568 version of the domain name.
2569 * Fix our parsing of the LDAP uri.
2570 * Don't show the 'afs username map' in the SWAT basic view.
2571 * Fix SMB signing issues in relation to failed NTLMSSP logins.
2572 * BUG 924: Fix return codes in smbtorture harness.
2573 * Always lower-case usernames before handing it to AFS code.
2574 * Add a German translation for SWAT.
2575 * Fix a segfaults in winbindd.
2576 * Fix the user's domain passed to register_vuid() from
2577 reply_spnego_kerberos().
2578 * Add NSS example code in nss_winbind to convert UNIX
2579 id's <-> Windows SIDs.
2580 * Display more descriptive error messages for login via 'net'.
2581 * Fix compiler warning in the net tool.
2582 * Fix length bug when decoding base64 strings.
2583 * Ensure we don't call getpwnam() inside a loop that is iterating
2584 over users with getpwent(). This broke on glibc 2.3.2.
2587 o Herb Lewis <herb@samba.org>
2588 * Fix bit rot in psec.
2591 o Jianliang Lu <j.lu@tiesse.com>
2592 * Ensure we delete the group mapping before calling the delete
2594 * Define well known RID for managing the "Power Users" group.
2595 * BUG 381: check builtin (not local) group SID when updating
2597 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
2601 o John Klinger <john.klinger@lmco.com>
2602 * Implement initgroups() call in nss_winbind on Solaris.
2605 o Jim McDonough <jmcd@us.ibm.com>
2606 * Fix regression in net rpc join caused by recent changes
2607 to cli_lsa_query_info_policy().
2608 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2612 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
2613 * BUG 570: Ensure that configure honors the LDFLAGS variable.
2616 o Stefan Metzmacher <metze@samba.org>
2617 * Implement LDAP rebind sleep patch.
2618 * Revert to 2.2 quota code because of so many broken quota files
2620 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2621 XFS_USER_QUOTA -> USRQUOTA
2622 XFS_GROUP_QUOTA -> GRPQUOTA
2623 * Fix disk_free calculation with group quotas.
2624 * Add debug class 'quota' and a lot of DEBUG()'s
2626 * Fix sys_chown() when no chown() is present.
2627 * Add SIGABRT to fault handling in order to catch got a
2628 backtrace if an error occurs the OpenLDAP client libs.
2632 * Allow an existing LDAP machine account to be re-used when
2633 joining an AD domain.
2636 o James Peach <jpeach@sgi.com>
2637 * BUG 889: Change smbd to use pread/pwrite on platforms that
2638 support these calls. Can lead to a significant speed increase.
2641 o Tim Potter <tpot@samba.org>
2642 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2643 * BUG 924: Fix typo in RW2 torture test.
2646 o Richard Sharpe <rsharpe@samba.org>
2647 * Small fixes to torture.c to cleanup the error handling
2648 and prevent crashes.
2651 o J. Tournier <jerome.tournier@IDEALX.com>
2652 * Small fixes for the smbldap-tool scripts.
2655 o Andrew Tridgell <tridge@samba.org>
2656 * Fix src len check in pull_usc2().
2659 o Jelmer Vernooij <jelmer@samba.org>
2660 * Put functions for generating SQL queries in pdb_sql.c
2661 * Add pgSQL backend (based on patch by Hamish Friedlander)
2662 * BUG 908: Fix -s option to smbcontrol.
2663 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2664 * Fix for libnss_wins on IRIX platforms.
2665 * Fix swatdir for --with-fhs.
2668 --------------------------------------------------
2670 =============================
2671 Release Notes for Samba 3.0.1
2673 =============================
2675 Some of the more common bugs in 3.0.0 addressed in the release
2678 o Substitution problems with smb.conf variables.
2679 o Errors in return codes which caused some applications
2680 to fail to open files.
2681 o General Protection Faults on Windows 2000/XP clients
2682 using Samba point-n-print features.
2683 o Several miscellaneous crash bugs.
2684 o Access problems when enumerating group mappings are
2685 stored in an LDAP Directory.
2686 o Several common SWAT bugs when writing changes to
2688 o Internal inconsistencies when 'winbind use default
2694 ----------------------
2696 Parameter Name Action
2697 -------------- ------
2698 hide local users Removed
2699 mangled map Deprecated
2700 mangled stack Removed
2701 passwd chat timeout New
2707 o Change the interface for init_unistr2 to not take a length
2708 but a flags field. We were assuming that
2709 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
2710 o Allow d_printf() to handle strings with escaped quotation
2711 marks since the msg file includes the escape character (bug 489).
2712 o Fix bad html table row termination in SWAT wizard code (bug 413).
2713 o Fix to parse the level-2 strings.
2714 o Fix for "valid users = %S" in [homes]. Fix read/write
2716 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
2717 This is the same way AC_CHECK_LIB works (bug 508).
2718 o Testparm output fixes for clarity.
2719 o Fix broken wins hook functionality -- i18n bug (bug 528).
2720 o Take care of condition where DOS and NT error codes must differ.
2721 o Default to using only built-in charsets when a working iconv
2722 implementation cannot be located.
2723 o Wrap internals of sys_setgroups() so the sys_XX() call can
2724 be done unconditionally (bug 550).
2725 o Remove duplicate smbspool link on SWAT's front page (bug 541).
2726 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
2727 --enable-debug=[yes|no] works correctly.
2728 o Allow ^C to interrupt smbpasswd if using our getpass
2729 (e.g. smbpasswd command).
2730 o Support signing only on RPC's (bug 167).
2731 o Correct bug that prevented Excel 2000 clients from opening
2732 files marked as read-only.
2733 o Portability fix bugs 546 - 549).
2734 o Explicitly initialize the value of AR for vendor makes that don't
2735 do this (e.g. HPUX 11). (bug 552).
2736 o More i18n fixes for SWAT (bug 413).
2737 o Change the cwd before the postexec script to ensure that a
2738 umount will succeed.
2739 o Correct double free that caused winbindd to crash when a DC
2740 is rebooted (bug 437).
2741 o Fix incorrect mode sum (bug 562).
2742 o Canonicalize SMB_INFO_ALLOCATION in the same was as
2743 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2744 o Add script to generate *msg files.
2745 o Add Dutch SWAT translation file.
2746 o Make sure to call get_user_groups() with the full winbindd
2747 name for a user if he/she has one (bug 406).
2748 o Fix up error code returns from Samba4 tester. Ensure invalid
2749 paths are validated the same way.
2750 o Allow Samba3 to pass the Samba4 RAW-READ tests.
2751 o Refuse to configure if --with-expsam=$BACKEND was used but no
2752 libraries were found for $BACKEND.
2753 o Move sysquotas autoconf tests to a separate file.
2754 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
2756 o Make sure that the files that contain the static_init_$subsystem;
2757 macro get recompiled after configure by removing the object
2759 o Ensure canceling a blocking lock returns the correct error
2761 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2762 o Updated Japanese welcome file in SWAT.
2763 o Fix to nt-time <-> unix-time functions reversible.
2764 o Ensure that winbindd uses the the escaped DN when querying
2766 o Fix portability issues when compiling (bug 505, 550)
2767 o Compile fix for tdbbackup when Samba needs to override
2768 non-C99 compliant implementations of snprintf().
2769 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2770 o Make sure we break out of samsync loop on error.
2771 o Ensure error code path doesn't free unmalloc()'d memory
2773 o Add configure test for krb5_keytab_entry keyblock vs key
2776 o Modified testparm so that all output so all debug output goes
2777 to stderr, and all file processing goes to stdout.
2778 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
2780 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
2781 we have a devmode before copying a string to the devicename.
2782 o Support mapping REALM.COM\user to a local user account (without
2783 running winbindd) for compatibility with 2.2.x release.
2784 o Ensure we don't use mmap() on blacklisted systems.
2785 o fixed a number of bugs and memory leaks in the AIX
2787 o Call initgroups() in SWAT before becomming the user so that
2788 secondary group permissions can be used when writing to
2790 o Fix signing problems when reverse connecting back to a
2791 client for printer notify
2792 o Fix signing problems caused by a miss-sequence bug.
2793 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2794 Fixes NEXUS tools running on Win9x clients (bug 64).
2795 o Don't leave the domain field uninitialized in cli_lsa.c if some
2796 SID could not be mapped.
2797 o Fix segfault in mount.cifs helper when there is no options
2798 specified during mount.
2799 o Change the \n after the password prompt to go to tty instead
2800 of stdout (bug 668).
2801 o Stop net -P from prompting for machine account password (bug 451).
2802 o Change in behavior to Not only change the effective uid but also
2803 the real uid when becoming unprivileged.
2804 o Cope with Exchange 5.5 cleartext pop password auth.
2805 o New files for support of initshutdown pipe. Win2k doesn't
2806 respond properly to all requests on the winreg pipe, so we need
2807 to handle this new pipe (bug 534).
2808 o Added more va_copy() checks in configure.in.
2809 o Include fixes for libsmbclient build problems.
2810 o Missing UNIX -> DOS codepage conversion in lanman.c.
2811 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
2812 o Parameterize the listen backlog in smbd and make it larger by
2813 default. A backlog of 5 is way too small these days.
2814 o Check for an invalid fid before dereferencing the fsp pointer
2816 o Remove invalid memory frees and return codes in pdb_ldap.c.
2817 o Prompt for password when invoking --set-auth-user and no
2819 o Bind the nmbd sending socket to the 'socket address'.
2820 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
2821 $LDFLAGS occurs before any library specification (bug 661).
2822 o Fix large number of printf() calls for 64-bit size_t.
2823 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
2824 keyblock in the krb5 structs.
2825 o Remove #include <compat.h> in hopes to avoid problems with
2826 apache header files.
2827 o Correct winbindd build problems on HP-UX 11.
2828 o Lowercase netgroups lookups (bug 703).
2829 o Use the actual size of the buffer in strftime instead of a made
2830 up value which just happens to be less than sizeof(fstring).
2832 o Add ldaplibs to pdbedit link line (bug 651).
2833 o Fix crash bug in smbclient completion (bug 659).
2834 o Fix packet length for browse list reply (bug 771).
2835 o Fix coredump in cli_get_backup_list().
2836 o Make sure that we expand %N (bug 612).
2837 o Allow rpcclient adddriver command to specify printer driver
2839 o Compile tdbdump by default.
2840 o Apply patches to fix iconv detection for FreeBSD.
2841 o Do not allow the 'guest account' to be added to a passdb backend
2842 using smbpasswd or pdbedit (bug 624).
2843 o Save LDFLAGS during iconv detection (bug 57).
2844 o Run krb5 logins through the username map if the winbindd
2845 lookup fails (bug 698).
2846 o Add const for lp_set_name_resolve_order() to avoid compiler
2848 o Add support for the %i macro in smb.conf to stand in for the for
2849 the local IP address to which a client connected.
2850 o Allow winbindd to match local accounts to domain SID when
2851 'winbind trusted domains only = yes' (bug 680).
2852 o Remove code in idmap_ldap that searches the user suffix and group
2853 suffix. It's not needed and provides inconsistent functionality
2854 from the tdb backend.
2855 o Patch to handle munged dial string for Windows 2000 TSE.
2856 Thanks to Gaz de France, Direction de la Recherche, Service
2857 Informatique Métier for their supporting this work by Aurelien
2858 Degrémont <adegremont@idealx.com>.
2859 o Correct the "smbldap_open: cannot access when not root error"
2860 messages when looking up group information (bug 281).
2861 o Skip over the winbind separator when looking up a user.
2862 This fixes the bug that prevented local users from
2863 matching an AD user when not running winbindd (bug 698).
2864 o Fix a problem with configure on *BSD systems. Make sure
2865 we add -liconv etc to LDFLAGS.
2866 o Fix core dump bug when "security = server" and the authentication
2868 o Correct crash bug due to an empty munged dial string.
2869 o Show files locked by a specific user (smbstatus -u 'user')
2871 o Fix bug preventing print jobs from display in the queue
2872 monitor used by Windows NT and later clients (bug 660).
2873 o Fix several reported problems with point-n-print from
2874 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2875 reply (bug 338, 527 & 643).
2876 o Fix a handful of potential memory leaks in the LDAP code used
2877 by ldapsam[_compat] and the LDAP idmap backend.
2878 o Fix for pdbedit error code returns (bug 763).
2879 o Make sure we only enumerate group mapping entries (not
2880 /etc/group) even when doing local aliases.
2881 o Relax check on the pipe name in a dce/rpc bind response to work
2882 around issues with establishing trusts to a Windows 2003 domain.
2883 o Ensure we mangle names ending in '.' in hash2 mangling method.
2884 o Correct parsing issues with munged dial string.
2885 o Fix bugs in quota support for XFS.
2886 o Add a cleaner method for applications that need to provide
2887 name->SID mappings to do this via NSS rather than having to
2888 know the winbindd pipe protocol.
2889 o Adds a variant of the winbindd_getgroups() call called
2890 winbindd_getusersids() that provides direct SID->SIDs listing of
2891 a users supplementary groups. This is enough to allow non-Samba
2892 applications to do ACL checking.
2893 o Make sure we don't append the 'ldap suffix' when writing out the
2894 'ldap XXX suffix' values in SWAT (bug 328).
2895 o Fix renames across file systems.
2896 o Ensure that items in a list of strings containing whitespace are
2897 written out surrounded by single quotes. This means that both
2898 double and single quotes are now used to surround strings in
2900 o Enable SWAT to correctly determine if winbindd is running (bug
2902 o Include WWW-Authenticate field in 401 response for bad auth
2904 o Add support for NTLM2 (NTLMv2 session security).
2905 o Add support for variable-length session keys.
2906 o More privilege fixes for group enumeration in LDAP (bug 281).
2907 o Use the dns name (or IP) as the originating client name when
2908 using CUPS (bug 467).
2909 o Fix various SMB signing bugs.
2910 o Fix ACL propagation on a DFS root (bug 263).
2911 o Disable NTLM2 for RPC pipes.
2912 o Allow the client to specify the NTLM2 flags got NTLMSSP
2914 o Change the name of the job passed off to cups from "Test Page"
2915 to "smbprn.00000033 Test Page" so that we can get the smb
2916 jobid back. This allow users to delete jobs with cups printing
2917 backend (partial work on bug 770).
2918 o Fix build of winbindd with static pdb modules.
2919 o Retrieve the correct ACL group bits if the file has an ACL
2921 o Implement "net rpc group members": Get members of a domain group
2922 in human-readable format.
2923 o Add MacOSX (Darwin) specific charset module code.
2924 o Use samr_dispinfo(level == 1) for enumerating domain users so we
2925 can include the full name in gecos field (bug 587).
2926 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
2927 o Implement 'net rpc group list [global|local|builtin]*' for a
2928 select listing of the respective user databases.
2929 o Don't automatically set NT status code flag unless client tells
2931 o Add 'net status [sessions|shares] [parseable]'.
2932 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
2934 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
2936 o Fix inverted logic in hosts allow/deny checks caused by
2937 s/strcmp/strequal/ (bug 846).
2938 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
2939 o Fix typo in 'hash' mangling algorithm.
2940 o Support munged dial for ldapsam (bug 800).
2941 o Fix process_incoming_data() to return the number of bytes handled
2942 this call whether we have a complete PDU or not; fixes bug
2943 with multiple PDU request rpc's broken over SMBwriteX calls
2945 o Fix incorrect smb flags2 for connections to pre-NT servers
2946 (causes smbclient to fail to OS2 for example) (bug 821).
2947 o Update version string in smbldap-tools Makefile to 0.8.2.
2948 o Correct a problem with "net rpc vampire" mis-parsing the
2949 alias member info reply.
2950 o Ensure the ${libdir} is created by the installclientlib script.
2951 o Fix detection of Windows 2003 client architecture in the smb.conf
2953 o Ensure that smbd calls the add user script for a missing UNIX
2954 user on kerberos auth call (bug 445).
2955 o Fix bugs in hosts allow/deny when using a mismatched
2956 network/netmask pair.
2957 o Protect alloc_sub_basic() from crashing when the source string
2958 is NULL (partial work on bug 687).
2959 o Fix spinlocks on IRIX.
2960 o Corrected some bad destination paths when running "configure
2962 o Add packaging files for Fedora Core 1.
2963 o Correct bug in SWAT install script for non-english languages.
2964 o Support character set ISO-8859-1 internally (bug 558).
2965 o Fixed more LDAP access errors when looking up group mappings
2967 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
2968 resolution to fail on local files on on domain members
2970 o Fix uninitialized variable in passdb.c.
2971 o Fix formal parameter type in get_static() in nsswitch/wins.c.
2972 o Fix problem mounting directories when mount.cifs is installed
2973 with the setuid bit on.
2974 o Fix bug that prevent --mandir from overriding the defaults
2975 given in the --with-fhs macro.
2976 o Fix bug in in-memory Kerberos keytab detection routines
2981 ######################################################################
2983 The original 3.0.0 release notes follow
2984 =======================================
2985 WHATS NEW IN Samba 3.0.0
2987 =======================================
2993 1) Active Directory support. Samba 3.0 is now able to
2994 join a ADS realm as a member server and authenticate
2995 users using LDAP/Kerberos.
2997 2) Unicode support. Samba will now negotiate UNICODE on the wire
2998 and internally there is now a much better infrastructure for
2999 multi-byte and UNICODE character sets.
3001 3) New authentication system. The internal authentication system
3002 has been almost completely rewritten. Most of the changes are
3003 internal, but the new auth system is also very configurable.
3005 4) New default filename mangling system.
3007 5) A new "net" command has been added. It is somewhat similar to
3008 the "net" command in windows. Eventually we plan to replace
3009 numerous other utilities (such as smbpasswd) with subcommands
3012 6) Samba now negotiates NT-style status32 codes on the wire. This
3013 improves error handling a lot.
3015 7) Better Windows 2000/XP/2003 printing support including publishing
3016 printer attributes in active directory.
3018 8) New loadable module support for passdb backends and character
3021 9) New default dual-daemon winbindd support for better performance.
3023 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3024 domain and maintaining user, group and domain SIDs.
3026 11) Support for establishing trust relationships with Windows NT 4.0
3029 12) Initial support for a distributed Winbind architecture using
3030 an LDAP directory for storing SID to uid/gid mappings.
3032 13) Major updates to the Samba documentation tree.
3034 14) Full support for client and server SMB signing to ensure
3035 compatibility with default Windows 2003 security settings.
3037 15) Improvement of ACL mapping features based on code donated by
3038 Andreas Grünbacher.
3041 Plus lots of other improvements!
3044 Additional Documentation
3045 ------------------------
3047 Please refer to Samba documentation tree (included in the docs/
3048 subdirectory) for extensive explanations of installing, configuring
3049 and maintaining Samba 3.0 servers and clients. It is advised to
3050 begin with the Samba-HOWTO-Collection for overviews and specific
3051 tasks (the current book is up to approximately 400 pages) and to
3052 refer to the various man pages for information on individual options.
3054 We are very glad to be able to include the second edition of
3055 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3056 (O'Reilly & Associates) in this release. The book is available
3057 on-line at http://samba.org/samba/docs/ and is included with
3058 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3059 publisher for making "Using Samba" under the GNU Free Documentation
3063 ######################################################################
3064 Upgrading from a previous Samba 3.0 beta
3065 ########################################
3067 Beginning with Samba 3.0.0beta3, the RID allocation functions
3068 have been moved into winbindd. Previously these were handled
3069 by each passdb backend. This means that winbindd must be running
3070 to automatically allocate RIDs for users and/or groups. Otherwise,
3071 smbd will use the 2.2 algorithm for generating new RIDs.
3073 If you are using 'passdb backend = tdbsam' with a previous Samba
3074 3.0 beta release (or possibly alpha), it may be necessary to
3075 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3076 to winbindd_idmap.tdb. To do this:
3078 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3080 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3082 3) run: (note that 'tdb>' is the tool's prompt for input)
3084 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3085 tdb> show RID_COUNTER
3089 [000] 0A 52 00 00 .R.
3091 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3095 If you are using 'passdb backend = ldapsam', it will be necessary to
3096 store idmap entries in the LDAP directory as well (i.e. idmap backend
3097 = ldap). Refer to the 'net idmap' command for more information on
3098 migrating SID<->UNIX id mappings from one backend to another.
3100 If the RID_COUNTER record does not exist, then these instructions are
3101 unneccessary and the new RID_COUNTER record will be correctly generated
3106 ########################
3107 Upgrading from Samba 2.2
3108 ########################
3110 This section is provided to help administrators understand the details
3111 involved with upgrading a Samba 2.2 server to Samba 3.0.
3117 Many of the options to the GNU autoconf script have been modified
3118 in the 3.0 release. The most noticeable are:
3120 * removal of --with-tdbsam (is now included by default; see section
3121 on passdb backends and authentication for more details)
3123 * --with-ldapsam is now on used to provided backward compatible
3124 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3125 backend and authentication section for more details
3127 * inclusion of non-standard passdb modules may be enabled using
3128 --with-expsam. This includes an XML backend and a mysql backend.
3130 * removal of --with-msdfs (is now enabled by default)
3132 * removal of --with-ssl (no longer supported)
3134 * --with-utmp now defaults to 'yes' on supported systems
3136 * --with-sendfile-support is now enabled by default on supported
3143 This section contains a brief listing of changes to smb.conf options
3144 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3145 complete descriptions of new or modified parameters.
3147 Removed Parameters (order alphabetically):
3150 * alternate permissions
3153 * code page directory
3155 * domain admin group
3156 * domain guest group
3157 * force unknown acl user
3163 * printer driver file
3164 * printer driver location
3166 * source environment
3174 New Parameters (new parameters have been grouped by function):
3178 * abort shutdown script
3181 User and Group Account Management
3182 ---------------------------------
3184 * add machine script
3185 * add user to group script
3186 * algorithmic rid base
3187 * delete group script
3188 * delete user from group script
3190 * set primary group script
3196 * passwd chat timeout
3200 * client lanman auth
3201 * client NTLMv2 auth
3207 * paranoid server security
3216 * hide special files
3217 * hide unwriteable files
3219 * kernel change notify
3229 * max reported print jobs
3231 UNICODE and Character Sets
3232 --------------------------
3238 SID to uid/gid Mappings
3239 -----------------------
3243 * winbind enable local accounts
3244 * winbind trusted domains only
3245 * template primary group
3246 * enable rid algorithm
3253 * ldap machine suffix
3255 * ldap replication sleep
3258 General Configuration
3259 ---------------------
3263 Modified Parameters (changes in behavior):
3265 * encrypt passwords (enabled by default)
3266 * mangling method (set to 'hash2' by default)
3269 * restrict anonymous (integer value)
3270 * security (new 'ads' value)
3271 * strict locking (enabled by default)
3272 * unix extensions (enabled by default)
3273 * winbind cache time (increased to 5 minutes)
3274 * winbind uid (deprecated in favor of 'idmap uid')
3275 * winbind gid (deprecated in favor of 'idmap gid')
3281 This section contains brief descriptions of any new databases
3282 introduced in Samba 3.0. Please remember to backup your existing
3283 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
3284 upgrade databases as they are opened (if necessary), but downgrading
3285 from 3.0 to 2.2 is an unsupported path.
3287 Name Description Backup?
3288 ---- ----------- -------
3289 account_policy User policy settings yes
3290 gencache Generic caching db no
3291 group_mapping Mapping table from Windows yes
3292 groups/SID to unix groups
3293 winbindd_idmap ID map table from SIDS to UNIX yes
3295 namecache Name resolution cache entries no
3296 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
3297 returned as part of a successful
3298 net_sam_logon request
3299 printing/*.tdb Cached output from 'lpq no
3300 command' created on a per print
3302 registry Read-only samba registry skeleton no
3303 that provides support for exporting
3304 various db tables via the winreg RPCs
3310 The following issues are known changes in behavior between Samba 2.2 and
3311 Samba 3.0 that may affect certain installations of Samba.
3313 1) When operating as a member of a Windows domain, Samba 2.2 would
3314 map any users authenticated by the remote DC to the 'guest account'
3315 if a uid could not be obtained via the getpwnam() call. Samba 3.0
3316 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
3317 current work around to re-establish the 2.2 behavior.
3319 2) When adding machines to a Samba 2.2 controlled domain, the
3320 'add user script' was used to create the UNIX identity of the
3321 machine trust account. Samba 3.0 introduces a new 'add machine
3322 script' that must be specified for this purpose. Samba 3.0 will
3323 not fall back to using the 'add user script' in the absence of
3324 an 'add machine script'
3327 ######################################################################
3328 Passdb Backends and Authentication
3329 ##################################
3331 There have been a few new changes that Samba administrators should be
3332 aware of when moving to Samba 3.0.
3334 1) encrypted passwords have been enabled by default in order to
3335 inter-operate better with out-of-the-box Windows client
3336 installations. This does mean that either (a) a samba account
3337 must be created for each user, or (b) 'encrypt passwords = no'
3338 must be explicitly defined in smb.conf.
3340 2) Inclusion of new 'security = ads' option for integration
3341 with an Active Directory domain using the native Windows
3342 Kerberos 5 and LDAP protocols.
3344 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
3345 type which is neccessary for servers on which the
3346 administrator password has not been changed, or kerberos-enabled
3347 SMB connections to servers that require Kerberos SMB signing.
3348 Besides this one difference, either MIT or Heimdal Kerberos
3349 distributions are usable by Samba 3.0.
3352 Samba 3.0 also includes the possibility of setting up chains
3353 of authentication methods (auth methods) and account storage
3354 backends (passdb backend). Please refer to the smb.conf(5)
3355 man page for details. While both parameters assume sane default
3356 values, it is likely that you will need to understand what the
3357 values actually mean in order to ensure Samba operates correctly.
3359 The recommended passdb backends at this time are
3361 * smbpasswd - 2.2 compatible flat file format
3362 * tdbsam - attribute rich database intended as an smbpasswd
3363 replacement for stand alone servers
3364 * ldapsam - attribute rich account storage and retrieval
3365 backend utilizing an LDAP directory.
3366 * ldapsam_compat - a 2.2 backward compatible LDAP account
3369 Certain functions of the smbpasswd(8) tool have been split between the
3370 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
3371 utility. See the respective man pages for details.
3374 ######################################################################
3378 This section outlines the new features affecting Samba / LDAP
3384 A new object class (sambaSamAccount) has been introduced to replace
3385 the old sambaAccount. This change aids us in the renaming of
3386 attributes to prevent clashes with attributes from other vendors.
3387 There is a conversion script (examples/LDAP/convertSambaAccount) to
3388 modify and LDIF file to the new schema.
3392 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3393 $ convertSambaAccount --sid=<Domain SID> \
3394 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3395 --changetype=[modify|add]
3397 The <DOM SID> can be obtained by running 'net getlocalsid
3398 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
3399 the format of the generated LDIF output--either create new entries
3400 or modify existing entries.
3402 The old sambaAccount schema may still be used by specifying the
3403 "ldapsam_compat" passdb backend. However, the sambaAccount and
3404 associated attributes have been moved to the historical section of
3405 the schema file and must be uncommented before use if needed.
3406 The 2.2 object class declaration for a sambaAccount has not changed
3407 in the 3.0 samba.schema file.
3409 Other new object classes and their uses include:
3411 * sambaDomain - domain information used to allocate rids
3412 for users and groups as necessary. The attributes are added
3413 in 'ldap suffix' directory entry automatically if
3414 an idmap uid/gid range has been set and the 'ldapsam'
3415 passdb backend has been selected.
3417 * sambaGroupMapping - an object representing the
3418 relationship between a posixGroup and a Windows
3419 group/SID. These entries are stored in the 'ldap
3420 group suffix' and managed by the 'net groupmap' command.
3422 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
3423 automatically and contains the next available 'idmap uid' and
3426 * sambaIdmapEntry - object storing a mapping between a
3427 SID and a UNIX uid/gid. These objects are created by the
3428 idmap_ldap module as needed.
3430 * sambaSidEntry - object representing a SID alone, as a Structural
3431 class on which to build the sambaIdmapEntry.
3434 New Suffix for Searching
3435 ------------------------
3437 The following new smb.conf parameters have been added to aid in directing
3438 certain LDAP queries when 'passdb backend = ldapsam://...' has been
3441 * ldap suffix - used to search for user and computer accounts
3442 * ldap user suffix - used to store user accounts
3443 * ldap machine suffix - used to store machine trust accounts
3444 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
3445 * ldap idmap suffix - location of sambaIdmapEntry objects
3447 If an 'ldap suffix' is defined, it will be appended to all of the
3448 remaining sub-suffix parameters. In this case, the order of the suffix
3449 listings in smb.conf is important. Always place the 'ldap suffix' first
3452 Due to a limitation in Samba's smb.conf parsing, you should not surround
3453 the DN's with quotation marks.
3459 Samba 3.0 supports an ldap backend for the idmap subsystem. The
3460 following options would inform Samba that the idmap table should be
3461 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
3466 idmap backend = ldap:ldap://onterose/
3467 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
3468 idmap uid = 40000-50000
3469 idmap gid = 40000-50000
3471 This configuration allows winbind installations on multiple servers to
3472 share a uid/gid number space, thus avoiding the interoperability problems
3473 with NFS that were present in Samba 2.2.
3477 ######################################################################
3478 Trust Relationships and a Samba Domain
3479 ######################################
3481 Samba 3.0.0beta2 is able to utilize winbindd as the means of
3482 allocating uids and gids to trusted users and groups. More
3483 information regarding Samba's support for establishing trust
3484 relationships can be found in the Samba-HOWTO-Collection included
3485 in the docs/ directory of this release.
3487 First create your Samba PDC and ensure that everything is
3488 working correctly before moving on the trusts.
3490 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
3491 4.0 domain named WINDOWS:
3493 1) create the trust account for SAMBA in "User Manager for Domains"
3494 2) connect the trust from the Samba domain using
3495 'net rpc trustdom establish GLASS'
3497 To create a trustlationship with SAMBA as the trusted domain:
3499 1) create the initial trust account for GLASS using
3500 'smbpasswd -a -i GLASS'. You may need to create a UNIX
3501 account for GLASS$ prior to this step (depending on your
3502 local configuration).
3503 2) connect the trust from a WINDOWS DC using "User Manager
3506 Now join winbindd on the Samba PDC to the SAMBA domain using
3507 the normal steps for adding a Samba server to an NT4 domain:
3508 (note that smbd & nmbd must be running at this point)
3510 root# net rpc join -U root
3511 Password: <enter root password from smbpasswd file here>
3513 Start winbindd and test the join with 'wbinfo -t'.
3515 Now test the trust relationship by connecting to the SAMBA DC
3516 (e.g. POGO) as a user from the WINDOWS domain:
3518 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3521 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3523 $ smbclient //crystal/netlogon -U root -W WINDOWS
3526 ######################################################################
3530 Beginning with Samba3.0.0beta3, winbindd has been given new account
3531 manage functionality equivalent to the 'add user script' family of
3532 smb.conf parameters. The idmap design has also been changed to
3533 centralize control of foreign SID lookups and matching to UNIX
3537 Brief Description of Changes
3538 ----------------------------
3540 1) The sid_to_uid() family of functions (smbd/uid.c) have been
3541 reverted to the 2.2.x design. This means that when resolving a
3542 SID to a UID or similar mapping:
3544 a) First consult winbindd
3545 b) perform a local lookup only if winbindd fails to
3546 return a successful answer
3548 There are some variations to this, but these two rules generally
3551 2) All idmap lookups have been moved into winbindd. This means that
3552 a server must run winbindd (and support NSS) in order to achieve
3553 any mappings of SID to dynamically allocated UNIX ids. This was
3554 a conscious design choice.
3556 3) New functions have been added to winbindd to emulate the 'add user
3557 script' family of smbd functions without requiring that external
3558 scripts be defined. This functionality is controlled by the 'winbind
3559 enable local accounts' smb.conf parameter (enabled by default).
3561 However, this account management functionality is only supported
3562 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
3563 must be shared among multiple Samba servers (such as a PDC and BDCs),
3564 it will be necessary to define your own 'add user script', et. al.
3565 programs that place the accounts/groups in some form of directory
3566 such as NIS or LDAP. This requirement was deemed beyond the scope
3567 of winbind's account management functions. Solutions for
3568 distributing UNIX system information have been deployed and tested
3569 for many years. We saw no need to reinvent the wheel.
3571 4) A member of a Samba controlled domain running winbindd is now able
3572 to map domain users directly onto existing UNIX accounts while still
3573 automatically creating accounts for trusted users and groups. This
3574 behavior is controlled by the 'winbind trusted domains only' smb.conf
3575 parameter (disabled by default to provide 2.2.x winbind behavior).
3577 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3578 in smbd/uid.c. The reason that group mappings are not included
3579 in winbindd is because the purpose of Samba's group map is to
3580 match any Windows SID with an existing UNIX group. These UNIX
3581 groups can be created by winbindd (see next section), but the
3582 SID<->gid mapping is retreived by smbd, not winbindd.
3588 * security = server running winbindd to allocate accounts on demand
3590 * Samba PDC running winbindd to handle the automatic creation of UNIX
3591 identities for machine trust accounts
3593 * Automtically creating UNIX user and groups when migrating a Windows NT
3594 4.0 PDC to a Samba PDC. Winbindd must be running when executing
3595 'net rpc vampire' for this to work.
3598 ######################################################################
3602 * There are several bugs currently logged against the 3.0 codebase
3603 that affect the use of NT 4.0 GUI domain management tools when run
3604 against a Samba 3.0 PDC. This bugs should be released in an early
3607 Please refer to https://bugzilla.samba.org/ for a current list of bugs
3608 filed against the Samba 3.0 codebase.
3611 ######################################################################
3612 Reporting bugs & Development Discussion
3613 #######################################
3615 Please discuss this release on the samba-technical mailing list or by
3616 joining the #samba-technical IRC channel on irc.freenode.net.
3618 If you do report problems then please try to send high quality
3619 feedback. If you don't provide vital information to help us track down
3620 the problem then you will probably be ignored.
3622 A new bugzilla installation has been established to help support the
3623 Samba 3.0 community of users. This server, located at
3624 https://bugzilla.samba.org/, has replaced the older jitterbug server
3625 previously located at http://bugs.samba.org/.