LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 08-30-2005, 10:27 PM   #1
dmarrows
LQ Newbie
 
Registered: Aug 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 5

Rep: Reputation: 0
Fedora Core 3 as PDC


Hello,
I have recently installed a Fedora Core 3 server at one of my clients businesses, and has have a few teething problems with the PDC server.
Primarily, it is set up to enable roaming profiles, and as a central location to store all company files to enable a simple backup regime.
One of the main problems that I have been having is the roaming profiles are not working correctly. I have successfully joined the Win XP computer to the domain, and upon success I logged in as the root user. A profile was immediately created, along with the home directory as specified by the smb.conf file.
The problem here enlies with non-root users. Whenever I create a new account and log in to the server with the new account, the new profile is not created as an error message comes up telling me that the server could not locate a profile, and would log me in with a temporary one. The problem as far as I can tell, is for some reason the root has ownership of the profiles folder, and no-one else can create a profile upon login. The home directories are being created, but not mapped to drive H: as specified in the smb.conf file either. These are my two teething problems, but apart from that the server is operating as it should.
If anyone can come up with an idea as to how to set the permissions on the profiles folder, and what I may have done wrong so that the home directory is not being mapped to the H: letter under Windoze, I would be greatly appreciateive.

I can supply the smb.conf file on request.

Regards,
Daniel.
 
Old 08-31-2005, 04:56 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Can't you just chmod the settings on the profiles folder to make it accessable to all users? And unfortunately I don't have a solution for the other issue, perhaps it is related to the profiles issue and will be resolved when/if that is fixed.

Alex
 
Old 08-31-2005, 06:52 AM   #3
dmarrows
LQ Newbie
 
Registered: Aug 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 5

Original Poster
Rep: Reputation: 0
Fedora Core 3 as PDC

Alex,

Yes I guess I can chmod the profiles folder, but what snytax do I use to change it to allow profiles to be created? I'm not that familiar with the command line structure commands.
I used the gui to change the ownership of the folder to root, and the group ownership to 'smbusers', but it has not fixed the problem.

Any further advice would be appreciated.

Cheers.
 
Old 08-31-2005, 11:52 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well in the it has been a while but try chmod 777

Alex
 
Old 08-31-2005, 07:36 PM   #5
jdogpc
Member
 
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Hi dmarrows, when any kind of login is processed it is passed throu PAM, so check /etc/pam.d/system-auth and add a line to the end with:

session required /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel

skel=/etc/skel means what should be created by default for every user so the content of that directory is copied to the users home.
I have this working also on a FC3 but it is not playing the role of PDC just fileserver but whenever a user logs in it creates a home dir.

Give it a try.

JdogPC
 
Old 10-05-2005, 11:52 PM   #6
dmarrows
LQ Newbie
 
Registered: Aug 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 5

Original Poster
Rep: Reputation: 0
JdogPC,
Cheers mate. I have been very busy with other clients and this job has sufferred. I will try this and let you know how I get on.

Regards
 
Old 11-30-2005, 11:10 PM   #7
dmarrows
LQ Newbie
 
Registered: Aug 2005
Location: Australia
Distribution: Fedora Core 3
Posts: 5

Original Poster
Rep: Reputation: 0
JdogPC,
I have added the line to the /etc/pam.d/system-auth file, and restarted the smb service. Nothing has changed. I still get the windows error message of "Could not locate the roaming profile, and windows will attempt to log you on with a local one" then it tries that and comes up with "windows could not locate your local profile and will log you on with a temporary one". this is becomming increasingly frustrating.

I have discovered that when I manage the local accounts on the computer, it does not give me the optino to push the profiles to the server, and when I attempt to specify the location of the profile and the home directory on the profile properties page, it cannot fin d the users home directory and the profile directory. Could thi sbe that for some reason the profile and the home directorya re not being published? And this may be why windows can not find the profile??
 
Old 12-01-2005, 06:36 PM   #8
jdogpc
Member
 
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Hi dmarrows,

sorry for the delay. Can you please post a copy of smb.conf, and the location of the directory where you have your users home folders that should being mapped to drive H:

Post a dump of a user profile with this command " pdbedit -Lv "if you can? It should give you something like this

Unix username: nobody
NT username:
Account Flags: [DU ]
User SID: S-1-5-21-1249765620-3002480652-2636758617-501
Primary Group SID: S-1-5-21-1249765620-3002480652-2636758617-514
Full Name: Nobody
Home Directory: \\srv\nobody
HomeDir Drive:
Logon Script:
Profile Path: \\srv\nobody\profile
Domain: SRV
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Tue, 19 Jan 2038 03:14:07 GMT
Kickoff time: Tue, 19 Jan 2038 03:14:07 GMT
Password last set: 0
Password can change: 0
Password must change: Tue, 19 Jan 2038 03:14:07 GMT
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


Also post the dump from "testparm", this command dumps smb's actual configuration.

Can you tell me how do you create new users?

I'll get back to you as soon as I can.

JDogPC
 
  


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
Fedora Core 4 Smba unable to connect to the PDC fieldyweb Linux - Networking 3 09-09-2005 04:36 AM
Installing Polaroid PDC 2070 digital camera in Fedora Core 3. jigme Linux - Hardware 1 03-31-2005 12:50 AM
Installing Polaroid PDC 2070 webcam under Fedora Core 3 jigme Linux - Newbie 1 03-26-2005 10:45 PM
trust relationship between windows pdc and fedora core 2 rans Linux - Networking 0 09-10-2004 01:44 AM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

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