Bug 4389 - Variable substitution problems %L %U
Variable substitution problems %L %U
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
x64 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-02-12 09:14 UTC by Florian Zierer
Modified: 2007-02-12 09:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Zierer 2007-02-12 09:14:12 UTC
After upgrading from 3.0.22 to 3.0.24 on gentoo variable substitution does not work anymore for logon and profile path.

We are running openldap as authentication backend.

When using absolute paths like

sambaHomePath: \\server\username

everything works but when using

sambaHomePath: \\%L\%U

the drive can not be mapped.

When using logon path from smb.conf and nulling sambaHomePath: in ldap the substitutions work.
Comment 1 Gerald (Jerry) Carter 2007-02-12 09:20:44 UTC
set "passdb expand explicit = yes"
Comment 2 Florian Zierer 2007-02-12 09:31:34 UTC
(In reply to comment #1)
> set "passdb expand explicit = yes"

Thanks it works, but why does we get the message

WARNING: passdb expand explicit = yes is deprecated
when running testparm?

Comment 3 Gerald (Jerry) Carter 2007-02-12 09:34:54 UTC
I think the deprecated flag has been cleared in SVN.