Changeset 497
- Timestamp:
- Dec 13, 2010, 4:05:51 PM (15 years ago)
- Location:
- branches/client-2.0/src
- Files:
-
- 11 edited
-
Makefile.kmk (modified) (1 diff)
-
debug.c (modified) (2 diffs)
-
help/ndpsmb.ipf (modified) (3 diffs)
-
help/ndpsmb_de.ipf (modified) (3 diffs)
-
help/ndpsmb_fr.ipf (modified) (3 diffs)
-
help/readme.txt (modified) (1 diff)
-
help/readme_de.txt (modified) (1 diff)
-
help/readme_fr.txt (modified) (1 diff)
-
ndpsmb.c (modified) (12 diffs)
-
smbwrp.c (modified) (4 diffs)
-
smbwrp.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/client-2.0/src/Makefile.kmk
r442 r497 32 32 printf.c \ 33 33 util.c \ 34 34 35 smbwrp.c 35 36 -
branches/client-2.0/src/debug.c
r439 r497 51 51 struct stat filestat; 52 52 53 54 55 56 57 58 53 59 // if the file ndpsmb.dbg is around we write a logfile 54 60 if (!debugfile[0]) … … 80 86 } /* endif */ 81 87 82 if (!debuglvl(level))83 {84 return;85 }86 88 do 87 89 { -
branches/client-2.0/src/help/ndpsmb.ipf
r493 r497 138 138 :li.:link reftype=hd res=001.Version 1.0:elink. 139 139 :li.:link reftype=hd res=002.Version 1.5.0:elink. 140 140 141 :eul 141 142 :h2 res=001.Version 1.0 … … 258 259 :eul. 259 260 :eul. 261 262 263 264 265 266 267 260 268 .****************************************************** 261 269 :h1.Credit … … 267 275 :li.Alex Taylor (aka AlexT) 268 276 :li.Nikolay Kolosov (aka nickk) 277 269 278 :li.and all we missed 270 279 :eul. -
branches/client-2.0/src/help/ndpsmb_de.ipf
r493 r497 141 141 :li.:link reftype=hd res=001.Version 1.0:elink. 142 142 :li.:link reftype=hd res=002.Version 1.5.0:elink. 143 143 144 :eul 144 145 :h2 res=001.Version 1.0 … … 263 264 :eul. 264 265 :eul. 266 267 268 269 270 271 272 265 273 .****************************************************** 266 274 :h1.Credit … … 272 280 :li.Alex Taylor (aka AlexT) 273 281 :li.Nikolay Kolosov (aka nickk) 282 274 283 :li.und alle&comma. die wir vergessen haben! 275 284 :eul. -
branches/client-2.0/src/help/ndpsmb_fr.ipf
r493 r497 206 206 :li.:link reftype=hd res=001.Version 1.0:elink. 207 207 :li.:link reftype=hd res=002.Version 1.5.0:elink. 208 208 209 :eul. 209 210 :h2 res=001.Version 1.0 … … 348 349 :eul. 349 350 :eul. 351 352 353 354 355 356 357 350 358 :p. 351 359 .****************************************************** … … 360 368 :li.Alex Taylor (alias AlexT) 361 369 :li.Nikolay Kolosov (alias nickk) 370 362 371 :li.et tous ceux que nous avons pu oublier 363 372 :eul. -
branches/client-2.0/src/help/readme.txt
r493 r497 254 254 - Fix timestamp problem 255 255 256 257 -
branches/client-2.0/src/help/readme_de.txt
r493 r497 265 265 - Zeitzonenproblem behoben 266 266 267 268 269 -
branches/client-2.0/src/help/readme_fr.txt
r493 r497 326 326 - Fix timestamp problem 327 327 328 329 330 328 331 329 332 Traduction franaise : Guillaume Gay <[email protected]> -
branches/client-2.0/src/ndpsmb.c
r493 r497 224 224 225 225 226 staticPLUGINHELPERTABLE2L *ph;226 PLUGINHELPERTABLE2L *ph; 227 227 static int ifL; 228 228 … … 397 397 pRes->krb5support = 0; 398 398 #endif 399 399 400 400 401 t = 0, q = NULL; … … 503 504 } 504 505 } 506 507 508 505 509 506 510 return rc; … … 727 731 { 728 732 Resource *pRes = (Resource *)resource; 733 729 734 MemSet(&pRes->srv, 0, sizeof(pRes->srv)); 730 735 free(pRes); … … 963 968 964 969 do { 970 971 972 973 974 975 976 977 978 979 980 981 965 982 966 983 rc = pathparser(pRes, pConn, szPath, path); … … 1092 1109 strcpy( state.dir_mask, mask); 1093 1110 strcpy( state.mask, path); 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1094 1124 p = getlastslash(state.mask); 1095 1125 if (p) … … 1102 1132 strcpy(state.mask, "\\*"); 1103 1133 } 1134 1135 1104 1136 rc = smbwrp_filelist( &pRes->srv, pConn->cli, &state); 1105 1137 // we need to handle reconnection also here, because NdpQueryPathInfo … … 1468 1500 debuglocal(9,"NdpForceDelete in\n"); 1469 1501 1502 1503 1470 1504 do { 1471 1505 rc = pathparser(pRes, pConn, szFile, path); … … 1492 1526 debuglocal(9,"NdpCreateDir in\n"); 1493 1527 1528 1529 1494 1530 do { 1495 1531 rc = pathparser(pRes, pConn, szDirName, path); … … 1516 1552 debuglocal(9,"NdpDeleteDir in\n"); 1517 1553 1554 1555 1518 1556 do { 1519 1557 rc = pathparser(pRes, pConn, szDir, path); … … 1541 1579 1542 1580 debuglocal(9,"NdpMove in from <%s> to <%s>\n", szSrc, szDst); 1581 1582 1583 1543 1584 1544 1585 do … … 1595 1636 debuglocal(9,"smbopen in %d\n", pConn->file.fd); 1596 1637 1638 1639 1640 1641 1597 1642 do { 1598 1643 if (pConn->file.fd > 0) -
branches/client-2.0/src/smbwrp.c
r493 r497 1081 1081 finfo->ctime = def_finfo.ctime_ts.tv_sec; 1082 1082 strncpy(finfo->fname, def_finfo.name, sizeof(finfo->fname) - 1); 1083 debuglocal(9,"fname %s (serverzone %d, level %d)\n",finfo->fname, cli->serverzone, level);1084 1083 1085 1084 switch (level) { … … 1240 1239 pstrcpy(mask,Mask); 1241 1240 1241 1242 1243 1244 1245 1246 1247 1242 1248 while (ff_eos == 0) { 1243 1249 loop_count++; … … 1425 1431 total_received = -1; 1426 1432 } else { 1433 1434 1427 1435 /* no connection problem. let user function add each entry */ 1428 1436 for (p=dirlist,i=0;i<total_received;i++) { … … 1430 1438 &finfo,NULL,NULL,NULL); 1431 1439 fn( mnt,&finfo, Mask, state ); 1440 1441 1442 1432 1443 } 1444 1445 1433 1446 } 1434 1447 -
branches/client-2.0/src/smbwrp.h
r151 r497 125 125 #endif 126 126 127 128 127 129 typedef struct _Resource 128 130 { … … 133 135 int easupport; 134 136 int krb5support; 137 135 138 } Resource; 136 139 … … 157 160 void *plist; 158 161 unsigned long ulAttribute; 162 159 163 } filelist_state; 160 164 … … 186 190 int _System smbwrp_dskattr(cli_state * cli, FSALLOCATE *pfsa); 187 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 188 223 #endif /* _SMBWRP_H */
Note:
See TracChangeset
for help on using the changeset viewer.
