Changeset 520


Ignore:
Timestamp:
Jan 14, 2011, 11:58:49 AM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.0: another bunch of updates

Location:
branches/client-2.0/src
Files:
11 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/Config.km_

    r400 r520  
    88# edit this file to change version numbering
    99# in bldlevel informations
     10# adjust also the date please
    1011#
    1112VERSION = 1.5.0
    12 BUILD   = beta1
     13BUILD   = beta1-date
    1314SAMBA   = ../../samba-3.0
    1415TOOLKIT = f:/dev/toolkit452
  • branches/client-2.0/src/Makefile.kmk

    r504 r520  
    9595
    9696# add new dependancy on build level info
    97 rc/rc.rc : rc/description.rc
     97rc/rc.rc : rc/description.rc rc/rc.rc_
     98        $(SED) "s;_VERSION_;$(VERSION);g" rc/rc.rc_ \
     99                | $(SED) "s;_WPIVERSION_;$(subst .,\\\,$(VERSION));g" \
     100                | $(SED) "s;_BUILD_;$(BUILD);g" \
     101                > rc/rc.rc
    98102
    99103# update bldlevel info
  • branches/client-2.0/src/help/ndpsmb.ipf

    r518 r520  
    281281:li.changed instpl.cmd to work correct with nls
    282282:li.added the possibility to adjust cache timeout and depth via GUI
     283:li.adjustments to helpfile and readme
     284:eul.
     285:li.beta4
     286:ul.
     287:li.possible SIGPIPE crashes redone (thanks to Vitali)
     288:li.touch did not delete the cache
    283289:eul.
    284290:eul.
  • branches/client-2.0/src/help/ndpsmb_de.ipf

    r518 r520  
    281281:ul.
    282282:li.Leseproblem mit kleinen Dateien
    283 :li.Cache von ge„nderten Dateien sofort l”schen
    284 :li.SIGPIPE absturz behoben
     283:li.Cache von ge&ae.nderten Dateien sofort l&oe.schen
     284:li.SIGPIPE Absturz behoben
    285285:eul.
    286286:li.beta3
    287287:ul.
    288 :li.instpl.cmd ge„ndert, damit Sprachen richtig installiert werden
    289 :li.M”glichkeit zum ver„ndern des Cache timeout und Tiefe via GUI
     288:li.instpl.cmd ge&ae.ndert, damit Sprachen richtig installiert werden
     289:li.M&oe.glichkeit zum ver„ndern des Cache timeout und Tiefe via GUI
     290:li.Anassungen an Hilfedateine und readme
     291:eul.
     292:li.beta4
     293:ul.
     294:li.m&oe.gliche SIGPIPE Abst&ue.rze komplett neu gel&oe.st (Dank geht an Vitali)
     295:li.Touch l&oe.schte den Cache nicht
    290296:eul.
    291297:eul.
  • branches/client-2.0/src/help/ndpsmb_fr.ipf

    r518 r520  
    394394:li.Correction des fichiers d'aide.
    395395:eul.
     396:li.beta4
     397:ul.
     398:li.Revue des possibles plantages SIGPIPE (merci
     399 Vitali).
     400:li."touch" ne supprimait pas le cache.
     401:eul.
    396402:eul.
    397403:p.
  • branches/client-2.0/src/help/readme.txt

    r518 r520  
    274274   - adjustments to helpfile and readme
    275275
     276v2.0.0 beta4
     277   - possible SIGPIPE crashes redone (thanks to Vitali)
     278   - touch did not delete the cache
     279
  • branches/client-2.0/src/help/readme_de.txt

    r518 r520  
    286286   - M”glichkeit zum ver„ndern des Cache timeout und Tiefe via GUI
    287287   - Anassungen an Hilfedateine und readme
     288
     289v2.0.0 beta4
     290   - m”gliche SIGPIPE Abstrze komplett neu gel”st (Dank geht an Vitali)
     291   - Touch l”schte den Cache nicht
     292
  • branches/client-2.0/src/help/readme_fr.txt

    r518 r520  
    367367   - Correction des fichiers d'aide.
    368368
     369 v2.0.0 beta4
     370   - Revue des possibles plantages SIGPIPE (merci
     371 Vitali).
     372   - "touch" ne supprimait pas le cache.
     373
    369374
    370375Traduction fran‡aise : Guillaume Gay <guillaume.gay@bigfoot.com>
  • branches/client-2.0/src/ndpsmb.c

    r518 r520  
    212212        {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"},
    213213        {ND_PROP_ULONG, 0, "MASTERTYPE", "1"},
    214         {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    215214        {ND_PROP_ULONG, 0, "CTO", "10"},
    216215        {ND_PROP_ULONG, 0, "CLD", "32"},
     216        {ND_PROP_ULONG, 0, "EASUPPORT", "1"},
    217217        {ND_PROP_STRING, 0, NULL, NULL}
    218218};
     
    17751775}
    17761776
     1777// Called when a new thread will call the plugin. Allows to do per thread init, like disable signals.
     1778#define ND_PL_INIT_THREAD 0xFFFF0000
     1779
    17771780int APIENTRY NdpIOCTL (int type, HRESOURCE resource, char *path, int function, void *in, ULONG insize, PULONG poutlen)
    17781781{
     1782    if (function == ND_PL_INIT_THREAD)
     1783       {
     1784          smbwrp_initthread();
     1785          debuglocal(9, "NdpIOCTL init thread\n");
     1786          return NO_ERROR;
     1787       }
     1788
    17791789    debuglocal(9,"NdpIOCTL <%s> %d\n", path, function);
    17801790
     
    19861996
    19871997        debug_printf("NdpFileSetInfo in [%p]\n", pConn);
     1998
     1999        // delete the dir cache
     2000        dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
     2001
    19882002        do {
    19892003                if (pConn->file.fd < 0 || !*pConn->file.fname)
  • branches/client-2.0/src/rc/rc.rc_

    r518 r520  
    1414RCDATA NDRC_PLUGIN_DESC
    1515{
    16     "Access to SAMBA resources."
     16"Access to SAMBA resources.\n
     17Plugin Version _VERSION_ Build _BUILD_\n
     18See help for more Information.\n   
     19"
     20
    1721}
    1822
  • branches/client-2.0/src/smbwrp.c

    r515 r520  
    178178        }
    179179*/
     180        return 0;
     181
     182}
     183
     184void smbwrp_initthread(void)
     185{
    180186        /*
    181187         * Block SIGPIPE (from lib/util_sock.c: write())
     
    183189         */
    184190        BlockSignals(True, SIGPIPE);
    185 
    186         return 0;
    187 
    188191}
    189192
     
    794797        }
    795798
    796 debuglocal(4,"Setting on <%s> attr %04x, time %lu/%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
    797         if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     799        debuglocal(4,"Setting on <%s> attr %04x, time %lu (timezone%lu)\n", finfo->fname, finfo->attr, finfo->mtime, get_time_zone(finfo->mtime));
     800        // we already have gmt time, so no need to add timezone
     801        // if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     802        if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime)
    798803                && !cli_setatr(cli, finfo->fname, finfo->attr, 0))
    799804        {
  • branches/client-2.0/src/smbwrp.h

    r518 r520  
    223223void debuglocal(int level, const char * fmt, ...);
    224224
     225void smbwrp_initthread(void);
     226
    225227#endif /* _SMBWRP_H */
Note: See TracChangeset for help on using the changeset viewer.