I want to login livelink by AD .how can i do it . which api function can i use it . thx
if there is no OTDS integration involved this code sample may help you.The basic premise is insted of openeing a session against the lapi port you want to tunnel into the application authenticating yourself at the webserver.It will do you good if you can establish SSO works within the livelink gui andusing the lapi test connection utility.That helped me greatly when I wanted to do something like this.
Sorry the WIKI where all the lapi samples were stored is broken
https://communities.opentext.com/communities/cs.dll/wiki/7967685/LAPI
Here's a direct link to the code in my PWS
https://communities.opentext.com/communities/cs.dll?func=ll&objId=2124975&objAction=download&viewType=1
LAPI is old technology which is not supposed to be used with newer livelink so I am assuming you want to use it.If it is Enterprsie Web Services I have posted a SSO example here as well www.livelink.in although no real testing other than me has done it.
it looks like you programmed in Java using Ossies but quoted me on my C# stuff.In any case if you were using java then the dll's don't come into play.The lapi.jar files should be in the path I beleive or classpath.If Ossie won't help I can check that for you.
Here is a OT tool to see if your livelink can understand NTLM(AD,SSO)
https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=3501512&objAction=ArticleView
If the call with the utility works then it is almost certain that you can use your own code to do it following Ossie's or my code excerpt.
If you are completely new to LAPI then here are some things you need to do
If you are not a sysadmin of livelink,find him /her and execute this command from the browser
your livelink url ending in livelink.exe or llisapi.dll or livelink ?func=admin.testargs
look if REMOTE_USER is populated with domainname\username if it is not then this instance of livelink does not understand NTLM
See how far you get this time
Thank You For Your Help . I Have Been Set The Windows Environment . But The Java Was Throw The Exception . The Exception Is :
The specifics of setting up and configuring Directory Service authentication such that users are authenticated via Active Directory varies depending on the version of IIS and Livelink and is beyond the scope of a forum reply for allowing LAPI to connect. However, here is an 50000 foot view of what you do:
1. You must install and configure the Directory Services module.
2. IIS must be configured to authenticate the user via Windows Authentication on the servers that the end users will make their requests to. (Note that you should probably also setup a standard authentication URL so that Admin can access these servers easily.)
Once users can connect to Livelink on these front end servers successfully using Active Directory authentication, you can then tunnel your LAPI requests through these front end servers to also use Active Directory authentication.
As I promised earlier, here is a complete example from scratch using nothing but notepad, the JDK and LAPI to connect to Livelink using an Active Directory URL. The video has a link to the resulting Java source for your convenience. http://vimeo.com/56452096
Ossie
Dear Ossie,
I Had Been Install Directory Services Administrator module.I Had Been Configure the external directory sources to be used for synchronization.,I Had Been Check The IIS configured to authenticate the user via Windows Authentication on the servers. But I Get The Sample Exception.