LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-04-2007, 04:13 AM   #1
melvinong
Member
 
Registered: May 2007
Posts: 47

Rep: Reputation: 15
Windows cannot locate the server copy of your roaming profile and is attempting to lo


i get this message when i try to log in to linux domain controller.

Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator.

DETAIL - The network path was not found.


anyone can help?
 
Old 06-04-2007, 04:23 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Did you contact the system administrator? (Perhaps you are the sysadmin?)
Is this Windows Vista we're talking about?

Has thus machine been able to log in before?

There are a great number of reasons why a particular machine may not login... maybe you need to register the computer first?
 
Old 06-04-2007, 04:45 AM   #3
melvinong
Member
 
Registered: May 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Windows cannot find the local profile and is logging you on with a temporary profile.

Quote:
Originally Posted by Simon Bridge
Did you contact the system administrator? (Perhaps you are the sysadmin?)
Is this Windows Vista we're talking about?

Has thus machine been able to log in before?

There are a great number of reasons why a particular machine may not login... maybe you need to register the computer first?




Actually i have register this machine to the domain controller. here is the 1st MSG & 2nd MSG i got.

1ST MESSAGE ) " Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator.
DETAIL - The network path was not found. "


2ND MESSAGE ) "Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off."
 
Old 06-04-2007, 06:10 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
That leaves three questions unanswered.

Last edited by Simon Bridge; 06-05-2007 at 06:08 AM.
 
Old 06-04-2007, 09:21 PM   #5
melvinong
Member
 
Registered: May 2007
Posts: 47

Original Poster
Rep: Reputation: 15
ple refer my smb configuration

Quote:
Originally Posted by Simon Bridge
That leaves two questions unanswered.
here is my smb setting, please have a look....

[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = astadc
server string = asta Domain
security = user
hosts allow = 192.168.100.0/24 127.
load printers = yes
printcap name = /etc/printcap
printing = cups
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.100.55
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U.bat
logon path = \\%L\Profiles\%U
wins support = yes
dns proxy = no
time server = yes

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes
valid users = %S
create mode = 0664
directory mode = 0775

# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /opt/netlogon
guest ok = yes
writeable = no
share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[Profiles]
path = /home/samba/profiles
browseable = no
writeable = yes
guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writeable = no
printable = yes

# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
writeable = yes
guest ok = yes
public = yes
 
Old 06-04-2007, 10:05 PM   #6
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
Moi, aussi!
 
Old 06-04-2007, 10:38 PM   #7
melvinong
Member
 
Registered: May 2007
Posts: 47

Original Poster
Rep: Reputation: 15
moenterprise

Quote:
Originally Posted by moenterprise
Moi, aussi!
elo...moenterprise...

wat mean of moi,aussi?
 
Old 06-05-2007, 06:11 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
En anglais, il signifie, "me too".
("Moi aussi" is french for "me too".)

Bonjour moenterprise, avez-vous quelque chose constructif de s'ajouter?

As for me, there are still three questions unanswered. Perhaps the info is secret?
Quote:
Originally Posted by Simon Bridge in post #2
Did you contact the system administrator? (Perhaps you are the sysadmin?)
Is this Windows Vista we're talking about?

Has this machine been able to log in before?
Peut-être notre ami de langue française peut ajouter plus de détails ?
 
Old 06-05-2007, 11:12 PM   #9
moenterprise
Member
 
Registered: Mar 2007
Distribution: Fedora Core 6
Posts: 94

Rep: Reputation: 15
Sorry...I just had a sudden urge to speak francais

Newayz...
I am the system administrator
We're talking about Windows XP
and I am able to login using a temporary profile
 
Old 06-05-2007, 11:43 PM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Has the windows box been able to login properly before, or is this a new account?
 
Old 06-06-2007, 12:05 AM   #11
melvinong
Member
 
Registered: May 2007
Posts: 47

Original Poster
Rep: Reputation: 15
new PDC, new machine, new account

Quote:
Originally Posted by Simon Bridge
Has the windows box been able to login properly before, or is this a new account?


It's a new PDC i just finish set up, and i create new user account and new machine...


Do u know hot to create a group namely as " admins " , and this group "admins" should have some priviledge which able to act as role of administrator/sysadmin.

Can you provide some idea?
 
Old 06-06-2007, 02:14 AM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK... so the box has never been able to login properly.
You have created the user and given them a password, and the trouble is that they are unable to locate their roving profile.

You should realize that Windows XP Home edition will not accept a samba server as a PDC, this is just not supported (read the EULA). XP Pro is fine, but you have to use a special setup (explained here).

The second error (cannot find local profile) is reasonable because the machine doesn't have one. Creating a local profile on the XP box will remove the second error. However, you want to use a roaming profile on the server.

http://www.math.temple.edu/computing/samba.html#roam

... this howto, in general, is a very good resource.

Try the following [Profiles] setting.
Code:
[Profiles]
  profile acls = yes
  create mode = 0600
  directory mode = 0700
  path = /home/samba/profiles
  browseable = no
  writeable = yes
  guest ok = yes
Quote:
Do you know how to create a group namely as " admins " , and this group "admins" should have some priviledge which able to act as role of administrator/sysadmin.
Do you want the admin group to be local or domain? See the howto above about creating and modifying domain groups. For a local admin, consider using sudo... that's what it is there for.

Last edited by Simon Bridge; 06-06-2007 at 02:19 AM.
 
Old 06-06-2007, 08:26 AM   #13
lord loh.
LQ Newbie
 
Registered: May 2007
Location: Lubbock, TX
Distribution: Slackware ubuntu Arch
Posts: 21

Rep: Reputation: 0
I am facing the same problem. To diagonise, I used wireshark to see the network communication occuring.

One of the troublesome communication was opening the profile folder on the server. The /var/samba/profile folder contains directories named same as the users.

ex: /var/samba/profile/user1

I made the profiles folder browsable and still am not able to open the folder in the server (network neighbourhood even when i log into the windows machine as root. When I log in as the localmachine administrator, and try to open the profile, I enter the root user and password and am still not allowed.

I am always told that a local profile is created.

the /var/samba/profile is owned by root and I have given read-write access to owner/group/others.

/var/samba/profile/user1 is owned by the respective users and have the same kind of access. I tried everything i could but nothing worked.

I tred to see the SELinux policies and tried to disable SELinux protection but that ended up in an error.

I also tried to copy the profile of "default user" into the profile directory of the users. That di not work too..

Last edited by lord loh.; 06-06-2007 at 08:33 AM.
 
Old 06-06-2007, 12:36 PM   #14
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian
Posts: 153

Rep: Reputation: 43
I had nothing but problems with roaming profiles on my network of only 30+ users. Our server is a new Dell PowerEdge 1800 running Debian Sarge and Samba 3.0.25a. I had so much trouble with roaming profiles that I finally decided to just shut off that functionality instead. As I said, only 30+ users.

Even when I had everything setup exactly as the Samba team's documentation suggested, I was still getting the occasionaly error about roaming profiles not loading. Not always, but occasionally. For me and my users, roaming profiles aren't worth the headache.
 
Old 06-06-2007, 04:57 PM   #15
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
lord loh., Nem2Linux2, XP doesn't like to use samba as a PDC. You have to force it, otherwise you won't have access to the roaming profiles. It dosen't matter what you do with the linux end - the config has to be done at the XP side. See the howto links provided in post #12. Hell... read the whole howto!

Make sure this isn't XP Home Edition... most useful network functions are disabled in this edition, including PDC access. You must use XP Pro.

There are even more problems with Windows Vista.

Note, laptops should be using their local profiles anyway.
 
  


Reply


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 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
Samba 2.2.8 - Unable to locate roaming profile takatam Linux - Hardware 0 08-09-2004 03:44 PM
Roaming Profile Problem with Samba JoshT Linux - Networking 0 01-15-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:30 PM.

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