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

Daniel Müller mueller at tropenklinik.de
Fri Jan 27 05:23:15 MST 2012

So you only have for every user exactly one group?
Ex: freddy is only member of group financial?!
In a live environment this could not work.
If you are working with openldap you can define in your openldap-config the
"profile Path"(sambaProfilePath).
Leave it empty in you smb.conf samba would search for it in your
But you need to define it for every user.
With ex:LDAP Admin you are able to do it in a gui.

Good Luck

EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Listas Fernandes
Gesendet: Freitag, 27. Januar 2012 12:59
An: samba at lists.samba.org
Betreff: [Samba] Is that possible to create profiles shares into group


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:


And I would like to use:


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?


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list