Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authdb parsing (or documentation) broken #575

Closed
olifre opened this issue Sep 4, 2017 · 4 comments
Closed

authdb parsing (or documentation) broken #575

olifre opened this issue Sep 4, 2017 · 4 comments
Assignees

Comments

@olifre
Copy link
Contributor

olifre commented Sep 4, 2017

Using xrootd 4.7.0, I followed the documentation ( see http://xrootd.org/doc/dev47/sec_config.htm#_Toc489606600 ) and wrote in my authdb-file:

= atlddm o atlas r production u ddm
= atlprod o atlas r production

However, on startup of xrootd I get:

170904 12:27:37 18899 acc_AuthFile: Invalid ID sprecifier - o
170904 12:27:37 18899 acc_ConfigXeq: No id selectors specified for atlddm
170904 12:27:37 18899 acc_AuthFile: Invalid ID sprecifier - o
170904 12:27:37 18899 acc_ConfigXeq: No id selectors specified for atlprod

Apart from the typo (sprecifier) it seems o is not understood as idspec as of yet?

@simonmichal
Copy link
Contributor

simonmichal commented Sep 4, 2017

Hi,

Thanks for reporting this problem.

After looking into the source code:
https://github.com/xrootd/xrootd/blob/master/src/XrdAcc/XrdAccAuthFile.cc#L162
it seems to me that a colon is expected after the ID specifier.
So something like:

= atlddm o: atlas r: production u: ddm
= atlprod o: atlas r: production

should work.

Though, it's not clear for me whether this was an intentional change in the authdb format or no.
We will have to wait for Andy to figure out.

Cheers,
Michal

@olifre
Copy link
Contributor Author

olifre commented Sep 4, 2017

Hi,

many thanks for your reply! Yes, indeed: I can confirm that after adding the colons, things work fine!
So let's wait for Andy to figure out whether this was intended (and documentation needs updating) or unintended (and code needs fixing).

Cheers and many thanks,
Oliver

@abh3
Copy link
Member

abh3 commented Sep 12, 2017 via email

@abh3 abh3 self-assigned this Sep 28, 2017
@abh3
Copy link
Member

abh3 commented Feb 1, 2018

I changed the documentation.

@abh3 abh3 closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants