[Samba] Is that possible to create profiles shares into group structure?
Harry Jede
walk2sun at arcor.de
Fri Jan 27 07:19:25 MST 2012
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
More information about the samba
mailing list