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

Listas Fernandes listasffernandes at gmail.com
Fri Jan 27 05:49:21 MST 2012

Hi Daniel.

"freddy" is member of the 'finantial' group, but has some 'adicional

I think it's ok since the %g variable show me exactly and only the
'finantial' group.

In other words, I can get this exactly information. Considering that do you
think it's possible to do what I need?

Anyway, using an user specific LDAP property as you suggested can fit my
needs because I use an script to create and change users informations. In
fact I have to do in this way because there's a lot of users and almost of
them come from a freak third-part Paradox ( O.o ) database, so, my script
import those users informations and automatically create and remove the
users from the OpenLDAP.


On Fri, Jan 27, 2012 at 10:23 AM, Daniel Müller <mueller at tropenklinik.de>wrote:

> Hmm...
> 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
> openldap-config.
> But you need to define it for every user.
> With ex:LDAP Admin you are able to do it in a gui.
> Good Luck
> Daniel
> -----------------------------------------------
> 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
> structure?
> 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
> --
> 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