Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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:

[ram]
name=Rational Asset Manager YUM repository
baseurl=http://user:pass@server.example.com/ram.ws/yum
gpgcheck=0

I configured mine as:

[sdiram]
name=RPM packages from the SDIRAM server - $basearch
baseurl=https://imitdscs%40us.ibm.com:**********@sdiram01.svl.ibm.com/ram.ws/yum
enabled=1
gpgcheck=0
sslverify=false

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

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

I get the following connection error:

https://imitdscs%40us.ibm.com:********@sdiram01.svl.ibm.com/ram.ws/yum/repodata/repomd.xml: [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?

Thanks,
Chris

0 votes


Accepted answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 07 '14, 2:54 p.m.

Question was seen: 5,478 times

Last updated: Feb 07 '14, 3:33 p.m.

Confirmation Cancel Confirm