LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to enable roaming profile using smb.conf ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-enable-roaming-profile-using-smb-conf-903129/)

gardenair 09-15-2011 04:43 AM

How to enable roaming profile using smb.conf ?
 
1 Attachment(s)
hi,
I am using cent os 5 for samba. All clients users are connected properly at their respective computers. I want to create roaming profile in samba .Following are the steps which I take for normal samba to join xp machines with samba as Domain Controller.



# ----------------------- Network Related Options ---------------

workgroup = mydomain.local
server string = Samba Server Version %v

# ----------------------- Standalone Server Options ------------
security = user
passdb backend = tdbsam

# ----------------------- Domain Controller Options ------------
domain master = yes
domain logons = yes

add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
logon path = \\%N\%U
logon drive = H:
logon home = \\%N\%U
# ----------------------- Browser Control Options --------------
local master = yes
os level = 33
preferred master = yes


[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no


[Profiles]
path = /home/samba/profiles
browsable = no
guest = ok


----------------------------------------------------------------------------------------------



These are the options which I have enabled in smb.conf file.
Now I change permissions

# chmod 757 /home/samba/netlogon
# chmod 757 /home/samba/profiles

I add a user and then assign smb password

# useradd -m test1
# useradd -m test2

# smbpasswd -a test1
# smbpasswd -a test2

# smbpasswd -a root


Well by taking all these steps the windows xp clients can connect with samba server.The problem is I can not see any changes if a user test1 switch from one computer to another.The wallpaper files in desktop etc etc.When the xp computer login i see the message attachhere herewith. Kindly review it & guide me.
Thanks in advance,
garden

gardenair 09-16-2011 12:17 AM

plase any body help me in the forum.....

jschiwal 09-16-2011 12:53 AM

I'd recommend downloading the samba 3.0 docs from their site. Many distro's have a package such as samba-docs that include them as well. Look at Chapter 32 "Desktop Profile Management" in "Samba 3: Howto and Reference Guide" The Samba 3 by Example book may contain an example configuring profiles.

http://www.samba.org/samba/docs/Samba3-HOWTO.pdf

http://www.samba.org/samba/docs/

gardenair 09-16-2011 06:37 AM

Thanks for the reply. well i have ready the stuff which you have mentioned but it is still not clear for my point.The issue is only enable Roaming profile by using samba how i can achieve my goal it is a :scratch:

jschiwal 10-11-2011 01:10 AM

There are several mentions of roaming profiles in "man smb.conf" showing which configuration values you will be working with. However you will have other things to do, and it will depend on which version of Windows you use. You need to be using Samba as a Domain controller. For roaming profiles, if your users use Microsoft Outlook, you need to use an exchange server to hold the emails. The PST files will be gigabytes in size and take to long to download otherwise.

Look in Chapter 27 DESKTOP PROFILE MANAGEMENT of the Samba Howto and Reference Guide.

Check the using samba book. I think it has login script examples.
http://www.samba.org/samba/docs/using_samba/toc.html


All times are GMT -5. The time now is 07:53 PM.