%U in share name

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 17 08:02:43 GMT 2001

On Tue, 16 Oct 2001, Todd Pfaff wrote:

> Prior to samba-2.2.2 I used the code below to provide NT roaming profiles.
> This seems to have stopped working in 2.2.2.
> [global]
> logon path = \\mmri1001\nt-%U\NTProfile
> [nt-%U]
> path = /home/%U
> browseable = no
> writeable = yes
> nt acl support = no
> preexec = /usr/local/samba/bin/create-profile %U %G %P/NTProfile %a %h %m
> Should this work or was I just lucky that it used to work?
> Is it possible to use %U in a share name like this so that the share name
> is defined by the name of the connecting user?

I probably broke it.  I'll look into it.  Thanks Todd.

cheers, jerry
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list