[Samba] Is that possible to create profiles shares into group structure?

Listas Fernandes listasffernandes at gmail.com
Fri Jan 27 04:59:13 MST 2012


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


Could you give me any clue about how to do that?

Thanks!

Alexander
Brazil


More information about the samba mailing list