%U in share name
Esh, Andrew
AEsh at tricord.com
Wed Oct 17 11:50:31 GMT 2001
One thing to be aware of is the expansion of such macros is not always safe,
which may be the reason this was taken out. I know for a fact that you can't
use %D domain expansions in the valid users list. (Perhaps that's been fixed
since I last checked.) The problem is, the space for the name list is
allocated before the expansion, and is not grown as the size of the list
grows. Memory is overwritten, and eventually there is a segfault.
Again this is speculation, but maybe this is the same problem, and the fix
should remain in place until the expansion code is smart enough to grow the
buffer.
-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: Wednesday, October 17, 2001 1:28 PM
To: Todd Pfaff
Cc: samba at samba.org; samba-technical at samba.org
Subject: Re: %U in share name
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
ok. I've reprduced it. Does look like you cannot
use %U in service names. Not sure what change broke
it.
Anyone want to fess up? Probably was me :-)
I'll look into it some more.
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--
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba
mailing list