libsmbclient and browsing: dirents and entry type ...
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Mon Jan 1 23:00:58 GMT 2001
> -----Original Message-----
> From: Richard Sharpe [SMTP:sharpe at ns.aus.com]
>
> Alternatively, we could frob smbc_stat so that it can return a correct type
> when passed something returned by smbc_readdir.
>
Hmm, all that SMB_COM_QUERY_INFORMATION would slow things down a bit. Do you cache the info from the TRANS2_FIND_FIRST/NEXT2 briefly? It would be a tremendous performance boost to save this info for ~5sec.
Incedentally did we accept that the semi-colon for the domain portion of userinfo must be escaped in the shell?
Mike
More information about the samba-technical
mailing list