LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Windows cannot locate the server copy of your roaming profile and is attempting to lo (https://www.linuxquestions.org/questions/linux-server-73/windows-cannot-locate-the-server-copy-of-your-roaming-profile-and-is-attempting-to-lo-558982/)

melvinong 06-04-2007 04:13 AM

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?

Simon Bridge 06-04-2007 04:23 AM

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?

melvinong 06-04-2007 04:45 AM

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."

Simon Bridge 06-04-2007 06:10 AM

That leaves three questions unanswered.

melvinong 06-04-2007 09:21 PM

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

moenterprise 06-04-2007 10:05 PM

Moi, aussi!

melvinong 06-04-2007 10:38 PM

moenterprise
 
Quote:

Originally Posted by moenterprise
Moi, aussi!

elo...moenterprise...

wat mean of moi,aussi?

Simon Bridge 06-05-2007 06:11 AM

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 ?

moenterprise 06-05-2007 11:12 PM

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

Simon Bridge 06-05-2007 11:43 PM

Has the windows box been able to login properly before, or is this a new account?

melvinong 06-06-2007 12:05 AM

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?

Simon Bridge 06-06-2007 02:14 AM

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.

lord loh. 06-06-2007 08:26 AM

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. :mad:

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..

New2Linux2 06-06-2007 12:36 PM

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.

Simon Bridge 06-06-2007 04:57 PM

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.

melvinong 06-06-2007 09:13 PM

i want the admin group to be domain admin
 
Quote:

Originally Posted by Simon Bridge
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

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.




I want the admin group to be domain admin.
Can you provide any idea how to do it?

Simon Bridge 06-06-2007 10:16 PM

I just did.

melvinong 06-07-2007 12:10 AM

I still can't get how to create a group "admins" and set the privilege to that group
 
Quote:

Originally Posted by Simon Bridge
I just did.

I still can't get how to create a group "admins" and set the privilege to that group.

Can u provive m further details.

lord loh. 06-07-2007 12:36 AM

Quote:

Originally Posted by Simon Bridge
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.

The only thing in #12 that I did not implement is profile acls = yes I shall ttry that today.

I I do have WinXp Professional. And I guess there is some problem on the Linux end as well. I made the profiles folder browsable. However, I am not able to open it inspite of giving the root password. I gave all permission on the profiles folder on the Linux Machine.

Also, post #12 has something mentioned about @admin group. I can't I use @wheel instead.

melvinong 06-07-2007 02:07 AM

Dear Simon Bridge,

I still can't get how to create a group "admins" and set the privilege to that group.

Can u provide me further details.

Simon Bridge 06-07-2007 04:20 AM

The mini howto I pointed out tells you how to create a domain group, add users to it, and add privileges to it. If you want a domain admin... i.e. people who cat add Win2000/XP shares, then that is covered too.

There are lots of others too, including step-by-step instructions. Like:
http://www.chinalinuxpub.com/doc/www...m#_Toc32306486
... remember, google is your friend.

So that XP box finds its roaming profile now or not?


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