Multiple search using ldapsearch

Hi
Does anyone know how to do multiple searches using ldapsearch? There is an option of -f with ldapsearch but its not working. Can anybody give some examples of this option ?
Thanks
Rajeev

You can use colon in any database item on runtime in entery query mode and it will prompt you to enter values/conditions on execute query where you can check any database item value. It will add the conditions in the where clause of the block. May be it will help in what you are looking for.

Similar Messages

  • Multiple search using a single box...

    in a form i have got aroun 10 rows and 10 columns.....is it possible to search the forms for the required information(i.e 10 different columns) using a single search box

    You can use colon in any database item on runtime in entery query mode and it will prompt you to enter values/conditions on execute query where you can check any database item value. It will add the conditions in the where clause of the block. May be it will help in what you are looking for.

  • Is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    We're using SharePoint 2013 and I'm trying to modify the search results page for one site collection. By default, it uses the search results page from the parent site which is the search center being used by default for the web application. I need to make
    sure that the site collection will only retrieve search results within the site collection (search everything has to be disabled). I found a way but I had to create another search center site to accomplish this, otherwise, it will affect the search center
    site of all other site collections on the web app.
    Now is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    According to your description, you want to retrieve the search results within the site collection.
    As a workaround, you can create a custom result source for the site collection and you will retrieve the search result within the site collection.
    More information about how to create result source in SharePoint 2013, please refer to :
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    Best regards

  • LDAP External Authentication Multiple Search Base DNs question

    hi,
    im trying two add two LDAP search DNs to a portal 6.2 organisation.
    with one search base dn it works fine.
    when i add another, all ldap auth for that org stops working.
    the docs confusingly state that if you have multiple search dns (not talking about multiple ldap servers here - just the search base dns) that you should prefix each entry with the local server name. the docs however provide no examples of the syntax.
    can anyone provide an example for multiple search dns? e.g. is it <server:port>:o=<etc> (doesn't seem to work).
    thanks

    hi,
    yes i have.. but when you enter more than one it stop working... with only one entry in the gui it will work for that entry but when you add another it stops working...
    i had to use a manual workaround like this to get the second going... :(
    External ldap authentication
    register the LDAP authentication service in the gui and setup the first DN as normal.
    create the first set of entries for the ldap host and the base dn in the gui as normal etc.
    the gui in the admin console is not working (depending on your point of view), so you need to add the second ldap config manually -
    All commands are run from the /apps/jes/SUNWam/bin directory
    1. Get an encrypted value for the bind dns (cn=Directory Manager) password you want to bind to the ldap directory as by using the ampassword utility shipped with Identity Server.
    ./ampassword -e directory_manager password
    More information on this utility can be found in the Sun ONE Identity Server Administration Guide.
    2. Copy the encrypted password as the value for the iplanet-am-auth-ldap-bind-passwd in the XML file (serviceAddMultipleLDAPConfigurationRequests.xml) created in Step 1. The XML file contains a template for creating the second LDAP DN.
    3. Modify the data XML file accordingly so that the relevant details are provided for the 2nd ldap server (bind dn search base etc) and load this into the portal directory using the amadmin command line tool as follows from the /opt/SUNWam/bin directory
    ./amadmin -u amadmin -w administrator_password -v -t serviceAddMultipleLDAPConfigurationRequests.xml
    If the imported xml values are incorrect delete and reload the imported xml data using amadmin command tool. Alternatively you can modify the ldap data directly on the primary identity server (ldap server) using a client browser though this method is not supported .
    You should be able to see new imported values for the second ldap server at dn:ou=subconfig1,ou=default,ou=OrganizationConfig,ou=1.0,ou=iPlanetAMAuthLDAP
    Service,ou=services,ou=ORG,o=lgaq.qld.gov.au on the primary ldap server (where ORG is the organisation you wanted to add the second DN).

  • Enabling Multiple Search in Advanced search

    Hi All,
    I am trying to enable Multiple search on a particular field in the advanced search for that PCUI application. E.g Search for Opportunities with Partner P1 and P2.
    When i perform the search the results show me all opportunities with partner P1 OR Partner P2. So i get all opportunities which belong to partner either  P1 or P2 or both
    I want to view all opportunities with partner P1 AND P2 i.e i want to search only for those opportunities that have both P1 and P2 in it
    Is there anyway we can achieve this
    Thanks and Regards,
    Varun

    Hello,
    The MAC for the the advanced search in opportunities (application CRMD_BUS2000111) is CL_CRM_BSP_AM_HEADME_1O.
    Create a Z MAC inheriting from this MAC and redefine the method IF_CRM_BSP_MODEL_ACCESS_IL~QUERY.
    In you redefined method, you can for example first call the ‘super’ query method and do your own additional selections after.
    The FM used for the standard query is CRM_BSP_OIC_1O_SEARCH_FROM_RF.
    You can maybe also check how this FM is called and make you own call of this FM.
    Regards,
    Frederic

  • Enabling Spotlight Web Search - Multiple Search Terms and Boolean Searches

    Hello there,
    I'm trying to incorporate a spotlight web search into my website as per these articles:
    http://docs.info.apple.com/article.html?path=ServerAdmin/10.5/en/c3ws21.html
    http://support.apple.com/kb/TA23537?viewlocale=en_US
    What I'm finding is that the search page provided by using template.spotlight file does not give search results when more that one search term is entered. Additionally, boolean terms (AND, OR, NOT) do not appear to work.
    I've tried to edit the template.spotlight file but I'm not sure what to add in order to provide this functionality which is otherwise present in spotlight searches within Mac OS. Has anyone else used the spotlight web search feature for their websites and had success with multiple search terms / boolean searches? Could someone please advise on how to edit template.spotlight to provide these search features?
    Thanks in advance,
    Leon G

    (bump)

  • Multiple searching options

    hi experts,
    i need to create one searching iview but has multiple search options. The purpose is to let the user search for documents using one iView only (we have many types of documents with different metadata). We try to separate the options by tab. Is it possible? We are using SAPNetweaver portal 7.0.
    Thanks,
    Rgds,
    Nanie Arianie

    Hi Shah,
    You can achive the above said by creating separate indexes for the folders containing the documents.
    Follow the following steps,
    1.Create separate indexes for the KM folders under the following path in Portal,
    System Administration > System Configuration > Knowledge Management > Index Management
    If you want to group the indexes , you have to specify the group name during creation of the index.
    Add the folder as a Data Source to the respective indexes.
    2.Create Search Options Set under the following path and mention the indexes or search index group in it.
    System Administration > System Configuration > Knowledge Management > Content Management > User Interface >
    (Change the mode to advanced) select Search >Search Option Set ,
    Select the standard UI Search Option set and click on duplicate button , give a name to the new search option set.
    Add the indexes created to index option in Option set.
    3.Create Search Component Set under the following path and this can be used in iview properties,
    System Administration > System Configuration > Knowledge Management > Content Management > User Interface >
    (Change the mode to advanced) select Search > Search Component Set,
    Select the standard UISearchComponents and create a duplicate copy of the same and give a custom name to the same.
    4.Create iview from application or copy search iview from the standard content.After creating the iview update the properties with the above created option set and component set.
    Option set will establish a connectivity between the iview and the created indexes..
    Advanced Search UI and results can be customized by customizing the Search component set and Layout sets.
    Hope this will help you.
    Regards,
    RD,
    Rudradev Devulapelli.

  • FullText Searching using a search term from a field

    Say I want to compare two tables using FullText searching, one table has the content to be searched, and the other table has a list of search terms (to be evaluated separately). I have not found a way other than using cursors to cycle through the search
    terms to capture the results. The FullText search term appears to only allow 'text strings' or @variables, but not [Field]'s. Is there a better way to approach this for batch processing?
    Another usage that I see merit for FullText searching is duplicates detection within existing data sets. Is there a way to perform INNER table joins using FullText - or do we have to fall back on CURSOR iterative methods again?
    Thanks,
    Jay :)
    If you shake a kettle, does it boil faster?

    Hi M.
    Apologies for the delay in responding...
    The links provided are for searching in multiple columns at once (a single search) or return ranked results (again single search). Is there a way to perform multiple searches at once, i.e. batch processing?
    Thanks,
    Jay
    If you shake a kettle, does it boil faster?

  • UME user search with multiple search fields (AND / OR search)

    Hi,
    I'm struggling with a UME user search problem. I have multiple search fields: lastname, firstname, department
    Searching in this fields is working with the default IPrincipalSearchFilter.SEARCHMETHOD_AND (default)
    <a href="http://help.sap.com/javadocs/NW04/current/um/com/sap/security/api/IPrincipalSearchFilter.html#setSearchMethod(int)">JavaDocs SearchMethod_AND</a>
    Now I would like to add an additional search field for searching in telephone, cellphone as well. BUT searching for a phone number with searching for one of the other fields should not be a AND search. Is this possible?
    Here is the actual non-working code:
         Vector retVector = new Vector();
         //get Userdata with IUserFactory
         IResourceFactory resourceFactory = ResourceFactory.getInstance();
         IURLGeneratorService urlGen = (IURLGeneratorService)resourceFactory.getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
         IUserFactory userFac = UMFactory.getUserFactory();                    
         IUserSearchFilter srcFilter = null;          
         try
              srcFilter = userFac.getUserSearchFilter();
         } catch (UMException e)
              // TODO Auto-generated catch block
              e.printStackTrace();
         if(lastName.length() > 0)
              srcFilter.setLastName(lastName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(firstName.length() > 0)
              srcFilter.setFirstName(firstName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(department.length() > 0)
              srcFilter.setDepartment(department + "*", ISearchAttribute.LIKE_OPERATOR, false);
    //Here I need help!!!!!!! Please advice!!!
         if(telephone.length() > 0)
              srcFilter.setTelephone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
              srcFilter.setCellPhone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
         //if(mobil.length() > 0)
         //     srcFilter.setCellPhone("*" + mobil, ISearchAttribute.LIKE_OPERATOR, false);
         //Set maxium value for Result and thus limit the static variable SIZE_LIMIT_EXCEEDED
         //This method can only be used, if only one search attribute is specified -> thanks SAP
         if(srcFilter.getElementSize() <= 1)
              srcFilter.setMaxSearchResultSize(300);
         ISearchResult srcResult = null;
         try
              srcResult = userFac.searchUsers(srcFilter);
         } catch (UMException e1)
              // TODO Auto-generated catch block
              e1.printStackTrace();
    Thanks for any help...
    Stefan

    Hello,
    I could still need some help. Is there no one who could give me a tip? Could I explain my problem clearly enough or do you need some more information about my problem?
    Or is the search topic with searchFilter not a very common used thing?
    Is there a possibility to do a search in the received search result? Can anyone explain how this would work?
    Any ideas are welcome.
    Regards,
    Stefan

  • Multiple Search Suffixes

    Our internal network is comprised of multiple companies purchased over the past couple of years.  Unfortunately we still have a lot of legacy DNS going on and like 6 different domains on the inside.  Is there a good way to push all 6 dns search suffixes out to the AnyConnect VPN Client?  I tried the split DNS method I found online but when I did it broke DNS completely.  The client was using the local hosts preconfigured DNS servers and not getting the internal network ones.
    Thanks
    Michael

    Hi Terence,
    Thanks for the tip. It's a nice way to do it, I didn't know it was possible and this could save me some time.
    Still, I don't think that creating a smart mailbox is an ideal way to do a search but this could do the trick for now. I hope that multiple search will be integrated in next Mail.
    Laurent

  • Multiple Search in next version of Mail ?

    I often need the use of a "multiple search" option in Mail. I have found a program that does that : http://www.mailsteward.com, but it's not integrated in Mail, and the search results are not very Mac-friendly.
    Is "multiple search" going to be implemented in Mail for Leopard ?
    Thanks,
    Laurent

    Hi Terence,
    Thanks for the tip. It's a nice way to do it, I didn't know it was possible and this could save me some time.
    Still, I don't think that creating a smart mailbox is an ideal way to do a search but this could do the trick for now. I hope that multiple search will be integrated in next Mail.
    Laurent

  • Registry LDAP - Multiple search bases x single search base

    Hi all,
    I have a doubt, in my scenario I have two LDAP domains and isn't clear to me if I need to use the Oracle Registry configured to multiple search or single search. In the documentation the explanation is: To use single configuration when you have one single search base and to use multiple configuration when you hava multiple search bases, besides that, the Registry documentation says multiple search bases scenario it will looking for a user in all domains, in case a domain isn't specified by the user. The questions are what the diference between single and multiple configuration and what is a search base?
    Any idea,
    Afonso

    Hi BBCR,
    I'm not sure if the use of groups provides a solution to this requirement. One way to do it would be to define attribute access controls using a filter with substitution syntax. For example, you could have a filter for Modify access on a user's attributes defined like:
    (&(o=$o$)(admin=true))
    which means that anyone who has a value of the "o" attribute the same as the target user AND has a value of "true" for the admin attribute can write to those attributes. You can also add Self as a role so that users can view/modify their own attributes.
    The above filter means that instead of defining group membership and group admin membership, you manipulate attribute values in users profiles to say whether or not a user is an admin, and which users they administer (all users which share the same value of the "o" attribute, in the above case).
    Would something like this be an option?
    Regards,
    Colin

  • Has search using google been replaced by search using websearch?

    When i highlight some text and right click, the option to search using google has been replaced by a option to search using "WebSearch". Is this a recent firefox change?

    You can check the home page setting.
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    Firefox supports multiple home pages separated by '|' symbols.
    *Tools > Options > General > Startup: Home page
    Try to use the SearchReset extension to reset some preferences to the default values.
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Sending email to multiple address using Utl_Smtp

    Hi,
    I want to send email to multiple address using the Utl_Smtp feature.
    When I am sending email to one email address in the To:Field it works fine.However, when I send
    to multiple address I am getting the below error.I am using a table(Email_test) to store all email id.
    Error report:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at line 48
    29279. 00000 - "SMTP permanent error: %s"
    *Cause:    A SMTP permanent error occurred.
    *Action:   Correct the error and retry the SMTP operation.
    I am trying two options both ways I am getting error
    Option 1:
    Selecting two email id indivually in the select query as below
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    Option 2:
    Is there a way to use option
    select email into v_Recipient1 from Email_test where Key_name='U4';
    ===========================================================
    Create table Script
    ===========================================================
    create table Email_test (Email varchar2(100),Key_name varchar2(10));
    insert into Email_test values ('[email protected]','U1');
    insert into Email_test values ('[email protected]','U2');
    insert into Email_test values ('[email protected]','U3')
    insert into Email_test values ('[email protected];[email protected];[email protected]','U4');
    select * from Email_test
    [email protected]                         U1
    [email protected]                         U2
    [email protected]                         U3
    [email protected];[email protected];[email protected]     U4
    select * from Email_test where Key_name in ('U1','U2','U3')
    [email protected]     U1
    [email protected]     U2
    [email protected]     U3
    select * from Email_test where Key_name='U4'
    [email protected];[email protected];[email protected]
    =======================================================
    PL/SQL Block
    ===========================================================
    declare
    v_From VARCHAR2(80) := '[email protected]';
    v_cc VARCHAR2(80);
    v_Recipient VARCHAR2(80) ;
    v_Recipient1 VARCHAR2(80) ;
    v_Recipient2 VARCHAR2(80) ;
    v_Subject VARCHAR2(80);
    v_Mail_Host VARCHAR2(50);
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    begin
    --Mail Host name
    select VALUE into v_Mail_Host from Server_info where server_name = 'SMTPServer';
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    --for CC
    select email into v_cc from Email_test where Key_name='U3';
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Rcpt(v_Mail_Conn, v_cc); -- To CC recepient
    utl_smtp.Rcpt(v_Mail_Conn, v_BCC); To BCC recepient
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'Cc: ' || v_cc || crlf ||
    'Content-Type: text/html;' ||crlf ||
    --'Hello this is a test email');
    crlf || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf );
    utl_smtp.Quit(v_mail_conn);
    end;
    Any suggestion how to approach this issue.
    Thank you

    Simple Mail Transfer Protocol RFC 5321 specifications.
          RCPT TO:<forward-path> [ SP <rcpt-parameters> ] <CRLF>
       The first or only argument to this command includes a forward-path
       (normally a mailbox and domain, always surrounded by "&gt;" and "&lt;"
       brackets) identifying one recipient.In other words, you can only define a SINGLE mailbox address at a time. Multiple addresses requires multiple repeats of this command verb, once per maibox.
    Do not confuse this and the To: tag line in the Mime header that contains a comma delimited list of recipients. That tag line can contain anything - it is not parsed, not checked, and not verified as matching the actual recipient mailboxes as specified via the RCPT TO verb.

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

Maybe you are looking for

  • Can't load OS X on new hard drive

    Hi, sorry I am new to Mac and to be honest have no real intention of staying with Mac. I am simply trying to help my friend's mom with her problem. Here's my scenario. I have a MacBook 2007 model.  Her hard drive crashed. I recommended getting a new

  • Can I spedify the SMTP to use for Password Reset Service?

    I'd like to be able to specify what mail server to use when access manager is sending out mail. The password reset service is currently looking to localhost, port 25 for the mail server when trying to send out mail. Is it possible to change this? Tha

  • GL cost allocation batches transaction level information

    Hi In Gl_LINES_ALL, all reference columns information is NULL. After posting the cost batches into GL, what is procedure to find transaction level information for these cost batches. Eg: For Inventory and receivables batches transaction information s

  • Output determination for Sub-Shipment

    Hello All, I have a unique situation and need your inputs to identify possibilities in resolving it. Here is the situation: The transportation planning (TPE system) at our client is done by a 3rd party software. Now, we receive a Sales Order from a c

  • Why is IllegalStateException thrown in this Java Code Snippet ?

    This is one of the questions in a mock test. void waitForSignal()     Object obj=new Object();     synchronized(Thread.currentThread())            obj.wait();            obj.notify(); Which statement is true ? A. This code may throw and InterruptedEx