Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th July 2006, 05:43 PM
sor Offline
Registered User
 
Join Date: Jan 2005
Posts: 35
Strange problems - FDS, LDAP

[Environment]

After configuring a server with:
FC5
Fedora Directory Server 1.0.2

and connecting a newly installed client also running FC5,
upon configuring the whole thing, including user authentication at the client side via LDAP,

[Problem]
everytime a user logs in, a warning message "your $HOME/.dmrc is being ignored...incorrect permission... 644..." etc shows up, although afterwards everything seems to work normally.

[Question]
How to prevent this problem from happening, in order not to disturb the otherwise relaxed and happy system users?

[Further technical data]
The login takes place at the client end using as username t10a (previously created at the FDS console on the server as POSIX user).

At the client, the file .bashprofile contains:

# .bash_profile
bash /etc/script/shell/apagar_t10a
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAM

The file apagar_t10a contains:
#!/bin/sh
rm -rf /home/t10a
cp -r /etc/script/modelo/t10a /home
chmod -R o+rwx /home/t10

That is, after logging in, the user home directory from a previous session is deleted, and a model configuration is restored (basically, an empty home directory with all typical (hidden) files, including the above mentioned .bashprofile.

At the client, there is a local group called t10a, as well, but no local user under that name.

Now: after login in, the scripts run, and I could check that /home/t10a has root as user as well as group, and .dmrc does not exhibit 644 permissions. So I changed the scripts in order to ensure that the home folder t10a comes as owned by t10a (as both user and group), and also changed the script so that .dmrc after login shows the recommended 644 permissions. I futher tried a lot of variations on this theme....
But the warning message still pops-up!

Can you experts help? Hope so.
Sincere thanks.
Reply With Quote
Reply

Tags
fds, ldap, problems, strange

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 11:25 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat