LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2011, 04:43 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to enable roaming profile using smb.conf ?


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
Attached Thumbnails
Click image for larger version

Name:	profile.JPG
Views:	42
Size:	37.8 KB
ID:	7985  

Last edited by gardenair; 09-15-2011 at 06:43 AM.
 
Old 09-16-2011, 12:17 AM   #2
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
plase any body help me in the forum.....
 
Old 09-16-2011, 12:53 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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/

Last edited by jschiwal; 09-16-2011 at 02:53 AM.
 
Old 09-16-2011, 06:37 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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
 
Old 10-11-2011, 01:10 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
roaming profile kinda spooge Slackware 6 08-16-2011 08:34 PM
roaming profile on samba.. cruzler Mandriva 0 10-26-2008 10:46 PM
samba roaming profile sahu_mahen Linux - Networking 0 07-13-2006 10:20 AM
non roaming profile on a roaming profile system fieldyweb Linux - Newbie 1 10-03-2005 12:27 PM
Roaming profile permissions.. Ateo Linux - Networking 3 12-24-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration