Skip to content

unable to authenticate OpenDAP #1966

@alexander-buerger-met-no

Description

We are using Ubuntu 16.04, 18.04 and 20.04 and noticed that OpenDAP authentication got worse and worse:

  • in 16.04 (xenial), both netrc and user:pass in URL work
  • in 18.04 (bionic), netrc stopped working, but user:pass in URL still works
  • in 20.04 (focal), none of these works, we are not aware of any way to authenticate with username and password
  • we have the impression that authentication does not work with the conda-forge libnetcdf package either

The problem can be reproduced like this:

docker run -it ubuntu:bionic # or ubuntu:focal
# in the container:
apt update && apt install -y netcdf-bin
ncdump -ct 'https://user:pass@server/path' # insert the actual username and password and url here

With ubuntu:bionic, this lists the contents. With ubuntu:focal, the exact same ncdump command prints Authorization failure.

NetCDF versions are 4.6.0 on bionic and 4.7.3 on focal. libcurl version is 7.58.0 on bionic and focal.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions