It works now! What did the trick was put the following line in the "[profiles]" share. Only using the "logon path" haven't made any difference.
[profiles] ... path = /home/my_company/profiles/%G/ ... But it's absolutely necessary that you create the "group" directory (%G), Samba won't do that and won't create the roaming profile directory in this case. THANK YOU! Alexander Brazil On Fri, Jan 27, 2012 at 12:19 PM, Harry Jede <[email protected]> wrote: > On 15:07:03 wrote Listas Fernandes: > > Hi. > > > > I'm using Samba + OpenLDAP. > > > > Samba version 3.4.9. > > > > Everything is working fine. > > > > But I would like to put the roaming user profiles in a directory > > structure considering the group of the users. > > > > For example, for now I have: > > > > /home/company/profiles/user1 > > /home/company/profiles/user2 > > /home/company/profiles/user3 > > > > And I would like to use: > > > > /home/company/profiles/financial/user1 > > /home/company/profiles/financial/user2 > > /home/company/profiles/students/user3 > > /home/company/profiles/visitors/user4 > > > > I've tried some changes using the %g variable in the "[profiles]" > > share, but nothing seems to do what I'm expecting. > > > > I've tried too using %g in the "logon path" but again nothing > > happened. > > > > I thought the following line would do the trick, but... no: > > > > logon path = \\%L\profiles\%g\%U > try this: > logon path = \\%L\profiles\%G\%U > > it works since years, we use > > logon path = \\%L\profiles\%G\%U\%a > > so we get a windows version specific profile. We need this because we > have w2k and wxp workstations. > > I don't remember if we had precreated the profiles group directories :-( > . > > > > > Could you give me any clue about how to do that? > > > > Thanks! > > > > Alexander > > Brazil > > > -- > > Regards > Harry Jede > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
