7044174 Move samba(s) and its dependencies to Userland.
7025146 Update samba to 3.5.8 (bugfix release)
7011577 Impossible to rename a file on a ZFS filesystem when installing 146364-01 (Samba 3.5.5)
7011579 Request to add shadow_copy2 in the next Samba patch or Solaris Samba package
7013885 User cannot delete a file on a share-se_access_check algorithmreturns access (2) denied
7010973 GPLv3 licensing issue with pkg:/library/samba/libsmbclient
7031097 Mozilla LDAP C-SDK (project private library for Samba) should be moved to Userland prior of Samba.
--- samba-3.0.37/source/passdb/login_cache.c Thu Mar 11 04:54:39 2010
+++ samba-3.0.37-new/source/passdb/login_cache.c Wed Mar 17 04:37:18 2010
@@ -68,6 +68,7 @@
{
TDB_DATA keybuf, databuf;
LOGIN_CACHE *entry;
+ uint16_t acct_ctrl;
if (!login_cache_init())
return NULL;
@@ -95,7 +96,7 @@
}
if (tdb_unpack (databuf.dptr, databuf.dsize, SAM_CACHE_FORMAT,
- &entry->entry_timestamp, &entry->acct_ctrl,
+ &entry->entry_timestamp, &acct_ctrl,
&entry->bad_password_count,
&entry->bad_password_time) == -1) {
DEBUG(7, ("No cache entry found\n"));
@@ -106,6 +107,12 @@
SAFE_FREE(databuf.dptr);
+ /*
+ * Deal with 32-bit acct_ctrl. In the tdb we only store 16-bit
+ * ("w" in SAM_CACHE_FORMAT). Fixes bug 7253.
+ */
+ entry->acct_ctrl = acct_ctrl;
+
DEBUG(5, ("Found login cache entry: timestamp %12u, flags 0x%x, count %d, time %12u\n",
(unsigned int)entry->entry_timestamp, entry->acct_ctrl,
entry->bad_password_count, (unsigned int)entry->bad_password_time));