1 =================================
2 Release Notes for Samba 3.0.11rc1
4 ==================================
6 This is a release candidate of the Samba 3.0.11 code base and is
7 provided for testing only. While close to the final stable release,
8 this snapshot is *not* intended for production servers. If all
9 goes well, this this version will become the final 3.0.11 stable
10 release (with possible minor changes).
12 Common bugs fixed in 3.0.11rc1 include:
14 o Crash in smbd when using CUPS printing.
15 o Parsing error of other SIDs included in the user_info_3
16 structure returned from domain controllers.
19 Administrator Domain SID
20 ------------------------
22 Please note that when configured as a DC, it is now required
23 that an account in the server's passdb backend be set to the
24 domain SID of the default Administrator account. To obtain the
25 domain SID on a Samba DC, run the following command:
28 SID for domain FOO is: S-1-5-21-4294955119-3368514841-2087710299
30 You may then assign the Domain Administrator rid to an account
33 root# pdbedit -U S-1-5-21-4294955119-3368514841-2087710299-500 \
38 ######################################################################
42 Changes since 3.0.11pre2
43 ------------------------
47 o Jeremy Allison <jra@samba.org>
48 * BUG 2092: Prevent auto-anonymous logins via libsmbclient
49 for better use by desktop environments such as GNOME.
50 * Ensure we can't remove a level II oplock without having the
51 shared memory area locked.
54 o Gerald (Jerry) Carter <jerry@samba.org>
55 * RedHat and Fedora Packaging fixes for perl dependencies.
56 * Remove unused schema items from OpenLDAP schema file.
57 * Remove duplicate enumeration of "Windows x86" architecture
58 when listing printer drivers via rpcclient.
59 * Fail set_privileges() if 'enable privileges = no' to prevent
61 * Fix segfault in cups_queue_get().
62 * Tighten restrictions on changing user passwords when
63 the connected user possesses the SeMachineAccountPrivilege.
66 o Guenther Deschner <gd@samba.org>
67 * Fix configure.in tests using KRB5_CONFIG variable and krb5-
69 * Require assignment of Administrator SID in the passdb
70 backend. No longer default to 'root' or 'admin users' list.
71 * Enhance LDAP failure debug messages.
74 o Volker Lendecke <vl@samba.org>
75 * Allow 'rpcclient -c enumtrust' to enumerate more than 10 trusts.
76 * Fix parsing of other_sids in net_user_info3.
77 * Correct bad failure logic when user was not a member of any
81 Changes for older versions follow below:
83 --------------------------------------------------
85 ==================================
86 Release Notes for Samba 3.0.11pre2
88 ===================================
90 This is a preview release of the Samba 3.0.11 code base and
91 is provided for testing only. This release is *not* intended
92 for production servers. However, there have been several bug
93 fixes since 3.0.10 that we feel are important to make available
94 to the Samba community for wider testing.
96 Common bugs fixed in 3.0.11pre2 include:
98 o Inefficiencies when searching non-AD LDAP directories.
99 o Failure to expand variables in user domain attributes
100 in tdbsam and ldapsam.
102 o Failure to retrieve certain attribute when migrating from
103 a Windows DC to a Samba DC via 'net rpc vampire'.
105 Additional features introduced in Samba 3.0.11pre1:
107 o Support for the Windows privilege model to assign rights
109 o New administrative options to the 'net rpc' command.
115 If "ldap user suffix" or "ldap machine suffix" are defined in
116 smb.conf, all user-accounts must reside below the user suffix,
117 and all machine trust-accounts must be located below the machine
124 Samba 3.0.11pre2 supports the following assignable rights
126 SeMachineAccountPrivilege Add machines to domain
127 SePrintOperatorPrivilege Manage printers
128 SeAddUsersPrivilege Add users and groups to the domain
129 SeRemoteShutdownPrivilege Force shutdown from a remote system
130 SeDiskOperatorPrivilege Manage disk shares
132 These rights can be assigned to arbitrary users or groups
133 via the 'net rpc rights grant/revoke' command. More details
134 of Samba's privilege implementation will be available in a
138 ######################################################################
142 Changes since 3.0.11pre1
143 ------------------------
147 Parameter Name Action
148 -------------- ------
149 enable privileges New
150 ldap password sync Alias
155 o Jeremy Allison <jra@samba.org>
156 * Fixes for libsmbclient to ensure that interrupted system calls
157 are restarted minus the already expired portion of the timeout
158 (based on work by Derrell Lipman).
159 * More unicode string parsing fixes.
160 * Convert the winreg pipe to use WERROR returns.
161 * Make all LDAP timeouts consistent (input from Joe Meadows
162 <jameadows@webopolis.com>).
163 * BUG 2231: Remove double "\\" from client findfirst.
164 * BUG 2238: Fix memory leak in shadow copy vfs.
165 * Return correct DOS/NT error code on transact named pipe on
167 * BUG 2211: Fix security descriptor parsing bug (based on work by
168 Mrinal Kalakrishnan <mail@mrinal.net>).
169 * BUG 2270: Fix memory leaks in cups printing backend support
170 (based on work by Lars Mueller).
171 * BUG 2255: Fix debug level in kerberos error messages.
174 o Andrew Bartlett <abartlet@samba.org>
175 * Don't store the auth-user credentials with the cli_state* as
176 this can cause the schannel setup to fail when the auth-user
177 domain is not our primary domain.
180 o Grigory Batalov <bga@altlinux.org>
181 * Fix encoding while receiving of a message which was actually
182 sent using STR_ASCII.
185 o Daniel Beschorner <db@unit-netz.de>
186 * BUG 603: Correct access mask check for _samr_lookup_domain()
187 to work with Windows RAS server
190 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
191 * Fix missing printer_tdb reference decrement.
194 o Gerald (Jerry) Carter <jerry@samba.org>
195 * Re-instantiate previous semantics for calling init_unistr2()
196 with a NULL source buffer.
197 * Support Windows privilege model for assigning rights
198 to specific SIDs. Based on work by Simo Sorce in the trunk
199 svn branch. This feature is controlled by the 'enable
200 privileges = [yes|no]' smb.conf(5) option.
201 * Add some smb.conf scripts for add/delete/change shares and
202 deleting cups printers.
203 * Expand variables in the profile path, logon home and logon script
204 values when using either tdbsam or ldapsam.
205 * Add Domain Admins (Full Control) to the default printer security
206 descriptor if we are a DC.
209 o Guenther Deschner <gd@samba.org>
210 * Allow rpcclient to define a port to use when connecting
212 * Allow Account Lockout with Lockout Duration "forever" (until
213 admin unlocks) to be set and displayed in User Manager.
214 * Allow to set acb_mask in rpcclient's enumdomusers.
215 * Add more generic rootDSE inspection function to check
216 for given controls or extensions and remember these on a
218 * Improve LDAP search efficiency by passing the acb_mask to
220 * Fixes for ldapsam_enum_group_memberships().
221 * Add createdomgroup to rpcclient.
222 * Add "net rpc user RENAME"-command.
223 * Display sam_user_info_7 in rpcclient.
224 * Make multi-domain-mode in idmap_rid accessible from outside
225 (can be compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS).
226 * When vampiring account policy AP_LOCK_ACCOUNT_DURATION honor
227 "Lockout Duration: Forever".
230 o Rob Foehl <rwf@loonybin.net>
231 * Implement caching of names from printcap to support a true
232 'printcap cache time'.
235 o Jeff Hardy <hardyjm@potsdam.edu>
236 * Example script for 'add print command' when using CUPS.
239 o William Jojo <jojowil@hvcc.edu>
240 * AIX 5.3 compile fixes.
243 o Volker Lendecke <vl@samba.org>
244 * Initial work to allow support for multiple pipe opens on a
246 * Ensure that we still retrieve the netbios name of any DC
247 listed as a 'password server' to work around cases where the
248 DC was defined using an IP address or fqdn.
249 * Fix memleak in winbindd connection code.
250 * Fix cli_samr_queryuseraliases.
251 * Allow wbinfo --user-sids to expand expand domain local groups.
254 o Jim McDonough <jmcd@us.ibm.com>
255 * BUG 2198: Set password last change time when running 'net rpc
257 * Add "refuse machine password change" policy field.
260 o Stefan Metzmacher <metze@samba.org>
264 o James Peach <jpeach@sgi.com>
265 * Fix rewinddir -> rewind_dir when using VFS macros.
268 o Simo Sorce <idra@samba.org>
269 * Allows the add/change share command to create the shared
270 directory directory on disk.
272 o Jelmer Vernooij <jelmer@samba.org>
273 * Fixes for pdb_mysql.
276 --------------------------------------------------
278 ==================================
279 Release Notes for Samba 3.0.11pre1
281 ===================================
283 Common bugs fixed in 3.0.11pre1 include:
285 o Numerous printing bugs bugs including memory
286 bloating on large/busy print servers.
287 o Compatibility issues with Exchange 5.5 SP4.
290 Additional features introduced in Samba 3.0.11pre1:
292 o Winbindd performance improvements.
293 o More 'net rpc vampire' functionality.
298 ######################################################################
307 Parameter Name Action
308 -------------- ------
309 afs token lifetime New
310 min password length Deprecated
316 o Jeremy Allison <jra@samba.org>
317 * Extend vfs to add seekdir/telldir/rewinddir.
319 * Fix bugs when handling secondary trans2 requests.
320 * Implementation of get posix acls in UNIX extensions.
321 * Added set posix acl functionality into the UNIX extensions code.
322 * Updated config.guess/config.sub .
323 * Fix error reply when 'follow symlinks = no'.
324 * BUG 1061, 2045: Only set mtime from pending_modtime if it's
326 * Fixes for LARGE_READX support.
327 * Fix the problem we get on Linux where sendfile fails, but we've
328 already sent the header using send().
329 * BUG 2081: Ensure SE_DESC_DACL_PROTECTED is set if 'map acl
331 * BUG 2088: Ensure inherit permissions is only applied on a new
332 file, not an existing one.
333 * Don't go fishing for the krb5 authorization data unless we know
335 * BUG 2110: Ensure we convert to ucs2 correctly after the
337 * Make strict locking an enum. Auto means use oplock optimization.
338 * Fix client & server to allow 127k READX calls.
339 * More *alloc fixes (includes additional fixes by Albert Chin.
340 * Catch sendfile errors correctly and return the correct values
341 we want the caller to return.
344 o Timur Bakeyev <timur@com.bat.ru>
345 * BUG 2100: change the way we check for errors after a dlopen().
348 o Andrew Bartlett <abartlet@samba.org>
349 * Clarify error message when 'lanman auth = no'.
350 * Remove the unnecessary UTF-8 conversion calls in the calls to
351 auth_winbind from smbd.
354 o Gerald (Jerry) Carter <jerry@samba.org>
355 * BUG 2073: fall back to smb_name if current_user_info is not
356 available in lp_file_list_changed().
357 * Fixes the spurious 'register_message_flags: tdb fetch failed'
359 * Don't run the background LPQ daemon when we are running in
361 * prevent the background LPQ daemon from updating the print queue
362 cache just because multiple smbd processes sent a message that
364 * consolidate printer searches to use find_service rather than
366 * BUG 2091: don't remove statically defined printers in
367 remove_stale_printers().
368 * Fix logic error in add_a_form() that only compared N characters
369 instead of the entire form name.
370 * BUG 2107: fix memory bloating caused by large numbers of
371 print_queue_updates() requests sent via messages.tdb.
372 * Check the setprinter(3) based on the access permissions on
373 the handle and avoid the call to print_access_check().
376 o Nadav Danieli <nadavd@exanet.com>
377 * Short circuit some is_locked() tests if we are oplocked.
380 o Guenther Deschner <gd@samba.org>
381 * Allow 'localhost' as a valid server name in the smbd for the
383 * Fix KRB5_SETPW-defines, no change in behavior (Thanks to Luke
384 Mewburn for the input).
385 * BUG 2059: Add additional checks needed after logic change to the
386 HAVE_WRFILE_KEYTAB detection test.
387 * BUG 1076: Fix interaction with Exchange 5.5. SP4 and a
388 Samba DC. Allow us to lookup at least our own SID.
389 * More fixes to have proper German in swat (Thanks to Reiner
390 Klaproth and Björn Jacke.
391 * BUG 404, 2076: Allow to set OWNER- and GROUP-entries while
392 setting security descriptors with smbcacls and using with
394 * Include the munged_dial, bad_password_count, logon_count, and
395 logon_hours attributes when running 'net rpc vampire'.
396 * Fix segfault in idmap_rid.
397 * When winbindd is operating in the multi-mapping mode of
398 idmap_rid, allow BUILTIN domain-mapping.
399 * Display infolevel 12 in query_dom_info in rpcclient.
400 * Fix bug in winbindd's lowercasing of usernames.
401 * Allow -v or -l for displaying verbose groupmap-listing
402 as well as "verbose".
403 * Backport Samba4 SAM_DELTA_DOMAIN_INFO for use in 'net rpc
405 * Close LDAP-Connection before retrying to open a new connection
407 * Marking "min password length" as depreciated.
408 * Implement SAMR query_dom_info-call info-level 8 server- and
409 client-side, based on samba4-idl.
413 o Jay Fenlason <fenlason@redhat.com>
414 * Fix crash in 'net join' due to calling free on
418 o Rob Foehl <rwf@loonybin.net>.
420 * Try modifying printer published attributes before adding it a
422 * Solaris packaging fixes.
423 * Don't force the cups printer-make-and-model tag as the comment
424 for autoloaded printers.
427 o Johann Hanne <jhml@gmx.net>
428 * BUG 2038: Only fail winbindd_getgroups() if all lookups fail.
431 o David Hu <david.hu@hp.com>
432 * Copy structure from print_queue_update() message rather than
433 referencing it. Fixes seg fault on HP-UX.
436 o Buck Huppmann <buckh@pobox.com>
437 * BUG 2186: Don't free uninitialized credentials.
438 * BUG 2189: Add the HOST/fqdn servicePrincipalName even when
439 dnsDomainName != realm.
442 o Björn Jacke <bjoern@j3e.de>
443 * BUG 2040: Ensure the locale is reset to C to get ASCII-
444 compatible toupper/lower functions.
447 o William Jojo <jojowil@hvcc.edu>
448 * Fix HPUX sendfile and add configure.in tests and code for
452 o Volker Lendecke <vl@samba.org>
453 * Optimize anonymous session setups by workstations in a
455 * Reimplment the QueryUserAliases() server RPC reply.
456 * Re-add the getpwnam-cache for performance.
457 * Cache the result of a pdb_getsampwnam for later SID lookup
459 * Unify the means of localtaing a user's global groups on a
461 * Fix bug when serving the 'Start Menu' in a roaming user profile..
462 * Map more pre-defined NT security descriptors to AFS acls.
463 * Add timeout to AD search requests.
464 * If a connection to a DC is requested (in winbindd), open
465 connections simultaneously to all DCs found.
467 * Fix logic error in handling of 'printcap name' parameter.
468 * Prevent winbindd from SPAM'ing the log files with 'user root
470 * Backport samr_DomInfo2 IDL specification from Samba 4.
471 * Implement smbstatus -n, don't lookup users and groups.
472 * Implement simple mapping that maps the space to another character
473 defined by afsacl:space.
474 * Add support for 'net idmap delete <idmap-file> <SID>'.
475 * Add new parameter 'afs token lifetime' tells the AFS client
476 when to throw away a token (patch from kllin@it.su.se).
479 o Jim McDonough <jmcd@us.ibm.com>
480 * BUG 1952: Try INITSHUTDOWN pipe first, used by newer
481 clients. If it fails, fall back to WINREG.
482 * BUG 1770: Remove READ_ATTRIBUTES from GENERIC_EXECUTE.
485 o Luke Mewburn <lukem@NetBSD.org>
486 * BUG 2150: shmget() - Use POSIX definitions instead of non-
490 o Buchan Milne <bgmilne@mandrake.org>
491 * Mandrake packaging fixes.
494 o Lars Mueller <lmuelle@suse.de>
495 * Fix build of libsmbclient on x86_64.
496 * BUG 2013: Fix testsuite build issues when libsmbclient.so
497 is installed in a non-default location.
498 * BUG 2050: Calculate max_fd for select correctly.
499 * Fix inverted logic heck for HAVE_WRFILE_KEYTAB in autoconf
503 o Jason Mader <jason@ncac.gwu.edu>
504 * BUG 2069: Remove unused variables.
505 * BUG 2075: Remove dead code paths.
506 * BUG 2083: Fix compiler warnings caused by bad type casts.
509 o Gavrie Philipson <gavrie@disksites.com>
510 * BUG 1838: Remove stale printers imeeddiately when
511 processing a SIGHUP and during smb.conf reload.
514 o Tim Potter <tpot@samba.org>
515 * BUG 2080: Fix duplicate call to pdb_get_acct_desc().
516 * BUG 2168: Fix cast in SMB_XMALLOC_ARRAY.
517 * Change the license for the winbindd external interface
519 * HP-UX compile fixes.
522 o Simo Sorce <idra@samba.org>
523 * Backport pdbedit changes from trunk.
526 o Andrew Tridgell <tridge@samba.org>
527 * Bring Samba3 into line with the Samba4 password change code.
530 o Jelmer Vernooij <jelmer@samba.org>
531 * Bug fixes for pdb_{xml,pqsql,xml}
534 o Shiro Yamada <shiro@miraclelinux.com>
535 * BUG 2190: Force SWAT to display parameters in unix charset and
539 --------------------------------------------------
540 ==============================
541 Release Notes for Samba 3.0.10
543 ==============================
545 Common bugs fixed in 3.0.10 include:
547 o Fix for security issues described in CAN-2004-1154.
558 o Jeremy Allison <jra@samba.org>
559 * Added checks surrounding all *alloc() calls to fix
561 * Fix long standing memory size bug in bitmap_allocate().
562 * Remove bogus error check in deferred open file serving
566 o Thomas Bork <tombork@web.de>
567 * Fix autoconf script on platforms using a version of GNU ld
568 that does not include a date stamp in the output of --version.
571 o Luke Mewburn <lukem@NetBSD.org>
572 * Fix the swat install script to deal with the new image
573 destination directory used by the docs.
577 --------------------------------------------------
579 =============================
580 Release Notes for Samba 3.0.9
582 =============================
584 Common bugs fixed in 3.0.9 include:
586 o Problem updating roaming user profiles.
587 o Crash in smbd when printing from a Windows 9x client.
588 o Unresolved symbols in libsmbclient which caused
589 applications such as KDE's konqueror to fail when
590 accessing smb:// URLs.
600 o Jeremy Allison <jra@samba.org>
601 * Correctly detect errno for no acl/ea support.
602 * BUG 2036: Fix seg fault in 'net ads join'.
605 o Gerald (Jerry) Carter <jerry@samba.org>
606 * Solaris packaging fixes.
607 * Fix seg fault in lanman printing code.
608 * BUG 2017: fix testparm reporting for the passwd program
610 * Fix output of smbstatus to match the man page.
611 * BUG 2027: fix conflict with declaration MD5_CTX in system
613 * 2028: Avoid false error messages when copying a long
614 printer name to the device mode.
617 o Guenther Deschner <gd@samba.org>
618 * Allow deldriverex in rpcclient to delete drivers for a
619 specific architecture and a specific version.
620 * Fix a couple of rpcclient spoolss commands (setprinter,
621 setprintername, getdriver) w.r.t to printer-naming scheme.
622 Allow 'localhost' in the server string for certain server-side
624 * BUG 2015: Do not fail on setting file attributes with
628 o Michel Gravey <michel.gravey@optogone.com>
629 * Fix build when using gcc 3.0.
632 o Volker Lendecke <vl@samba.org>
633 * Fix tdb open logic when checking our local_pid after
637 o Jim McDonough <jmcd@us.ibm.com>
638 * BUG 1932: Fix crash in 'net getlocalsid' when run as
642 o Luke Mewburn <lukem@NetBSD.org>
643 BUG 1661: Fix KRB5_SETPW-defines
646 o Buchan Milne <bgmilne@mandrake.org>
647 * BUG 2023: Mandrake packaging fixes for building 3.0.9.
650 o Lars Müller <lmuelle@suse.de>
651 * BUG 2013: Fix unresolved symbols in libsmbclient.so.
654 o Martin Zielinski <mz@seh.de>
655 * Add DeletePrinterDriverEx() functionality to rpcclient.
658 --------------------------------------------------
660 =============================
661 Release Notes for Samba 3.0.8
663 =============================
665 Common bugs fixed in 3.0.8 include:
667 o Compile fixes for HP-UX
668 o Fixes for the printer publishing code used when joined to
670 o Incompatibilities with file system quotas.
671 o Several bugs in the spoolss printing code and print system
673 o Inconsistencies in the username map functionality when
674 configured on domain member servers.
675 o Various compile warnings and errors on various platforms.
676 o Fixes for kerberos interoperability with Windows 200x
677 domains when using DES keys.
678 o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.
679 o Fix for CAN-2004-0882 -- possible buffer overrun in smbd.
682 New features included in the 3.0.8 release are:
684 o New migration functionality added the the net tool
685 for files/directories, printers, and shares.
686 o New experimental idmap backend for assigning uids/gids
687 directly based on the user/group RID when acting as a
688 member of single domain without any trusts.
689 o Additional printer migration support for XP/2003 platforms.
692 Change in Winbindd Behavior
693 ---------------------------
695 All usernames returned by winbindd are now converted to lower
696 case for better consistency. This means any winbind installation
697 relying on the winbind username will need to rename existing
698 directories and/or files based on the username (%u and %U) to lower
699 case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may
700 include mail spool files, home directories, valid user lines in
704 Change in Username Map
705 ----------------------
707 Previous Samba releases would only support reading the fully qualified
708 username (e.g. DOMAIN\user) from the username map when performing a
709 kerberos login from a client. However, when looking up a map
710 entry for a user authenticated by NTLM[SSP], only the login name would be
711 used for matches. This resulted in inconsistent behavior sometimes
712 even on the same server.
714 Samba 3.0.8 obeys the following rules when applying the username
717 * When performing local authentication, the username map is
718 applied to the login name before attempting to authenticate
720 * When relying upon a external domain controller for validating
721 authentication requests, smbd will apply the username map
722 to the fully qualified username (i.e. DOMAIN\user) only
723 after the user has been successfully authenticated.
726 ######################################################################
735 Parameter Name Action
736 -------------- ------
737 force printername New
738 sendfile disabled by default
744 o Jeremy Allison <jra@samba.org>
745 * Ensure extended security bit is on only if we negotiated
747 * Simplify statcache to use an in-memory tdb.
748 * If you're selecting a hash algorithm for tdb, you need
749 to do it at open time.
750 * Removed old dir caching code - not being used now we
751 have the statcache anyway.
752 * Simplify the mangle hash code to use an in-memory tdb.
753 * Merge iconv changes from Samba 4 branch.
754 * Fix parsing of names ending in dot and a few other error
756 * BUG 1667: Smbpasswd file could be left locked on some
758 * Fixes for smbclient tar functionality.
759 * BUG 1743: Fix logic bug the deferred open code.
760 * Don't try to set security descriptors on shares where
761 this has been turned off.
762 * Return correct error codes on old SEARCH call.
763 * Ensure we set errno = E2BIG when we overflow in the
764 fast-path character conversion code.
765 * Fix the roundup problem (returning 1mb roundup) for
767 * Added 'stat' command to smbclient to exercise the
768 UNIX_FILE_BASIC info level.
769 * Fix bug where we could incorrectly set sparse attribute.
770 * Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys()
771 (reported by Taj Khattra <taj.khattra@gmail.com>).
772 * Remove locked keys tdb code.
773 * BUG 1886: Prevent delete on close being set for readonly files
774 (and return the correct error code).
775 * Ensure we pass most of the new lock tests except for the cancel
776 lock which is yet to be added (merged from Samba 4 branch).
777 * BUG 1947: Fix incorrect use of getpwnam() etc. interface.
778 * BUG 1956: Ensure errno is saved and restored consistently on a
780 * BUG 1651: Adapted patch from Nalin Dahyabhai for ensuring
781 that all of the appropriate service principal names are set
782 upon joining an AD domain.
783 * Fix the correct use of resume name in the trans2 code.
784 * BUG 1717: Adapted patch from Nalin Dahyabhai to detect the
785 correct salt used when generated the DES key after joining an
787 * Enhanced krb5 detection routines in the autoconf scripts.
790 o Andrew Bartlett <abartlet@samba.org>
791 * Avoid changing the machine account password in the passdb
792 backend, when it has 'already been changed'. This occurs
793 in situations where the secure channel between the workstation
794 and the DC breaks down, such as occurred in the MS04-11
796 * Fix utility name in error message in ntlm_auth.
797 * Fix NTLMv2 for use with pam_winbind.
798 * Remove conversion to and from UTF8 on the winbind pipe.
799 * Allow 'require_membership_of' and 'require-membership-of'.
800 * Fix the error code for 'you didn't specify a domain' in
802 * Use sys_getgroups() rather than scanning all groups
803 when generating SAMR replies.
806 o Igor Belyi <sambauser@katehok.ac93.org>
807 * Ensure pdb user is deleted first before deleting UNIX
808 user (LDAP backend needs this ordering).
811 o Cornelio Bondad Jr <Corny.Bondad@hp.com>
812 * Fix core dump in 'net rpc vampire'.
815 o Vince Brimhall <vbrimhall@novell.com>
816 * Make ldapsam_compat robust against NULL attributes.
819 o Gerald Carter <jerry@samba.org>
820 * Don't limit the number of groups returned by winbindd_getgroups()
822 * BUG 1519: Match Windows 2000 behavior when opening a
823 printer using a servername in the form of an IP address or
825 * BUG 1907: remove extra slashes from the printer name in
826 getprinterdriverdir_1().
827 * Fix standard_sub_snum() to use the current user's gid.
828 * Fix background queue update bug (based on Volker's initial work
830 * Add 'force printername' service parameter for people that want
831 to enforce printername == sharename for spoolss printing.
832 * Ensure consistent usage of the username map. Use the fully
833 qualified DOMAIN\user format for 'security = domain|ads' and
834 apply after authentication has succeeded.
835 * Cosmetic fix for getent output -- lowercase the username only
836 and not the complete domain\username string.
837 * Packaging fixes for Solaris, Redhat, & Fedora.
840 o Sean Chandler <sean.chandler@verizon.net>
841 * Fix memlieak in cliconnect.c.
844 o Darren Chew <darrenc@vicscouts.asn.au>
845 * Solaris packaging fixes.
848 o Nalin Dahyabhai <nalin@redhat.com>
849 * SMB signing fix for 56-bit DES session keys.
852 o Guenther Deschner <gd@samba.org>
853 * add IA64 to the architecture table of printer-drivers.
854 * Add file/share/printer migration functionality to
856 * Show correct help for net groupmap commands.
857 * Fix deadlock loop in winbind's required_membership_sid
859 * Bring the same level of "required_membership"-functionality
860 that ntlm_auth uses, to pam_winbindd as well.
861 * Prevent "net lookup kdc" from seg-faulting when
862 using our own implementation of krb5_lookup_kdc with
864 * Adding getprinter level 7 to rpcclient.
865 * Support migrating printers|shares|files from Server A
866 to Server B while running the net-command on client C.
867 * Fixed krb5_krbhost_get_addrinfo()-parameters and make
868 failure of this call non-critical (Thanks to Love @ Heimdal
869 for the explanation and patch).
870 * Fix typos in net's usage-output.
871 * Fix the paranoia-check to ensure the ldap-attribute and the
872 smb.conf-parameter for samba's "algorithmic rid base" in ldapsam
874 * Fix several bugs in the _samr_query_useraliases() rpc reply.
875 * Check correct string length when verifying password-policies
876 and using extended characters (Thanks to Uwe Morgenroth from CC
877 Compunet and Volker).
878 * Make 'password history'-behavior in ldapsam more consistent.
879 * Adding "Windows x64" as architecture string and driverdir "x64"
880 for the 64bit AMD platform.
881 * BUG 1343: Readd WKGUID-binding to match the correct default-
882 locations of new User-, Group- and Machine-Accounts in Active
883 Directory (this got lost during the last trunk-merge).
884 * Fix printer-migration w.r.t. to new naming-convention for
886 * Allow to migrate win2k3/xp-drivers as well.
887 * Add client-side support of triggering ads printer publishing
888 over msrpc setprinter calls inside the net-tool.
889 * Add the idmap_rid module (written in conjunction with
890 Sumit Bose <sbose@suse.de>).
891 * BUG 1661: Fix build with recent heimdal releases.
892 * Prevent idmap_rid from making unnecessary calls to domain
893 controllers for trusted domains.
896 o Arthur van Dongen <avdongen@xs4all.nl>
897 * Fix typos in pam_winbind log messages and SuSE
901 o Rob Foehl <rwf@loonybin.net>
902 * Typo fixes for log messages in printer publishing code.
903 * Fix memory leak in printer publishing code.
904 * Ensure print_backend_init() only gets called once.
905 * Have smbd check the published status of all printers
907 * Cleanup up the XXX_a_printer() API for consistency.
908 * Refactored the printer publishing code and include better
912 o Steve French <sfrench@us.ibm.com>
913 * Fix IP address override in mount.cifs mount helper and clean
914 up warning messages from the sparse tool and expand syntax help.
915 * Strip guest mount option off before sending to kernel mount
916 routine to avoid logging spurious message.
919 o Satoh Fumiyasu <fumiya@samba.gr.jp>
920 * BUG 1732: Limit share names returned by RAP based on windows
921 character width, not unix character width.
922 * BUG 1498: Ensure that acl entries are stored in the correct
926 o Brett Funderburg <brett@deepfile.com>
927 * Pass create options parameter to nt_create_andx() function
928 from the python bindings.
929 * BUG 1864: Add sd->type field to security descriptor Python
931 * Return an error if a Netapp filer returns NT_STATUS_ACCESS_DENIED
932 when trying to return the security descriptor for a file.
933 * BUG 1884: Fixes for the Python bindings to use the value
934 of the desired_access filed passed into the lsa_open_policy()
938 o Michael Gravey <michel.gravey@optogone.com>
939 * BUG 1776: Fix warnings when building modules caused by
940 certain versions of GNU ld not using the the default
941 --allow-shlib-undefined flag.
944 o Chris Hertel <crh@samba.org>
945 * Fix logic bug in splay tree data structure when finding
947 * Fix bug where an invalid MAC address would be printed by
948 a node status lookup from nmblookup.
951 o Uli Iske <iske@elkb.de>
952 * Update the DNS/eDirectory LDAP schema file.
955 o Björn Jacke <bjacke@sernet.de>
956 * BUG 1766: Unify charset-handling in Content-Type:-headers to
957 UTF-8. Reformat msgstr in msg-files to UTF-8.
958 * Do not use display charset for swat output.
959 * Convert the share names correctly from unix encoding to web
960 encoding and vice versa.
961 * Convert files from status page from unix charset to UTF-8.
964 o Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
965 * BUG 1590: Fix for talking to OS/2 clients (max_mux ignored).
968 o Tom Lackemann <cessnatomny@yahoo.com>
969 * BUG 1954: Fix memory leak in posix acl code.
972 o Volker Lendecke <vl@samba.org>
973 * Robustnss fix for winbindd when sending multiple requests
974 at a high rate for a slow operation.
975 * Solve the problem of user sids ending up with gid's
977 * Use sys_fork instead of fork for the dual daemon so that
978 we get the correct debug pid in the logfiles.
979 * Based on patch from jmcd, implement special lists for the LDAP
980 user attributes to delete.
981 * Fix creation of aliases via usrmgr. Winbind was too strict
982 checking the type of sids.
983 * Lowercase all usernames returned by winbind.
984 * BUG 1545, 1823: Only issue the ldap extended password change
985 operation if the ldap server supports it. Also ignore object
986 class violation errors from the extended operation.
987 * Optimization for 'idmap backend = ldap': When asking sid2id
988 for the wrong type, don't ask ldap when we have the opposite mapping
990 * Fix ldapsam_compat homeDrive.
991 * Add usersidlist and allowedusers subcommands to the net tool
992 in order to support scanning a file server's share and list
993 all users who have permission to connect there.
994 * Allow for multiple DC's to be named as #1c names in lmhosts.
996 * Fix checks for the local pid of an smbd process after
1000 o Herb Lewis <herb@samba.org>
1001 * Added tdbtool to be built by default.
1004 o Love <lha@stacken.kth.se>
1005 * BUG 1955: Inconsistent error return.
1008 o Sorin Manolache <sorinm@gmail.com>
1012 o Jim McDonough <jmcd@us.ibm.com>
1013 * Allow 'net ads lookup' to rely on command line arguments
1014 if contacting an ADS server fails; utilize cldap for lookups.
1015 * Fixup formatting errors in TDB_LOG calls; add printf attribute
1016 support to tdb log functions.
1019 o Bill McGonigle <bill+samba@bfccomputing.com>
1020 * BUG 1926: Type in debug message.
1024 * BUG 1822: Add -D_REENTRANT to CPPFLAGS and -lthread to LDFLAGS
1028 o Luke Mewburn <lukem@NetBSD.org>
1029 * BUG 1782: Prevent testparm from displaying parameter synonyms.
1032 o Stefan Metzmacher <metze@samba.org>
1033 * Fix crash in smbcquotas and smbcacls caused by setup_logging().
1034 * Fix client quota support.
1035 * Fix opening of system quota file.
1038 o Lars Mueller <lmuelle@suse.de>
1039 * Small fixes for autogen.sh to deal with version detection
1040 of autoconf and autoheader; fixes for examples using
1041 libtool to adhere to stricter syntax of newer version.
1044 o Henrik Nordstrom <hno@squid-cache.org>
1045 * Allow winbindd to return the correct number of groups
1046 when the groups array must be enlarged.
1049 o Narayana Pattipati <narayana.pattipati@wipro.com>
1050 * Solaris autoconf detection fixes.
1053 o Tim Potter <tpot@samba.org>
1054 * BUG 1360: (correct fix) Use -Wl when passing flags to
1056 * HP-UX compile fixes (from JBravo on #samba-technical).
1057 * BUG 1731: More HP-UX compiles fixes.
1058 * BUG 1778: Include yp_prot.h before ypclnt.h as AIX 5.2
1059 spits the dummy otherwise.
1060 * Fix bug in Python printerdata wrapper.
1061 * BUG 1762: nss_winbind fixes on AIX 5.x (patch from
1062 <bugzilla-samba@thewrittenword.com>).
1063 * Fix parameter confusion in priming of name-to-sid cache
1064 (Found by Qiao Yang).
1065 * BUG 1888: Remove '..' from all pre-processor commands.
1066 * BUG 1903: Change some #if DEBUG_PASSWORD's to #ifdef
1070 o Matt Selsky <selsky@columbia.edu>
1071 * BUG 350: use autoconf 2.57 feature for checking header file
1072 preprocessing (fixes configure warnings on Solaris).
1075 o Richard Renard <rrenard@idealx.com>
1076 * Fix usermgr.exe and trust relationships.
1079 o Paul Szabo <psz@maths.usyd.edu.au>
1080 * Fix to make find_workgroup use the same
1081 truncation as create_workgroup.
1084 o Richard Sharpe <rsharpe@samba.org>
1085 * Ensure cli_write() can support writes >= 65536 bytes.
1088 o Simo Sorce <idra@samba.org>
1089 * Added check password script code in examples/auth/crackcheck/
1090 * Fix memory corruption bug caused in freeing static memory.
1093 o Andrew Tridgell <tridge@samba.org>
1094 * Remove lp_use_mmap() from map_file() since the latter
1095 is for read only and does not require coherence.
1096 * Ensure that the uuid pack/unpack routines do not go past
1097 the end of the structure.
1098 * Converted Samba 3 tree to use the new utf-16 aware iconv
1100 * Changed iconv to recognise UCS-2LE and UTF-16LE as synonyms.
1101 * Ensure configure only uses '=' instead of the bashism '=='.
1102 * Reduces the number of tdb locking calls made on file IO.
1105 o Jelmer Vernooij <jelmer@samba.org>
1106 * Convert internal data to UTF-8 before calling libxml2.
1107 * Complain if 'password chat' doesn't contain the %u variable
1108 (based on a patch by Ronan Waide).
1112 * BUG 1541: Fix recursive ls in smbclient.
1115 o Igor Zhbanov <bsg@uniyar.ac.ru>
1116 * BUG 1797: Prevent winbind and nmbd from ignoring the "-l"
1119 --------------------------------------------------
1121 =============================
1122 Release Notes for Samba 3.0.7
1124 =============================
1126 This is the latest stable release of Samba. This is the version
1127 that production Samba servers should be running for all
1128 current bug-fixes. There have been several important issues
1129 fixes since the 3.0.6 release. See the "Changes" section for
1130 details on exact updates.
1132 Common bugs fixed in 3.0.7 include:
1134 o Fixes for two Denial of Service vulnerabilities
1135 (CVE ID# CAN-2004-0807 & CAN-2004-0808).
1136 o Winbind failure to return user entries under certain
1138 o Syntax errors in the OpenLDAP schema file (samba.schema).
1139 o Printing errors caused by not setting default values
1140 for the various printing commands.
1149 Parameter Name Action
1150 -------------- ------
1151 winbind enable local accounts disabled by default
1156 o Jeremy Allison <jra@samba.org>
1157 * Fix parsing of names ending in dot and a few other error
1159 * BUG 1674: Move the symlinks checks into reduce_name().
1160 * Fix memleak when checking the valid names smb.conf option.
1161 * Fix memleak on error return path in the file open code.
1162 * More paranoia checks in the hash2 mangling code.
1163 * Fix syntax error in configure.in.
1164 * Match Win2k3's behavior for pathname parsing error returns.
1165 * Make nmbd more robust against bad netbios packets
1167 * Add more checks for invalid ASN.1 packets for SPNEGO packets
1171 o Andrew Bartlett <abartlet@samba.org>
1172 * Janitor work in loadparm.c -- remove unused parameters.
1175 o Gerald Carter <jerry@samba.org>
1176 * BUG 1464: Ensure that printing commands are initialized even
1177 if the 'printing' parameter is not explicitly set.
1178 * Resolve name conflict on DEC OSF-5.1 (inspired by patch from
1179 Adharsh Praveen <rprav@india.hp.com>)
1180 * Work around parsing error in the print change notify code.
1181 * remove duplicate declaration of getprintprocdir from
1183 * Only use sAMAccountName and not userPrincipalName when looking
1184 up a username in AD since the breaks winbindd (lookup_name()
1185 only works with the sAMAccountName).
1186 * Fix bug with winbindd_getpwnam() caused by Microsoft DC's not
1187 filling in the username in the user_info3.
1188 * Fix logic bug in the check for creating a user's home directory
1189 in register_vuid(); caused home directory to be mismatched to
1190 the first share in smb.conf under certain conditions.
1191 * BUG 1656: rename auto.a to auto.smb.
1192 * Ensure that we assign our pid to print jobs (and not our
1193 parent's pid); ensures that spooling jobs from dead smbds
1194 are removed from the tdb.
1195 * Disable 'winbind enable local accounts' by default.
1196 * Adding some initial checks for DragonFly (same as
1200 o Guenther Deschner <gd@samba.org>
1201 * Use SMB_ASSERT() to track down NULL printer names in
1203 * Revert fix for BUG 1474 to avoid unnecessary packaging
1207 o Olaf Flebbe <o.flebbe@science-computing.de>.
1208 * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3
1210 * BUG 1626: More compile fixes.
1213 o Rob Foehl <rwf@loonybin.net>
1214 * Don't clear the PRINT_ATTRIBUTE_PUBLISHED was getting reset
1215 by attempts to sanitize the defined attributes.
1218 o SATOH Fumiyasu <fumiya@miraclelinux.com>
1219 * BUG 1546: Preserve errno in MB strupper_m/strlower_m.
1222 o Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
1223 * BUG 1657: Remove used initialized variable,
1224 * BUG 1658: Add a little bit of const.
1227 o Volker Lendecke <vl@samba.org>
1228 * If there's garbage in the pidfile, we should not panic
1229 but assume that no one else is around. We can't find the
1233 o Jim McDonough <jmcd@us.ibm.com>
1234 * Fixup format string in the tdb error messages.
1237 o Jonas Olsson <lexicon@lysator.liu.se>
1238 * BUG 1416: Don't reuncture a users list to NGROUPS_MAX when
1239 reporting the list in usrmgr.exe.
1242 o Tim Potter <tpot@samba.org>
1243 * Fix out-of-tree builds (problem with the script to generate
1244 the svn version number).
1245 * BUG 1360: Need to use -Wl when passing flags to the linker.
1246 * BUG 1741: Define a struct nss_groupsbymem for HPUX 11 which
1247 doesn't have one of its own.
1249 o Simo Sorce <idra@samba.org>
1250 * Fixup compile issues on AIX caused by broken strlen() and
1252 * Update debian packaging files.
1255 o Dimitri van der Spek <dwspek@aboveit.nl>
1256 * Use the correct counter when copying group rids from the
1257 user_info3 struct in pam_winbind.
1260 o Qiao Yang <qyang@stbernard.com>
1261 * BUG 1622: Only cache the user
1264 --------------------------------------------------
1266 =============================
1267 Release Notes for Samba 3.0.6
1269 =============================
1271 Common bugs fixed in 3.0.6 include:
1273 o Schannel failure in winbindd.
1274 o Numerous memory leaks.
1275 o Incompatibilities between the 'write list' and 'force user'
1277 o Premature optimization of the open_directory() internal
1278 function that broke tools such as the ArcServe backup
1279 agent, Macromedia HomeSite, and Robocopy.
1280 o Corrupt workgroup names in nmbd's browse.dat.
1281 o Sharing violation errors commonly seen when opening
1282 when serving Microsoft Office documents from a Samba
1284 o Browsing problems caused by an apostrophe (') in the
1285 computer's description field.
1286 o Problems creating special file types from UNIX CIFS
1287 clients and enabling 'unix extensions'.
1288 o Fix stalls in smbd caused by inaccessible LDAP servers.
1289 o Remove various memory leaks.
1290 o Fix issues in the password lockout feature.
1292 New features introduced in this release include:
1294 O Support symlinks created by CIFS clients which
1295 can be followed on the server.
1296 o Using a cups server other than localhost.
1297 o Maintaining the service principal entry in the system
1298 keytab for integration with other kerberized services.
1299 Please refer to the 'use kerberos keytab' entry in
1300 smb.conf(5). When using the heimdal kerberos libraries,
1301 you must also specify the following in /etc/krb5.conf:
1303 default_keytab_name = FILE:/etc/krb5.keytab
1304 o Support for maintaining individual printer names
1305 stored separately from the printer's sharename.
1306 o Support for maintaining user password history.
1307 o Support for honoring the logon times for user in a
1310 --------------------------------------------
1311 unix extensions = yes (default) and symlinks
1312 --------------------------------------------
1314 Beginning with Samba 3.0.6pre1 (formerly known as 3.0.5pre1),
1315 clients supporting the UNIX extensions to the CIFS protocol
1316 can create symlinks to absolute paths which will be **followed**
1317 by the server. This functionality has been requested in order
1318 to correctly support certain applications when the user's home
1319 directory is mounted using some type of CIFS client (e.g. the
1320 cifsvfs in the Linux 2.6 kernel).
1322 If this behavior is not acceptable for your production environment
1323 you can set 'wide links = no' in the specific share declaration in
1324 the server's smb.conf. Be aware that disabling wide link support
1325 out of a share in Samba may impact the server's performance due
1326 to the fact that smbd will now have to check each path additional
1327 times before traversing it.
1329 ------------------------
1330 Password History Support
1331 ------------------------
1333 The new password history feature allows smbd to check the new
1334 password in password change requests against a list of the user's
1335 previous passwords. The number of previous passwords to save can
1336 be set using pdbedit (4 in this example):
1338 root# pdbedit -P "password history" -C 4
1340 When using the ldapsam passdb backend, it is vital to secure the
1341 following attributes from access by non-administrative users:
1345 * sambaPasswordHistory
1347 You should refer to your directory server's documentation on how
1348 to implement this restriction.
1357 Parameter Name Action
1358 -------------- ------
1360 defer sharing violations New
1361 force unknown acl user New
1363 printcap cache time New
1364 use kerberos keytab New
1368 o Jeremy Allison <jra@samba.org>
1369 * Correct path parsing bug that broke DeletePrinterDriverEx().
1370 * Fix bugs in check_path_syntax() caught by asserts.
1371 * Internal change - rearrange internal global case setting
1372 variables to a per connection basis.
1373 * BUG 1345: Fix premature optimization in unix_convert().
1374 * Allow clients to truncate a locked file.
1375 * BUG 1319: Always check to see if a user as write access
1376 to a share, even when 'force user' is set.
1377 * Fix specific case of open that doesn't cause oplock break,
1378 or share mode check.
1379 * Correct sid type is WKN_GROUP, not alias. Added some
1380 more known types (inspired by patch from Jianliang Lu).
1381 * Allow creation of absolute symlink paths via CIFS clients.
1382 * Fix charset bug in when invoking send_mailslot().
1383 * When using widelinks = no, use realpath to canonicalize
1384 the connection path on connection create for the user.
1385 * Enhance stat open code.
1386 * Fix unix extensions mknod code path.
1387 * Allow unix domain socket creation via unix extensions.
1388 * Auto disable the 'store dos attribute' parameter if the
1389 underlying filesystem doesn't support EAs.
1390 * Implement deferred open code to fix a bug with Excel files
1392 * BUG 1427: Catch bad path errors at the right point. Ensure
1393 all our pathname parsing is consistent.
1394 * Fix SMB signing error introduced by the new deferred open
1396 * Change default setting for case sensitivity to "auto". (see
1397 commit message -- r1154 -- for details).
1398 * Add new remote client arch -- CIFSFS.
1399 * Allow smbd to maintain the service principal entry in the
1400 system keytab file (based on patch Dan Perry <dperry@pppl.gov>,
1401 Guenther Deschner, et. al.).
1402 * Fix longstanding memleak bug with logfile name.
1403 * Fix incorrect type in printer publishing (struct uuid,
1405 * Heimdal compile fixes after introduction of the new ketyab
1407 * Ensure we check attributes correctly on rename request.
1408 * Ensure we defer a sharing violation on rename correctly.
1409 * BUG 607: Ensure we remove DNS and DNSFAIL records immediately
1411 * Fix bogus error message when using "mangling method = hash"
1413 * Turn on sendfile by default for non-Win9x clients.
1414 * Handle non-io opens that cause oplock breaks correctly.
1415 * Ensure ldap replication sleep time is not more than 5 seconds.
1416 * Add support for storing a user's password history.
1417 LDAP portion of the code was based on a patch from
1418 Jianliang Lu <j.lu@tiesse.com>.
1419 * Correct memory leaks found in the password change code.
1420 * Fix support for the mknod command with the Linux CIFS client.
1421 * Remove support for passing the new password to smbpasswd
1422 on the command line without using the -s option.
1423 * Ensure home directory service number is correctly reused
1424 (inspired by patches from Michael Collin Nielsen
1425 <michael@hum.aau.dk>).
1426 * Fix to stop printing accounts from resetting the bas
1427 password and account lockout flags.
1428 * If a account was locked out by an admin (and has a bad
1429 password count of zero) leave it locked out until an admin
1430 unlocks it (but log a message).
1431 * Ensure we return the same ACL revision on the wire that
1433 * BUG 1578: Hardcode replacement for invalid characters as '_'
1434 (based on fix from Alexander E. Patrakov <patrakov@ums.usu.ru>).
1435 * Fix hashed password history for LDAP backends.
1436 * Enforce logon hours restrictions if confiogured (based on code
1437 from Richard Renard <rrenard@idealx.com>).
1438 * BUG 1606: Force smbd to disable sendfile with DOS clients
1439 and ensure that the chained header is filled in for ...&X
1441 * BUG 1602: Fix access to shares when all symlink support
1446 o Tom Alsberg <alsbergt@cs.huji.ac.il>
1447 * Allow pdbedit to export a single user from a passdb backend.
1450 o Andrew Bartlett <abartlet@samba.org>
1451 * Fix parsing bug in GetDomPwInfo().
1452 * Fix segfault in 'ntlm_auth --diagnostics'.
1453 * Re-enable code to allow sid_to_gid() to perform a group
1454 mapping lookup before checking with winbindd.
1455 * Fix memory leak in the trans2 signing code.
1456 * Allow more flexible GSS-SPENGO client and server operation
1458 * Improve smbd's internal random number generation.
1459 * Fix a few outstanding long password changes in smbd.
1460 * Fix LANMAN2 session setup code.
1463 o Eric Boehm <boehm@nortelnetworks.com>
1464 BUG 703: Final touches on netgroup case lookups.
1467 o Jerome Borsboom <j.borsboom@erasmusmc.nl>
1468 * Ensure error status codes don't get overwritten in
1469 lsa_lookup_sids() server code.
1470 * Correct bug that caused smbd to overwrite certain error
1471 codes when returning up the call stack.
1472 * Ensure the correct sid type returned for builtin sids.
1475 o Gerald Carter <jerry@samba.org>
1476 * Fix a few bugs in the Fedora Packaging files.
1477 * Fix for setting the called name to by our IP if the
1478 called name was *SMBSERVER and *SMBSERV. Fixes issue
1479 with connecting to printers via \\ip.ad.dr.ess\printer
1481 * BUG 1315: fix for schannel client connections to servers
1482 when we haven't specifically negotiated AUTH_PIPE_SEAL.
1483 * Allow PrinterDriverData valuenames with embedded backslashes
1484 (Fixes bug with one of the Konica Fiery drivers).
1485 * Fixed string length miscalculation in netbios names that
1486 resulted in corrupt workgroup names in browse.dat.
1487 * When running smbd as a daemon, launch child smbd to update
1488 the lpq cache listing in the background.
1489 * Allow printers "Printers..." folder to be renamed to a string
1490 other than the share name.
1491 * Allow winbindd to use domain trust account passwords when
1492 running on a Samba DC to establish an schannel to remote
1494 * Fix bad merge and ensure that we always use tdb_open_log()
1495 instead of tdb_open_ex() (the former call enforce the 'use
1497 * BUG 1221: revert old change that used single and double
1498 quotes as delimeters in next_token(), and change
1499 print_parameter() to print out parm values surrounded by
1500 double quotes (instead of single quotes).
1501 * Prevent home directories added during the SMBsesssetup&X from
1502 being removed as unused services.
1503 * Invalidate the print object cache for open printer handles when
1504 smbd receives a message that an attribute on a given printer
1506 * Cause the configure script to exit if --enable-cups[=yes] is
1507 defined and the system does not have the cups devel files
1509 * BUG 1297: Prevent map_username() from being called twice
1511 * Ensure that we use the userPrincipalName AD attribute
1512 value for LDAP SASL binds.
1513 * Ensure we remove the tdb entry when deleting a job that
1515 * BUG 1520: Work around bug in Windows XP SP2 RC2 where the
1516 client sends a FindNextPrintChangeNotify() request without
1517 previously sending a FindFirstPrintChangeNotify(). Return
1518 the same error code as Windows 2000 SP4.
1519 * BUG 1516: Manually declare ldap_open_with_timeout() to
1520 workaround compiler errors on IRIX (or other systems without
1522 * Merge security fixes for CAN-2004-0600, CAN-2004-0686 from
1524 * Corrected syntax error in the OID for sambaUnixIdPool,
1525 sambaSidEntry, & sambaIdmapEntry object classes.
1526 * Tighten the cache consistency with the ntprinters.tdb entry
1527 an the in memory cache associated with open printer handles.
1528 * Make sure that register_messages_flags() doesn't overwrite
1529 the originally registered flags.
1532 o Fabien Chevalier <fabien.chevalier@supelec.fr>
1533 * Debian BUG 252591: Ensure that the return value from the
1534 number of available interfaces is initialized in case no
1535 interfaces are actually available.
1538 o Guenther Deschner <gd@sernet.de>
1539 * Implement 'rpcclient setprintername'.
1540 * Add local groups to the user's NT_TOKEN since they are
1541 actually supported now.
1542 * Heimdal compile fixes after introduction of the new keytab
1544 * Correctly honor the info level parameter in 'rpcclient
1546 * Reintroduce 'force unknown acl user' parameter. When getting a
1547 security descriptor for a file, if the owner sid is not known,
1548 the owner uid is set to the current uid. Same for group sid.
1549 * Ensure that REG_SZ values in the SetPrinterData actually
1550 get written in UNICODE strings rather than ASCII.
1551 * Ensure that the last kerberos error return is not invalid.
1552 * Display share ACL entries from rpcclient.
1553 * Correct infinite loop in pam_winbind's verification of
1554 group membership in the 'other sids' field in the user_info3
1558 o Fabian Franz <FabianFranz@gmx.de>
1559 * Support specifying a port in the device URL passed to smbspool.
1562 o Steve French <sfrench@us.ibm.com>
1563 * Handle -S and user mount parms in mount.cifs.
1564 * Fix user unmount of shares mount with suid mount.cifs.
1565 * prevent infinite recusion in reopen_logs() when expanding
1566 the smb.conf variable %I.
1569 o Bjoern Jacke <bj@sernet.de>
1570 * Install libsmbclient into $(LIBDIR), not into hard coded
1571 ${prefix}/lib. This helps amd64 systems with /lib and /lib64
1572 and an explicit configure --libdir setting.
1575 o <kawasa_r@itg.hitachi.co.jp>
1576 * Correct more memory leaks and initialization bugs.
1577 * Fix bug that prevented core dumps from being generated
1579 * Connect to the winbind pipe in non-blocking mode to
1580 prevent processes from hanging.
1581 * Memory leak fixes.
1584 o Stephan Kulow <coolo@suse.de>
1585 * Fix crash bug in libsmbclient.
1588 o Volker Lendecke <vl@samba.org>
1589 * Added vfs_full_audit module.
1590 * Add vfs_afsacl.c which can display & set AFS acls via
1591 the NT security editor.
1592 * Fix crash bug caused by trying to Base64 encode a NULL string.
1593 * Fix DOS error code bug in reply_chkpath().
1594 * Correct misunderstanding of the max_size field in
1595 cli_samr_enum_als_groups; it is more like an account_control
1596 field with individual bits what to retrieve.
1597 * Implement 'net rpc group rename' -- rename domain groups.
1598 * Implement the 'cups server' option. This makes it possible
1599 to have virtual smbd's connect to different cups daemons.
1600 * Paranoia fixes when adding local aliases to a user's NT_TOKEN.
1601 * Fix sid_to_gid() calls in winbindd to prevent loops.
1602 * Ensure that local_sid_to_gid() sets the type of the group on
1604 * Make sure that the clients are given back the IP address to
1605 which they connected in the case of a multi-homed host. Only
1606 affects strings the spoolss printing replies.
1607 * Fix the bad password lockout. This has not worked as pdb_ldap.c
1608 did not ask for the modifyTimestamp attribute, so it could
1609 not find it. Try not to regress by not putting that attrib
1610 in the main list but append it manually for the relevant searches.
1611 * Fix two memleaks in login_cache.c.
1612 * fixes memory bloat when unmarshalling strings.
1613 * Fix compile errors using gcc 3.2 on SuSE 8.2.
1614 * Fix the build for systems without kerberos headers.
1615 * Allow winbindd to handle authentication requests only when
1616 started without either an 'idmap uid' or 'idmap gid' range.
1617 * Fix the build for systems without ldap headers.
1618 * Fix interaction between share security descriptor and the
1619 'read only' smb.conf option.
1620 * Fix bug that caused _samr_lookupsids() with more than 32 (
1621 MAX_REF_DOMAINS) SIDs to fail.
1622 * Allow the 'idmap backend' parameter to accept a list of
1623 LDAP servers for failover purposes.
1624 * Revert code in smbd to remove a tdb when it has become
1626 * Add paranoid checks when mapping SIDs to a uid/gid to
1627 ensure that the type is correct.
1628 * Initial work on getting client support for sending mailslot
1630 * Add 'ldap timeout' parameter.
1631 * Dont always uppercase 'afs username map'.
1632 * Expand aliases for getusersids as well.
1633 * Improved NT->AFS ACL mapping VFS module.
1636 o Herb Lewis <herb@samba.org>
1637 * Add the acls debug class.
1638 * Fix logic bug in netbios name truncate routine.
1639 * Fix smbd crash caused by smbtorture IOCTL test.
1640 * Fix errno tromping before calling iconv to reset the
1642 * need to leave empty dacl so we can remove last ACE.
1645 o Jianliang Lu <Jianliang.Lu@getronics.com>
1646 * Fix to stop smbd hanging on missing group member in
1648 * Make sure Samba returns the correct group types.
1649 * Reset the bad password count password counts upon a successful login.
1652 o Jason Mader <jason@ncac.gwu.edu>
1653 * BUG 1385: Don't use non-consts in a structure initialization.
1656 o Jim McDonough <jmcd@us.ibm.com>
1657 * BUG 1279: SMBjobid fix for Samba print servers running on
1658 Big-Endian platforms.
1661 o Joe Meadows <jameadows@webopolis.com>
1662 * Add optional timeout parameter to ldap open calls.
1663 * Allow get_dc_list() to check the negative cache.
1666 o Stefan Metzmacher <metze@samba.org>
1667 * fix a configure logic bug for linux/XFS quotas when
1668 using --with-sys-quotas.
1669 * Use quota debug class in quota code.
1670 * print out the SVN revision by configure,
1673 o Buchan Milne <bgmilne@mandrake.org>
1674 * Mandrake packaging fixes.
1677 o Lars Mueller <lmuelle@suse.de>
1678 * BUG 1279: Added 'printcap cache time' parameter.
1679 * Fix afs related build issues on SuSE.
1680 * Fix compiler warnings in the kerberos client code.
1683 o James Peach <jpeach@sgi.com>
1684 * More iconv detection fixes for IRIX.
1685 * Compile fixed for systems that do not have C99/UNIX98 compliant
1686 vsnprintf by default.
1687 * Prevent smbd from attempting to use sendfile at all if it is
1688 not supported by the server's OS.
1689 * Allow SWAT to search for index.html when serving html files
1694 * Implement NFS quota support on FreeBSD.
1697 o Tim Potter <tpot@samba.org>
1698 * BUG 1360: Use -Bsymbolic when creating shared libraries to
1699 avoid conflicts with identical symbols in the global namespace
1700 when loading libnss_wins.so.
1703 o Richard Renard <rrenard@idealx.com>
1704 * Save the current password as it is being changed into the
1705 password history list.
1708 o Richard Sharpe <rsharpe@samba.org>
1709 * Fix error return codes on some lock messages.
1710 * BUG 1178: Make the libsmbclient routines callable
1712 * BUG 1333: Make sure we return an error code when
1714 * BUG 1301: Return NT_STATUS_SHARING_VIOLATION when
1715 share mode locking requests fail.
1718 o Simo Sorce <idra@samba.org>
1719 * Update Debian stable & unstable packaging.
1720 * Tidy up parametric options in testparm output.
1723 o Richard Sharpe <rsharpe@samba.org>
1724 * Add sigchild handling to winbindd to restart the child
1725 daemon if necessary.
1728 o Tom Shaw <tomisfaraway@gmail.com>
1729 * Use winbindd_fill_pwent() consistently.
1732 o Nick Thompson <nickthompson@agere.com>
1733 * Protect smbd against broken filesystems which return zero
1737 o Andrew Tridgell <tridge@samba.org>
1738 * Fixed bug in handling of timeout in socket connections.
1741 o Nick Wellnhofer <wellnhofer@aevum.de>
1742 * Prevent lp_interfaces() list from being corrupted. Fixes
1743 bug where nmbd would lose the list of network interfaces
1744 on the system and consequently shutdown.
1747 o James Wilkinson <jwilk@alumni.cse.ucsc.edu>
1748 * Fix ntlm_auth memory leaks.
1751 o Jelmer Vernooij <jelmer@samba.org>
1752 * Additional NT status to unix error mappings.
1753 * BUG 478: Rename vsnprintf to smb_vsnprintf so we don't
1754 get duplicate symbol errors.
1755 * Return an error when the last command read from stdin
1757 * Prepare for better error checking in tar.
1758 * BUG 1474: Fix build of --with-expsam stuff on Solaris.
1761 Changes for older versions follow below:
1763 --------------------------------------------------
1765 =============================
1766 Release Notes for Samba 3.0.5
1768 =============================
1770 Please note that Samba 3.0.5 is identical to Samba 3.0.4 with
1771 the exception of correcting the two security issues outlined
1774 ######################## SECURITY RELEASE ########################
1776 Summary: Multiple Potential Buffer Overruns in Samba 3.0.x
1777 CVE ID: CAN-2004-0600, CAN-2004-0686
1778 (http://cve.mitre.org/)
1781 This is the latest stable release of Samba. This is the version
1782 that production Samba servers should be running for all current
1785 It has been confirmed that versions of Samba 3 prior to v3.0.4
1786 are vulnerable to two potential buffer overruns. The individual
1787 details are given below.
1793 Affected Versions: Samba 3.0.2 and later
1795 The internal routine used by the Samba Web Administration
1796 Tool (SWAT v3.0.2 and later) to decode the base64 data
1797 during HTTP basic authentication is subject to a buffer
1798 overrun caused by an invalid base64 character. It is
1799 recommended that all Samba v3.0.2 or later installations
1800 running SWAT either (a) upgrade to v3.0.5, or (b) disable
1801 the swat administration service as a temporary workaround.
1803 This same code is used internally to decode the
1804 sambaMungedDial attribute value when using the ldapsam
1805 passdb backend. While we do not believe that the base64
1806 decoding routines used by the ldapsam passdb backend can
1807 be exploited, sites using an LDAP directory service with
1808 Samba are strongly encouraged to verify that the DIT only
1809 allows write access to sambaSamAccount attributes by a
1810 sufficiently authorized user.
1812 The Samba Team would like to heartily thank Evgeny Demidov
1813 for analyzing and reporting this bug.
1819 Affected Versions: Samba 3.0.0 and later
1821 A buffer overrun has been located in the code used to support
1822 the 'mangling method = hash' smb.conf option. Please be aware
1823 that the default setting for this parameter is 'mangling method
1824 = hash2' and therefore not vulnerable.
1826 Affected Samba 3 installations can avoid this possible security
1827 bug by using the default hash2 mangling method. Server
1828 installations requiring the hash mangling method are encouraged
1829 to upgrade to Samba 3.0.5.
1832 ##################################################################
1834 --------------------------------------------------
1836 =============================
1837 Release Notes for Samba 3.0.4
1839 =============================
1841 Common bugs fixed in Samba 3.0.4 include:
1843 o Password changing after applying the patch described in
1844 the Microsoft KB828741 article to Windows clients.
1846 o Managing print jobs via Windows on Big-Endian servers.
1847 o Several memory leaks in winbindd and smbd.
1848 o Compile issues on AIX and *BSD.
1851 --------------------
1856 o Jeremy Allison <jra@samba.org>
1857 * Fix path processing for DeletePrinterDriverEx().
1858 * BUG 1303: Fix for Microsoft hotfix MS04-011 password change
1862 o Andrew Bartlett <abartlet@samba.org>
1863 * Fix alignment bug in GetDomPwInfo().
1866 o Alexander Bokovoy <ab@samba.org>
1867 * Fix utime[s]() issues in smbwrapper on systems
1868 that can boot both the 2.4 and 2.6 Linux kernels.
1871 o Gerald Carter <jerry@samba.org>
1872 * Fedora packaging fixes.
1873 * BUG 1302: Fix seg fault by not trying to optimize a list of
1874 invalid gids using the wrong array size.
1875 * BUG 1309: fix seg fault caused by trying to strdup(NULL)
1876 seen when 'security = share'.
1877 * Fix problems when using IBM's compiler on AIX.
1878 * Link Developer's Guide, Example Guide, and multi-page HOWTO
1879 into SWAT's welcome page.
1880 * BUG 1293: fix double free in printer publishing code.
1883 o Wim Delvaux <wim.delvaux@adaptiveplanet.com>
1884 * Fix for handling timeouts in socket connections.
1887 o Michel Gravey <michel.gravey@optogone.com>
1888 * BUG 483: patch from to fix password hash creation in SWAT.
1891 o Volker Lendecke <vl@samba.org>
1892 * Close the open NT pipes before the tdis.
1893 * Fix AFS related build issues.
1894 * Handle error conditions when base64 encoding a blob of 0 bytes.
1897 o Herb Lewis <herb@samba.org>
1898 * Added 'acls' debug class.
1900 o kawasa_r@itg.hitachi.co.jp
1901 * Multiple variable initialization and memory leak fixes.
1904 o Stephan Kulow <coolo@suse.de>
1905 * Fix string length bug in libsmbclient that caused KDE's
1907 * BUG 429: More libsmbclient fixes.
1910 o Jim McDonough <jmcd@us.ibm.com>
1911 * BUG 1007, 1279: Store the print job using a little-endian key.
1915 o Compile fix for OpenBSD (ENOTSUP not supported).
1918 o Stefan Metzmacher <metze@samba.org>
1919 * Correct bug in disks quota views from explorer.
1922 o Tim Potter <tpot@samba.org>
1923 BUG 1305: Correct debug output.
1926 o Richard Sharpe <rsharpe@samba.org>
1927 * Fix incorrect error code mapping.
1930 o Jelmer Vernooij <jelmer@samba.org>
1931 * Add additional NT_STATUS errorm mappings.
1934 Changes for older versions follow below:
1936 --------------------------------------------------
1938 =============================
1939 Release Notes for Samba 3.0.3
1941 =============================
1944 Common bugs fixed in Samba 3.0.3 include:
1946 o Crash bugs and change notify issues in Samba's printing code.
1947 o Honoring secondary group membership on domain member servers.
1948 o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag.
1949 o Substitution errors for %[UuGg] in smb.conf.
1950 o winbindd crashes when using ADS security mode.
1951 o SMB signing errors.
1952 o Delays in winbindd startup caused by unnecessary
1953 connections to trusted domain controllers.
1954 o Various small memory leaks.
1955 o Winbindd failing due to expired Kerberos tickets.
1957 New features introduced in Samba 3.0.3 include:
1959 o Improved support for i18n character sets.
1960 o Support for account lockout policy based on
1961 bad password attempts.
1962 o Improved support for long password changes (>14
1963 characters) and strong password enforcement.
1964 o Support for Windows aliases (i.e. nested groups).
1965 o Experimental support for storing DOS attribute on files
1966 and folders in Extended Attributes.
1967 o Support for local nested groups via winbindd.
1968 o Specifying options to be passed directly to the CUPS libraries.
1970 Please be aware that the Samba source code repository was
1971 migrated from CVS to Subversion on April 4, 2004. Details on
1972 accessing the Samba source tree via anonymous svn can be found
1973 at http://svn.samba.org/samba/subversion.html.
1976 Changes since 3.0.2a
1977 --------------------
1981 Parameter Name Action
1982 -------------- ------
1985 only user Deprecated
1986 store dos attributes New
1988 winbind nested groups New
1994 o Jeremy Allison <jra@samba.org>
1995 * Ensure that Kerberos mutex is always properly unlocked.
1996 * Removed Heimdal "in-memory keytab" support.
1997 * Fixup the 'multiple-vuids' bugs in our server code.
1998 * Correct return code from lsa_lookup_sids() on unmapped
1999 sids (based on work by vl@samba.org).
2000 * Fix the "too many fcntl locks" scalability problem
2002 * Fixup correct (as per W2K3) returns for lookupsids
2003 as well as lookupnames.
2004 * Fixups for delete-on-close semantics as per Win2k3 behavior.
2005 * Make SMB_FILE_ACCESS_INFORMATION call work correctly.
2006 * Fix "unable to initialize" bug when smbd hasn't been run with
2007 new system and a user is being added via pdbedit/smbpasswd.
2008 * Added NTrename SMB (0xA5).
2009 * Fixup correct timeout values for blocking lock timeouts.
2010 * Fix various bugs reported by 'gentest'.
2011 * More locking fixes in the case where we own the lock.
2012 * Fix up regression in IS_NAME_VALID and renames.
2013 * Don't set allocation size on directories.
2014 * Return correct error code on fail if file exists and target
2016 * Added client "hardlink" comment to test doing NT rename with
2017 hard links. Added hardlink_internals() code - UNIX extensions
2018 now use this as well.
2019 * Use a common function to parse all pathnames from the wire for
2020 much closer emulation of Win2k3 error return codes.
2021 * Implement check_path_syntax() and rewrite string sub
2022 functions for better multibyte support.
2023 * Ensure msdfs referrals are multibyte safe.
2024 * Allow msdfs symlink syntax to be more forgiving.
2025 eg. sym_link -> msdfs://server/share/path/in/share
2026 or sym_link -> msdfs:\\server\share\path\in\share.
2027 * Cleanup multibyte netbios name support in nmbd ( based on patch
2028 by MORIYAMA Masayuki <moriyama@miraclelinux.com>).
2029 * Fix check_path_syntax() for multibyte encodings which have
2030 no '\' as second byte (based on work by ab@samba.org.
2031 * Fix the "dfs self-referrals as anonymous user" problem
2032 (based on patch from vl@samba.org).
2033 * BUG 1064: Ensure truncate attribute checking is done correctly
2034 on "hidden" dot files.
2035 * Fix bug in anonymous dfs self-referrals again.
2036 * Fix get/set of EA's in client library
2037 * Added support for OS/2 EA's in smbd server.
2038 * Added 'ea support' parameter to smb.conf.
2039 * Added 'store dos attributes' parameter to smb.conf.
2040 * Fix wildcard identical rename.
2041 * Fix reply_ctemp - make compatible with w2k3.
2042 * Fix wildcard unlink.
2043 * Fix wildcard src with wildcard dest renames.
2044 * BUG 1139: Fix based on suggestion by jdev@panix.com.
2045 swap lookups for user and group - group will do an
2046 algorithmic lookup if it fails, user won't.
2047 * Make EA's lookups case independent.
2048 * Fix SETPATHINFO in 'unix extensions' support.
2049 * Make 3.x pass the Samba 4.x RAW-SEARCH tests - except for
2050 the UNIX info levels, and the short case preserve names.
2053 o Timur Bakeyev <timur@com.bat.ru>
2054 * BUG 1144: only set --with-fhs when the argument is 'yes'
2055 * BUG 1152: Allow python modules to build despite libraries added
2056 to LDFLAGS instead of LDPATH.
2057 * BUG 1141: Fix nss*.so names on FreeBSD 5.x.
2060 o Craig Barratt <cbarratt@users.sourceforge.net>
2061 * BUG 389: Allow multiple exclude arguments with smbclient
2062 tar -Xr options (better support for Amanda backup client).
2065 o Andrew Bartlett <abartlet@samba.org>
2066 * Include support for linking with cracklib for enforcing strong
2068 * Add support for >14 character password changes from Windows
2070 * Add 'admin set password' capability to 'net rpc'.
2071 * Allow 'net rpc samdump' to work with any joined domain
2072 regardless of smb.conf settings.
2073 * Use an allocated buffer for count_chars.
2074 * Add sanity checks for changes in the domain SID in an
2076 * Implement python unit tests for Samba's multibyte string
2078 * Remove 'unicode' smb.conf option.
2079 * BUG 1138: Fix support for 'optional' SMB signing and other
2081 * BUG 169: Fix NTLMv2-only behavior.
2082 * Ensure 'net' honors the 'netbios name' in the smb.conf by
2084 * Support SMB signing on connections using only the LANMAN
2085 password and generate the correct the 'session key' for these
2087 * Implement --required-membership-of=, an ntlm_auth option
2088 that restricts all authentication to members of this particular
2090 * Improve our fall back code for password changes.
2091 * Only send the ntlm_auth 'ntlm-server-1' helper client a '.'
2092 after the server had said something (such as an error).
2093 * Add 'ntlm-server-1' helper protocol to ntlm_auth.
2096 o Alexander Bokovoy <ab@samba.org>
2097 * Fix incorrect size calculation of the directory name
2099 * Fix problems with very long filenames in both smbd and smbclient
2100 caused by truncating paths during character conversions.
2101 * Fix smbfs problem with Tree Disconnect issued before smbfs
2105 o Gerald Carter <jerry@samba.org>
2106 * BUG 850: Fix 'make installmodules' bug on True64.
2107 * BUG 66: mark 'only user' deprecated.
2108 * Remove corrupt tdb and shutdown (only for printing tdbs,
2109 connections, sessionid & locking).
2110 * decrement smbd counter in connections.tdb in smb_panic().
2111 * RedHat specfile updates.
2112 * Fix xattr.h build issue on Debian testing and SuSE 8.2.
2113 * BUG 1147; bad pointer case in get_stored_queue_info()
2115 * BUG 761: read the config file before initialized default
2116 values for printing options; don't default to bsd printing
2118 * Allow the 'printing' parameter to be set on a per share basis.
2119 * BUG 503: RedHat/Fedora packaging fixes regarding logrotate.
2120 * BUG 848: don't create winbind local users/groups that already
2122 * BUG 1080: fix declaration of SMB_BIG_UINT (broke compile on
2124 * BUG 488: fix the 'show client in col 1' button and correctly
2125 enumerate active connections.
2126 * BUG 1007 (partial): Fix abort in smbd caused by byte ordering
2127 problem when storing the updating pid for the lpq cache.
2128 * BUG 1007 (partial): Fix print change notify bugs.
2129 * BUG 1165, 1126: Fix bug with secondary groups (security = ads)
2130 and winbind use default domain = yes. Also ensures that
2131 * BUG 1151: Ensure that winbindd users are passed through
2133 * Fix client rpc binds for ASU derived servers (pc netlink,
2135 * BUG 417, 1128: Ensure that the current_user_info is set
2136 consistently so that %[UuGg] is expanded correctly.
2137 * BUG 1195: Fix crash in winbindd when the ADS server is
2139 * BUG 1185: Set reconnect time to be the same as the
2140 'winbind cache time'.
2141 * Ensure that we return the sec_desc in smb_io_printer_info_2.
2142 * Change Samba printers Win32 attribute to PRINTER_ATTRIBUTE_LOCAL.
2143 * BUG 1095: Honor the '-l' option in smbclient.
2144 * BUG 1023: surround get_group_from_gid() with become_unbecome_root()
2146 * Ensure server schannel uses the auth level requested by the
2148 * Removed --with-cracklib option due to potential crash issue.
2149 * Fix -lcrypto linking problem with wbinfo.
2150 * BUG 761: allow printing parameter to set defaults on a per
2152 * Add 'cups options' parameter to allow raw printing without
2153 changing /etc/cups/cupsd.conf.
2154 * BUG 1081, 1183: Added remove_duplicate_gids() to smbd and
2156 * BUG 1246: Fix typo in Fedora /etc/init.d/winbind.
2157 * BUG 1288: resolve any machine netbios name (0x00) and not just
2159 * BUG 1199: Fix potential symlink issue in
2160 examples/printing/smbprint.
2163 o Robert Dahlem <Robert.Dahlem@gmx.net>
2164 * BUG 1048: Don't return short names when when 'mangled names = no'
2167 o Guenther Deschner <gd@suse.com>
2168 * Remove hard coded attribute name in the ads ranged retrieval
2170 * Add --with-libdir and --with-mandir to autoconf script.
2173 o Bostjan Golob <golob@gimb.org>
2174 * BUG 1046: Fix getpwent_list() so that the username is not
2175 overwritten by other fields.
2178 o Landon Fuller <landonf@opendarwin.org>
2179 * BUG 1232: patch from landonf@opendarwin.org (Landon Fuller)
2180 to fix user/group enumeration on systems whose libc does not
2181 call setgrent() before trying to enumerate users (i.e.
2185 o Steve French <sfrench@us.ibm.com>
2186 * Update mount.cifs to version 1.1.
2187 * Disable dev (MS_NODEV) on user mounts from cifs vfs.
2188 * Fixes to minor security bug in the mount helper.
2189 * Fix credential file mounting for cifs vfs.
2190 * Fix free of incremented pointer in cifsvfs mount helper.
2191 * Fix path canonicalization of the mount target path and help
2192 text display in the cifs mount helper.
2193 * Add missing guest mount option for mount.cifs.
2196 o SATOH Fumiyasu <fumiya@miraclelinux.com>
2197 * BUG 1055; formatting fixes for 'net share'.
2198 * BUG 692: correct truncation of share names and workgroup
2200 * BUG 1088: use strchr_m() for query_host (smbclient -L).
2201 * Patch from to internally count characters correctly.
2204 o Paul Green <paulg@samba.org>
2205 * Update VOS _POSIX_C_SOURCE macro to 200112L.
2206 * Fix bug in configure.ion by moving the first use of
2207 AC_CHECK_HEADERS so it is always executed.
2208 * Fix configure.in to only use $BLDSHARED to select whether to
2209 build static or shared libraries.
2212 o Pat Haywarrd <Pat.Hayward@propero.net>
2213 * Make the session_users list dynamic (max of 128K).
2216 o Cal Heldenbrand <calzplace@yahoo.com>
2217 * Fix for for 'pam_smbpass migrate' functionality.
2220 o Chris Hertel <crh@samba.org>
2221 * fix enumeration of shares 12 characters in length via
2225 o Ulrich Holeschak <ulrich@holeschak.de>
2226 * BUG 932: fix local password change using pam_smbpass
2229 o Krischan Jodies <kj@sernet.de>
2230 * Implement 'net rpc group delete'
2233 o John Klinger <john.klinger@lmco.com>
2234 * Return NSS_SUCCESS once the max number of gids possible
2235 has been found in initgroups() on Solaris.
2236 * BUG 1182: Re-enable the -n 'no cache' option for winbindd.
2239 o Volker Lendecke <vl@samba.org>
2240 * Fix success message for net groupmap modify.
2241 * Fix errors when enumerating members of groups in 'net rpc'.
2242 * Match Windows behavior in samr_lookup_names() by returning
2243 ALIAS(4) when you search in BUILTIN.
2244 * Fix server SAMR code to be able to set alias info for
2246 * Fix duplication of logic when creating groups via smbd.
2247 * Ensure that the HWM values are set correctly after running
2249 * Add 'net rpc group add'.
2250 * Implement 'net groupmap set' and 'net groupmap cleanup'.
2251 * Add 'net rpc group [add|del]mem' for domain groups and aliases.
2252 * Fix wb_delgrpmem (wbinfo -o).
2253 * As a DC we should not reply to lsalookupnames on DCNAME\\user.
2254 * Fix sambaUserWorkstations on a Samba DC.
2255 * Implement wbinfo -k: Have winbind generate an AFS token after
2256 authenticating the user.
2257 * Add expand_msdfs VFS module for providing referrals based on the
2258 the client's IP address.
2259 * Implement client side NETLOGON GetDCName function.
2260 * Fix caching of name->sid lookups.
2261 * Add support in winbindd for expanding nested local groups.
2262 * Fix memleak in winbindd.
2264 * Don't list domain groups from BUILTIN.
2265 * Fix memleak in policy handle utility functions.
2266 * Decrease winbindd startup time by only contacting trusted
2267 domains as necessary.
2268 * Allow winbindd to ask the DC for its domain for a trusted
2270 * Fix Netscape DS schema based on comments from
2271 <thomas.mueller@christ-wasser.de>.
2272 * Correct case where adding a domain user to a XP local group
2273 did a lsalookupname on the user without domain prefix, and
2275 * Fix segfault in winbindd caused by 'wbinfo -a'.
2278 o Herb Lewis <herb@samba.org>
2279 * Fix typo for tag in proto file.
2280 * Add missing #ifdef HAVE_BICONV stuff.
2281 * Truncate Samba's netbios name at the first '.' (not
2285 o Derrell Lipman <Derrell.Lipman@UnwiredUniverse.com>
2286 * Bug fixes and enhancements to libsmbclient library.
2289 o Jianliang Lu <j.lu@tiesse.com>
2290 * Enforce the 'user must change password at next login' flag.
2291 * Decode meaning of 'fields present' flags (improves support
2294 * Don't force an upper case domain name in the ntlmssp code.
2297 o L. Lucius <ib@digicron.com>.
2301 o Jim McDonough <jmcd@us.ibm.com>
2302 * Add versioning support to tdbsam.
2303 * Update the IBM Directory Server schema with the OpenLDAP
2305 * Various decoding fixes to improve usrmgr.exe support.
2306 * Fix statfs redeclaration of statfs struct on ppc
2307 * Implement support for password lockout of Samba domain
2308 controllers and standalone servers.
2309 * Get MungedDial attribute actually working with full TS
2310 strings in it for pdb_ldap.
2311 * BUG 1208 (partial): Improvements for working with expired krb5
2312 tickets in winbindd.
2313 * Use timegm, or our already existing replacement instead of
2314 timezone (spotted by Andrzej Tobola <san@iem.pw.edu.pl>).
2315 * Remove modifyTimestamp from list of our attributes.
2316 * Fix lsalookupnames to check for domain users as well as local
2318 * Merge struct uuid replacement for GUID from trunk.
2319 * BUG 1208: Finish support for handling expired tickets in
2320 winbindd (in conjunction with Guenther Deschner <gd@suse.de>).
2323 o Stefan Metzmacher <metze@samba.org>
2324 * Implement new VERSION schema based on subversion revision
2326 * Add shadow_copy vfs module.
2327 * Fix segault in login_cache support.
2330 o Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
2331 o BUG 979 -- Fix quota display on AIX.
2334 o James Peach <jpeach@sgi.com>
2335 * Correct check for printf() format when using the SGI MIPSPro
2337 * BUG 1038: support backtrace for 'panic action' on IRIX.
2338 * BUG 768: Accept profileing arg to IRIX init script.
2339 * BUG 748: Relax arg parsing to sambalp script (IRIX).
2340 * BUG 758: Fix pdma build.
2341 * Search IRIX ABI paths for libiconv. Based on initial fix from
2345 o Kurt Pfeifle <kpfeifle@danka.de>
2346 * Add example shell script for migrating drivers and printers
2347 from a Windows print server to a Samba print server using
2348 smbclient/rpcclient (examples/printing/VamireDriversFunctions).
2351 o Tim Potter <tpot@samba.org>
2352 * Fix logic bug in tdb non-blocking lock routines when
2354 * BUG 1025: Include sys/acl.h in check for broken nisplus
2356 * BUG 1066: s/printf/d_printf/g in SWAT.
2357 * BUG 1098: rename internal msleep() function to fix build
2359 * BUG 1112: Fix for writable printerdata problem in python bindings.
2360 * BUG 1154: Remove reference to <sys/mman.h> in tdbdump.c.
2361 * BUG 1155: enclose use of fchown() with guards.
2362 * Relicense tdb python module as LGPL.
2365 o Richard Sharpe <rsharpe@samba.org>
2366 * Add support to smbclient for multiple logins on the same
2367 session (based on work by abartlet@samba.org).
2368 * Correct blocking condition in smbd's use of accept() on IRIX.
2369 * Add support for printing out the MAC address on nmblookup.
2372 o Simo Sorce <idra@samba.org>
2373 * Replace unknown_3 with fields_present in SAMR code.
2374 * More length checks in strlcat().
2377 o Andrew Tridgell <tridge@samba.org>
2378 * Rewrote the AIX UESS backend for winbindd.
2379 * Fixed compilation with --enable-dmalloc.
2380 * Change tdb license to LGPL (see source/tdb/tdb.c).
2381 * Force winbindd to use schannel in clients connections to
2385 o Jelmer Vernooij <jelmer@samba.org>
2386 * Fix ETA Calculation when resuming downloads in smbget.
2387 * Add -O (for writing downloaded files to standard out)
2388 based on patch by Bas van Sisseren <bas@dnd.utwente.nl>.
2389 * Fix syntax error in example mysql table
2392 o TAKEDA yasuma <yasuma@miraclelinux.com>
2393 * BUG 900: fix token processing in cmd_symlink, cmd_link,
2394 cmd_chown, cmd_chmod smbclient functions.
2397 o Shiro Yamada <shiro@miraclelinux.com>
2398 * BUG 1129: install image files for SWAT.
2401 --------------------------------------------------
2403 ==============================
2404 Release Notes for Samba 3.0.2a
2406 ==============================
2408 Samba 3.0.2a is a minor patch release for the 3.0.2 code base
2409 to address, in particular, a problem when using pdbedit to
2410 sanitize (--force-initialized-passwords) Samba's tdbsam
2411 backend. This is the latest stable release of Samba. This
2412 is the version that all production Samba servers should be
2413 running for all current bug-fixes.
2415 ******************* Attention! Achtung! Kree! *********************
2417 Beginning with Samba 3.0.2, passwords for accounts with a last
2418 change time (LCT-XXX in smbpasswd, sambaPwdLastSet attribute in
2419 ldapsam, etc...) of zero (0) will be regarded as uninitialized
2420 strings. This will cause authentication to fail for such
2421 accounts. If you have valid passwords that meet this criteria,
2422 you must update the last change time to a non-zero value. If you
2423 do not, then 'pdbedit --force-initialized-passwords' will disable
2424 these accounts and reset the password hashes to a string of X's.
2426 ******************* Attention! Achtung! Kree! *********************
2435 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2436 details. The list of changes per contributor are as follows:
2439 o Jeremy Allison <jra@samba.org>
2440 * Added paranoia checks in parsing code.
2443 o Andrew Bartlett <abartlet@samba.org>
2444 * Ensure that changes to uninitialized passwords in ldapsam
2445 are written to the DIT.
2448 o Gerald (Jerry) Carter <jerry@samba.org>
2449 * Fixed iterator in tdbsam.
2450 * Fix bug that disabled accounts with a valid NT password
2451 hash, but no LanMan hash.
2454 o Steve French <sfrench@us.ibm.com>
2455 * Added missing nosetuid and noexec options.
2458 o Bostjan Golob <golob@gimb.org>
2459 * BUG 1046: Don't overwrite usernames of entries returned
2463 o Sebastian Krahmer <krahmer@suse.de>
2464 * Fixed potential crash bug in NTLMSSP parsing code.
2467 o Tim Potter <tpot@samba.org>
2468 * Fixed logic in tdb_brlock error checking.
2471 o Urban Widmark <urban@teststation.com>
2472 * Set nosuid,nodev flags in smbmnt by default.
2475 --------------------------------------------------
2477 =============================
2478 Release Notes for Samba 3.0.2
2480 =============================
2482 It has been confirmed that previous versions of Samba 3.0 are
2483 susceptible to a password initialization bug that could grant an
2484 attacker unauthorized access to a user account created by the
2485 mksmbpasswd.sh shell script.
2487 The Common Vulnerabilities and Exposures project (cve.mitre.org)
2488 has assigned the name CAN-2004-0082 to this issue.
2490 Samba administrators not wishing to upgrade to the current
2491 version should download the 3.0.2 release, build the pdbedit
2494 root# pdbedit-3.0.2 --force-initialized-passwords
2496 This will disable all accounts not possessing a valid password
2497 (e.g. the password field has been set a string of X's).
2499 Samba servers running 3.0.2 are not vulnerable to this bug
2500 regardless of whether or not pdbedit has been used to sanitize
2503 Some of the more visible bugs in 3.0.1 addressed in the 3.0.2
2506 o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
2507 o Logging onto a Samba domain from Windows XP clients.
2508 o Problems with the %U and %u smb.conf variables in relation to
2509 Windows 9x/ME clients.
2510 o Kerberos failures due to an invalid in memory keytab detection
2512 o Updates to the ntlm_auth tool.
2513 o Fixes for various SMB signing errors.
2514 o Better separation of WINS and DNS queries for domain controllers.
2515 o Issues with nss_winbind FreeBSD and Solaris.
2516 o Several crash bugs in smbd and winbindd.
2517 o Output formatting fixes for smbclient for better compatibility
2518 with scripts based on the 2.2 version.
2527 Parameter Name Action
2528 -------------- ------
2529 ldap replication sleep New
2530 read size removed (unused)
2531 source environment removed (unused)
2537 Please refer to the CVS log for the SAMBA_3_0 branch for complete
2538 details. The list of changes per contributor are as follows:
2540 o Jeremy Allison <jra@samba.org>
2541 * Revert change that broke Exchange clear text samlogons.
2542 * Fix gcc 3.4 warning in MS-DFS code.
2543 * Tidy up of NTLMSSP code.
2544 * Fixes for SMB signing errors
2545 * BUG 815: Workaround NT4 bug to support plaintext
2546 password logins and UNICODE.
2547 * Fix SMB signing bug when copying large files.
2548 * Correct error logic in mkdir_internals() (caused a panic
2549 when combined with --enable-developer).
2550 * BUG 830: Protect against crashes due to bad character
2554 o Petri Asikainen <paca@sci.fi>
2555 * BUG 330, 387:Fix single valued attribute updates when
2556 working with Novell NDS.
2559 o Andrew Bartlett <abartlet@samba.org>
2560 * Correctly handle per-pipe NTLMSSP inside a NULL session.
2561 * Fix segfault in gencache
2562 * Fix early free() of encrypted_session_key.
2563 * Change DC lookup routines to more carefully separate
2564 DNS names (realms) from NetBIOS domain names.
2565 * Add new sid_to_dn() function for internal winbindd use.
2566 * Refactor cli_ds_enum_domain_trusts().
2567 * BUG 707: Implement range retrieval of ADS attributes (based
2568 on work from Volker <vl@samba.org> and Guenther Deschner
2570 * Automatically initialize the signing engine if a session key
2572 * BUG 916: Do not perform a + -> ' ' substitution for squid URL
2573 encoded strings, only form input in SWAT.
2574 * Resets the NTLMSSP state for new negotiate packets.
2575 * Add 2-byte alignments in net_samlogon() queries to parse
2576 odd-length plain text passwords.
2577 * Allow Windows groups with no members in winbindd.
2578 * Allow normal authentication in the absence of a server
2579 generated session key.
2580 * More optimizations for looking up UNIX group lists.
2581 * Clean up error codes and return values for pam_winbindd
2582 and winbindd PAM interface.
2583 * Fix string return values in ntlm_auth tool.
2584 * Fix segfault when 'security = ads' but no realm is defined.
2585 * BUG 722: Allow winbindd to map machine accounts to uids.
2586 * More cleanups for winbindd's find_our_domain().
2587 * More clearly detect whether a domain controller is an NT4
2588 or mixed-mode AD DC (additional bug fixes by jerry & jmcd).
2589 * Increase separation between DNS queries for hosts and queries
2590 for AD domain controllers.
2591 * Include additional NT_STATUS to PAM error mappings.
2592 * Password initialization fixes.
2595 o Justin Baugh <justin.baugh@request.com>
2596 * BUG 948: Implement missing functions required for FreeBSD
2597 nss_winbind support.
2600 o Alexander Bokovoy <ab@samba.org>
2601 * BUG 922: Make sure enable fast path for strlower_m() and
2605 o Luca Bolcioni <Luca.Bolcioni@yacme.com>
2606 * Fix crash when using 'security = server' and 'encrypt
2607 passwords = no' by always initializing the session key.
2610 o Dmitry Butskoj <buc@odusz.elektra.ru>
2611 * Fix for special files being hidden from admins.
2614 o Gerald (Jerry) Carter <jerry@samba.org>
2615 * Fix bug in the lanman session key generation. Caused
2616 "decode_pw: incorrect password length" error messages.
2617 * Save the right case for the located user name in
2618 fill_sam_account(). Fixes %U/%u expansion for win9x clients.
2619 * BUG 897: Add well known rid for pre win2k compatible access
2621 * BUG 887: Correct typo in delete user script example.
2622 * Use short lived TALLOC_CTX* for allocating printer objects
2623 from the print handle cache.
2624 * BUG 912: Fix check for HAVE_MEMORY_KEYTAB.
2625 * Fix several warnings reported by the SUN Forte C compiler.
2626 * Fully control DNS queries for AD DC's using 'name resolve order'.
2627 * BUG 770: Send the SMBjobid for UNIX jobs back to the client.
2628 * BUG 972: Fix segfault in cli_ds_getprimarydominfo().
2629 * BUG 936: fix bind credentials for schannel binds in smbd.
2630 * BUG 446: Fix output of smbclient for better compatibility
2631 with scripts based on the 2.2 version (including Amanda).
2632 * BUG 891, 949: Fedora packaging fixes.
2633 * Fix bug that caused rpcclient to incorrectly retrieve
2634 the SID for a server (this causing all calls that required
2635 this information to fail).
2636 * BUG 977: Don't create a homes share for a user if a static
2637 share already exists by the same name.
2638 * Removed unused smb.conf options.
2639 * Password initialization fixes.
2640 * Set the disable flag for template accounts created by
2642 * Disable any account has no passwords and does not have the
2643 ACB_PWNOTREQ bit set.
2646 o Guenther Deschner <gd@suse.com>
2647 * Install smbwrapper.so should be put into the $(libdir)
2649 * Add the capability to specify the new user password
2650 for "net ads password" on the command line.
2651 * Correctly detect AFS headers on SuSE.
2654 o James Flemer <jflemer@uvm.edu>
2655 * Fix AIX compile bug by linking HAVE_ATTR_LIST to
2656 HAVE_SYS_ATTRIBUTES_H.
2659 o Luke Howard <lukeh@PADL.COM>
2660 * Fix segfault in session setup reply caused by a early free().
2663 o Stoian Ivanov <sdr@bultra.com>
2664 * Implement grepable output for smbclient -L.
2667 o LaMont Jones <lamont@debian.org>
2668 * BUG 225328 (Debian): Correct false failure LFS test that resulted
2669 in _GNU_SOURCE not being defined (thus resulting in strndup()
2673 o Volker Lendecke <vl@samba.org>
2674 * BUG 583: Ensure that user names always contain the short
2675 version of the domain name.
2676 * Fix our parsing of the LDAP uri.
2677 * Don't show the 'afs username map' in the SWAT basic view.
2678 * Fix SMB signing issues in relation to failed NTLMSSP logins.
2679 * BUG 924: Fix return codes in smbtorture harness.
2680 * Always lower-case usernames before handing it to AFS code.
2681 * Add a German translation for SWAT.
2682 * Fix a segfaults in winbindd.
2683 * Fix the user's domain passed to register_vuid() from
2684 reply_spnego_kerberos().
2685 * Add NSS example code in nss_winbind to convert UNIX
2686 id's <-> Windows SIDs.
2687 * Display more descriptive error messages for login via 'net'.
2688 * Fix compiler warning in the net tool.
2689 * Fix length bug when decoding base64 strings.
2690 * Ensure we don't call getpwnam() inside a loop that is iterating
2691 over users with getpwent(). This broke on glibc 2.3.2.
2694 o Herb Lewis <herb@samba.org>
2695 * Fix bit rot in psec.
2698 o Jianliang Lu <j.lu@tiesse.com>
2699 * Ensure we delete the group mapping before calling the delete
2701 * Define well known RID for managing the "Power Users" group.
2702 * BUG 381: check builtin (not local) group SID when updating
2704 * BUG 101: set the SV_TYPE_PRINTQ_SERVER flag in host announcement
2708 o John Klinger <john.klinger@lmco.com>
2709 * Implement initgroups() call in nss_winbind on Solaris.
2712 o Jim McDonough <jmcd@us.ibm.com>
2713 * Fix regression in net rpc join caused by recent changes
2714 to cli_lsa_query_info_policy().
2715 * BUG 964: Fix crash bug in 'net rpc join' using a preexisting
2719 o MORIYAMA Masayuki <moriyama@miraclelinux.com>
2720 * BUG 570: Ensure that configure honors the LDFLAGS variable.
2723 o Stefan Metzmacher <metze@samba.org>
2724 * Implement LDAP rebind sleep patch.
2725 * Revert to 2.2 quota code because of so many broken quota files
2727 * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
2728 XFS_USER_QUOTA -> USRQUOTA
2729 XFS_GROUP_QUOTA -> GRPQUOTA
2730 * Fix disk_free calculation with group quotas.
2731 * Add debug class 'quota' and a lot of DEBUG()'s
2733 * Fix sys_chown() when no chown() is present.
2734 * Add SIGABRT to fault handling in order to catch got a
2735 backtrace if an error occurs the OpenLDAP client libs.
2739 * Allow an existing LDAP machine account to be re-used when
2740 joining an AD domain.
2743 o James Peach <jpeach@sgi.com>
2744 * BUG 889: Change smbd to use pread/pwrite on platforms that
2745 support these calls. Can lead to a significant speed increase.
2748 o Tim Potter <tpot@samba.org>
2749 * BUG 905: Remove POBAD_CC to fix Solaris Forte compiles.
2750 * BUG 924: Fix typo in RW2 torture test.
2753 o Richard Sharpe <rsharpe@samba.org>
2754 * Small fixes to torture.c to cleanup the error handling
2755 and prevent crashes.
2758 o J. Tournier <jerome.tournier@IDEALX.com>
2759 * Small fixes for the smbldap-tool scripts.
2762 o Andrew Tridgell <tridge@samba.org>
2763 * Fix src len check in pull_usc2().
2766 o Jelmer Vernooij <jelmer@samba.org>
2767 * Put functions for generating SQL queries in pdb_sql.c
2768 * Add pgSQL backend (based on patch by Hamish Friedlander)
2769 * BUG 908: Fix -s option to smbcontrol.
2770 * Add smbget utility - a wget-clone for the SMB/CIFS protocol.
2771 * Fix for libnss_wins on IRIX platforms.
2772 * Fix swatdir for --with-fhs.
2775 --------------------------------------------------
2777 =============================
2778 Release Notes for Samba 3.0.1
2780 =============================
2782 Some of the more common bugs in 3.0.0 addressed in the release
2785 o Substitution problems with smb.conf variables.
2786 o Errors in return codes which caused some applications
2787 to fail to open files.
2788 o General Protection Faults on Windows 2000/XP clients
2789 using Samba point-n-print features.
2790 o Several miscellaneous crash bugs.
2791 o Access problems when enumerating group mappings are
2792 stored in an LDAP Directory.
2793 o Several common SWAT bugs when writing changes to
2795 o Internal inconsistencies when 'winbind use default
2801 ----------------------
2803 Parameter Name Action
2804 -------------- ------
2805 hide local users Removed
2806 mangled map Deprecated
2807 mangled stack Removed
2808 passwd chat timeout New
2814 o Change the interface for init_unistr2 to not take a length
2815 but a flags field. We were assuming that
2816 2*strlen(mb_string) == length of ucs2-le string. (bug 480).
2817 o Allow d_printf() to handle strings with escaped quotation
2818 marks since the msg file includes the escape character (bug 489).
2819 o Fix bad html table row termination in SWAT wizard code (bug 413).
2820 o Fix to parse the level-2 strings.
2821 o Fix for "valid users = %S" in [homes]. Fix read/write
2823 o Change AC_CHECK_LIB_EXT to prepend libraries instead of append.
2824 This is the same way AC_CHECK_LIB works (bug 508).
2825 o Testparm output fixes for clarity.
2826 o Fix broken wins hook functionality -- i18n bug (bug 528).
2827 o Take care of condition where DOS and NT error codes must differ.
2828 o Default to using only built-in charsets when a working iconv
2829 implementation cannot be located.
2830 o Wrap internals of sys_setgroups() so the sys_XX() call can
2831 be done unconditionally (bug 550).
2832 o Remove duplicate smbspool link on SWAT's front page (bug 541).
2833 o Save and restore CFLAGS before/after AC_PROG_CC. Ensures that
2834 --enable-debug=[yes|no] works correctly.
2835 o Allow ^C to interrupt smbpasswd if using our getpass
2836 (e.g. smbpasswd command).
2837 o Support signing only on RPC's (bug 167).
2838 o Correct bug that prevented Excel 2000 clients from opening
2839 files marked as read-only.
2840 o Portability fix bugs 546 - 549).
2841 o Explicitly initialize the value of AR for vendor makes that don't
2842 do this (e.g. HPUX 11). (bug 552).
2843 o More i18n fixes for SWAT (bug 413).
2844 o Change the cwd before the postexec script to ensure that a
2845 umount will succeed.
2846 o Correct double free that caused winbindd to crash when a DC
2847 is rebooted (bug 437).
2848 o Fix incorrect mode sum (bug 562).
2849 o Canonicalize SMB_INFO_ALLOCATION in the same was as
2850 SMB_FS_FULL_SIZE_INFORMATION (bug 564).
2851 o Add script to generate *msg files.
2852 o Add Dutch SWAT translation file.
2853 o Make sure to call get_user_groups() with the full winbindd
2854 name for a user if he/she has one (bug 406).
2855 o Fix up error code returns from Samba4 tester. Ensure invalid
2856 paths are validated the same way.
2857 o Allow Samba3 to pass the Samba4 RAW-READ tests.
2858 o Refuse to configure if --with-expsam=$BACKEND was used but no
2859 libraries were found for $BACKEND.
2860 o Move sysquotas autoconf tests to a separate file.
2861 o Match W2K w.r.t. writelock and writeclose. Samba4 torture
2863 o Make sure that the files that contain the static_init_$subsystem;
2864 macro get recompiled after configure by removing the object
2866 o Ensure canceling a blocking lock returns the correct error
2868 o Match Samba 2.2 behavior; make ACB_NORMAL the default ACB value.
2869 o Updated Japanese welcome file in SWAT.
2870 o Fix to nt-time <-> unix-time functions reversible.
2871 o Ensure that winbindd uses the the escaped DN when querying
2873 o Fix portability issues when compiling (bug 505, 550)
2874 o Compile fix for tdbbackup when Samba needs to override
2875 non-C99 compliant implementations of snprintf().
2876 o Use @PICSUFFIX@ instead of .po in Makefile.in (bug 574).
2877 o Make sure we break out of samsync loop on error.
2878 o Ensure error code path doesn't free unmalloc()'d memory
2880 o Add configure test for krb5_keytab_entry keyblock vs key
2883 o Modified testparm so that all output so all debug output goes
2884 to stderr, and all file processing goes to stdout.
2885 o Fix error return code for BUFFER_TOO_SMALL in smbcacls
2887 o Fix "NULL dest in safe_strcpy()" log message by ensuring that
2888 we have a devmode before copying a string to the devicename.
2889 o Support mapping REALM.COM\user to a local user account (without
2890 running winbindd) for compatibility with 2.2.x release.
2891 o Ensure we don't use mmap() on blacklisted systems.
2892 o fixed a number of bugs and memory leaks in the AIX
2894 o Call initgroups() in SWAT before becomming the user so that
2895 secondary group permissions can be used when writing to
2897 o Fix signing problems when reverse connecting back to a
2898 client for printer notify
2899 o Fix signing problems caused by a miss-sequence bug.
2900 o Missing map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
2901 Fixes NEXUS tools running on Win9x clients (bug 64).
2902 o Don't leave the domain field uninitialized in cli_lsa.c if some
2903 SID could not be mapped.
2904 o Fix segfault in mount.cifs helper when there is no options
2905 specified during mount.
2906 o Change the \n after the password prompt to go to tty instead
2907 of stdout (bug 668).
2908 o Stop net -P from prompting for machine account password (bug 451).
2909 o Change in behavior to Not only change the effective uid but also
2910 the real uid when becoming unprivileged.
2911 o Cope with Exchange 5.5 cleartext pop password auth.
2912 o New files for support of initshutdown pipe. Win2k doesn't
2913 respond properly to all requests on the winreg pipe, so we need
2914 to handle this new pipe (bug 534).
2915 o Added more va_copy() checks in configure.in.
2916 o Include fixes for libsmbclient build problems.
2917 o Missing UNIX -> DOS codepage conversion in lanman.c.
2918 o Allow DFMS-S filenames can now have arbitrary case (bug 667).
2919 o Parameterize the listen backlog in smbd and make it larger by
2920 default. A backlog of 5 is way too small these days.
2921 o Check for an invalid fid before dereferencing the fsp pointer
2923 o Remove invalid memory frees and return codes in pdb_ldap.c.
2924 o Prompt for password when invoking --set-auth-user and no
2926 o Bind the nmbd sending socket to the 'socket address'.
2927 o Re-order link command for smbd, rpcclient and smbpasswd to ensure
2928 $LDFLAGS occurs before any library specification (bug 661).
2929 o Fix large number of printf() calls for 64-bit size_t.
2930 o Fix AC_CHECK_MEMBER so that SLES8 does correctly finds the
2931 keyblock in the krb5 structs.
2932 o Remove #include <compat.h> in hopes to avoid problems with
2933 apache header files.
2934 o Correct winbindd build problems on HP-UX 11.
2935 o Lowercase netgroups lookups (bug 703).
2936 o Use the actual size of the buffer in strftime instead of a made
2937 up value which just happens to be less than sizeof(fstring).
2939 o Add ldaplibs to pdbedit link line (bug 651).
2940 o Fix crash bug in smbclient completion (bug 659).
2941 o Fix packet length for browse list reply (bug 771).
2942 o Fix coredump in cli_get_backup_list().
2943 o Make sure that we expand %N (bug 612).
2944 o Allow rpcclient adddriver command to specify printer driver
2946 o Compile tdbdump by default.
2947 o Apply patches to fix iconv detection for FreeBSD.
2948 o Do not allow the 'guest account' to be added to a passdb backend
2949 using smbpasswd or pdbedit (bug 624).
2950 o Save LDFLAGS during iconv detection (bug 57).
2951 o Run krb5 logins through the username map if the winbindd
2952 lookup fails (bug 698).
2953 o Add const for lp_set_name_resolve_order() to avoid compiler
2955 o Add support for the %i macro in smb.conf to stand in for the for
2956 the local IP address to which a client connected.
2957 o Allow winbindd to match local accounts to domain SID when
2958 'winbind trusted domains only = yes' (bug 680).
2959 o Remove code in idmap_ldap that searches the user suffix and group
2960 suffix. It's not needed and provides inconsistent functionality
2961 from the tdb backend.
2962 o Patch to handle munged dial string for Windows 2000 TSE.
2963 Thanks to Gaz de France, Direction de la Recherche, Service
2964 Informatique Métier for their supporting this work by Aurelien
2965 Degrémont <adegremont@idealx.com>.
2966 o Correct the "smbldap_open: cannot access when not root error"
2967 messages when looking up group information (bug 281).
2968 o Skip over the winbind separator when looking up a user.
2969 This fixes the bug that prevented local users from
2970 matching an AD user when not running winbindd (bug 698).
2971 o Fix a problem with configure on *BSD systems. Make sure
2972 we add -liconv etc to LDFLAGS.
2973 o Fix core dump bug when "security = server" and the authentication
2975 o Correct crash bug due to an empty munged dial string.
2976 o Show files locked by a specific user (smbstatus -u 'user')
2978 o Fix bug preventing print jobs from display in the queue
2979 monitor used by Windows NT and later clients (bug 660).
2980 o Fix several reported problems with point-n-print from
2981 Windows 2000/XP clients due to a bug in the EnumPrinterDataEx()
2982 reply (bug 338, 527 & 643).
2983 o Fix a handful of potential memory leaks in the LDAP code used
2984 by ldapsam[_compat] and the LDAP idmap backend.
2985 o Fix for pdbedit error code returns (bug 763).
2986 o Make sure we only enumerate group mapping entries (not
2987 /etc/group) even when doing local aliases.
2988 o Relax check on the pipe name in a dce/rpc bind response to work
2989 around issues with establishing trusts to a Windows 2003 domain.
2990 o Ensure we mangle names ending in '.' in hash2 mangling method.
2991 o Correct parsing issues with munged dial string.
2992 o Fix bugs in quota support for XFS.
2993 o Add a cleaner method for applications that need to provide
2994 name->SID mappings to do this via NSS rather than having to
2995 know the winbindd pipe protocol.
2996 o Adds a variant of the winbindd_getgroups() call called
2997 winbindd_getusersids() that provides direct SID->SIDs listing of
2998 a users supplementary groups. This is enough to allow non-Samba
2999 applications to do ACL checking.
3000 o Make sure we don't append the 'ldap suffix' when writing out the
3001 'ldap XXX suffix' values in SWAT (bug 328).
3002 o Fix renames across file systems.
3003 o Ensure that items in a list of strings containing whitespace are
3004 written out surrounded by single quotes. This means that both
3005 double and single quotes are now used to surround strings in
3007 o Enable SWAT to correctly determine if winbindd is running (bug
3009 o Include WWW-Authenticate field in 401 response for bad auth
3011 o Add support for NTLM2 (NTLMv2 session security).
3012 o Add support for variable-length session keys.
3013 o More privilege fixes for group enumeration in LDAP (bug 281).
3014 o Use the dns name (or IP) as the originating client name when
3015 using CUPS (bug 467).
3016 o Fix various SMB signing bugs.
3017 o Fix ACL propagation on a DFS root (bug 263).
3018 o Disable NTLM2 for RPC pipes.
3019 o Allow the client to specify the NTLM2 flags got NTLMSSP
3021 o Change the name of the job passed off to cups from "Test Page"
3022 to "smbprn.00000033 Test Page" so that we can get the smb
3023 jobid back. This allow users to delete jobs with cups printing
3024 backend (partial work on bug 770).
3025 o Fix build of winbindd with static pdb modules.
3026 o Retrieve the correct ACL group bits if the file has an ACL
3028 o Implement "net rpc group members": Get members of a domain group
3029 in human-readable format.
3030 o Add MacOSX (Darwin) specific charset module code.
3031 o Use samr_dispinfo(level == 1) for enumerating domain users so we
3032 can include the full name in gecos field (bug 587).
3033 o Add support for winbind's NSS library on FeeeBSD 5.1 (bug 797).
3034 o Implement 'net rpc group list [global|local|builtin]*' for a
3035 select listing of the respective user databases.
3036 o Don't automatically set NT status code flag unless client tells
3038 o Add 'net status [sessions|shares] [parseable]'.
3039 o Don't mistake pre-existing UNIX jobs for smb jobs (remainder of
3041 o Add 'Replicator' and 'RAS Servers' to list of builtin SIDs
3043 o Fix inverted logic in hosts allow/deny checks caused by
3044 s/strcmp/strequal/ (bug 846).
3045 o Implement correct version SamrRemoveSidForeignDomain() (bug 252).
3046 o Fix typo in 'hash' mangling algorithm.
3047 o Support munged dial for ldapsam (bug 800).
3048 o Fix process_incoming_data() to return the number of bytes handled
3049 this call whether we have a complete PDU or not; fixes bug
3050 with multiple PDU request rpc's broken over SMBwriteX calls
3052 o Fix incorrect smb flags2 for connections to pre-NT servers
3053 (causes smbclient to fail to OS2 for example) (bug 821).
3054 o Update version string in smbldap-tools Makefile to 0.8.2.
3055 o Correct a problem with "net rpc vampire" mis-parsing the
3056 alias member info reply.
3057 o Ensure the ${libdir} is created by the installclientlib script.
3058 o Fix detection of Windows 2003 client architecture in the smb.conf
3060 o Ensure that smbd calls the add user script for a missing UNIX
3061 user on kerberos auth call (bug 445).
3062 o Fix bugs in hosts allow/deny when using a mismatched
3063 network/netmask pair.
3064 o Protect alloc_sub_basic() from crashing when the source string
3065 is NULL (partial work on bug 687).
3066 o Fix spinlocks on IRIX.
3067 o Corrected some bad destination paths when running "configure
3069 o Add packaging files for Fedora Core 1.
3070 o Correct bug in SWAT install script for non-english languages.
3071 o Support character set ISO-8859-1 internally (bug 558).
3072 o Fixed more LDAP access errors when looking up group mappings
3074 o Fix UNISTR2 length bug in LsaQueryInfo(3) that caused SID
3075 resolution to fail on local files on on domain members
3077 o Fix uninitialized variable in passdb.c.
3078 o Fix formal parameter type in get_static() in nsswitch/wins.c.
3079 o Fix problem mounting directories when mount.cifs is installed
3080 with the setuid bit on.
3081 o Fix bug that prevent --mandir from overriding the defaults
3082 given in the --with-fhs macro.
3083 o Fix bug in in-memory Kerberos keytab detection routines
3088 ######################################################################
3090 The original 3.0.0 release notes follow
3091 =======================================
3092 WHATS NEW IN Samba 3.0.0
3094 =======================================
3100 1) Active Directory support. Samba 3.0 is now able to
3101 join a ADS realm as a member server and authenticate
3102 users using LDAP/Kerberos.
3104 2) Unicode support. Samba will now negotiate UNICODE on the wire
3105 and internally there is now a much better infrastructure for
3106 multi-byte and UNICODE character sets.
3108 3) New authentication system. The internal authentication system
3109 has been almost completely rewritten. Most of the changes are
3110 internal, but the new auth system is also very configurable.
3112 4) New default filename mangling system.
3114 5) A new "net" command has been added. It is somewhat similar to
3115 the "net" command in windows. Eventually we plan to replace
3116 numerous other utilities (such as smbpasswd) with subcommands
3119 6) Samba now negotiates NT-style status32 codes on the wire. This
3120 improves error handling a lot.
3122 7) Better Windows 2000/XP/2003 printing support including publishing
3123 printer attributes in active directory.
3125 8) New loadable module support for passdb backends and character
3128 9) New default dual-daemon winbindd support for better performance.
3130 10) Support for migrating from a Windows NT 4.0 domain to a Samba
3131 domain and maintaining user, group and domain SIDs.
3133 11) Support for establishing trust relationships with Windows NT 4.0
3136 12) Initial support for a distributed Winbind architecture using
3137 an LDAP directory for storing SID to uid/gid mappings.
3139 13) Major updates to the Samba documentation tree.
3141 14) Full support for client and server SMB signing to ensure
3142 compatibility with default Windows 2003 security settings.
3144 15) Improvement of ACL mapping features based on code donated by
3145 Andreas Grünbacher.
3148 Plus lots of other improvements!
3151 Additional Documentation
3152 ------------------------
3154 Please refer to Samba documentation tree (included in the docs/
3155 subdirectory) for extensive explanations of installing, configuring
3156 and maintaining Samba 3.0 servers and clients. It is advised to
3157 begin with the Samba-HOWTO-Collection for overviews and specific
3158 tasks (the current book is up to approximately 400 pages) and to
3159 refer to the various man pages for information on individual options.
3161 We are very glad to be able to include the second edition of
3162 "Using Samba" by Jay Ts, Robert Eckstein, and David Collier-Brown
3163 (O'Reilly & Associates) in this release. The book is available
3164 on-line at http://samba.org/samba/docs/ and is included with
3165 the Samba Web Administration Tool (SWAT). Thanks to the authors and
3166 publisher for making "Using Samba" under the GNU Free Documentation
3170 ######################################################################
3171 Upgrading from a previous Samba 3.0 beta
3172 ########################################
3174 Beginning with Samba 3.0.0beta3, the RID allocation functions
3175 have been moved into winbindd. Previously these were handled
3176 by each passdb backend. This means that winbindd must be running
3177 to automatically allocate RIDs for users and/or groups. Otherwise,
3178 smbd will use the 2.2 algorithm for generating new RIDs.
3180 If you are using 'passdb backend = tdbsam' with a previous Samba
3181 3.0 beta release (or possibly alpha), it may be necessary to
3182 move the RID_COUNTER entry from /usr/local/samba/private/passdb.tdb
3183 to winbindd_idmap.tdb. To do this:
3185 1) Ensure that winbindd_idmap.tdb exists (launch winbindd at least
3187 2) build tdbtool by executing 'make tdbtool' in the source/tdb/
3189 3) run: (note that 'tdb>' is the tool's prompt for input)
3191 root# ./tdbtool /usr/local/samba/private/passdb.tdb
3192 tdb> show RID_COUNTER
3196 [000] 0A 52 00 00 .R.
3198 tdb> move RID_COUNTER /usr/local/samba/var/locks/winbindd_idmap.tdb
3202 If you are using 'passdb backend = ldapsam', it will be necessary to
3203 store idmap entries in the LDAP directory as well (i.e. idmap backend
3204 = ldap). Refer to the 'net idmap' command for more information on
3205 migrating SID<->UNIX id mappings from one backend to another.
3207 If the RID_COUNTER record does not exist, then these instructions are
3208 unneccessary and the new RID_COUNTER record will be correctly generated
3213 ########################
3214 Upgrading from Samba 2.2
3215 ########################
3217 This section is provided to help administrators understand the details
3218 involved with upgrading a Samba 2.2 server to Samba 3.0.
3224 Many of the options to the GNU autoconf script have been modified
3225 in the 3.0 release. The most noticeable are:
3227 * removal of --with-tdbsam (is now included by default; see section
3228 on passdb backends and authentication for more details)
3230 * --with-ldapsam is now on used to provided backward compatible
3231 parameters for LDAP enabled Samba 2.2 servers. Refer to the passdb
3232 backend and authentication section for more details
3234 * inclusion of non-standard passdb modules may be enabled using
3235 --with-expsam. This includes an XML backend and a mysql backend.
3237 * removal of --with-msdfs (is now enabled by default)
3239 * removal of --with-ssl (no longer supported)
3241 * --with-utmp now defaults to 'yes' on supported systems
3243 * --with-sendfile-support is now enabled by default on supported
3250 This section contains a brief listing of changes to smb.conf options
3251 in the 3.0.0 release. Please refer to the smb.conf(5) man page for
3252 complete descriptions of new or modified parameters.
3254 Removed Parameters (order alphabetically):
3257 * alternate permissions
3260 * code page directory
3262 * domain admin group
3263 * domain guest group
3264 * force unknown acl user
3270 * printer driver file
3271 * printer driver location
3273 * source environment
3281 New Parameters (new parameters have been grouped by function):
3285 * abort shutdown script
3288 User and Group Account Management
3289 ---------------------------------
3291 * add machine script
3292 * add user to group script
3293 * algorithmic rid base
3294 * delete group script
3295 * delete user from group script
3297 * set primary group script
3303 * passwd chat timeout
3307 * client lanman auth
3308 * client NTLMv2 auth
3314 * paranoid server security
3323 * hide special files
3324 * hide unwriteable files
3326 * kernel change notify
3336 * max reported print jobs
3338 UNICODE and Character Sets
3339 --------------------------
3345 SID to uid/gid Mappings
3346 -----------------------
3350 * winbind enable local accounts
3351 * winbind trusted domains only
3352 * template primary group
3353 * enable rid algorithm
3360 * ldap machine suffix
3362 * ldap replication sleep
3365 General Configuration
3366 ---------------------
3370 Modified Parameters (changes in behavior):
3372 * encrypt passwords (enabled by default)
3373 * mangling method (set to 'hash2' by default)
3376 * restrict anonymous (integer value)
3377 * security (new 'ads' value)
3378 * strict locking (enabled by default)
3379 * unix extensions (enabled by default)
3380 * winbind cache time (increased to 5 minutes)
3381 * winbind uid (deprecated in favor of 'idmap uid')
3382 * winbind gid (deprecated in favor of 'idmap gid')
3388 This section contains brief descriptions of any new databases
3389 introduced in Samba 3.0. Please remember to backup your existing
3390 ${lock directory}/*tdb before upgrading to Samba 3.0. Samba will
3391 upgrade databases as they are opened (if necessary), but downgrading
3392 from 3.0 to 2.2 is an unsupported path.
3394 Name Description Backup?
3395 ---- ----------- -------
3396 account_policy User policy settings yes
3397 gencache Generic caching db no
3398 group_mapping Mapping table from Windows yes
3399 groups/SID to unix groups
3400 winbindd_idmap ID map table from SIDS to UNIX yes
3402 namecache Name resolution cache entries no
3403 netsamlogon_cache Cache of NET_USER_INFO_3 structure no
3404 returned as part of a successful
3405 net_sam_logon request
3406 printing/*.tdb Cached output from 'lpq no
3407 command' created on a per print
3409 registry Read-only samba registry skeleton no
3410 that provides support for exporting
3411 various db tables via the winreg RPCs
3417 The following issues are known changes in behavior between Samba 2.2 and
3418 Samba 3.0 that may affect certain installations of Samba.
3420 1) When operating as a member of a Windows domain, Samba 2.2 would
3421 map any users authenticated by the remote DC to the 'guest account'
3422 if a uid could not be obtained via the getpwnam() call. Samba 3.0
3423 rejects the connection as NT_STATUS_LOGON_FAILURE. There is no
3424 current work around to re-establish the 2.2 behavior.
3426 2) When adding machines to a Samba 2.2 controlled domain, the
3427 'add user script' was used to create the UNIX identity of the
3428 machine trust account. Samba 3.0 introduces a new 'add machine
3429 script' that must be specified for this purpose. Samba 3.0 will
3430 not fall back to using the 'add user script' in the absence of
3431 an 'add machine script'
3434 ######################################################################
3435 Passdb Backends and Authentication
3436 ##################################
3438 There have been a few new changes that Samba administrators should be
3439 aware of when moving to Samba 3.0.
3441 1) encrypted passwords have been enabled by default in order to
3442 inter-operate better with out-of-the-box Windows client
3443 installations. This does mean that either (a) a samba account
3444 must be created for each user, or (b) 'encrypt passwords = no'
3445 must be explicitly defined in smb.conf.
3447 2) Inclusion of new 'security = ads' option for integration
3448 with an Active Directory domain using the native Windows
3449 Kerberos 5 and LDAP protocols.
3451 MIT kerberos 1.3.1 supports the ARCFOUR-HMAC-MD5 encryption
3452 type which is neccessary for servers on which the
3453 administrator password has not been changed, or kerberos-enabled
3454 SMB connections to servers that require Kerberos SMB signing.
3455 Besides this one difference, either MIT or Heimdal Kerberos
3456 distributions are usable by Samba 3.0.
3459 Samba 3.0 also includes the possibility of setting up chains
3460 of authentication methods (auth methods) and account storage
3461 backends (passdb backend). Please refer to the smb.conf(5)
3462 man page for details. While both parameters assume sane default
3463 values, it is likely that you will need to understand what the
3464 values actually mean in order to ensure Samba operates correctly.
3466 The recommended passdb backends at this time are
3468 * smbpasswd - 2.2 compatible flat file format
3469 * tdbsam - attribute rich database intended as an smbpasswd
3470 replacement for stand alone servers
3471 * ldapsam - attribute rich account storage and retrieval
3472 backend utilizing an LDAP directory.
3473 * ldapsam_compat - a 2.2 backward compatible LDAP account
3476 Certain functions of the smbpasswd(8) tool have been split between the
3477 new smbpasswd(8) utility, the net(8) tool, and the new pdbedit(8)
3478 utility. See the respective man pages for details.
3481 ######################################################################
3485 This section outlines the new features affecting Samba / LDAP
3491 A new object class (sambaSamAccount) has been introduced to replace
3492 the old sambaAccount. This change aids us in the renaming of
3493 attributes to prevent clashes with attributes from other vendors.
3494 There is a conversion script (examples/LDAP/convertSambaAccount) to
3495 modify and LDIF file to the new schema.
3499 $ ldapsearch .... -b "ou=people,dc=..." > sambaAcct.ldif
3500 $ convertSambaAccount --sid=<Domain SID> \
3501 --input=sambaAcct.ldif --output=sambaSamAcct.ldif \
3502 --changetype=[modify|add]
3504 The <DOM SID> can be obtained by running 'net getlocalsid
3505 <DOMAINNAME>' on the Samba PDC as root. The changetype determines
3506 the format of the generated LDIF output--either create new entries
3507 or modify existing entries.
3509 The old sambaAccount schema may still be used by specifying the
3510 "ldapsam_compat" passdb backend. However, the sambaAccount and
3511 associated attributes have been moved to the historical section of
3512 the schema file and must be uncommented before use if needed.
3513 The 2.2 object class declaration for a sambaAccount has not changed
3514 in the 3.0 samba.schema file.
3516 Other new object classes and their uses include:
3518 * sambaDomain - domain information used to allocate rids
3519 for users and groups as necessary. The attributes are added
3520 in 'ldap suffix' directory entry automatically if
3521 an idmap uid/gid range has been set and the 'ldapsam'
3522 passdb backend has been selected.
3524 * sambaGroupMapping - an object representing the
3525 relationship between a posixGroup and a Windows
3526 group/SID. These entries are stored in the 'ldap
3527 group suffix' and managed by the 'net groupmap' command.
3529 * sambaUnixIdPool - created in the 'ldap idmap suffix' entry
3530 automatically and contains the next available 'idmap uid' and
3533 * sambaIdmapEntry - object storing a mapping between a
3534 SID and a UNIX uid/gid. These objects are created by the
3535 idmap_ldap module as needed.
3537 * sambaSidEntry - object representing a SID alone, as a Structural
3538 class on which to build the sambaIdmapEntry.
3541 New Suffix for Searching
3542 ------------------------
3544 The following new smb.conf parameters have been added to aid in directing
3545 certain LDAP queries when 'passdb backend = ldapsam://...' has been
3548 * ldap suffix - used to search for user and computer accounts
3549 * ldap user suffix - used to store user accounts
3550 * ldap machine suffix - used to store machine trust accounts
3551 * ldap group suffix - location of posixGroup/sambaGroupMapping entries
3552 * ldap idmap suffix - location of sambaIdmapEntry objects
3554 If an 'ldap suffix' is defined, it will be appended to all of the
3555 remaining sub-suffix parameters. In this case, the order of the suffix
3556 listings in smb.conf is important. Always place the 'ldap suffix' first
3559 Due to a limitation in Samba's smb.conf parsing, you should not surround
3560 the DN's with quotation marks.
3566 Samba 3.0 supports an ldap backend for the idmap subsystem. The
3567 following options would inform Samba that the idmap table should be
3568 stored on the directory server onterose in the "ou=idmap,dc=plainjoe,
3573 idmap backend = ldap:ldap://onterose/
3574 ldap idmap suffix = ou=idmap,dc=plainjoe,dc=org
3575 idmap uid = 40000-50000
3576 idmap gid = 40000-50000
3578 This configuration allows winbind installations on multiple servers to
3579 share a uid/gid number space, thus avoiding the interoperability problems
3580 with NFS that were present in Samba 2.2.
3584 ######################################################################
3585 Trust Relationships and a Samba Domain
3586 ######################################
3588 Samba 3.0.0beta2 is able to utilize winbindd as the means of
3589 allocating uids and gids to trusted users and groups. More
3590 information regarding Samba's support for establishing trust
3591 relationships can be found in the Samba-HOWTO-Collection included
3592 in the docs/ directory of this release.
3594 First create your Samba PDC and ensure that everything is
3595 working correctly before moving on the trusts.
3597 To establish Samba as the trusting domain (named SAMBA) from a Windows NT
3598 4.0 domain named WINDOWS:
3600 1) create the trust account for SAMBA in "User Manager for Domains"
3601 2) connect the trust from the Samba domain using
3602 'net rpc trustdom establish GLASS'
3604 To create a trustlationship with SAMBA as the trusted domain:
3606 1) create the initial trust account for GLASS using
3607 'smbpasswd -a -i GLASS'. You may need to create a UNIX
3608 account for GLASS$ prior to this step (depending on your
3609 local configuration).
3610 2) connect the trust from a WINDOWS DC using "User Manager
3613 Now join winbindd on the Samba PDC to the SAMBA domain using
3614 the normal steps for adding a Samba server to an NT4 domain:
3615 (note that smbd & nmbd must be running at this point)
3617 root# net rpc join -U root
3618 Password: <enter root password from smbpasswd file here>
3620 Start winbindd and test the join with 'wbinfo -t'.
3622 Now test the trust relationship by connecting to the SAMBA DC
3623 (e.g. POGO) as a user from the WINDOWS domain:
3625 $ smbclient //pogo/netlogon -U Administrator -W WINDOWS
3628 Now connect to the WINDOWS DC (e.g. CRYSTAL) as a Samba user:
3630 $ smbclient //crystal/netlogon -U root -W WINDOWS
3633 ######################################################################
3637 Beginning with Samba3.0.0beta3, winbindd has been given new account
3638 manage functionality equivalent to the 'add user script' family of
3639 smb.conf parameters. The idmap design has also been changed to
3640 centralize control of foreign SID lookups and matching to UNIX
3644 Brief Description of Changes
3645 ----------------------------
3647 1) The sid_to_uid() family of functions (smbd/uid.c) have been
3648 reverted to the 2.2.x design. This means that when resolving a
3649 SID to a UID or similar mapping:
3651 a) First consult winbindd
3652 b) perform a local lookup only if winbindd fails to
3653 return a successful answer
3655 There are some variations to this, but these two rules generally
3658 2) All idmap lookups have been moved into winbindd. This means that
3659 a server must run winbindd (and support NSS) in order to achieve
3660 any mappings of SID to dynamically allocated UNIX ids. This was
3661 a conscious design choice.
3663 3) New functions have been added to winbindd to emulate the 'add user
3664 script' family of smbd functions without requiring that external
3665 scripts be defined. This functionality is controlled by the 'winbind
3666 enable local accounts' smb.conf parameter (enabled by default).
3668 However, this account management functionality is only supported
3669 in a local tdb (winbindd_idmap.tdb). If these new UNIX accounts
3670 must be shared among multiple Samba servers (such as a PDC and BDCs),
3671 it will be necessary to define your own 'add user script', et. al.
3672 programs that place the accounts/groups in some form of directory
3673 such as NIS or LDAP. This requirement was deemed beyond the scope
3674 of winbind's account management functions. Solutions for
3675 distributing UNIX system information have been deployed and tested
3676 for many years. We saw no need to reinvent the wheel.
3678 4) A member of a Samba controlled domain running winbindd is now able
3679 to map domain users directly onto existing UNIX accounts while still
3680 automatically creating accounts for trusted users and groups. This
3681 behavior is controlled by the 'winbind trusted domains only' smb.conf
3682 parameter (disabled by default to provide 2.2.x winbind behavior).
3684 5) Group mapping support is wrapped in the local_XX_to_XX() functions
3685 in smbd/uid.c. The reason that group mappings are not included
3686 in winbindd is because the purpose of Samba's group map is to
3687 match any Windows SID with an existing UNIX group. These UNIX
3688 groups can be created by winbindd (see next section), but the
3689 SID<->gid mapping is retreived by smbd, not winbindd.
3695 * security = server running winbindd to allocate accounts on demand
3697 * Samba PDC running winbindd to handle the automatic creation of UNIX
3698 identities for machine trust accounts
3700 * Automtically creating UNIX user and groups when migrating a Windows NT
3701 4.0 PDC to a Samba PDC. Winbindd must be running when executing
3702 'net rpc vampire' for this to work.
3705 ######################################################################
3709 * There are several bugs currently logged against the 3.0 codebase
3710 that affect the use of NT 4.0 GUI domain management tools when run
3711 against a Samba 3.0 PDC. This bugs should be released in an early
3714 Please refer to https://bugzilla.samba.org/ for a current list of bugs
3715 filed against the Samba 3.0 codebase.
3718 ######################################################################
3719 Reporting bugs & Development Discussion
3720 #######################################
3722 Please discuss this release on the samba-technical mailing list or by
3723 joining the #samba-technical IRC channel on irc.freenode.net.
3725 If you do report problems then please try to send high quality
3726 feedback. If you don't provide vital information to help us track down
3727 the problem then you will probably be ignored.
3729 A new bugzilla installation has been established to help support the
3730 Samba 3.0 community of users. This server, located at
3731 https://bugzilla.samba.org/, has replaced the older jitterbug server
3732 previously located at http://bugs.samba.org/.