[Samba] Roaming Profiles under LDAP backend

Chris Lawder chris at number41media.com
Tue Mar 15 21:54:57 GMT 2005


Thank you, that did what I wanted...

I guess that since I am using ldap for the posixAccount/shadowAccount 
part of samba authentication as well that %u (current Unix username) 
isn't found on the machine but %U (Requested client username) works as 
it is being passed with the request.

Cheers :)

Chris

> Paul Gienger wrote:
>
>>
>>> I have tried removing the sambaProfilePath attribute from the LDAP 
>>> user's dn so that the "login path" samba config can take over. In 
>>> such a case (assuming "logon path = \\%L\profiles\%u\%m") %u does 
>>> not expand to "testuser1" but %m will expand to the machine name 
>>> (grima). Thus the profile directory gets written to the servers file 
>>> system as...
>>>
>>> /home/samba/profiles/%u/grima/
>>
>>
>>
>> For some reason I seem to remember a case sensitivity issue here but 
>> I can't find the message regarding it.  On our server, with 3.0.11 
>> the following does work:
>>
>> logon path = \\%L\profiles\%U
>>
>> This has been working prior to us putting any profile path info into 
>> LDAP.
>>
>

-- 

Number 41 Media Corporation
Suite 103 - 645 Fort Street
Victoria BC V8W 1G2

T 250.414.0410
F 250.414.0411



More information about the samba mailing list