Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-19-2008, 08:32 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
Samba roaming profiles problems

Hi people. Im in need of help as far as roaming profiles are concerned.
Allow me as I know this issue has been discussed timelessly but let me just ask it because I have been unable to get it to work.

My Samba + Ldap Primary Domain Controller setup is fine and XP users can authenticate alright. Im using samba 3.0.28. However when logging in for the first time, they get the message;

Windows cannot locate a server copy.... -Access is denied

When logging off,

Windows cannot update your roaming profile... -Access is denied

I copied the profiles across from another server, so the first error does not come up except for new users and the old profiles are mapped onto the users machines just fine.

I think I've done everything for roaming profiles to work including

mkdir -p /var/lib/samba/profiles
chown root:users /var/lib/samba/profiles
chmod 2775 /var/lib/samba/profiles

chown -R user /var/lib/samba/profiles/user/

The samba logs don't show any errors.

Below is my smb.conf file
workgroup = EXAMPLE
netbios name = EXAMPLE_SERVER
server string = Samba Server Version %v
passdb backend = ldapsam:ldap://
log file = /var/log/samba/%m.log
max log size = 50
add user script = /usr/sbin/adduser -m "%u"
add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u
logon script = %u.bat
logon path = \\EXAMPLE_SERVER\profiles\%U
logon home = \\EXAMPLE_SERVER\%U
domain logons = Yes
domain master = Yes
ldap admin dn = "cn=config"
ldap group suffix = ou=groups
ldap machine suffix = ou=machines
ldap passwd sync = Yes
ldap suffix = dc=example,dc=org
ldap user suffix = ou=people
cups options = raw
comment = Home Directories
validusers = %S
read only = No
browseable = No
writable = Yes
create mask= 0700
directory mask = 0700
comment = Network Logon Service
path = /var/lib/samba/netlogon
share modes = No
guest ok = Yes
path = /var/lib/samba/profiles
read only = No
writable = Yes
profile acls = Yes
comment = User profiles
create mask = 0600
browsable = no
directory mask = 0700

My searches on the web have not helped much. I am running on a Red Hat like system (CentOS 5).

Someone please help. I will be eternally grateful.
Old 08-19-2008, 09:44 AM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,439
Blog Entries: 1

Rep: Reputation: 66
try to change the access mode for profiles share to:
chmod 1777 /var/lib/samba/profiles


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba Roaming Profiles SBN Linux - Server 3 12-04-2007 03:07 AM
SAMBA - migrated roaming profiles problems cibrahim Linux - Server 1 06-21-2007 12:58 AM
Samba With Roaming Profiles blackfish Linux - Server 1 03-31-2007 05:05 PM
samba, roaming profiles help. mehesque Linux - Networking 0 05-03-2004 09:07 PM
Samba roaming profiles absco Linux - Networking 1 08-25-2003 11:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 AM.

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