SVN在未经许可的https上访问repro时会挂起并反复重试

如何解决SVN在未经许可的https上访问repro时会挂起并反复重试

我正在尝试使用Apache,mod_dav等进行https访问。在迁移方面,我发现我的脚本巧妙地将用户移到了挂起状态,而不是当用户无权访问a时因错误而退出复制的特定部分。问题在于我们使用的是svn + ssh,但没有为我们提供足够的权限。

所以一旦我执行了 svn relocare ssh + svn://server.company.name/repo-path https://server.company.name/repro-path

用户在不再拥有其权限的目录上

,svn命令只是简单地反复尝试访问服务器。糟糕,因为用户永远不会收到有关错误的通知,而且还会对服务器造成冲击。从日志中可以清楚地看到拒绝权限: 我反复在日志中得到以下内容,客户端坐在那里并挂起。

有什么方法可以使svn在一次失败后停止?

致谢 J

[Tue Oct 27 10:03:09.228185 2020] [core:debug] [pid 17782] util_cookies.c(59): [client 10.0.100.58:37486] AH00007: ap_cookie: user 'MyUser' set cookie: 'krb5_session=MagBearerToken=wUoHtvoqJgcTAIQ86oHhG5VaWQJfuHwRuGAFA7feslGZo21VFYY5%2b0syILcxBxA0hmEtfNBbAIwq6IwNzBoC6RQgW5jmS2Z0SNLspHmWQxYvGFFSSNIkyBxmPNME%2fD8mSF%2fpelF8bZu7UYdablxTZdek2wQWYZZvABoy7YkhdFQ%3d;path=/;httponly;secure;'
[Tue Oct 27 10:03:09.508215 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of Require ldap-group-platform : denied (no authenticated user yet)
[Tue Oct 27 10:03:09.508231 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of Require valid-user : denied (no authenticated user yet)
[Tue Oct 27 10:03:09.508234 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of <RequireAll>: denied (no authenticated user yet)
[Tue Oct 27 10:03:09.508237 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet)
[Tue Oct 27 10:03:09.508243 2020] [auth_gssapi:debug] [pid 17782] mod_auth_gssapi.c(857): [client 10.0.100.58:37498] URI: /repo-directory,no main,no prev
[Tue Oct 27 10:03:09.529450 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(840): [client 10.0.100.58:37498] AH01710: ldap authorize: Creating LDAP req structure
[Tue Oct 27 10:03:09.529474 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(895): [client 10.0.100.58:37498] AH01713: auth_ldap authorize: require group: testing for group membership in "CN=svn_platform,CN=groups,CN=accounts,DC=subdomain,DC=Domain,DC=TOPLEVELDOMAIN"
[Tue Oct 27 10:03:09.529477 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(903): [client 10.0.100.58:37498] AH01714: auth_ldap authorize: require group: testing for member: uid=MyUser,cn=users,cn=accounts,dc=subdomain.dc=domain,dc=topleveldomain (CN=svn_platform,DC=TOPLEVELDOMAIN)
[Tue Oct 27 10:03:09.529485 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(922): [client 10.0.100.58:37498] AH01719: auth_ldap authorize: require group "CN=svn_platform,DC=TOPLEVELDOMAIN": didn't match with attr Comparison false (cached) [member][5 - Compare False]
[Tue Oct 27 10:03:09.529488 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(903): [client 10.0.100.58:37498] AH01714: auth_ldap authorize: require group: testing for uniqueMember: uid=MyUser,DC=TOPLEVELDOMAIN)
[Tue Oct 27 10:03:09.530384 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(922): [client 10.0.100.58:37498] AH01719: auth_ldap authorize: require group "CN=svn_platform,DC=TOPLEVELDOMAIN": didn't match with attr Comparison complete [uniqueMember][50 - Insufficient access]
[Tue Oct 27 10:03:09.530400 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(939): [client 10.0.100.58:37498] AH01716: auth_ldap authorise: require group "CN=svn_platform,DC=TOPLEVELDOMAIN": failed [Comparison complete][50 - Insufficient access],checking sub-groups
[Tue Oct 27 10:03:09.530411 2020] [ldap:debug] [pid 17782] util_ldap.c(1469): [client 10.0.100.58:37498] AH01288: Making local copy of SGL for group (CN=svn_platform,DC=TOPLEVELDOMAIN)(objectClass=ipausergroup)
[Tue Oct 27 10:03:09.530423 2020] [ldap:debug] [pid 17782] util_ldap.c(1611): [client 10.0.100.58:37498] AH01296: User MyUser not found in subgroup (cn=my-company-operator,cn=groups,dc=topleveldomain) at level 1 of 2.
[Tue Oct 27 10:03:09.530431 2020] [ldap:debug] [pid 17782] util_ldap.c(1469): [client 10.0.100.58:37498] AH01288: Making local copy of SGL for group (cn=my-company-operator,dc=topleveldomain)(objectClass=ipausergroup)
[Tue Oct 27 10:03:09.530442 2020] [ldap:debug] [pid 17782] util_ldap.c(1611): [client 10.0.100.58:37498] AH01296: User MyUser not found in subgroup (cn=role_subversion,dc=topleveldomain) at level 2 of 2.
[Tue Oct 27 10:03:09.530444 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(962): [client 10.0.100.58:37498] AH01718: auth_ldap authorise: require group (sub-group) "CN=svn_platform,DC=TOPLEVELDOMAIN": didn't match with attr Comparison no such attribute (cached) [member][5 - Compare False]
[Tue Oct 27 10:03:09.530448 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(939): [client 10.0.100.58:37498] AH01716: auth_ldap authorise: require group "CN=svn_platform,DC=TOPLEVELDOMAIN": failed [Comparison no such attribute (cached)][5 - Compare False],checking sub-groups
[Tue Oct 27 10:03:09.530456 2020] [ldap:debug] [pid 17782] util_ldap.c(1469): [client 10.0.100.58:37498] AH01288: Making local copy of SGL for group (CN=svn_platform,DC=TOPLEVELDOMAIN)(objectClass=ipausergroup)
[Tue Oct 27 10:03:09.530959 2020] [ldap:debug] [pid 17782] util_ldap.c(1611): [client 10.0.100.58:37498] AH01296: User MyUser not found in subgroup (cn=my-company-operator,dc=topleveldomain) at level 1 of 2.
[Tue Oct 27 10:03:09.530990 2020] [ldap:debug] [pid 17782] util_ldap.c(1469): [client 10.0.100.58:37498] AH01288: Making local copy of SGL for group (cn=my-company-operator,dc=topleveldomain)(objectClass=ipausergroup)
[Tue Oct 27 10:03:09.531777 2020] [ldap:debug] [pid 17782] util_ldap.c(1611): [client 10.0.100.58:37498] AH01296: User MyUser not found in subgroup (cn=role_subversion,dc=topleveldomain) at level 2 of 2.
[Tue Oct 27 10:03:09.531788 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(962): [client 10.0.100.58:37498] AH01718: auth_ldap authorise: require group (sub-group) "CN=svn_platform,DC=TOPLEVELDOMAIN": didn't match with attr Comparison complete [uniqueMember][5 - Compare False]
[Tue Oct 27 10:03:09.531791 2020] [authnz_ldap:debug] [pid 17782] mod_authnz_ldap.c(969): [client 10.0.100.58:37498] AH01720: auth_ldap authorize group: authorization denied for user MyUser to /repo-directory
[Tue Oct 27 10:03:09.531795 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of Require ldap-group-platform : denied
[Tue Oct 27 10:03:09.531798 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of <RequireAll>: denied
[Tue Oct 27 10:03:09.531800 2020] [authz_core:debug] [pid 17782] mod_authz_core.c(809): [client 10.0.100.58:37498] AH01626: authorization result of <RequireAny>: denied
[Tue Oct 27 10:03:09.531803 2020] [authz_core:error] [pid 17782] [client 10.0.100.58:37498] AH01631: user MyUser: authorization failure for "/repo-directory":

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-