Listas Fernandes
2012-Jan-27 11:59 UTC
[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
Daniel Müller
2012-Jan-27 12:23 UTC
[Samba] Is that possible to create profiles shares into group structure?
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
Harry Jede
2012-Jan-27 14:19 UTC
[Samba] Is that possible to create profiles shares into group structure?
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\%Utry 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