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

Andrew Bartlett abartlet at pcug.org.au
Tue Jun 4 15:31:23 GMT 2002

Per Kjetil Grotnes wrote:
> "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

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list