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. |
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 |
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. |
Well in the it has been a while but try chmod 777
Alex |
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 |
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 |
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?? |
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 |
All times are GMT -5. The time now is 05:35 PM. |