Re: init_unistr2 length calculation

2003-02-14 Thread Shirish Kalele
to have a function that calculated the character length after conversion to UCS2 since it's much more efficient to calculate (/2) than that of a multi-byte charset. Maybe there is.. need to take a look. Thanks, Shirish On Fri, 14 Feb 2003, Gerald (Jerry) Carter wrote: On Thu, 13 Feb 2003, Shirish

Re: init_unistr2 length calculation

2003-02-13 Thread Shirish Kalele
On Thu, 13 Feb 2003, Gerald (Jerry) Carter wrote: On Wed, 12 Feb 2003, Shirish Kalele wrote: In init_unistr2, the string length for the UNISTR2 structure seems to be set equal to the number of bytes occupied by the string when encoded in the Unix charset (i.e. the value returned by strlen

init_unistr2 length calculation

2003-02-12 Thread Shirish Kalele
Hi, In init_unistr2, the string length for the UNISTR2 structure seems to be set equal to the number of bytes occupied by the string when encoded in the Unix charset (i.e. the value returned by strlen()). This is not necessarily the number of characters in the string (given UTF-8 and other

RE: init_unistr2 length calculation

2003-02-12 Thread Shirish Kalele
can be as much as 6 bytes. Ken Ken Cross Network Storage Solutions Phone 865.675.4070 ext 31 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Shirish Kalele Sent: Wednesday, February 12, 2003 1:08 PM

Re: msdfs referrals at share-level

2003-02-10 Thread Shirish Kalele
-infolevels. attached you'll find a backport of the msdfs-proxy for 2_2, maybe you could have a quick look and comment on that one too. thanks again, guenther On Mon, Oct 14, 2002 at 12:15:17PM -0700, Shirish Kalele wrote: Hi, This is cool. Which Windows clients have you tested

Re: [Samba] MSDFS Share can't create directory from NT 4 SP6a Client

2003-01-13 Thread Shirish Kalele
Hi, Please upgrade to the latest version of Samba 2.2.x. I think this was fixed in 2.2.4. Regards, Shirish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Re: msdfs referrals at share-level

2002-10-14 Thread Shirish Kalele
: Guenther Deschner [EMAIL PROTECTED] To: Shirish Kalele [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Thomas Wiebach [EMAIL PROTECTED] Sent: Monday, October 14, 2002 6:36 AM Subject: Re: msdfs referrals at share-level hello shirish, we made some more experiments with the dfs-code and now have a running

Re: msdfs referrals at share-level

2002-09-05 Thread Shirish Kalele
Hi, Clients do request dfs referrals for every share they connect to. In a dfs reply for a share, you could try and send a different sharename and see what happens. I don't know if clients will be able to handle this. Look for self_referral in the setup_dfs_referral() code to find out where to

Re: Problem with msdfs with Samba 2.2.5 and 3.0 alpha19

2002-08-21 Thread Shirish Kalele
Hi John, Yes, the msdfs code only tries the entire path and the path one level up when asked for a dfs referral. There didn't seem to be a case where the redirector ever jumped straight to a path without resolving each component first (which would result in a correct referral). But it looks like

Re: alternate form of tconX response

2002-08-15 Thread Shirish Kalele
Steve, There are two extra DWORDs of similar form in the NTCreateX replies sent by Windows 2000. Win2K sends 42 words instead of the known 34. While exploring client-side caching, I discovered that these are actually access masks for the User who's opening the file and Everyone Else

Re: alternate form of tconX response

2002-08-15 Thread Shirish Kalele
the standard Unix permissions. It needs to be extended to handle POSIX ACLs. - Shirish On Thu, 15 Aug 2002 [EMAIL PROTECTED] wrote: On Thu, Aug 15, 2002 at 04:15:20PM -0700, Shirish Kalele wrote: Steve, There are two extra DWORDs of similar form in the NTCreateX replies sent by Windows 2000. Win2K

Re: alternate form of tconX response

2002-08-15 Thread Shirish Kalele
On Thu, 15 Aug 2002 [EMAIL PROTECTED] wrote: On Thu, Aug 15, 2002 at 04:15:20PM -0700, Shirish Kalele wrote: Steve, There are two extra DWORDs of similar form in the NTCreateX replies sent by Windows 2000. Win2K sends 42 words instead of the known 34. While exploring client-side caching, I

Re: Microsoft's Dfs

2002-05-29 Thread Shirish Kalele
I think Steve French's cifsfs module for linux does understand dfs. I don't know where to get it though. On Wed, 29 May 2002, Ken Stone wrote: Can anyone point me to any documentation on the internals of Microsoft's Dfs? Better yet, does anyone know of a unix/linux client that

Re: [Samba] Can't get MSDFS to work, help!

2002-05-06 Thread Shirish Kalele
with a Win 2000 client, it worked. So I'll try to figure out what's wrong with my NT4. If you have any clue, let me know!!! Thank you for your help, Pierre B. Shirish Kalele wrote: Hi Pierre, I just tried this out here and it works fine. Must be a problem with your setup. Can you map

Re: [Samba] WinNT offline file attribute

2002-04-24 Thread Shirish Kalele
Jerry, csc policy is for client-side offline caching. I think Damir is looking for Samba to support files offlined by storage managers like HSM. Both are called offline files. One of the reasons the csc policy parameter was so named. Samba could set the 'offline' flag in the files attributes to

Re: [Samba] WinNT offline file attribute

2002-04-24 Thread Shirish Kalele
John E. Malmberg wrote: Shirish Kalele wrote: As I understood it (and I could be wrong), indicating offline wasn't a problem, the problem was finding out if a file was offline. I'm sure Damir could code up a custom fix to make Samba do it (using ioctl's or whatever) and distribute

Re: [Samba] WinNT offline file attribute

2002-04-24 Thread Shirish Kalele
Jerry, csc policy is for client-side offline caching. I think Damir is looking for Samba to support files offlined by storage managers like HSM. Both are called offline files. One of the reasons the csc policy parameter was so named. Samba could set the 'offline' flag in the files attributes to

Re: [Samba] WinNT offline file attribute

2002-04-24 Thread Shirish Kalele
John E. Malmberg wrote: Shirish Kalele wrote: As I understood it (and I could be wrong), indicating offline wasn't a problem, the problem was finding out if a file was offline. I'm sure Damir could code up a custom fix to make Samba do it (using ioctl's or whatever) and distribute