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.11 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 Timur Bakeyev <timur@com.bat.ru>
73 * BUG 2263: Guard base64_encode_data_blob() against empty blobs.
76 o Gerald (Jerry) Carter <jerry@samba.org>
77 * BUG 2262: Add support in configure.in for *freebsd6*.
78 * BUG 2266: Portability fixes for quota code on FreeBSD4.
79 * BUG 2264: Remove shutdown and abortshutdown commands from
80 rpcclient in favor of using the same functions in 'net'.
81 * BUG 2295: Prevent smbd from returning an empty server name
82 in certain lanman api calls.
83 * BUG 2290: Fix autogen.sh script in examples (based on original
84 patch from Lars Mueller).
85 * Fix bug enumerating domain trusts in security = ads.
86 * Fix segv in rpcclient's dsenumdomtrusts.
87 * Fix bug in expansion of %U and %G in included filenames.
88 * BUG 2291: Restrict creation of server trust and domain trust
89 accounts to members of the "Domain Admins" group.
92 o Guenther Deschner <gd@samba.org>
93 * BUG 2291: Call the 'add machine script' for server trust and
94 domain trust accounts as well as workstation accounts.
97 o Levente Farkas <lfarkas@lfarkas.org>
98 * BUG 2299: Better logrotate scripts for RedHat and Fedora
102 o Jay Fenlason <fenlason@redhat.com>
103 * Several patches from RedHat's Fedora Core RPMS.
106 o Deryck Hodge <deryck@samba.org>
107 * Add -P (--password-only-menu) to SWAT for displaying only the
108 password change page to non-root users.
111 o Jason Mader <jason@ncac.gwu.edu>
112 * BUG 2113, 2289: Remove dead code.
115 o Tim Potter <tpot@samba.org>
116 * Compile fixes after new setsampwent() API.
119 o Richard Renard <rrenard@idealx.com>
120 * Update Netscape DS 5.2 LDAP schema.
123 o Simo Sorce <idra@samba.org>
124 * Log a warning in testparm if a print command is defined for
125 a print service using 'printing = cups'.
134 Parameter Name Action
135 -------------- ------
136 afs token lifetime New
137 enable privileges New
138 ldap password sync Alias
139 min password length Deprecated
140 winbind enable local accounts Deprecated
145 o Jeremy Allison <jra@samba.org>
146 * Extend vfs to add seekdir/telldir/rewinddir.
148 * Fix bugs when handling secondary trans2 requests.
149 * Implementation of get posix acls in UNIX extensions.
150 * Added set posix acl functionality into the UNIX extensions code.
151 * Updated config.guess/config.sub .
152 * Fix error reply when 'follow symlinks = no'.
153 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
155 * Fixes for LARGE_READX support.
156 * Fix the problem we get on Linux where sendfile fails, but we've
157 already sent the header using send().
158 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
160 * BUG 2088: Ensure inherit permissions is only applied on a new
161 file, not an existing one.
162 * Don't go fishing for the krb5 authorization data unless we know
164 * Fixes for libsmbclient to ensure that interrupted system calls
165 are restarted minus the already expired portion of the timeout
166 (based on work by Derrell Lipman).
167 * More Unicode string parsing fixes.
168 * Convert the winreg pipe to use WERROR returns.
169 * Make all LDAP timeouts consistent (input from Joe Meadows
170 <jameadows@webopolis.com>).
171 * BUG 2231: Remove double "\\" from client findfirst.
172 * BUG 2238: Fix memory leak in shadow copy vfs.
173 * Return correct DOS/NT error code on transact named pipe on
175 * BUG 2211: Fix security descriptor parsing bug (based on work by
176 Mrinal Kalakrishnan <mail@mrinal.net>).
177 * BUG 2270: Fix memory leaks in cups printing backend support
178 (based on work by Lars Mueller).
179 * BUG 2255: Fix debug level in kerberos error messages.
180 * BUG 2110: Ensure we convert to ucs2 correctly after the
182 * Make strict locking an enum. Auto means use oplock optimization.
183 * Fix client & server to allow 127k READX calls.
184 * More *alloc fixes (includes additional fixes by Albert Chin.
185 * Catch sendfile errors correctly and return the correct values
186 we want the caller to return.
187 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
188 for better use by desktop environments such as GNOME.
189 * Ensure we can't remove a level II oplock without having the
190 shared memory area locked.
193 o Timur Bakeyev <timur@com.bat.ru>
194 * BUG 2100: change the way we check for errors after a dlopen().
197 o Andrew Bartlett <abartlet@samba.org>
198 * Clarify error message when 'lanman auth = no'.
199 * Remove the unnecessary UTF-8 conversion calls in the calls to
200 auth_winbind from smbd.
201 * Don't store the auth-user credentials with the cli_state* as
202 this can cause the schannel setup to fail when the auth-user
203 domain is not our primary domain.
206 o Grigory Batalov <bga@altlinux.org>
207 * Fix encoding while receiving of a message which was actually
208 sent using STR_ASCII.
211 o Daniel Beschorner <db@unit-netz.de>
212 * BUG 603: Correct access mask check for _samr_lookup_domain()
213 to work with Windows RAS server
216 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
217 * Fix missing printer_tdb reference decrement.
220 o Gerald (Jerry) Carter <jerry@samba.org>
221 * BUG 2073: fall back to smb_name if current_user_info is not
222 available in lp_file_list_changed().
223 * Fixes the spurious 'register_message_flags: tdb fetch failed'
225 * Don't run the background LPQ daemon when we are running in
227 * prevent the background LPQ daemon from updating the print queue
228 cache just because multiple smbd processes sent a message that
230 * consolidate printer searches to use find_service rather than
232 * BUG 2091: don't remove statically defined printers in
233 remove_stale_printers().
234 * Fix logic error in add_a_form() that only compared N characters
235 instead of the entire form name.
236 * BUG 2107: fix memory bloating caused by large numbers of
237 print_queue_updates() requests sent via messages.tdb.
238 * Check the setprinter(3) based on the access permissions on
239 the handle and avoid the call to print_access_check().
240 * Re-instantiate previous semantics for calling init_unistr2()
241 with a NULL source buffer.
242 * Support Windows privilege model for assigning rights
243 to specific SIDs. Based on work by Simo Sorce in the trunk
244 svn branch. This feature is controlled by the 'enable
245 privileges = [yes|no]' smb.conf(5) option.
246 * Add some smb.conf scripts for add/delete/change shares and
247 deleting cups printers.
248 * Expand variables in the profile path, logon home and logon script
249 values when using either tdbsam or ldapsam.
250 * Add Domain Admins (Full Control) to the default printer security
251 descriptor if we are a DC.
252 * RedHat and Fedora Packaging fixes for perl dependencies.
253 * Remove unused schema items from OpenLDAP schema file.
254 * Remove duplicate enumeration of "Windows x86" architecture
255 when listing printer drivers via rpcclient.
256 * Fail set_privileges() if 'enable privileges = no' to prevent
258 * Fix segfault in cups_queue_get().
259 * Tighten restrictions on changing user passwords when
260 the connected user possesses the SeMachineAccountPrivilege.
261 * Ensure we set NETBIOSNAME.domainname for the long machine name
262 when publishing printers in AD (based on input from Rob Foehl).
263 * Mark 'winbind enable local accounts' as deprecated.
264 * Mark testprns tool as deprecated.
265 * Allow root to grant/revoke privilege assignments.
266 * Correct interaction between user rights and se_access_check() on
268 * BUG 2286: Fix typo OpenLDAP schema file for sambaConfig object
272 o Nadav Danieli <nadavd@exanet.com>
273 * Short circuit some is_locked() tests if we are oplocked.
276 o Guenther Deschner <gd@samba.org>
277 * Allow 'localhost' as a valid server name in the smbd for the
279 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
280 Mewburn for the input).
281 * BUG 2059: Add additional checks needed after logic change to the
282 HAVE_WRFILE_KEYTAB detection test.
283 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
284 Samba DC. Allow us to lookup at least our own SID.
285 * More fixes to have proper German in swat (Thanks to Reiner
286 Klaproth and Björn Jacke.
287 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
288 setting security descriptors with smbcacls and using with
290 * Include the munged_dial, bad_password_count, logon_count, and
291 logon_hours attributes when running 'net rpc vampire'.
292 * Fix segfault in idmap_rid.
293 * When winbindd is operating in the multi-mapping mode of
294 idmap_rid, allow BUILTIN domain-mapping.
295 * Display infolevel 12 in query_dom_info in rpcclient.
296 * Fix bug in winbindd's lowercasing of usernames.
297 * Allow -v or -l for displaying verbose groupmap-listing
298 as well as "verbose".
299 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
301 * Close LDAP-Connection before retrying to open a new connection
303 * Marking "min password length" as depreciated.
304 * Implement SAMR query_dom_info-call info-level 8 server- and
305 client-side, based on samba4-idl.
306 * Allow rpcclient to define a port to use when connecting
308 * Allow Account Lockout with Lockout Duration "forever" (until
309 admin unlocks) to be set and displayed in User Manager.
310 * Allow to set acb_mask in rpcclient's enumdomusers.
311 * Add more generic rootDSE inspection function to check
312 for given controls or extensions and remember these on a
314 * Improve LDAP search efficiency by passing the acb_mask to
316 * Fixes for ldapsam_enum_group_memberships().
317 * Add createdomgroup to rpcclient.
318 * Add "net rpc user RENAME"-command.
319 * Display sam_user_info_7 in rpcclient.
320 * Make multi-domain-mode in idmap_rid accessible from outside
321 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
322 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
323 "Lockout Duration: Forever".
324 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
326 * Require assignment of Administrator SID in the passdb
327 backend. Fall back to the default name of 'Administrator' if
328 the lookup fails rather than using the first name in the
329 default 'admin users' list.
330 * Enhance LDAP failure debug messages.
333 o Jay Fenlason <fenlason@redhat.com>
334 * Fix crash in 'net join' due to calling free on
338 o Rob Foehl <rwf@loonybin.net>.
340 * Try modifying printer published attributes before adding it a
342 * Solaris packaging fixes.
343 * Don't force the cups printer-make-and-model tag as the comment
344 for autoloaded printers.
345 * Implement caching of names from printcap to support a true
346 'printcap cache time'.
349 o Johann Hanne <jhml@gmx.net>
350 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
353 o Jeff Hardy <hardyjm@potsdam.edu>
354 * Example script for 'add print command' when using CUPS.
357 o David Hu <david.hu@hp.com>
358 * Copy structure from print_queue_update() message rather than
359 referencing it. Fixes seg fault on HP-UX.
362 o Buck Huppmann <buckh@pobox.com>
363 * BUG 2186: Don't free uninitialized credentials.
364 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
365 dnsDomainName != realm.
368 o Björn Jacke <bjoern@j3e.de>
369 * BUG 2040: Ensure the locale is reset to C to get ASCII-
370 compatible toupper/lower functions.
373 o William Jojo <jojowil@hvcc.edu>
374 * Fix HPUX sendfile and add configure.in tests and code for
376 * AIX 5.3 compile fixes.
379 o Volker Lendecke <vl@samba.org>
380 * Optimize anonymous session setups by workstations in a
382 * Reimplment the QueryUserAliases() server RPC reply.
383 * Re-add the getpwnam-cache for performance.
384 * Cache the result of a pdb_getsampwnam for later SID lookup
386 * Unify the means of localtaing a user's global groups on a
388 * Fix bug when serving the 'Start Menu' in a roaming user profile..
389 * Map more pre-defined NT security descriptors to AFS acls.
390 * Add timeout to AD search requests.
391 * If a connection to a DC is requested (in winbindd), open
392 connections simultaneously to all DCs found.
394 * Fix logic error in handling of 'printcap name' parameter.
395 * Prevent winbindd from SPAM'ing the log files with 'user root
397 * Backport samr_DomInfo2 IDL specification from Samba 4.
398 * Implement smbstatus -n, don't lookup users and groups.
399 * Implement simple mapping that maps the space to another character
400 defined by afsacl:space.
401 * Add support for 'net idmap delete <idmap-file> <SID>'.
402 * Add new parameter 'afs token lifetime' tells the AFS client
403 when to throw away a token (patch from kllin@it.su.se).
404 * Initial work to allow support for multiple pipe opens on a
406 * Ensure that we still retrieve the netbios name of any DC
407 listed as a 'password server' to work around cases where the
408 DC was defined using an IP address or fqdn.
409 * Fix memleak in winbindd connection code.
410 * Fix cli_samr_queryuseraliases.
411 * Allow wbinfo --user-sids to expand expand domain local groups.
412 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
413 * Fix parsing of other_sids in net_user_info3.
414 * Correct bad failure logic when user was not a member of any
418 o Jim McDonough <jmcd@us.ibm.com>
419 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
420 clients. If it fails, fall back to WINREG.
421 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
422 * BUG 2198: Set password last change time when running 'net rpc
424 * Add "refuse machine password change" policy field.
427 o Luke Mewburn <lukem@NetBSD.org>
428 * BUG 2150: shmget() - Use POSIX definitions instead of non-
432 o Stefan Metzmacher <metze@samba.org>
436 o Buchan Milne <bgmilne@mandrake.org>
437 * Mandrake packaging fixes.
440 o Lars Mueller <lmuelle@suse.de>
441 * Fix build of libsmbclient on x86_64.
442 * BUG 2013: Fix testsuite build issues when libsmbclient.so
443 is installed in a non-default location.
444 * BUG 2050: Calculate max_fd for select correctly.
445 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
449 o Jason Mader <jason@ncac.gwu.edu>
450 * BUG 2069: Remove unused variables.
451 * BUG 2075: Remove dead code paths.
452 * BUG 2083: Fix compiler warnings caused by bad type casts.
455 o James Peach <jpeach@sgi.com>
456 * Fix rewinddir -> rewind_dir when using VFS macros.
459 o Gavrie Philipson <gavrie@disksites.com>
460 * BUG 1838: Remove stale printers imeeddiately when
461 processing a SIGHUP and during smb.conf reload.
464 o Tim Potter <tpot@samba.org>
465 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
466 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
467 * Change the license for the winbindd external interface
469 * HP-UX compile fixes.
472 o Simo Sorce <idra@samba.org>
473 * Backport pdbedit changes from trunk.
474 * Allows the add/change share command to create the shared
475 directory directory on disk.
477 o Jelmer Vernooij <jelmer@samba.org>
478 * Bug fixes for pdb_{xml,pqsql,xml}
479 * Fixes for pdb_mysql.
482 o Andrew Tridgell <tridge@samba.org>
483 * Bring Samba3 into line with the Samba4 password change code.
486 o Shiro Yamada <shiro@miraclelinux.com>
487 * BUG 2190: Force SWAT to display parameters in unix charset and
491 Release Notes for older release follow:
493 --------------------------------------------------
494 ==============================
495 Release Notes for Samba 3.0.10
497 ==============================
499 Common bugs fixed in 3.0.10 include:
501 o Fix for security issues described in CAN-2004-1154.
512 o Jeremy Allison <jra@samba.org>
513 * Added checks surrounding all *alloc() calls to fix
515 * Fix long standing memory size bug in bitmap_allocate().
516 * Remove bogus error check in deferred open file serving
520 o Thomas Bork <tombork@web.de>
521 * Fix autoconf script on platforms using a version of GNU ld
522 that does not include a date stamp in the output of --version.
525 o Luke Mewburn <lukem@NetBSD.org>
526 * Fix the swat install script to deal with the new image
527 destination directory used by the docs.
531 --------------------------------------------------
533 =============================
534 Release Notes for Samba 3.0.9
536 =============================
538 Common bugs fixed in 3.0.9 include:
540 o Problem updating roaming user profiles.
541 o Crash in smbd when printing from a Windows 9x client.
542 o Unresolved symbols in libsmbclient which caused
543 applications such as KDE's konqueror to fail when
544 accessing smb:// URLs.
554 o Jeremy Allison <jra@samba.org>
555 * Correctly detect errno for no acl/ea support.
556 * BUG 2036: Fix seg fault in 'net ads join'.
559 o Gerald (Jerry) Carter <jerry@samba.org>
560 * Solaris packaging fixes.
561 * Fix seg fault in lanman printing code.
562 * BUG 2017: fix testparm reporting for the passwd program
564 * Fix output of smbstatus to match the man page.
565 * BUG 2027: fix conflict with declaration MD5_CTX in system
567 * 2028: Avoid false error messages when copying a long
568 printer name to the device mode.
571 o Guenther Deschner <gd@samba.org>
572 * Allow deldriverex in rpcclient to delete drivers for a
573 specific architecture and a specific version.
574 * Fix a couple of rpcclient spoolss commands (setprinter,
575 setprintername, getdriver) w.r.t to printer-naming scheme.
576 Allow 'localhost' in the server string for certain server-side
578 * BUG 2015: Do not fail on setting file attributes with
582 o Michel Gravey <michel.gravey@optogone.com>
583 * Fix build when using gcc 3.0.
586 o Volker Lendecke <vl@samba.org>
587 * Fix tdb open logic when checking our local_pid after
591 o Jim McDonough <jmcd@us.ibm.com>
592 * BUG 1932: Fix crash in 'net getlocalsid' when run as
596 o Luke Mewburn <lukem@NetBSD.org>
597 BUG 1661: Fix KRB5_SETPW-defines
600 o Buchan Milne <bgmilne@mandrake.org>
601 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
604 o Lars Müller <lmuelle@suse.de>
605 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
608 o Martin Zielinski <mz@seh.de>
609 * Add DeletePrinterDriverEx() functionality to rpcclient.
612 --------------------------------------------------
614 =============================
615 Release Notes for Samba 3.0.8
617 =============================
619 Common bugs fixed in 3.0.8 include:
621 o Compile fixes for HP-UX
622 o Fixes for the printer publishing code used when joined to
624 o Incompatibilities with file system quotas.
625 o Several bugs in the spoolss printing code and print system
627 o Inconsistencies in the username map functionality when
628 configured on domain member servers.
629 o Various compile warnings and errors on various platforms.
630 o Fixes for kerberos interoperability with Windows 200x
631 domains when using DES keys.
632 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
633 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
636 New features included in the 3.0.8 release are:
638 o New migration functionality added the the net tool
639 for files/directories, printers, and shares.
640 o New experimental idmap backend for assigning uids/gids
641 directly based on the user/group RID when acting as a
642 member of single domain without any trusts.
643 o Additional printer migration support for XP/2003 platforms.
646 Change in Winbindd Behavior
647 ---------------------------
649 All usernames returned by winbindd are now converted to lower
650 case for better consistency. This means any winbind installation
651 relying on the winbind username will need to rename existing
652 directories and/or files based on the username (%u and %U) to lower
653 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
654 include mail spool files, home directories, valid user lines in
658 Change in Username Map
659 ----------------------
661 Previous Samba releases would only support reading the fully qualified
662 username (e.g. DOMAIN\user) from the username map when performing a
663 kerberos login from a client. However, when looking up a map
664 entry for a user authenticated by NTLM[SSP], only the login name would be
665 used for matches. This resulted in inconsistent behavior sometimes
666 even on the same server.
668 Samba 3.0.8 obeys the following rules when applying the username
671 * When performing local authentication, the username map is
672 applied to the login name before attempting to authenticate
674 * When relying upon a external domain controller for validating
675 authentication requests, smbd will apply the username map
676 to the fully qualified username (i.e. DOMAIN\user) only
677 after the user has been successfully authenticated.
680 ######################################################################
689 Parameter Name Action
690 -------------- ------
691 force printername New
692 sendfile disabled by default
698 o Jeremy Allison <jra@samba.org>
699 * Ensure extended security bit is on only if we negotiated
701 * Simplify statcache to use an in-memory tdb.
702 * If you're selecting a hash algorithm for tdb, you need
703 to do it at open time.
704 * Removed old dir caching code - not being used now we
705 have the statcache anyway.
706 * Simplify the mangle hash code to use an in-memory tdb.
707 * Merge iconv changes from Samba 4 branch.
708 * Fix parsing of names ending in dot and a few other error
710 * BUG 1667: Smbpasswd file could be left locked on some
712 * Fixes for smbclient tar functionality.
713 * BUG 1743: Fix logic bug the deferred open code.
714 * Don't try to set security descriptors on shares where
715 this has been turned off.
716 * Return correct error codes on old SEARCH call.
717 * Ensure we set errno = E2BIG when we overflow in the
718 fast-path character conversion code.
719 * Fix the roundup problem (returning 1mb roundup) for
721 * Added 'stat' command to smbclient to exercise the
722 UNIX_FILE_BASIC info level.
723 * Fix bug where we could incorrectly set sparse attribute.
724 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
725 (reported by Taj Khattra <taj.khattra@gmail.com>).
726 * Remove locked keys tdb code.
727 * BUG 1886: Prevent delete on close being set for readonly files
728 (and return the correct error code).
729 * Ensure we pass most of the new lock tests except for the cancel
730 lock which is yet to be added (merged from Samba 4 branch).
731 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
732 * BUG 1956: Ensure errno is saved and restored consistently on a
734 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
735 that all of the appropriate service principal names are set
736 upon joining an AD domain.
737 * Fix the correct use of resume name in the trans2 code.
738 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
739 correct salt used when generated the DES key after joining an
741 * Enhanced krb5 detection routines in the autoconf scripts.
744 o Andrew Bartlett <abartlet@samba.org>
745 * Avoid changing the machine account password in the passdb
746 backend, when it has 'already been changed'. This occurs
747 in situations where the secure channel between the workstation
748 and the DC breaks down, such as occurred in the MS04-11
750 * Fix utility name in error message in ntlm_auth.
751 * Fix NTLMv2 for use with pam_winbind.
752 * Remove conversion to and from UTF8 on the winbind pipe.
753 * Allow 'require_membership_of' and 'require-membership-of'.
754 * Fix the error code for 'you didn't specify a domain' in
756 * Use sys_getgroups() rather than scanning all groups
757 when generating SAMR replies.
760 o Igor Belyi <sambauser@katehok.ac93.org>
761 * Ensure pdb user is deleted first before deleting UNIX
762 user (LDAP backend needs this ordering).
765 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
766 * Fix core dump in 'net rpc vampire'.
769 o Vince Brimhall <vbrimhall@novell.com>
770 * Make ldapsam_compat robust against NULL attributes.
773 o Gerald Carter <jerry@samba.org>
774 * Don't limit the number of groups returned by winbindd_getgroups()
776 * BUG 1519: Match Windows 2000 behavior when opening a
777 printer using a servername in the form of an IP address or
779 * BUG 1907: remove extra slashes from the printer name in
780 getprinterdriverdir_1().
781 * Fix standard_sub_snum() to use the current user's gid.
782 * Fix background queue update bug (based on Volker's initial work
784 * Add 'force printername' service parameter for people that want
785 to enforce printername == sharename for spoolss printing.
786 * Ensure consistent usage of the username map. Use the fully
787 qualified DOMAIN\user format for 'security = domain|ads' and
788 apply after authentication has succeeded.
789 * Cosmetic fix for getent output -- lowercase the username only
790 and not the complete domain\username string.
791 * Packaging fixes for Solaris, Redhat, & Fedora.
794 o Sean Chandler <sean.chandler@verizon.net>
795 * Fix memlieak in cliconnect.c.
798 o Darren Chew <darrenc@vicscouts.asn.au>
799 * Solaris packaging fixes.
802 o Nalin Dahyabhai <nalin@redhat.com>
803 * SMB signing fix for 56-bit DES session keys.
806 o Guenther Deschner <gd@samba.org>
807 * add IA64 to the architecture table of printer-drivers.
808 * Add file/share/printer migration functionality to
810 * Show correct help for net groupmap commands.
811 * Fix deadlock loop in winbind's required_membership_sid
813 * Bring the same level of "required_membership"-functionality
814 that ntlm_auth uses, to pam_winbindd as well.
815 * Prevent "net lookup kdc" from seg-faulting when
816 using our own implementation of krb5_lookup_kdc with
818 * Adding getprinter level 7 to rpcclient.
819 * Support migrating printers|shares|files from Server A
820 to Server B while running the net-command on client C.
821 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
822 failure of this call non-critical (Thanks to Love @ Heimdal
823 for the explanation and patch).
824 * Fix typos in net's usage-output.
825 * Fix the paranoia-check to ensure the ldap-attribute and the
826 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
828 * Fix several bugs in the _samr_query_useraliases() rpc reply.
829 * Check correct string length when verifying password-policies
830 and using extended characters (Thanks to Uwe Morgenroth from CC
831 Compunet and Volker).
832 * Make 'password history'-behavior in ldapsam more consistent.
833 * Adding "Windows x64" as architecture string and driverdir "x64"
834 for the 64bit AMD platform.
835 * BUG 1343: Readd WKGUID-binding to match the correct default-
836 locations of new User-, Group- and Machine-Accounts in Active
837 Directory (this got lost during the last trunk-merge).
838 * Fix printer-migration w.r.t. to new naming-convention for
840 * Allow to migrate win2k3/xp-drivers as well.
841 * Add client-side support of triggering ads printer publishing
842 over msrpc setprinter calls inside the net-tool.
843 * Add the idmap_rid module (written in conjunction with
844 Sumit Bose <sbose@suse.de>).
845 * BUG 1661: Fix build with recent heimdal releases.
846 * Prevent idmap_rid from making unnecessary calls to domain
847 controllers for trusted domains.
850 o Arthur van Dongen <avdongen@xs4all.nl>
851 * Fix typos in pam_winbind log messages and SuSE
855 o Rob Foehl <rwf@loonybin.net>
856 * Typo fixes for log messages in printer publishing code.
857 * Fix memory leak in printer publishing code.
858 * Ensure print_backend_init() only gets called once.
859 * Have smbd check the published status of all printers
861 * Cleanup up the XXX_a_printer() API for consistency.
862 * Refactored the printer publishing code and include better
866 o Steve French <sfrench@us.ibm.com>
867 * Fix IP address override in mount.cifs mount helper and clean
868 up warning messages from the sparse tool and expand syntax help.
869 * Strip guest mount option off before sending to kernel mount
870 routine to avoid logging spurious message.
873 o Satoh Fumiyasu <fumiya@samba.gr.jp>
874 * BUG 1732: Limit share names returned by RAP based on windows
875 character width, not unix character width.
876 * BUG 1498: Ensure that acl entries are stored in the correct
880 o Brett Funderburg <brett@deepfile.com>
881 * Pass create options parameter to nt_create_andx() function
882 from the python bindings.
883 * BUG 1864: Add sd->type field to security descriptor Python
885 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
886 when trying to return the security descriptor for a file.
887 * BUG 1884: Fixes for the Python bindings to use the value
888 of the desired_access filed passed into the lsa_open_policy()
892 o Michael Gravey <michel.gravey@optogone.com>
893 * BUG 1776: Fix warnings when building modules caused by
894 certain versions of GNU ld not using the the default
895 --allow-shlib-undefined flag.
898 o Chris Hertel <crh@samba.org>
899 * Fix logic bug in splay tree data structure when finding
901 * Fix bug where an invalid MAC address would be printed by
902 a node status lookup from nmblookup.
905 o Uli Iske <iske@elkb.de>
906 * Update the DNS/eDirectory LDAP schema file.
909 o Björn Jacke <bjacke@sernet.de>
910 * BUG 1766: Unify charset-handling in Content-Type:-headers to
911 UTF-8. Reformat msgstr in msg-files to UTF-8.
912 * Do not use display charset for swat output.
913 * Convert the share names correctly from unix encoding to web
914 encoding and vice versa.
915 * Convert files from status page from unix charset to UTF-8.
918 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
919 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
922 o Tom Lackemann <cessnatomny@yahoo.com>
923 * BUG 1954: Fix memory leak in posix acl code.
926 o Volker Lendecke <vl@samba.org>
927 * Robustnss fix for winbindd when sending multiple requests
928 at a high rate for a slow operation.
929 * Solve the problem of user sids ending up with gid's
931 * Use sys_fork instead of fork for the dual daemon so that
932 we get the correct debug pid in the logfiles.
933 * Based on patch from jmcd, implement special lists for the LDAP
934 user attributes to delete.
935 * Fix creation of aliases via usrmgr. Winbind was too strict
936 checking the type of sids.
937 * Lowercase all usernames returned by winbind.
938 * BUG 1545, 1823: Only issue the ldap extended password change
939 operation if the ldap server supports it. Also ignore object
940 class violation errors from the extended operation.
941 * Optimization for 'idmap backend = ldap': When asking sid2id
942 for the wrong type, don't ask ldap when we have the opposite mapping
944 * Fix ldapsam_compat homeDrive.
945 * Add usersidlist and allowedusers subcommands to the net tool
946 in order to support scanning a file server's share and list
947 all users who have permission to connect there.
948 * Allow for multiple DC's to be named as #1c names in lmhosts.
950 * Fix checks for the local pid of an smbd process after
954 o Herb Lewis <herb@samba.org>
955 * Added tdbtool to be built by default.
958 o Love <lha@stacken.kth.se>
959 * BUG 1955: Inconsistent error return.
962 o Sorin Manolache <sorinm@gmail.com>
966 o Jim McDonough <jmcd@us.ibm.com>
967 * Allow 'net ads lookup' to rely on command line arguments
968 if contacting an ADS server fails; utilize cldap for lookups.
969 * Fixup formatting errors in TDB_LOG calls; add printf attribute
970 support to tdb log functions.
973 o Bill McGonigle <bill+samba@bfccomputing.com>
974 * BUG 1926: Type in debug message.
978 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
982 o Luke Mewburn <lukem@NetBSD.org>
983 * BUG 1782: Prevent testparm from displaying parameter synonyms.
986 o Stefan Metzmacher <metze@samba.org>
987 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
988 * Fix client quota support.
989 * Fix opening of system quota file.
992 o Lars Mueller <lmuelle@suse.de>
993 * Small fixes for autogen.sh to deal with version detection
994 of autoconf and autoheader; fixes for examples using
995 libtool to adhere to stricter syntax of newer version.
998 o Henrik Nordstrom <hno@squid-cache.org>
999 * Allow winbindd to return the correct number of groups
1000 when the groups array must be enlarged.
1003 o Narayana Pattipati <narayana.pattipati@wipro.com>
1004 * Solaris autoconf detection fixes.
1007 o Tim Potter <tpot@samba.org>
1008 * BUG 1360: (correct fix) Use -Wl when passing flags to
1010 * HP-UX compile fixes (from JBravo on #samba-technical).
1011 * BUG 1731: More HP-UX compiles fixes.
1012 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
1013 spits the dummy otherwise.
1014 * Fix bug in Python printerdata wrapper.
1015 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
1016 <bugzilla-samba@thewrittenword.com>).
1017 * Fix parameter confusion in priming of name-to-sid cache
1018 (Found by Qiao Yang).
1019 * BUG 1888: Remove '..' from all pre-processor commands.
1020 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
1024 o Matt Selsky <selsky@columbia.edu>
1025 * BUG 350: use autoconf 2.57 feature for checking header file
1026 preprocessing (fixes configure warnings on Solaris).
1029 o Richard Renard <rrenard@idealx.com>
1030 * Fix usermgr.exe and trust relationships.
1033 o Paul Szabo <psz@maths.usyd.edu.au>
1034 * Fix to make find_workgroup use the same
1035 truncation as create_workgroup.
1038 o Richard Sharpe <rsharpe@samba.org>
1039 * Ensure cli_write() can support writes >= 65536 bytes.
1042 o Simo Sorce <idra@samba.org>
1043 * Added check password script code in examples/auth/crackcheck/
1044 * Fix memory corruption bug caused in freeing static memory.
1047 o Andrew Tridgell <tridge@samba.org>
1048 * Remove lp_use_mmap() from map_file() since the latter
1049 is for read only and does not require coherence.
1050 * Ensure that the uuid pack/unpack routines do not go past
1051 the end of the structure.
1052 * Converted Samba 3 tree to use the new utf-16 aware iconv
1054 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1055 * Ensure configure only uses '=' instead of the bashism '=='.
1056 * Reduces the number of tdb locking calls made on file IO.
1059 o Jelmer Vernooij <jelmer@samba.org>
1060 * Convert internal data to UTF-8 before calling libxml2.
1061 * Complain if 'password chat' doesn't contain the %u variable
1062 (based on a patch by Ronan Waide).
1066 * BUG 1541: Fix recursive ls in smbclient.
1069 o Igor Zhbanov <bsg@uniyar.ac.ru>
1070 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1073 --------------------------------------------------
1075 =============================
1076 Release Notes for Samba 3.0.7
1078 =============================
1080 This is the latest stable release of Samba. This is the version
1081 that production Samba servers should be running for all
1082 current bug-fixes. There have been several important issues
1083 fixes since the 3.0.6 release. See the "Changes" section for
1084 details on exact updates.
1086 Common bugs fixed in 3.0.7 include:
1088 o Fixes for two Denial of Service vulnerabilities
1089 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1090 o Winbind failure to return user entries under certain
1092 o Syntax errors in the OpenLDAP schema file (samba.schema).
1093 o Printing errors caused by not setting default values
1094 for the various printing commands.
1103 Parameter Name Action
1104 -------------- ------
1105 winbind enable local accounts disabled by default
1110 o Jeremy Allison <jra@samba.org>
1111 * Fix parsing of names ending in dot and a few other error
1113 * BUG 1674: Move the symlinks checks into reduce_name().
1114 * Fix memleak when checking the valid names smb.conf option.
1115 * Fix memleak on error return path in the file open code.
1116 * More paranoia checks in the hash2 mangling code.
1117 * Fix syntax error in configure.in.
1118 * Match Win2k3's behavior for pathname parsing error returns.
1119 * Make nmbd more robust against bad netbios packets
1121 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1125 o Andrew Bartlett <abartlet@samba.org>
1126 * Janitor work in loadparm.c -- remove unused parameters.
1129 o Gerald Carter <jerry@samba.org>
1130 * BUG 1464: Ensure that printing commands are initialized even
1131 if the 'printing' parameter is not explicitly set.
1132 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1133 Adharsh Praveen <rprav@india.hp.com>)
1134 * Work around parsing error in the print change notify code.
1135 * remove duplicate declaration of getprintprocdir from
1137 * Only use sAMAccountName and not userPrincipalName when looking
1138 up a username in AD since the breaks winbindd (lookup_name()
1139 only works with the sAMAccountName).
1140 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1141 filling in the username in the user_info3.
1142 * Fix logic bug in the check for creating a user's home directory
1143 in register_vuid(); caused home directory to be mismatched to
1144 the first share in smb.conf under certain conditions.
1145 * BUG 1656: rename auto.a to auto.smb.
1146 * Ensure that we assign our pid to print jobs (and not our
1147 parent's pid); ensures that spooling jobs from dead smbds
1148 are removed from the tdb.
1149 * Disable 'winbind enable local accounts' by default.
1150 * Adding some initial checks for DragonFly (same as
1154 o Guenther Deschner <gd@samba.org>
1155 * Use SMB_ASSERT() to track down NULL printer names in
1157 * Revert fix for BUG 1474 to avoid unnecessary packaging
1161 o Olaf Flebbe <o.flebbe@science-computing.de>.
1162 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1164 * BUG 1626: More compile fixes.
1167 o Rob Foehl <rwf@loonybin.net>
1168 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1169 by attempts to sanitize the defined attributes.
1172 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1173 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1176 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1177 * BUG 1657: Remove used initialized variable,
1178 * BUG 1658: Add a little bit of const.
1181 o Volker Lendecke <vl@samba.org>
1182 * If there's garbage in the pidfile, we should not panic
1183 but assume that no one else is around. We can't find the
1187 o Jim McDonough <jmcd@us.ibm.com>
1188 * Fixup format string in the tdb error messages.
1191 o Jonas Olsson <lexicon@lysator.liu.se>
1192 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1193 reporting the list in usrmgr.exe.
1196 o Tim Potter <tpot@samba.org>
1197 * Fix out-of-tree builds (problem with the script to generate
1198 the svn version number).
1199 * BUG 1360: Need to use -Wl when passing flags to the linker.
1200 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1201 doesn't have one of its own.
1203 o Simo Sorce <idra@samba.org>
1204 * Fixup compile issues on AIX caused by broken strlen() and
1206 * Update debian packaging files.
1209 o Dimitri van der Spek <dwspek@aboveit.nl>
1210 * Use the correct counter when copying group rids from the
1211 user_info3 struct in pam_winbind.
1214 o Qiao Yang <qyang@stbernard.com>
1215 * BUG 1622: Only cache the user
1218 --------------------------------------------------
1220 =============================
1221 Release Notes for Samba 3.0.6
1223 =============================
1225 Common bugs fixed in 3.0.6 include:
1227 o Schannel failure in winbindd.
1228 o Numerous memory leaks.
1229 o Incompatibilities between the 'write list' and 'force user'
1231 o Premature optimization of the open_directory() internal
1232 function that broke tools such as the ArcServe backup
1233 agent, Macromedia HomeSite, and Robocopy.
1234 o Corrupt workgroup names in nmbd's browse.dat.
1235 o Sharing violation errors commonly seen when opening
1236 when serving Microsoft Office documents from a Samba
1238 o Browsing problems caused by an apostrophe (') in the
1239 computer's description field.
1240 o Problems creating special file types from UNIX CIFS
1241 clients and enabling 'unix extensions'.
1242 o Fix stalls in smbd caused by inaccessible LDAP servers.
1243 o Remove various memory leaks.
1244 o Fix issues in the password lockout feature.
1246 New features introduced in this release include:
1248 O Support symlinks created by CIFS clients which
1249 can be followed on the server.
1250 o Using a cups server other than localhost.
1251 o Maintaining the service principal entry in the system
1252 keytab for integration with other kerberized services.
1253 Please refer to the 'use kerberos keytab' entry in
1254 smb.conf(5). When using the heimdal kerberos libraries,
1255 you must also specify the following in /etc/krb5.conf:
1257 default_keytab_name = FILE:/etc/krb5.keytab
1258 o Support for maintaining individual printer names
1259 stored separately from the printer's sharename.
1260 o Support for maintaining user password history.
1261 o Support for honoring the logon times for user in a
1264 --------------------------------------------
1265 unix extensions = yes (default) and symlinks
1266 --------------------------------------------
1268 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
1269 clients supporting the UNIX extensions to the CIFS protocol
1270 can create symlinks to absolute paths which will be **followed**
1271 by the server. This functionality has been requested in order
1272 to correctly support certain applications when the user's home
1273 directory is mounted using some type of CIFS client (e.g. the
1274 cifsvfs in the Linux 2.6 kernel).
1276 If this behavior is not acceptable for your production environment
1277 you can set 'wide links = no' in the specific share declaration in
1278 the server's smb.conf. Be aware that disabling wide link support
1279 out of a share in Samba may impact the server's performance due
1280 to the fact that smbd will now have to check each path additional
1281 times before traversing it.
1283 ------------------------
1284 Password History Support
1285 ------------------------
1287 The new password history feature allows smbd to check the new
1288 password in password change requests against a list of the user's
1289 previous passwords. The number of previous passwords to save can
1290 be set using pdbedit (4 in this example):
1292 root# pdbedit -P "password history" -C 4
1294 When using the ldapsam passdb backend, it is vital to secure the
1295 following attributes from access by non-administrative users:
1299 * sambaPasswordHistory
1301 You should refer to your directory server's documentation on how
1302 to implement this restriction.
1311 Parameter Name Action
1312 -------------- ------
1314 defer sharing violations New
1315 force unknown acl user New
1317 printcap cache time New
1318 use kerberos keytab New
1322 o Jeremy Allison <jra@samba.org>
1323 * Correct path parsing bug that broke DeletePrinterDriverEx().
1324 * Fix bugs in check_path_syntax() caught by asserts.
1325 * Internal change - rearrange internal global case setting
1326 variables to a per connection basis.
1327 * BUG 1345: Fix premature optimization in unix_convert().
1328 * Allow clients to truncate a locked file.
1329 * BUG 1319: Always check to see if a user as write access
1330 to a share, even when 'force user' is set.
1331 * Fix specific case of open that doesn't cause oplock break,
1332 or share mode check.
1333 * Correct sid type is WKN_GROUP, not alias. Added some
1334 more known types (inspired by patch from Jianliang Lu).
1335 * Allow creation of absolute symlink paths via CIFS clients.
1336 * Fix charset bug in when invoking send_mailslot().
1337 * When using widelinks = no, use realpath to canonicalize
1338 the connection path on connection create for the user.
1339 * Enhance stat open code.
1340 * Fix unix extensions mknod code path.
1341 * Allow unix domain socket creation via unix extensions.
1342 * Auto disable the 'store dos attribute' parameter if the
1343 underlying filesystem doesn't support EAs.
1344 * Implement deferred open code to fix a bug with Excel files
1346 * BUG 1427: Catch bad path errors at the right point. Ensure
1347 all our pathname parsing is consistent.
1348 * Fix SMB signing error introduced by the new deferred open
1350 * Change default setting for case sensitivity to "auto". (see
1351 commit message -- r1154 -- for details).
1352 * Add new remote client arch -- CIFSFS.
1353 * Allow smbd to maintain the service principal entry in the
1354 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
1355 Guenther Deschner, et. al.).
1356 * Fix longstanding memleak bug with logfile name.
1357 * Fix incorrect type in printer publishing (struct uuid,
1359 * Heimdal compile fixes after introduction of the new ketyab
1361 * Ensure we check attributes correctly on rename request.
1362 * Ensure we defer a sharing violation on rename correctly.
1363 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
1365 * Fix bogus error message when using "mangling method = hash"
1367 * Turn on sendfile by default for non-Win9x clients.
1368 * Handle non-io opens that cause oplock breaks correctly.
1369 * Ensure ldap replication sleep time is not more than 5 seconds.
1370 * Add support for storing a user's password history.
1371 LDAP portion of the code was based on a patch from
1372 Jianliang Lu <j.lu@tiesse.com>.
1373 * Correct memory leaks found in the password change code.
1374 * Fix support for the mknod command with the Linux CIFS client.
1375 * Remove support for passing the new password to smbpasswd
1376 on the command line without using the -s option.
1377 * Ensure home directory service number is correctly reused
1378 (inspired by patches from Michael Collin Nielsen
1379 <michael@hum.aau.dk>).
1380 * Fix to stop printing accounts from resetting the bas
1381 password and account lockout flags.
1382 * If a account was locked out by an admin (and has a bad
1383 password count of zero) leave it locked out until an admin
1384 unlocks it (but log a message).
1385 * Ensure we return the same ACL revision on the wire that
1387 * BUG 1578: Hardcode replacement for invalid characters as '_'
1388 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1389 * Fix hashed password history for LDAP backends.
1390 * Enforce logon hours restrictions if confiogured (based on code
1391 from Richard Renard <rrenard@idealx.com>).
1392 * BUG 1606: Force smbd to disable sendfile with DOS clients
1393 and ensure that the chained header is filled in for ...&X
1395 * BUG 1602: Fix access to shares when all symlink support
1400 o Tom Alsberg <alsbergt@cs.huji.ac.il>
1401 * Allow pdbedit to export a single user from a passdb backend.
1404 o Andrew Bartlett <abartlet@samba.org>
1405 * Fix parsing bug in GetDomPwInfo().
1406 * Fix segfault in 'ntlm_auth --diagnostics'.
1407 * Re-enable code to allow sid_to_gid() to perform a group
1408 mapping lookup before checking with winbindd.
1409 * Fix memory leak in the trans2 signing code.
1410 * Allow more flexible GSS-SPENGO client and server operation
1412 * Improve smbd's internal random number generation.
1413 * Fix a few outstanding long password changes in smbd.
1414 * Fix LANMAN2 session setup code.
1417 o Eric Boehm <boehm@nortelnetworks.com>
1418 BUG 703: Final touches on netgroup case lookups.
1421 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1422 * Ensure error status codes don't get overwritten in
1423 lsa_lookup_sids() server code.
1424 * Correct bug that caused smbd to overwrite certain error
1425 codes when returning up the call stack.
1426 * Ensure the correct sid type returned for builtin sids.
1429 o Gerald Carter <jerry@samba.org>
1430 * Fix a few bugs in the Fedora Packaging files.
1431 * Fix for setting the called name to by our IP if the
1432 called name was *SMBSERVER and *SMBSERV. Fixes issue
1433 with connecting to printers via \\ip.ad.dr.ess\printer
1435 * BUG 1315: fix for schannel client connections to servers
1436 when we haven't specifically negotiated AUTH_PIPE_SEAL.
1437 * Allow PrinterDriverData valuenames with embedded backslashes
1438 (Fixes bug with one of the Konica Fiery drivers).
1439 * Fixed string length miscalculation in netbios names that
1440 resulted in corrupt workgroup names in browse.dat.
1441 * When running smbd as a daemon, launch child smbd to update
1442 the lpq cache listing in the background.
1443 * Allow printers "Printers..." folder to be renamed to a string
1444 other than the share name.
1445 * Allow winbindd to use domain trust account passwords when
1446 running on a Samba DC to establish an schannel to remote
1448 * Fix bad merge and ensure that we always use tdb_open_log()
1449 instead of tdb_open_ex() (the former call enforce the 'use
1451 * BUG 1221: revert old change that used single and double
1452 quotes as delimeters in next_token(), and change
1453 print_parameter() to print out parm values surrounded by
1454 double quotes (instead of single quotes).
1455 * Prevent home directories added during the SMBsesssetup&X from
1456 being removed as unused services.
1457 * Invalidate the print object cache for open printer handles when
1458 smbd receives a message that an attribute on a given printer
1460 * Cause the configure script to exit if --enable-cups[=yes] is
1461 defined and the system does not have the cups devel files
1463 * BUG 1297: Prevent map_username() from being called twice
1465 * Ensure that we use the userPrincipalName AD attribute
1466 value for LDAP SASL binds.
1467 * Ensure we remove the tdb entry when deleting a job that
1469 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
1470 client sends a FindNextPrintChangeNotify() request without
1471 previously sending a FindFirstPrintChangeNotify(). Return
1472 the same error code as Windows 2000 SP4.
1473 * BUG 1516: Manually declare ldap_open_with_timeout() to
1474 workaround compiler errors on IRIX (or other systems without
1476 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
1478 * Corrected syntax error in the OID for sambaUnixIdPool,
1479 sambaSidEntry, & sambaIdmapEntry object classes.
1480 * Tighten the cache consistency with the ntprinters.tdb entry
1481 an the in memory cache associated with open printer handles.
1482 * Make sure that register_messages_flags() doesn't overwrite
1483 the originally registered flags.
1486 o Fabien Chevalier <fabien.chevalier@supelec.fr>
1487 * Debian BUG 252591: Ensure that the return value from the
1488 number of available interfaces is initialized in case no
1489 interfaces are actually available.
1492 o Guenther Deschner <gd@sernet.de>
1493 * Implement 'rpcclient setprintername'.
1494 * Add local groups to the user's NT_TOKEN since they are
1495 actually supported now.
1496 * Heimdal compile fixes after introduction of the new keytab
1498 * Correctly honor the info level parameter in 'rpcclient
1500 * Reintroduce 'force unknown acl user' parameter. When getting a
1501 security descriptor for a file, if the owner sid is not known,
1502 the owner uid is set to the current uid. Same for group sid.
1503 * Ensure that REG_SZ values in the SetPrinterData actually
1504 get written in UNICODE strings rather than ASCII.
1505 * Ensure that the last kerberos error return is not invalid.
1506 * Display share ACL entries from rpcclient.
1507 * Correct infinite loop in pam_winbind's verification of
1508 group membership in the 'other sids' field in the user_info3
1512 o Fabian Franz <FabianFranz@gmx.de>
1513 * Support specifying a port in the device URL passed to smbspool.
1516 o Steve French <sfrench@us.ibm.com>
1517 * Handle -S and user mount parms in mount.cifs.
1518 * Fix user unmount of shares mount with suid mount.cifs.
1519 * prevent infinite recusion in reopen_logs() when expanding
1520 the smb.conf variable %I.
1523 o Bjoern Jacke <bj@sernet.de>
1524 * Install libsmbclient into $(LIBDIR), not into hard coded
1525 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
1526 and an explicit configure --libdir setting.
1529 o <kawasa_r@itg.hitachi.co.jp>
1530 * Correct more memory leaks and initialization bugs.
1531 * Fix bug that prevented core dumps from being generated
1533 * Connect to the winbind pipe in non-blocking mode to
1534 prevent processes from hanging.
1535 * Memory leak fixes.
1538 o Stephan Kulow <coolo@suse.de>
1539 * Fix crash bug in libsmbclient.
1542 o Volker Lendecke <vl@samba.org>
1543 * Added vfs_full_audit module.
1544 * Add vfs_afsacl.c which can display & set AFS acls via
1545 the NT security editor.
1546 * Fix crash bug caused by trying to Base64 encode a NULL string.
1547 * Fix DOS error code bug in reply_chkpath().
1548 * Correct misunderstanding of the max_size field in
1549 cli_samr_enum_als_groups; it is more like an account_control
1550 field with individual bits what to retrieve.
1551 * Implement 'net rpc group rename' -- rename domain groups.
1552 * Implement the 'cups server' option. This makes it possible
1553 to have virtual smbd's connect to different cups daemons.
1554 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
1555 * Fix sid_to_gid() calls in winbindd to prevent loops.
1556 * Ensure that local_sid_to_gid() sets the type of the group on
1558 * Make sure that the clients are given back the IP address to
1559 which they connected in the case of a multi-homed host. Only
1560 affects strings the spoolss printing replies.
1561 * Fix the bad password lockout. This has not worked as pdb_ldap.c
1562 did not ask for the modifyTimestamp attribute, so it could
1563 not find it. Try not to regress by not putting that attrib
1564 in the main list but append it manually for the relevant searches.
1565 * Fix two memleaks in login_cache.c.
1566 * fixes memory bloat when unmarshalling strings.
1567 * Fix compile errors using gcc 3.2 on SuSE 8.2.
1568 * Fix the build for systems without kerberos headers.
1569 * Allow winbindd to handle authentication requests only when
1570 started without either an 'idmap uid' or 'idmap gid' range.
1571 * Fix the build for systems without ldap headers.
1572 * Fix interaction between share security descriptor and the
1573 'read only' smb.conf option.
1574 * Fix bug that caused _samr_lookupsids() with more than 32 (
1575 MAX_REF_DOMAINS) SIDs to fail.
1576 * Allow the 'idmap backend' parameter to accept a list of
1577 LDAP servers for failover purposes.
1578 * Revert code in smbd to remove a tdb when it has become
1580 * Add paranoid checks when mapping SIDs to a uid/gid to
1581 ensure that the type is correct.
1582 * Initial work on getting client support for sending mailslot
1584 * Add 'ldap timeout' parameter.
1585 * Dont always uppercase 'afs username map'.
1586 * Expand aliases for getusersids as well.
1587 * Improved NT->AFS ACL mapping VFS module.
1590 o Herb Lewis <herb@samba.org>
1591 * Add the acls debug class.
1592 * Fix logic bug in netbios name truncate routine.
1593 * Fix smbd crash caused by smbtorture IOCTL test.
1594 * Fix errno tromping before calling iconv to reset the
1596 * need to leave empty dacl so we can remove last ACE.
1599 o Jianliang Lu <Jianliang.Lu@getronics.com>
1600 * Fix to stop smbd hanging on missing group member in
1602 * Make sure Samba returns the correct group types.
1603 * Reset the bad password count password counts upon a successful login.
1606 o Jason Mader <jason@ncac.gwu.edu>
1607 * BUG 1385: Don't use non-consts in a structure initialization.
1610 o Jim McDonough <jmcd@us.ibm.com>
1611 * BUG 1279: SMBjobid fix for Samba print servers running on
1612 Big-Endian platforms.
1615 o Joe Meadows <jameadows@webopolis.com>
1616 * Add optional timeout parameter to ldap open calls.
1617 * Allow get_dc_list() to check the negative cache.
1620 o Stefan Metzmacher <metze@samba.org>
1621 * fix a configure logic bug for linux/XFS quotas when
1622 using --with-sys-quotas.
1623 * Use quota debug class in quota code.
1624 * print out the SVN revision by configure,
1627 o Buchan Milne <bgmilne@mandrake.org>
1628 * Mandrake packaging fixes.
1631 o Lars Mueller <lmuelle@suse.de>
1632 * BUG 1279: Added 'printcap cache time' parameter.
1633 * Fix afs related build issues on SuSE.
1634 * Fix compiler warnings in the kerberos client code.
1637 o James Peach <jpeach@sgi.com>
1638 * More iconv detection fixes for IRIX.
1639 * Compile fixed for systems that do not have C99/UNIX98 compliant
1640 vsnprintf by default.
1641 * Prevent smbd from attempting to use sendfile at all if it is
1642 not supported by the server's OS.
1643 * Allow SWAT to search for index.html when serving html files
1648 * Implement NFS quota support on FreeBSD.
1651 o Tim Potter <tpot@samba.org>
1652 * BUG 1360: Use -Bsymbolic when creating shared libraries to
1653 avoid conflicts with identical symbols in the global namespace
1654 when loading libnss_wins.so.
1657 o Richard Renard <rrenard@idealx.com>
1658 * Save the current password as it is being changed into the
1659 password history list.
1662 o Richard Sharpe <rsharpe@samba.org>
1663 * Fix error return codes on some lock messages.
1664 * BUG 1178: Make the libsmbclient routines callable
1666 * BUG 1333: Make sure we return an error code when
1668 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
1669 share mode locking requests fail.
1672 o Simo Sorce <idra@samba.org>
1673 * Update Debian stable & unstable packaging.
1674 * Tidy up parametric options in testparm output.
1677 o Richard Sharpe <rsharpe@samba.org>
1678 * Add sigchild handling to winbindd to restart the child
1679 daemon if necessary.
1682 o Tom Shaw <tomisfaraway@gmail.com>
1683 * Use winbindd_fill_pwent() consistently.
1686 o Nick Thompson <nickthompson@agere.com>
1687 * Protect smbd against broken filesystems which return zero
1691 o Andrew Tridgell <tridge@samba.org>
1692 * Fixed bug in handling of timeout in socket connections.
1695 o Nick Wellnhofer <wellnhofer@aevum.de>
1696 * Prevent lp_interfaces() list from being corrupted. Fixes
1697 bug where nmbd would lose the list of network interfaces
1698 on the system and consequently shutdown.
1701 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1702 * Fix ntlm_auth memory leaks.
1705 o Jelmer Vernooij <jelmer@samba.org>
1706 * Additional NT status to unix error mappings.
1707 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
1708 get duplicate symbol errors.
1709 * Return an error when the last command read from stdin
1711 * Prepare for better error checking in tar.
1712 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1715 Changes for older versions follow below:
1717 --------------------------------------------------
1719 =============================
1720 Release Notes for Samba 3.0.5
1722 =============================
1724 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
1725 the exception of correcting the two security issues outlined
1728 ######################## SECURITY RELEASE ########################
1730 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
1731 CVE ID: CAN-2004-0600, CAN-2004-0686
1732 (http://cve.mitre.org/)
1735 This is the latest stable release of Samba. This is the version
1736 that production Samba servers should be running for all current
1739 It has been confirmed that versions of Samba 3 prior to v3.0.4
1740 are vulnerable to two potential buffer overruns. The individual
1741 details are given below.
1747 Affected Versions: Samba 3.0.2 and later
1749 The internal routine used by the Samba Web Administration
1750 Tool (SWAT v3.0.2 and later) to decode the base64 data
1751 during HTTP basic authentication is subject to a buffer
1752 overrun caused by an invalid base64 character. It is
1753 recommended that all Samba v3.0.2 or later installations
1754 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1755 the swat administration service as a temporary workaround.
1757 This same code is used internally to decode the
1758 sambaMungedDial attribute value when using the ldapsam
1759 passdb backend. While we do not believe that the base64
1760 decoding routines used by the ldapsam passdb backend can
1761 be exploited, sites using an LDAP directory service with
1762 Samba are strongly encouraged to verify that the DIT only
1763 allows write access to sambaSamAccount attributes by a
1764 sufficiently authorized user.
1766 The Samba Team would like to heartily thank Evgeny Demidov
1767 for analyzing and reporting this bug.
1773 Affected Versions: Samba 3.0.0 and later
1775 A buffer overrun has been located in the code used to support
1776 the 'mangling method = hash' smb.conf option. Please be aware
1777 that the default setting for this parameter is 'mangling method
1778 = hash2' and therefore not vulnerable.
1780 Affected Samba 3 installations can avoid this possible security
1781 bug by using the default hash2 mangling method. Server
1782 installations requiring the hash mangling method are encouraged
1783 to upgrade to Samba 3.0.5.
1786 ##################################################################
1788 --------------------------------------------------
1790 =============================
1791 Release Notes for Samba 3.0.4
1793 =============================
1795 Common bugs fixed in Samba 3.0.4 include:
1797 o Password changing after applying the patch described in
1798 the Microsoft KB828741 article to Windows clients.
1800 o Managing print jobs via Windows on Big-Endian servers.
1801 o Several memory leaks in winbindd and smbd.
1802 o Compile issues on AIX and *BSD.
1805 --------------------
1810 o Jeremy Allison <jra@samba.org>
1811 * Fix path processing for DeletePrinterDriverEx().
1812 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
1816 o Andrew Bartlett <abartlet@samba.org>
1817 * Fix alignment bug in GetDomPwInfo().
1820 o Alexander Bokovoy <ab@samba.org>
1821 * Fix utime[s]() issues in smbwrapper on systems
1822 that can boot both the 2.4 and 2.6 Linux kernels.
1825 o Gerald Carter <jerry@samba.org>
1826 * Fedora packaging fixes.
1827 * BUG 1302: Fix seg fault by not trying to optimize a list of
1828 invalid gids using the wrong array size.
1829 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1830 seen when 'security = share'.
1831 * Fix problems when using IBM's compiler on AIX.
1832 * Link Developer's Guide, Example Guide, and multi-page HOWTO
1833 into SWAT's welcome page.
1834 * BUG 1293: fix double free in printer publishing code.
1837 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1838 * Fix for handling timeouts in socket connections.
1841 o Michel Gravey <michel.gravey@optogone.com>
1842 * BUG 483: patch from to fix password hash creation in SWAT.
1845 o Volker Lendecke <vl@samba.org>
1846 * Close the open NT pipes before the tdis.
1847 * Fix AFS related build issues.
1848 * Handle error conditions when base64 encoding a blob of 0 bytes.
1851 o Herb Lewis <herb@samba.org>
1852 * Added 'acls' debug class.
1854 o kawasa_r@itg.hitachi.co.jp
1855 * Multiple variable initialization and memory leak fixes.
1858 o Stephan Kulow <coolo@suse.de>
1859 * Fix string length bug in libsmbclient that caused KDE's
1861 * BUG 429: More libsmbclient fixes.
1864 o Jim McDonough <jmcd@us.ibm.com>
1865 * BUG 1007, 1279: Store the print job using a little-endian key.
1869 o Compile fix for OpenBSD (ENOTSUP not supported).
1872 o Stefan Metzmacher <metze@samba.org>
1873 * Correct bug in disks quota views from explorer.
1876 o Tim Potter <tpot@samba.org>
1877 BUG 1305: Correct debug output.
1880 o Richard Sharpe <rsharpe@samba.org>
1881 * Fix incorrect error code mapping.
1884 o Jelmer Vernooij <jelmer@samba.org>
1885 * Add additional NT_STATUS errorm mappings.
1888 Changes for older versions follow below:
1890 --------------------------------------------------
1892 =============================
1893 Release Notes for Samba 3.0.3
1895 =============================
1898 Common bugs fixed in Samba 3.0.3 include:
1900 o Crash bugs and change notify issues in Samba's printing code.
1901 o Honoring secondary group membership on domain member servers.
1902 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1903 o Substitution errors for %[UuGg] in smb.conf.
1904 o winbindd crashes when using ADS security mode.
1905 o SMB signing errors.
1906 o Delays in winbindd startup caused by unnecessary
1907 connections to trusted domain controllers.
1908 o Various small memory leaks.
1909 o Winbindd failing due to expired Kerberos tickets.
1911 New features introduced in Samba 3.0.3 include:
1913 o Improved support for i18n character sets.
1914 o Support for account lockout policy based on
1915 bad password attempts.
1916 o Improved support for long password changes (>14
1917 characters) and strong password enforcement.
1918 o Support for Windows aliases (i.e. nested groups).
1919 o Experimental support for storing DOS attribute on files
1920 and folders in Extended Attributes.
1921 o Support for local nested groups via winbindd.
1922 o Specifying options to be passed directly to the CUPS libraries.
1924 Please be aware that the Samba source code repository was
1925 migrated from CVS to Subversion on April 4, 2004. Details on
1926 accessing the Samba source tree via anonymous svn can be found
1927 at http://svn.samba.org/samba/subversion.html.
1930 Changes since 3.0.2a
1931 --------------------
1935 Parameter Name Action
1936 -------------- ------
1939 only user Deprecated
1940 store dos attributes New
1942 winbind nested groups New
1948 o Jeremy Allison <jra@samba.org>
1949 * Ensure that Kerberos mutex is always properly unlocked.
1950 * Removed Heimdal "in-memory keytab" support.
1951 * Fixup the 'multiple-vuids' bugs in our server code.
1952 * Correct return code from lsa_lookup_sids() on unmapped
1953 sids (based on work by vl@samba.org).
1954 * Fix the "too many fcntl locks" scalability problem
1956 * Fixup correct (as per W2K3) returns for lookupsids
1957 as well as lookupnames.
1958 * Fixups for delete-on-close semantics as per Win2k3 behavior.
1959 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
1960 * Fix "unable to initialize" bug when smbd hasn't been run with
1961 new system and a user is being added via pdbedit/smbpasswd.
1962 * Added NTrename SMB (0xA5).
1963 * Fixup correct timeout values for blocking lock timeouts.
1964 * Fix various bugs reported by 'gentest'.
1965 * More locking fixes in the case where we own the lock.
1966 * Fix up regression in IS_NAME_VALID and renames.
1967 * Don't set allocation size on directories.
1968 * Return correct error code on fail if file exists and target
1970 * Added client "hardlink" comment to test doing NT rename with
1971 hard links. Added hardlink_internals() code - UNIX extensions
1972 now use this as well.
1973 * Use a common function to parse all pathnames from the wire for
1974 much closer emulation of Win2k3 error return codes.
1975 * Implement check_path_syntax() and rewrite string sub
1976 functions for better multibyte support.
1977 * Ensure msdfs referrals are multibyte safe.
1978 * Allow msdfs symlink syntax to be more forgiving.
1979 eg. sym_link -> msdfs://server/share/path/in/share
1980 or sym_link -> msdfs:\\server\share\path\in\share.
1981 * Cleanup multibyte netbios name support in nmbd ( based on patch
1982 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
1983 * Fix check_path_syntax() for multibyte encodings which have
1984 no '\' as second byte (based on work by ab@samba.org.
1985 * Fix the "dfs self-referrals as anonymous user" problem
1986 (based on patch from vl@samba.org).
1987 * BUG 1064: Ensure truncate attribute checking is done correctly
1988 on "hidden" dot files.
1989 * Fix bug in anonymous dfs self-referrals again.
1990 * Fix get/set of EA's in client library
1991 * Added support for OS/2 EA's in smbd server.
1992 * Added 'ea support' parameter to smb.conf.
1993 * Added 'store dos attributes' parameter to smb.conf.
1994 * Fix wildcard identical rename.
1995 * Fix reply_ctemp - make compatible with w2k3.
1996 * Fix wildcard unlink.
1997 * Fix wildcard src with wildcard dest renames.
1998 * BUG 1139: Fix based on suggestion by jdev@panix.com.
1999 swap lookups for user and group - group will do an
2000 algorithmic lookup if it fails, user won't.
2001 * Make EA's lookups case independent.
2002 * Fix SETPATHINFO in 'unix extensions' support.
2003 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
2004 the UNIX info levels, and the short case preserve names.
2007 o Timur Bakeyev <timur@com.bat.ru>
2008 * BUG 1144: only set --with-fhs when the argument is 'yes'
2009 * BUG 1152: Allow python modules to build despite libraries added
2010 to LDFLAGS instead of LDPATH.
2011 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2014 o Craig Barratt <cbarratt@users.sourceforge.net>
2015 * BUG 389: Allow multiple exclude arguments with smbclient
2016 tar -Xr options (better support for Amanda backup client).
2019 o Andrew Bartlett <abartlet@samba.org>
2020 * Include support for linking with cracklib for enforcing strong
2022 * Add support for >14 character password changes from Windows
2024 * Add 'admin set password' capability to 'net rpc'.
2025 * Allow 'net rpc samdump' to work with any joined domain
2026 regardless of smb.conf settings.
2027 * Use an allocated buffer for count_chars.
2028 * Add sanity checks for changes in the domain SID in an
2030 * Implement python unit tests for Samba's multibyte string
2032 * Remove 'unicode' smb.conf option.
2033 * BUG 1138: Fix support for 'optional' SMB signing and other
2035 * BUG 169: Fix NTLMv2-only behavior.
2036 * Ensure 'net' honors the 'netbios name' in the smb.conf by
2038 * Support SMB signing on connections using only the LANMAN
2039 password and generate the correct the 'session key' for these
2041 * Implement --required-membership-of=, an ntlm_auth option
2042 that restricts all authentication to members of this particular
2044 * Improve our fall back code for password changes.
2045 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
2046 after the server had said something (such as an error).
2047 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2050 o Alexander Bokovoy <ab@samba.org>
2051 * Fix incorrect size calculation of the directory name
2053 * Fix problems with very long filenames in both smbd and smbclient
2054 caused by truncating paths during character conversions.
2055 * Fix smbfs problem with Tree Disconnect issued before smbfs
2059 o Gerald Carter <jerry@samba.org>
2060 * BUG 850: Fix 'make installmodules' bug on True64.
2061 * BUG 66: mark 'only user' deprecated.
2062 * Remove corrupt tdb and shutdown (only for printing tdbs,
2063 connections, sessionid & locking).
2064 * decrement smbd counter in connections.tdb in smb_panic().
2065 * RedHat specfile updates.
2066 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2067 * BUG 1147; bad pointer case in get_stored_queue_info()
2069 * BUG 761: read the config file before initialized default
2070 values for printing options; don't default to bsd printing
2072 * Allow the 'printing' parameter to be set on a per share basis.
2073 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2074 * BUG 848: don't create winbind local users/groups that already
2076 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2078 * BUG 488: fix the 'show client in col 1' button and correctly
2079 enumerate active connections.
2080 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2081 problem when storing the updating pid for the lpq cache.
2082 * BUG 1007 (partial): Fix print change notify bugs.
2083 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2084 and winbind use default domain = yes. Also ensures that
2085 * BUG 1151: Ensure that winbindd users are passed through
2087 * Fix client rpc binds for ASU derived servers (pc netlink,
2089 * BUG 417, 1128: Ensure that the current_user_info is set
2090 consistently so that %[UuGg] is expanded correctly.
2091 * BUG 1195: Fix crash in winbindd when the ADS server is
2093 * BUG 1185: Set reconnect time to be the same as the
2094 'winbind cache time'.
2095 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2096 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2097 * BUG 1095: Honor the '-l' option in smbclient.
2098 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2100 * Ensure server schannel uses the auth level requested by the
2102 * Removed --with-cracklib option due to potential crash issue.
2103 * Fix -lcrypto linking problem with wbinfo.
2104 * BUG 761: allow printing parameter to set defaults on a per
2106 * Add 'cups options' parameter to allow raw printing without
2107 changing /etc/cups/cupsd.conf.
2108 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2110 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2111 * BUG 1288: resolve any machine netbios name (0x00) and not just
2113 * BUG 1199: Fix potential symlink issue in
2114 examples/printing/smbprint.
2117 o Robert Dahlem <Robert.Dahlem@gmx.net>
2118 * BUG 1048: Don't return short names when when 'mangled names = no'
2121 o Guenther Deschner <gd@suse.com>
2122 * Remove hard coded attribute name in the ads ranged retrieval
2124 * Add --with-libdir and --with-mandir to autoconf script.
2127 o Bostjan Golob <golob@gimb.org>
2128 * BUG 1046: Fix getpwent_list() so that the username is not
2129 overwritten by other fields.
2132 o Landon Fuller <landonf@opendarwin.org>
2133 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2134 to fix user/group enumeration on systems whose libc does not
2135 call setgrent() before trying to enumerate users (i.e.
2139 o Steve French <sfrench@us.ibm.com>
2140 * Update mount.cifs to version 1.1.
2141 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2142 * Fixes to minor security bug in the mount helper.
2143 * Fix credential file mounting for cifs vfs.
2144 * Fix free of incremented pointer in cifsvfs mount helper.
2145 * Fix path canonicalization of the mount target path and help
2146 text display in the cifs mount helper.
2147 * Add missing guest mount option for mount.cifs.
2150 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2151 * BUG 1055; formatting fixes for 'net share'.
2152 * BUG 692: correct truncation of share names and workgroup
2154 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2155 * Patch from to internally count characters correctly.
2158 o Paul Green <paulg@samba.org>
2159 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2160 * Fix bug in configure.ion by moving the first use of
2161 AC_CHECK_HEADERS so it is always executed.
2162 * Fix configure.in to only use $BLDSHARED to select whether to
2163 build static or shared libraries.
2166 o Pat Haywarrd <Pat.Hayward@propero.net>
2167 * Make the session_users list dynamic (max of 128K).
2170 o Cal Heldenbrand <calzplace@yahoo.com>
2171 * Fix for for 'pam_smbpass migrate' functionality.
2174 o Chris Hertel <crh@samba.org>
2175 * fix enumeration of shares 12 characters in length via
2179 o Ulrich Holeschak <ulrich@holeschak.de>
2180 * BUG 932: fix local password change using pam_smbpass
2183 o Krischan Jodies <kj@sernet.de>
2184 * Implement 'net rpc group delete'
2187 o John Klinger <john.klinger@lmco.com>
2188 * Return NSS_SUCCESS once the max number of gids possible
2189 has been found in initgroups() on Solaris.
2190 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2193 o Volker Lendecke <vl@samba.org>
2194 * Fix success message for net groupmap modify.
2195 * Fix errors when enumerating members of groups in 'net rpc'.
2196 * Match Windows behavior in samr_lookup_names() by returning
2197 ALIAS(4) when you search in BUILTIN.
2198 * Fix server SAMR code to be able to set alias info for
2200 * Fix duplication of logic when creating groups via smbd.
2201 * Ensure that the HWM values are set correctly after running
2203 * Add 'net rpc group add'.
2204 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2205 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2206 * Fix wb_delgrpmem (wbinfo -o).
2207 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2208 * Fix sambaUserWorkstations on a Samba DC.
2209 * Implement wbinfo -k: Have winbind generate an AFS token after
2210 authenticating the user.
2211 * Add expand_msdfs VFS module for providing referrals based on the
2212 the client's IP address.
2213 * Implement client side NETLOGON GetDCName function.
2214 * Fix caching of name->sid lookups.
2215 * Add support in winbindd for expanding nested local groups.
2216 * Fix memleak in winbindd.
2218 * Don't list domain groups from BUILTIN.
2219 * Fix memleak in policy handle utility functions.
2220 * Decrease winbindd startup time by only contacting trusted
2221 domains as necessary.
2222 * Allow winbindd to ask the DC for its domain for a trusted
2224 * Fix Netscape DS schema based on comments from
2225 <thomas.mueller@christ-wasser.de>.
2226 * Correct case where adding a domain user to a XP local group
2227 did a lsalookupname on the user without domain prefix, and
2229 * Fix segfault in winbindd caused by 'wbinfo -a'.
2232 o Herb Lewis <herb@samba.org>
2233 * Fix typo for tag in proto file.
2234 * Add missing #ifdef HAVE_BICONV stuff.
2235 * Truncate Samba's netbios name at the first '.' (not
2239 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2240 * Bug fixes and enhancements to libsmbclient library.
2243 o Jianliang Lu <j.lu@tiesse.com>
2244 * Enforce the 'user must change password at next login' flag.
2245 * Decode meaning of 'fields present' flags (improves support
2248 * Don't force an upper case domain name in the ntlmssp code.
2251 o L. Lucius <ib@digicron.com>.
2255 o Jim McDonough <jmcd@us.ibm.com>
2256 * Add versioning support to tdbsam.
2257 * Update the IBM Directory Server schema with the OpenLDAP
2259 * Various decoding fixes to improve usrmgr.exe support.
2260 * Fix statfs redeclaration of statfs struct on ppc
2261 * Implement support for password lockout of Samba domain
2262 controllers and standalone servers.
2263 * Get MungedDial attribute actually working with full TS
2264 strings in it for pdb_ldap.
2265 * BUG 1208 (partial): Improvements for working with expired krb5
2266 tickets in winbindd.
2267 * Use timegm, or our already existing replacement instead of
2268 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2269 * Remove modifyTimestamp from list of our attributes.
2270 * Fix lsalookupnames to check for domain users as well as local
2272 * Merge struct uuid replacement for GUID from trunk.
2273 * BUG 1208: Finish support for handling expired tickets in
2274 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2277 o Stefan Metzmacher <metze@samba.org>
2278 * Implement new VERSION schema based on subversion revision
2280 * Add shadow_copy vfs module.
2281 * Fix segault in login_cache support.
2284 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2285 o BUG 979 -- Fix quota display on AIX.
2288 o James Peach <jpeach@sgi.com>
2289 * Correct check for printf() format when using the SGI MIPSPro
2291 * BUG 1038: support backtrace for 'panic action' on IRIX.
2292 * BUG 768: Accept profileing arg to IRIX init script.
2293 * BUG 748: Relax arg parsing to sambalp script (IRIX).
2294 * BUG 758: Fix pdma build.
2295 * Search IRIX ABI paths for libiconv. Based on initial fix from
2299 o Kurt Pfeifle <kpfeifle@danka.de>
2300 * Add example shell script for migrating drivers and printers
2301 from a Windows print server to a Samba print server using
2302 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2305 o Tim Potter <tpot@samba.org>
2306 * Fix logic bug in tdb non-blocking lock routines when
2308 * BUG 1025: Include sys/acl.h in check for broken nisplus
2310 * BUG 1066: s/printf/d_printf/g in SWAT.
2311 * BUG 1098: rename internal msleep() function to fix build
2313 * BUG 1112: Fix for writable printerdata problem in python bindings.
2314 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2315 * BUG 1155: enclose use of fchown() with guards.
2316 * Relicense tdb python module as LGPL.
2319 o Richard Sharpe <rsharpe@samba.org>
2320 * Add support to smbclient for multiple logins on the same
2321 session (based on work by abartlet@samba.org).
2322 * Correct blocking condition in smbd's use of accept() on IRIX.
2323 * Add support for printing out the MAC address on nmblookup.
2326 o Simo Sorce <idra@samba.org>
2327 * Replace unknown_3 with fields_present in SAMR code.
2328 * More length checks in strlcat().
2331 o Andrew Tridgell <tridge@samba.org>
2332 * Rewrote the AIX UESS backend for winbindd.
2333 * Fixed compilation with --enable-dmalloc.
2334 * Change tdb license to LGPL (see source/tdb/tdb.c).
2335 * Force winbindd to use schannel in clients connections to
2339 o Jelmer Vernooij <jelmer@samba.org>
2340 * Fix ETA Calculation when resuming downloads in smbget.
2341 * Add -O (for writing downloaded files to standard out)
2342 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2343 * Fix syntax error in example mysql table
2346 o TAKEDA yasuma <yasuma@miraclelinux.com>
2347 * BUG 900: fix token processing in cmd_symlink, cmd_link,
2348 cmd_chown, cmd_chmod smbclient functions.
2351 o Shiro Yamada <shiro@miraclelinux.com>
2352 * BUG 1129: install image files for SWAT.
2355 --------------------------------------------------
2357 ==============================
2358 Release Notes for Samba 3.0.2a
2360 ==============================
2362 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2363 to address, in particular, a problem when using pdbedit to
2364 sanitize (--force-initialized-passwords) Samba's tdbsam
2365 backend. This is the latest stable release of Samba. This
2366 is the version that all production Samba servers should be
2367 running for all current bug-fixes.
2369 ******************* Attention! Achtung! Kree! *********************
2371 Beginning with Samba 3.0.2, passwords for accounts with a last
2372 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2373 ldapsam, etc...) of zero (0) will be regarded as uninitialized
2374 strings. This will cause authentication to fail for such
2375 accounts. If you have valid passwords that meet this criteria,
2376 you must update the last change time to a non-zero value. If you
2377 do not, then 'pdbedit --force-initialized-passwords' will disable
2378 these accounts and reset the password hashes to a string of X's.
2380 ******************* Attention! Achtung! Kree! *********************
2389 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2390 details. The list of changes per contributor are as follows:
2393 o Jeremy Allison <jra@samba.org>
2394 * Added paranoia checks in parsing code.
2397 o Andrew Bartlett <abartlet@samba.org>
2398 * Ensure that changes to uninitialized passwords in ldapsam
2399 are written to the DIT.
2402 o Gerald (Jerry) Carter <jerry@samba.org>
2403 * Fixed iterator in tdbsam.
2404 * Fix bug that disabled accounts with a valid NT password
2405 hash, but no LanMan hash.
2408 o Steve French <sfrench@us.ibm.com>
2409 * Added missing nosetuid and noexec options.
2412 o Bostjan Golob <golob@gimb.org>
2413 * BUG 1046: Don't overwrite usernames of entries returned
2417 o Sebastian Krahmer <krahmer@suse.de>
2418 * Fixed potential crash bug in NTLMSSP parsing code.
2421 o Tim Potter <tpot@samba.org>
2422 * Fixed logic in tdb_brlock error checking.
2425 o Urban Widmark <urban@teststation.com>
2426 * Set nosuid,nodev flags in smbmnt by default.
2429 --------------------------------------------------
2431 =============================
2432 Release Notes for Samba 3.0.2
2434 =============================
2436 It has been confirmed that previous versions of Samba 3.0 are
2437 susceptible to a password initialization bug that could grant an
2438 attacker unauthorized access to a user account created by the
2439 mksmbpasswd.sh shell script.
2441 The Common Vulnerabilities and Exposures project (cve.mitre.org)
2442 has assigned the name CAN-2004-0082 to this issue.
2444 Samba administrators not wishing to upgrade to the current
2445 version should download the 3.0.2 release, build the pdbedit
2448 root# pdbedit-3.0.2 --force-initialized-passwords
2450 This will disable all accounts not possessing a valid password
2451 (e.g. the password field has been set a string of X's).
2453 Samba servers running 3.0.2 are not vulnerable to this bug
2454 regardless of whether or not pdbedit has been used to sanitize
2457 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2460 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2461 o Logging onto a Samba domain from Windows XP clients.
2462 o Problems with the %U and %u smb.conf variables in relation to
2463 Windows 9x/ME clients.
2464 o Kerberos failures due to an invalid in memory keytab detection
2466 o Updates to the ntlm_auth tool.
2467 o Fixes for various SMB signing errors.
2468 o Better separation of WINS and DNS queries for domain controllers.
2469 o Issues with nss_winbind FreeBSD and Solaris.
2470 o Several crash bugs in smbd and winbindd.
2471 o Output formatting fixes for smbclient for better compatibility
2472 with scripts based on the 2.2 version.
2481 Parameter Name Action
2482 -------------- ------
2483 ldap replication sleep New
2484 read size removed (unused)
2485 source environment removed (unused)
2491 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2492 details. The list of changes per contributor are as follows:
2494 o Jeremy Allison <jra@samba.org>
2495 * Revert change that broke Exchange clear text samlogons.
2496 * Fix gcc 3.4 warning in MS-DFS code.
2497 * Tidy up of NTLMSSP code.
2498 * Fixes for SMB signing errors
2499 * BUG 815: Workaround NT4 bug to support plaintext
2500 password logins and UNICODE.
2501 * Fix SMB signing bug when copying large files.
2502 * Correct error logic in mkdir_internals() (caused a panic
2503 when combined with --enable-developer).
2504 * BUG 830: Protect against crashes due to bad character
2508 o Petri Asikainen <paca@sci.fi>
2509 * BUG 330, 387:Fix single valued attribute updates when
2510 working with Novell NDS.
2513 o Andrew Bartlett <abartlet@samba.org>
2514 * Correctly handle per-pipe NTLMSSP inside a NULL session.
2515 * Fix segfault in gencache
2516 * Fix early free() of encrypted_session_key.
2517 * Change DC lookup routines to more carefully separate
2518 DNS names (realms) from NetBIOS domain names.
2519 * Add new sid_to_dn() function for internal winbindd use.
2520 * Refactor cli_ds_enum_domain_trusts().
2521 * BUG 707: Implement range retrieval of ADS attributes (based
2522 on work from Volker <vl@samba.org> and Guenther Deschner
2524 * Automatically initialize the signing engine if a session key
2526 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
2527 encoded strings, only form input in SWAT.
2528 * Resets the NTLMSSP state for new negotiate packets.
2529 * Add 2-byte alignments in net_samlogon() queries to parse
2530 odd-length plain text passwords.
2531 * Allow Windows groups with no members in winbindd.
2532 * Allow normal authentication in the absence of a server
2533 generated session key.
2534 * More optimizations for looking up UNIX group lists.
2535 * Clean up error codes and return values for pam_winbindd
2536 and winbindd PAM interface.
2537 * Fix string return values in ntlm_auth tool.
2538 * Fix segfault when 'security = ads' but no realm is defined.
2539 * BUG 722: Allow winbindd to map machine accounts to uids.
2540 * More cleanups for winbindd's find_our_domain().
2541 * More clearly detect whether a domain controller is an NT4
2542 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
2543 * Increase separation between DNS queries for hosts and queries
2544 for AD domain controllers.
2545 * Include additional NT_STATUS to PAM error mappings.
2546 * Password initialization fixes.
2549 o Justin Baugh <justin.baugh@request.com>
2550 * BUG 948: Implement missing functions required for FreeBSD
2551 nss_winbind support.
2554 o Alexander Bokovoy <ab@samba.org>
2555 * BUG 922: Make sure enable fast path for strlower_m() and
2559 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
2560 * Fix crash when using 'security = server' and 'encrypt
2561 passwords = no' by always initializing the session key.
2564 o Dmitry Butskoj <buc@odusz.elektra.ru>
2565 * Fix for special files being hidden from admins.
2568 o Gerald (Jerry) Carter <jerry@samba.org>
2569 * Fix bug in the lanman session key generation. Caused
2570 "decode_pw: incorrect password length" error messages.
2571 * Save the right case for the located user name in
2572 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
2573 * BUG 897: Add well known rid for pre win2k compatible access
2575 * BUG 887: Correct typo in delete user script example.
2576 * Use short lived TALLOC_CTX* for allocating printer objects
2577 from the print handle cache.
2578 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2579 * Fix several warnings reported by the SUN Forte C compiler.
2580 * Fully control DNS queries for AD DC's using 'name resolve order'.
2581 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2582 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2583 * BUG 936: fix bind credentials for schannel binds in smbd.
2584 * BUG 446: Fix output of smbclient for better compatibility
2585 with scripts based on the 2.2 version (including Amanda).
2586 * BUG 891, 949: Fedora packaging fixes.
2587 * Fix bug that caused rpcclient to incorrectly retrieve
2588 the SID for a server (this causing all calls that required
2589 this information to fail).
2590 * BUG 977: Don't create a homes share for a user if a static
2591 share already exists by the same name.
2592 * Removed unused smb.conf options.
2593 * Password initialization fixes.
2594 * Set the disable flag for template accounts created by
2596 * Disable any account has no passwords and does not have the
2597 ACB_PWNOTREQ bit set.
2600 o Guenther Deschner <gd@suse.com>
2601 * Install smbwrapper.so should be put into the $(libdir)
2603 * Add the capability to specify the new user password
2604 for "net ads password" on the command line.
2605 * Correctly detect AFS headers on SuSE.
2608 o James Flemer <jflemer@uvm.edu>
2609 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
2610 HAVE_SYS_ATTRIBUTES_H.
2613 o Luke Howard <lukeh@PADL.COM>
2614 * Fix segfault in session setup reply caused by a early free().
2617 o Stoian Ivanov <sdr@bultra.com>
2618 * Implement grepable output for smbclient -L.
2621 o LaMont Jones <lamont@debian.org>
2622 * BUG 225328 (Debian): Correct false failure LFS test that resulted
2623 in _GNU_SOURCE not being defined (thus resulting in strndup()
2627 o Volker Lendecke <vl@samba.org>
2628 * BUG 583: Ensure that user names always contain the short
2629 version of the domain name.
2630 * Fix our parsing of the LDAP uri.
2631 * Don't show the 'afs username map' in the SWAT basic view.
2632 * Fix SMB signing issues in relation to failed NTLMSSP logins.
2633 * BUG 924: Fix return codes in smbtorture harness.
2634 * Always lower-case usernames before handing it to AFS code.
2635 * Add a German translation for SWAT.
2636 * Fix a segfaults in winbindd.
2637 * Fix the user's domain passed to register_vuid() from
2638 reply_spnego_kerberos().
2639 * Add NSS example code in nss_winbind to convert UNIX
2640 id's <-> Windows SIDs.
2641 * Display more descriptive error messages for login via 'net'.
2642 * Fix compiler warning in the net tool.
2643 * Fix length bug when decoding base64 strings.
2644 * Ensure we don't call getpwnam() inside a loop that is iterating
2645 over users with getpwent(). This broke on glibc 2.3.2.
2648 o Herb Lewis <herb@samba.org>
2649 * Fix bit rot in psec.
2652 o Jianliang Lu <j.lu@tiesse.com>
2653 * Ensure we delete the group mapping before calling the delete
2655 * Define well known RID for managing the "Power Users" group.
2656 * BUG 381: check builtin (not local) group SID when updating
2658 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
2662 o John Klinger <john.klinger@lmco.com>
2663 * Implement initgroups() call in nss_winbind on Solaris.
2666 o Jim McDonough <jmcd@us.ibm.com>
2667 * Fix regression in net rpc join caused by recent changes
2668 to cli_lsa_query_info_policy().
2669 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2673 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
2674 * BUG 570: Ensure that configure honors the LDFLAGS variable.
2677 o Stefan Metzmacher <metze@samba.org>
2678 * Implement LDAP rebind sleep patch.
2679 * Revert to 2.2 quota code because of so many broken quota files
2681 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2682 XFS_USER_QUOTA -> USRQUOTA
2683 XFS_GROUP_QUOTA -> GRPQUOTA
2684 * Fix disk_free calculation with group quotas.
2685 * Add debug class 'quota' and a lot of DEBUG()'s
2687 * Fix sys_chown() when no chown() is present.
2688 * Add SIGABRT to fault handling in order to catch got a
2689 backtrace if an error occurs the OpenLDAP client libs.
2693 * Allow an existing LDAP machine account to be re-used when
2694 joining an AD domain.
2697 o James Peach <jpeach@sgi.com>
2698 * BUG 889: Change smbd to use pread/pwrite on platforms that
2699 support these calls. Can lead to a significant speed increase.
2702 o Tim Potter <tpot@samba.org>
2703 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2704 * BUG 924: Fix typo in RW2 torture test.
2707 o Richard Sharpe <rsharpe@samba.org>
2708 * Small fixes to torture.c to cleanup the error handling
2709 and prevent crashes.
2712 o J. Tournier <jerome.tournier@IDEALX.com>
2713 * Small fixes for the smbldap-tool scripts.
2716 o Andrew Tridgell <tridge@samba.org>
2717 * Fix src len check in pull_usc2().
2720 o Jelmer Vernooij <jelmer@samba.org>
2721 * Put functions for generating SQL queries in pdb_sql.c
2722 * Add pgSQL backend (based on patch by Hamish Friedlander)
2723 * BUG 908: Fix -s option to smbcontrol.
2724 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2725 * Fix for libnss_wins on IRIX platforms.
2726 * Fix swatdir for --with-fhs.
2729 --------------------------------------------------
2731 =============================
2732 Release Notes for Samba 3.0.1
2734 =============================
2736 Some of the more common bugs in 3.0.0 addressed in the release
2739 o Substitution problems with smb.conf variables.
2740 o Errors in return codes which caused some applications
2741 to fail to open files.
2742 o General Protection Faults on Windows 2000/XP clients
2743 using Samba point-n-print features.
2744 o Several miscellaneous crash bugs.
2745 o Access problems when enumerating group mappings are
2746 stored in an LDAP Directory.
2747 o Several common SWAT bugs when writing changes to
2749 o Internal inconsistencies when 'winbind use default
2755 ----------------------
2757 Parameter Name Action
2758 -------------- ------
2759 hide local users Removed
2760 mangled map Deprecated
2761 mangled stack Removed
2762 passwd chat timeout New
2768 o Change the interface for init_unistr2 to not take a length
2769 but a flags field. We were assuming that
2770 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
2771 o Allow d_printf() to handle strings with escaped quotation
2772 marks since the msg file includes the escape character (bug 489).
2773 o Fix bad html table row termination in SWAT wizard code (bug 413).
2774 o Fix to parse the level-2 strings.
2775 o Fix for "valid users = %S" in [homes]. Fix read/write
2777 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
2778 This is the same way AC_CHECK_LIB works (bug 508).
2779 o Testparm output fixes for clarity.
2780 o Fix broken wins hook functionality -- i18n bug (bug 528).
2781 o Take care of condition where DOS and NT error codes must differ.
2782 o Default to using only built-in charsets when a working iconv
2783 implementation cannot be located.
2784 o Wrap internals of sys_setgroups() so the sys_XX() call can
2785 be done unconditionally (bug 550).
2786 o Remove duplicate smbspool link on SWAT's front page (bug 541).
2787 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
2788 --enable-debug=[yes|no] works correctly.
2789 o Allow ^C to interrupt smbpasswd if using our getpass
2790 (e.g. smbpasswd command).
2791 o Support signing only on RPC's (bug 167).
2792 o Correct bug that prevented Excel 2000 clients from opening
2793 files marked as read-only.
2794 o Portability fix bugs 546 - 549).
2795 o Explicitly initialize the value of AR for vendor makes that don't
2796 do this (e.g. HPUX 11). (bug 552).
2797 o More i18n fixes for SWAT (bug 413).
2798 o Change the cwd before the postexec script to ensure that a
2799 umount will succeed.
2800 o Correct double free that caused winbindd to crash when a DC
2801 is rebooted (bug 437).
2802 o Fix incorrect mode sum (bug 562).
2803 o Canonicalize SMB_INFO_ALLOCATION in the same was as
2804 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2805 o Add script to generate *msg files.
2806 o Add Dutch SWAT translation file.
2807 o Make sure to call get_user_groups() with the full winbindd
2808 name for a user if he/she has one (bug 406).
2809 o Fix up error code returns from Samba4 tester. Ensure invalid
2810 paths are validated the same way.
2811 o Allow Samba3 to pass the Samba4 RAW-READ tests.
2812 o Refuse to configure if --with-expsam=$BACKEND was used but no
2813 libraries were found for $BACKEND.
2814 o Move sysquotas autoconf tests to a separate file.
2815 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
2817 o Make sure that the files that contain the static_init_$subsystem;
2818 macro get recompiled after configure by removing the object
2820 o Ensure canceling a blocking lock returns the correct error
2822 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2823 o Updated Japanese welcome file in SWAT.
2824 o Fix to nt-time <-> unix-time functions reversible.
2825 o Ensure that winbindd uses the the escaped DN when querying
2827 o Fix portability issues when compiling (bug 505, 550)
2828 o Compile fix for tdbbackup when Samba needs to override
2829 non-C99 compliant implementations of snprintf().
2830 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2831 o Make sure we break out of samsync loop on error.
2832 o Ensure error code path doesn't free unmalloc()'d memory
2834 o Add configure test for krb5_keytab_entry keyblock vs key
2837 o Modified testparm so that all output so all debug output goes
2838 to stderr, and all file processing goes to stdout.
2839 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
2841 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
2842 we have a devmode before copying a string to the devicename.
2843 o Support mapping REALM.COM\user to a local user account (without
2844 running winbindd) for compatibility with 2.2.x release.
2845 o Ensure we don't use mmap() on blacklisted systems.
2846 o fixed a number of bugs and memory leaks in the AIX
2848 o Call initgroups() in SWAT before becomming the user so that
2849 secondary group permissions can be used when writing to
2851 o Fix signing problems when reverse connecting back to a
2852 client for printer notify
2853 o Fix signing problems caused by a miss-sequence bug.
2854 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2855 Fixes NEXUS tools running on Win9x clients (bug 64).
2856 o Don't leave the domain field uninitialized in cli_lsa.c if some
2857 SID could not be mapped.
2858 o Fix segfault in mount.cifs helper when there is no options
2859 specified during mount.
2860 o Change the \n after the password prompt to go to tty instead
2861 of stdout (bug 668).
2862 o Stop net -P from prompting for machine account password (bug 451).
2863 o Change in behavior to Not only change the effective uid but also
2864 the real uid when becoming unprivileged.
2865 o Cope with Exchange 5.5 cleartext pop password auth.
2866 o New files for support of initshutdown pipe. Win2k doesn't
2867 respond properly to all requests on the winreg pipe, so we need
2868 to handle this new pipe (bug 534).
2869 o Added more va_copy() checks in configure.in.
2870 o Include fixes for libsmbclient build problems.
2871 o Missing UNIX -> DOS codepage conversion in lanman.c.
2872 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
2873 o Parameterize the listen backlog in smbd and make it larger by
2874 default. A backlog of 5 is way too small these days.
2875 o Check for an invalid fid before dereferencing the fsp pointer
2877 o Remove invalid memory frees and return codes in pdb_ldap.c.
2878 o Prompt for password when invoking --set-auth-user and no
2880 o Bind the nmbd sending socket to the 'socket address'.
2881 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
2882 $LDFLAGS occurs before any library specification (bug 661).
2883 o Fix large number of printf() calls for 64-bit size_t.
2884 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
2885 keyblock in the krb5 structs.
2886 o Remove #include <compat.h> in hopes to avoid problems with
2887 apache header files.
2888 o Correct winbindd build problems on HP-UX 11.
2889 o Lowercase netgroups lookups (bug 703).
2890 o Use the actual size of the buffer in strftime instead of a made
2891 up value which just happens to be less than sizeof(fstring).
2893 o Add ldaplibs to pdbedit link line (bug 651).
2894 o Fix crash bug in smbclient completion (bug 659).
2895 o Fix packet length for browse list reply (bug 771).
2896 o Fix coredump in cli_get_backup_list().
2897 o Make sure that we expand %N (bug 612).
2898 o Allow rpcclient adddriver command to specify printer driver
2900 o Compile tdbdump by default.
2901 o Apply patches to fix iconv detection for FreeBSD.
2902 o Do not allow the 'guest account' to be added to a passdb backend
2903 using smbpasswd or pdbedit (bug 624).
2904 o Save LDFLAGS during iconv detection (bug 57).
2905 o Run krb5 logins through the username map if the winbindd
2906 lookup fails (bug 698).
2907 o Add const for lp_set_name_resolve_order() to avoid compiler
2909 o Add support for the %i macro in smb.conf to stand in for the for
2910 the local IP address to which a client connected.
2911 o Allow winbindd to match local accounts to domain SID when
2912 'winbind trusted domains only = yes' (bug 680).
2913 o Remove code in idmap_ldap that searches the user suffix and group
2914 suffix. It's not needed and provides inconsistent functionality
2915 from the tdb backend.
2916 o Patch to handle munged dial string for Windows 2000 TSE.
2917 Thanks to Gaz de France, Direction de la Recherche, Service
2918 Informatique Métier for their supporting this work by Aurelien
2919 Degrémont <adegremont@idealx.com>.
2920 o Correct the "smbldap_open: cannot access when not root error"
2921 messages when looking up group information (bug 281).
2922 o Skip over the winbind separator when looking up a user.
2923 This fixes the bug that prevented local users from
2924 matching an AD user when not running winbindd (bug 698).
2925 o Fix a problem with configure on *BSD systems. Make sure
2926 we add -liconv etc to LDFLAGS.
2927 o Fix core dump bug when "security = server" and the authentication
2929 o Correct crash bug due to an empty munged dial string.
2930 o Show files locked by a specific user (smbstatus -u 'user')
2932 o Fix bug preventing print jobs from display in the queue
2933 monitor used by Windows NT and later clients (bug 660).
2934 o Fix several reported problems with point-n-print from
2935 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2936 reply (bug 338, 527 & 643).
2937 o Fix a handful of potential memory leaks in the LDAP code used
2938 by ldapsam[_compat] and the LDAP idmap backend.
2939 o Fix for pdbedit error code returns (bug 763).
2940 o Make sure we only enumerate group mapping entries (not
2941 /etc/group) even when doing local aliases.
2942 o Relax check on the pipe name in a dce/rpc bind response to work
2943 around issues with establishing trusts to a Windows 2003 domain.
2944 o Ensure we mangle names ending in '.' in hash2 mangling method.
2945 o Correct parsing issues with munged dial string.
2946 o Fix bugs in quota support for XFS.
2947 o Add a cleaner method for applications that need to provide
2948 name->SID mappings to do this via NSS rather than having to
2949 know the winbindd pipe protocol.
2950 o Adds a variant of the winbindd_getgroups() call called
2951 winbindd_getusersids() that provides direct SID->SIDs listing of
2952 a users supplementary groups. This is enough to allow non-Samba
2953 applications to do ACL checking.
2954 o Make sure we don't append the 'ldap suffix' when writing out the
2955 'ldap XXX suffix' values in SWAT (bug 328).
2956 o Fix renames across file systems.
2957 o Ensure that items in a list of strings containing whitespace are
2958 written out surrounded by single quotes. This means that both
2959 double and single quotes are now used to surround strings in
2961 o Enable SWAT to correctly determine if winbindd is running (bug
2963 o Include WWW-Authenticate field in 401 response for bad auth
2965 o Add support for NTLM2 (NTLMv2 session security).
2966 o Add support for variable-length session keys.
2967 o More privilege fixes for group enumeration in LDAP (bug 281).
2968 o Use the dns name (or IP) as the originating client name when
2969 using CUPS (bug 467).
2970 o Fix various SMB signing bugs.
2971 o Fix ACL propagation on a DFS root (bug 263).
2972 o Disable NTLM2 for RPC pipes.
2973 o Allow the client to specify the NTLM2 flags got NTLMSSP
2975 o Change the name of the job passed off to cups from "Test Page"
2976 to "smbprn.00000033 Test Page" so that we can get the smb
2977 jobid back. This allow users to delete jobs with cups printing
2978 backend (partial work on bug 770).
2979 o Fix build of winbindd with static pdb modules.
2980 o Retrieve the correct ACL group bits if the file has an ACL
2982 o Implement "net rpc group members": Get members of a domain group
2983 in human-readable format.
2984 o Add MacOSX (Darwin) specific charset module code.
2985 o Use samr_dispinfo(level == 1) for enumerating domain users so we
2986 can include the full name in gecos field (bug 587).
2987 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
2988 o Implement 'net rpc group list [global|local|builtin]*' for a
2989 select listing of the respective user databases.
2990 o Don't automatically set NT status code flag unless client tells
2992 o Add 'net status [sessions|shares] [parseable]'.
2993 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
2995 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
2997 o Fix inverted logic in hosts allow/deny checks caused by
2998 s/strcmp/strequal/ (bug 846).
2999 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3000 o Fix typo in 'hash' mangling algorithm.
3001 o Support munged dial for ldapsam (bug 800).
3002 o Fix process_incoming_data() to return the number of bytes handled
3003 this call whether we have a complete PDU or not; fixes bug
3004 with multiple PDU request rpc's broken over SMBwriteX calls
3006 o Fix incorrect smb flags2 for connections to pre-NT servers
3007 (causes smbclient to fail to OS2 for example) (bug 821).
3008 o Update version string in smbldap-tools Makefile to 0.8.2.
3009 o Correct a problem with "net rpc vampire" mis-parsing the
3010 alias member info reply.
3011 o Ensure the ${libdir} is created by the installclientlib script.
3012 o Fix detection of Windows 2003 client architecture in the smb.conf
3014 o Ensure that smbd calls the add user script for a missing UNIX
3015 user on kerberos auth call (bug 445).
3016 o Fix bugs in hosts allow/deny when using a mismatched
3017 network/netmask pair.
3018 o Protect alloc_sub_basic() from crashing when the source string
3019 is NULL (partial work on bug 687).
3020 o Fix spinlocks on IRIX.
3021 o Corrected some bad destination paths when running "configure
3023 o Add packaging files for Fedora Core 1.
3024 o Correct bug in SWAT install script for non-english languages.
3025 o Support character set ISO-8859-1 internally (bug 558).
3026 o Fixed more LDAP access errors when looking up group mappings
3028 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
3029 resolution to fail on local files on on domain members
3031 o Fix uninitialized variable in passdb.c.
3032 o Fix formal parameter type in get_static() in nsswitch/wins.c.
3033 o Fix problem mounting directories when mount.cifs is installed
3034 with the setuid bit on.
3035 o Fix bug that prevent --mandir from overriding the defaults
3036 given in the --with-fhs macro.
3037 o Fix bug in in-memory Kerberos keytab detection routines
3042 ######################################################################
3044 The original 3.0.0 release notes follow
3045 =======================================
3046 WHATS NEW IN Samba 3.0.0
3048 =======================================
3054 1) Active Directory support. Samba 3.0 is now able to
3055 join a ADS realm as a member server and authenticate
3056 users using LDAP/Kerberos.
3058 2) Unicode support. Samba will now negotiate UNICODE on the wire
3059 and internally there is now a much better infrastructure for
3060 multi-byte and UNICODE character sets.
3062 3) New authentication system. The internal authentication system
3063 has been almost completely rewritten. Most of the changes are
3064 internal, but the new auth system is also very configurable.
3066 4) New default filename mangling system.
3068 5) A new "net" command has been added. It is somewhat similar to
3069 the "net" command in windows. Eventually we plan to replace
3070 numerous other utilities (such as smbpasswd) with subcommands
3073 6) Samba now negotiates NT-style status32 codes on the wire. This
3074 improves error handling a lot.
3076 7) Better Windows 2000/XP/2003 printing support including publishing
3077 printer attributes in active directory.
3079 8) New loadable module support for passdb backends and character
3082 9) New default dual-daemon winbindd support for better performance.
3084 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3085 domain and maintaining user, group and domain SIDs.
3087 11) Support for establishing trust relationships with Windows NT 4.0
3090 12) Initial support for a distributed Winbind architecture using
3091 an LDAP directory for storing SID to uid/gid mappings.
3093 13) Major updates to the Samba documentation tree.
3095 14) Full support for client and server SMB signing to ensure
3096 compatibility with default Windows 2003 security settings.
3098 15) Improvement of ACL mapping features based on code donated by
3099 Andreas Grünbacher.
3102 Plus lots of other improvements!
3105 Additional Documentation
3106 ------------------------
3108 Please refer to Samba documentation tree (included in the docs/
3109 subdirectory) for extensive explanations of installing, configuring
3110 and maintaining Samba 3.0 servers and clients. It is advised to
3111 begin with the Samba-HOWTO-Collection for overviews and specific
3112 tasks (the current book is up to approximately 400 pages) and to
3113 refer to the various man pages for information on individual options.
3115 We are very glad to be able to include the second edition of
3116 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3117 (O'Reilly & Associates) in this release. The book is available
3118 on-line at http://samba.org/samba/docs/ and is included with
3119 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3120 publisher for making "Using Samba" under the GNU Free Documentation
3124 ######################################################################
3125 Upgrading from a previous Samba 3.0 beta
3126 ########################################
3128 Beginning with Samba 3.0.0beta3, the RID allocation functions
3129 have been moved into winbindd. Previously these were handled
3130 by each passdb backend. This means that winbindd must be running
3131 to automatically allocate RIDs for users and/or groups. Otherwise,
3132 smbd will use the 2.2 algorithm for generating new RIDs.
3134 If you are using 'passdb backend = tdbsam' with a previous Samba
3135 3.0 beta release (or possibly alpha), it may be necessary to
3136 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3137 to winbindd_idmap.tdb. To do this:
3139 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3141 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3143 3) run: (note that 'tdb>' is the tool's prompt for input)
3145 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3146 tdb> show RID_COUNTER
3150 [000] 0A 52 00 00 .R.
3152 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3156 If you are using 'passdb backend = ldapsam', it will be necessary to
3157 store idmap entries in the LDAP directory as well (i.e. idmap backend
3158 = ldap). Refer to the 'net idmap' command for more information on
3159 migrating SID<->UNIX id mappings from one backend to another.
3161 If the RID_COUNTER record does not exist, then these instructions are
3162 unneccessary and the new RID_COUNTER record will be correctly generated
3167 ########################
3168 Upgrading from Samba 2.2
3169 ########################
3171 This section is provided to help administrators understand the details
3172 involved with upgrading a Samba 2.2 server to Samba 3.0.
3178 Many of the options to the GNU autoconf script have been modified
3179 in the 3.0 release. The most noticeable are:
3181 * removal of --with-tdbsam (is now included by default; see section
3182 on passdb backends and authentication for more details)
3184 * --with-ldapsam is now on used to provided backward compatible
3185 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3186 backend and authentication section for more details
3188 * inclusion of non-standard passdb modules may be enabled using
3189 --with-expsam. This includes an XML backend and a mysql backend.
3191 * removal of --with-msdfs (is now enabled by default)
3193 * removal of --with-ssl (no longer supported)
3195 * --with-utmp now defaults to 'yes' on supported systems
3197 * --with-sendfile-support is now enabled by default on supported
3204 This section contains a brief listing of changes to smb.conf options
3205 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3206 complete descriptions of new or modified parameters.
3208 Removed Parameters (order alphabetically):
3211 * alternate permissions
3214 * code page directory
3216 * domain admin group
3217 * domain guest group
3218 * force unknown acl user
3224 * printer driver file
3225 * printer driver location
3227 * source environment
3235 New Parameters (new parameters have been grouped by function):
3239 * abort shutdown script
3242 User and Group Account Management
3243 ---------------------------------
3245 * add machine script
3246 * add user to group script
3247 * algorithmic rid base
3248 * delete group script
3249 * delete user from group script
3251 * set primary group script
3257 * passwd chat timeout
3261 * client lanman auth
3262 * client NTLMv2 auth
3268 * paranoid server security
3277 * hide special files
3278 * hide unwriteable files
3280 * kernel change notify
3290 * max reported print jobs
3292 UNICODE and Character Sets
3293 --------------------------
3299 SID to uid/gid Mappings
3300 -----------------------
3304 * winbind enable local accounts
3305 * winbind trusted domains only
3306 * template primary group
3307 * enable rid algorithm
3314 * ldap machine suffix
3316 * ldap replication sleep
3319 General Configuration
3320 ---------------------
3324 Modified Parameters (changes in behavior):
3326 * encrypt passwords (enabled by default)
3327 * mangling method (set to 'hash2' by default)
3330 * restrict anonymous (integer value)
3331 * security (new 'ads' value)
3332 * strict locking (enabled by default)
3333 * unix extensions (enabled by default)
3334 * winbind cache time (increased to 5 minutes)
3335 * winbind uid (deprecated in favor of 'idmap uid')
3336 * winbind gid (deprecated in favor of 'idmap gid')
3342 This section contains brief descriptions of any new databases
3343 introduced in Samba 3.0. Please remember to backup your existing
3344 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
3345 upgrade databases as they are opened (if necessary), but downgrading
3346 from 3.0 to 2.2 is an unsupported path.
3348 Name Description Backup?
3349 ---- ----------- -------
3350 account_policy User policy settings yes
3351 gencache Generic caching db no
3352 group_mapping Mapping table from Windows yes
3353 groups/SID to unix groups
3354 winbindd_idmap ID map table from SIDS to UNIX yes
3356 namecache Name resolution cache entries no
3357 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
3358 returned as part of a successful
3359 net_sam_logon request
3360 printing/*.tdb Cached output from 'lpq no
3361 command' created on a per print
3363 registry Read-only samba registry skeleton no
3364 that provides support for exporting
3365 various db tables via the winreg RPCs
3371 The following issues are known changes in behavior between Samba 2.2 and
3372 Samba 3.0 that may affect certain installations of Samba.
3374 1) When operating as a member of a Windows domain, Samba 2.2 would
3375 map any users authenticated by the remote DC to the 'guest account'
3376 if a uid could not be obtained via the getpwnam() call. Samba 3.0
3377 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
3378 current work around to re-establish the 2.2 behavior.
3380 2) When adding machines to a Samba 2.2 controlled domain, the
3381 'add user script' was used to create the UNIX identity of the
3382 machine trust account. Samba 3.0 introduces a new 'add machine
3383 script' that must be specified for this purpose. Samba 3.0 will
3384 not fall back to using the 'add user script' in the absence of
3385 an 'add machine script'
3388 ######################################################################
3389 Passdb Backends and Authentication
3390 ##################################
3392 There have been a few new changes that Samba administrators should be
3393 aware of when moving to Samba 3.0.
3395 1) encrypted passwords have been enabled by default in order to
3396 inter-operate better with out-of-the-box Windows client
3397 installations. This does mean that either (a) a samba account
3398 must be created for each user, or (b) 'encrypt passwords = no'
3399 must be explicitly defined in smb.conf.
3401 2) Inclusion of new 'security = ads' option for integration
3402 with an Active Directory domain using the native Windows
3403 Kerberos 5 and LDAP protocols.
3405 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
3406 type which is neccessary for servers on which the
3407 administrator password has not been changed, or kerberos-enabled
3408 SMB connections to servers that require Kerberos SMB signing.
3409 Besides this one difference, either MIT or Heimdal Kerberos
3410 distributions are usable by Samba 3.0.
3413 Samba 3.0 also includes the possibility of setting up chains
3414 of authentication methods (auth methods) and account storage
3415 backends (passdb backend). Please refer to the smb.conf(5)
3416 man page for details. While both parameters assume sane default
3417 values, it is likely that you will need to understand what the
3418 values actually mean in order to ensure Samba operates correctly.
3420 The recommended passdb backends at this time are
3422 * smbpasswd - 2.2 compatible flat file format
3423 * tdbsam - attribute rich database intended as an smbpasswd
3424 replacement for stand alone servers
3425 * ldapsam - attribute rich account storage and retrieval
3426 backend utilizing an LDAP directory.
3427 * ldapsam_compat - a 2.2 backward compatible LDAP account
3430 Certain functions of the smbpasswd(8) tool have been split between the
3431 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
3432 utility. See the respective man pages for details.
3435 ######################################################################
3439 This section outlines the new features affecting Samba / LDAP
3445 A new object class (sambaSamAccount) has been introduced to replace
3446 the old sambaAccount. This change aids us in the renaming of
3447 attributes to prevent clashes with attributes from other vendors.
3448 There is a conversion script (examples/LDAP/convertSambaAccount) to
3449 modify and LDIF file to the new schema.
3453 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3454 $ convertSambaAccount --sid=<Domain SID> \
3455 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3456 --changetype=[modify|add]
3458 The <DOM SID> can be obtained by running 'net getlocalsid
3459 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
3460 the format of the generated LDIF output--either create new entries
3461 or modify existing entries.
3463 The old sambaAccount schema may still be used by specifying the
3464 "ldapsam_compat" passdb backend. However, the sambaAccount and
3465 associated attributes have been moved to the historical section of
3466 the schema file and must be uncommented before use if needed.
3467 The 2.2 object class declaration for a sambaAccount has not changed
3468 in the 3.0 samba.schema file.
3470 Other new object classes and their uses include:
3472 * sambaDomain - domain information used to allocate rids
3473 for users and groups as necessary. The attributes are added
3474 in 'ldap suffix' directory entry automatically if
3475 an idmap uid/gid range has been set and the 'ldapsam'
3476 passdb backend has been selected.
3478 * sambaGroupMapping - an object representing the
3479 relationship between a posixGroup and a Windows
3480 group/SID. These entries are stored in the 'ldap
3481 group suffix' and managed by the 'net groupmap' command.
3483 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
3484 automatically and contains the next available 'idmap uid' and
3487 * sambaIdmapEntry - object storing a mapping between a
3488 SID and a UNIX uid/gid. These objects are created by the
3489 idmap_ldap module as needed.
3491 * sambaSidEntry - object representing a SID alone, as a Structural
3492 class on which to build the sambaIdmapEntry.
3495 New Suffix for Searching
3496 ------------------------
3498 The following new smb.conf parameters have been added to aid in directing
3499 certain LDAP queries when 'passdb backend = ldapsam://...' has been
3502 * ldap suffix - used to search for user and computer accounts
3503 * ldap user suffix - used to store user accounts
3504 * ldap machine suffix - used to store machine trust accounts
3505 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
3506 * ldap idmap suffix - location of sambaIdmapEntry objects
3508 If an 'ldap suffix' is defined, it will be appended to all of the
3509 remaining sub-suffix parameters. In this case, the order of the suffix
3510 listings in smb.conf is important. Always place the 'ldap suffix' first
3513 Due to a limitation in Samba's smb.conf parsing, you should not surround
3514 the DN's with quotation marks.
3520 Samba 3.0 supports an ldap backend for the idmap subsystem. The
3521 following options would inform Samba that the idmap table should be
3522 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
3527 idmap backend = ldap:ldap://onterose/
3528 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
3529 idmap uid = 40000-50000
3530 idmap gid = 40000-50000
3532 This configuration allows winbind installations on multiple servers to
3533 share a uid/gid number space, thus avoiding the interoperability problems
3534 with NFS that were present in Samba 2.2.
3538 ######################################################################
3539 Trust Relationships and a Samba Domain
3540 ######################################
3542 Samba 3.0.0beta2 is able to utilize winbindd as the means of
3543 allocating uids and gids to trusted users and groups. More
3544 information regarding Samba's support for establishing trust
3545 relationships can be found in the Samba-HOWTO-Collection included
3546 in the docs/ directory of this release.
3548 First create your Samba PDC and ensure that everything is
3549 working correctly before moving on the trusts.
3551 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
3552 4.0 domain named WINDOWS:
3554 1) create the trust account for SAMBA in "User Manager for Domains"
3555 2) connect the trust from the Samba domain using
3556 'net rpc trustdom establish GLASS'
3558 To create a trustlationship with SAMBA as the trusted domain:
3560 1) create the initial trust account for GLASS using
3561 'smbpasswd -a -i GLASS'. You may need to create a UNIX
3562 account for GLASS$ prior to this step (depending on your
3563 local configuration).
3564 2) connect the trust from a WINDOWS DC using "User Manager
3567 Now join winbindd on the Samba PDC to the SAMBA domain using
3568 the normal steps for adding a Samba server to an NT4 domain:
3569 (note that smbd & nmbd must be running at this point)
3571 root# net rpc join -U root
3572 Password: <enter root password from smbpasswd file here>
3574 Start winbindd and test the join with 'wbinfo -t'.
3576 Now test the trust relationship by connecting to the SAMBA DC
3577 (e.g. POGO) as a user from the WINDOWS domain:
3579 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3582 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3584 $ smbclient //crystal/netlogon -U root -W WINDOWS
3587 ######################################################################
3591 Beginning with Samba3.0.0beta3, winbindd has been given new account
3592 manage functionality equivalent to the 'add user script' family of
3593 smb.conf parameters. The idmap design has also been changed to
3594 centralize control of foreign SID lookups and matching to UNIX
3598 Brief Description of Changes
3599 ----------------------------
3601 1) The sid_to_uid() family of functions (smbd/uid.c) have been
3602 reverted to the 2.2.x design. This means that when resolving a
3603 SID to a UID or similar mapping:
3605 a) First consult winbindd
3606 b) perform a local lookup only if winbindd fails to
3607 return a successful answer
3609 There are some variations to this, but these two rules generally
3612 2) All idmap lookups have been moved into winbindd. This means that
3613 a server must run winbindd (and support NSS) in order to achieve
3614 any mappings of SID to dynamically allocated UNIX ids. This was
3615 a conscious design choice.
3617 3) New functions have been added to winbindd to emulate the 'add user
3618 script' family of smbd functions without requiring that external
3619 scripts be defined. This functionality is controlled by the 'winbind
3620 enable local accounts' smb.conf parameter (enabled by default).
3622 However, this account management functionality is only supported
3623 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
3624 must be shared among multiple Samba servers (such as a PDC and BDCs),
3625 it will be necessary to define your own 'add user script', et. al.
3626 programs that place the accounts/groups in some form of directory
3627 such as NIS or LDAP. This requirement was deemed beyond the scope
3628 of winbind's account management functions. Solutions for
3629 distributing UNIX system information have been deployed and tested
3630 for many years. We saw no need to reinvent the wheel.
3632 4) A member of a Samba controlled domain running winbindd is now able
3633 to map domain users directly onto existing UNIX accounts while still
3634 automatically creating accounts for trusted users and groups. This
3635 behavior is controlled by the 'winbind trusted domains only' smb.conf
3636 parameter (disabled by default to provide 2.2.x winbind behavior).
3638 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3639 in smbd/uid.c. The reason that group mappings are not included
3640 in winbindd is because the purpose of Samba's group map is to
3641 match any Windows SID with an existing UNIX group. These UNIX
3642 groups can be created by winbindd (see next section), but the
3643 SID<->gid mapping is retreived by smbd, not winbindd.
3649 * security = server running winbindd to allocate accounts on demand
3651 * Samba PDC running winbindd to handle the automatic creation of UNIX
3652 identities for machine trust accounts
3654 * Automtically creating UNIX user and groups when migrating a Windows NT
3655 4.0 PDC to a Samba PDC. Winbindd must be running when executing
3656 'net rpc vampire' for this to work.
3659 ######################################################################
3663 * There are several bugs currently logged against the 3.0 codebase
3664 that affect the use of NT 4.0 GUI domain management tools when run
3665 against a Samba 3.0 PDC. This bugs should be released in an early
3668 Please refer to https://bugzilla.samba.org/ for a current list of bugs
3669 filed against the Samba 3.0 codebase.
3672 ######################################################################
3673 Reporting bugs & Development Discussion
3674 #######################################
3676 Please discuss this release on the samba-technical mailing list or by
3677 joining the #samba-technical IRC channel on irc.freenode.net.
3679 If you do report problems then please try to send high quality
3680 feedback. If you don't provide vital information to help us track down
3681 the problem then you will probably be ignored.
3683 A new bugzilla installation has been established to help support the
3684 Samba 3.0 community of users. This server, located at
3685 https://bugzilla.samba.org/, has replaced the older jitterbug server
3686 previously located at http://bugs.samba.org/.