 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

23rd August 2004, 07:02 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37

|
|
|
logon via putty...
I am trying to set up ldap as my means of organising profiles and such, eventually planning on working a samba+ldap service. my problems are thus;
when i attemt to log on as a user, i get
Code:
Could not chdir to home directory /home/projkt4: No such file or directory
i know there isnt a direectory, because i wanted to have it organised to have the home directory set up as such:
/home/profiles/projkt4
with every new user i would create another dir in
/home/profiles
when i checked to see if ldap was running i was told that ldap was not a service. what would i have overlooked that would not have ldap shown as a service. also, when i checked to see if samba was running, i was told that both smb and smd were not started. where and how would i go about changing that on boot; so they start automatically?
|

23rd August 2004, 09:15 AM
|
 |
Retired Community Manager
|
|
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019

|
|
type as root and look for ldap and smbd/nmbd
__________________
http://blog.suretecsystems.com
|

24th August 2004, 04:21 AM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423

|
|
|
In order to change where the default user directories are stored, you have to edit each user's setup and change this. You can do this through the System Settings -> Users and Groups GUI. By default, all user directories are located directly under /home - which makes me wonder why you'd want/need to change this?
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
|

5th September 2004, 06:02 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37

|
|
|
i finally setup and configured ldap enough to get it running, i now need to figure out how to get ldap to be my authentication service for logon. you can find my troubleshooting in the servers forum here at fedorum.
crackers:
i just want to change the setup slightly so it "feels" better to me. just a preference thing. also, i appreciate your advice, but since i dont use any GUI i cant even begin to figgure out what you reccomended. thanks though, hopefully someone else will need that info.
|

5th September 2004, 10:24 AM
|
 |
Registered User
|
|
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 30
Posts: 29

|
|
To use the LDAP service as your primary means of authentication, type authconfig then select LDAP for both User Information and Authentication.
As for the user home directory's, you can let pam_mkhomedir.so create them.
You will need to configure /etc/pam.d/system-auth
That should do it.
__________________
Dave Kimberley
------------------
RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
|

5th September 2004, 11:59 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37

|
|
|
thanks! i will try that once i have populated the database with users and can make sure i can get in. dont need to lock myself out. your help is much appreciated.
|

5th September 2004, 07:10 PM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423

|
|
|
Since you "don't use a GUI", you can manually change users' home directories via the CLI with vipw. Please be aware that when you start deviating from standard procedures that you are incurring a risk that some programs may not work entirely correctly as there are certain expectations that you've circumvented. This means that you may (probably will) have to hunt down lots of rc and config files to make the changes in there, as well.
Not to be nasty or anything, "feels better" doesn't necessarily make a lot of sense. The filesystems were/are set up the way they are for a reason - and almost everything expects you to follow that convention, since that's the "standard."
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
|

6th September 2004, 06:40 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37

|
|
|
crackers;
i appreciate the heads up on deviation from the standard setups, but i am willing to go through those files to edit what i need to do. i have found that by giving my system a certian quirkyness forces me to go line through line and figgure out what a majority of those lines do. it is a longer method of getting things to work, but it allows me to learn so much more. sort of why i have been so reluctant to install a linux distro with a GUI, i feel lazy when i rely on a gui to help me navigate and administer things. either way, i realize my method is not the best for everyone, just me and my learning preferences. i appreciate your comment about vipw, iplan on trying it out soon. thank you.
|

6th September 2004, 06:31 PM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423

|
|
Quote:
|
Originally Posted by projkt4
i have found that by giving my system a certian quirkyness forces me to go line through line and figgure out what a majority of those lines do. it is a longer method of getting things to work, but it allows me to learn so much more.
|
Hey, it's your system, but I usually just RTFM a lot when the curiousity bug strikes. Or when something breaks. I've learned the values in "leaving things well enough alone" after having done some similar kinds of things.
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:08 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|