LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2003, 07:27 PM   #1
Thermos
Member
 
Registered: Feb 2003
Posts: 38

Rep: Reputation: 15
Windows profiles


ive got 2 pcs
bean = winxp corp sp1
ender = mandrake 9, samba server PDC

just setup samba yesterday and everything works fine except
for my profiles on the xp box. when i logon to the domain winblows give me an error about cant find the roaming profile and wont be able to save the settings when i logoff.

and of course this is true.

if i had to guess maybe my permissions on my home/netlogon
folder are wrong, but im still a newb at linux and am not completely sure what to set it as.

here's my smb.conf

# Global parameters
[global]
workgroup = EROS
;netbios name = Ender
server string = Ender
encrypt passwords = yes
security = user
domain logons = yes
os level = 65
preferred master = yes
domain master = yes
local master = yes
dns proxy = No
domain admin group = thermos @sysadmim
admin users = @sysadmin
logon path = \\%n\profiles\%u
logon drive = q:
logon home = \\Ender\%u

[netlogon]
;comment = Network Logon Service
path = /home/netlogon
write list = administrator
read only = yes
guest ok = yes

[profiles]
path = /home/ntprofile
read only = no
create mask = 0600
directory mask = 0700
guest ok = yes
browseable = no

[homes]
read only = no
browseable = no

[music]
valid users = thermos
path = /home/thermos/mp3s
write list = thermos

[apps]
valid users = thermos
path = /storage/apps
write list = thermos
 
Old 05-13-2003, 05:09 AM   #2
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
I just cheked my setup for the profile directory and I have world read/write/execute on this directory. I am not sure thyis is a god thing at all but at least it works i guess, it may be worth a try and they gradually take permissions away to see when it breaks

sorry not a very good answer I realise

ps I reckon that peter would be a better name for your win xp box (windows is after all insidiuos, sneaky and downright evil at times) ;-)
 
Old 05-13-2003, 03:31 PM   #3
Thermos
Member
 
Registered: Feb 2003
Posts: 38

Original Poster
Rep: Reputation: 15
help... anyone???

oh, and yes i probably should have name the xp box peter Sutekh

ive tried everything i can think of.
ive read a bunch of posts here about this but cant seem to get it to work
ive made sure i can write to the profile folder, i tried makin a couple registry changes to the xp box. and changed a million things in my smb.conf. im stuck.

can someone help please. thnx in adv.


here's the current smb.conf

# Global parameters
[global]
workgroup = EROS
server string = Ender
encrypt passwords = yes
security = user
domain logons = yes
os level = 65
preferred master = yes
domain master = yes
local master = yes
dns proxy = No
domain admin group = thermos @sysadmim
admin users = @sysadmin

logon path = \\%N\profiles\%u
logon drive = q:
logon home = \\%N\home\%u
logon script = %U.bat
#logon script = logon.cmd

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
unix password sync = yes
create mask = 0777
directory mask = 0777


[netlogon]
;comment = Network Logon Service
path = /home/netlogon
write list = administrator
;read only = yes
guest ok = yes
;writeable = yes

[profiles]
path = /home/profiles
writeable = yes
read only = no
create mask = 0777
directory mask = 0777
guest ok = yes
;browseable = no
profile acls = yes


[homes]
read only = no
browseable = no

[music]
valid users = thermos
path = /home/thermos/mp3s
write list = thermos

[apps]
valid users = thermos
path = /storage/apps
write list = thermos
 
Old 05-13-2003, 05:21 PM   #4
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
so with the browsable tag off can you see the profile folder? I know you can't yet write to it but theoretically you should no be able to see it at least.

does it come up in a list of shares on the box itself if you do a smbclient -L Ender? and can you get to it with smbclient //ender/profiles ?

are you having any other issues logging in from this box, other than profiles? do login scripts etc. work? have you installed the reg hacks to xp to fix the password issues (i assume you have from your above post)

if you can login and you can see the profile folder can you write to it? are the user folders being written? what are the permissions on this folder?

Rich

ps I had a change of heart over night, figured that even though peter wanted to rule the world he turned out ok, no I think Achilles is a more appropriate name, using his strength and size to beat up on the little guys but ultimately beaten by brains over braun by the little guy!

pps I have too much time on my hands
 
Old 05-13-2003, 05:38 PM   #5
Thermos
Member
 
Registered: Feb 2003
Posts: 38

Original Poster
Rep: Reputation: 15
yes the share shows up with smbclient -L Ender
from xp i can see the profile folder
from xp in explorer i can write to the profile folder
in the profile folder there is a folder called thermos
here are the rights for /home/profiles/thermos
drwx------ 2 thermos thermos 4096 May 12 18:32 thermos/

the only thing special i have done to xp is..
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
"signsecurechannel"=dword:00000000
i set both to zero, is there something else i need to do?


and yes achilles would be more fitting. ur making me wanna rename my pc lol, but achilles or peter were never on eros (my domain) ok, im a dork. :P

Last edited by Thermos; 05-13-2003 at 05:39 PM.
 
Old 05-13-2003, 06:10 PM   #6
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
check out this page http://www.ccs.uky.edu/docs/samba.htm at the bottom

p.s. lol re EROS now I gotta put my thinking cap back on (i', thinking maybe Graff, in charge coz he was older, but ultimately outclassed by someone younger and smarter ;-)
 
Old 05-13-2003, 06:55 PM   #7
Thermos
Member
 
Registered: Feb 2003
Posts: 38

Original Poster
Rep: Reputation: 15
i found that yesterday. and have already made those changes.

sorry would have mentioned earlier, but it slipped my mind. any other ideas.

Last edited by Thermos; 05-13-2003 at 07:02 PM.
 
Old 05-13-2003, 08:34 PM   #8
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
I had a link to the thing I used to set up the machines here but it is broken now, I did send an email to about it at the time, I am searching for it now

I will let you know when I find it
 
Old 05-13-2003, 09:27 PM   #9
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
ok I have found the email here goes


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000

may or may not help but it wont hurt
 
Old 05-13-2003, 10:55 PM   #10
Zvezda
Member
 
Registered: Jul 2001
Location: Fort Wayne
Distribution: Redhat 9.0, Fedora2
Posts: 87

Rep: Reputation: 15
Look at the log files in.... /var/log/samba that might give you some clues as to what is happening the one thing I love about Linux is its log files I've solved many of my Newbie issues by just reading log files

ALSO: given the reward that when you solved this it will contribute to learning but when I had roaming profiles turned on it seemed like a waste of time, delays in shuting down and using disk space roaming profiles are great in a large enviroment but with just a couple P/C's
Agggg!!! it wasnt for me

Last edited by Zvezda; 05-13-2003 at 11:02 PM.
 
Old 05-14-2003, 01:09 AM   #11
Thermos
Member
 
Registered: Feb 2003
Posts: 38

Original Poster
Rep: Reputation: 15
omg!!!

so i checked those registry settings and i had them already.

was about to goto bed, rebooted linux box and then xp box....
and it freakin worked. lmao. im soo happy.

thnx guys preciate the help.
 
Old 05-14-2003, 01:42 AM   #12
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
lol, typical.

I seemed to have developed that no need to reboot hubris as well, I will happily waste 2 weeks stuffing around trying to work out what is going wrong, finally the power will go out or something and hey presto the bloody things works

sometimes a reboot is not such a bad thing...
 
  


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
Linux roaming profiles, but WITHOUT NO WINDOWS ringo Linux - Networking 8 11-22-2004 06:07 PM
New windows installation doesn't set up profiles with samba server drjekyll Linux - Newbie 2 05-25-2004 12:59 PM
Samba and Windows roaming profiles firedude Linux - Networking 2 08-10-2003 01:58 PM
Windows 9x and NT/2000 profiles on Samba PDC ppuddick Linux - Networking 0 11-29-2002 05:32 AM
Profiles jeucken Linux - Software 2 11-06-2002 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:23 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