o365 External Guests Cannot Access Shares.

オープン
#637 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php

調査の方向性

ファイルやテストは指定されていません。まず、O365 の外部ゲストでアクセスを再現し、長い #EXT# ユーザー名に対して記録された WebDAV PROPFIND および OCS workspace リクエストを、動作しているユーザーのものと比較してください。完了条件は、ID 形式に設定が必要なのかコード変更が必要なのかを判断し、共有ファイルへのアクセスを復旧することです。

索引モデルが issue の本文から書いたものです。

説明

When inviting guest user in o365 from a different tenet usernames show as username_their.domain#EXT#@mydomain.onmicrosoft.com login works fine, however folders/files shared with them are non accessible.

Their appears to be a loop when you access the shares trying to access

PROPFIND /remote.php/dav/files/username_their.domain HTTP/1.1" 241
GET /ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1" 142
PROPFIND /remote.php/dav/files/username_their.domain HTTP/1.1" 241
GET /ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1" 142
PROPFIND /remote.php/dav/files/username_their.domain HTTP/1.1" 241
GET /ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1" 142

...

Users that are synced from the local domain to 0365 work fine, as well as users created in the o365 environment, they appear to access

"PROPFIND /remote.php/dav/files/[email protected]/Share HTTP/1.1" 595
"GET /ocs/v2.php/apps/text/workspace?path=%2FShare HTTP/1.1" 142

I am suspecting that the #EXT# is breaking the PROPFIND portion, is there a change I can make to my config to get the pulled in username to just show their email and not the current long username? Or does this require some kind of code fix?

主要言語
PHP
スター
106
フォーク
84
平均マージ
1日 11時間
マージ済み PR(30日)
14

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/user_saml のほかの issue

nextcloud/user_saml の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。