[Samba] Share using %U -> File already opened

Per Kjetil Grotnes perkjetil.grotnes at pbe.oslo.kommune.no
Wed Jun 5 06:10:11 GMT 2002


> > "H-disk" share is " /home/%U/disk"
> > User1  H: ---------> /home/user1/disk (h-disk)
> > User2  H: ----------> /home/user2/disk  (h-disk)
> > When User1 opens a file "H:Øfoo.doc" and then User2 opens a file on this share
> > with the _same_ name ("H:Øfoo.doc") we get from Word (office programs?):
> > "Foo.doc already opened by another user".
> > When user1 closes his/her "foo.doc" on the home-share user2 is able to open the
> > file.
> > This is on Windows 2000 Terminal Services SP2 with Citrix Metaframe 1.8 (dont
> > diss this because it is Terminal Services please!) using office 2000.

> Don't use %U on Win2k Terminal Services.  Use ÆhomesÅ and make sure you
> reference it with the *users* name, not 'homes'.
> Andrew Bartlett

Excellent.  This works.  The processes in Win2k now have unique share names for each 
user thus preventing Win2k from thinking its the same file.

Thank you Andrew.  :-)

Regards
Per Kjetil Grotnes

---
IT-Seksjonen, Plan- og bygningsetaten, Oslo Kommune
Tlf: 22 66 26 61, Fax: 22 66 26 65




More information about the samba mailing list