1 ==============================
2 Release Notes for Samba 3.0.11
4 ==============================
6 This is the latest stable release of Samba. This is the version
7 that production Samba servers should be running for all current
8 bug-fixes. Please read the following important changes in this
11 Common bugs fixed in 3.0.11 include:
13 o Crash in smbd when using CUPS printing.
14 o Parsing error of other SIDs included in the user_info_3
15 structure returned from domain controllers.
16 o Inefficiencies when searching non-AD LDAP directories.
17 o Failure to expand variables in user domain attributes
18 in tdbsam and ldapsam.
20 o Failure to retrieve certain attribute when migrating from
21 a Windows DC to a Samba DC via 'net rpc vampire'.
22 o Numerous printing bugs bugs including memory
23 bloating on large/busy print servers.
24 o Compatibility issues with Exchange 5.5 SP4.
27 Additional features introduced in Samba 3.0.11:
29 o Winbindd performance improvements.
30 o More 'net rpc vampire' functionality.
31 o Support for the Windows privilege model to assign rights
33 o New administrative options to the 'net rpc' command.
39 If "ldap user suffix" or "ldap machine suffix" are defined in
40 smb.conf, all user-accounts must reside below the user suffix,
41 and all machine and inter-domain trust-accounts must be located
42 below the machine suffix. Previous Samba releases would fall
43 back to searching the 'ldap suffix' in some cases.
49 Samba 3.0.11pre2 supports the following assignable rights
51 SeMachineAccountPrivilege Add machines to domain
52 SePrintOperatorPrivilege Manage printers
53 SeAddUsersPrivilege Add users and groups to the domain
54 SeRemoteShutdownPrivilege Force shutdown from a remote system
55 SeDiskOperatorPrivilege Manage disk shares
57 These rights can be assigned to arbitrary users or groups
58 via the 'net rpc rights grant/revoke' command. More details
59 of Samba's privilege implementation can be found in the
60 Samba-HOWTO-Collection.
63 ######################################################################
67 Changes since 3.0.11rc1
68 -----------------------
72 o Jeremy Allison <jra@samba.org>
73 o Timur Bakeyev <timur@com.bat.ru>
74 o Gerald (Jerry) Carter <jerry@samba.org>
75 o Guenther Deschner <gd@samba.org>
76 o Volker Lendecke <vl@samba.org>
77 o Tim Potter <tpot@samba.org>
88 afs token lifetime New
90 ldap password sync Alias
91 min password length Deprecated
92 winbind enable local accounts Deprecated
97 o Jeremy Allison <jra@samba.org>
98 * Extend vfs to add seekdir/telldir/rewinddir.
100 * Fix bugs when handling secondary trans2 requests.
101 * Implementation of get posix acls in UNIX extensions.
102 * Added set posix acl functionality into the UNIX extensions code.
103 * Updated config.guess/config.sub .
104 * Fix error reply when 'follow symlinks = no'.
105 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
107 * Fixes for LARGE_READX support.
108 * Fix the problem we get on Linux where sendfile fails, but we've
109 already sent the header using send().
110 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
112 * BUG 2088: Ensure inherit permissions is only applied on a new
113 file, not an existing one.
114 * Don't go fishing for the krb5 authorization data unless we know
116 * Fixes for libsmbclient to ensure that interrupted system calls
117 are restarted minus the already expired portion of the timeout
118 (based on work by Derrell Lipman).
119 * More Unicode string parsing fixes.
120 * Convert the winreg pipe to use WERROR returns.
121 * Make all LDAP timeouts consistent (input from Joe Meadows
122 <jameadows@webopolis.com>).
123 * BUG 2231: Remove double "\\" from client findfirst.
124 * BUG 2238: Fix memory leak in shadow copy vfs.
125 * Return correct DOS/NT error code on transact named pipe on
127 * BUG 2211: Fix security descriptor parsing bug (based on work by
128 Mrinal Kalakrishnan <mail@mrinal.net>).
129 * BUG 2270: Fix memory leaks in cups printing backend support
130 (based on work by Lars Mueller).
131 * BUG 2255: Fix debug level in kerberos error messages.
132 * BUG 2110: Ensure we convert to ucs2 correctly after the
134 * Make strict locking an enum. Auto means use oplock optimization.
135 * Fix client & server to allow 127k READX calls.
136 * More *alloc fixes (includes additional fixes by Albert Chin.
137 * Catch sendfile errors correctly and return the correct values
138 we want the caller to return.
139 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
140 for better use by desktop environments such as GNOME.
141 * Ensure we can't remove a level II oplock without having the
142 shared memory area locked.
145 o Timur Bakeyev <timur@com.bat.ru>
146 * BUG 2100: change the way we check for errors after a dlopen().
149 o Andrew Bartlett <abartlet@samba.org>
150 * Clarify error message when 'lanman auth = no'.
151 * Remove the unnecessary UTF-8 conversion calls in the calls to
152 auth_winbind from smbd.
153 * Don't store the auth-user credentials with the cli_state* as
154 this can cause the schannel setup to fail when the auth-user
155 domain is not our primary domain.
158 o Grigory Batalov <bga@altlinux.org>
159 * Fix encoding while receiving of a message which was actually
160 sent using STR_ASCII.
163 o Daniel Beschorner <db@unit-netz.de>
164 * BUG 603: Correct access mask check for _samr_lookup_domain()
165 to work with Windows RAS server
168 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
169 * Fix missing printer_tdb reference decrement.
172 o Gerald (Jerry) Carter <jerry@samba.org>
173 * BUG 2073: fall back to smb_name if current_user_info is not
174 available in lp_file_list_changed().
175 * Fixes the spurious 'register_message_flags: tdb fetch failed'
177 * Don't run the background LPQ daemon when we are running in
179 * prevent the background LPQ daemon from updating the print queue
180 cache just because multiple smbd processes sent a message that
182 * consolidate printer searches to use find_service rather than
184 * BUG 2091: don't remove statically defined printers in
185 remove_stale_printers().
186 * Fix logic error in add_a_form() that only compared N characters
187 instead of the entire form name.
188 * BUG 2107: fix memory bloating caused by large numbers of
189 print_queue_updates() requests sent via messages.tdb.
190 * Check the setprinter(3) based on the access permissions on
191 the handle and avoid the call to print_access_check().
192 * Re-instantiate previous semantics for calling init_unistr2()
193 with a NULL source buffer.
194 * Support Windows privilege model for assigning rights
195 to specific SIDs. Based on work by Simo Sorce in the trunk
196 svn branch. This feature is controlled by the 'enable
197 privileges = [yes|no]' smb.conf(5) option.
198 * Add some smb.conf scripts for add/delete/change shares and
199 deleting cups printers.
200 * Expand variables in the profile path, logon home and logon script
201 values when using either tdbsam or ldapsam.
202 * Add Domain Admins (Full Control) to the default printer security
203 descriptor if we are a DC.
204 * RedHat and Fedora Packaging fixes for perl dependencies.
205 * Remove unused schema items from OpenLDAP schema file.
206 * Remove duplicate enumeration of "Windows x86" architecture
207 when listing printer drivers via rpcclient.
208 * Fail set_privileges() if 'enable privileges = no' to prevent
210 * Fix segfault in cups_queue_get().
211 * Tighten restrictions on changing user passwords when
212 the connected user possesses the SeMachineAccountPrivilege.
213 * Ensure we set NETBIOSNAME.domainname for the long machine name
214 when publishing printers in AD (based on input from Rob Foehl).
215 * Mark 'winbind enable local accounts' as deprecated.
216 * Mark testprns tool as deprecated.
217 * Allow root to grant/revoke privilege assignments.
218 * Correct interaction between user rights and se_access_check() on
220 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
224 o Nadav Danieli <nadavd@exanet.com>
225 * Short circuit some is_locked() tests if we are oplocked.
228 o Guenther Deschner <gd@samba.org>
229 * Allow 'localhost' as a valid server name in the smbd for the
231 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
232 Mewburn for the input).
233 * BUG 2059: Add additional checks needed after logic change to the
234 HAVE_WRFILE_KEYTAB detection test.
235 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
236 Samba DC. Allow us to lookup at least our own SID.
237 * More fixes to have proper German in swat (Thanks to Reiner
238 Klaproth and Björn Jacke.
239 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
240 setting security descriptors with smbcacls and using with
242 * Include the munged_dial, bad_password_count, logon_count, and
243 logon_hours attributes when running 'net rpc vampire'.
244 * Fix segfault in idmap_rid.
245 * When winbindd is operating in the multi-mapping mode of
246 idmap_rid, allow BUILTIN domain-mapping.
247 * Display infolevel 12 in query_dom_info in rpcclient.
248 * Fix bug in winbindd's lowercasing of usernames.
249 * Allow -v or -l for displaying verbose groupmap-listing
250 as well as "verbose".
251 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
253 * Close LDAP-Connection before retrying to open a new connection
255 * Marking "min password length" as depreciated.
256 * Implement SAMR query_dom_info-call info-level 8 server- and
257 client-side, based on samba4-idl.
258 * Allow rpcclient to define a port to use when connecting
260 * Allow Account Lockout with Lockout Duration "forever" (until
261 admin unlocks) to be set and displayed in User Manager.
262 * Allow to set acb_mask in rpcclient's enumdomusers.
263 * Add more generic rootDSE inspection function to check
264 for given controls or extensions and remember these on a
266 * Improve LDAP search efficiency by passing the acb_mask to
268 * Fixes for ldapsam_enum_group_memberships().
269 * Add createdomgroup to rpcclient.
270 * Add "net rpc user RENAME"-command.
271 * Display sam_user_info_7 in rpcclient.
272 * Make multi-domain-mode in idmap_rid accessible from outside
273 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
274 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
275 "Lockout Duration: Forever".
276 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
278 * Require assignment of Administrator SID in the passdb
279 backend. Fall back to the default name of 'Administrator' if
280 the lookup fails rather than using the first name in the
281 default 'admin users' list.
282 * Enhance LDAP failure debug messages.
285 o Jay Fenlason <fenlason@redhat.com>
286 * Fix crash in 'net join' due to calling free on
290 o Rob Foehl <rwf@loonybin.net>.
292 * Try modifying printer published attributes before adding it a
294 * Solaris packaging fixes.
295 * Don't force the cups printer-make-and-model tag as the comment
296 for autoloaded printers.
297 * Implement caching of names from printcap to support a true
298 'printcap cache time'.
301 o Johann Hanne <jhml@gmx.net>
302 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
305 o Jeff Hardy <hardyjm@potsdam.edu>
306 * Example script for 'add print command' when using CUPS.
309 o David Hu <david.hu@hp.com>
310 * Copy structure from print_queue_update() message rather than
311 referencing it. Fixes seg fault on HP-UX.
314 o Buck Huppmann <buckh@pobox.com>
315 * BUG 2186: Don't free uninitialized credentials.
316 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
317 dnsDomainName != realm.
320 o Björn Jacke <bjoern@j3e.de>
321 * BUG 2040: Ensure the locale is reset to C to get ASCII-
322 compatible toupper/lower functions.
325 o William Jojo <jojowil@hvcc.edu>
326 * Fix HPUX sendfile and add configure.in tests and code for
328 * AIX 5.3 compile fixes.
331 o Volker Lendecke <vl@samba.org>
332 * Optimize anonymous session setups by workstations in a
334 * Reimplment the QueryUserAliases() server RPC reply.
335 * Re-add the getpwnam-cache for performance.
336 * Cache the result of a pdb_getsampwnam for later SID lookup
338 * Unify the means of localtaing a user's global groups on a
340 * Fix bug when serving the 'Start Menu' in a roaming user profile..
341 * Map more pre-defined NT security descriptors to AFS acls.
342 * Add timeout to AD search requests.
343 * If a connection to a DC is requested (in winbindd), open
344 connections simultaneously to all DCs found.
346 * Fix logic error in handling of 'printcap name' parameter.
347 * Prevent winbindd from SPAM'ing the log files with 'user root
349 * Backport samr_DomInfo2 IDL specification from Samba 4.
350 * Implement smbstatus -n, don't lookup users and groups.
351 * Implement simple mapping that maps the space to another character
352 defined by afsacl:space.
353 * Add support for 'net idmap delete <idmap-file> <SID>'.
354 * Add new parameter 'afs token lifetime' tells the AFS client
355 when to throw away a token (patch from kllin@it.su.se).
356 * Initial work to allow support for multiple pipe opens on a
358 * Ensure that we still retrieve the netbios name of any DC
359 listed as a 'password server' to work around cases where the
360 DC was defined using an IP address or fqdn.
361 * Fix memleak in winbindd connection code.
362 * Fix cli_samr_queryuseraliases.
363 * Allow wbinfo --user-sids to expand expand domain local groups.
364 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
365 * Fix parsing of other_sids in net_user_info3.
366 * Correct bad failure logic when user was not a member of any
370 o Jim McDonough <jmcd@us.ibm.com>
371 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
372 clients. If it fails, fall back to WINREG.
373 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
374 * BUG 2198: Set password last change time when running 'net rpc
376 * Add "refuse machine password change" policy field.
379 o Luke Mewburn <lukem@NetBSD.org>
380 * BUG 2150: shmget() - Use POSIX definitions instead of non-
384 o Stefan Metzmacher <metze@samba.org>
388 o Buchan Milne <bgmilne@mandrake.org>
389 * Mandrake packaging fixes.
392 o Lars Mueller <lmuelle@suse.de>
393 * Fix build of libsmbclient on x86_64.
394 * BUG 2013: Fix testsuite build issues when libsmbclient.so
395 is installed in a non-default location.
396 * BUG 2050: Calculate max_fd for select correctly.
397 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
401 o Jason Mader <jason@ncac.gwu.edu>
402 * BUG 2069: Remove unused variables.
403 * BUG 2075: Remove dead code paths.
404 * BUG 2083: Fix compiler warnings caused by bad type casts.
407 o James Peach <jpeach@sgi.com>
408 * Fix rewinddir -> rewind_dir when using VFS macros.
411 o Gavrie Philipson <gavrie@disksites.com>
412 * BUG 1838: Remove stale printers imeeddiately when
413 processing a SIGHUP and during smb.conf reload.
416 o Tim Potter <tpot@samba.org>
417 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
418 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
419 * Change the license for the winbindd external interface
421 * HP-UX compile fixes.
424 o Simo Sorce <idra@samba.org>
425 * Backport pdbedit changes from trunk.
426 * Allows the add/change share command to create the shared
427 directory directory on disk.
429 o Jelmer Vernooij <jelmer@samba.org>
430 * Bug fixes for pdb_{xml,pqsql,xml}
431 * Fixes for pdb_mysql.
434 o Andrew Tridgell <tridge@samba.org>
435 * Bring Samba3 into line with the Samba4 password change code.
438 o Shiro Yamada <shiro@miraclelinux.com>
439 * BUG 2190: Force SWAT to display parameters in unix charset and
443 Release Notes for older release follow:
445 --------------------------------------------------
446 ==============================
447 Release Notes for Samba 3.0.10
449 ==============================
451 Common bugs fixed in 3.0.10 include:
453 o Fix for security issues described in CAN-2004-1154.
464 o Jeremy Allison <jra@samba.org>
465 * Added checks surrounding all *alloc() calls to fix
467 * Fix long standing memory size bug in bitmap_allocate().
468 * Remove bogus error check in deferred open file serving
472 o Thomas Bork <tombork@web.de>
473 * Fix autoconf script on platforms using a version of GNU ld
474 that does not include a date stamp in the output of --version.
477 o Luke Mewburn <lukem@NetBSD.org>
478 * Fix the swat install script to deal with the new image
479 destination directory used by the docs.
483 --------------------------------------------------
485 =============================
486 Release Notes for Samba 3.0.9
488 =============================
490 Common bugs fixed in 3.0.9 include:
492 o Problem updating roaming user profiles.
493 o Crash in smbd when printing from a Windows 9x client.
494 o Unresolved symbols in libsmbclient which caused
495 applications such as KDE's konqueror to fail when
496 accessing smb:// URLs.
506 o Jeremy Allison <jra@samba.org>
507 * Correctly detect errno for no acl/ea support.
508 * BUG 2036: Fix seg fault in 'net ads join'.
511 o Gerald (Jerry) Carter <jerry@samba.org>
512 * Solaris packaging fixes.
513 * Fix seg fault in lanman printing code.
514 * BUG 2017: fix testparm reporting for the passwd program
516 * Fix output of smbstatus to match the man page.
517 * BUG 2027: fix conflict with declaration MD5_CTX in system
519 * 2028: Avoid false error messages when copying a long
520 printer name to the device mode.
523 o Guenther Deschner <gd@samba.org>
524 * Allow deldriverex in rpcclient to delete drivers for a
525 specific architecture and a specific version.
526 * Fix a couple of rpcclient spoolss commands (setprinter,
527 setprintername, getdriver) w.r.t to printer-naming scheme.
528 Allow 'localhost' in the server string for certain server-side
530 * BUG 2015: Do not fail on setting file attributes with
534 o Michel Gravey <michel.gravey@optogone.com>
535 * Fix build when using gcc 3.0.
538 o Volker Lendecke <vl@samba.org>
539 * Fix tdb open logic when checking our local_pid after
543 o Jim McDonough <jmcd@us.ibm.com>
544 * BUG 1932: Fix crash in 'net getlocalsid' when run as
548 o Luke Mewburn <lukem@NetBSD.org>
549 BUG 1661: Fix KRB5_SETPW-defines
552 o Buchan Milne <bgmilne@mandrake.org>
553 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
556 o Lars Müller <lmuelle@suse.de>
557 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
560 o Martin Zielinski <mz@seh.de>
561 * Add DeletePrinterDriverEx() functionality to rpcclient.
564 --------------------------------------------------
566 =============================
567 Release Notes for Samba 3.0.8
569 =============================
571 Common bugs fixed in 3.0.8 include:
573 o Compile fixes for HP-UX
574 o Fixes for the printer publishing code used when joined to
576 o Incompatibilities with file system quotas.
577 o Several bugs in the spoolss printing code and print system
579 o Inconsistencies in the username map functionality when
580 configured on domain member servers.
581 o Various compile warnings and errors on various platforms.
582 o Fixes for kerberos interoperability with Windows 200x
583 domains when using DES keys.
584 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
585 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
588 New features included in the 3.0.8 release are:
590 o New migration functionality added the the net tool
591 for files/directories, printers, and shares.
592 o New experimental idmap backend for assigning uids/gids
593 directly based on the user/group RID when acting as a
594 member of single domain without any trusts.
595 o Additional printer migration support for XP/2003 platforms.
598 Change in Winbindd Behavior
599 ---------------------------
601 All usernames returned by winbindd are now converted to lower
602 case for better consistency. This means any winbind installation
603 relying on the winbind username will need to rename existing
604 directories and/or files based on the username (%u and %U) to lower
605 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
606 include mail spool files, home directories, valid user lines in
610 Change in Username Map
611 ----------------------
613 Previous Samba releases would only support reading the fully qualified
614 username (e.g. DOMAIN\user) from the username map when performing a
615 kerberos login from a client. However, when looking up a map
616 entry for a user authenticated by NTLM[SSP], only the login name would be
617 used for matches. This resulted in inconsistent behavior sometimes
618 even on the same server.
620 Samba 3.0.8 obeys the following rules when applying the username
623 * When performing local authentication, the username map is
624 applied to the login name before attempting to authenticate
626 * When relying upon a external domain controller for validating
627 authentication requests, smbd will apply the username map
628 to the fully qualified username (i.e. DOMAIN\user) only
629 after the user has been successfully authenticated.
632 ######################################################################
641 Parameter Name Action
642 -------------- ------
643 force printername New
644 sendfile disabled by default
650 o Jeremy Allison <jra@samba.org>
651 * Ensure extended security bit is on only if we negotiated
653 * Simplify statcache to use an in-memory tdb.
654 * If you're selecting a hash algorithm for tdb, you need
655 to do it at open time.
656 * Removed old dir caching code - not being used now we
657 have the statcache anyway.
658 * Simplify the mangle hash code to use an in-memory tdb.
659 * Merge iconv changes from Samba 4 branch.
660 * Fix parsing of names ending in dot and a few other error
662 * BUG 1667: Smbpasswd file could be left locked on some
664 * Fixes for smbclient tar functionality.
665 * BUG 1743: Fix logic bug the deferred open code.
666 * Don't try to set security descriptors on shares where
667 this has been turned off.
668 * Return correct error codes on old SEARCH call.
669 * Ensure we set errno = E2BIG when we overflow in the
670 fast-path character conversion code.
671 * Fix the roundup problem (returning 1mb roundup) for
673 * Added 'stat' command to smbclient to exercise the
674 UNIX_FILE_BASIC info level.
675 * Fix bug where we could incorrectly set sparse attribute.
676 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
677 (reported by Taj Khattra <taj.khattra@gmail.com>).
678 * Remove locked keys tdb code.
679 * BUG 1886: Prevent delete on close being set for readonly files
680 (and return the correct error code).
681 * Ensure we pass most of the new lock tests except for the cancel
682 lock which is yet to be added (merged from Samba 4 branch).
683 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
684 * BUG 1956: Ensure errno is saved and restored consistently on a
686 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
687 that all of the appropriate service principal names are set
688 upon joining an AD domain.
689 * Fix the correct use of resume name in the trans2 code.
690 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
691 correct salt used when generated the DES key after joining an
693 * Enhanced krb5 detection routines in the autoconf scripts.
696 o Andrew Bartlett <abartlet@samba.org>
697 * Avoid changing the machine account password in the passdb
698 backend, when it has 'already been changed'. This occurs
699 in situations where the secure channel between the workstation
700 and the DC breaks down, such as occurred in the MS04-11
702 * Fix utility name in error message in ntlm_auth.
703 * Fix NTLMv2 for use with pam_winbind.
704 * Remove conversion to and from UTF8 on the winbind pipe.
705 * Allow 'require_membership_of' and 'require-membership-of'.
706 * Fix the error code for 'you didn't specify a domain' in
708 * Use sys_getgroups() rather than scanning all groups
709 when generating SAMR replies.
712 o Igor Belyi <sambauser@katehok.ac93.org>
713 * Ensure pdb user is deleted first before deleting UNIX
714 user (LDAP backend needs this ordering).
717 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
718 * Fix core dump in 'net rpc vampire'.
721 o Vince Brimhall <vbrimhall@novell.com>
722 * Make ldapsam_compat robust against NULL attributes.
725 o Gerald Carter <jerry@samba.org>
726 * Don't limit the number of groups returned by winbindd_getgroups()
728 * BUG 1519: Match Windows 2000 behavior when opening a
729 printer using a servername in the form of an IP address or
731 * BUG 1907: remove extra slashes from the printer name in
732 getprinterdriverdir_1().
733 * Fix standard_sub_snum() to use the current user's gid.
734 * Fix background queue update bug (based on Volker's initial work
736 * Add 'force printername' service parameter for people that want
737 to enforce printername == sharename for spoolss printing.
738 * Ensure consistent usage of the username map. Use the fully
739 qualified DOMAIN\user format for 'security = domain|ads' and
740 apply after authentication has succeeded.
741 * Cosmetic fix for getent output -- lowercase the username only
742 and not the complete domain\username string.
743 * Packaging fixes for Solaris, Redhat, & Fedora.
746 o Sean Chandler <sean.chandler@verizon.net>
747 * Fix memlieak in cliconnect.c.
750 o Darren Chew <darrenc@vicscouts.asn.au>
751 * Solaris packaging fixes.
754 o Nalin Dahyabhai <nalin@redhat.com>
755 * SMB signing fix for 56-bit DES session keys.
758 o Guenther Deschner <gd@samba.org>
759 * add IA64 to the architecture table of printer-drivers.
760 * Add file/share/printer migration functionality to
762 * Show correct help for net groupmap commands.
763 * Fix deadlock loop in winbind's required_membership_sid
765 * Bring the same level of "required_membership"-functionality
766 that ntlm_auth uses, to pam_winbindd as well.
767 * Prevent "net lookup kdc" from seg-faulting when
768 using our own implementation of krb5_lookup_kdc with
770 * Adding getprinter level 7 to rpcclient.
771 * Support migrating printers|shares|files from Server A
772 to Server B while running the net-command on client C.
773 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
774 failure of this call non-critical (Thanks to Love @ Heimdal
775 for the explanation and patch).
776 * Fix typos in net's usage-output.
777 * Fix the paranoia-check to ensure the ldap-attribute and the
778 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
780 * Fix several bugs in the _samr_query_useraliases() rpc reply.
781 * Check correct string length when verifying password-policies
782 and using extended characters (Thanks to Uwe Morgenroth from CC
783 Compunet and Volker).
784 * Make 'password history'-behavior in ldapsam more consistent.
785 * Adding "Windows x64" as architecture string and driverdir "x64"
786 for the 64bit AMD platform.
787 * BUG 1343: Readd WKGUID-binding to match the correct default-
788 locations of new User-, Group- and Machine-Accounts in Active
789 Directory (this got lost during the last trunk-merge).
790 * Fix printer-migration w.r.t. to new naming-convention for
792 * Allow to migrate win2k3/xp-drivers as well.
793 * Add client-side support of triggering ads printer publishing
794 over msrpc setprinter calls inside the net-tool.
795 * Add the idmap_rid module (written in conjunction with
796 Sumit Bose <sbose@suse.de>).
797 * BUG 1661: Fix build with recent heimdal releases.
798 * Prevent idmap_rid from making unnecessary calls to domain
799 controllers for trusted domains.
802 o Arthur van Dongen <avdongen@xs4all.nl>
803 * Fix typos in pam_winbind log messages and SuSE
807 o Rob Foehl <rwf@loonybin.net>
808 * Typo fixes for log messages in printer publishing code.
809 * Fix memory leak in printer publishing code.
810 * Ensure print_backend_init() only gets called once.
811 * Have smbd check the published status of all printers
813 * Cleanup up the XXX_a_printer() API for consistency.
814 * Refactored the printer publishing code and include better
818 o Steve French <sfrench@us.ibm.com>
819 * Fix IP address override in mount.cifs mount helper and clean
820 up warning messages from the sparse tool and expand syntax help.
821 * Strip guest mount option off before sending to kernel mount
822 routine to avoid logging spurious message.
825 o Satoh Fumiyasu <fumiya@samba.gr.jp>
826 * BUG 1732: Limit share names returned by RAP based on windows
827 character width, not unix character width.
828 * BUG 1498: Ensure that acl entries are stored in the correct
832 o Brett Funderburg <brett@deepfile.com>
833 * Pass create options parameter to nt_create_andx() function
834 from the python bindings.
835 * BUG 1864: Add sd->type field to security descriptor Python
837 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
838 when trying to return the security descriptor for a file.
839 * BUG 1884: Fixes for the Python bindings to use the value
840 of the desired_access filed passed into the lsa_open_policy()
844 o Michael Gravey <michel.gravey@optogone.com>
845 * BUG 1776: Fix warnings when building modules caused by
846 certain versions of GNU ld not using the the default
847 --allow-shlib-undefined flag.
850 o Chris Hertel <crh@samba.org>
851 * Fix logic bug in splay tree data structure when finding
853 * Fix bug where an invalid MAC address would be printed by
854 a node status lookup from nmblookup.
857 o Uli Iske <iske@elkb.de>
858 * Update the DNS/eDirectory LDAP schema file.
861 o Björn Jacke <bjacke@sernet.de>
862 * BUG 1766: Unify charset-handling in Content-Type:-headers to
863 UTF-8. Reformat msgstr in msg-files to UTF-8.
864 * Do not use display charset for swat output.
865 * Convert the share names correctly from unix encoding to web
866 encoding and vice versa.
867 * Convert files from status page from unix charset to UTF-8.
870 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
871 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
874 o Tom Lackemann <cessnatomny@yahoo.com>
875 * BUG 1954: Fix memory leak in posix acl code.
878 o Volker Lendecke <vl@samba.org>
879 * Robustnss fix for winbindd when sending multiple requests
880 at a high rate for a slow operation.
881 * Solve the problem of user sids ending up with gid's
883 * Use sys_fork instead of fork for the dual daemon so that
884 we get the correct debug pid in the logfiles.
885 * Based on patch from jmcd, implement special lists for the LDAP
886 user attributes to delete.
887 * Fix creation of aliases via usrmgr. Winbind was too strict
888 checking the type of sids.
889 * Lowercase all usernames returned by winbind.
890 * BUG 1545, 1823: Only issue the ldap extended password change
891 operation if the ldap server supports it. Also ignore object
892 class violation errors from the extended operation.
893 * Optimization for 'idmap backend = ldap': When asking sid2id
894 for the wrong type, don't ask ldap when we have the opposite mapping
896 * Fix ldapsam_compat homeDrive.
897 * Add usersidlist and allowedusers subcommands to the net tool
898 in order to support scanning a file server's share and list
899 all users who have permission to connect there.
900 * Allow for multiple DC's to be named as #1c names in lmhosts.
902 * Fix checks for the local pid of an smbd process after
906 o Herb Lewis <herb@samba.org>
907 * Added tdbtool to be built by default.
910 o Love <lha@stacken.kth.se>
911 * BUG 1955: Inconsistent error return.
914 o Sorin Manolache <sorinm@gmail.com>
918 o Jim McDonough <jmcd@us.ibm.com>
919 * Allow 'net ads lookup' to rely on command line arguments
920 if contacting an ADS server fails; utilize cldap for lookups.
921 * Fixup formatting errors in TDB_LOG calls; add printf attribute
922 support to tdb log functions.
925 o Bill McGonigle <bill+samba@bfccomputing.com>
926 * BUG 1926: Type in debug message.
930 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
934 o Luke Mewburn <lukem@NetBSD.org>
935 * BUG 1782: Prevent testparm from displaying parameter synonyms.
938 o Stefan Metzmacher <metze@samba.org>
939 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
940 * Fix client quota support.
941 * Fix opening of system quota file.
944 o Lars Mueller <lmuelle@suse.de>
945 * Small fixes for autogen.sh to deal with version detection
946 of autoconf and autoheader; fixes for examples using
947 libtool to adhere to stricter syntax of newer version.
950 o Henrik Nordstrom <hno@squid-cache.org>
951 * Allow winbindd to return the correct number of groups
952 when the groups array must be enlarged.
955 o Narayana Pattipati <narayana.pattipati@wipro.com>
956 * Solaris autoconf detection fixes.
959 o Tim Potter <tpot@samba.org>
960 * BUG 1360: (correct fix) Use -Wl when passing flags to
962 * HP-UX compile fixes (from JBravo on #samba-technical).
963 * BUG 1731: More HP-UX compiles fixes.
964 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
965 spits the dummy otherwise.
966 * Fix bug in Python printerdata wrapper.
967 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
968 <bugzilla-samba@thewrittenword.com>).
969 * Fix parameter confusion in priming of name-to-sid cache
970 (Found by Qiao Yang).
971 * BUG 1888: Remove '..' from all pre-processor commands.
972 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
976 o Matt Selsky <selsky@columbia.edu>
977 * BUG 350: use autoconf 2.57 feature for checking header file
978 preprocessing (fixes configure warnings on Solaris).
981 o Richard Renard <rrenard@idealx.com>
982 * Fix usermgr.exe and trust relationships.
985 o Paul Szabo <psz@maths.usyd.edu.au>
986 * Fix to make find_workgroup use the same
987 truncation as create_workgroup.
990 o Richard Sharpe <rsharpe@samba.org>
991 * Ensure cli_write() can support writes >= 65536 bytes.
994 o Simo Sorce <idra@samba.org>
995 * Added check password script code in examples/auth/crackcheck/
996 * Fix memory corruption bug caused in freeing static memory.
999 o Andrew Tridgell <tridge@samba.org>
1000 * Remove lp_use_mmap() from map_file() since the latter
1001 is for read only and does not require coherence.
1002 * Ensure that the uuid pack/unpack routines do not go past
1003 the end of the structure.
1004 * Converted Samba 3 tree to use the new utf-16 aware iconv
1006 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1007 * Ensure configure only uses '=' instead of the bashism '=='.
1008 * Reduces the number of tdb locking calls made on file IO.
1011 o Jelmer Vernooij <jelmer@samba.org>
1012 * Convert internal data to UTF-8 before calling libxml2.
1013 * Complain if 'password chat' doesn't contain the %u variable
1014 (based on a patch by Ronan Waide).
1018 * BUG 1541: Fix recursive ls in smbclient.
1021 o Igor Zhbanov <bsg@uniyar.ac.ru>
1022 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1025 --------------------------------------------------
1027 =============================
1028 Release Notes for Samba 3.0.7
1030 =============================
1032 This is the latest stable release of Samba. This is the version
1033 that production Samba servers should be running for all
1034 current bug-fixes. There have been several important issues
1035 fixes since the 3.0.6 release. See the "Changes" section for
1036 details on exact updates.
1038 Common bugs fixed in 3.0.7 include:
1040 o Fixes for two Denial of Service vulnerabilities
1041 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1042 o Winbind failure to return user entries under certain
1044 o Syntax errors in the OpenLDAP schema file (samba.schema).
1045 o Printing errors caused by not setting default values
1046 for the various printing commands.
1055 Parameter Name Action
1056 -------------- ------
1057 winbind enable local accounts disabled by default
1062 o Jeremy Allison <jra@samba.org>
1063 * Fix parsing of names ending in dot and a few other error
1065 * BUG 1674: Move the symlinks checks into reduce_name().
1066 * Fix memleak when checking the valid names smb.conf option.
1067 * Fix memleak on error return path in the file open code.
1068 * More paranoia checks in the hash2 mangling code.
1069 * Fix syntax error in configure.in.
1070 * Match Win2k3's behavior for pathname parsing error returns.
1071 * Make nmbd more robust against bad netbios packets
1073 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1077 o Andrew Bartlett <abartlet@samba.org>
1078 * Janitor work in loadparm.c -- remove unused parameters.
1081 o Gerald Carter <jerry@samba.org>
1082 * BUG 1464: Ensure that printing commands are initialized even
1083 if the 'printing' parameter is not explicitly set.
1084 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1085 Adharsh Praveen <rprav@india.hp.com>)
1086 * Work around parsing error in the print change notify code.
1087 * remove duplicate declaration of getprintprocdir from
1089 * Only use sAMAccountName and not userPrincipalName when looking
1090 up a username in AD since the breaks winbindd (lookup_name()
1091 only works with the sAMAccountName).
1092 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1093 filling in the username in the user_info3.
1094 * Fix logic bug in the check for creating a user's home directory
1095 in register_vuid(); caused home directory to be mismatched to
1096 the first share in smb.conf under certain conditions.
1097 * BUG 1656: rename auto.a to auto.smb.
1098 * Ensure that we assign our pid to print jobs (and not our
1099 parent's pid); ensures that spooling jobs from dead smbds
1100 are removed from the tdb.
1101 * Disable 'winbind enable local accounts' by default.
1102 * Adding some initial checks for DragonFly (same as
1106 o Guenther Deschner <gd@samba.org>
1107 * Use SMB_ASSERT() to track down NULL printer names in
1109 * Revert fix for BUG 1474 to avoid unnecessary packaging
1113 o Olaf Flebbe <o.flebbe@science-computing.de>.
1114 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1116 * BUG 1626: More compile fixes.
1119 o Rob Foehl <rwf@loonybin.net>
1120 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1121 by attempts to sanitize the defined attributes.
1124 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1125 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1128 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1129 * BUG 1657: Remove used initialized variable,
1130 * BUG 1658: Add a little bit of const.
1133 o Volker Lendecke <vl@samba.org>
1134 * If there's garbage in the pidfile, we should not panic
1135 but assume that no one else is around. We can't find the
1139 o Jim McDonough <jmcd@us.ibm.com>
1140 * Fixup format string in the tdb error messages.
1143 o Jonas Olsson <lexicon@lysator.liu.se>
1144 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1145 reporting the list in usrmgr.exe.
1148 o Tim Potter <tpot@samba.org>
1149 * Fix out-of-tree builds (problem with the script to generate
1150 the svn version number).
1151 * BUG 1360: Need to use -Wl when passing flags to the linker.
1152 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1153 doesn't have one of its own.
1155 o Simo Sorce <idra@samba.org>
1156 * Fixup compile issues on AIX caused by broken strlen() and
1158 * Update debian packaging files.
1161 o Dimitri van der Spek <dwspek@aboveit.nl>
1162 * Use the correct counter when copying group rids from the
1163 user_info3 struct in pam_winbind.
1166 o Qiao Yang <qyang@stbernard.com>
1167 * BUG 1622: Only cache the user
1170 --------------------------------------------------
1172 =============================
1173 Release Notes for Samba 3.0.6
1175 =============================
1177 Common bugs fixed in 3.0.6 include:
1179 o Schannel failure in winbindd.
1180 o Numerous memory leaks.
1181 o Incompatibilities between the 'write list' and 'force user'
1183 o Premature optimization of the open_directory() internal
1184 function that broke tools such as the ArcServe backup
1185 agent, Macromedia HomeSite, and Robocopy.
1186 o Corrupt workgroup names in nmbd's browse.dat.
1187 o Sharing violation errors commonly seen when opening
1188 when serving Microsoft Office documents from a Samba
1190 o Browsing problems caused by an apostrophe (') in the
1191 computer's description field.
1192 o Problems creating special file types from UNIX CIFS
1193 clients and enabling 'unix extensions'.
1194 o Fix stalls in smbd caused by inaccessible LDAP servers.
1195 o Remove various memory leaks.
1196 o Fix issues in the password lockout feature.
1198 New features introduced in this release include:
1200 O Support symlinks created by CIFS clients which
1201 can be followed on the server.
1202 o Using a cups server other than localhost.
1203 o Maintaining the service principal entry in the system
1204 keytab for integration with other kerberized services.
1205 Please refer to the 'use kerberos keytab' entry in
1206 smb.conf(5). When using the heimdal kerberos libraries,
1207 you must also specify the following in /etc/krb5.conf:
1209 default_keytab_name = FILE:/etc/krb5.keytab
1210 o Support for maintaining individual printer names
1211 stored separately from the printer's sharename.
1212 o Support for maintaining user password history.
1213 o Support for honoring the logon times for user in a
1216 --------------------------------------------
1217 unix extensions = yes (default) and symlinks
1218 --------------------------------------------
1220 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
1221 clients supporting the UNIX extensions to the CIFS protocol
1222 can create symlinks to absolute paths which will be **followed**
1223 by the server. This functionality has been requested in order
1224 to correctly support certain applications when the user's home
1225 directory is mounted using some type of CIFS client (e.g. the
1226 cifsvfs in the Linux 2.6 kernel).
1228 If this behavior is not acceptable for your production environment
1229 you can set 'wide links = no' in the specific share declaration in
1230 the server's smb.conf. Be aware that disabling wide link support
1231 out of a share in Samba may impact the server's performance due
1232 to the fact that smbd will now have to check each path additional
1233 times before traversing it.
1235 ------------------------
1236 Password History Support
1237 ------------------------
1239 The new password history feature allows smbd to check the new
1240 password in password change requests against a list of the user's
1241 previous passwords. The number of previous passwords to save can
1242 be set using pdbedit (4 in this example):
1244 root# pdbedit -P "password history" -C 4
1246 When using the ldapsam passdb backend, it is vital to secure the
1247 following attributes from access by non-administrative users:
1251 * sambaPasswordHistory
1253 You should refer to your directory server's documentation on how
1254 to implement this restriction.
1263 Parameter Name Action
1264 -------------- ------
1266 defer sharing violations New
1267 force unknown acl user New
1269 printcap cache time New
1270 use kerberos keytab New
1274 o Jeremy Allison <jra@samba.org>
1275 * Correct path parsing bug that broke DeletePrinterDriverEx().
1276 * Fix bugs in check_path_syntax() caught by asserts.
1277 * Internal change - rearrange internal global case setting
1278 variables to a per connection basis.
1279 * BUG 1345: Fix premature optimization in unix_convert().
1280 * Allow clients to truncate a locked file.
1281 * BUG 1319: Always check to see if a user as write access
1282 to a share, even when 'force user' is set.
1283 * Fix specific case of open that doesn't cause oplock break,
1284 or share mode check.
1285 * Correct sid type is WKN_GROUP, not alias. Added some
1286 more known types (inspired by patch from Jianliang Lu).
1287 * Allow creation of absolute symlink paths via CIFS clients.
1288 * Fix charset bug in when invoking send_mailslot().
1289 * When using widelinks = no, use realpath to canonicalize
1290 the connection path on connection create for the user.
1291 * Enhance stat open code.
1292 * Fix unix extensions mknod code path.
1293 * Allow unix domain socket creation via unix extensions.
1294 * Auto disable the 'store dos attribute' parameter if the
1295 underlying filesystem doesn't support EAs.
1296 * Implement deferred open code to fix a bug with Excel files
1298 * BUG 1427: Catch bad path errors at the right point. Ensure
1299 all our pathname parsing is consistent.
1300 * Fix SMB signing error introduced by the new deferred open
1302 * Change default setting for case sensitivity to "auto". (see
1303 commit message -- r1154 -- for details).
1304 * Add new remote client arch -- CIFSFS.
1305 * Allow smbd to maintain the service principal entry in the
1306 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
1307 Guenther Deschner, et. al.).
1308 * Fix longstanding memleak bug with logfile name.
1309 * Fix incorrect type in printer publishing (struct uuid,
1311 * Heimdal compile fixes after introduction of the new ketyab
1313 * Ensure we check attributes correctly on rename request.
1314 * Ensure we defer a sharing violation on rename correctly.
1315 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
1317 * Fix bogus error message when using "mangling method = hash"
1319 * Turn on sendfile by default for non-Win9x clients.
1320 * Handle non-io opens that cause oplock breaks correctly.
1321 * Ensure ldap replication sleep time is not more than 5 seconds.
1322 * Add support for storing a user's password history.
1323 LDAP portion of the code was based on a patch from
1324 Jianliang Lu <j.lu@tiesse.com>.
1325 * Correct memory leaks found in the password change code.
1326 * Fix support for the mknod command with the Linux CIFS client.
1327 * Remove support for passing the new password to smbpasswd
1328 on the command line without using the -s option.
1329 * Ensure home directory service number is correctly reused
1330 (inspired by patches from Michael Collin Nielsen
1331 <michael@hum.aau.dk>).
1332 * Fix to stop printing accounts from resetting the bas
1333 password and account lockout flags.
1334 * If a account was locked out by an admin (and has a bad
1335 password count of zero) leave it locked out until an admin
1336 unlocks it (but log a message).
1337 * Ensure we return the same ACL revision on the wire that
1339 * BUG 1578: Hardcode replacement for invalid characters as '_'
1340 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1341 * Fix hashed password history for LDAP backends.
1342 * Enforce logon hours restrictions if confiogured (based on code
1343 from Richard Renard <rrenard@idealx.com>).
1344 * BUG 1606: Force smbd to disable sendfile with DOS clients
1345 and ensure that the chained header is filled in for ...&X
1347 * BUG 1602: Fix access to shares when all symlink support
1352 o Tom Alsberg <alsbergt@cs.huji.ac.il>
1353 * Allow pdbedit to export a single user from a passdb backend.
1356 o Andrew Bartlett <abartlet@samba.org>
1357 * Fix parsing bug in GetDomPwInfo().
1358 * Fix segfault in 'ntlm_auth --diagnostics'.
1359 * Re-enable code to allow sid_to_gid() to perform a group
1360 mapping lookup before checking with winbindd.
1361 * Fix memory leak in the trans2 signing code.
1362 * Allow more flexible GSS-SPENGO client and server operation
1364 * Improve smbd's internal random number generation.
1365 * Fix a few outstanding long password changes in smbd.
1366 * Fix LANMAN2 session setup code.
1369 o Eric Boehm <boehm@nortelnetworks.com>
1370 BUG 703: Final touches on netgroup case lookups.
1373 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1374 * Ensure error status codes don't get overwritten in
1375 lsa_lookup_sids() server code.
1376 * Correct bug that caused smbd to overwrite certain error
1377 codes when returning up the call stack.
1378 * Ensure the correct sid type returned for builtin sids.
1381 o Gerald Carter <jerry@samba.org>
1382 * Fix a few bugs in the Fedora Packaging files.
1383 * Fix for setting the called name to by our IP if the
1384 called name was *SMBSERVER and *SMBSERV. Fixes issue
1385 with connecting to printers via \\ip.ad.dr.ess\printer
1387 * BUG 1315: fix for schannel client connections to servers
1388 when we haven't specifically negotiated AUTH_PIPE_SEAL.
1389 * Allow PrinterDriverData valuenames with embedded backslashes
1390 (Fixes bug with one of the Konica Fiery drivers).
1391 * Fixed string length miscalculation in netbios names that
1392 resulted in corrupt workgroup names in browse.dat.
1393 * When running smbd as a daemon, launch child smbd to update
1394 the lpq cache listing in the background.
1395 * Allow printers "Printers..." folder to be renamed to a string
1396 other than the share name.
1397 * Allow winbindd to use domain trust account passwords when
1398 running on a Samba DC to establish an schannel to remote
1400 * Fix bad merge and ensure that we always use tdb_open_log()
1401 instead of tdb_open_ex() (the former call enforce the 'use
1403 * BUG 1221: revert old change that used single and double
1404 quotes as delimeters in next_token(), and change
1405 print_parameter() to print out parm values surrounded by
1406 double quotes (instead of single quotes).
1407 * Prevent home directories added during the SMBsesssetup&X from
1408 being removed as unused services.
1409 * Invalidate the print object cache for open printer handles when
1410 smbd receives a message that an attribute on a given printer
1412 * Cause the configure script to exit if --enable-cups[=yes] is
1413 defined and the system does not have the cups devel files
1415 * BUG 1297: Prevent map_username() from being called twice
1417 * Ensure that we use the userPrincipalName AD attribute
1418 value for LDAP SASL binds.
1419 * Ensure we remove the tdb entry when deleting a job that
1421 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
1422 client sends a FindNextPrintChangeNotify() request without
1423 previously sending a FindFirstPrintChangeNotify(). Return
1424 the same error code as Windows 2000 SP4.
1425 * BUG 1516: Manually declare ldap_open_with_timeout() to
1426 workaround compiler errors on IRIX (or other systems without
1428 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
1430 * Corrected syntax error in the OID for sambaUnixIdPool,
1431 sambaSidEntry, & sambaIdmapEntry object classes.
1432 * Tighten the cache consistency with the ntprinters.tdb entry
1433 an the in memory cache associated with open printer handles.
1434 * Make sure that register_messages_flags() doesn't overwrite
1435 the originally registered flags.
1438 o Fabien Chevalier <fabien.chevalier@supelec.fr>
1439 * Debian BUG 252591: Ensure that the return value from the
1440 number of available interfaces is initialized in case no
1441 interfaces are actually available.
1444 o Guenther Deschner <gd@sernet.de>
1445 * Implement 'rpcclient setprintername'.
1446 * Add local groups to the user's NT_TOKEN since they are
1447 actually supported now.
1448 * Heimdal compile fixes after introduction of the new keytab
1450 * Correctly honor the info level parameter in 'rpcclient
1452 * Reintroduce 'force unknown acl user' parameter. When getting a
1453 security descriptor for a file, if the owner sid is not known,
1454 the owner uid is set to the current uid. Same for group sid.
1455 * Ensure that REG_SZ values in the SetPrinterData actually
1456 get written in UNICODE strings rather than ASCII.
1457 * Ensure that the last kerberos error return is not invalid.
1458 * Display share ACL entries from rpcclient.
1459 * Correct infinite loop in pam_winbind's verification of
1460 group membership in the 'other sids' field in the user_info3
1464 o Fabian Franz <FabianFranz@gmx.de>
1465 * Support specifying a port in the device URL passed to smbspool.
1468 o Steve French <sfrench@us.ibm.com>
1469 * Handle -S and user mount parms in mount.cifs.
1470 * Fix user unmount of shares mount with suid mount.cifs.
1471 * prevent infinite recusion in reopen_logs() when expanding
1472 the smb.conf variable %I.
1475 o Bjoern Jacke <bj@sernet.de>
1476 * Install libsmbclient into $(LIBDIR), not into hard coded
1477 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
1478 and an explicit configure --libdir setting.
1481 o <kawasa_r@itg.hitachi.co.jp>
1482 * Correct more memory leaks and initialization bugs.
1483 * Fix bug that prevented core dumps from being generated
1485 * Connect to the winbind pipe in non-blocking mode to
1486 prevent processes from hanging.
1487 * Memory leak fixes.
1490 o Stephan Kulow <coolo@suse.de>
1491 * Fix crash bug in libsmbclient.
1494 o Volker Lendecke <vl@samba.org>
1495 * Added vfs_full_audit module.
1496 * Add vfs_afsacl.c which can display & set AFS acls via
1497 the NT security editor.
1498 * Fix crash bug caused by trying to Base64 encode a NULL string.
1499 * Fix DOS error code bug in reply_chkpath().
1500 * Correct misunderstanding of the max_size field in
1501 cli_samr_enum_als_groups; it is more like an account_control
1502 field with individual bits what to retrieve.
1503 * Implement 'net rpc group rename' -- rename domain groups.
1504 * Implement the 'cups server' option. This makes it possible
1505 to have virtual smbd's connect to different cups daemons.
1506 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
1507 * Fix sid_to_gid() calls in winbindd to prevent loops.
1508 * Ensure that local_sid_to_gid() sets the type of the group on
1510 * Make sure that the clients are given back the IP address to
1511 which they connected in the case of a multi-homed host. Only
1512 affects strings the spoolss printing replies.
1513 * Fix the bad password lockout. This has not worked as pdb_ldap.c
1514 did not ask for the modifyTimestamp attribute, so it could
1515 not find it. Try not to regress by not putting that attrib
1516 in the main list but append it manually for the relevant searches.
1517 * Fix two memleaks in login_cache.c.
1518 * fixes memory bloat when unmarshalling strings.
1519 * Fix compile errors using gcc 3.2 on SuSE 8.2.
1520 * Fix the build for systems without kerberos headers.
1521 * Allow winbindd to handle authentication requests only when
1522 started without either an 'idmap uid' or 'idmap gid' range.
1523 * Fix the build for systems without ldap headers.
1524 * Fix interaction between share security descriptor and the
1525 'read only' smb.conf option.
1526 * Fix bug that caused _samr_lookupsids() with more than 32 (
1527 MAX_REF_DOMAINS) SIDs to fail.
1528 * Allow the 'idmap backend' parameter to accept a list of
1529 LDAP servers for failover purposes.
1530 * Revert code in smbd to remove a tdb when it has become
1532 * Add paranoid checks when mapping SIDs to a uid/gid to
1533 ensure that the type is correct.
1534 * Initial work on getting client support for sending mailslot
1536 * Add 'ldap timeout' parameter.
1537 * Dont always uppercase 'afs username map'.
1538 * Expand aliases for getusersids as well.
1539 * Improved NT->AFS ACL mapping VFS module.
1542 o Herb Lewis <herb@samba.org>
1543 * Add the acls debug class.
1544 * Fix logic bug in netbios name truncate routine.
1545 * Fix smbd crash caused by smbtorture IOCTL test.
1546 * Fix errno tromping before calling iconv to reset the
1548 * need to leave empty dacl so we can remove last ACE.
1551 o Jianliang Lu <Jianliang.Lu@getronics.com>
1552 * Fix to stop smbd hanging on missing group member in
1554 * Make sure Samba returns the correct group types.
1555 * Reset the bad password count password counts upon a successful login.
1558 o Jason Mader <jason@ncac.gwu.edu>
1559 * BUG 1385: Don't use non-consts in a structure initialization.
1562 o Jim McDonough <jmcd@us.ibm.com>
1563 * BUG 1279: SMBjobid fix for Samba print servers running on
1564 Big-Endian platforms.
1567 o Joe Meadows <jameadows@webopolis.com>
1568 * Add optional timeout parameter to ldap open calls.
1569 * Allow get_dc_list() to check the negative cache.
1572 o Stefan Metzmacher <metze@samba.org>
1573 * fix a configure logic bug for linux/XFS quotas when
1574 using --with-sys-quotas.
1575 * Use quota debug class in quota code.
1576 * print out the SVN revision by configure,
1579 o Buchan Milne <bgmilne@mandrake.org>
1580 * Mandrake packaging fixes.
1583 o Lars Mueller <lmuelle@suse.de>
1584 * BUG 1279: Added 'printcap cache time' parameter.
1585 * Fix afs related build issues on SuSE.
1586 * Fix compiler warnings in the kerberos client code.
1589 o James Peach <jpeach@sgi.com>
1590 * More iconv detection fixes for IRIX.
1591 * Compile fixed for systems that do not have C99/UNIX98 compliant
1592 vsnprintf by default.
1593 * Prevent smbd from attempting to use sendfile at all if it is
1594 not supported by the server's OS.
1595 * Allow SWAT to search for index.html when serving html files
1600 * Implement NFS quota support on FreeBSD.
1603 o Tim Potter <tpot@samba.org>
1604 * BUG 1360: Use -Bsymbolic when creating shared libraries to
1605 avoid conflicts with identical symbols in the global namespace
1606 when loading libnss_wins.so.
1609 o Richard Renard <rrenard@idealx.com>
1610 * Save the current password as it is being changed into the
1611 password history list.
1614 o Richard Sharpe <rsharpe@samba.org>
1615 * Fix error return codes on some lock messages.
1616 * BUG 1178: Make the libsmbclient routines callable
1618 * BUG 1333: Make sure we return an error code when
1620 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
1621 share mode locking requests fail.
1624 o Simo Sorce <idra@samba.org>
1625 * Update Debian stable & unstable packaging.
1626 * Tidy up parametric options in testparm output.
1629 o Richard Sharpe <rsharpe@samba.org>
1630 * Add sigchild handling to winbindd to restart the child
1631 daemon if necessary.
1634 o Tom Shaw <tomisfaraway@gmail.com>
1635 * Use winbindd_fill_pwent() consistently.
1638 o Nick Thompson <nickthompson@agere.com>
1639 * Protect smbd against broken filesystems which return zero
1643 o Andrew Tridgell <tridge@samba.org>
1644 * Fixed bug in handling of timeout in socket connections.
1647 o Nick Wellnhofer <wellnhofer@aevum.de>
1648 * Prevent lp_interfaces() list from being corrupted. Fixes
1649 bug where nmbd would lose the list of network interfaces
1650 on the system and consequently shutdown.
1653 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1654 * Fix ntlm_auth memory leaks.
1657 o Jelmer Vernooij <jelmer@samba.org>
1658 * Additional NT status to unix error mappings.
1659 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
1660 get duplicate symbol errors.
1661 * Return an error when the last command read from stdin
1663 * Prepare for better error checking in tar.
1664 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1667 Changes for older versions follow below:
1669 --------------------------------------------------
1671 =============================
1672 Release Notes for Samba 3.0.5
1674 =============================
1676 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
1677 the exception of correcting the two security issues outlined
1680 ######################## SECURITY RELEASE ########################
1682 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
1683 CVE ID: CAN-2004-0600, CAN-2004-0686
1684 (http://cve.mitre.org/)
1687 This is the latest stable release of Samba. This is the version
1688 that production Samba servers should be running for all current
1691 It has been confirmed that versions of Samba 3 prior to v3.0.4
1692 are vulnerable to two potential buffer overruns. The individual
1693 details are given below.
1699 Affected Versions: Samba 3.0.2 and later
1701 The internal routine used by the Samba Web Administration
1702 Tool (SWAT v3.0.2 and later) to decode the base64 data
1703 during HTTP basic authentication is subject to a buffer
1704 overrun caused by an invalid base64 character. It is
1705 recommended that all Samba v3.0.2 or later installations
1706 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1707 the swat administration service as a temporary workaround.
1709 This same code is used internally to decode the
1710 sambaMungedDial attribute value when using the ldapsam
1711 passdb backend. While we do not believe that the base64
1712 decoding routines used by the ldapsam passdb backend can
1713 be exploited, sites using an LDAP directory service with
1714 Samba are strongly encouraged to verify that the DIT only
1715 allows write access to sambaSamAccount attributes by a
1716 sufficiently authorized user.
1718 The Samba Team would like to heartily thank Evgeny Demidov
1719 for analyzing and reporting this bug.
1725 Affected Versions: Samba 3.0.0 and later
1727 A buffer overrun has been located in the code used to support
1728 the 'mangling method = hash' smb.conf option. Please be aware
1729 that the default setting for this parameter is 'mangling method
1730 = hash2' and therefore not vulnerable.
1732 Affected Samba 3 installations can avoid this possible security
1733 bug by using the default hash2 mangling method. Server
1734 installations requiring the hash mangling method are encouraged
1735 to upgrade to Samba 3.0.5.
1738 ##################################################################
1740 --------------------------------------------------
1742 =============================
1743 Release Notes for Samba 3.0.4
1745 =============================
1747 Common bugs fixed in Samba 3.0.4 include:
1749 o Password changing after applying the patch described in
1750 the Microsoft KB828741 article to Windows clients.
1752 o Managing print jobs via Windows on Big-Endian servers.
1753 o Several memory leaks in winbindd and smbd.
1754 o Compile issues on AIX and *BSD.
1757 --------------------
1762 o Jeremy Allison <jra@samba.org>
1763 * Fix path processing for DeletePrinterDriverEx().
1764 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
1768 o Andrew Bartlett <abartlet@samba.org>
1769 * Fix alignment bug in GetDomPwInfo().
1772 o Alexander Bokovoy <ab@samba.org>
1773 * Fix utime[s]() issues in smbwrapper on systems
1774 that can boot both the 2.4 and 2.6 Linux kernels.
1777 o Gerald Carter <jerry@samba.org>
1778 * Fedora packaging fixes.
1779 * BUG 1302: Fix seg fault by not trying to optimize a list of
1780 invalid gids using the wrong array size.
1781 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1782 seen when 'security = share'.
1783 * Fix problems when using IBM's compiler on AIX.
1784 * Link Developer's Guide, Example Guide, and multi-page HOWTO
1785 into SWAT's welcome page.
1786 * BUG 1293: fix double free in printer publishing code.
1789 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1790 * Fix for handling timeouts in socket connections.
1793 o Michel Gravey <michel.gravey@optogone.com>
1794 * BUG 483: patch from to fix password hash creation in SWAT.
1797 o Volker Lendecke <vl@samba.org>
1798 * Close the open NT pipes before the tdis.
1799 * Fix AFS related build issues.
1800 * Handle error conditions when base64 encoding a blob of 0 bytes.
1803 o Herb Lewis <herb@samba.org>
1804 * Added 'acls' debug class.
1806 o kawasa_r@itg.hitachi.co.jp
1807 * Multiple variable initialization and memory leak fixes.
1810 o Stephan Kulow <coolo@suse.de>
1811 * Fix string length bug in libsmbclient that caused KDE's
1813 * BUG 429: More libsmbclient fixes.
1816 o Jim McDonough <jmcd@us.ibm.com>
1817 * BUG 1007, 1279: Store the print job using a little-endian key.
1821 o Compile fix for OpenBSD (ENOTSUP not supported).
1824 o Stefan Metzmacher <metze@samba.org>
1825 * Correct bug in disks quota views from explorer.
1828 o Tim Potter <tpot@samba.org>
1829 BUG 1305: Correct debug output.
1832 o Richard Sharpe <rsharpe@samba.org>
1833 * Fix incorrect error code mapping.
1836 o Jelmer Vernooij <jelmer@samba.org>
1837 * Add additional NT_STATUS errorm mappings.
1840 Changes for older versions follow below:
1842 --------------------------------------------------
1844 =============================
1845 Release Notes for Samba 3.0.3
1847 =============================
1850 Common bugs fixed in Samba 3.0.3 include:
1852 o Crash bugs and change notify issues in Samba's printing code.
1853 o Honoring secondary group membership on domain member servers.
1854 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1855 o Substitution errors for %[UuGg] in smb.conf.
1856 o winbindd crashes when using ADS security mode.
1857 o SMB signing errors.
1858 o Delays in winbindd startup caused by unnecessary
1859 connections to trusted domain controllers.
1860 o Various small memory leaks.
1861 o Winbindd failing due to expired Kerberos tickets.
1863 New features introduced in Samba 3.0.3 include:
1865 o Improved support for i18n character sets.
1866 o Support for account lockout policy based on
1867 bad password attempts.
1868 o Improved support for long password changes (>14
1869 characters) and strong password enforcement.
1870 o Support for Windows aliases (i.e. nested groups).
1871 o Experimental support for storing DOS attribute on files
1872 and folders in Extended Attributes.
1873 o Support for local nested groups via winbindd.
1874 o Specifying options to be passed directly to the CUPS libraries.
1876 Please be aware that the Samba source code repository was
1877 migrated from CVS to Subversion on April 4, 2004. Details on
1878 accessing the Samba source tree via anonymous svn can be found
1879 at http://svn.samba.org/samba/subversion.html.
1882 Changes since 3.0.2a
1883 --------------------
1887 Parameter Name Action
1888 -------------- ------
1891 only user Deprecated
1892 store dos attributes New
1894 winbind nested groups New
1900 o Jeremy Allison <jra@samba.org>
1901 * Ensure that Kerberos mutex is always properly unlocked.
1902 * Removed Heimdal "in-memory keytab" support.
1903 * Fixup the 'multiple-vuids' bugs in our server code.
1904 * Correct return code from lsa_lookup_sids() on unmapped
1905 sids (based on work by vl@samba.org).
1906 * Fix the "too many fcntl locks" scalability problem
1908 * Fixup correct (as per W2K3) returns for lookupsids
1909 as well as lookupnames.
1910 * Fixups for delete-on-close semantics as per Win2k3 behavior.
1911 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
1912 * Fix "unable to initialize" bug when smbd hasn't been run with
1913 new system and a user is being added via pdbedit/smbpasswd.
1914 * Added NTrename SMB (0xA5).
1915 * Fixup correct timeout values for blocking lock timeouts.
1916 * Fix various bugs reported by 'gentest'.
1917 * More locking fixes in the case where we own the lock.
1918 * Fix up regression in IS_NAME_VALID and renames.
1919 * Don't set allocation size on directories.
1920 * Return correct error code on fail if file exists and target
1922 * Added client "hardlink" comment to test doing NT rename with
1923 hard links. Added hardlink_internals() code - UNIX extensions
1924 now use this as well.
1925 * Use a common function to parse all pathnames from the wire for
1926 much closer emulation of Win2k3 error return codes.
1927 * Implement check_path_syntax() and rewrite string sub
1928 functions for better multibyte support.
1929 * Ensure msdfs referrals are multibyte safe.
1930 * Allow msdfs symlink syntax to be more forgiving.
1931 eg. sym_link -> msdfs://server/share/path/in/share
1932 or sym_link -> msdfs:\\server\share\path\in\share.
1933 * Cleanup multibyte netbios name support in nmbd ( based on patch
1934 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
1935 * Fix check_path_syntax() for multibyte encodings which have
1936 no '\' as second byte (based on work by ab@samba.org.
1937 * Fix the "dfs self-referrals as anonymous user" problem
1938 (based on patch from vl@samba.org).
1939 * BUG 1064: Ensure truncate attribute checking is done correctly
1940 on "hidden" dot files.
1941 * Fix bug in anonymous dfs self-referrals again.
1942 * Fix get/set of EA's in client library
1943 * Added support for OS/2 EA's in smbd server.
1944 * Added 'ea support' parameter to smb.conf.
1945 * Added 'store dos attributes' parameter to smb.conf.
1946 * Fix wildcard identical rename.
1947 * Fix reply_ctemp - make compatible with w2k3.
1948 * Fix wildcard unlink.
1949 * Fix wildcard src with wildcard dest renames.
1950 * BUG 1139: Fix based on suggestion by jdev@panix.com.
1951 swap lookups for user and group - group will do an
1952 algorithmic lookup if it fails, user won't.
1953 * Make EA's lookups case independent.
1954 * Fix SETPATHINFO in 'unix extensions' support.
1955 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
1956 the UNIX info levels, and the short case preserve names.
1959 o Timur Bakeyev <timur@com.bat.ru>
1960 * BUG 1144: only set --with-fhs when the argument is 'yes'
1961 * BUG 1152: Allow python modules to build despite libraries added
1962 to LDFLAGS instead of LDPATH.
1963 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
1966 o Craig Barratt <cbarratt@users.sourceforge.net>
1967 * BUG 389: Allow multiple exclude arguments with smbclient
1968 tar -Xr options (better support for Amanda backup client).
1971 o Andrew Bartlett <abartlet@samba.org>
1972 * Include support for linking with cracklib for enforcing strong
1974 * Add support for >14 character password changes from Windows
1976 * Add 'admin set password' capability to 'net rpc'.
1977 * Allow 'net rpc samdump' to work with any joined domain
1978 regardless of smb.conf settings.
1979 * Use an allocated buffer for count_chars.
1980 * Add sanity checks for changes in the domain SID in an
1982 * Implement python unit tests for Samba's multibyte string
1984 * Remove 'unicode' smb.conf option.
1985 * BUG 1138: Fix support for 'optional' SMB signing and other
1987 * BUG 169: Fix NTLMv2-only behavior.
1988 * Ensure 'net' honors the 'netbios name' in the smb.conf by
1990 * Support SMB signing on connections using only the LANMAN
1991 password and generate the correct the 'session key' for these
1993 * Implement --required-membership-of=, an ntlm_auth option
1994 that restricts all authentication to members of this particular
1996 * Improve our fall back code for password changes.
1997 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
1998 after the server had said something (such as an error).
1999 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2002 o Alexander Bokovoy <ab@samba.org>
2003 * Fix incorrect size calculation of the directory name
2005 * Fix problems with very long filenames in both smbd and smbclient
2006 caused by truncating paths during character conversions.
2007 * Fix smbfs problem with Tree Disconnect issued before smbfs
2011 o Gerald Carter <jerry@samba.org>
2012 * BUG 850: Fix 'make installmodules' bug on True64.
2013 * BUG 66: mark 'only user' deprecated.
2014 * Remove corrupt tdb and shutdown (only for printing tdbs,
2015 connections, sessionid & locking).
2016 * decrement smbd counter in connections.tdb in smb_panic().
2017 * RedHat specfile updates.
2018 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2019 * BUG 1147; bad pointer case in get_stored_queue_info()
2021 * BUG 761: read the config file before initialized default
2022 values for printing options; don't default to bsd printing
2024 * Allow the 'printing' parameter to be set on a per share basis.
2025 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2026 * BUG 848: don't create winbind local users/groups that already
2028 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2030 * BUG 488: fix the 'show client in col 1' button and correctly
2031 enumerate active connections.
2032 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2033 problem when storing the updating pid for the lpq cache.
2034 * BUG 1007 (partial): Fix print change notify bugs.
2035 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2036 and winbind use default domain = yes. Also ensures that
2037 * BUG 1151: Ensure that winbindd users are passed through
2039 * Fix client rpc binds for ASU derived servers (pc netlink,
2041 * BUG 417, 1128: Ensure that the current_user_info is set
2042 consistently so that %[UuGg] is expanded correctly.
2043 * BUG 1195: Fix crash in winbindd when the ADS server is
2045 * BUG 1185: Set reconnect time to be the same as the
2046 'winbind cache time'.
2047 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2048 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2049 * BUG 1095: Honor the '-l' option in smbclient.
2050 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2052 * Ensure server schannel uses the auth level requested by the
2054 * Removed --with-cracklib option due to potential crash issue.
2055 * Fix -lcrypto linking problem with wbinfo.
2056 * BUG 761: allow printing parameter to set defaults on a per
2058 * Add 'cups options' parameter to allow raw printing without
2059 changing /etc/cups/cupsd.conf.
2060 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2062 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2063 * BUG 1288: resolve any machine netbios name (0x00) and not just
2065 * BUG 1199: Fix potential symlink issue in
2066 examples/printing/smbprint.
2069 o Robert Dahlem <Robert.Dahlem@gmx.net>
2070 * BUG 1048: Don't return short names when when 'mangled names = no'
2073 o Guenther Deschner <gd@suse.com>
2074 * Remove hard coded attribute name in the ads ranged retrieval
2076 * Add --with-libdir and --with-mandir to autoconf script.
2079 o Bostjan Golob <golob@gimb.org>
2080 * BUG 1046: Fix getpwent_list() so that the username is not
2081 overwritten by other fields.
2084 o Landon Fuller <landonf@opendarwin.org>
2085 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2086 to fix user/group enumeration on systems whose libc does not
2087 call setgrent() before trying to enumerate users (i.e.
2091 o Steve French <sfrench@us.ibm.com>
2092 * Update mount.cifs to version 1.1.
2093 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2094 * Fixes to minor security bug in the mount helper.
2095 * Fix credential file mounting for cifs vfs.
2096 * Fix free of incremented pointer in cifsvfs mount helper.
2097 * Fix path canonicalization of the mount target path and help
2098 text display in the cifs mount helper.
2099 * Add missing guest mount option for mount.cifs.
2102 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2103 * BUG 1055; formatting fixes for 'net share'.
2104 * BUG 692: correct truncation of share names and workgroup
2106 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2107 * Patch from to internally count characters correctly.
2110 o Paul Green <paulg@samba.org>
2111 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2112 * Fix bug in configure.ion by moving the first use of
2113 AC_CHECK_HEADERS so it is always executed.
2114 * Fix configure.in to only use $BLDSHARED to select whether to
2115 build static or shared libraries.
2118 o Pat Haywarrd <Pat.Hayward@propero.net>
2119 * Make the session_users list dynamic (max of 128K).
2122 o Cal Heldenbrand <calzplace@yahoo.com>
2123 * Fix for for 'pam_smbpass migrate' functionality.
2126 o Chris Hertel <crh@samba.org>
2127 * fix enumeration of shares 12 characters in length via
2131 o Ulrich Holeschak <ulrich@holeschak.de>
2132 * BUG 932: fix local password change using pam_smbpass
2135 o Krischan Jodies <kj@sernet.de>
2136 * Implement 'net rpc group delete'
2139 o John Klinger <john.klinger@lmco.com>
2140 * Return NSS_SUCCESS once the max number of gids possible
2141 has been found in initgroups() on Solaris.
2142 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2145 o Volker Lendecke <vl@samba.org>
2146 * Fix success message for net groupmap modify.
2147 * Fix errors when enumerating members of groups in 'net rpc'.
2148 * Match Windows behavior in samr_lookup_names() by returning
2149 ALIAS(4) when you search in BUILTIN.
2150 * Fix server SAMR code to be able to set alias info for
2152 * Fix duplication of logic when creating groups via smbd.
2153 * Ensure that the HWM values are set correctly after running
2155 * Add 'net rpc group add'.
2156 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2157 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2158 * Fix wb_delgrpmem (wbinfo -o).
2159 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2160 * Fix sambaUserWorkstations on a Samba DC.
2161 * Implement wbinfo -k: Have winbind generate an AFS token after
2162 authenticating the user.
2163 * Add expand_msdfs VFS module for providing referrals based on the
2164 the client's IP address.
2165 * Implement client side NETLOGON GetDCName function.
2166 * Fix caching of name->sid lookups.
2167 * Add support in winbindd for expanding nested local groups.
2168 * Fix memleak in winbindd.
2170 * Don't list domain groups from BUILTIN.
2171 * Fix memleak in policy handle utility functions.
2172 * Decrease winbindd startup time by only contacting trusted
2173 domains as necessary.
2174 * Allow winbindd to ask the DC for its domain for a trusted
2176 * Fix Netscape DS schema based on comments from
2177 <thomas.mueller@christ-wasser.de>.
2178 * Correct case where adding a domain user to a XP local group
2179 did a lsalookupname on the user without domain prefix, and
2181 * Fix segfault in winbindd caused by 'wbinfo -a'.
2184 o Herb Lewis <herb@samba.org>
2185 * Fix typo for tag in proto file.
2186 * Add missing #ifdef HAVE_BICONV stuff.
2187 * Truncate Samba's netbios name at the first '.' (not
2191 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2192 * Bug fixes and enhancements to libsmbclient library.
2195 o Jianliang Lu <j.lu@tiesse.com>
2196 * Enforce the 'user must change password at next login' flag.
2197 * Decode meaning of 'fields present' flags (improves support
2200 * Don't force an upper case domain name in the ntlmssp code.
2203 o L. Lucius <ib@digicron.com>.
2207 o Jim McDonough <jmcd@us.ibm.com>
2208 * Add versioning support to tdbsam.
2209 * Update the IBM Directory Server schema with the OpenLDAP
2211 * Various decoding fixes to improve usrmgr.exe support.
2212 * Fix statfs redeclaration of statfs struct on ppc
2213 * Implement support for password lockout of Samba domain
2214 controllers and standalone servers.
2215 * Get MungedDial attribute actually working with full TS
2216 strings in it for pdb_ldap.
2217 * BUG 1208 (partial): Improvements for working with expired krb5
2218 tickets in winbindd.
2219 * Use timegm, or our already existing replacement instead of
2220 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2221 * Remove modifyTimestamp from list of our attributes.
2222 * Fix lsalookupnames to check for domain users as well as local
2224 * Merge struct uuid replacement for GUID from trunk.
2225 * BUG 1208: Finish support for handling expired tickets in
2226 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2229 o Stefan Metzmacher <metze@samba.org>
2230 * Implement new VERSION schema based on subversion revision
2232 * Add shadow_copy vfs module.
2233 * Fix segault in login_cache support.
2236 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2237 o BUG 979 -- Fix quota display on AIX.
2240 o James Peach <jpeach@sgi.com>
2241 * Correct check for printf() format when using the SGI MIPSPro
2243 * BUG 1038: support backtrace for 'panic action' on IRIX.
2244 * BUG 768: Accept profileing arg to IRIX init script.
2245 * BUG 748: Relax arg parsing to sambalp script (IRIX).
2246 * BUG 758: Fix pdma build.
2247 * Search IRIX ABI paths for libiconv. Based on initial fix from
2251 o Kurt Pfeifle <kpfeifle@danka.de>
2252 * Add example shell script for migrating drivers and printers
2253 from a Windows print server to a Samba print server using
2254 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2257 o Tim Potter <tpot@samba.org>
2258 * Fix logic bug in tdb non-blocking lock routines when
2260 * BUG 1025: Include sys/acl.h in check for broken nisplus
2262 * BUG 1066: s/printf/d_printf/g in SWAT.
2263 * BUG 1098: rename internal msleep() function to fix build
2265 * BUG 1112: Fix for writable printerdata problem in python bindings.
2266 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2267 * BUG 1155: enclose use of fchown() with guards.
2268 * Relicense tdb python module as LGPL.
2271 o Richard Sharpe <rsharpe@samba.org>
2272 * Add support to smbclient for multiple logins on the same
2273 session (based on work by abartlet@samba.org).
2274 * Correct blocking condition in smbd's use of accept() on IRIX.
2275 * Add support for printing out the MAC address on nmblookup.
2278 o Simo Sorce <idra@samba.org>
2279 * Replace unknown_3 with fields_present in SAMR code.
2280 * More length checks in strlcat().
2283 o Andrew Tridgell <tridge@samba.org>
2284 * Rewrote the AIX UESS backend for winbindd.
2285 * Fixed compilation with --enable-dmalloc.
2286 * Change tdb license to LGPL (see source/tdb/tdb.c).
2287 * Force winbindd to use schannel in clients connections to
2291 o Jelmer Vernooij <jelmer@samba.org>
2292 * Fix ETA Calculation when resuming downloads in smbget.
2293 * Add -O (for writing downloaded files to standard out)
2294 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2295 * Fix syntax error in example mysql table
2298 o TAKEDA yasuma <yasuma@miraclelinux.com>
2299 * BUG 900: fix token processing in cmd_symlink, cmd_link,
2300 cmd_chown, cmd_chmod smbclient functions.
2303 o Shiro Yamada <shiro@miraclelinux.com>
2304 * BUG 1129: install image files for SWAT.
2307 --------------------------------------------------
2309 ==============================
2310 Release Notes for Samba 3.0.2a
2312 ==============================
2314 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2315 to address, in particular, a problem when using pdbedit to
2316 sanitize (--force-initialized-passwords) Samba's tdbsam
2317 backend. This is the latest stable release of Samba. This
2318 is the version that all production Samba servers should be
2319 running for all current bug-fixes.
2321 ******************* Attention! Achtung! Kree! *********************
2323 Beginning with Samba 3.0.2, passwords for accounts with a last
2324 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2325 ldapsam, etc...) of zero (0) will be regarded as uninitialized
2326 strings. This will cause authentication to fail for such
2327 accounts. If you have valid passwords that meet this criteria,
2328 you must update the last change time to a non-zero value. If you
2329 do not, then 'pdbedit --force-initialized-passwords' will disable
2330 these accounts and reset the password hashes to a string of X's.
2332 ******************* Attention! Achtung! Kree! *********************
2341 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2342 details. The list of changes per contributor are as follows:
2345 o Jeremy Allison <jra@samba.org>
2346 * Added paranoia checks in parsing code.
2349 o Andrew Bartlett <abartlet@samba.org>
2350 * Ensure that changes to uninitialized passwords in ldapsam
2351 are written to the DIT.
2354 o Gerald (Jerry) Carter <jerry@samba.org>
2355 * Fixed iterator in tdbsam.
2356 * Fix bug that disabled accounts with a valid NT password
2357 hash, but no LanMan hash.
2360 o Steve French <sfrench@us.ibm.com>
2361 * Added missing nosetuid and noexec options.
2364 o Bostjan Golob <golob@gimb.org>
2365 * BUG 1046: Don't overwrite usernames of entries returned
2369 o Sebastian Krahmer <krahmer@suse.de>
2370 * Fixed potential crash bug in NTLMSSP parsing code.
2373 o Tim Potter <tpot@samba.org>
2374 * Fixed logic in tdb_brlock error checking.
2377 o Urban Widmark <urban@teststation.com>
2378 * Set nosuid,nodev flags in smbmnt by default.
2381 --------------------------------------------------
2383 =============================
2384 Release Notes for Samba 3.0.2
2386 =============================
2388 It has been confirmed that previous versions of Samba 3.0 are
2389 susceptible to a password initialization bug that could grant an
2390 attacker unauthorized access to a user account created by the
2391 mksmbpasswd.sh shell script.
2393 The Common Vulnerabilities and Exposures project (cve.mitre.org)
2394 has assigned the name CAN-2004-0082 to this issue.
2396 Samba administrators not wishing to upgrade to the current
2397 version should download the 3.0.2 release, build the pdbedit
2400 root# pdbedit-3.0.2 --force-initialized-passwords
2402 This will disable all accounts not possessing a valid password
2403 (e.g. the password field has been set a string of X's).
2405 Samba servers running 3.0.2 are not vulnerable to this bug
2406 regardless of whether or not pdbedit has been used to sanitize
2409 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2412 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2413 o Logging onto a Samba domain from Windows XP clients.
2414 o Problems with the %U and %u smb.conf variables in relation to
2415 Windows 9x/ME clients.
2416 o Kerberos failures due to an invalid in memory keytab detection
2418 o Updates to the ntlm_auth tool.
2419 o Fixes for various SMB signing errors.
2420 o Better separation of WINS and DNS queries for domain controllers.
2421 o Issues with nss_winbind FreeBSD and Solaris.
2422 o Several crash bugs in smbd and winbindd.
2423 o Output formatting fixes for smbclient for better compatibility
2424 with scripts based on the 2.2 version.
2433 Parameter Name Action
2434 -------------- ------
2435 ldap replication sleep New
2436 read size removed (unused)
2437 source environment removed (unused)
2443 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2444 details. The list of changes per contributor are as follows:
2446 o Jeremy Allison <jra@samba.org>
2447 * Revert change that broke Exchange clear text samlogons.
2448 * Fix gcc 3.4 warning in MS-DFS code.
2449 * Tidy up of NTLMSSP code.
2450 * Fixes for SMB signing errors
2451 * BUG 815: Workaround NT4 bug to support plaintext
2452 password logins and UNICODE.
2453 * Fix SMB signing bug when copying large files.
2454 * Correct error logic in mkdir_internals() (caused a panic
2455 when combined with --enable-developer).
2456 * BUG 830: Protect against crashes due to bad character
2460 o Petri Asikainen <paca@sci.fi>
2461 * BUG 330, 387:Fix single valued attribute updates when
2462 working with Novell NDS.
2465 o Andrew Bartlett <abartlet@samba.org>
2466 * Correctly handle per-pipe NTLMSSP inside a NULL session.
2467 * Fix segfault in gencache
2468 * Fix early free() of encrypted_session_key.
2469 * Change DC lookup routines to more carefully separate
2470 DNS names (realms) from NetBIOS domain names.
2471 * Add new sid_to_dn() function for internal winbindd use.
2472 * Refactor cli_ds_enum_domain_trusts().
2473 * BUG 707: Implement range retrieval of ADS attributes (based
2474 on work from Volker <vl@samba.org> and Guenther Deschner
2476 * Automatically initialize the signing engine if a session key
2478 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
2479 encoded strings, only form input in SWAT.
2480 * Resets the NTLMSSP state for new negotiate packets.
2481 * Add 2-byte alignments in net_samlogon() queries to parse
2482 odd-length plain text passwords.
2483 * Allow Windows groups with no members in winbindd.
2484 * Allow normal authentication in the absence of a server
2485 generated session key.
2486 * More optimizations for looking up UNIX group lists.
2487 * Clean up error codes and return values for pam_winbindd
2488 and winbindd PAM interface.
2489 * Fix string return values in ntlm_auth tool.
2490 * Fix segfault when 'security = ads' but no realm is defined.
2491 * BUG 722: Allow winbindd to map machine accounts to uids.
2492 * More cleanups for winbindd's find_our_domain().
2493 * More clearly detect whether a domain controller is an NT4
2494 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
2495 * Increase separation between DNS queries for hosts and queries
2496 for AD domain controllers.
2497 * Include additional NT_STATUS to PAM error mappings.
2498 * Password initialization fixes.
2501 o Justin Baugh <justin.baugh@request.com>
2502 * BUG 948: Implement missing functions required for FreeBSD
2503 nss_winbind support.
2506 o Alexander Bokovoy <ab@samba.org>
2507 * BUG 922: Make sure enable fast path for strlower_m() and
2511 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
2512 * Fix crash when using 'security = server' and 'encrypt
2513 passwords = no' by always initializing the session key.
2516 o Dmitry Butskoj <buc@odusz.elektra.ru>
2517 * Fix for special files being hidden from admins.
2520 o Gerald (Jerry) Carter <jerry@samba.org>
2521 * Fix bug in the lanman session key generation. Caused
2522 "decode_pw: incorrect password length" error messages.
2523 * Save the right case for the located user name in
2524 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
2525 * BUG 897: Add well known rid for pre win2k compatible access
2527 * BUG 887: Correct typo in delete user script example.
2528 * Use short lived TALLOC_CTX* for allocating printer objects
2529 from the print handle cache.
2530 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2531 * Fix several warnings reported by the SUN Forte C compiler.
2532 * Fully control DNS queries for AD DC's using 'name resolve order'.
2533 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2534 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2535 * BUG 936: fix bind credentials for schannel binds in smbd.
2536 * BUG 446: Fix output of smbclient for better compatibility
2537 with scripts based on the 2.2 version (including Amanda).
2538 * BUG 891, 949: Fedora packaging fixes.
2539 * Fix bug that caused rpcclient to incorrectly retrieve
2540 the SID for a server (this causing all calls that required
2541 this information to fail).
2542 * BUG 977: Don't create a homes share for a user if a static
2543 share already exists by the same name.
2544 * Removed unused smb.conf options.
2545 * Password initialization fixes.
2546 * Set the disable flag for template accounts created by
2548 * Disable any account has no passwords and does not have the
2549 ACB_PWNOTREQ bit set.
2552 o Guenther Deschner <gd@suse.com>
2553 * Install smbwrapper.so should be put into the $(libdir)
2555 * Add the capability to specify the new user password
2556 for "net ads password" on the command line.
2557 * Correctly detect AFS headers on SuSE.
2560 o James Flemer <jflemer@uvm.edu>
2561 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
2562 HAVE_SYS_ATTRIBUTES_H.
2565 o Luke Howard <lukeh@PADL.COM>
2566 * Fix segfault in session setup reply caused by a early free().
2569 o Stoian Ivanov <sdr@bultra.com>
2570 * Implement grepable output for smbclient -L.
2573 o LaMont Jones <lamont@debian.org>
2574 * BUG 225328 (Debian): Correct false failure LFS test that resulted
2575 in _GNU_SOURCE not being defined (thus resulting in strndup()
2579 o Volker Lendecke <vl@samba.org>
2580 * BUG 583: Ensure that user names always contain the short
2581 version of the domain name.
2582 * Fix our parsing of the LDAP uri.
2583 * Don't show the 'afs username map' in the SWAT basic view.
2584 * Fix SMB signing issues in relation to failed NTLMSSP logins.
2585 * BUG 924: Fix return codes in smbtorture harness.
2586 * Always lower-case usernames before handing it to AFS code.
2587 * Add a German translation for SWAT.
2588 * Fix a segfaults in winbindd.
2589 * Fix the user's domain passed to register_vuid() from
2590 reply_spnego_kerberos().
2591 * Add NSS example code in nss_winbind to convert UNIX
2592 id's <-> Windows SIDs.
2593 * Display more descriptive error messages for login via 'net'.
2594 * Fix compiler warning in the net tool.
2595 * Fix length bug when decoding base64 strings.
2596 * Ensure we don't call getpwnam() inside a loop that is iterating
2597 over users with getpwent(). This broke on glibc 2.3.2.
2600 o Herb Lewis <herb@samba.org>
2601 * Fix bit rot in psec.
2604 o Jianliang Lu <j.lu@tiesse.com>
2605 * Ensure we delete the group mapping before calling the delete
2607 * Define well known RID for managing the "Power Users" group.
2608 * BUG 381: check builtin (not local) group SID when updating
2610 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
2614 o John Klinger <john.klinger@lmco.com>
2615 * Implement initgroups() call in nss_winbind on Solaris.
2618 o Jim McDonough <jmcd@us.ibm.com>
2619 * Fix regression in net rpc join caused by recent changes
2620 to cli_lsa_query_info_policy().
2621 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2625 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
2626 * BUG 570: Ensure that configure honors the LDFLAGS variable.
2629 o Stefan Metzmacher <metze@samba.org>
2630 * Implement LDAP rebind sleep patch.
2631 * Revert to 2.2 quota code because of so many broken quota files
2633 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2634 XFS_USER_QUOTA -> USRQUOTA
2635 XFS_GROUP_QUOTA -> GRPQUOTA
2636 * Fix disk_free calculation with group quotas.
2637 * Add debug class 'quota' and a lot of DEBUG()'s
2639 * Fix sys_chown() when no chown() is present.
2640 * Add SIGABRT to fault handling in order to catch got a
2641 backtrace if an error occurs the OpenLDAP client libs.
2645 * Allow an existing LDAP machine account to be re-used when
2646 joining an AD domain.
2649 o James Peach <jpeach@sgi.com>
2650 * BUG 889: Change smbd to use pread/pwrite on platforms that
2651 support these calls. Can lead to a significant speed increase.
2654 o Tim Potter <tpot@samba.org>
2655 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2656 * BUG 924: Fix typo in RW2 torture test.
2659 o Richard Sharpe <rsharpe@samba.org>
2660 * Small fixes to torture.c to cleanup the error handling
2661 and prevent crashes.
2664 o J. Tournier <jerome.tournier@IDEALX.com>
2665 * Small fixes for the smbldap-tool scripts.
2668 o Andrew Tridgell <tridge@samba.org>
2669 * Fix src len check in pull_usc2().
2672 o Jelmer Vernooij <jelmer@samba.org>
2673 * Put functions for generating SQL queries in pdb_sql.c
2674 * Add pgSQL backend (based on patch by Hamish Friedlander)
2675 * BUG 908: Fix -s option to smbcontrol.
2676 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2677 * Fix for libnss_wins on IRIX platforms.
2678 * Fix swatdir for --with-fhs.
2681 --------------------------------------------------
2683 =============================
2684 Release Notes for Samba 3.0.1
2686 =============================
2688 Some of the more common bugs in 3.0.0 addressed in the release
2691 o Substitution problems with smb.conf variables.
2692 o Errors in return codes which caused some applications
2693 to fail to open files.
2694 o General Protection Faults on Windows 2000/XP clients
2695 using Samba point-n-print features.
2696 o Several miscellaneous crash bugs.
2697 o Access problems when enumerating group mappings are
2698 stored in an LDAP Directory.
2699 o Several common SWAT bugs when writing changes to
2701 o Internal inconsistencies when 'winbind use default
2707 ----------------------
2709 Parameter Name Action
2710 -------------- ------
2711 hide local users Removed
2712 mangled map Deprecated
2713 mangled stack Removed
2714 passwd chat timeout New
2720 o Change the interface for init_unistr2 to not take a length
2721 but a flags field. We were assuming that
2722 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
2723 o Allow d_printf() to handle strings with escaped quotation
2724 marks since the msg file includes the escape character (bug 489).
2725 o Fix bad html table row termination in SWAT wizard code (bug 413).
2726 o Fix to parse the level-2 strings.
2727 o Fix for "valid users = %S" in [homes]. Fix read/write
2729 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
2730 This is the same way AC_CHECK_LIB works (bug 508).
2731 o Testparm output fixes for clarity.
2732 o Fix broken wins hook functionality -- i18n bug (bug 528).
2733 o Take care of condition where DOS and NT error codes must differ.
2734 o Default to using only built-in charsets when a working iconv
2735 implementation cannot be located.
2736 o Wrap internals of sys_setgroups() so the sys_XX() call can
2737 be done unconditionally (bug 550).
2738 o Remove duplicate smbspool link on SWAT's front page (bug 541).
2739 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
2740 --enable-debug=[yes|no] works correctly.
2741 o Allow ^C to interrupt smbpasswd if using our getpass
2742 (e.g. smbpasswd command).
2743 o Support signing only on RPC's (bug 167).
2744 o Correct bug that prevented Excel 2000 clients from opening
2745 files marked as read-only.
2746 o Portability fix bugs 546 - 549).
2747 o Explicitly initialize the value of AR for vendor makes that don't
2748 do this (e.g. HPUX 11). (bug 552).
2749 o More i18n fixes for SWAT (bug 413).
2750 o Change the cwd before the postexec script to ensure that a
2751 umount will succeed.
2752 o Correct double free that caused winbindd to crash when a DC
2753 is rebooted (bug 437).
2754 o Fix incorrect mode sum (bug 562).
2755 o Canonicalize SMB_INFO_ALLOCATION in the same was as
2756 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2757 o Add script to generate *msg files.
2758 o Add Dutch SWAT translation file.
2759 o Make sure to call get_user_groups() with the full winbindd
2760 name for a user if he/she has one (bug 406).
2761 o Fix up error code returns from Samba4 tester. Ensure invalid
2762 paths are validated the same way.
2763 o Allow Samba3 to pass the Samba4 RAW-READ tests.
2764 o Refuse to configure if --with-expsam=$BACKEND was used but no
2765 libraries were found for $BACKEND.
2766 o Move sysquotas autoconf tests to a separate file.
2767 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
2769 o Make sure that the files that contain the static_init_$subsystem;
2770 macro get recompiled after configure by removing the object
2772 o Ensure canceling a blocking lock returns the correct error
2774 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2775 o Updated Japanese welcome file in SWAT.
2776 o Fix to nt-time <-> unix-time functions reversible.
2777 o Ensure that winbindd uses the the escaped DN when querying
2779 o Fix portability issues when compiling (bug 505, 550)
2780 o Compile fix for tdbbackup when Samba needs to override
2781 non-C99 compliant implementations of snprintf().
2782 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2783 o Make sure we break out of samsync loop on error.
2784 o Ensure error code path doesn't free unmalloc()'d memory
2786 o Add configure test for krb5_keytab_entry keyblock vs key
2789 o Modified testparm so that all output so all debug output goes
2790 to stderr, and all file processing goes to stdout.
2791 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
2793 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
2794 we have a devmode before copying a string to the devicename.
2795 o Support mapping REALM.COM\user to a local user account (without
2796 running winbindd) for compatibility with 2.2.x release.
2797 o Ensure we don't use mmap() on blacklisted systems.
2798 o fixed a number of bugs and memory leaks in the AIX
2800 o Call initgroups() in SWAT before becomming the user so that
2801 secondary group permissions can be used when writing to
2803 o Fix signing problems when reverse connecting back to a
2804 client for printer notify
2805 o Fix signing problems caused by a miss-sequence bug.
2806 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2807 Fixes NEXUS tools running on Win9x clients (bug 64).
2808 o Don't leave the domain field uninitialized in cli_lsa.c if some
2809 SID could not be mapped.
2810 o Fix segfault in mount.cifs helper when there is no options
2811 specified during mount.
2812 o Change the \n after the password prompt to go to tty instead
2813 of stdout (bug 668).
2814 o Stop net -P from prompting for machine account password (bug 451).
2815 o Change in behavior to Not only change the effective uid but also
2816 the real uid when becoming unprivileged.
2817 o Cope with Exchange 5.5 cleartext pop password auth.
2818 o New files for support of initshutdown pipe. Win2k doesn't
2819 respond properly to all requests on the winreg pipe, so we need
2820 to handle this new pipe (bug 534).
2821 o Added more va_copy() checks in configure.in.
2822 o Include fixes for libsmbclient build problems.
2823 o Missing UNIX -> DOS codepage conversion in lanman.c.
2824 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
2825 o Parameterize the listen backlog in smbd and make it larger by
2826 default. A backlog of 5 is way too small these days.
2827 o Check for an invalid fid before dereferencing the fsp pointer
2829 o Remove invalid memory frees and return codes in pdb_ldap.c.
2830 o Prompt for password when invoking --set-auth-user and no
2832 o Bind the nmbd sending socket to the 'socket address'.
2833 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
2834 $LDFLAGS occurs before any library specification (bug 661).
2835 o Fix large number of printf() calls for 64-bit size_t.
2836 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
2837 keyblock in the krb5 structs.
2838 o Remove #include <compat.h> in hopes to avoid problems with
2839 apache header files.
2840 o Correct winbindd build problems on HP-UX 11.
2841 o Lowercase netgroups lookups (bug 703).
2842 o Use the actual size of the buffer in strftime instead of a made
2843 up value which just happens to be less than sizeof(fstring).
2845 o Add ldaplibs to pdbedit link line (bug 651).
2846 o Fix crash bug in smbclient completion (bug 659).
2847 o Fix packet length for browse list reply (bug 771).
2848 o Fix coredump in cli_get_backup_list().
2849 o Make sure that we expand %N (bug 612).
2850 o Allow rpcclient adddriver command to specify printer driver
2852 o Compile tdbdump by default.
2853 o Apply patches to fix iconv detection for FreeBSD.
2854 o Do not allow the 'guest account' to be added to a passdb backend
2855 using smbpasswd or pdbedit (bug 624).
2856 o Save LDFLAGS during iconv detection (bug 57).
2857 o Run krb5 logins through the username map if the winbindd
2858 lookup fails (bug 698).
2859 o Add const for lp_set_name_resolve_order() to avoid compiler
2861 o Add support for the %i macro in smb.conf to stand in for the for
2862 the local IP address to which a client connected.
2863 o Allow winbindd to match local accounts to domain SID when
2864 'winbind trusted domains only = yes' (bug 680).
2865 o Remove code in idmap_ldap that searches the user suffix and group
2866 suffix. It's not needed and provides inconsistent functionality
2867 from the tdb backend.
2868 o Patch to handle munged dial string for Windows 2000 TSE.
2869 Thanks to Gaz de France, Direction de la Recherche, Service
2870 Informatique Métier for their supporting this work by Aurelien
2871 Degrémont <adegremont@idealx.com>.
2872 o Correct the "smbldap_open: cannot access when not root error"
2873 messages when looking up group information (bug 281).
2874 o Skip over the winbind separator when looking up a user.
2875 This fixes the bug that prevented local users from
2876 matching an AD user when not running winbindd (bug 698).
2877 o Fix a problem with configure on *BSD systems. Make sure
2878 we add -liconv etc to LDFLAGS.
2879 o Fix core dump bug when "security = server" and the authentication
2881 o Correct crash bug due to an empty munged dial string.
2882 o Show files locked by a specific user (smbstatus -u 'user')
2884 o Fix bug preventing print jobs from display in the queue
2885 monitor used by Windows NT and later clients (bug 660).
2886 o Fix several reported problems with point-n-print from
2887 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2888 reply (bug 338, 527 & 643).
2889 o Fix a handful of potential memory leaks in the LDAP code used
2890 by ldapsam[_compat] and the LDAP idmap backend.
2891 o Fix for pdbedit error code returns (bug 763).
2892 o Make sure we only enumerate group mapping entries (not
2893 /etc/group) even when doing local aliases.
2894 o Relax check on the pipe name in a dce/rpc bind response to work
2895 around issues with establishing trusts to a Windows 2003 domain.
2896 o Ensure we mangle names ending in '.' in hash2 mangling method.
2897 o Correct parsing issues with munged dial string.
2898 o Fix bugs in quota support for XFS.
2899 o Add a cleaner method for applications that need to provide
2900 name->SID mappings to do this via NSS rather than having to
2901 know the winbindd pipe protocol.
2902 o Adds a variant of the winbindd_getgroups() call called
2903 winbindd_getusersids() that provides direct SID->SIDs listing of
2904 a users supplementary groups. This is enough to allow non-Samba
2905 applications to do ACL checking.
2906 o Make sure we don't append the 'ldap suffix' when writing out the
2907 'ldap XXX suffix' values in SWAT (bug 328).
2908 o Fix renames across file systems.
2909 o Ensure that items in a list of strings containing whitespace are
2910 written out surrounded by single quotes. This means that both
2911 double and single quotes are now used to surround strings in
2913 o Enable SWAT to correctly determine if winbindd is running (bug
2915 o Include WWW-Authenticate field in 401 response for bad auth
2917 o Add support for NTLM2 (NTLMv2 session security).
2918 o Add support for variable-length session keys.
2919 o More privilege fixes for group enumeration in LDAP (bug 281).
2920 o Use the dns name (or IP) as the originating client name when
2921 using CUPS (bug 467).
2922 o Fix various SMB signing bugs.
2923 o Fix ACL propagation on a DFS root (bug 263).
2924 o Disable NTLM2 for RPC pipes.
2925 o Allow the client to specify the NTLM2 flags got NTLMSSP
2927 o Change the name of the job passed off to cups from "Test Page"
2928 to "smbprn.00000033 Test Page" so that we can get the smb
2929 jobid back. This allow users to delete jobs with cups printing
2930 backend (partial work on bug 770).
2931 o Fix build of winbindd with static pdb modules.
2932 o Retrieve the correct ACL group bits if the file has an ACL
2934 o Implement "net rpc group members": Get members of a domain group
2935 in human-readable format.
2936 o Add MacOSX (Darwin) specific charset module code.
2937 o Use samr_dispinfo(level == 1) for enumerating domain users so we
2938 can include the full name in gecos field (bug 587).
2939 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
2940 o Implement 'net rpc group list [global|local|builtin]*' for a
2941 select listing of the respective user databases.
2942 o Don't automatically set NT status code flag unless client tells
2944 o Add 'net status [sessions|shares] [parseable]'.
2945 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
2947 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
2949 o Fix inverted logic in hosts allow/deny checks caused by
2950 s/strcmp/strequal/ (bug 846).
2951 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
2952 o Fix typo in 'hash' mangling algorithm.
2953 o Support munged dial for ldapsam (bug 800).
2954 o Fix process_incoming_data() to return the number of bytes handled
2955 this call whether we have a complete PDU or not; fixes bug
2956 with multiple PDU request rpc's broken over SMBwriteX calls
2958 o Fix incorrect smb flags2 for connections to pre-NT servers
2959 (causes smbclient to fail to OS2 for example) (bug 821).
2960 o Update version string in smbldap-tools Makefile to 0.8.2.
2961 o Correct a problem with "net rpc vampire" mis-parsing the
2962 alias member info reply.
2963 o Ensure the ${libdir} is created by the installclientlib script.
2964 o Fix detection of Windows 2003 client architecture in the smb.conf
2966 o Ensure that smbd calls the add user script for a missing UNIX
2967 user on kerberos auth call (bug 445).
2968 o Fix bugs in hosts allow/deny when using a mismatched
2969 network/netmask pair.
2970 o Protect alloc_sub_basic() from crashing when the source string
2971 is NULL (partial work on bug 687).
2972 o Fix spinlocks on IRIX.
2973 o Corrected some bad destination paths when running "configure
2975 o Add packaging files for Fedora Core 1.
2976 o Correct bug in SWAT install script for non-english languages.
2977 o Support character set ISO-8859-1 internally (bug 558).
2978 o Fixed more LDAP access errors when looking up group mappings
2980 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
2981 resolution to fail on local files on on domain members
2983 o Fix uninitialized variable in passdb.c.
2984 o Fix formal parameter type in get_static() in nsswitch/wins.c.
2985 o Fix problem mounting directories when mount.cifs is installed
2986 with the setuid bit on.
2987 o Fix bug that prevent --mandir from overriding the defaults
2988 given in the --with-fhs macro.
2989 o Fix bug in in-memory Kerberos keytab detection routines
2994 ######################################################################
2996 The original 3.0.0 release notes follow
2997 =======================================
2998 WHATS NEW IN Samba 3.0.0
3000 =======================================
3006 1) Active Directory support. Samba 3.0 is now able to
3007 join a ADS realm as a member server and authenticate
3008 users using LDAP/Kerberos.
3010 2) Unicode support. Samba will now negotiate UNICODE on the wire
3011 and internally there is now a much better infrastructure for
3012 multi-byte and UNICODE character sets.
3014 3) New authentication system. The internal authentication system
3015 has been almost completely rewritten. Most of the changes are
3016 internal, but the new auth system is also very configurable.
3018 4) New default filename mangling system.
3020 5) A new "net" command has been added. It is somewhat similar to
3021 the "net" command in windows. Eventually we plan to replace
3022 numerous other utilities (such as smbpasswd) with subcommands
3025 6) Samba now negotiates NT-style status32 codes on the wire. This
3026 improves error handling a lot.
3028 7) Better Windows 2000/XP/2003 printing support including publishing
3029 printer attributes in active directory.
3031 8) New loadable module support for passdb backends and character
3034 9) New default dual-daemon winbindd support for better performance.
3036 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3037 domain and maintaining user, group and domain SIDs.
3039 11) Support for establishing trust relationships with Windows NT 4.0
3042 12) Initial support for a distributed Winbind architecture using
3043 an LDAP directory for storing SID to uid/gid mappings.
3045 13) Major updates to the Samba documentation tree.
3047 14) Full support for client and server SMB signing to ensure
3048 compatibility with default Windows 2003 security settings.
3050 15) Improvement of ACL mapping features based on code donated by
3054 Plus lots of other improvements!
3057 Additional Documentation
3058 ------------------------
3060 Please refer to Samba documentation tree (included in the docs/
3061 subdirectory) for extensive explanations of installing, configuring
3062 and maintaining Samba 3.0 servers and clients. It is advised to
3063 begin with the Samba-HOWTO-Collection for overviews and specific
3064 tasks (the current book is up to approximately 400 pages) and to
3065 refer to the various man pages for information on individual options.
3067 We are very glad to be able to include the second edition of
3068 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3069 (O'Reilly & Associates) in this release. The book is available
3070 on-line at http://samba.org/samba/docs/ and is included with
3071 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3072 publisher for making "Using Samba" under the GNU Free Documentation
3076 ######################################################################
3077 Upgrading from a previous Samba 3.0 beta
3078 ########################################
3080 Beginning with Samba 3.0.0beta3, the RID allocation functions
3081 have been moved into winbindd. Previously these were handled
3082 by each passdb backend. This means that winbindd must be running
3083 to automatically allocate RIDs for users and/or groups. Otherwise,
3084 smbd will use the 2.2 algorithm for generating new RIDs.
3086 If you are using 'passdb backend = tdbsam' with a previous Samba
3087 3.0 beta release (or possibly alpha), it may be necessary to
3088 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3089 to winbindd_idmap.tdb. To do this:
3091 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3093 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3095 3) run: (note that 'tdb>' is the tool's prompt for input)
3097 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3098 tdb> show RID_COUNTER
3102 [000] 0A 52 00 00 .R.
3104 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3108 If you are using 'passdb backend = ldapsam', it will be necessary to
3109 store idmap entries in the LDAP directory as well (i.e. idmap backend
3110 = ldap). Refer to the 'net idmap' command for more information on
3111 migrating SID<->UNIX id mappings from one backend to another.
3113 If the RID_COUNTER record does not exist, then these instructions are
3114 unneccessary and the new RID_COUNTER record will be correctly generated
3119 ########################
3120 Upgrading from Samba 2.2
3121 ########################
3123 This section is provided to help administrators understand the details
3124 involved with upgrading a Samba 2.2 server to Samba 3.0.
3130 Many of the options to the GNU autoconf script have been modified
3131 in the 3.0 release. The most noticeable are:
3133 * removal of --with-tdbsam (is now included by default; see section
3134 on passdb backends and authentication for more details)
3136 * --with-ldapsam is now on used to provided backward compatible
3137 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3138 backend and authentication section for more details
3140 * inclusion of non-standard passdb modules may be enabled using
3141 --with-expsam. This includes an XML backend and a mysql backend.
3143 * removal of --with-msdfs (is now enabled by default)
3145 * removal of --with-ssl (no longer supported)
3147 * --with-utmp now defaults to 'yes' on supported systems
3149 * --with-sendfile-support is now enabled by default on supported
3156 This section contains a brief listing of changes to smb.conf options
3157 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3158 complete descriptions of new or modified parameters.
3160 Removed Parameters (order alphabetically):
3163 * alternate permissions
3166 * code page directory
3168 * domain admin group
3169 * domain guest group
3170 * force unknown acl user
3176 * printer driver file
3177 * printer driver location
3179 * source environment
3187 New Parameters (new parameters have been grouped by function):
3191 * abort shutdown script
3194 User and Group Account Management
3195 ---------------------------------
3197 * add machine script
3198 * add user to group script
3199 * algorithmic rid base
3200 * delete group script
3201 * delete user from group script
3203 * set primary group script
3209 * passwd chat timeout
3213 * client lanman auth
3214 * client NTLMv2 auth
3220 * paranoid server security
3229 * hide special files
3230 * hide unwriteable files
3232 * kernel change notify
3242 * max reported print jobs
3244 UNICODE and Character Sets
3245 --------------------------
3251 SID to uid/gid Mappings
3252 -----------------------
3256 * winbind enable local accounts
3257 * winbind trusted domains only
3258 * template primary group
3259 * enable rid algorithm
3266 * ldap machine suffix
3268 * ldap replication sleep
3271 General Configuration
3272 ---------------------
3276 Modified Parameters (changes in behavior):
3278 * encrypt passwords (enabled by default)
3279 * mangling method (set to 'hash2' by default)
3282 * restrict anonymous (integer value)
3283 * security (new 'ads' value)
3284 * strict locking (enabled by default)
3285 * unix extensions (enabled by default)
3286 * winbind cache time (increased to 5 minutes)
3287 * winbind uid (deprecated in favor of 'idmap uid')
3288 * winbind gid (deprecated in favor of 'idmap gid')
3294 This section contains brief descriptions of any new databases
3295 introduced in Samba 3.0. Please remember to backup your existing
3296 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
3297 upgrade databases as they are opened (if necessary), but downgrading
3298 from 3.0 to 2.2 is an unsupported path.
3300 Name Description Backup?
3301 ---- ----------- -------
3302 account_policy User policy settings yes
3303 gencache Generic caching db no
3304 group_mapping Mapping table from Windows yes
3305 groups/SID to unix groups
3306 winbindd_idmap ID map table from SIDS to UNIX yes
3308 namecache Name resolution cache entries no
3309 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
3310 returned as part of a successful
3311 net_sam_logon request
3312 printing/*.tdb Cached output from 'lpq no
3313 command' created on a per print
3315 registry Read-only samba registry skeleton no
3316 that provides support for exporting
3317 various db tables via the winreg RPCs
3323 The following issues are known changes in behavior between Samba 2.2 and
3324 Samba 3.0 that may affect certain installations of Samba.
3326 1) When operating as a member of a Windows domain, Samba 2.2 would
3327 map any users authenticated by the remote DC to the 'guest account'
3328 if a uid could not be obtained via the getpwnam() call. Samba 3.0
3329 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
3330 current work around to re-establish the 2.2 behavior.
3332 2) When adding machines to a Samba 2.2 controlled domain, the
3333 'add user script' was used to create the UNIX identity of the
3334 machine trust account. Samba 3.0 introduces a new 'add machine
3335 script' that must be specified for this purpose. Samba 3.0 will
3336 not fall back to using the 'add user script' in the absence of
3337 an 'add machine script'
3340 ######################################################################
3341 Passdb Backends and Authentication
3342 ##################################
3344 There have been a few new changes that Samba administrators should be
3345 aware of when moving to Samba 3.0.
3347 1) encrypted passwords have been enabled by default in order to
3348 inter-operate better with out-of-the-box Windows client
3349 installations. This does mean that either (a) a samba account
3350 must be created for each user, or (b) 'encrypt passwords = no'
3351 must be explicitly defined in smb.conf.
3353 2) Inclusion of new 'security = ads' option for integration
3354 with an Active Directory domain using the native Windows
3355 Kerberos 5 and LDAP protocols.
3357 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
3358 type which is neccessary for servers on which the
3359 administrator password has not been changed, or kerberos-enabled
3360 SMB connections to servers that require Kerberos SMB signing.
3361 Besides this one difference, either MIT or Heimdal Kerberos
3362 distributions are usable by Samba 3.0.
3365 Samba 3.0 also includes the possibility of setting up chains
3366 of authentication methods (auth methods) and account storage
3367 backends (passdb backend). Please refer to the smb.conf(5)
3368 man page for details. While both parameters assume sane default
3369 values, it is likely that you will need to understand what the
3370 values actually mean in order to ensure Samba operates correctly.
3372 The recommended passdb backends at this time are
3374 * smbpasswd - 2.2 compatible flat file format
3375 * tdbsam - attribute rich database intended as an smbpasswd
3376 replacement for stand alone servers
3377 * ldapsam - attribute rich account storage and retrieval
3378 backend utilizing an LDAP directory.
3379 * ldapsam_compat - a 2.2 backward compatible LDAP account
3382 Certain functions of the smbpasswd(8) tool have been split between the
3383 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
3384 utility. See the respective man pages for details.
3387 ######################################################################
3391 This section outlines the new features affecting Samba / LDAP
3397 A new object class (sambaSamAccount) has been introduced to replace
3398 the old sambaAccount. This change aids us in the renaming of
3399 attributes to prevent clashes with attributes from other vendors.
3400 There is a conversion script (examples/LDAP/convertSambaAccount) to
3401 modify and LDIF file to the new schema.
3405 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3406 $ convertSambaAccount --sid=<Domain SID> \
3407 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3408 --changetype=[modify|add]
3410 The <DOM SID> can be obtained by running 'net getlocalsid
3411 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
3412 the format of the generated LDIF output--either create new entries
3413 or modify existing entries.
3415 The old sambaAccount schema may still be used by specifying the
3416 "ldapsam_compat" passdb backend. However, the sambaAccount and
3417 associated attributes have been moved to the historical section of
3418 the schema file and must be uncommented before use if needed.
3419 The 2.2 object class declaration for a sambaAccount has not changed
3420 in the 3.0 samba.schema file.
3422 Other new object classes and their uses include:
3424 * sambaDomain - domain information used to allocate rids
3425 for users and groups as necessary. The attributes are added
3426 in 'ldap suffix' directory entry automatically if
3427 an idmap uid/gid range has been set and the 'ldapsam'
3428 passdb backend has been selected.
3430 * sambaGroupMapping - an object representing the
3431 relationship between a posixGroup and a Windows
3432 group/SID. These entries are stored in the 'ldap
3433 group suffix' and managed by the 'net groupmap' command.
3435 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
3436 automatically and contains the next available 'idmap uid' and
3439 * sambaIdmapEntry - object storing a mapping between a
3440 SID and a UNIX uid/gid. These objects are created by the
3441 idmap_ldap module as needed.
3443 * sambaSidEntry - object representing a SID alone, as a Structural
3444 class on which to build the sambaIdmapEntry.
3447 New Suffix for Searching
3448 ------------------------
3450 The following new smb.conf parameters have been added to aid in directing
3451 certain LDAP queries when 'passdb backend = ldapsam://...' has been
3454 * ldap suffix - used to search for user and computer accounts
3455 * ldap user suffix - used to store user accounts
3456 * ldap machine suffix - used to store machine trust accounts
3457 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
3458 * ldap idmap suffix - location of sambaIdmapEntry objects
3460 If an 'ldap suffix' is defined, it will be appended to all of the
3461 remaining sub-suffix parameters. In this case, the order of the suffix
3462 listings in smb.conf is important. Always place the 'ldap suffix' first
3465 Due to a limitation in Samba's smb.conf parsing, you should not surround
3466 the DN's with quotation marks.
3472 Samba 3.0 supports an ldap backend for the idmap subsystem. The
3473 following options would inform Samba that the idmap table should be
3474 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
3479 idmap backend = ldap:ldap://onterose/
3480 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
3481 idmap uid = 40000-50000
3482 idmap gid = 40000-50000
3484 This configuration allows winbind installations on multiple servers to
3485 share a uid/gid number space, thus avoiding the interoperability problems
3486 with NFS that were present in Samba 2.2.
3490 ######################################################################
3491 Trust Relationships and a Samba Domain
3492 ######################################
3494 Samba 3.0.0beta2 is able to utilize winbindd as the means of
3495 allocating uids and gids to trusted users and groups. More
3496 information regarding Samba's support for establishing trust
3497 relationships can be found in the Samba-HOWTO-Collection included
3498 in the docs/ directory of this release.
3500 First create your Samba PDC and ensure that everything is
3501 working correctly before moving on the trusts.
3503 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
3504 4.0 domain named WINDOWS:
3506 1) create the trust account for SAMBA in "User Manager for Domains"
3507 2) connect the trust from the Samba domain using
3508 'net rpc trustdom establish GLASS'
3510 To create a trustlationship with SAMBA as the trusted domain:
3512 1) create the initial trust account for GLASS using
3513 'smbpasswd -a -i GLASS'. You may need to create a UNIX
3514 account for GLASS$ prior to this step (depending on your
3515 local configuration).
3516 2) connect the trust from a WINDOWS DC using "User Manager
3519 Now join winbindd on the Samba PDC to the SAMBA domain using
3520 the normal steps for adding a Samba server to an NT4 domain:
3521 (note that smbd & nmbd must be running at this point)
3523 root# net rpc join -U root
3524 Password: <enter root password from smbpasswd file here>
3526 Start winbindd and test the join with 'wbinfo -t'.
3528 Now test the trust relationship by connecting to the SAMBA DC
3529 (e.g. POGO) as a user from the WINDOWS domain:
3531 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3534 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3536 $ smbclient //crystal/netlogon -U root -W WINDOWS
3539 ######################################################################
3543 Beginning with Samba3.0.0beta3, winbindd has been given new account
3544 manage functionality equivalent to the 'add user script' family of
3545 smb.conf parameters. The idmap design has also been changed to
3546 centralize control of foreign SID lookups and matching to UNIX
3550 Brief Description of Changes
3551 ----------------------------
3553 1) The sid_to_uid() family of functions (smbd/uid.c) have been
3554 reverted to the 2.2.x design. This means that when resolving a
3555 SID to a UID or similar mapping:
3557 a) First consult winbindd
3558 b) perform a local lookup only if winbindd fails to
3559 return a successful answer
3561 There are some variations to this, but these two rules generally
3564 2) All idmap lookups have been moved into winbindd. This means that
3565 a server must run winbindd (and support NSS) in order to achieve
3566 any mappings of SID to dynamically allocated UNIX ids. This was
3567 a conscious design choice.
3569 3) New functions have been added to winbindd to emulate the 'add user
3570 script' family of smbd functions without requiring that external
3571 scripts be defined. This functionality is controlled by the 'winbind
3572 enable local accounts' smb.conf parameter (enabled by default).
3574 However, this account management functionality is only supported
3575 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
3576 must be shared among multiple Samba servers (such as a PDC and BDCs),
3577 it will be necessary to define your own 'add user script', et. al.
3578 programs that place the accounts/groups in some form of directory
3579 such as NIS or LDAP. This requirement was deemed beyond the scope
3580 of winbind's account management functions. Solutions for
3581 distributing UNIX system information have been deployed and tested
3582 for many years. We saw no need to reinvent the wheel.
3584 4) A member of a Samba controlled domain running winbindd is now able
3585 to map domain users directly onto existing UNIX accounts while still
3586 automatically creating accounts for trusted users and groups. This
3587 behavior is controlled by the 'winbind trusted domains only' smb.conf
3588 parameter (disabled by default to provide 2.2.x winbind behavior).
3590 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3591 in smbd/uid.c. The reason that group mappings are not included
3592 in winbindd is because the purpose of Samba's group map is to
3593 match any Windows SID with an existing UNIX group. These UNIX
3594 groups can be created by winbindd (see next section), but the
3595 SID<->gid mapping is retreived by smbd, not winbindd.
3601 * security = server running winbindd to allocate accounts on demand
3603 * Samba PDC running winbindd to handle the automatic creation of UNIX
3604 identities for machine trust accounts
3606 * Automtically creating UNIX user and groups when migrating a Windows NT
3607 4.0 PDC to a Samba PDC. Winbindd must be running when executing
3608 'net rpc vampire' for this to work.
3611 ######################################################################
3615 * There are several bugs currently logged against the 3.0 codebase
3616 that affect the use of NT 4.0 GUI domain management tools when run
3617 against a Samba 3.0 PDC. This bugs should be released in an early
3620 Please refer to https://bugzilla.samba.org/ for a current list of bugs
3621 filed against the Samba 3.0 codebase.
3624 ######################################################################
3625 Reporting bugs & Development Discussion
3626 #######################################
3628 Please discuss this release on the samba-technical mailing list or by
3629 joining the #samba-technical IRC channel on irc.freenode.net.
3631 If you do report problems then please try to send high quality
3632 feedback. If you don't provide vital information to help us track down
3633 the problem then you will probably be ignored.
3635 A new bugzilla installation has been established to help support the
3636 Samba 3.0 community of users. This server, located at
3637 https://bugzilla.samba.org/, has replaced the older jitterbug server
3638 previously located at http://bugs.samba.org/.