无法在OVM VIrtualBox上使用Oracle Developer日期连接sqlplus hr / hr(Can't connect sqlplus hr/hr using Oracle Developer days on OVM VIrtualBox)
我想使用Oracle VM VirtualBox在我的Oracle Developer Days中将数据库连接到
hr database
。 当我使用sqlplus sys/oracle as sysdba
连接我的数据库sqlplus sys/oracle as sysdba
,它成功并且状态为OPEN
。 但是,当我打开一个新选项卡时,我将sqlplus hr/hr on [oracle@localhost ~]$
。 它不起作用,并且有警告ERROR:ORA-01017: invalid username/password; logon denied
ERROR:ORA-01017: invalid username/password; logon denied
。 之后,我可以输入用户名,但我无法输入密码。 并再次显示警告(ERROR:ORA-01017: invalid username/password; logon denied
。)我从我的讲师处获得了sqlplus hr/hr
,她可以使用它登录。 我错过了什么吗?I want to connect my database with
hr database
in my Oracle Developer Days using Oracle VM VirtualBox. When I connect my database usingsqlplus sys/oracle as sysdba
, It's successful and the status isOPEN
. But, when I open a new tab, and I putsqlplus hr/hr on [oracle@localhost ~]$
. It doesn't work, and has a warningERROR:ORA-01017: invalid username/password; logon denied
. After that, I can enter the username, but I can't enter the password. And show a warning again (ERROR:ORA-01017: invalid username/password; logon denied
.) I got thesqlplus hr/hr
from my lecturer and she can logon with it. Do I missing something?
原文:https://stackoverflow.com/questions/48849107
最满意答案
根据回应,你不能。 另一种方法是设置字段otherMails
{ "accountEnabled": true, "displayName": "Gabriel Ferrarini", "mailNickname": "GabrielFerrarini", "passwordProfile": { "password": "Test1234", "forceChangePasswordNextLogin": false }, "otherMails": [ "myemail@myhost.com" ], "userPrincipalName": "GabrielFerrarini@mytenant.onmicrosoft.com" }
According to the response, you can't. An alternative is to set the field otherMails
{ "accountEnabled": true, "displayName": "Gabriel Ferrarini", "mailNickname": "GabrielFerrarini", "passwordProfile": { "password": "Test1234", "forceChangePasswordNextLogin": false }, "otherMails": [ "myemail@myhost.com" ], "userPrincipalName": "GabrielFerrarini@mytenant.onmicrosoft.com" }
相关问答
更多-
截至今天,我们建议您使用Azure Active Directory图形API https://graph.windows.net来访问和管理您的B2C租户。 Azure AD B2C:使用Graph API 如果您阅读本文,您可以详细了解AAD和Microsoft Graph API之间的差距: https : //dev.office.com/blogs/microsoft-graph-or-azure-ad-graph 表中的底线表明: 管理B2C租户中的用户(设置本地帐户,登录名) 即将推出(预览) ...
-
不要创建新的Azure帐户。 当您使用Graph Explorer时,您是否使用Azure AD租户中的用户登录? 如果没有,Graph Explorer将默认为您的查询使用演示租户。 另外(如果您有多个租户),您需要确保您选择正确的租户作为令牌获取的一部分(从https://login.microsoftonline.com/{tenantId | tenantDomain} 。如果您想要结果要在Graph Explorer和您的应用程序之间匹配,登录用户所属的租户(对于图形浏览器的情况),并且您的应用程 ...
-
在Azure AD B2C中使用Microsoft.Graph SDK创建本地帐户(Create local account using Microsoft.Graph SDK in Azure AD B2C)[2023-05-13]
目前..你不能。 看到这里和这里 Currently.. You can't. See here and here -
您正在使用Microsoft Graph的.NET客户端库。 目前, 您必须使用Azure AD Graph API来管理Azure AD B2C租户中的用户,因为Microsoft Graph不支持Azure AD B2C使用的一些用户属性(包括creationType属性)。 此Microsoft Graph或Azure AD Graph文章指出Microsoft Graph和Azure AD Graph API之间的当前差距,用于管理Azure AD B2C租户中的用户。 You are using ...
-
根据回应,你不能。 另一种方法是设置字段otherMails { "accountEnabled": true, "displayName": "Gabriel Ferrarini", "mailNickname": "GabrielFerrarini", "passwordProfile": { "password": "Test1234", "forceChangePasswordNextLogin": false }, "otherMails": [ ...
-
Azure AD带有外部帐户和Microsoft Graph API(Azure AD with external accounts and Microsoft Graph API)[2022-05-17]
我假设您正在使用Azure AD B2B并希望将新的访客用户添加到您的目录中。 我想澄清的一件事是,您可以邀请访客用户访问您的目录,但不能直接在您的目录中创建访客用户。 因此,您可以邀请访客用户使用此Microsoft Graph API : 请求 POST https://graph.microsoft.com/beta/invitations Content-type: application/json Content-length: 551 { "invitedUserEmailAddress" ... -
是的,Azure AD Graph API支持对用户进行批处理。 请参阅此代码示例 ,检查该代码示例中的CreateUsersTest函数。 为了使该示例有效,您需要为您的客户端应用添加Read and write directory data应用权限: 另一种方法是使用PowerShell通过批量导入过程添加多个用户: 首先用适当的属性创建一个csv文件,例如: 然后,您可以安装Azure ActiveDirectory Powershell(MSOnline) 。 连接服务: PS C:\WINDOWS ...
-
Azure AD和Graph(Azure AD and Graph)[2022-05-01]
在apps.dev.microsoft.com注册的应用程序称为V2应用程序。 您可以在此处详细了解V2应用程序。 与V1应用程序相比,您不能只添加prompt=admin_consent来触发管理员同意流程。 相反,您需要点击特殊的管理员同意端点。 请参阅此处: 请求同意整个租户 在这里: 使用管理员同意端点 总之,您需要将正常的登录请求发送到此端点https://login.microsoftonline.com/{tenant}/adminconsent并包含您通常会传递的普通查询字符串。 当然,通过 ... -
Azure AD / Microsoft图形访问级别升级和降级(Azure AD / Microsoft Graph Access Level Upgrade and Downgrade)[2022-12-08]
如果使用V2端点,则可以获得增量同意 : https : //docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-appmodel-v2-overview 。 在那里,您可以指定在将用户重定向到登录时要求的范围。 因此,您可以在开始时需要基本功能,然后如果他们想要启用其他功能/您发布需要其他权限的更新,则可以非常轻松地添加这些功能。 至于另一个方向,没有。 一旦用户同意某些权限,撤消同意的唯一方法是删除将用户映射到 ... -
您不能使用相同的访问令牌直接调用这两个API。 由于访问令牌具有特定受众,因此当受众群体声明与其自己的应用ID uri不匹配时,其中一个API将拒绝该令牌。 看起来你真正想要实现的是使用单一登录体验获得两个令牌,你可以做到这一点。 使用授权代码授予流程,您可以让用户登录而无需指定资源。 用户将获得AAD和MS Graph API权限的同意,并且您的应用程序将在登录完成后返回Auth Code。 此时,您的应用程序可以使用相同的授权代码调用令牌端点两次,以获得两个端点的两个访问令牌。 从那里,您可以管理两个令 ...