How to get clear userpassword for LDAP Server?
I am writing a code for getting and setting attributes from and into IBM Directory Server. I get userPassword attribute which is like "[B@1dacd79e".
Does anyone know what is and how to convert it into clear text?If any code possible.
Thanks
Steve
I have found answer in forum.
Ref: http://forum.java.sun.com/thread.jsp?forum=51&thread=163745
Similar Messages
-
How to get stop script for the server
Hello everyone,
I installed weblogic server8.1 on my Linux machine and used $WL_HOME/server/bin/startWLS.sh
to create a new domain and server. But I did not find any stop script(like stopWLS.sh)
which can stop myserver. How can I get it?
Thanks for your helps.
Iriswhich can stop myserver. How can I get it?Here's an etc/rc3.d script I use for my RH9 server. You'll notice there is
a line in there for stop(), you can run that manually if you so choose, or
you can use it via the xinetd (I think that's what it's called?). Good luck.
# processname: weblogic
# pidfile: /var/run/weblogic.pid
PIDFILE=/var/run/weblogic.pid
# Source function library
. /etc/init.d/functions
#check to see if we can write to config.xml...so non-root uses stop here
[ -w /Domain/config.xml ] || exit 0
#setup the environment for the java commands
. /bea/weblogic81/server/bin/setWLSEnv.sh
cd /Domain
start(){
echo "Starting WebLogic for Domain"
cd /Domain
daemon ./startWebLogic.sh &
echo $! > $PIDFILE
RETVAL=$?
echo "WebLogic Server started."
return $RETVAL
stop(){
echo "Stopping WebLogic for Domain"
rm -f $PIDFILE
java weblogic.Admin -url localhost:80 FORCESHUTDOWN
status(){
echo "Getting Weblogic status for Domain"
java weblogic.Admin -url localhost:80 GETSTATE
restart(){
echo -n "Restarting WebLogic for Domain"
stop
start
# See how we were called.
case "$1" in
start)
start
stop)
stop
restart|reload)
stop
start
status)
status
echo $"usage: $0 {start|stop|status|restart|reload}"
exit 1
esac
exit $RETVAL -
Installed Azure VM From gallary with Sql Server 2012, even after allowing 1433 port through firewall, still cant get access to Sql Server from outside vm, So please provide steps for getting exact ServerName for connecting Sql Server on VM for connecting
from Visual Studio Application.
Thanks.Hi,
You can check the DNS name of the VM in the VM instance page of the Azure management portal.
In addition, you can also refer to the third-party article below:
http://thomaslarock.com/2014/02/connect-to-a-windows-azure-vm-using-sql-server-management-studio/
( Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
make sure that you completely understand the risk before retrieving any suggestions from the above link.)
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to get a certificate for SQL server (Virtual machine) on Azura
Hi
I am lost and I don't know what to do have a certificate available for SQL2014 (Data warehousing virtual machine Size A7).
My purpose is to connect to SQL server via Power Query and Engagement Studio with Encryption connection option ticked.
I have looked at a lot of pages via Google and I wish there is a clear step-by-step guide for me to follow. This is a MS Cloud with a predefined virtual machine. There should be some guide. Can you point me to the right direction please?
I have aHi,
Here are some related links below for you:
a real certificate for a virtual machine
https://social.msdn.microsoft.com/Forums/azure/en-US/7c48763f-fb04-46c6-a6e6-c21740d007cf/a-real-certificate-for-a-virtual-machine?forum=WAVirtualMachinesforWindows
Configuring a custom domain name for an Azure cloud service
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
Create a Service Certificate for Azure
https://msdn.microsoft.com/library/azure/gg432987.aspx?f=255&MSPPError=-2147217396
Since we are not familiar with Azure, if the information above is not helpful, please post another thread in Azure forums and post a feedback regarding your requirement:
http://feedback.azure.com/forums/34192--general-feedback
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
How can I get properties from my ldap server?
urgent,I don't know
how to use the getproperties to get the properties
from ldap server,anyone help?Hi Kevin,
You could write a portlet that uses the <um:getProfile> and
<um:getProperty> tag (
http://edocs.bea.com/wlp/docs40/p13ndev/jsptags.htm#1058056 )
Or you can do an easier test that requires no coding: If you use the EBCC
to create metadata about your ldap property set, then you can use the JSP
portal admin tool to see your LDAP properties for a user. I think if you go
through the UUP example on dev2dev.bea.com it has instructions for doing
this with a UUP. Basically, create a property set (a.k.a. "user profile")
named "ldap" in the EBCC and create properties that match the ones you want
to retrieve ("telephoneNumber", etc...CASE SENSITIVE). Then access the JSP
portal admin tool. If you are not using the LDAPRealm as your alternate
security realm then create a user that you know exists in LDAP and then hit
the link for the user and search the "ldap" property set and you will see
their property values. If you are using the LDAPRealm for authentication,
then this is not a ManageableRealm so you cannot create users (they are
managed in your LDAP server). So, if you are using the LDAP realm, just
create the "ldap" property set in the EBCC and go to the user mgmt tools in
the JSP admin tools and you will see your user. Then search the "ldap"
property set for your user and you will see the property values.
Ture Hoefner
BEA Systems, Inc.
www.bea.com
"Kevin" <[email protected]> wrote in message
news:[email protected]...
>
Hello,
We're trying to retrieve an arbitrary profile and it's attributes from
a Novell NDS ldap server. I've configured the ldapprofile.jar as
described in the portal doc:
http://edocs.bea.com/wlp/docs40/p13ndev/users.htm#1131824
but the article doesn't go on to describe how to use the configuration
to actually access the properties.
I'm unsure as to how to use the com.bea.p13n.usermgmt.profile.ldap
package to retrieve the information I need.
Is there some step by step instructions to achieve this as well as
some sample code to run in a jsp to test this functionality?
Thanks for any help.
Kevin
Ture Hoefner <[email protected]> wrote:
Hi Eric,
The LdapPropertyManager handles that for you. All you have to do is
deploy it. (I'm talking about Portal 4.0). See the docs at "Accessing
Properties from an LDAP Server" (
http://edocs.bea.com/wlp/docs40/p13ndev/users.htm#1131824 )
You will need to deploy the LDAPPropertyManager EJB, located in
ldapprofile.jar. It is shipped with the product in
<wlportal4.0-install-dir>/lib/p13n/ejb/ldapprofile.jar.
Eric Nie wrote:
urgent,I don't know
how to use the getproperties to get the properties
from ldap server,anyone help?--
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
Urgent: How to list all alias for a server throw DNS query?
Hi
Is there anyone know how to list all alias for a server by asking the network DNS. Is that possible?
It doesn't work with InetAddress it return a single result.
Best regardInetAddress will not get you the aliases, but you can certainly find all the different IP addresses for a specific host name using the getAllByName() method.
You won't be able to get the aliases since those IP addresses (assuming there are more than 1) will all be cached as mapping to the name you passed to the getAllByName() method and you can't clear the map cache until the JVM exits.
So your best hope is to get a list of IP's and either exit your app and restart with a new mode, or save them to a file for another app to read. -
How can we update data in LDAP server using PL/SQL.
Hi,
How can we update data in LDAP server using PL/SQL program.
Is there any sample code for refrence.
Thanks,
TarunHi Justin,
Thanks for your help. You got my correct requirements.
Tim's example returning all the attributes of current user which is admin user. Please correct me if I am wrong.
I have the following information:
the admin user and password,server info , port and ldap_base for admin.
I have uid and password for regular user, I am trying find the ldap_base for regular user, which may be different from adminuser.
Please help me.
Thanks,
Edited by: james. on Jan 12, 2009 5:39 PM -
How to get the files in presentation server while uploading?
how to get the files in presentation server while uploading?
give me the function module nameHi,
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES. "Prsnt Srvr
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = P_FILE
MASK = ',..'
MODE = '0 '
TITLE = 'Choose File'
IMPORTING
FILENAME = P_FILE
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5. -
How to get Alerts mail for adapter engine errors in SAP PI 7.0
Hi Friends,
I configured Alerts in PI 7.0. with the help of t-code u2018ALRTCATDEF and created a new alert catergory.
In container tab i have mentioned all give below elements.
SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE, SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE, SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE
I am getting alerts when I manually test the alerts configurations by running the report u2018RSALERTTESTu2019.
I am getting mail as :
Alert ID: ##00009##
Dear Administrator,
This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
Message ID:
Interface:
NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
Double click on that message ID and click on error in left hand tree.
Please take appropriate action in co-ordination with respective functional and BASIS consultant.
But When I am getting a error , I am not getting an alert mail. Right now iam doing in XI Development.
I am not getting an Alert mail , when my message is in status of : System Error . Error catergory is : XI_J2EE_ADAPTER_JDBC.
Kindly tell how to get alert mail for error catergory : XI_J2EE_ADAPTER_JDBC and in Adapter engine errors.
How to get alert mail when my message is failed with any reason in Adapter engine.
Waiting for quick replay. Please help me out.
Regards,
Ahmed.Hi thanks for quick reply.
As per your given link : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14877. [original link is broken]
I have done all these steps. But still little problem.
as per link he is getting Error description , error message id , alert rule..
In my case I am not getting these information. when my messages failed. When I am doing manully testing the alert getting an mail as :
Alert ID: ##00009##
Dear Administrator,
This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
Message ID:
Interface:
NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
Double click on that message ID and click on error in left hand tree.
Please take appropriate action in co-ordination with respective functional and BASIS consultant.
Is it okay the body of mail??.
I am not getting alert mail when my messages failed in adapter engine and Integration Engine.
Ex my message is failed in AE:as below.
My messages flow as : SAP --> XI --> DB.
Messages is success (in ECC moni)> XI moni also success> XI Adapter engine getting error as (Status: System Error) and (Error Category : XI_J2EE_ADAPTER_JDBC).
Regards,
Ahmed. -
How to get more features for Captivate 6
Hi all,
I've installed Captivate 6 on my laptop at work, I use it for creating training material for our project management system. I was just looking at some Adobe video tutorial and there are some features shown in the videos that I can't find on my captivate (for example Drag and Drop interaction, some particular widget like "Hangman" etc...). I tried to download them, clicking on the "Download more interactions" but there are any available. So, is there a way to get those features, at least those shown in your video tutorial for Captivate 6?
Thank you very much
ElenaHello,
thank you for your answer.
I have the version 6.0, so maybe I can't get those features because of the version that I have.
Even if I click on "Download more" on the Interactions window, there are no Interactions available, but is it a problem related to my version or it's because there aren't available new features?
Thank you very much,
Elena Bettarini
Date: Thu, 14 Nov 2013 00:40:11 -0800
From: [email protected]
To: [email protected]
Subject: How to get more features for Captivate 6
Re: How to get more features for Captivate 6
created by Lilybiri in Adobe Captivate - View the full discussion
Hello and welcome,
I cannot remember for the Hangman interaction anymore, but Drag&Drop was only available for subscription users, for version 6.1.0.3190 Maybe it was not clear in the video you are pointing at, that not all features were available for box licenses. Which version do you have?
Lilybiri
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5841167#5841167
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5841167#5841167
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5841167#5841167. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Captivate at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
How to get the "Key" for Dimension in SSAS.
Hi
How to get the "Key" for Dimension in SSAS.
(Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
<NewDataSet>
<UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
<UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
<UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
</NewDataSet>
Thanks & Regards
Poomani SankaranTo Be Honest there is not one straight Cmdlet that atleast I have come across
The best way would if you have Lync monitoring server
Using the Lync Server 2013 Monitoring Server
If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in. You can run the following query* to
pull back the user's SIP URI and their last login time:
USE LcsCDR
SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
FROM dbo.UserStatistics
JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
ORDER BY UserUri
Which produces the following output:
The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
To get approx count of users enable for Lync Server in your organisation
Get-CsUser -Filter {Enabled -eq $true} | MeasurE
Please not the above command let will give you an approx number not exact
From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task
Hope this is helpful
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" Regards Edwin Anthony Joseph -
How to get Open Balance for the year and Total Ending Balance?
For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
Is there any function module available? or should I read from some tables? Please advice.Hello Paul,
You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
BAPI_GL_GETGLACCBALANCE
BAPI_GL_GETGLACCCURRENTBALANCE
BAPI_GL_ACC_GETBALANCE
BAPI_GL_ACC_GETCURRENTBALANCE
BAPI_GL_ACC_GETPERIODBALANCES
BAPI_COND_VAL_DECRE_BALANCES
You might have to put in some of your own logic after the BAPI call to get what you want.
Hope this helps,
Cheers,
Sougata.
p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM -
A^b = n ,How to get the value for a ?
a^b = n ===> n = Math.pow(a,b)
How to get the value for a ?
dose Java have API to get the value for a ?
Thanks for help~~~a^b = n
=>
a = n^(1/b)
So,
a = Math.pow(n,1.0/b) -
How to Get Missing Dates for Each Support Ticket In My Query?
Hello -
I'm really baffled as to how to get missing dates for each support ticket in my query. I did a search for this and found several CTE's however they only provide ways to find missing dates in a date table rather than missing dates for another column
in a table. Let me explain a bit further here -
I have a query which has a list of support tickets for the month of January. Each support ticket is supposed to be updated daily by a support rep, however that isn't happening so the business wants to know for each ticket which dates have NOT been
updated. So, for example, I might have support ticket 44BS which was updated on 2014-01-01, 2014-01-05, 2014-01-07. Each time the ticket is updated a new row is inserted into the table. I need a query which will return the missing dates per
each support ticket.
I should also add that I DO NOT have any sort of admin nor write permissions to the database...none at all. My team has tried and they won't give 'em. So proposing a function or storable solution will not work. I'm stuck with doing everything
in a query.
I'll try and provide some sample data as an example -
CREATE TABLE #Tickets
TicketNo VARCHAR(4)
,DateUpdated DATE
INSERT INTO #Tickets VALUES ('44BS', '2014-01-01')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-05')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-07')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-03')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-09')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-11')
So for ticket 44BS, I need to return the missing dates between January 1st and January 5th, again between January 5th and January 7th. A set-based solution would be best.
I'm sure this is easier than i'm making it. However, after playing around for a couple of hours my head hurts and I need sleep. If anyone can help, you'd be a job-saver :)
Thanks!!CREATE TABLE #Tickets (
TicketNo VARCHAR(4)
,DateUpdated DATETIME
GO
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-01'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-05'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-07'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-03'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-09'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-11'
GO
GO
SELECT *
FROM #Tickets
GO
GO
CREATE TABLE #tempDist (
NRow INT
,TicketNo VARCHAR(4)
,MinDate DATETIME
,MaxDate DATETIME
GO
CREATE TABLE #tempUnUserdDate (
TicketNo VARCHAR(4)
,MissDate DATETIME
GO
INSERT INTO #tempDist
SELECT Row_Number() OVER (
ORDER BY TicketNo
) AS NROw
,TicketNo
,Min(DateUpdated) AS MinDate
,MAx(DateUpdated) AS MaxDate
FROM #Tickets
GROUP BY TicketNo
SELECT *
FROM #tempDist
GO
-- Get the number of rows in the looping table
DECLARE @RowCount INT
SET @RowCount = (
SELECT COUNT(TicketNo)
FROM #tempDist
-- Declare an iterator
DECLARE @I INT
-- Initialize the iterator
SET @I = 1
-- Loop through the rows of a table @myTable
WHILE (@I <= @RowCount)
BEGIN
-- Declare variables to hold the data which we get after looping each record
DECLARE @MyDate DATETIME
DECLARE @TicketNo VARCHAR(50)
,@MinDate DATETIME
,@MaxDate DATETIME
-- Get the data from table and set to variables
SELECT @TicketNo = TicketNo
,@MinDate = MinDate
,@MaxDate = MaxDate
FROM #tempDist
WHERE NRow = @I
SET @MyDate = @MinDate
WHILE @MaxDate > @MyDate
BEGIN
IF NOT EXISTS (
SELECT *
FROM #Tickets
WHERE TicketNo = @TicketNo
AND DateUpdated = @MyDate
BEGIN
INSERT INTO #tempUnUserdDate
VALUES (
@TicketNo
,@MyDate
END
SET @MyDate = dateadd(d, 1, @MyDate)
END
SET @I = @I + 1
END
GO
SELECT *
FROM #tempUnUserdDate
GO
GO
DROP TABLE #tickets
GO
DROP TABLE #tempDist
GO
DROP TABLE #tempUnUserdDate
Thanks,
Shridhar J Joshi
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY.
Maybe you are looking for
-
Upgrade Oracle 8.0.5 to 8.1.7
Hi everyone we have SAP with Oracle 8.0.5 on Windows NT 4, we wish to upgrade to a newer version of SAP for which first of all we have to upgrade to Oracle 8.1.7, we used the procedure given in the SAP notes and Oracle docs and installed Oracle 8.1.7
-
BPM TASK IS not visible in UWL Inbox
Hi BPM Expert, I am facing the big issues in BPM process Triggered problem. earlier i used to BPM start using Web service with Two entity as ID and Username but its was working fine .but i have some requirement to adding one element in Existin
-
Using Solaris 11 Express for a multiprocessor CAD/CAM x86-64 system.
I'm considering using Solaris 11 Express as the OS for a multiprocessor Computer Aided Design/Computer Aided Manufacturing custom built x86-64 system for my machine shop business. I would like clarification of the license in this situation. Would I b
-
Convincing spotlight to index other file types
I have a large number of LaTeX documents on my computer, but Spotlight seems unwilling to index them. How can I convince spotlight to go ahead and index/search files with a .tex extension just like it would any other ASCII text file? Details: LaTeX s
-
Can you please share books/urls for Advanced PLSQL concepts? ~ pm