添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
alter system set OS_AUTHENT_PREFIX=" ";
(not taking null string)
alter system set remote_os_authent=true;
so final parameter setting is
NAME TYPE VALUE
=========================================================
remote_login_passwordfile string EXCLUSIVE
os_authent_prefix string
remote_os_authent boolean TRUE
remote_os_roles boolean FALSE
os_roles boolean FALSE
==========================================================
CREATE USER "pankajk" IDENTIFIED EXTERNALLY;
grant connect,resource to pankajk;
but when i try to connect as
sqlplus /nolog
connect /
it gives me error
ora-01017: invalid user name /password
this user pankajk is not in ORA_DBA group of WIN-XP OS Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:

alter system set OS_AUTHENT_PREFIX=" ";
(not taking null string)

Wrong empty string is allowed.
Quote:

CREATE USER "pankajk" IDENTIFIED EXTERNALLY

Username does not begin with OS_AUTHENT_PREFIX
Posting OS name and Oracle version is not an option.
Regards
Michel
but when i am trying to set paramete OS_AUTHENT_PREFIX with null string it is giving error
SQL> alter system set OS_AUTHENT_PREFIX="";
alter system set OS_AUTHENT_PREFIX=""
ERROR at line 1:
ORA-01741: illegal zero-length identifier
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
thankx
so if i give prefix as "OP$" then
then i have to create user in oracle as OP$pankajk
and login as
sqlplus /
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
SQL> show parameter OS_AUTHENT_PREFIX
NAME TYPE VALUE
------------------------------------ ----------- ------
os_authent_prefix string OP$
i am trying to login as
sqlplus /
but same error
Attachment: osuser.JPG (Size: 49.84KB, Downloaded 1529 times) Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You still not gave the requested information: OS and Oracle version.
See the usernames you displayed.
Don't you see something weird?
Regards
Michel
Oracle user name is in lowercae after prefix because i created it in putting double quotes because username in OS is in lowercase
i am correct or wrong
create user "OP$pankajk" identifed externally
os username is pankajk
oracle user name OP$pankajk
as OS_AUTH_PREFIX is OP$
what is wrong ????? Sad
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
SQL> CREATE USER op$pankajk IDENTIFIED EXTERNALLY;
SQL> grant connect,resource to opP$pankajk;
SQL> select * from all_users;
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
SYS 0 29-OCT-07
SYSTEM 5 29-OCT-07
OUTLN 11 29-OCT-07
DBSNMP 19 29-OCT-07
WMSYS 21 29-OCT-07
RMAN 23 29-OCT-07
OP$PANKAJK 27 20-NOV-07
again same error ORA-01017 Sad
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Either add the domain to your username as it is.
Or execute regedit and add the value OSAUTH_PREFIX_DOMAIN=FALSE to the key HKLM\Software\ORACLE\<your Oracle home name>.
Regards
Michel
That registry entry does not exist (OSAUTH_PREFIX_DOMAIN)
(FILE ATTACHED)
will i create that entry ???
Also i created user as
USERNAME USER_ID CREATED
------------------------------ ---------- ---------
OP$SBIN-CDC-ORCLPANKAJK 30 20-NOV-07
but still same error Sad
Michel Cadot
Messages: 68703
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
1/ Yes, you have to create the entry
2/ 'OP$SBIN-CDC-ORCLPANKAJK' <> OPS$||upper('SBIN-CDC-ORCL\pankajk')
Regards
Michel
Cool it works i create user as prefix||uppercase(domainname/username)
earlier i was omitting slash /
thankx for your help


Current Time: Mon Oct 28 23:08:55 CDT 2024