How to build LDAP server?

Hi all!
I do have address book of company based on Oracle tables, what
should I do populate them as LDAP entries? Does it true that
the only option is to copy address book entries to existing
LDAP server? Or I could use known API to build my own LDAP server
on top of available DB tables?
Thanks in advance,
Paul

You may be able to find something which sits in front
of your db and makes it "look like" an LDAP data store
to your jndi code. The only such thing I'm aware of is
something called "VDE" ("Virtual Directory Engine" I
think) from a company called "OctetString".
What you can do with their product (and it is a
commercial product) is configure an adapter which, on
one side, does SQL calls to your db and, on the other,
responds to JNDI calls. So the flow is something like:
(1) your program makes a jndi call, which (2) goes to
VDE which (3) translates the call into one or more sql
calls (which you configure inside the product), (4)
then VDE collects the resulting data, (4) swizzles it
into the appropriate objects and (5) responds to your
original JNDI call.
I've never used their product in this way but this is
my understanding, conceptually anyway, of what it
does. There may also be other gizmos available
elsewhere which work this way. Thanks a lot! It's exactly what I have been looking for!
I've downloaded evaluation copy, checked and right now
writing memo for finance guys asking to allocate financial
resources to buy VDE :)
Paul

Similar Messages

  • How to build a server?

    Hey,
    Can anybody tell where I can find online tutorials on how to build a server using java?
    Thanks

    @bender02
    Thx very much for your link. This ready-made solutions can help me to save a lot of otherwise wasted time. QNAP's NAS solution looks good and this Bubba|Two (though it doesn't have mirroring via raid1) is also very attractive.
    I am very interested in what server solution you use.
    My planned server is really for local network uses only. It should serve for file related purposes like file sharing over the network, backup (maybe with raid1) and a centralized data storage.
    I think I will settle with one of this commercial and ready-for-use systems. The thought to tinker around and to make everything by yourself is very temptating but I am getting weary of it. And I dont have the time to tinker around as I have to study enormous amounts
    If I did everything by myself I would have to learn how to handle ssh and rsync, which software is suited for what purpose, how I can configure each software to fit my needs and at last I would have to work on some scripts or search for them to achieve a workaround. And this takes for weeks and months, time that I can't afford -.- sometimes a desktop alone can be enough work to do, when I want everything to be "perfect" and "secure". In the past the guys worked on their motorcycles and now they work on their computers, hehe
    So if nobody has a very good reason why I should tinker around, then I'll buy some ready-for-use stuff.
    Last edited by hauntergeist (2009-04-11 20:55:56)

  • How to determine LDAP server type

    Hello,
    Please post some hints how to determine LDAP server type(MS AD, OpenLDAP, Novell, Sun...) from rootDSE or somehow else?
    Thank you,
    Vladislav

    Hello Vladislav,
    the root DSE should be the best place to look for such
    things, I'd say. This is where an LDAP server advertises
    its capabilities. However, I'm not aware of an easy, fail-
    safe way of doing the distinguishing. One way, which would
    need some good logic, though, would be to go by supported
    OIDs, e.g. a SunONE DS 5.x will have attribute values like
    this in the rootDSE:
    supportedExtension=2.16.840.1.113730.3.5.3
    supportedExtension=2.16.840.1.113730.3.5.5
    (basically saying the DS supports it's own replication
    protocol). But it is quite feasible for other servers
    to support this protocol and thus advertise those OIDs
    in the rootDSE. Therefore you'd probably need to check your
    logic again and again for every new release of every known
    directory server.
    My 2 cents,
    Karl.

  • How to run LDAP server?

    LDAP Server (slapd) is stopped how can I it to run?

    Hi
    I’ve seen your other post and it seems to be related, so this reply to applies to both of your posts. For LDAP Services and Kerberos authentication to run you need to configure DNS and promote your server to an Open Directory Master. An Open Directory master is an LDAP Server and KDC combined so it does not need to join anything as it is providing these services to any client computers you may want to bind to it.
    If you are deploying OSX Server in an existing network with an AD Domain Controller then you can integrate OSX Server and use existing Active Directory LDAP, DNS and KDC Services. It will be the AD Administrator who will have information regarding this. You will need to speak to him if this is the case for your situation.
    Before you reply to this look in the Open Directory & Authentication Forum where you will find plenty of advice on what I think is the reason for your post. What exactly do you want to do anyway?
    Hope this helps – Tony

  • How to query LDAP server and get DB Service names?

    Hi, before making a connection to an Oracle database, if i want to get list of Databases available,
    i could use OracleClientFactory (and CreateDataSourceEnumerator and GetDataSources) to get list of tnsnames from the local tnsnames.ora file
    Now, if i instead want to query the LDAP server with a given context and get the DB Service list,
    how can i do that using ODP.NET?
    I am using Visual Studio C# 2010 and ODP.NET 11.2
    Thanks,
    -srinivas yelamanchili

    The oracle client has an ldap.ora file, how can I use ODP.NET to read the ldap.ora file and get list of oracle instances available?
    Thanks,
    -sri

  • How to change LDAP server setting in Access Manager 6.2

    Hi,
    We have initially set authentication as a SunONE Directory Server 5.1 (master DS1) in Sun Java System Access Manager 6.2. In both /etc/opt/SUNWam/config/serverconfig.xml
    /etc/opt/SUNWam/config/AMConfig.properties
    conf files, DS1 was set initially. Also on console's Service Configuration ->LDAP->Primary LDAP Server was set as "DS1"
    Now the problem is that I am not able to change the DS1 to the other master "DS2". I set DS2 in both above conf files and also the Service Configuration page as Primary LDAP Server. I restarted the server. When I stopped the DS1, I couldn't login access manager console with any user. It looks like it is still trying to get authentication from DS1.
    Does anybody know what I am missing here?
    Regards,

    After hopeless tries, I finally made it work;) The trick was actually updating the sunKeyValue attribute of the entry:
    "dn:ou=default,ou=OrganizationConfig,ou=1.0,ou=iPlanetAMAuthLDAPService,ou=ser
    vices,dc=company,dc=com" in one of the master DS I have.
    Even though I set DS2 and loadBalancer hosts in all conf files and in Primary LDAP conf in amconsole's Service Configuration, it just didn't work until I inserted loadBalancer host in sunKeyValue attribute.
    Hope it helps to someone....
    -Bora

  • How to build Fax Server by Java?

    Receive Fax
    1. I need to develop a Java program to listen the incoming fax through DID modem which supports Class 2.0 - the Post 1992 Standard.
    2. After receiving the fax data from modem, the Java program converts fax to jpg.
    Sending Fax
    1. Convert MS Word doc file to JPG.
    2. Convert MS Word doc file to Fax format and send by modem.
    Are there any libraries to do file convertion and communicate with modem?
    Or, is there any open source project to do it?

    Depending on what u need this for, u can always look at this:
    http://www.java4less.com/java_fax.htm
    Best of luck :)

  • How do we install LDAP server and configure ?..

    How to configure LDAP server...

    You'll have more luck in the forum for LDAP: Oracle Unified Directory (OUD) & Oracle Directory Server Enterprise Edition/Sun DSEE
    I suggest that you also include more information in your posts about what you've already tried to do and why it doesn't seem to be working. Simply asking "how to configure LDAP" isn't going to elicit many responses....You need to show you've actually attempted it yourself.
    Also, you'll always want to include the versions of the software you're using.

  • Setting up LDAP Server to lookup Connection Factories using JNDI

    Can someone let me know how to setup LDAP server within 10G to lookup connection factories using JNDI?
    I read through the Advanced Queuing User Guide and Reference document where this is mentioned and it says use the Database Configuration Assistant to do this but I could not find how.
    When I install 10G is LDAP server automatically setup? How do I get to it?
    Thanks

    That is correct. I was indeed able to use the app server (10g) to give the LDAP user permission to access the objects, then used sql commands to register the objects inside the LDAP.
    However, I am finding NOTHING about actually creating a unique connection factory that can be registered in the LDAP. I find reference to registering Queues/Topics/Factories inside the LDAP, but nothing about actually creating the factories.
    In fact, here
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28420/aq_envir.htm#sthref409
    it's listed that you cannot use sql to create a connectionfactory... not to mention the create java commands for factories look strikingly similar to the queue/topic GET commands, and not the create commands. You can add an alias for that factory using sql, but can't actually create the factory using sql... ???

  • Unable to initialize LDAP (No LDAP server is configured)show in the admin server of iWS6.0 users and group

    When I goto web server administration in users and group tab it alway show me Unable to initialize LDAP (No LDAP server is configured) Is it cause the effect to use web server because I use iWS with ias .
    If it cause some effect ,Please let me know how to configured LDAP server.

    Run this Command from the Exchange Server
    Net time \\ADServerName /Set
    and confirm the action,
    and then you need to restart the service
    Microsoft Exchange Active Directory Topology Service
    and confirm you are not getting the Error 4001 in the event Viewer.
    Thank you, it resolved my issue after being sweating looking for solution.
    How can I prevent this from happening? I cannot restart services on each server reboot nor lose 5 years of my life!!!
    Sokratis Laskaridis MCP, MCTS, MCITP, Small Business Specialist Netapp ASAP, Symantec STS

  • Embedded LDAP Server Replication

    Hi,
    I am new to weblogic, and trying to figure out how the master LDAP server, maintained in the domain’s Administration Server, is replicated to Managed Server in the domain.
    I recently installed weblogic and during testing found that, user login to deployed application is denied, if Administrator Server is down.
    According to this document: http://docs.oracle.com/cd/E12840_01/wls/docs103/secmanage/ldap.html
    I understand that each Managed Server maintains a copy of LDAP server and user authentication can be taken care by this in the absence of Administrator server.
    However it's not happening.
    Do I have to make any configuration changes? Any pointers on this will be appriciated.
    Error Message:
    An invalid User Name or Password was entered
    Thank You,
    Deepak

    Ensure that the managed server is running with "Managed Server Independence Enabled" flag checked.
    It can be checked on console via Environment --> Servers --> <ServerName> --> Configuration --> Tuning
    For more information, please check
    http://docs.oracle.com/cd/E14571_01/web.1111/e13708/failures.htm#START169
    The above flag is required for the managed server to use the local LDAP repository.
    Arun

  • Using LDAP server in Login frame work

    I need breaf explanation about how to use LDAP server in Portal for Login authontatication.
    Any body now good documets please pass me those links.
    Thanks,
    Venkata Sarvabatla

    In a nutshell, WebLogic Server has a pluggable security architecture. If you want your authentication provider to use your LDAP server then you can configure WebLogic Server to use your authentication provider. You configure your authentication provider to connect to your LDAP server. No code development is necessary.
    WebLogic Portal Server is built on top of WebLogic Server so you get the pluggable security architecture by definition.
    This security architecture has been around a long time and lots of customers use it so the documentation on it is pretty good. If you haven't configured a WebLogic Server LDAP authentication provider before then don't worry: it is not too difficult, but it is going to require that you go through the documentation. The link deepshet gave you is a good starting point.

  • Start/stop LDAP server

    Hi,
    When I go for installing OID it gives error.... LDAP is not up and running.
    Please tell me the reason.
    And also help me, how to start LDAP server start/stop manually..
    Thanks,
    Arvind Sinha

    For OID, there are 2 options to start / stop OID.
    option 1: use opmn.
    ./opmnctl startproc ias-instance=OID
    ./opmnctl stopproc ias-instance=OID
    option 2: use oidmon and oidctl.
    ./oidmon instance=<sid> start | stop
    ./oidctl instance=<sid> server=oidldapd start | stop
    For these, the pre-req is that the backend db is up and running.
    Hope this helps.

  • [OBPM 10gR3]How to configer a hybrid directory with Oracle LDAP Server

    Hey, guys,
    Does anyone have experience on configering a hybrid directory with Oracle LDAP Server? How to config the mapping conf file for Oracle LDAP in the directory of \OraBPMwlHome\conf?
    Here is my conf file. But I got some LDAP mapping errors. It's really weird OBPM doesn't support Oracle's self LDAP, at least it does not provide the conf file.
    -----------errors------------
    Exception [javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '']. Reason: [LDAP: error code 53 - Function Not Implemented] fuego.directory.DirectoryRuntimeException: Exception [javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '']. at fuego.directory.DirectoryRuntimeException.wrapException(DirectoryRuntimeException.java:85) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.select(JNDIQueryExecutor.java:203) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.selectAllFromView(JNDIQueryExecutor.java:84) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.selectAllFromView(JNDIQueryExecutor.java:64) at fuego.directory.hybrid.ldap.Repository.selectAllFromView(Repository.java:54) at fuego.directory.hybrid.ldap.LDAPPollingEventGenerator.buildCurrentProxies(LDAPPollingEventGenerator.java:98) at fuego.directory.provider.notifiers.BasePollingEventGenerator.generateEvents(BasePollingEventGenerator.java:41) at fuego.directory.hybrid.HybridMultipleEventGenerator.generateEvents(HybridMultipleEventGenerator.java:43) at fuego.directory.provider.notifiers.DirectoryNotifier.notifyChanges(DirectoryNotifier.java:403) at fuego.server.service.DirectoryListener.updateEngineFromDirectoryImpl(DirectoryListener.java:309) at fuego.server.service.DirectoryListener$DirectoryPollingItem.execute(DirectoryListener.java:351) at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62) at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42) at fuego.ejbengine.ejb.EngineStartupBean.executeItem(EngineStartupBean.java:192) at fuego.ejbengine.ejb.EngineStartupBean.updateFromDirectory(EngineStartupBean.java:172) at fuego.ejbengine.ejb.engine_startup_bpmengine_wodkyx_ELOImpl.updateFromDirectory(engine_startup_bpmengine_wodkyx_ELOImpl.java:365) at fuego.ejbengine.servlet.SchedulerServlet$DirectoryPollingTask.runImpl(SchedulerServlet.java:269) at fuego.ejbengine.servlet.SchedulerServlet$ScheduledTask.run(SchedulerServlet.java:208) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Function Not Implemented]; remaining name '' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3078) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at fuego.jndi.FaultTolerantDirContext.search(FaultTolerantDirContext.java:867) at fuego.directory.hybrid.ldap.JNDIQueryExecutor.select(JNDIQueryExecutor.java:190) ... 23 more
    -----------mapping conf file for Oracle LDAP---------
    <?xml version="1.0" encoding="UTF-8"?>
    <?fuego version="6.1 ALPHA" application="albpmenterprise"?>
    <!-- This file contains the propper attribute mapping for the FDI Generic Ldap Provider using Oracle Directory Service.          
    * Preference for group object
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedParticipant value is the dn of the user and the dn contains the participant id
              <preference id="assignedParticipants.containsId" value="true"/>
              This preference is useful to speed up the provider and it can only be used if the assignedGroup value is the dn of the group and the dn contains the group id
              <preference id="modifyTimeStamp.suffix" value="Z"/>
              This preference is useful when the suffix mofidyTimeStamp format of your ldap is not .OZ.
    -->
    <config>
         <object id="person">
              <object-filter>
                   <![CDATA[
                        (objectclass=inetOrgPerson)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for person -->
              </relative-dn>
              <attribute id="id" value="uid"/>
              <attribute id="lastName" value="sn"/>
              <attribute id="firstName" value="givenname"/>
              <attribute id="accountLock" value="orclIsEnabled">
                   <attribute-comparator operation="EQUALS" compareTo="ENABLED"/>
                   <filter>
                        <![CDATA[
                             ($accountLock=ENABLED)
                        ]]>
                   </filter>
              </attribute>
              <attribute id="facsimileTelephoneNumber" value="facsimileTelephoneNumber"/>
              <attribute id="displayName" value="displayName"/>
              <attribute id="mail" value="mail"/>
              <attribute id="telephoneNumber" value="telephoneNumber"/>
              <attribute id="employeeId" value="employeeNumber"/>
              <attribute id="thumbnailPhoto" value="jpegPhoto"/>
              <attribute id="manager" value="manager"/>
              <attribute id="modifyTimeStamp" value="modifytimestamp"/>
         </object>
         <object id="group">
              <object-filter>
                   <![CDATA[
                        (objectclass=orclGroup)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for group -->
    </relative-dn>
              <attribute id="id" value="dn"/>
              <attribute id="modifyTimeStamp" value="modifytimestamp"/>
              <attribute id="displayName" value="displayName"/>
              <attribute id="name" value="cn"/>
              <attribute id="description" value="description"/>
              <attribute id="assignedParticipants" value="uniquemember"/>
              <!--attribute id="assignedGroups" value="memberOf"/-->
              <attribute id="ou" value="uniquemember"/>
         </object>
         <object id="ou">
              <object-filter>
                   <![CDATA[
                        (objectclass=domain)
                   ]]>
              </object-filter>
              <relative-dn>
                   <!-- the relative dn for ous -->
    </relative-dn>
              <attribute id="name" value="orclsubscriberfullname"/>
              <attribute id="description" value="description"/>
         </object>
    </config>
    Edited by: Lemonice on 2009-3-30 上午2:08
    Edited by: Lemonice on 2009-3-30 下午7:01
    Edited by: Lemonice on 2009-3-30 下午8:43

    Hi,
    in my case, I am trying to configure the OBPM directory using ALUI and its native LDAP service.
    Now, I found that the first name and the last name in BPM are retrieved from the ALUI display name : provided we enter the display name in the format %first name% + %last name% we get them into BPM. But the display name is not always in this format...
    In addition, it's the portal telephone number information which is retrieved into BPM Telephone and Fax numbers.
    And, the email adress remains blank
    I have installed the latest patch for OBPM (Version: 10.3.1.0.0 Build: #97172)
    Would you have any documentation about creating a Profile Web Service in ALUI and specifying which LDAP attributes to map to which ALUI properties in the Profile Source ?
    Thanks !
    Edited by: vVince on May 6, 2009 3:46 PM

  • 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,
    Tarun

    Hi 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

Maybe you are looking for

  • Deprecated and internal proprietary API in Java

    Hi, all I'm facing a problem right now that our product is near to the ending of the life cycle and won't t have big release from 2013. Hence we are thinking that the JRE/JDK in the product should be stable enough and will not have significant change

  • Java object array

    Hi all, first of all let's see some lines of source code Foo.java public class Foo public Socket pSocket = null; public nPosition = 0; NewBie.java public class NewBie{ public Foo[] m_Foo = null; private int m_FooCount ; public Init(int nFooCount) m_F

  • Stickies Always Rolls Back on Launch

    Every time I quit Stickies and relaunch it, a couple of old notes that I discarded and closed open up again, and none of my new notes open. What's going on?

  • Lightroom 6 serial number does not work.

    After buying the upgrade from Lightroom 5 to 6 and after installing I am asked for the serial number. When using the serial number received from the e-mail confirmation I receive the message that it cannot be validated?

  • Drag & Drop Text File To Form

    I have my form properties set to AllowDrop = True and I have coding set as below, but anytime I try to drag a .txt file onto it I have a circle with a line through it and nothing happens when I release the file on the form? private void Form11_Load()