Changeset 108 for branches/samba-3.0
- Timestamp:
- Dec 11, 2007, 9:44:35 AM (18 years ago)
- Location:
- branches/samba-3.0/source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/VERSION
r105 r108 26 26 SAMBA_VERSION_MAJOR=3 27 27 SAMBA_VERSION_MINOR=0 28 SAMBA_VERSION_RELEASE=2 728 SAMBA_VERSION_RELEASE=28 29 29 30 30 ######################################################## … … 37 37 # -> "2.2.8a" # 38 38 ######################################################## 39 SAMBA_VERSION_REVISION= a39 SAMBA_VERSION_REVISION= 40 40 41 41 ######################################################## … … 97 97 ######################################################## 98 98 SAMBA_VERSION_VENDOR_SUFFIX= 99 SAMBA_VE NDOR_PATCH=99 SAMBA_VERSION_VENDOR_PATCH= -
branches/samba-3.0/source/auth/auth_util.c
r105 r108 957 957 958 958 if (!NT_STATUS_IS_OK(status)) { 959 unbecome_root(); 959 960 TALLOC_FREE(result); 960 961 return NULL; … … 966 967 967 968 if (!NT_STATUS_IS_OK(status)) { 969 unbecome_root(); 968 970 TALLOC_FREE(result); 969 971 return NULL; -
branches/samba-3.0/source/include/version.h
r105 r108 2 2 #define SAMBA_VERSION_MAJOR 3 3 3 #define SAMBA_VERSION_MINOR 0 4 #define SAMBA_VERSION_RELEASE 27 5 #define SAMBA_VERSION_REVISION "a" 6 #define SAMBA_VERSION_OFFICIAL_STRING "3.0.27a" 4 #define SAMBA_VERSION_RELEASE 28 5 #define SAMBA_VERSION_OFFICIAL_STRING "3.0.28" 7 6 #define SAMBA_VERSION_STRING samba_version_string() -
branches/samba-3.0/source/lib/version.c
r105 r108 29 29 static fstring samba_version; 30 30 static BOOL init_samba_version; 31 #ifdef SAMBA_VE NDOR_PATCH31 #ifdef SAMBA_VERSION_VENDOR_PATCH 32 32 fstring tmp_version; 33 33 size_t remaining; … … 41 41 SAMBA_VERSION_VENDOR_SUFFIX); 42 42 43 #ifdef SAMBA_VE NDOR_PATCH43 #ifdef SAMBA_VERSION_VENDOR_PATCH 44 44 remaining = sizeof(samba_version)-strlen(samba_version); 45 snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VE NDOR_PATCH);45 snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VERSION_VENDOR_PATCH); 46 46 strlcat( samba_version, tmp_version, remaining-1 ); 47 47 #endif -
branches/samba-3.0/source/libsmb/clidgram.c
r26 r108 73 73 ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */ 74 74 memcpy(tmp,ptr,4); 75 76 if (smb_size + 17*2 + strlen(mailslot) + 1 + len > MAX_DGRAM_SIZE) { 77 DEBUG(0, ("cli_send_mailslot: Cannot write beyond end of packet\n")); 78 return False; 79 } 80 75 81 set_message(ptr,17,strlen(mailslot) + 1 + len,True); 76 82 memcpy(ptr,tmp,4); -
branches/samba-3.0/source/nmbd/nmbd_packets.c
r102 r108 1893 1893 ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */ 1894 1894 memcpy(tmp,ptr,4); 1895 1896 if (smb_size + 17*2 + strlen(mailslot) + 1 + len > MAX_DGRAM_SIZE) { 1897 DEBUG(0, ("send_mailslot: Cannot write beyond end of packet\n")); 1898 return False; 1899 } 1900 1895 1901 set_message(ptr,17,strlen(mailslot) + 1 + len,True); 1896 1902 memcpy(ptr,tmp,4); -
branches/samba-3.0/source/smbd/service.c
r26 r108 62 62 #ifndef __OS2__ 63 63 *d++ = '/'; /* Always start with root. */ 64 #else65 if ((connectpath[0]=='/')||(connectpath[0]=='\\'))66 *d++ = '/'; /* Start with root if connectpath is not a drive path. */67 #endif68 64 69 65 while (*s) { … … 152 148 *d = '\0'; 153 149 154 #ifndef __OS2__155 150 /* And must not end in '/' */ 156 151 if (d > destname + 1 && (*(d-1) == '/')) { … … 158 153 } 159 154 #else 160 /* Must not end in '/' if we are sharing a drive letter on OS/2 */ 161 if (d > destname + 1 && (*(d-1) == ':')) { 162 *(d) = '/'; 163 } 164 165 #endif 155 /* Assume OS/2 users are smart enough to put a correct path in smb.conf, and simply copy the string */ 156 pstrcpy(destname, connectpath); 157 #endif 166 158 167 159 DEBUG(10,("set_conn_connectpath: service %s, connectpath = %s\n",
Note:
See TracChangeset
for help on using the changeset viewer.