LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2014, 02:28 PM   #1
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
Smile Is their a way to set up roaming user profiles in redhatlinux server ?


Is their a way to set up roaming user profiles in redhatlinux server to login with client machines and the data will be saved in the server user folder ? . A link to tutorial from any site or here would be very helpful.
 
Old 12-06-2014, 05:23 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Is their a way to set up roaming user profiles in redhat linux
Yes
Quote:
A link to tutorial from any site or here would be very helpful.
The 7th option from the left on the menu bar above this post has an option that they've cleverly marked "Search"...
I wonder if that's what you're looking for?
 
1 members found this post helpful.
Old 12-06-2014, 01:20 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
In an all-*nix environment, you can share home directories via NFS from a single server. Since shell and application startup files are contained within the home directory, the user should get a common environment assuming all machines are identical in terms of hardware and software. Network authentication and identity can be handled a variety of different ways (NIS, LDAP, Kerberod, even active directory). If you want to know more, you need to ask specific questions like dijetlo says.
 
1 members found this post helpful.
Old 12-08-2014, 01:21 PM   #4
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
the clear question should be how to set up ldap server in redhat or centos linux and join other linux systems in the server's domain and create a directory for a domain user in server so linux users on the lan can log into server as the domain user and whatever they work will be saved on the domain user's folder on the server machine. I am trying to get as clear i can about this agenda.can anybody kindy provide me a proper tutorial link for that . its for my study.
 
Old 12-11-2014, 11:21 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Here's a full setup howto for Centos 6 http://www.server-world.info/en/note?os=CentOS_6&p=ldap
 
1 members found this post helpful.
Old 12-12-2014, 06:00 AM   #6
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
its skipping somethings like does i need to edit the /etc/openldap/slapd.conf and change the "dc=" and add rootpw and the the code generated from the slappasswd command and in one other tutorial i saw making a root.ldif and users.ldif (for all users) file in /etc/openldap/ and wheres the DB_CONFIG ?????? in /var/lib/ldap/ ???????? and do i need to edit the /etc/openldap/ldap.conf ?????
and for adding the client this tutorial just shown creating a .ldif filr in /home/root (the root's home dir but wee need to put it in /etc/openldap/ right ????????????

im confused :S please help
 
Old 12-13-2014, 09:44 AM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I just answered your other post. The post above does not make much sense. What step are you trying to accomplish? OpenLDAP 2.4 and greater have a new config syntax that is manipulated completely within LDAP (I don't like it, but that's just MOO). You do need to configure your base DN and administrative DN, and then create LDIF files to import users, groups, and any other data (e.g. phone lists) you want in the directory.

You can create an LDIF file anywhere and then use ldapadd/ldapmodify/ldapdelete to operate on it (depending on what you're trying to do). The LDIF files aren't the actual config files, they're data manipulation and control commands for the server. Does this make sense?
 
1 members found this post helpful.
Old 12-14-2014, 12:32 PM   #8
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
thanks man its very detailed and just like i said its for my curiosity and study purpose.
i know how to configure nfs,samba,named,telnet,httpd,pxe,dhcpd,ftp,squid
what i did
1)installed openldap using yum
2)used this link to edit slapd.conf and make ldif files http://www.howtoforge.com/linux_open..._server_client moved the DB_CONFIG in /var/lib/ldap added users using ldapadd command
2)on client used setup command to allow ldap and md5 and login through ldap and specified the domain and ip of the sever
3) configured samba on server for /home to anonnymous access
3)restarted ldap restarted client and tring to log in using the ldap user i created on server but getting incorrent login

what am i doing wrong btmiller ? im using CentOS 5.4
 
Old 12-14-2014, 07:54 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
OK first things first, CentOS 5.4 is OLD and UNSUPPORTED. The latest version of the 5.x line is 5.10 or thereabouts. You really should make sure you have the latest security patches and bugfixes.

Second off, you need to do some basic troubleshooting. Have you configured /etc/openldap/ldap.conf on the client? If you do "ldapsearch -x" on both the client and the server, do you see the DNs for the user you created? Assuming you do, can you do "id <ldapuser>" and "getent passwd <ldapuser>" on the client and get the correct information for the user you created in LDAP? If this works, have you configured PAM to use LDAP when authenticating (either via the ldap or sssd PAM modules)?

There are any number of things that can go wrong here (believe me, I've seen most of them), the trick is to figure out which one is causing the problem and then fix it.

Unfortunately, I know zilch about SAMBA (I'm an NFS guy), so I can't really help with that piece of the puzzle. Hopefully someone else will chime in.
 
1 members found this post helpful.
Old 12-15-2014, 01:18 AM   #10
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
yes man i have configured pam on client to use ldap i have mounted the ldap user's home directory in client's home

ok first of all please see the link i have given and check if the domain.com.ldif's configaration is correct or and the root.ldif file's
it was giving error while ldapadd something like multiple objectClass and yes i have updated the domain info in /usr/share/doc/openlap/migrate_common.ph and in tutorial their updating "Manager" its cn=Manager

"Manager"
||
computername.mydoamin.com
^^
right ?

thanks again btmiller for answering u been very helpful thanks very much for sharing your knowledge

i haven't found any good tutorials for centos 6 /redhat 6 so if i succeed in this i will move onto that this way i shall have a better understanding

Last edited by dantezyates; 12-15-2014 at 06:31 AM.
 
Old 12-17-2014, 01:48 PM   #11
dantezyates
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
i solved it every tutorial was missing something i took something from all of em did some / alot research and finally done it on redhat 6*
 
  


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
WinXP won't load roaming profiles from SAMBA server avinash.rao Ubuntu 5 10-13-2008 06:54 AM
Server setup as PDC with roaming profiles (win xp) teknoledge Linux - Server 7 06-25-2007 03:15 PM
RHEL3 member server for MS Roaming Profiles/Home in AD environment - will this work? fireman949 Linux - Enterprise 1 10-20-2005 01:20 AM
Samba, roaming profiles, user access, printing and folder redirection... GD_19 Linux - Networking 1 08-30-2005 01:16 AM
linux password server/roaming profiles paul_mat Linux - Newbie 1 02-28-2005 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:39 AM.

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