Loggin in a user without asking user credentials
Hi,
I have an Oracle SSO and OCM integration running a sitestudio web site. I want to provide a link on the site which contributors can use to switch to contribution mode. When the user clicks this link he/she should automatically be loggen into the system with a user/pass which is present in OCM so the user is not prompted with the login screen. I tried to explore the LOGIN service, but is there a better way of doing this.
Thanks in advance
- AU
You need to set the option to create a mobile account using the Directory Utility app.
Similar Messages
-
Lync 2010 client asks for credentials when outside of corporate network.
Hello,
We are running Lync 2010 Enterprise. Everytime our Lync users are outside of our network and they log in to their Lync client, they get a pop-up window asking for credentials. When they log into Lync inside our network the Lync client connects automatically
without asking for credentials. Is this normal behavior? I assumed that the Lync client would behave exactly no matter where they were connecting from. They are using Lync 2010 client on domain joined laptops, I would assume the Lync client would just use
the same credentials they used to log in to their computers and not ask for anything. Please let me know if there is a way to stop the pop-up from showing up when people try to connect to Lync from outside our network.
Thanks for any help!Outside of the network the credential popup is for Exchange web services on the back end to check calendar info, contact lookup, etc. If Lync is already logged in when they see the popup, this is normal behavior.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Shared Public folders keep on asking for credentials
Hello
My problem is less complex than it might look like, it's just difficult to explain correctly. Now:
I have multiple computers on my home LAN, with various user accounts, without a HomeGroup. They all share some files, have a "Private" network, Public Folder Sharing enabled and "password protected sharing" disabled.
So their configuration is identical.
These computers are 2 Windows 7 PLK computers, one Windows 8.1 ENU, one Windows 8.1 PLK and finally one 8.1 branded by Lenovo. I'll call them 7, 8EN, 8PL and 8B to avoid lenghty phrases. And now the part that makes no sense at all:
Here's my problem: Win7 computers can easily access Win8 shares. It works both ways: all Win8 computers can access the Win7 shares. But... 8EN cannot access the 8B shares without asking for credentials (?!). Those are the same files that are being accessed
with no problem by any Win7 or even WinXP machines. I can't share anything in 8 without making other 8's ask for credentials(but 7 works). Moreover - I can provide a random string as a username and no password and I'll get the access to the Public folders.
So the access is there, but I have to provide any credentials to reach it. Without it, the first try is rejected. It's clearly wrong.
HomeGroup helps. But I don't want a HomeGroup, I switch places often, HG annoys me and finally - I don't want to sound rude but "a proper way is to use a HomeGroup" is not an answer to "why did the sharing between my 8's stopped working while
nobody else seem to have such problems with their 8's, and 7's work fine".
What on earth could possibly make it happen? I reinstalled my Windows 8 and they still cannot communicate with other 8's? Is it the language? but the PLK is just a language pack, the insides are still ENU.
Thank you for any help and have a nice day!Hi,
Please make sure they are all in same network.
Then check if everyone computer you also turn on below two settings marked as red:
Don't remember to click Save changes button.
Karen Hu
TechNet Community Support -
How do I use bin variable in package without asking a user?
hi,
I would like to write an SQL but I want to use bind variable in package as a static without asking user? Like below?
I would like to ask you, below there is a emp_id variable? Is this BIND variable?
DECLARE
bonus NUMBER(8,2);
emp_id NUMBER(6) := 100;
BEGIN
SELECT salary * 0.10 INTO bonus FROM employees
WHERE employee_id = emp_id;
END;
If not, like this SQL how can define a BIND variable as static inside a code? not asking a user?
db version. 9.2.0.8
regards and thanksOracleADay wrote:
I would like to ask you, below there is a emp_id variable? Is this BIND variable?
DECLARE
bonus NUMBER(8,2);
emp_id NUMBER(6) := 100;
BEGIN
SELECT salary * 0.10 INTO bonus FROM employees
WHERE employee_id = emp_id;
END;
/In the query "SELECT salary * 0.10 INTO bonus FROM employees WHERE employee_id = emp_id" emp_id is turned into a bind variable because
if you are coding static SQL in PL/SQL then PL/SQL wil automatically use bind variables: please read http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/overview.htm#sthref145.
This can also be proved with SQL trace. The following code:
alter session set sql_trace=true;
declare
v number;
c number;
begin
select count(*) into c
from t
where x=v;
end;
show errors
alter session set sql_trace=false;generates following raw trace file section with 10G XE:
=====================
PARSING IN CURSOR #2 len=79 dep=0 uid=69 oct=47 lid=69 tim=33338762257 hv=2860574766 ad='3c10120c'
declare
v number;
c number;
begin
select count(*) into c
from t
where x=v;
end;
END OF STMT
PARSE #2:c=46800,e=329811,p=0,cr=9,cu=0,mis=1,r=0,dep=0,og=1,tim=33338762253
=====================
PARSING IN CURSOR #1 len=35 dep=1 uid=69 oct=3 lid=69 tim=33338788761 hv=3539261652 ad='3c10053c'
SELECT COUNT(*) FROM T WHERE X=:B1
END OF STMT
PARSE #1:c=0,e=216,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,tim=33338788755
=====================Edited by: P. Forstmann on 17 mai 2011 17:47
Edited by: P. Forstmann on 17 mai 2011 17:55 -
Unable to open a report and asking for user credentials
Hi,
when i am trying to open a crystal report, i am asking for user credentials and my URL is directed to the below URL
http://hostname/PlatformServices/service/app/logon.do?appKind=InfoView&service=%2FOpenDocument%2FappService.do&backContext=%2FOpenDocument&backUrl=%2Fopendoc%2FopenDocument.jsp%3FSERVICE%3D%252FOpenDocument%252FappService.do%26OBJIDS%3D20016421%26backUrl%3D%252Fcontent%252Fview.do%26PREF%3DmaxOpageUt%253D200%253BmaxOpageC%253D10%253Btz%253DUS%252FPacific%253BmUnit%253Dinch%253BshowFilters%253Dtrue%253BsmtpFrom%253Dtrue%253BpromptForUnsavedData%253Dtrue%253B%26CONTAINERID%3D6424083%26backContext%3D%252FPlatformServices%26LOC%3Den%26APPKIND%3DInfoView%26PVL%3Den%26ACTID%3D280%26service%3Dtimeout&backUrlParents=1&appName=OpenDocument&prodName=BusinessObjects+Enterprise&cmsVisible=false&cms=servername%3A6600&authenticationVisible=false&authType=secEnterprise&sso=false&sm=true&smAuth=secLDAP&persistCookies=true&sessionCookie=true&useLogonToken=true
Please help me on thisHi,
This is happening to all of the users. And this kind of behaviour is happening frequently to most of the users but as for me and some of us this is not happening frequently.
And we are using Crystal Reports 2008 ie. CR12.
-VinodC -
How do you stop BSPs on WebSEAL for asking for user-credentials?
Hi
We are currently having an issue with BSP Pages. When we test the BSP pages on the R/3 system they work OK. When we test them directly on the Portal then they too also work. The problem is that they are not working properly on our Intranet.
The intranet that we use is an IBM Tivoli product (also known as WebSEAL). We currently have WebSEAL SSO to our SAP Portal. This is working OK. When we use WebSEAL to access the portal we are prompted to enter our user-id and password so that the BSP page can be displayed. This should not be happening and it defeats the purpose of SSO. I have attached a screen shot document to demonstate this.
Some time ago we had a similar issue where the transactions on the portal (when executed from WebSEAL) were giving us a Webdynpro time-out error. I later determined that the cookie information was not being passed to WebSEAL. To fix this, I went to the Visual Administrator and went to server >> services >> web container and for the web container "sap.com/irj" I went to the cookie configuration to add a session cookie. By doing this I fixed my previous problem.
Coming back to my problem, I had a junction created in WebSEAL to point to the bsp directory (sap/bc/sap/bsp/*) on the host concerned. I had both a SSL and TCP junction created both resulted in error messages - stating that the client (SAP) is asking for user credentials.
Hoping that I have provided enough information above my question is as follows:
(1) How can I get the BSP messages to work on WebSEAL such that it will not ask for user credentials to be entered? Would this involve making a further change to a Web Container? If so - which container also needs a session cookie to be generated?
Thanks
Kind Regards
Rajdeep KumarHi Peter
I am having an issue with the re-direct and am hoping you might be able to provide a little assistance. If not then not to worry.
My security department have logged a call with IBM 2 days ago yet have not received any response.
In your document you mention that you need to have a junction to AS-JAVA and a junction to AS-ABAP.
We have created the junctions "/sapep" (for AS-JAVA) and "saphr1" (for AS-ABAP).
The junction /sapep" also contains the junction mapping entries "/irj/" and "/SSOTicket/".
The direct URL to the hidden image is : https://uadsfi01.auiag.corp:53001/SSOTicket/1x1.gif. I have tested this (using my user id and password) and it works OK.
When testing the image through TAM (https://test.insideiaghome.iaglimited.net/sapep/SSOTicket/1x1.gif) we get an "unexpected authentication challenge"
I have reviewed the log below and it seems that we are having an authentication issue with the image:
==(START OF LOG)==
2008-06-16-19:59:58.365+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
PD ===> BackEnd -
Thread_ID:52943
GET /SSOTicket/1x1.gif HTTP/1.1
via: HTTP/1.1 uattam01:443
host: uadsfi01.auiag.corp:53001
user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MS-RTC LM 8; .NET CLR 2.0.50727)
iv_server_name: uatin1-webseald-uattam01
accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
iagsapid: 52975
accept-language: en-au
referer: https://test.insideiaghome.iaglimited.net/sapabap.html
connection: close
iv-user: s52975
2008-06-16-19:59:58.373+10:00I----- thread(136) trace.pdweb.debug:2 /sand/cholt/laura_amweb510_11LA/src/pdweb/wand/wand/log.c:309: -
PD <=== BackEnd -
Thread_ID:52943
HTTP/1.1 401 Unauthorized
content-type: text/html
date: Mon, 16 Jun 2008 09:59:58 GMT
cache-control: no-cache
content-length: 1787
www-authenticate: Basic realm="Upload Protected Area"
server: SAP J2EE Engine/7.00
expires: 0
pragma: no-cache
connection: close
==(END OF LOG)==
When logging into the SAP Portal directly general user ids have no problem accessing this (Non-Administrator portal users), however through Tivoli it is causing an issue.
Do you know what may be causing this issue?
Thanks in advance for any assistance you can offer.
Kind Regards
Rajdeep Kumar -
Upload file without asking user for the file
Hi,
I need to upload a file to server, but from my code, not using the file upload from page.
I have created a xml file and I need to upload to server when user open a web browser (without asking user to select a file).
How do I proceed??, or what kind of libraries do I must use?
thanksdavisote wrote:
Hi,
thanks for answer.
Let me try to explain again (I think its very simple).Simple, yes. But not very thorough.
I have developed a web application using JSF.So all the code is running on the server, right? There are no Applets, Applications or WebStart applications involved. Right?
My application has a splash screen where I show data. I have developed a bean to connect to my database (sql server), extract this data and create an xml (using DOM) file like:
<news>
<simplenews id="1"> Value </simplenews>
</news>And that bean runs ... where? Server again?
(important step) Once I have created the xml file in my bean I want to upload to the server to a place like /WEB-INF/news.
If the code is running on the server, then "uploading" is the wrong term, as there's nowhere to upload to, since you're already on the server.
This may sound like nit-picking, but you're sending us on a wrong trail with this phrase.
Once the file is on the server with another bean I read the xml fileWhy don't you simply store it in the application scope and let everyone access it from there? It doesn't sound as if the XML is huge.
As you can see I haven't a web page where to show an upload file componetYou also don't want to "upload" anything from the client, from the sound of it.
You simply want to transfer data between to server-side components, if I understood you correctly. -
Windows keeps on asking for my user credentials
Hi.
As per subject, I keep on getting prompted to enter my user credentials whenever I open a mapped drive (which has been mapped before with the same credentials) or when I open the SharePoint site and also when
I check out and edit a document from SharePoint.
This is becoming debilitating.
I have a very lengthy password as per our policy so I'm really despondent to have to enter this password every single time I access SharePoint.
In the past, I only got prompted once during every session. Now, I get prompted multiple times a day. I will be prompted when I access SharePoint and then 10 seconds later, be prompted AGAIN when I check out and edit a document....WHAT?!
I keep on selecting the checkbox "remember credentials" but this is to no avail. I've deleted all the credentials in Credential Manager numerous times and added them manually and then again automatically, all to no avail. I've even tried multiple
entries for example "192.168.1.1" and also "http://192.168.1.1" as well as the FQDN for example "server01". So the same network resource has 3-4 different entries and none work!!
Whenever I enter my credentials and select that checkbox to remember them, I can see in Credential Manager that the respective entries gets updated but what's the point if they are never utilized?
I've also checked the services and changed the Credential Manager to start automatically without delay.
I have appealed for help elsewhere (WindowsForums, SpiceWorks, TechRepublic) but no one seems to have any definitive answers or solutions. I've been having this issue for YEARS now but want to do something about it now as it's becoming debilitating.
Please help!
Setup:
Windows 7, 64bit
Office 2010 (I'm testing Office 2013 as well)
SharePoint 2010
Service Pack 1Hi,
"Multiple logon prompt issue" can be caused by many factors, please take a look of this blog:
Multiple Logon while open office Document from SharePoint
http://blogs.technet.com/b/steve_chen/archive/2010/06/25/multiple-logon-while-open-office-document-from-sharepoint.aspx
You can bypassing your proxy server for local addresses or adding a team Web site to the list of trusted intranet sites for a test, steps are listed in this link
Troubleshooting: I Keep Getting Prompted for a User Name and Password
http://technet.microsoft.com/en-us/library/cc750194.aspx
Sometimes, when a Intranet site is identified as an Internet site, it will cause Internet Explorer to prompt you for credentials when you access the intranet Web sites that require authentication
Intranet site is identified as an Internet site when you use an FQDN or an IP address
http://support.microsoft.com/kb/303650/en-us
Yolanda Zhu
TechNet Community Support -
SAP WS Navigator is asking for User Credentials
Hi all,
When i am trying to test a web service in SAP Transaction SOAMANAGER->WS Navigator , it is displaying a popup to provide Username and Password. I tried giving my User credentials but no luck.
Can anyone please help me in this issue, of what credentials i should pass through it.
At least let me know how i can test webservice from SOAPUI, my question is , will it still ask me for user credentials from SOAPUI too.
Appreciate your help.
Regards,
Praveen Kambala.Hi Praveen,
You can also test web service using WSADMIN transaction. In that expand SOAP application for Web serivces. there you can find your web serivce name. Select it and click on Web serivce hompage button or WSDL button in the above.
Regards,
Shravan Kumar N -
Verizon switching users without asking
This is the third time Verizon moved us to another without asking.
When I joined Verizon, it was just Verizon, then it switched to Verizon with MSN which was really cool and enjoyable.
Then when they pulled the plug on that its now Verizon again, and now we are going to Yahoo without anyone asking if we wanted to do so, and moving the mail etc .. This is not acceptable.
So when I tried to switch providers, lol, it bounced me back to Verizon.
They no long have a CD to download Verizon either by the way, and the one they had is full of errors, so now, how does one
RE store the Verizon back on.
This is getting a tad bit too much, what ever happen to keeping things SIMPLETo keep things simple,
#1 I have my router handling the public IP.
#2 and not installing their software.
If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button. -
BizTalk User Credentials, Certificates in transport header
BizTalk handles user credentials in Enterprise Single Sign on and the certificates are stored in Certificate store. I have been asked a general question, Is it possible that user credentials & certificates in a transport header? I am not exactly
sure on this.
VijayYou were asked this? The problem is that the question really doesn't make sense because SSO & the Cert Store and any transport header really have nothing to do with each other.
Also, in the scope of (assuming) an HTTP/SOAP header, it would be highly unusual to have both user credentials and a Certificate because they both exist, in that context, for authentication.
So, to clarify, yes, you can have user credentials or a certificate in a header (there's more than one) for authentication.
The credentials can come from SSO, but don't have to. The certificate would come from the Cert Store. -
Auto HTTP Proxy remembers first user credentials to access Safari
Hello
We would like to introduce iPads in the enterprise. The issue we have is after connecting it to the wireless with a static address (which it keeps no problem). We need to enter the HTTP Proxy. This is set to auto and the proxy URL is entered fine and stored.
The problem comes when we then use Safari to browse the first time you open it a box appears asking you to login. Once logged in you get the appropriate access for your login. It is not a single user who will have access to the iPad 2 and for some reason when opening safari for the 2nd time you do not get asked for login credentials. Instead you get the same access as the person who entered their details on first opening safari.
This does not work for us as didnt levels get different site access. I cannot find anywhere on the device that these details are remembered. Can someone please let me know how i get it to ask for credentials everytime safari is opened or a way that i can delete the last persons login details.
The only way i have been able to clear the user details is to 'erase all contecnt and settings' and this is not practical.
ThanksI have exactly the same problem. After trolling the web for the last 2 hours this is the first post i have seen about the issue i can't beleive it! You can "Forget" the connection and reconnect but that's just not practical. Have you had any luck on this problem? I updated an iPad to 5.1......same problem!
-
Sync AD user credentials with a SQL database
Hi folks!
I need some help to how Sync the user and password from my Active Directory, to a SQL Database.
Actualy, my enviroment have a database with users and password added, my custom applications uses it like a passport, but now I want to use Active Directory to control these users, but I can't use windows authentication in my old apps. I was reading about
Forefront Identity Manager to do this, but I need a free solution.
The Sharepoint database sync user credentials with AD? Any ideas how I can do this?
Thanks in advance!
MCTS Exchange 2010. @pedrongjrLooks like you need a linked SERVER to AD
create table #t (email varchar(100),sAMAccountName varchar(100),EmployeeID varchar(100))
insert into #t Exec master..spQueryAD 'SELECT EmployeeID, SamAccountName, mail
FROM ''LDAP://dc=companyname,dc=com'' WHERE objectCategory=''person'' and objectclass=''user''', 0
USE [master]
GO
/****** Object: StoredProcedure [dbo].[spQueryAD] Script Date: 17/03/2014 13:56:45 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[spQueryAD] (@LDAP_Query varchar(255)='', @Verbose bit=0)
as
--verify proper usage and display help if not used properly
if @LDAP_Query ='' --argument was not passed
BEGIN
Print ''
Print 'spQueryAD is a stored procedure to query active directory without the default 1000 record LDAP query limit'
Print ''
Print 'usage -- Exec spQueryAD ''_LDAP_Query_'', Verbose_Output(0 or 1, optional)'
Print ''
Print 'example: Exec spQueryAD ''SELECT EmployeeID, SamAccountName FROM ''''LDAP://dc=domain,dc=com'''' WHERE objectCategory=''''person'''' and objectclass=''''user'''''', 1'
Print ''
Print 'spQueryAD returns records corresponding to fields specified in LDAP query.'
Print 'Use INSERT INTO statement to capture results in temp table.'
Return --'spQueryAD aborted'
END
--declare variables
DECLARE @ADOconn INT -- ADO Connection object
, @ADOcomm INT -- ADO Command object
, @ADOcommprop INT -- ADO Command object properties pointer
, @ADOcommpropVal INT -- ADO Command object properties value pointer
, @ADOrs INT -- ADO RecordSet object
, @OLEreturn INT -- OLE return value
, @src varchar(255) -- OLE Error Source
, @desc varchar(255) -- OLE Error Description
, @PageSize INT -- variable for paging size Setting
, @StatusStr char(255) -- variable for current status message for verbose output
SET @PageSize = 1000 -- IF not SET LDAP query will return max of 1000 rows
--Create the ADO connection object
IF @Verbose=1
BEGIN
Set @StatusStr = 'Create ADO connection...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OACreate 'ADODB.Connection', @ADOconn OUT
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--SET the provider property to ADsDSOObject to point to Active Directory
IF @Verbose=1
BEGIN
Set @StatusStr = 'Set ADO connection to use Active Directory driver...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OASETProperty @ADOconn , 'Provider', 'ADsDSOObject'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Open the ADO connection
IF @Verbose=1
BEGIN
Set @StatusStr = 'Open the ADO connection...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OAMethod @ADOconn , 'Open'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Create the ADO command object
IF @Verbose=1
BEGIN
Set @StatusStr = 'Create ADO command object...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OACreate 'ADODB.Command', @ADOcomm OUT
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--SET the ADO command object to use the connection object created first
IF @Verbose=1
BEGIN
Set @StatusStr = 'Set ADO command object to use Active Directory connection...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OASETProperty @ADOcomm, 'ActiveConnection', 'Provider=''ADsDSOObject'''
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Get a pointer to the properties SET of the ADO Command Object
IF @Verbose=1
BEGIN
Set @StatusStr = 'Retrieve ADO command properties...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OAGetProperty @ADOcomm, 'Properties', @ADOcommprop out
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--SET the PageSize property
IF @Verbose=1
BEGIN
Set @StatusStr = 'Set ''PageSize'' property...'
Print @StatusStr
END
IF (@PageSize IS NOT null) -- If PageSize is SET then SET the value
BEGIN
EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'Page Size'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value','1000'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--SET the SearchScope property to ADS_SCOPE_SUBTREE to search the entire subtree
IF @Verbose=1
BEGIN
Set @StatusStr = 'Set ''SearchScope'' property...'
Print @StatusStr
END
BEGIN
EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'SearchScope'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value','2' --ADS_SCOPE_SUBTREE
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--SET the Asynchronous property to True
IF @Verbose=1
BEGIN
Set @StatusStr = 'Set ''Asynchronous'' property...'
Print @StatusStr
END
BEGIN
EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'Asynchronous'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value',True
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Create the ADO Recordset to hold the results of the LDAP query
IF @Verbose=1
BEGIN
Set @StatusStr = 'Create the temporary ADO recordset for query output...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OACreate 'ADODB.RecordSET',@ADOrs out
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOrs , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Pass the LDAP query to the ADO command object
IF @Verbose=1
BEGIN
Set @StatusStr = 'Input the LDAP query...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OASETProperty @ADOcomm, 'CommandText', @LDAP_Query
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Run the LDAP query and output the results to the ADO Recordset
IF @Verbose=1
BEGIN
Set @StatusStr = 'Execute the LDAP query...'
Print @StatusStr
END
Exec @OLEreturn = sp_OAMethod @ADOcomm, 'Execute' ,@ADOrs OUT
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
--Return the rows found
IF @Verbose=1
BEGIN
Set @StatusStr = 'Retrieve the LDAP query results...'
Print @StatusStr
END
EXEC @OLEreturn = sp_OAgetproperty @ADOrs, 'getrows'
IF @OLEreturn <> 0
BEGIN -- Return OLE error
EXEC sp_OAGetErrorInfo @ADOrs , @src OUT, @desc OUT
SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
RETURN
END
IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Office 2007 Outlook Not Accepting User Credentials
I was setting up a user with Outlook 2007 so that he can check his email. The user is a domain user and his AD account is "synced" with his microsoft exchange account (Same password). Simple install, so it should have been straight forward. When
initializing his email account, it asks for his password and username. we input it and hit ok. The box prompts again for the same credentials. It gives me 2 green check marks but the "log on to server" issue does not give me a check mark and continuously
prompts for a username and password. The information is correct....
Things I have done:
I have already removed all of his MS Outlook credentials from credential manager.
I have reinstalled Office 2007.
I have also done other random tips I cannot remember.
Any suggestions?
Don't forget to mark the post that solved your issue as "Answered." By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT ProfessionalAnyone have any suggestions to my issue? I attached a picture of the issue.
I also have more details now. After the first time you enter the user credentials the "Remember me" box disappears as shown in the picture. The prompt then continues to ask for credentials. I can access the OWA with the same credentials and there
is an ADF and I can login to the computer with the same credentials...
Don't forget to mark the post that solved your issue as "Answered." By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional -
How to log in with user credentials from database table
Hello all.
I have a table named users_1 in my database. This table has columns named username, password, email and userid. On userid, I have put a sequence.
Now, I have manually made 1 row in this table, with in it the user credentials.
How can I edit my application so that I can use these credentials to log onto the application?
Please, a step-by-step text would make me rather happy, instead of getting a link with information that I should read. I've read most of it, and it just doesn't make any sense to me, so I prefer a guide-trough.
Thanks..Hi Magali,
You want only user from database can access your application.
follow the steps given below.
Step1 : create function to authenticate users
create or replace FUNCTION "CUSTOM_AUTHENTICATE" (p_username in VARCHAR2, p_password in VARCHAR2)
return BOOLEAN
is
l_password varchar2(4000);
l_stored_password varchar2(4000);
l_count number;
begin
select count(*) into l_count from users_1 where upper(username) = upper(p_username);
if l_count > 0 then
select upper(password) into l_stored_password from users_1 where upper(username) = upper(p_username);
l_password := upper(p_password);
if l_password = l_stored_password then
return true;
else
return false;
end if;
else
return false;
end if;
end;
Step2 : create authentication scheme for your application
Go to Application Builder->select your application->shared component->security->authentication scheme->create
a) custom scheme : Based on a pre-configured scheme from the gallery
b) give some name to your scheme like custom_scheme or something
c)scheme type : database account
d) verify function name = return CUSTOM_AUTHENTICATE
e) go to = Login Page
f) Logout url = f?p=&APP_ID.:101 // here 101 is login page no..so you can set your login page no.
step3 : make this scheme as current scheme
select your scheme and click make current
now try to login into your application from your database users..
Hope this will helps you,
Thanks,
Jitendra -
SAP PI problem: User credentials are invalid or user is denied access
Hi!
I am about to configure SAP PI.
Therefore I have run post installation wizard step PI_00 and get the following errors:
Error: Not able to load Function SWF_XI_BPM_AUTO_CUSTOMIZE
(cause:Name or password is incorrect (repeat logon)).
Step: Execute SWF_XI_BPM_AUTO_CUSTOMIZE
Error: User credentials are invalid or user is denied access
Step: Add Installed Product2
Questions:
How can I identify which user/password makes problems here?
P.S.
My further problems are:
2) It is not possible to work with XI tools, such as:
Integration Directory, Integration Repository, Runtime Workbench
When I try to execute some action in these tools I get the following error:
Cannot connect to Repository
Error during communication with System Landscape Directory: User credentials are invalid or user is denied access.
2) When I try to access the NetWeaver configuration wizard (http://localhost:50000/nwa)
I get the followign warnig:
System Landscape Directory is not available
Only local systems can be maintened
Thank you very much
ThomHi,
Check the similar discussion Error in PI postinstallation wizard
Wrong password PISUPER in PI_00 wizard
Thanks!
Edited by: Sudhir Tiwari on Nov 26, 2008 10:29 AM
Maybe you are looking for
-
Totally confused here as I have credit in my account. It seems to be using the gift card credit, but I still get a little bit taken from my credit card. No I'm not using up all the actually gift card credit, the price is under that. I still have cred
-
N:1 multimapping for multiple records in every file
Hi , I am merging 2 files into a single file. First file has employee personal data and second file has employee salary data.I have created BPM and used correlation on EmpNumber to merge both the files. In BPM I am using fork step to recieve two file
-
TS1292 Its for a Movie i'm trying to redime the cofe for my Digatil Copy
I'm still trying to redeem the code for Digital Copy, but it's not working....
-
Is XML-SQL Utility for Java run on Client Side?
A question about the XML-SQL Utility for Java When a client program connect to a Oracle database (the clinet program and Oracle DB is run on two different machine. Oracle 8i is used) and use the oracle.xml.sql.query.OracleXMLQuery Class (form the XSU
-
OBIEE 11.1.1.6 failed to install on Oracle Linux 6.2
Hi all, When I install the OBIEE 11.1.1.6 64bit on Oracle Linux 6.2, it failed at creation domain. [2012-05-29T16:41:17.953+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 36] [ecid: 0000JUNkP6DFw000jzwkno1Fl8Qk00000R,0] Begining Oracle