It's all about the answers!

Ask a question

How do you embed LDAP ids in yum repository definition files for RAM communities configured for yum?

Chris Ratcliffe (2633130) | asked Feb 07 '14, 2:54 p.m.
edited Feb 07 '14, 3:33 p.m.
Hello.  I am attempting to configure one of my RAM communities as a YUM repository.  In the instructions, it says to setup the yum repository file with the following lines:

name=Rational Asset Manager YUM repository

I configured mine as:

name=RPM packages from the SDIRAM server - $basearch

When I run a yum command to list the packages available:

 yum --disablerepo="*" --enablerepo="sdiram" list available

I get the following connection error:******** [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.

I can ping the RAM server from my linux box.  I can't tell if the error is being caused because of the use of my "email" based LDAP id or if its caused by something else.  If I replace the encoded %40 with the actual @ I get what looks like a parsing error from yum, so I don't think that is correct.  Anyone done this before?


Accepted answer

permanent link
Chris Ratcliffe (2633130) | answered Feb 07 '14, 3:26 p.m.
Never mind.  The problem was that I forgot the https port number on the baseurl string.  For others who try to do this, use a %40 in place of @ if you have authentication ids that have embedded @ symbols.
Rich Kulp selected this answer as the correct answer

Your answer

Register or to post your answer.