Traveling down AD OUs, with xMII LDAP Query

Hi,
Now I can get into AD when I run the user list test query:
select sAMAccountName name from cn=Users where objectCategory=user
I get into the basic top level users OU.
I need to get into the OU ProdUsers, as that is where our users are.
OU=ProdUsers,OU=Monterrey,OU=Food,OU=AM,OU=PKG,OU=PROD,DC=Company,DC=biz.
I modified the query tol look like this:
select sAMAccountName name from cn=users, ou=ProdUsers, ou=monterrey, ou=food, ou=am, ou=pkg, ou=Prod where objectCategory=user.
But I am not getting a list of users,
Query test returned the following number of records: 0
and the error is:
javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=ProdUsers,OU=Monterrey,OU=Food,OU=AM,OU=PKG,OU=PROD,DC=Company,DC=biz' ]; remaining name 'cn=users, ou=ProdUsers, ou=monterrey, ou=food, ou=am, ou=pkg, ou=Prod,DC=Company,DC=biz'
From what I found out that this is a groups settings error.
Any idea what that groups setting should look like?
Thanks

Hi, Disregard that post found the problem.
Query does not need a cn=, so it looks like this now and it works
select sAMAccountName name from ou=ProdUsers, ou=monterrey, ou=food, ou=am, ou=pkg, ou=Prod where objectCategory=user
Thanks for looking.

Similar Messages

  • Is it possible to retrieve data from an Oracle db with an LDAP query?

    Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?

    if you have Oracle Internet Directory, you will retrieve with ldapsearch data, which are physically stored in the database. But to select * from emp where ename='SCOTT', it is probably not possible.
    At least I have never heard of such a product which translate ldap query in sql query. But feel free to write your own one in perl :-)

  • Rerouting bounce messages via ldap query inpossible?

    Hi,
    using C650 with 6.4.0-273
    I have defined a private listener. For internal domains I have domains assigned routing with a ldap query. It resolves to mailLocalAddress.
    ok
    If I get a non delivery notification (hard bounce) so this messages is routed via a SMTP route, no ldap query is done.
    We have used SMTP routes before changing now to ldap based routing on private and public listeners. All E-Mails are routed successfully except non delivery notifications.
    If I delete the SMTP route (for my internal mail domain) NDN is deliverd via public listener (MX lookup, not necessary at the same IronPort in case of multiple MX records).
    Any way to have the same (ldap based routing) for both normal messages and non delivery messages?
    Burckhard

    As a workaround, you may route all NDN's to another IronPort Private listener (using smtp route) so that they are again pass thru ldap.routing

  • ES2 LDAP Query, LDAPService, Foundation.

    I have a problem with the LDAP Query activity in LiveCycle ES2. I have written a process in LiveCycle ES2 SP1 workbench which runs as expected but when I export it in an LCA to my clients LiveCycle server it behaves differently. The process appears to run the same but the LDAP queries do not return any data. When I run this process there are no errors in the server log or in the process recording just a failure to return any data.
    I have triple checked the LDAP configuration in the Adminui, Workbench LDAP component and LDAP query activity and found all to be configured correctly. The strange thing is I can fix it by dragging on a new activity and setting and it to an LDAP Query. I then configure it exactly the same as the original component and then it functions as expected, successfully returning data.
    Has anyone else seen this problem before and can anyone suggest a solution? I have a much larger application with many processes containing many LDAP Query components so replacing each of them after each import of the LCA is not possible. I have tried creating different LCA’s and importing them onto different LiveCycle servers but always with the same result.

    Is the problem seen only with this group or other groups also do not show group members

  • Buyer Account, Welcome mail with password & LDAP related query

    Hi All
    We are facing an issue with the LDAP configuration while creating Buy  side users, please see below
    If anyone of you could help, please provide your contact details or a solution to overcome this
    Background
    We have installed SAP E-Sourcing 5.1 On-premise.
    We are currently doing the post installation configuration
    -          Imported the Out of the Box enterprise Deployment Workbook (We have not modified the contents of the workbook)
    -          We have configured an SMTP mail host to send and receive all mails from the application
    Query
    Based on the enterprise Deployment Workbook, the system has created the following Directory configuration settings pointing to different LDAP system
    DISPLAY_NAME   EXTERNAL_ID
    QA SunOne 5.2 u2013 Buyside  dir.qa.sun.bs
    QA SunOne 5.2 u2013 Sellside  dir.qa.sun.ss
    QA ActiveDirectory 2003 - Buyside dir.qa.ms.bs
    QA ActiveDirectory 2003 u2013 Sellside  dir.qa.ms.ss
    QA Oracle 9.0.2 u2013 Buyside  dir.qa.ora.bs
    QA Oracle 9.0.2 u2013 Sellside  dir.qa.ora.ss
    When we are creating the Buyside users (If we use the Check Box u2013 Create Directory account), we are getting a communication error
    If we uncheck it, it creates the account but the system does not generate the welcome mail. We understand that the welcome mail has the system generated password to log-onto the application as the Buyer.
    We are also not able to create the local users, as the password.properties template isnu2019t available in the downloaded software, we donu2019t know the format thatu2019s expected by the system.
    Please let us know, if there is an alternate way to get the password even without using LDAP or Local directories.
    Incase LDAP or creation of local directory is the key, then please let us know whatu2019s happening incorrectly in our case.
    This has become a show stopper for us going any forward.
    Request your help ASAP
    Regards
    Tridip

    Hi All
    I had the same problem when I tried doing the email Set-up
    I finally realised that you need to do the configuration steps for SMTP using the enterprise user and the system user. If you have done this setting as only the system user the mails will be in Awaiting retry.
    Do this and the mails will start flowing, incase your SMTP mail server is working fine
    Please do the following settings logged in as System User and Enterprise User
    System Properties->searrch for messaging
    Set           -                Property                       -               Value                -                   Context
    messaging messaging.smtp.mailhost                replace the default with your value  System Context
    messaging messaging.smtp.port                       25                                               System Context
    Also please let me know what is the status of the messages in your Queued Messages
    This should work
    Do let me know, if it does
    Regards
    Tridip
    Edited by: Tridip Chakraborthy on May 27, 2009 11:57 AM
    Edited by: Tridip Chakraborthy on May 27, 2009 12:02 PM
    Edited by: Tridip Chakraborthy on May 27, 2009 12:02 PM

  • LDAP Query´s Slow on Virtual DC with W2K12 over Hyper-V W2K12 R2

    Hello,
    We have 2 Virtual Machine DC´s. After upgrade HOSTs from Hyper-V 2012 to Hyper-V 2012 R2, LDAP Query´s are very slow on the 2 Virtual DC´s.
    Has anyone ever went through the same problem?
    Thanks,
    Alexandre Smialoski

    No. But what LDAP query are you running?  
    Do you have any network/connectivity issues?
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • Need Help With ACS LDAP setup to Query AD

    I have 2 Win 2003 ADs, one of them is configured and working under Windows Database (using remote agent) configuration. I am trying to setup the second AD with Generic LDAP setup. I want to know what exactly I should use in the fields UserObjectType and Class, and GroupObjectType and Class for Windows 2003 AD. All Cisco documents give example of Netscape LDAP syntax. I was told by our server admin. what to put under Admin DN, CN=myid,OU=mygroup,OU=myorg,DC=mydomain,DC=com
    I have both user & group directory subtree fields filled with DC=mydomain,DC=com.
    I am using the ip address for Primary LDAP server, and port is 389, LDAP version 3 is checked.
    Is any of these DC, OU, etc. case sensitive?
    With all entries that I have tried, when I go to map a group, I am getting error "LDAP server NOT reachable. Please check the configuration". My ACS can ping the domain controller's IP address fine.
    Please help. Thank you in advance,
    Murali

    Murali,
    These references may help...
    http://download.microsoft.com/download/3/d/3/3d32b0cd-581c-4574-8a27-67e89c206a54/uldap.doc
    http://www.microsoft.com/technet/archive/winntas/plan/dda/ddach02.mspx?mfr=true
    http://technet.microsoft.com/en-us/library/aa996205.aspx
    Regards,
    Richard

  • MMP using wrong search base when doing LDAP query.

    Hi all,
    I installed a new MMP (sun java communication suite v5 on Redhat linux x86).
    When an imap user connects to MMP, the MMP does an ldap query for attributes "MailHostAttrs mailHost".
    This query fails because the search base is
    SRCH base="dc=my,dc=domain,dc=com,o=my.domain.com"
    instead of simply "o=my.domain.com"
    When I ran 'configure' I specified the Organization DN to be o=my.domain.com
    And I've specified the following in the ImapProxyAService.cfg file:
    LdapUrl "ldap://ldap1.my.domain.com:389/o=my.domain.com"
    UserGroupDN "o=my.domain.com"
    DefaultDomain my.domain.com
    So why does it use "dc=my,dc=domain,dc=com,o=my.domain.com"?
    I must be missing something but I can't find it.

    Hi,
    kevin_sysadmin wrote:
    So why does it use "dc=my,dc=domain,dc=com,o=my.domain.com"?
    I must be missing something but I can't find it.The first step the MMP will do to resolve the base DN for a hosted domain is a directory search along the lines of (this is for schema 2 which is the default for a new install):
    [26/Oct/2007:16:46:23 +1000] conn=3152 op=1 msgId=2 - SRCH base="dc=aus,dc=sun,dc=com" scope=2 filter="(&(objectClass=sunManagedOrganization)(|(associatedDomain=aus.sun.com)(sunPreferredDomain=aus.sun.com)))" attrs=ALL
    So in my case I have default:LdapUrl "ldap://server.aus.sun.com/dc=aus,dc=sun,dc=com" and default:DefaultDomain aus.sun.com
    So you will probably find that you have a hosted domain configured under "dc=my,dc=domain,dc=com,o=my.domain.com" which got created during installation but not propagated with users.
    Regards,
    Shane.

  • OnChanger="get_ajax_select_xml(this);" with  select list (query named LOV)

    Hello,
    i used Vikas'example Re: cascading lov for tabular form
    i have a problem with Select list (query based LOV)
    when run tabular form i have the following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the number of rows of the Lov are 900
    the display variable is 70 char
    is there any limit?
    Thank in advance
    Costanti

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • Using LDAP Query in Active Directory to see what users are still logged ?

    any suggestions for a LDAP query that I can use in AD to see who is still logged into the network?
    It would be great to distinguish who's logged in with a screen lock which means they aren't really at their PC vs what users are actually using their PCs.
    Thanks in advance!

    I recently posted a framework for checking all machines to see who is logged into them. You can take that and adjust it as you need.
    https://social.technet.microsoft.com/Forums/en-US/fb2ef90a-ba15-41bf-8e6c-95d32256225b/how-do-i-run-this-query-from-a-text-file-list?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Getting group members using ldap query

    I need help writing an LDAP query for iPlanet to retrieve all the members of a group. I can do it on Active Directory using the following :
    (memberof=CN=SundanceGroup,CN=Users,DC=Test,DC=com)
    But I am not able to do it with iPlanet. Please let me know how to do it.
    Thanks,
    Binu

    "memberof" attribute is not supported by iPlanet. try using "uniquemember" attribute instead. Also the users in iPlanet are generally created under "ou=people" and not "cn=users". try changing ur filter as(uniquemember=CN=SundanceGroup,ou=people,DC=Test,DC=com).
    BTW
    does anyone know how to query different servers with a common filter to get the groups of a user.

  • Connecting XML files with xMII

    Hi,
      i want to connect xml file (say one.xml having table name and price) with xMII. how can i do it? by using TAG query? what is the simulatorTag.xml?
    - senthil

    Senthil,
    Save your .xml file in your local system
    Open Business Logic Editor and under WEB you can find xmlLoader.
    Right Click and configure the path of the xml file in source URL.
    This will load your xml file and all the rowsets will be available for further manipulation...
    Tag Query is normally used to query a Tag type database like simulator..
    Hope this helps,
    Ajitha

  • Integrating Minitab with xMII

    Hi ,
        I like to integrate Minitab with xMII 11.5 (earlier version ) ,i know in SR2 and later we have minitab integrated by default. But my query is whether we able to integrate minitab in xMII 11.5(earlier version). If yes,how can be done?
    Thanks,
    Bala

    To convert a minitab file into xml you should be able to use a text loader to obtain the file and the a FlatFileParser in conjunction with a StringListToXML.  The StringListToXml_0.Delimiter needs to be set to tab.
    To convert xml to minitab format you a repeater on the datasource with a write file in the repeater.  You'll also need to use the tab and crlf functions to build it correctly.
    But the real solution should be to upgrading to SR3.
    Regards,
    Jamie

  • Create Materialized View based on Results from LDAP Query

    Hi -- I'm trying to create a materialized view based on results from an LDAP query. Unfortunately, it looks like a materialized view can't be created based on a stored procedure, which is where the LDAP results are obtained (using nested loops).
    Does anyone have any idea how to do this without first kicking off a stored procedure that populates a temp table which would be used to create the materialized view? I'm trying to minimize the steps that the DBA's will need to go through when refreshing this new view.
    Thanks,
    ~Christine

    Can you give us more details about the stored procedure you're calling. It will help to know what parameters are involved and what data types they are.
    Off the top of my head though it looks like, at the very least, you would need a stored function that calls the stored procedure. I don't think there is any way to call stored procedures from CREATE ... commands. If you're going to create a stored function anyway ... well, you might as well just create a procedure that inserts values into a regular table instead of fussing with functions and materialized views. You'll probably want to schedule your new procedure to run periodically since it sounds like you'll need the values refreshed from time to time.

  • WebElements with SAP BW Query

    Hi,
    I am trying to use WebElements with SAP BW Query. I need to pass few variables including date. The date variable on SAP side is a standard SAP object that starts with 0. Seems like WebElements is not recognising it, if I use SAP customer defined variable starts with Z then it works fine with Webelements.
    Is there is a way to use SAP standards objects in Webelements?
    Thanks,
    Sajjad Qureshi

    hello,
    you could be experiencing an issue with opendocument and the sap integration kit.
    let us know what happens when you do this:
    A
    1) change the numeric webuilder parameter to 3 (where 3 gives you an alert box showing the opendocument url that is being created)
    2) write down the url
    3) paste the url into a new browser window...
    do you still get the same error / issue?
    B
    1) on your report right click on any object and go to Format > Hyperlink and then use the enterprise hyperlink wizard to create a hyperlink to the same target report
    2) ensure that in the hyperlink wizard that you include a default value to all of the parameter values in the target report
    3) save the report in your enterprise environment and try the hyperlink out
    do you still get the same error / issue?
    jamie

Maybe you are looking for

  • How can i add graphics to email signature

    When I copy an HTML email signature into my ipad signature bar in settings. I pasted and shook and undid. I can see it fine. It was even visible when i sent my self a test to my Windows laptop. But it works intermittently. When I went to reply to an

  • Can't Open ANY files to edit in Photoshop Elements 10

    I have used Photoshop Elements 10 for about two years and had no problems. Suddenly today it won't open ANY files. Not from the desktop, and not even a blank file to start with. It acts like it is going to, I can choose the sizing for a blank file, b

  • Where do I change for thicker paper on my imac to print?

    I'm trying to print on thick paper..where do I change density to print?

  • Wire Payment Format Problem when payed through invoice screen

    Hi, I created a new payment format for wires and when I use this payment format throgh payment batches screen and select invoices and do formatting it works fine. But, If I create a invoice and select Actions -> Pay in full then give this bank accoun

  • Editing iphoto Album using Pages 08

    I had the issue of Mac Life that ran an editorial on how to incorporate pages with iphoto album. I THREW it out doing spring cleaning. Yes im an idiot. So... are there any links on the web or here that can help assist me in learning how to combine th