Skip to content

Commit

Permalink
fix password_min_time error for pam auth (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Nov 14, 2024
1 parent 7ac515b commit 197e676
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN mkdir -p /tmp/davrods/build

# Update iRODS version in CMakeLists file
RUN sed -i 's/${DAVRODS_IRODS_VERSION}/${IRODS_PKG_VERSION}/g' /tmp/davrods/CMakeLists.txt
# Update TTL to get around password_min_time error
RUN sed -i 's/rods_auth_ttl = 1/rods_auth_ttl = 336/g' /tmp/davrods/src/config.c
# Workaround proposed by iRODS team in https://github.com/UtrechtUniversity/davrods/issues/35
RUN sed -i 's/module AP_MODULE_DECLARE_DATA davrods_module;/extern module AP_MODULE_DECLARE_DATA davrods_module;/g' /tmp/davrods/src/mod_davrods.h
# Build Davrods for iRODS version
Expand Down

0 comments on commit 197e676

Please sign in to comment.