Bug 612 - macros not evaluated when using passdb backend = ldapsam
Summary: macros not evaluated when using passdb backend = ldapsam
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.0
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Volker Lendecke
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 10:49 UTC by Krischan Jodies
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Attachments
Expand %N in talloc_sub_basic for passdb backend usage (569 bytes, text/plain)
2003-10-20 01:35 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krischan Jodies 2003-10-13 10:49:55 UTC
When using the ldap backend neither logon path/home from smb.conf nor the 
attributes sambaProfilePath etc. are parsed for macros. The client gets paths like 
\\server\%u\profile from the pdc.
Comment 1 Volker Lendecke 2003-10-20 01:35:45 UTC
Created attachment 208 [details]
Expand %N in talloc_sub_basic for passdb backend usage

This bug report is not entirely correct. The problem here is that we
do not expand all the macros in passdb. Especially %N is not expanded. We
should
really do it, as it is in the default profile path. See attached patch.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2003-11-04 20:32:48 UTC
Use %U in place of %u in logon XXX parameters.

Applying Volker's patch and closing it out.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:21:49 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.