The %u and %H variable substitutions are not expanded in the "login path" parameter. This makes it difficult to setup user profiles.
Created attachment 184 [details] smb.conf (Note it doesn't matter which way slashes go)
Created attachment 185 [details] Log level 10 It seems to know about the user (jf/742) before it does the filename expansion.
Created attachment 186 [details] The name of the directory created
The same behavior happens if tdbsam is used as the passdb backend instead of ldapsam. And there no sambaHomePath, sambaHomeDrive, sambaLogonScript or sambaProfilePath attributes in the ldap directory.
did this work under 2.2? %U should be used in this situation over %u.
btw...this is invalid: logon path = //%L/profiles/%u_%m_%H_%a Use a UNC path (\'s) instead.
We will not expand %H in the logon path since it would require a getpwnam() at a place in code where we have purposely avoided it. Marking as won't fix.
database cleanup