Changeset 32
- Timestamp:
- Apr 26, 2007, 12:19:41 PM (18 years ago)
- Location:
- trunk/samba
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/samba/REVISION ¶
r30 r32 3 3 Repository Root: svn+ssh://svn.samba.org/home/svn/samba 4 4 Repository UUID: 0c0555d6-39d7-0310-84fc-f1cc0bd64818 5 Revision: 22 4505 Revision: 22512 6 6 Node Kind: directory 7 7 Schedule: normal 8 8 Last Changed Author: jerry 9 Last Changed Rev: 22 44810 Last Changed Date: 2007-04-2 2 05:10:29 -0500 (Sun, 22Apr 2007)9 Last Changed Rev: 22512 10 Last Changed Date: 2007-04-25 06:19:12 -0500 (Wed, 25 Apr 2007) 11 11 Properties Last Updated: 2007-04-21 17:48:20 -0500 (Sat, 21 Apr 2007) 12 12 -
TabularUnified trunk/samba/WHATSNEW.txt ¶
r30 r32 1 1 ================================= 2 Release Notes for Samba 3.0.25rc 23 Apr 2 2, 20072 Release Notes for Samba 3.0.25rc3 3 Apr 25, 2007 4 4 ================================= 5 5 6 This is the second release candidate of the Samba 3.0.25 code base6 This is the third release candidate of the Samba 3.0.25 code base 7 7 and is provided for testing only. An RC release means that we are 8 8 close to the final release but the code may still have a few … … 28 28 o Improved compatibility with Windows Vista clients including 29 29 improved read performance with Linux servers. 30 o Man pages for VFS plug-ins.30 o Man pages for IdMap and VFS plug-ins. 31 31 32 32 … … 43 43 ================================ 44 44 45 The 3.0.25 release of Samba will include a rewritten IdMap interface 46 for winbindd which replaces the "idmap backend" parameter. The 47 initial design document may be found at 48 49 http://www.samba.org/~idra/samba3_newidmap.pdf 50 51 Please refer to the "idmap domains" description in the smb.conf(5) 52 man page for more details. 45 The 3.0.25 release of Samba includes a rewritten IdMap interface 46 for winbindd which replaces the "idmap backend" parameter. Please 47 refer to the "idmap domains" description in the smb.conf(5) man 48 page for more details. 53 49 54 50 … … 92 88 93 89 90 Windows Vista, Office 2007, and Offline Files 91 ============================================= 92 93 Research surrounding offline files, Windows Vista, and Microsoft 94 Office 2007 has revealed a incompatibility between these 95 applications and the "map acl inherit = no" setting in smb.conf. 96 Users requiring support client side caching (csc) and offline 97 files are encouraged to enable the "map acl inherit" for any 98 affected share definitions in the server's configuration. 99 Future versions of Samba will enable this setting by default. 100 101 Please refer to the smb.conf(5) man page for more details on 102 "map acl inherit". 103 104 94 105 ###################################################################### 95 106 Changes 96 107 ####### 97 108 98 Changes since 3.0.25pre2 99 ------------------------ 109 Changes since 3.0.25rc2 110 ----------------------- 111 112 commits 113 ------- 114 115 o Jeremy Allison <jra@samba.org> 116 * Allow Well-Known and Local Groups to be stored in POSIX ACLs 117 as long as there is a SID/gid mapping entry available. 118 * Fix memory corruption bug in the CIFS POSIX open/mkdir. 119 * BUG 4536: Correctly delete symlinks pointing to a directory. 120 121 122 o Gerald (Jerry) Carter <jerry@samba.org> 123 * Ensure winbindd honors the "idmap domains" option and not 124 default to idmap_tdb. 125 * Fix memory corruption caused by calling free() on talloc()'d 126 memory when adding and removing users from local groups. 127 128 129 o Guenther Deschner <gd@samba.org> 130 * Memory allocation error checks in libgpo. 131 132 133 o Jim McDonough <jmcd@us.ibm.com> 134 * Fix crate_user() access checks when setting the "User Cannot 135 Change Password" flag. 136 137 138 o Simo Sorce <idra@samba.org> 139 * Fix linking flags used when creating shared libraries. 140 141 142 143 Release Notes for older release follow: 144 145 -------------------------------------------------- 146 147 ================================= 148 Release Notes for Samba 3.0.25rc2 149 Apr 22, 2007 150 ================================= 151 152 153 ###################################################################### 154 Changes 155 ####### 156 157 Changes since 3.0.25rc1 158 ----------------------- 100 159 101 160 commits -
TabularUnified trunk/samba/packaging/RHEL/makerpms.sh ¶
r30 r32 22 22 GRPID=`id -g` 23 23 VERSION='3.0.25' 24 REVISION='rc 2'24 REVISION='rc3' 25 25 SPECFILE="samba.spec" 26 26 RPMVER=`rpm --version | awk '{print $3}'` -
TabularUnified trunk/samba/packaging/RHEL/samba.spec ¶
r30 r32 7 7 Name: samba 8 8 Version: 3.0.25 9 Release: 4.rc29 Release: 5.rc3 10 10 Epoch: 0 11 11 License: GNU GPL version 2 -
TabularUnified trunk/samba/source/Makefile.in ¶
r30 r32 24 24 CPPFLAGS=-DHAVE_CONFIG_H @CPPFLAGS@ 25 25 EXEEXT=@EXEEXT@ 26 LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@27 26 AR=@AR@ 28 27 LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@ 29 28 WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ 29 LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@ 30 30 AWK=@AWK@ 31 31 PICFLAG=@PICFLAG@ … … 1145 1145 bin/libaddns.@SHLIBEXT@: proto_exists $(LIBADDNS_OBJ) 1146 1146 @echo Linking libaddns shared library $@ 1147 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBADDNS_OBJ) $(L DFLAGS) $(LIBS) \1147 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBADDNS_OBJ) $(LIBS) \ 1148 1148 $(KRB5LIBS) $(UUID_LIBS)\ 1149 1149 @SONAMEFLAG@`basename $@`.$(LIBADDNS_MAJOR) … … 1155 1155 bin/libsmbclient.@SHLIBEXT@: proto_exists $(LIBSMBCLIENT_OBJ) 1156 1156 @echo Linking libsmbclient shared library $@ 1157 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBCLIENT_OBJ) $(L DFLAGS) $(LIBS) \1157 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBCLIENT_OBJ) $(LIBS) \ 1158 1158 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \ 1159 1159 @SONAMEFLAG@`basename $@`.$(LIBSMBCLIENT_MAJOR) … … 1165 1165 bin/libsmbsharemodes.@SHLIBEXT@: proto_exists $(LIBSMBSHAREMODES_OBJ) 1166 1166 @echo Linking libsmbsharemodes shared library $@ 1167 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBSHAREMODES_OBJ) $(L DFLAGS) $(LIBS) \1167 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBSHAREMODES_OBJ) $(LIBS) \ 1168 1168 $(KRB5LIBS) $(LDAP_LIBS) \ 1169 1169 @SONAMEFLAG@`basename $@`.$(LIBSMBSHAREMODES_MAJOR) … … 1175 1175 bin/libmsrpc.@SHLIBEXT@: proto_exists $(CAC_OBJ) 1176 1176 @echo Linking libmsrpc shared library $@ 1177 @$(SHLD) $(LDSHFLAGS) -o $@ $(CAC_OBJ) $(L DFLAGS) $(LIBS) \1177 @$(SHLD) $(LDSHFLAGS) -o $@ $(CAC_OBJ) $(LIBS) \ 1178 1178 @SONAMEFLAG@`basename $@`.$(LIBMSRPC_MAJOR) 1179 1179 -
TabularUnified trunk/samba/source/VERSION ¶
r30 r32 57 57 # -> "3.0.0rc1" # 58 58 ######################################################## 59 SAMBA_VERSION_RC_RELEASE= 259 SAMBA_VERSION_RC_RELEASE=3 60 60 61 61 ######################################################## -
TabularUnified trunk/samba/source/groupdb/mapping_tdb.c ¶
r1 r32 467 467 for (i=0; i<num; i++) { 468 468 if (sid_compare(alias, &sids[i]) == 0) { 469 SAFE_FREE(sids);469 TALLOC_FREE(sids); 470 470 return True; 471 471 } 472 472 } 473 SAFE_FREE(sids);473 TALLOC_FREE(sids); 474 474 return False; 475 475 } … … 638 638 639 639 if (!found) { 640 SAFE_FREE(sids);640 TALLOC_FREE(sids); 641 641 return NT_STATUS_MEMBER_NOT_IN_ALIAS; 642 642 } … … 660 660 661 661 if (member_string == NULL) { 662 SAFE_FREE(sids);662 TALLOC_FREE(sids); 663 663 return NT_STATUS_NO_MEMORY; 664 664 } … … 672 672 SAFE_FREE(s); 673 673 if (member_string == NULL) { 674 SAFE_FREE(sids);674 TALLOC_FREE(sids); 675 675 return NT_STATUS_NO_MEMORY; 676 676 } … … 683 683 NT_STATUS_OK : NT_STATUS_ACCESS_DENIED; 684 684 685 SAFE_FREE(sids);685 TALLOC_FREE(sids); 686 686 SAFE_FREE(member_string); 687 687 -
TabularUnified trunk/samba/source/include/version.h ¶
r30 r32 3 3 #define SAMBA_VERSION_MINOR 0 4 4 #define SAMBA_VERSION_RELEASE 25 5 #define SAMBA_VERSION_RC_RELEASE 26 #define SAMBA_VERSION_OFFICIAL_STRING "3.0.25rc 2"5 #define SAMBA_VERSION_RC_RELEASE 3 6 #define SAMBA_VERSION_OFFICIAL_STRING "3.0.25rc3" 7 7 #define SAMBA_VERSION_STRING samba_version_string() -
TabularUnified trunk/samba/source/lib/util_sid.c ¶
r1 r32 511 511 uint32 rid; 512 512 513 if (sid_equal(sid, &global_sid_System)) 514 return True; 515 513 516 sid_copy(&dom, sid); 514 517 sid_split_rid(&dom, &rid); -
TabularUnified trunk/samba/source/libgpo/gpo_fetch.c ¶
r1 r32 189 189 if (name && *display_name) { 190 190 *display_name = talloc_strdup(mem_ctx, name); 191 NT_STATUS_HAVE_NO_MEMORY(*display_name); 191 192 } 192 193 -
TabularUnified trunk/samba/source/ndpsmb/smbcd.c ¶
r6 r32 12 12 #include "smbcd.h" 13 13 14 #define SMBCD_MAX_THREADS 10014 #define SMBCD_MAX_THREADS 300 15 15 16 16 int debuglevel = 0; -
TabularUnified trunk/samba/source/nsswitch/idmap.c ¶
r30 r32 290 290 dom_list = lp_idmap_domains(); 291 291 292 if ( dom_list && lp_idmap_backend() ) { 293 DEBUG(0, ("WARNING: idmap backend and idmap domains are " 294 "mutually excusive!\n")); 295 DEBUGADD(0,("idmap backend option will be IGNORED!\n")); 296 } else if ( lp_idmap_backend() ) { 297 const char **compat_list = lp_idmap_backend(); 292 if ( lp_idmap_backend() ) { 293 const char **compat_list = lp_idmap_backend(); 298 294 char *p = NULL; 299 295 const char *q = NULL; 300 296 301 compat = 1; 302 303 if ( (compat_backend = talloc_strdup( idmap_ctx, *compat_list )) == NULL ) { 304 ret = NT_STATUS_NO_MEMORY; 305 goto done; 306 } 297 if ( dom_list ) { 298 DEBUG(0, ("WARNING: idmap backend and idmap domains are " 299 "mutually excusive!\n")); 300 DEBUGADD(0,("idmap backend option will be IGNORED!\n")); 301 } else { 302 compat = 1; 303 304 if ( (compat_backend = talloc_strdup( idmap_ctx, *compat_list )) == NULL ) { 305 ret = NT_STATUS_NO_MEMORY; 306 goto done; 307 } 307 308 308 /* strip any leading idmap_ prefix of */309 if (strncmp(*compat_list, "idmap_", 6) == 0 ) {310 q = *compat_list += 6;311 DEBUG(0, ("WARNING: idmap backend uses obsolete and "312 "deprecated 'idmap_' prefix.\n"313 "Please replace 'idmap_%s' by '%s' in %s\n",314 q, q, dyn_CONFIGFILE));315 compat_backend = talloc_strdup( idmap_ctx, q);316 } else {317 compat_backend = talloc_strdup( idmap_ctx, *compat_list);318 }309 /* strip any leading idmap_ prefix of */ 310 if (strncmp(*compat_list, "idmap_", 6) == 0 ) { 311 q = *compat_list += 6; 312 DEBUG(0, ("WARNING: idmap backend uses obsolete and " 313 "deprecated 'idmap_' prefix.\n" 314 "Please replace 'idmap_%s' by '%s' in %s\n", 315 q, q, dyn_CONFIGFILE)); 316 compat_backend = talloc_strdup( idmap_ctx, q); 317 } else { 318 compat_backend = talloc_strdup( idmap_ctx, *compat_list); 319 } 319 320 320 /* separate the backend and module arguements */ 321 if ((p = strchr(compat_backend, ':')) != NULL) { 322 *p = '\0'; 323 compat_params = p + 1; 324 } 325 } else { 321 /* separate the backend and module arguements */ 322 if ((p = strchr(compat_backend, ':')) != NULL) { 323 *p = '\0'; 324 compat_params = p + 1; 325 } 326 } 327 } else if ( !dom_list ) { 326 328 /* Back compatible: without idmap domains and explicit 327 329 idmap backend. Taking default idmap backend: tdb */ … … 331 333 compat_params = compat_backend; 332 334 } 333 334 335 335 336 if ( ! dom_list) { -
TabularUnified trunk/samba/source/passdb/pdb_ldap.c ¶
r22 r32 456 456 return (time_t) 0; 457 457 458 strptime(temp, "%Y%m%d%H%M%SZ", &tm); 458 if ( !strptime(temp, "%Y%m%d%H%M%SZ", &tm)) { 459 DEBUG(2,("ldapsam_get_entry_timestamp: strptime failed on: %s\n", 460 (char*)temp)); 461 return (time_t) 0; 462 } 459 463 tzset(); 460 464 return timegm(&tm); -
TabularUnified trunk/samba/source/rpc_server/srv_samr_nt.c ¶
r22 r32 740 740 } 741 741 742 status = pdb_update_sam_account(sampass); 742 status = access_check_samr_function(acc_granted, SA_RIGHT_USER_SET_ATTRIBUTES, "_samr_set_sec_obj"); 743 if (NT_STATUS_IS_OK(status)) { 744 become_root(); 745 status = pdb_update_sam_account(sampass); 746 unbecome_root(); 747 } 743 748 744 749 TALLOC_FREE(sampass); -
TabularUnified trunk/samba/source/smbd/posix_acls.c ¶
r1 r32 1348 1348 1349 1349 /* 1350 * Ignore non-mappable SIDs (NT Authority, BUILTIN etc).1351 */1352 1353 if (non_mappable_sid(&psa->trustee)) {1354 fstring str;1355 DEBUG(10,("create_canon_ace_lists: ignoring non-mappable SID %s\n",1356 sid_to_string(str, &psa->trustee) ));1357 continue;1358 }1359 1360 /*1361 1350 * Create a cannon_ace entry representing this NT DACL ACE. 1362 1351 */ … … 1417 1406 } else { 1418 1407 fstring str; 1408 1409 /* 1410 * Silently ignore map failures in non-mappable SIDs (NT Authority, BUILTIN etc). 1411 */ 1412 1413 if (non_mappable_sid(&psa->trustee)) { 1414 DEBUG(10,("create_canon_ace_lists: ignoring non-mappable SID %s\n", 1415 sid_to_string(str, &psa->trustee) )); 1416 continue; 1417 } 1419 1418 1420 1419 free_canon_ace_list(file_ace); -
TabularUnified trunk/samba/source/smbd/reply.c ¶
r30 r32 3868 3868 SMB_STRUCT_STAT st; 3869 3869 3870 ret = SMB_VFS_RMDIR(conn,directory); 3870 /* Might be a symlink. */ 3871 if(SMB_VFS_LSTAT(conn, directory, &st) != 0) { 3872 return map_nt_error_from_unix(errno); 3873 } 3874 3875 if (S_ISLNK(st.st_mode)) { 3876 /* Is what it points to a directory ? */ 3877 if(SMB_VFS_STAT(conn, directory, &st) != 0) { 3878 return map_nt_error_from_unix(errno); 3879 } 3880 if (!(S_ISDIR(st.st_mode))) { 3881 return NT_STATUS_NOT_A_DIRECTORY; 3882 } 3883 ret = SMB_VFS_UNLINK(conn,directory); 3884 } else { 3885 ret = SMB_VFS_RMDIR(conn,directory); 3886 } 3871 3887 if (ret == 0) { 3872 3888 notify_fname(conn, NOTIFY_ACTION_REMOVED, -
TabularUnified trunk/samba/source/smbd/trans2.c ¶
r30 r32 3728 3728 SIVAL(pdata,4,byte_len); /* Byte length of unicode string ::$DATA */ 3729 3729 SOFF_T(pdata,8,file_size); 3730 S IVAL(pdata,16,allocation_size);3730 SOFF_T(pdata,16,allocation_size); 3731 3731 SIVAL(pdata,20,0); /* ??? */ 3732 3732 data_size = 24 + byte_len; … … 3749 3749 put_long_date_timespec(pdata+16,mtime_ts); /* write time */ 3750 3750 put_long_date_timespec(pdata+24,mtime_ts); /* change time */ 3751 S IVAL(pdata,32,allocation_size);3751 SOFF_T(pdata,32,allocation_size); 3752 3752 SOFF_T(pdata,40,file_size); 3753 3753 SIVAL(pdata,48,mode); … … 5306 5306 return NT_STATUS_NO_MEMORY; 5307 5307 } 5308 pdata = *ppdata; 5308 5309 5309 5310 SSVAL(pdata,0,NO_OPLOCK_RETURN); … … 5482 5483 return NT_STATUS_NO_MEMORY; 5483 5484 } 5485 pdata = *ppdata; 5484 5486 5485 5487 if (extended_oplock_granted) {
Note:
See TracChangeset
for help on using the changeset viewer.