AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-176571

Henrik Ormåsen's questions

Martin Hope
Henrik Ormåsen
Asked: 2021-10-20 03:58:02 +0800 CST

从工件注册表(Maven)下载文件

  • 1

我一直在使用 REST API for Artifact Registry。我可以找到我想下载的 .zip 文件的 URL,但我只收到 JSON 响应。是否可以使用 Maven 项目从工件注册表下载单个工件文件?

来源:方法:projects.locations.repositories.files.get

现在看来我需要使用mvn并gradle执行此操作,这在我的情况下会很不方便。

google-cloud-platform cloud gzip repository maven
  • 1 个回答
  • 628 Views
Martin Hope
Henrik Ormåsen
Asked: 2020-09-19 10:26:33 +0800 CST

Gitlab - 错误:将工件作为“junit”上传到协调器

  • 0

我有一个 gitlab-runner(作为 shell)无法上传到“协调器”,因为我怀疑是 gitlab 服务器。这是一个java项目。任何人以前见过这个错误,或者有关于如何修复的建议?将 gitlab server + runner 都更新到了最新版本,但仍然是同样的错误。

错误信息是:

WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "junit" to coordinator... failed  id=2926 responseStatus=500 Internal Server Error status=500 token=wWcXeTqY
WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
ERROR: Uploading artifacts as "junit" to coordinator... error  error=couldn't execute POST against https://git.infosynergi.no/api/v4/jobs/2926/artifacts?artifact_format=gzip&artifact_type=junit: Post https://git.infosynergi.no/api/v4/jobs/2926/artifacts?artifact_format=gzip&artifact_type=junit: gzip.Write: non-Latin-1 header string id=2926 token=wWcXeTqY
FATAL: invalid argument                            
ERROR: Job failed: exit status 1

gitlab
  • 1 个回答
  • 922 Views
Martin Hope
Henrik Ormåsen
Asked: 2016-06-08 01:36:40 +0800 CST

samba 4.3.9 ntlm_auth:内存分配错误(0xc0000017)

  • 2

系统:Ubuntu 16.04 - samba 版本 4.3.9-Ubuntu

-> # ntlm_auth --request-nt-key --domain=VBA.LAN --username=[user] --password=[pw]
NT_STATUS_NO_MEMORY: Memory allocation error (0xc0000017)

这发生在升级到 16.04 之后。这是一个错误吗?不要在日志中找到更多信息。有关如何解决此问题的建议?

我需要这个用于与 samba AD 的 freeradius 连接(http://deployingradius.com/documents/configuration/pap.html)

samba samba4
  • 1 个回答
  • 1109 Views
Martin Hope
Henrik Ormåsen
Asked: 2014-03-11 06:25:03 +0800 CST

Centrify samba:lib/util.c:1117(smb_panic)(使用 Centrify express)

  • 1

Samba 以某种方式工作,但某些进程崩溃。只有当一些(或一个)Windows 客户端访问 GPO 推出的网盘时才会出现这种接缝。至少有一个 w7 客户端无法通过网盘访问服务器。当用户尝试 smb 进程崩溃并在 /var/log/samba/log.smbd 中出现以下情况时:

[2014/03/10 14:16:47.897568,  0] lib/fault.c:47(fault_report)
  ===============================================================
[2014/03/10 14:16:47.897702,  0] lib/fault.c:48(fault_report)
  INTERNAL ERROR: Signal 11 in pid 9410 (3.6.17-cdc-4.5.6-302)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2014/03/10 14:16:47.897831,  0] lib/fault.c:50(fault_report)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2014/03/10 14:16:47.897918,  0] lib/fault.c:51(fault_report)
  ===============================================================
[2014/03/10 14:16:47.897978,  0] lib/util.c:1117(smb_panic)
  PANIC (pid 9410): internal error
[2014/03/10 14:16:47.902326,  0] lib/util.c:1221(log_stack_trace)
  BACKTRACE: 21 stack frames:
   #0 /opt/centrify/samba/sbin/smbd(log_stack_trace+0x1c) [0x7fd7f834ee8c]
   #1 /opt/centrify/samba/sbin/smbd(smb_panic+0x2b) [0x7fd7f834ef5b]
   #2 /opt/centrify/samba/sbin/smbd(+0x40af40) [0x7fd7f833ff40]
   #3 /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fd7f4d764a0]
   #4 /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1c) [0x7fd7f4dc359c]
   #5 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(+0xcf80) [0x7fd7f2a9cf80]
   #6 /lib64/ld-linux-x86-64.so.2(+0xf90e) [0x7fd7f7d1f90e]
   #7 /lib/x86_64-linux-gnu/libc.so.6(+0x3b901) [0x7fd7f4d7b901]
   #8 /lib/x86_64-linux-gnu/libc.so.6(+0x3b985) [0x7fd7f4d7b985]
   #9 /opt/centrify/samba/sbin/smbd(+0x675a99) [0x7fd7f85aaa99]
   #10 /opt/centrify/samba/sbin/smbd(+0x675bbe) [0x7fd7f85aabbe]
   #11 /opt/centrify/samba/sbin/smbd(+0x18936a) [0x7fd7f80be36a]
   #12 /opt/centrify/samba/sbin/smbd(run_events_poll+0x320) [0x7fd7f835d2a0]
   #13 /opt/centrify/samba/sbin/smbd(smbd_process+0x8ab) [0x7fd7f80bce5b]
   #14 /opt/centrify/samba/sbin/smbd(+0x6740a1) [0x7fd7f85a90a1]
   #15 /opt/centrify/samba/sbin/smbd(run_events_poll+0x320) [0x7fd7f835d2a0]
   #16 /opt/centrify/samba/sbin/smbd(+0x428709) [0x7fd7f835d709]
   #17 /opt/centrify/samba/lib/libtevent.so.0(_tevent_loop_once+0x90) [0x7fd7f5737120]
   #18 /opt/centrify/samba/sbin/smbd(main+0x12df) [0x7fd7f85aa6bf]
   #19 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd7f4d6176d]
   #20 /opt/centrify/samba/sbin/smbd(+0x1085c9) [0x7fd7f803d5c9]
[2014/03/10 14:16:47.902958,  0] lib/fault.c:345(dump_core)
  Exiting on internal error (core file administratively disabled)

我对 DNS 有点怀疑,因为 Windows 客户端无法通过 dns 名称访问 samba(但服务器会响应例如 ping dns 名称,而 nettatalk 对于使用 dns 的 mac 客户端工作正常。我已将 gpo 更改为从 samba 服务器使用 IP 而非 dns 挂载网络驱动器,它对大多数客户端都运行良好。我已经卸载了客户端上所有导致 samba 崩溃的驱动器,并在其上运行 gpupdate /force。客户端从AD 2008R2 服务器,我已检查客户端上的 DNS 是否正确。

注意:域名为“opusark.local”。我在安装 centrify 时收到一个警告,关于结尾的“本地”不擅长应该避免。这和这有关系吗?

有关如何解决此错误的任何线索?

操作系统:Ubuntu 12.04 6 位 Centrify:centrify-samba-4.5.6-deb5-x86_64.tgz Samba 版本(centrify 使用):# /opt/centrify/samba/sbin/smbd --version 版本 3.6.17-cdc-4.5 .6-302

使用启用了 centrify 的 ssh 将旅馆登录到服务器很慢,并且不适用于所有计算机。

/etc/samba/smb.conf 中的全局:

[global]
  security = ADS
  realm = OPUSARK.LOCAL
  workgroup = OPUSARK
  netbios name = sinan

  auth methods = guest, sam, winbind, ntdomain
  machine password timeout = 0
  passdb backend = tdbsam:/etc/samba/private/passdb.tdb

  kerberos method = secrets and keytab

  client use spnego principal = true

  send spnego principal = Yes

  server signing = auto

  client ntlmv2 auth = yes
  client use spnego = yes 
  template shell = /bin/bash

  winbind use default domain = Yes

  winbind enum users = No
  winbind enum groups = No
  winbind nested groups = Yes

  idmap cache time = 0

  ignore syssetgroups error = No
  idmap config * : backend  = tdb
  idmap config * : range = 1000 - 200000000
  idmap config * : base_tdb = 0
  enable core files = false
  syslog = 0
samba
  • 1 个回答
  • 859 Views
Martin Hope
Henrik Ormåsen
Asked: 2013-07-31 06:48:01 +0800 CST

Ubuntu 12.04 Samba 4 和 winbind

  • 1

我一直在关注:https : //wiki.samba.org/index.php/Samba4/Winbind 但 getent passwd 不显示域用户,我无法使用域用户登录。其余的测试命令都OK。

samba4
  • 1 个回答
  • 2398 Views
Martin Hope
Henrik Ormåsen
Asked: 2013-07-30 23:22:46 +0800 CST

Samba 4“文件服务器将不允许任何其他用户登录”

  • 1

我在 Mac 环境中的 ubuntu 12.04 上有 samba 4.0.6 作为 AD DC 和文件服务器。一段时间后,OS X 客户端将无法连接到服务器并显示错误消息:“文件服务器将不允许任何其他用户登录。稍后再尝试连接。重新启动 samba 服务暂时解决了该问题。

该服务器用于一家只有 5 个用户的小公司,所有用户都使用 OS X,并且当时使用 smb 连接。

我在 smb.conf 中添加了“最大连接数 = 20000”(如本文末尾所示),但没有任何效果。

# testparm smb.conf
Load smb config files from smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Unknown parameter encountered: "server role"
Ignoring unknown parameter "server role"
Unknown parameter encountered: "dns forwarder"
Ignoring unknown parameter "dns forwarder"
Processing section "[Arkiv]"
Processing section "[Internt]"
Processing section "[Kunder]"
Processing section "[Programvare]"
Processing section "[Ressurser]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
    workgroup = KONVOI
    realm = KONVOI.LAN
    template shell = /bin/bash
    winbind enum users = Yes
    winbind enum groups = Yes
    winbind use default domain = Yes
    idmap_ldb:use rfc2307 = Yes
    idmap config * : backend = tdb

[Kunder]
    comment = Aktive prosjekter
    path = /mnt/data/Kunder
    read only = No
    max connections = 20000
mac-osx
  • 2 个回答
  • 4425 Views
Martin Hope
Henrik Ormåsen
Asked: 2013-06-05 23:23:40 +0800 CST

带有 Samba 4 作为 DC、filserver 和 netatalk(适用于 OS X 的 AFP)的 Linux 服务器

  • 2

我有一个带有 samba 4.0.6 和 netatalk 3.0.4 的 Ubuntu 12.04 服务器。Samba 是 DC 和文件服务器。所有都带有 ACL 和带有 acl 文件系统的 ext4。我设法让 ubuntu 服务器通过更改 /etc/hostname 中的主机名来使用 centrifydc 加入域

似乎 ACL 在混合环境中很复杂。因此,我没有让它正常工作(带有 AFP 的 OS X 不会将 ACL 读取为 Windows,也不会获得对文件和文件夹的写入权限)。

我想最简单的解决方案是跳过 ACL 并使用 unix 文件组。但是我如何在 samba 4 上做到这一点?

我已经删除了 acl(从 linux 终端)并让 AFP 连接正常工作,但后来我无法访问 smb(好像 samba 4 只识别 ACL?)。

samba4
  • 2 个回答
  • 964 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve