Alternate Search dn

I want to set Search base from ou=account container for solaris 8 profile , I key in as following command and reboot client machine , but Solaris 8 client can't get user account from ou=account,dc=test,dc=com,dc=tw.
ldap_gen_profile -h 172.20.100.103 -P sun8s -a simple -b "dc=test,dc=com,dc=tw" -d test.com.tw -D "cn=proxyagent,ou=profile,dc=test,dc=com,dc=tw" -B "passwd: ou=account,dc=test,dc=com,dc=tw" 172.20.100.103 > sun8s.ldif
ldapadd -h 172.20.100.103 -D "cn=Directory manager" -f sun8s.ldif
logs:
I [30/Aug/2002:13:11:51 +0800] conn=1723 op=2 SRCH base="passwd:ou=account,d
c=test,dc=com,dc=tw" scope=1 filter="(&(objectclass=posixAccount)(uid=a1))"

I want to set Search base from ou=account container for solaris 8 profile , I key in as following command and reboot client machine , but Solaris 8 client can't get user account from ou=account,dc=test,dc=com,dc=tw.
ldap_gen_profile -h 172.20.100.103 -P sun8s -a simple -b "dc=test,dc=com,dc=tw" -d test.com.tw -D "cn=proxyagent,ou=profile,dc=test,dc=com,dc=tw" -B "passwd: ou=account,dc=test,dc=com,dc=tw" 172.20.100.103 > sun8s.ldif
ldapadd -h 172.20.100.103 -D "cn=Directory manager" -f sun8s.ldif
logs:
I [30/Aug/2002:13:11:51 +0800] conn=1723 op=2 SRCH base="passwd:ou=account,d
c=test,dc=com,dc=tw" scope=1 filter="(&(objectclass=posixAccount)(uid=a1))"

Similar Messages

  • Alternate Search and Replace Tool

    I need to automatically search a piece of HTML code in
    hundreds of help topics. Unfortunately, since RoboHelp's
    "Multi-File Find and Replace" tool doesn't accept carriage returns,
    it won't accept the three-line string of HTML I need to replace.
    Can anyone suggest a (hopefully free) third-party
    search-and-replace tool that won't break RoboHelp in some way? I'm
    a bit worried because I'll be pasting a ton of conditional text
    markers.

    Hi, Adam,
    Two find-and-replace tools that are often mentioned in these
    forums are FAR and BK ReplaceEM. FAR is shareware, but free to use
    for the first two months; BK ReplaceEM is freeware.
    http://www.helpware.net/FAR/index.html
    http://www.snapfiles.com/get/bkreplace.html
    Pete

  • Is there a way to keep the search bar from unfolding downward?

    I just updated to FF 34 and see that when I start to type something into the search bar it now unfolds downward, taking up about seven lines worth of space -- even though I have search suggestions disabled. The problem with this is that the unfolding covers up part of the urls, tab and top-of-webpage text that I sometimes reference (or even copy-n-paste) to guide my search-term selection. I usually use only my default search engine, so the disadvantages of this "obscuring" definitely outweigh any advantages from being able to more easily select an alternate search engine on-the-fly. In fact, one reason I used the search bar to begin with is to *avoid* the kind of unfolding behavior search engine pages often have. But it's actually more intrusive here, because it is covering up more pertinent text. Is there any way to keep this "unfolding" behavior from happening automatically when using the search bar in FF 34? Thanks

    You can revert to the older Search Bar scheme like this.
    Open up '''about:config''' ''(typed in the Location Bar)''
    Right-click and toggle this preference to '''''false'''''
    '''browser.search.showOneOffButtons'''
    Then restart Firefox.

  • What is the power of the Spotlight Search?

    In Settings I have everything selected for it to search but it cannot find text within apps. For instance I have Word and Excell and text files in Quickoffice but it cannot search any of those. Is there an alternate search engine app to download?
    Thank you for any insight!

    That is correct. The Spotlight search does not search within apps. It searches for:
    Spotlight searches the following:
    Contacts—All content
    Apps—Titles
    Music—Names of songs, artists, and albums, and the titles of podcasts and videos
    Podcasts—Titles
    Videos—Titles
    Audiobooks—Titles
    Notes—Text of notes
    Calendar (Events)—Event titles, invitees, locations, and notes
    Mail—To, From, and Subject fields of all accounts (the text of messages isn’t searched)
    Reminders—Titles
    Messages—Names and text of messages
    Search the web or Wikipedia from Spotlight: Scroll to the bottom of the search results, then tap Search Web or Search Wikipedia.
    Open an app from Search: Enter all or part of the app name, then tap the app.
    Choose which items are searched, and the order they’re searched: Go to Settings > General > Spotlight Search.

  • Base="" sub search in DSEE and OpenLdap & SLAPI_PLUGIN_PRE_SEARCH_FN troubl

    I'm trying to migrate some application from using OpenLdap as user information repositorium, to Sun Directory Server 6.2.
    The suffixes layout in OpenLdap looks like this:
    rootDSE
         |
         | - cn=app_configuration
         | - dc=com
         |          | - dc=somedomain
         |                           | - (some users accounts here)
         | - dc=net
         |           | - dc=someotherdomain
         |                                | - (some users accounts here)
            ......... (and so on)Problem - when user try to login in application, it's using ldap search like this "ldapsearch -b "" -s sub (uid=loginname)"
    Which is working perfeclty fine with openldap:
    [sady@sady-lin bin]$ ./ldapsearch -b '' -x -s sub '(objectclass=*)' dn
    # extended LDIF
    # LDAPv3
    # base <> with scope subtree
    # filter: (objectclass=*)
    # requesting: dn
    # ru
    dn: dc=ru
    # admin, people, sady-lin.energo.ru
    dn: uid=admin,ou=people,dc=sady-lin,dc=energo,dc=ru
    # com
    dn: dc=com
    # wiki, people, nwenergo.com
    dn: uid=wiki,ou=people,dc=nwenergo,dc=com
    # search result
    search: 2
    result: 0 Success
    # numResponses: 23
    # numEntries: 22As you can see, all uid entries in all domains are finded.
    But in DSEE rootDSE don't follow SUB search, and with base dn equal "" you can see only base dn itself:
    [root@ch0-bl1 ~]# ldapsearch -D 'cn=directory manager' -w 12345678 -b '' -s sub  '(objectclass=*)'
    ldap_search: No such object
    [root@ch0-bl1 ~]# ldapsearch -D 'cn=directory manager' -w 12345678 -b '' -s base  '(objectclass=*)'
    version: 1
    dn:
    objectClass: top
    namingContexts: dc=com
    namingContexts: dc=leivo,dc=r
    namingContexts: dc=ru
    namingContexts: o=comms-config
    namingContexts: o=pab
    namingContexts: o=PiServerDb
    .....I tryed to use Directory Proxy Server, to resolv this issue, but with no result.
    I created ldap-data-view with base-dn:"" and dn-mapping-source-base-dn:"dc=ru" (for example). but when i search throu Proxy, it isn't do the mapping:
    [16/May/2009:13:03:20 +0400] - OPERATION  - INFO  - conn=225 op=1 msgid=2 SEARCH base="" scope=2 filter="(objectclass=*)" attrs="*"
    [16/May/2009:13:03:20 +0400] - OPERATION  - INFO  - conn=225 op=1 SEARCH RESPONSE err=0 msg="" nentries=0 etime=0Here is my ldap-data-view props:
    [root@ch0-bl1 examples]# dpconf get-ldap-data-view-prop -p 1389 -w /tmp/pass myds2-view
    alternate-search-base-dn                    :  dc=com 
    alternate-search-base-dn                    :  dc=ru 
    attr-name-mappings                          :  none 
    base-dn                                     :  "" 
    contains-shared-entries                     :  false 
    custom-distribution-algorithm               :  none 
    description                                 :  - 
    distribution-algorithm                      :  none 
    dn-join-rule                                :  none 
    dn-mapping-attrs                            :  none 
    dn-mapping-source-base-dn                   :  dc=ru 
    excluded-subtrees                           :  dc=com 
    filter-join-rule                            :  none 
    is-enabled                                  :  true 
    is-read-only                                :  false 
    is-routable                                 :  true 
    ldap-data-source-pool                       :  myds1-pool 
    lexicographic-attrs                         :  all 
    lexicographic-lower-bound                   :  none 
    lexicographic-upper-bound                   :  none 
    non-viewable-attr                           :  none 
    non-writable-attr                           :  none 
    numeric-attrs                               :  all 
    numeric-default-data-view                   :  false 
    numeric-lower-bound                         :  none 
    numeric-upper-bound                         :  none 
    pattern-matching-base-object-search-filter  :  all 
    pattern-matching-dn-regular-expression      :  all 
    pattern-matching-one-level-search-filter    :  all 
    pattern-matching-subtree-search-filter      :  all 
    process-bind                                :  - 
    replication-role                            :  master 
    viewable-attr                               :  all except non-viewable-attr 
    writable-attr                               :  all except non-writable-attr  It do mapping perfectly fine, with dc=com, switched for dc=ru,
    with this ldap-view parameters:
    base-dn                                     :  dc=com 
    dn-mapping-source-base-dn                   :  dc=ru  Log will be:
    [16/May/2009:13:07:32 +0400] - OPERATION  - INFO  - conn=229 op=1 msgid=2 SEARCH base="dc=com" scope=2 filter="(objectclass=*)" attrs="*"
    [16/May/2009:13:07:32 +0400] - SERVER_OP  - INFO  - conn=229 op=1 SEARCH base="dc=ru" scope=2 filter="(objectclass=*)" attrs="*" s_msgid=5 s_conn=myds1:131and ldapsearch will return all entries in dc=ru domain.
    It's interesting, that when i'm search with base-dn="dc=ru", witch is only routed with Proxy trou my ldap-view with base-dn="", log output looks like this:
    [16/May/2009:13:07:27 +0400] - OPERATION  - INFO  - conn=228 op=1 msgid=2 SEARCH base="dc=ru" scope=2 filter="(objectclass=*)" attrs="*"
    [16/May/2009:13:07:27 +0400] - SERVER_OP  - INFO  - conn=228 op=1 SEARCH base=",dc=ru" scope=2 filter="(objectclass=*)" attrs="*" s_msgid=5 s_conn=myds1:132
    [16/May/2009:13:07:27 +0400] - SERVER_OP  - INFO  - conn=228 op=1 SEARCH RESPONSE err=34 msg="Invalid DN" nentries=0 s_conn=myds1:132
    [16/May/2009:13:07:27 +0400] - OPERATION  - INFO  - conn=228 op=1 SEARCH RESPONSE err=34 msg="Invalid DN" nentries=0 etime=0You can see that base="dc=ru" have been mapped to base=",dc=ru" (with , )

    /* Break down and log information about the search request.       */
    int
    rootdsesub(Slapi_PBlock * pb)
        char          *  base       = NULL;/* Base DN for search      */
        int              scope;            /* Base, 1 level, subtree  */
        int              connId, opId, rc = 0;
        long             msgId;
       // char        *  index      = "";
        char          *  indexes[]  = {"dc=ru","dc=com"};
        char          *  filter     = "";
        char          *  attrs[]    = {"",NULL};
        int              attrsonly  = 0;
        Slapi_PBlock  *  search_pb  = NULL;
        int              ind_cnt    = 2;
        int              i          = 0;
        rc |= slapi_pblock_get(pb, SLAPI_OPERATION_MSGID,  &msgId);
        rc |= slapi_pblock_get(pb, SLAPI_CONN_ID,          &connId);
        rc |= slapi_pblock_get(pb, SLAPI_OPERATION_ID,     &opId);
        if (rc == 0) {
            LOG1("*** PREOPERATION SEARCH PLUG-IN - START ***\n");
        } else {
            return (rc);
        /* Log base DN and scope for search. */
        rc |= slapi_pblock_get(pb, SLAPI_SEARCH_TARGET,    &base);
        rc |= slapi_pblock_get(pb, SLAPI_SEARCH_SCOPE,     &scope);
        if (rc == 0) {
            if (scope == LDAP_SCOPE_SUBTREE && strcmp( base, "" )==0 )
                            rc |= slapi_pblock_set(pb, SLAPI_SEARCH_TARGET, "dc=ru");
                            rc |= slapi_pblock_get(pb, SLAPI_SEARCH_STRFILTER,      &filter);
                            rc |= slapi_pblock_get(pb, SLAPI_SEARCH_ATTRS,          &attrs);
                            rc |= slapi_pblock_get(pb, SLAPI_SEARCH_ATTRSONLY,      &attrsonly);
                            LOG2("Target DN:%s\n", base);
                            LOG2("filter:%s\n", filter);
                            //filter = "uid=sady";
                            LOG2("filter:%s\n", filter);
                            LOG2("attrs[0]:%s\n", attrs[0]);
                    //      attrs[0]="uid";
                            LOG2("attrsonly:%d\n", attrsonly);
                            search_pb = slapi_pblock_new();
                            if (search_pb == NULL ) return 1;
            LOG1("new pb\n");
            for ( i=0; i<ind_cnt; i++)
            LOG3("indexes[%d]=%s\n",i,indexes);
    rc = slapi_search_internal_set_pb(
    search_pb,
    indexes[i], /* Base DN for search */
    LDAP_SCOPE_SUBTREE, /* Scope */
    filter, /* Filter */
    attrs, /* Set to get all user attrs. */
    attrsonly, /* Return attrs. and values */
    NULL, /* No controls */
    NULL, /* DN rather than unique ID */
    plugin_id,
    SLAPI_OP_FLAG_NEVER_CHAIN /* Never chain this operation. */
    LOG1("set pb\n");
    rc |= slapi_search_internal_callback_pb(search_pb, pb,NULL, rootdse_send,NULL);
    LOG1("search inter call pb\n");
    slapi_pblock_get(search_pb, SLAPI_PLUGIN_INTOP_RESULT, &rc);
    if (rc != LDAP_SUCCESS) { LOG1("NOT SUCCESS\n");slapi_pblock_destroy(search_pb);return -1;}
    LOG1("get pb result\n");
    slapi_free_search_results_internal(search_pb);
    LOG1("clean memory\n");
    slapi_pblock_destroy(search_pb);
    LOG1("clean memory\n");
    slapi_send_ldap_result(pb, 0, NULL, NULL, 1, NULL);
    LOG1("send ldap result \n");
    } else {
    return (rc);
    LOG1("*** PREOPERATION SEARCH PLUG-IN - END ***\n");
    return (rc);
    /* Register the plug-in with the server. */
    #ifdef _WIN32
    __declspec(dllexport)
    #endif
    int
    rootdse_sub_init(Slapi_PBlock * pb)
    int rc = 0; /* 0 means success */
    rc |= slapi_pblock_set( /* Plug-in API version */
    pb,
    SLAPI_PLUGIN_VERSION,
    SLAPI_PLUGIN_CURRENT_VERSION
    rc |= slapi_pblock_set( /* Plug-in description */
    pb,
    SLAPI_PLUGIN_DESCRIPTION,
    (void *) &preop_desc
    rc |= slapi_pblock_set( /* Startup function */
    pb,
    SLAPI_PLUGIN_PRE_RESULT_FN,
    //SLAPI_PLUGIN_POST_SEARCH_FN,
    (void *) rootdsesub
    rc |= slapi_pblock_get(pb, SLAPI_PLUGIN_IDENTITY, &plugin_id);
    return (rc);

  • When I try to switch search engines in version 14.0.1,, I remain locked into Yahoo, no matter which I chose

    When I try to switch search engines in version 14.0.1,, I remain locked into Yahoo, no matter which alternate search engine I attempt to change to

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *https://addons.mozilla.org/firefox/addon/searchreset/
    *http://kb.mozillazine.org/Unable_to_search_or_add_new_engines
    *https://support.mozilla.org/kb/remove-toolbar-has-taken-over-your-firefox-search-
    If this didn't help then try to delete the search.sqlite and search.json files in the Firefox Profile Folder.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • New Yahoo Search Changes

    I have always used Yahoo search; while Firefox had Google as the default, I would change it to Yahoo. I would sometimes try google but one of the things that annoyed me with Google was if you clicked on a link, that link would, by default, open on the same page forcing you to "go back" to see the list again. With Yahoo OTOH clicking on a link would always open in a new tab allowing me to more easily go back and forth between selected links.
    Yes I know I can right click and open in a new tab but is there any way to get the old default behavior back where a normal left click on the Yahoo search results open in a new tab ? I have a condition which affects my right hand and using the right click button can sometimes be gets cumbersome at times.

    It didn't work at first, but eventually got there.
    1. Your screenshot shows the method of selecting Yahoo as the default search provider. There is no option to "remove". I select Firefox Help and underneath uncheck Yahoo and all other providers and then set it as default.
    2. I then go to search.yahoo.com and try a search. It does work the way I wanted.... for whatever reason it wouldn't yesterday.
    3. I go to Go to http://mycroftproject.com/yahoo-search-plugins.html , scrolled down to 16. Major Engines , Yahoo! en-WW (search.yahoo.com) by Denny Kluge. This was what I had to do when Firefox 1st changed the default to Google.
    4. I added it and had two Yahoo's in the list, I checked the 2nd one. Add something in the search windows, hit the down arrow and elected Yahoo to search with. It didn't work, same behavior as before.
    5. I then changed to selecting Yahoo again as the default.
    6. Now here's the weird part .....
    a) With Yahoo selected as the default and letting it work as the default, it works as desired.
    b) With Yahoo selected as the default, but using the Yahoo selection as an option, it doesn't work.
    I have since unchecked the Yahoo box in the list of "alternate search engines to display " while leaving it selected as the default selection. It's worked 3 times so far; hopefully it survives a close and reopen :)
    Muchos Grassyass. I dreaded trying to find the mycroft site again as it took me quite a while the last time.

  • Query on Search Engines

    Dear All
    Are SAP applications like E Rec and LSO compatible with search engines other than TREX, like for example IDOL. If yes, what are the pros and cons of not using TREX and using an alternate search engine (both from implementation and maintenance perspective). Your input will be greatly appreciated. Thank you in advance
    Kind Regards, Moulee

    Thanks Vij,
    Results are now sorted by relavence, a thing of beauty indeed.
    Can anyone point me in the direction on some doco about this method? I would like to know a bit more about how the numbers are generated and what they mean (Is 100 the highest score?)
    ta

  • NOT terms for search query?

    Hello, I am using JavaHelp's search classes to create a search feature that is implemented differently than JavaHelp's GUI, by writing a modified version of the QueryEngine and Query classes, passing args into QueryEngine's main method, and writing the results to a file. It is working out fine, however, I would like to incorporate a NOT exclusion in the query. There is an example of an extension source in JH called ClientSearch.java which seems to implement that, since I see variables called, AND, OR, NOT, NEAR, LEFT_PAREN, RIGHT_PAREN. However, I am not seeing how to implement this. The JH doc states:
    The file demos/src/sunw/demo/searchdemo/ClientSearch.java shows how to extend the HelpSearch class to implement an alternate search engine.
    However I am not seeing a class called HelpSearch in jhall.jar, which I believe would include all classes used in JavaHelp.
    Any direction on this would be much appreciated.

    first of all, correction, that is ClientSearchEngine.java (not ClientSearch.java).
    ClientSearchEngine actually extends SearchEngine. I am still not seeing clearly how to implement this, perhaps if I point all the calls made to SearchEngine to ClientSearchEngine it will just work. Maybe I can experiment....

  • Not able to Bind DPS 6.3.1

    Hey,
    I configured Sun Directory Server 6.3.1 on Solaris Sparc. I'm not able to bind the ldapclient.
    **DPS Error log says:**
    17/Sep/2009:07:36:08 +0000] - BACKEND - WARN - No data source available for ADD,BIND,COMPARE,DELETE,MODIFY, in data source pool cn=my pool,cn=datasource pools,cn=config .You may want to check whether the configuration of this pool contains at least one data source enabled and with non-zero weights.
    [17/Sep/2009:07:36:08 +0000] - BACKEND - WARN - Can't retrieve LDAP schema (LDAP error code: 32) No data view were found to process the search request.
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Sun-Java(tm)-System-Directory-Proxy-Server/6.3 B2008.0311.0334 started on host server-ldap in directory /opt/ldap/master/att-dps1
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Listening for secure client connections on 0.0.0.0:5392
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Listening for client connections on 0.0.0.0:5391
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - LDAP server server-ldap:3998/ is up and running.
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - Attempt to bind as dc=my-domain,dc=com to backend server server-ldap:5389/ failed. Silent BIND failed : err=48, error message "",
    [17/Sep/2009:07:36:37 +0000] - BACKEND - ERROR - Failed to create a connection to mdtnj001ldap:5389/
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - LDAP server mdtnj001ldap:5389/ is up and running.
    [17/Sep/2009:11:39:53 +0000] - BACKEND - WARN - No servers available to process BIND in data source pool cn=defaultdatasourcepool,cn=datasource pools,cn=config
    DPS Acces logs says:*_
    [17/Sep/2009:08:56:45 +0000] - SERVER_OP - INFO - conn=67 op=1 BIND RESPONSE err=0 msg="" s_conn=dscc_ldap_mdtnj001ldap:3998:32
    [17/Sep/2009:08:56:45 +0000] - PROFILE - INFO - conn=67 assigned to connection handler cn=directory services administrators,cn=connection handlers,cn=config
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=67 op=1 BIND RESPONSE err=0 msg="" etime=0
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=67 op=2 UNBIND
    [17/Sep/2009:08:56:45 +0000] - DISCONNECT - INFO - conn=67 reason="unbind"
    [17/Sep/2009:08:56:45 +0000] - CONNECT - INFO - conn=68 client=135.25.219.143:28428 server=mdtnj001ldap:5391 protocol=LDAP
    [17/Sep/2009:08:56:45 +0000] - PROFILE - INFO - conn=68 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=0 EXTENDED oid="1.3.6.1.4.1.1466.20037"
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=0 EXTENDED RESPONSE err=0 msg="" etime=0
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=1 BIND dn="cn=admin,cn=administrators,cn=dscc" method="SIMPLE" version=3
    [17/Sep/2009:08:56:45 +0000] - SERVER_OP - INFO - conn=68 op=1 BIND dn="cn=admin,cn=Administrators,cn=dscc" method="SIMPLE"" version=3 s_msgid=4 s_conn=dscc_ldap_mdtnj001ldap:3998:33
    *DS Error logs says:*
    [15/Sep/2009:09:35:59 +0000] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0058 (64-bit) starting up
    [15/Sep/2009:09:36:00 +0000] - Listening on all interfaces port 5389 for LDAP requests
    [15/Sep/2009:09:36:00 +0000] - Listening on all interfaces port 5390 for LDAPS requests
    [15/Sep/2009:09:36:00 +0000] - slapd started.
    [15/Sep/2009:09:36:00 +0000] - INFO: 161 entries in the directory database.
    [15/Sep/2009:09:36:00 +0000] - INFO: add:0, modify:0, modrdn:0, search:1, delete:0, compare:0, bind:0 since startup.
    [16/Sep/2009:09:36:00 +0000] - INFO: 161 entries in the directory database.
    [16/Sep/2009:09:36:00 +0000] - INFO: add:0, modify:2, modrdn:0, search:7348, delete:0, compare:0, bind:4 since startup.
    **DS Access logs says:**
    [17/Sep/2009:09:06:52 +0000] conn=630 op=44 msgId=45 - SRCH base="" scope=0 filter="(objectClass=1.1)" attrs=ALL
    [17/Sep/2009:09:06:52 +0000] conn=630 op=44 msgId=45 - RESULT err=0 tag=101 nentries=0 etime=0
    [17/Sep/2009:09:07:22 +0000] conn=637 op=180 msgId=1 - SRCH base="" scope=0 filter="(|(objectClass=*)(objectClass=ldapSubEntry))" attrs="1.1"
    [17/Sep/2009:09:07:22 +0000] conn=637 op=180 msgId=1 - RESULT err=0 tag=101 nentries=1 etime=0
    **On Ldap Client which is also Sun Sparc Box:**
    bash-3.00# ldapclient list
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=my-doamin,dc=com
    NS_LDAP_BINDPASSWD= {NS1}25c94587c053424f
    NS_LDAP_SERVERS= Y.Y.Y.Y:5389
    NS_LDAP_SEARCH_BASEDN= dc=my-domain,dc=com
    NS_LDAP_AUTH= simple
    NS_LDAP_SEARCH_REF= FALSE
    NS_LDAP_CACHETTL= 0
    NS_LDAP_CREDENTIAL_LEVEL= proxy
    bash-3.00# ldaplist -v
    +++ database=NULL
    +++ filter=objectclass=*
    +++ template for merging SSD filter=%s
    ldaplist: Object not found (Session error no available conn.
    I'm able to run successfully ldapsearch -p 5389 -h Y.Y.Y.Y -D "cn=Directory Manager" -b 'ou=People,dc=my-domain,dc=com' objectclass=* from client box [ When I'm using port 5389 where DS service is running on]
    BUT
    Getting Error when searching using port 5391 [Where DPS is running on ]
    bash-3.00# ldapsearch -p 5391 -h Y.Y.Y.Y -D "cn=Directory Manager" -b 'ou=People,dc=my-doamin,dc=com' objectclass=*
    Enter bind password:
    ldap_simple_bind: Operations error
    ldap_simple_bind: additional info: Unable to retrieve a backend BIND connection
    bash-3.00#
    bash-3.00# tail -f /var/ldap/cachemgr.log
    Tue Sep 15 09:06:38.0240 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    Tue Sep 15 09:06:38.0460 sig_ok_to_exit(): parent exiting...
    Tue Sep 15 09:31:25.3718 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    Tue Sep 15 09:31:25.3977 sig_ok_to_exit(): parent exiting...
    bash-3.00# tail -f /var/adm/messages
    Sep 17 03:44:41 mdtnj001wbs last message repeated 11 times
    Sep 17 03:44:41 mdtnj001wbs last message repeated 11 times
    Sep 17 03:48:31 mdtnj001wbs ldaplist[6828]: [ID 293258 user.error] libsldap: Status: 32 Mesg: openConnection: simple bind failed - No such object
    Sep 17 03:48:31 mdtnj001wbs ldaplist[6828]: [ID 293258 user.error] libsldap: Status: 32 Mesg: openConnection: simple bind failed - No such object
    Could you please help me out. Whats wrong configuration I made .. OR Did I forget to add....
    Thanks
    Sanjay

    Adding Few more Info for the same:
    I create My View/My Pool
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf get-ldap-data-view-prop -h server-ldap -p 5391 -v My\ View
    alternate-search-base-dn : ""
    alternate-search-base-dn : dc=com
    attr-name-mappings : none
    base-dn : dc=my-doamin,dc=com
    contains-shared-entries : false
    custom-distribution-algorithm : none
    description : -
    distribution-algorithm : none
    dn-join-rule : none
    dn-mapping-attrs : none
    dn-mapping-source-base-dn : none
    excluded-subtrees : -
    filter-join-rule : none
    is-enabled : true
    is-read-only : false
    is-routable : true
    ldap-data-source-pool : My Pool
    lexicographic-attrs : all
    lexicographic-lower-bound : none
    lexicographic-upper-bound : none
    non-viewable-attr : none
    non-writable-attr : none
    numeric-attrs : all
    numeric-default-data-view : false
    numeric-lower-bound : none
    numeric-upper-bound : none
    pattern-matching-base-object-search-filter : all
    pattern-matching-dn-regular-expression : all
    pattern-matching-one-level-search-filter : all
    pattern-matching-subtree-search-filter : all
    process-bind : -
    replication-role : master
    viewable-attr : all except non-viewable-attr
    writable-attr : all except non-writable-attr
    The "get-ldap-data-view-prop" operation succeeded on "server-ldap:5391".
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf list-attached-ldap-data-sources -h server-ldap -p 5391 -v My\ Pool
    SRC_NAME add-weight bind-weight compare-weight delete-weight modify-dn-weight modify-weight search-weight
    My DS disabled disabled disabled disabled disabled disabled 100
    The "list-attached-ldap-data-sources" operation succeeded on "server-ldap:5391".
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf list-ldap-data-sources -v -h server-ldap -p 5391
    SRC_NAME is-enabled ldap-address ldap-port ldaps-port description
    My DS true server-ldap 5389 ldaps
    dscc_ldap_server-ldap:3998 true server-ldap 3998 ldaps dscc administration server
    The "list-ldap-data-sources" operation succeeded on "mdtnj001ldap:5391".
    If you need more info .. please let me know....
    Thanks
    Sanjay

  • Problem in creating jdbc-data-vew to oracle10g

    I have installed DSEE7.0 and setup the directory proxy server successfully
    my oracle environment:
    ip=202.205.16.93
    sid=nicdbs
    table: CAMPUS.CAMPUS_USER { USERID, NAME, TEL, EMAIL }
    my steps (refer to the administrator guide a reference):
    dpconf create-jdbc-data-source -b nicdbs -B jdbc:oracle:thin://202.205.16.93:1521: -J file:///opt/sun/dsee7/var/jdbc/ojdbc14.jar -S oracle.jdbc.driver.OracleDriver oracleds
    dpconf set-jdbc-data-source-prop oracleds db-vendor:oracle
    dpconf set-jdbc-data-source-prop oracleds db-pwd-file:/etc/oraclepass.txt
    dpconf create-jdbc-data-source-pool oraclepool
    dpconf attach-jdbc-data-source oraclepool oracleds
    dpconf create-jdbc-data-view oracleview oraclepool o=oracle
    dpconf create-jdbc-table user CAMPUS.CAMPUS_USER
    dpconf add-jdbc-attr user uid USERID
    dpconf add-jdbc-attr user cn NAME
    dpconf add-jdbc-attr user telephoneNumber TEL
    dpconf add-jdbc-attr user mail EMAIL
    dpconf create-jdbc-object-class oracleview person user uid
    every thing return succefully
    but when I test the view by
    ldapsearch -b o=oralce -x uid=1422
    it returns:
    ldap_search: DSA is unavailable
    ldap_search: additional info: Unable to process the search request. Reason: [Original error=52] No JDBC server available.
    i cant get any help from this error message.I want some help, Maybe some steps were left.
    thanks in advace.

    thanks but it didn't solve it,
    ldapsearch -b o=oracle uid=1422
    ldap_search: DSA is unavailable
    ldap_search: additional info: Unable to process the search request. Reason: [Original error=52] No JDBC server available.
    i also have tried:
    db-name: (CONNECT_DATA =(SERVICE_NAME = nicdbs))
    db-url: jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 202.205.16.93)(PORT = 1521)))
    but it still didnt work.
    #[root@dsee7 ~]# dpconf get-jdbc-data-source-prop oracleds
    db-name : nicdbs
    db-pwd : {3DES}+j6AoBZNIGx+7st/KDPgSmzVMlDcL6zs
    db-url : jdbc:oracle:thin:@202.205.16.93:1521:
    db-user : campus
    db-vendor : oracle
    description : -
    driver-class : oracle.jdbc.driver.OracleDriver
    driver-url : file:///opt/sun/dsee7/var/jdbc/ojdbc14.jar
    is-enabled : true
    is-read-only : false
    monitoring-inactivity-timeout : 2m
    monitoring-interval : 30s
    monitoring-mode : reactive
    num-connection-incr : 5
    num-connection-init : 5
    num-connection-limit : 30
    #dpconf get-jdbc-data-view-prop oracleview
    Enter "cn=Proxy Manager" password:
    alternate-search-base-dn : ""
    attr-name-mappings : none
    base-dn : o=oracle
    contains-shared-entries : false
    custom-distribution-algorithm : none
    description : -
    distribution-algorithm : none
    dn-join-rule : none
    dn-mapping-attrs : none
    dn-mapping-source-base-dn : none
    excluded-subtrees : -
    filter-join-rule : none
    is-enabled : true
    is-read-only : false
    is-routable : true
    jdbc-attr-date-format : yyyy-MM-dd
    jdbc-attr-time-format : hh:mm:ss
    jdbc-attr-timestamp-format : yyyy-MM-dd hh:mm:ss
    jdbc-data-source-pool : oraclepool
    lexicographic-attrs : all
    lexicographic-lower-bound : none
    lexicographic-upper-bound : none
    non-viewable-attr : none
    non-writable-attr : none
    numeric-attrs : all
    numeric-default-data-view : false
    numeric-lower-bound : none
    numeric-upper-bound : none
    pattern-matching-base-dn-regular-expression : all
    pattern-matching-base-object-search-filter : all
    pattern-matching-dn-regular-expression : all
    pattern-matching-one-level-search-filter : all
    pattern-matching-subtree-search-filter : all
    process-bind : -
    replication-role : master
    viewable-attr : all except non-viewable-attr
    writable-attr : all except non-writable-attr
    Edited by: mickypc1979 on Mar 1, 2010 4:31 PM

  • Using JSF and IFRAMEs

    I have a basic JSF app that takes some input, does a request and creates a table on output. What I need to do with it now is to have the query "page" and results "page" in two iframes on the same page. Before the query has been run the second iframe should just be blank (or with some default text). After the query that frame should be populated but the query frame needs to still be there. I've managed to do part of this. The "search" page and the "results" page are in separate iframes:
    <%@ page session="true" %>
    <html>
    <head>
      <title>Frames</title>
    </head>
    <body>
    <table>
      <tr>
        <td width="100%" colspan="2">
          <iframe title="Synonyms Search" src="search.jsf"
              width="800" height="200">
          Alternate search content...
          </iframe>
         </td>
      </tr>
      <tr>
      <td width="100%">
        <iframe src="results.jsp" title="Results"
          width="800" height="800">
          Results....
        </iframe>
      </td>
      </tr>
    </table>
    </body>
    </html>The reason this page is not using jsf tags is that the iframes will need to contain other pages that themselves are not jsf (mostly servlets) and I wasn't sure I could make that work. Currently the problem is that previously the search page had a QueryBean that the results page accessed to create it's table of results. Now in iframes the results.jsp frame just has a jsp processing exception and running the query does nothing. I'm new to JSF so I'm sure there's parts I'm missing, these do work if I pull them outside the frames and write navigation rules in the faces-context.xml file.
    Thanks,
    Sarah

    nigeldeakin wrote:
    The first thing to ask is whether you are sure that
         @Resource(name = "jms/QueueConnectionFactory",mappedName = "queueConnectionFactory")
         private ConnectionFactory connectionFactory;is valid. Does it work when you use it in other places?No it is not working still giving me NullPointerException for it. I'm using JBoss AS and having hard times deploying a jms queue on it i used an xml file to configure the queue and here is the file
    <?xml version="1.0" encoding="UTF-8"?>
    <server>
         <mbean code="org.jboss.jms.server.destination.QueueService"
              name="jboss.messaging.destination:service=Queue,name=StockHistoryQueue"
              xmbean-dd="xmdesc/Queue-xmbean.xml">
              <depends optional-attribute-name="ServerPeer">
                   jboss.messaging:service=ServerPeer
             </depends>
              <depends>jboss.messaging:service=PostOffice</depends>
         </mbean>
    </server>i think it's not working because i have this null exception for queue factory.

  • Imadmin purge user

    Hi,
    We're running:
    iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005)
    libimta.so 5.2 HotFix 2.05 (built 11:31:58, Mar 3 2005)
    with Delegated Admin 5.1 (1.2p1) and Directory Server 5.1 SP2.
    In addition to serving our Messaging Server, our LDAP server is used to authenticate Unix accounts on another Solaris system.
    A previous administrator wanted to differentiate accounts for users (Joe Smith) versus departmental accounts (Chemistry Department), for the purpose of the Unix authentication. So as a result, our user accounts are stored in LDAP under
    ou=people, o=oberlin.edu,o=oberlin-college
    Yet departmental accounts are stored under
    ou=OberlinColOrg,o=oberlin.edu,o=oberlin-college
    Some of these departmental accounts also have email accounts, and thus the typical email attributes in LDAP.
    I'm trying to purge some old departmental accounts whose inetuserstatus has had a value of 'deleted' for quite some time now.
    I have a regularly running cron job that runs 'imadmin user purge' under the guise of serviceadmin. But looking in the LDAP access logs, I see that it's using: SRCH base="ou=people, o=oberlin.edu,o=oberlin-college".
    So it's never finding these departmental accounts, because they're not under ou=people.
    I don't fully understand how the search base is defaulting to ou=people...
    Is there a way I can indicate an alternate search base for the 'imadmin user purge' command?
    If not, what would be my best alternative for removing these accounts (along with their mail folders, addressbook entries, etc)?
    Thanks.

    Do these "mail" accounts work? Doubtful. I suspect that at the very least, they do not have addressbooks.
    You can manually delete these from DS, using either ldapmodify, or the Directory Console.
    You can delete the mailboxes with mboxutil
    For Messaging 5.2, I suspect that the purge isn't likely to see that branch of the DIT. You could manipulate the resource.properties file used by DA, but you will want to return it to original after you do that.

  • Image file upload code

    Hi,
    I'm trying to track down where, i.e. by which code, image files are saved into the wiki.
    I've traced the route to the wiki.js file which creates the dialogue that posts the form to the server but I've run into a wall.
    I can't establish the name of the 'action' for the form.
    Nor can I infer which python code is receiving it.
    Can anyone help?
    p.s. The reason for all this is that I want uploaded files to be namable, either manually or driven by a field in the form.
    I guess this may involve rewriting some Python and I know that this is frowned upon but the look-out is mine!
    p.p.s. It would also be nice to know where dialogManager() is defined, that's got me beaten at the moment.

    John Anderson1 wrote:
    Remember that, when changing the code, you should override the code using your own theme; don't change it directly. Changing the uncompressed JavaScript won't work anyway; the server sends out code-compressed scripts whenever possible. Changing source code maintained by automatic software updates is the first of many steps down the path toward a bricked server.
    Yes, I'm starting to get a hang of this (I think) I do intend to override the js, it's just I need to know how it's doing it in order to overrride it!
    The form's "action" is "images"
    I'd sort of deduced this but I can't find the code on the server that implements it. I did a quick search and couldn't find "images' in Python and deduced I was being a bit simplistic.
    and dialogManager is defined in widgets.js:
    var ModalDialogManager = Class.createWithSharedInstance('dialogManager');
    Ah, thanks, I'll follow it up.
    You do know that you can just name the file in the Finder before uploading it, right?
    Not really. Under certain circumstances I want teamsserver to save the image file, in the page's image folder, with a particular name, i.e. NOT 123456.gif but pageImage.gif. I recognise that one has the potential problem of duplicate filenames but I'm happy to overwrite existing files AND I'm quite happy for teamsserver to give the file a unique name (presumably for internal database purposes) and make a duplicate of the numbered filename. i.e. save 123456.gif as per normal and then, if some condition is met (e.g. the alt name == pageimage) save a copy as pageImage.gif
    (If you're interested, I've managed to get search to take an additional parameter xslFile=1...5 which selects alternate search.xsl files that return different search layouts. One of which substitutes page specific images instead of the generic 'snowflake' image in search listings. Currently I have to give each page a tag that specifies what the pageImage uid is, but this is wasteful as every tag in every page is therefore different. What I'm trying to do now is make the pageImage filename consistent so that I have a single tag that indicates every page that has an associated image. (The custom search.xsl files recognise if a page HAS a custom image and uses the snowflake if it doesn't)
    Basically it allows me to generate slightly more attractive listings - nothing big but nice for my 'list of published books' page. Vanity, vanity)
    Thanks for hte help. I'll follow it up tomorrow.

  • Index naming in PeopleSoft

    Hi,
    on FSCM 91, on Win 2008, Tools 8.52, DB Oracle 11g.
    is there any rule to name des indexes (in Oracle DB)for PeopleSoft ? What is it ?
    Thanks.

    PeopleBooks > PeopleTools 8.52: PeopleSoft Application Designer Developer's Guide > Administering Data > Creating Indexes
    Indexes enhance system performance by generating key lists that the application processor uses to extract the data that it uses to populate pages and search records. The system automatically creates:
    Standard indexes (key or duplicate order key indexes) if at least one field in the table is a key or duplicate order key.The index contains all key and duplicate order key fields. The system automatically names this index with a prefix of PS_.
    Alternate search key indexes for each alternate search key.The system automatically names this index with a prefix of PSn, in which n is a number between 0 and 9.
    Custom indexes, which you can define using the Edit Index, Edit DLL, and Add Index dialog box in the PeopleSoft Application Designer administration tools.The system automatically names this index with a prefix of Psa, in which a can be any letter between A and V. The system does not create custom indexes automatically.

Maybe you are looking for

  • Errors in system log?

    OK, so I'm relatively new to Mac OS X, but that's on the back of some 20 years of working with UNIX, so I'm well placed to handle Mac OS X.... or so I thought! In fact, compared to generic UNIX systems, there's so much added to Mac OS X that it might

  • Make Vendor Classification characteristics mandatory

    All, We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save

  • Acrobat Preferences --- Internet...IE blocking popup - 9 Pro

    While using an application that creates adobe PDF documents, the application will render a popup Adobe PDF document when you run a report. When Adobe preferences for Internet are set to "Display PDF in browser", then the popup works just fine and sho

  • Need some info regarding BWA1 transaction in CRM

    Hi,   I am trying to understand few things for the BWA1 transaction. Looks like we need to explore the BWA1 transaction for data source enhancement before trying the classical Data source enhancement method (Append structure in the Data source ) in R

  • SAP CRM Faq's

    Hi Experts, Please send me the link for SAP CRM Faq's Thanks in advance..