Koozali.org: home of the SME Server

Roaming Profiles Store

Tue Arnkil

Roaming Profiles Store
« on: September 13, 2001, 03:33:59 AM »
I would like to save roaming profiles in a hidden directory - as explained in O'Reillys SAMBA.
Which template should I change, and what changed must be made ?
I've had a look at  
etc/e-smith/templates/etc/smb.conf/25rovingProfilesComment  (roving=roaming ?),
and I have uncommented the last line
logon path = \%L\profiles\%U
I have created the directory /home/e-smith/files/ibays/profiles   with r/w acces for everyone. I did this via e-smith-manager. Is that ok ?

Anyway - the profiles are still saved in the homes of the users. I think it's messy, and I sure hope someone can help me.

Thanks, Tue Arnkil, DK

Stephan Burmeister

Re: Roaming Profiles Store
« Reply #1 on: September 13, 2001, 08:27:50 PM »
Choosing an ibay for storing profiles is not a good idea. Try this instead:

Log in as root and issue these commands:

[root@e-smith samba]# mkdir /home/e-smith/files/Profiles
[root@e-smith samba]# chmod 777 /home/e-smith/files/Profiles

Next, create a template fragment called 62profiles in /etc/e-smith/templates-custom/etc/smb.conf, with the following content:
                                                                               
   [Profiles]                                                                  
   path = /home/e-smith/files/Profiles                                          
   writeable = yes                                                              
   browseable = no                                                              
   create mask = 777                                                            
   directory mask = 777                                                        
                                                                               
Then:

[root@e-smith samba]# /sbin/e-smith/expand-template /etc/smb.conf
[root@e-smith samba]# etc/rc.d/rc7.d/S91smb restart

Now all your profiles get stored in the hidden directory /home/e-smith/files/Profiles.

Stephan

Gene Cooper

Re: Roaming Profiles Store
« Reply #2 on: September 14, 2001, 09:36:54 PM »
Thanks for the great info.

Do the profiles then get backed up by the normal e-smith backups?

Or do we need to modify the backup script?

TIA,

G

Stephan Burmeister

Re: Roaming Profiles Store
« Reply #3 on: September 15, 2001, 01:22:58 AM »
Yes, they do get backed up. No additional action is needed.

Stephan