Creating arp entry within stream module

HI all.
I'm tying to create an arp entry from within a stream modules stacked between eri and ip. My module is loaded on two interface (eri0 and eri1) and is use as a mangler for packet flowing through it. It take a packet on one interface do some processing on it if neccessary and put it on the other. My two interface are set in promiscious mode using dlpi promisc on message. This way the server become transparent to the network if placed in the critical path. My problem is the server must have only one ip address configured.
Ex:
Here there my two stream.
(1)
arp
ip -- 192.168.0.10
me
eri0
(2)
arp
ip -- 1.1.1.1
me
eri1
I got some host on the network on both side of my server which is in the critical path between the two segment of the same network. ( hope i'm clear). host on segment can talk to other on the other side perfectly. host on the side of the interface with the valid ip address can communicate with service running on the server but the one on the side with the dummy ip can't. This is because there is no arp entry in the table for this ip with the valid interface (eri0). If i add one myself it work fine. I must mention that there is an entry in the arp table for the host ip with the invalid interface and that i respond myself to the arp request comming from the side of the invalid interface. When a connection is tried to the eri1side i see arp request from my server on the read queue of my module comming from eri0 because of promiscious mode data feedback. I send this request on the other queue and when i get the reply I tried to sending M_PROTO DL_UNITDATA_IND on the queue of the valide interface. Whitout success as you could see.
I read on other post. That's was because of the fastpath routing. I actually see ioctl message comming downstream when i load my module ont both interface. I tried founding info about these but couldn't. Could i just respond to this ioctl with IOCNACK with the same data to disable? Is this a request to enable fast routing? (the first two byte are 0x4050 if i remember)
If you know what i'm trying to do is impossible please tell me.
Thank's.
Seb.

It is possible. I effectivly have to disable fast path for it to work. to disable you have to intercept M_IOCTL msg and qreply with M_IOCNAK - EINVAL if it's a DL_IOC_HDR_INFO ioc_cmd. This ioctl isn't the 0x4050???? one but is 0x0000440a.

Similar Messages

  • Problem when creating sapscript from within function module

    Hi,
    I created a function module which retrieves some master data, creates a sapscript for displaying the data and finally converts the sapscript to an otf. Afterwards the otf is converted to a pdf file.
    The problem is that the pdf file is created but it is empty!
    Here is a piece of the code:
    FUNCTION zhr_display_jobdescrpdf.
    * To access the SAP script output in OTF format.
    struct-tdgetotf = 'X'.
    struct-tdprogram = SY-REPID.
    CALL FUNCTION 'OPEN_FORM'
         EXPORTING
    *           APPLICATION        = 'TX'        " this is SapScript Appl
              device             = 'PRINTER'   " allow output to printer
              dialog             = 'X'         " printer dialog requested
              form               = 'ZHR_JOB_DESCR'       " name of form (SE71)
              language           = 'E'
              OPTIONS            = struct
    CALL FUNCTION 'START_FORM'
    EXPORTING
    *   ARCHIVE_INDEX          =
       form                   = 'ZHR_JOB_DESCR'
       language               = 'E'
    *   STARTPAGE              = ' '
    *   PROGRAM                = ' '
    *   MAIL_APPL_OBJECT       =
    *   IMPORTING
    *   LANGUAGE               =
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
           element                        = 'TEXT'
           function                       = 'SET'
           type                           = 'BODY'
           window                         = 'MAIN'
    CALL FUNCTION 'END_FORM'
    * IMPORTING
    * RESULT =
    EXCEPTIONS
    CALL FUNCTION 'CLOSE_FORM'
    * IMPORTING
    * RESULT =
    * RDI_RESULT =
    TABLES
    otfdata = datab[]
    EXCEPTIONS
    ENDFUNCTION.
    The content of datab[] is:
    1     //     XHPLJIIID    0700 0000000000
    2     IN     01EZHR_JOB_DESCR   MAIN
    3     OP     DINA4   P 144  240 1683811906000010000100001
    4     IN     02MAIN
    5     EP
    6     //
    So none of the variables that are used in the sapscript were transferred, although they are filled with the correct values when I put a breakpoint on the function 'write_form'. It looks like the sapscript can't access variables that are declared in a function module.
    Putting all the code for creating the sapscript in a report is not an option because then I have to use export/import to/from memory for retrieving the otf data and this doesn't work with the sap portal where the function is called.
    Did anyone had the same or similar problem?
    Greetings,
    Frederik

    Hi,
    Yes my problem is already solved.
    I created a report which creates the sapscript and in my function module I just execute that report.
    So problem solved :-).
    Greetings;
    Frederik

  • Function module to create log entry with notification

    Hi All,
      I need to create log entry with respect to functional location and it should be attached to notification in transaction LBK1.
    for creating log entry we have separate function module - DIACL_LOG_ENTRY_CREATE.
    for creating Notification also we have separate function module
    BAPI_ALM_NOTIF_CREATE.
    how to link this notification to log entry.
    is there any function module available.
    Its urgent.
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • I am trying to create within my modules a place for learners to contact me

    I am trying to create within my modules a place for learners to contact me to ask questions as well as submit long answers to questions, preferably through email. I could not get the email function on the button to work. I have Captivate 6. I even tried to open a file as well as open a document (such as Notepad) and that did not work either for me. Does anyone have any ideas how I can create this form of contact (it does not necessarily have to be through email) for my learners? I am just learning Captivate (I have taken boot camp but it was almost a year ago). Thanks in advance for any and all help!

    I would simply use a Click Box to achieve this. Create a piece of graphics or a text caption with your text such as "Click here to email me". The place a Click Box on top of this and set the On Success action (in the property inspector) to "Send e-mail to" and enter your email address in the Address field.
    That should do the trick.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Static Arp Entry for Exchange 2010

    Hello All,
    I was hoping someone could assist with an issue that our Exchange team are having, specifically with replication traffic traversing our DC to DR site.
    The infrastructure consists of a Layer 3 data centre and a disaster recovery site, so essentially its a live/backup environment. Both the DC and DR site are connected with a LES using routed interfaces.
    The Exchange cluster at the DC is associated with the following subnets:
    MAPI - 10.1.30.X
    Replication: 10.1.230.X
    DR site has the following subnets associated with the exhange cluster :
    MAPI - 192.168.4.X
    Replication - 192.168.230.X
    When an attempt is made to create a database/mailbox on an exchange server at the DC and copy it using  the replication subnet source: 10.1.230.X to destination subnet: 192.168.230.X, the copy process fails.
    Replication traffic in general going from DC to DR or vice-versa is subject to constant problems and seems unreliable. Our exchange team have to manually copy mailboxes from one cluster to the other using Windows explorer which works fine.
    The Exchange cluster at both sites reside within a VMWare ESX enclosure and connect to Cisco 6500 switches. Would the Cisco switches require a static arp entry for their respective Exchange clusters, which should be configured on each switch? If this was missing could this be the root cause of the replication problems we're experiencing? Or does this depend on whether the exchange cluster is using NLB Unicast or Multicast mode?
    Any assistance would be most appreciated.
    Regards,
    Jamie

    Jamie,
    Have a look at this link:-
    http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a0080a07203.shtml
    It depends on how the team NLB is set up.
    You may need static mac & static arp as well as disabling igmp snooping if multicasting is bein used.
    Regards,
    Alex.
    Please rate useful posts.

  • Validity period error while creating Service Entry Sheet.

    Hi SAP experts,
    Users are facing below two error messages while creating serivce entry sheet with respect to Standard PO (NB).The PO has RFQ refrence where Validity start and end date is blank. Also PO has Item category 'D' (Services)
    1) "Runtime of entry must fall within Run time of the PO (05.12.2008-05.01.2009)
    2) Entry must be wihin validity period of purchase order (05.12.2008-05.01.2009)
    In the EKKO table system is showing validity start and end date for PO but it is not present in the PO (NB) by ME 22 / 23N.
    Basically standard PO (NB) should not have validity start date and end date but still it is showing in the table EKKO. 
    Kindly provide me related resolution ASAP.
    Thanks
    BR,
    Rahul

    Hi Alex,
    Thanks for the quick reply.
    There is no Validity period maintained in the PO header under "Additional data".
    but still I am getting Validity data in the table EKKO for standard PO (NB).
    BR,
    Rahul

  • How to create Infotype entry in table T777D

    Hi All,
    We have undergone Upgrade from 4.6C to ECC 6.0.
    Now we get an error while maintaining certain data infotype 0122 does not exists.
    I looked at the entries in table T777D in both the system. In older system the entry is there but not in the new system.
    When i tried creating the entry in this table the error comes 'Module pool program MP012200 is not present'. This program was there in 4.6C but is not there in ECC 6.0.
    How do we genrate this program or how do we create the entry for this infotype to correct the error.
    Is there any customizing settings that is required?
    Please advice.
    Regards,
    Vidya.

    Look at OSS [Note 546167 - Termination in PA10: Infotype 0122 does not exist|https://service.sap.com/sap/support/notes/546167]
    >Symptom
    >
    >When you edit the master data (transaction PA10) after you upgrade Release 4.6C to Release 4.70 or higher, a termination occurs and an error message is issued informing you that infotype 0122 does not exist.
    >
    >Other terms
    >
    >No entry in table T777D
    >
    >Solution
    >
    >In the 'Infotype attributes (Customizing)' view (extended table maintenance for view V_T582A), delete the entry for infotype 0122.
    >In the 'Infotypes - country-specific settings' view (extended table maintenance for view V_T582L), delete the entry for infotype 0122.
    Regards

  • Unable to create a subtask within a task for cProjects

    Hi All,
    I am unable to create a subtask within a task using BAPI_BUS2175_CREATE. When I pass the GUID of the project definition and fill the corresponding task structures to the BAPI, a task gets created at the phase level. But when I pass the GUID of the task along with the task
    information, subtask does not get created. The BAPI returns the following error message:
    DPR_SHARED 051: You cannot create Task for (Task Name).
    Steps for recreating the error message are:
    1. GUID is found out using function module CONVERSION_EXIT_DPRCE_INPUT.
    2. GUID and task information is passed to BAPI_BUS2175_CREATE.
    3. Task is created if project definition GUID is passed, but if task GUID is passed, there is no subtask created. An error message is displayed:
    DPR_SHARED 051: You cannot create Task for (Task Name).
    Any help would be appreciated.
    Thanks,
    Tom

    Hi all,
    I have used the same and it works absolutely fine.
    here is a code sample
    CONSTANTS:
       lc_rfc_none        TYPE string VALUE 'NONE'.       " RFC on same server
    DATA:
      lv_header_task_guid TYPE bapi_ts_guid-parent_guid, " Header Task GUID
      ls_sub_task TYPE bapi_ts_task,
      ls_sub_task_upd TYPE bapi_ts_task_upd,
      lt_crtask_return TYPE TABLE OF bapiret2,
      ls_extension_in TYPE bapiparex,
      ls_extension_out TYPE bapiparex,
      lv_task_guid TYPE bapi_ts_guid-parent_guid. " Task GUID
    * Assign sub-task name. (Task Number is internally generated)
    ls_sub_task-task_name = 'ST 1.1'.
    ls_sub_task_upd-task_name = 'X'.
    * Assign Sort Number
    ls_sub_task-sort_number = '00010'.
    ls_sub_task_upd-sort_number = 'X'.
    * Assign Duration
    ls_sub_task-duration = 30.
    ls_sub_task_upd-duration = 'X'.
    * Assign Work.
    ls_sub_task-planned_work = 240.
    CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
      EXPORTING
        input          = 'H'
      IMPORTING
        output         = ls_sub_task-planned_work_unit
      EXCEPTIONS
        unit_not_found = 1
        OTHERS         = 2.
    IF sy-subrc <> 0.
    ENDIF.
    ls_sub_task_upd-planned_work = 'X'.
    ls_sub_task_upd-planned_work_unit = 'X'.
    CALL FUNCTION 'BAPI_BUS2175_CREATE'
         DESTINATION lc_rfc_none
         EXPORTING
             iv_parent_guid   = lv_header_task_guid
             is_task          = ls_sub_task
             is_task_upd      = ls_sub_task_upd
             is_extension_in  = ls_extension_in
          IMPORTING
             es_extension_out = ls_extension_out
         TABLES
             return           = lt_crtask_return.
    * If task is successfully created,
    READ TABLE lt_crtask_return WITH KEY type = lc_success number = '114'.
    IF sy-subrc = 0.
    * Get task GUID
    lv_task_guid = lt_crtask_return-message_v1.
    CALL FUNCTION 'BAPI_CPROJECTS_COMMIT_WORK'
      DESTINATION
        lc_rfc_none
      TABLES
        return = lt_bapiret2.
    endif.
    In order to find the GUID of the header task use function module:
    DPR_GET_GUID_BY_ID_FROM_DB
    with IV_Number  = task number for the header task and IV_OBJECT_TYPE = TTO
    Read the documentation for 'BAPI_BUS2175_CREATE' before using it.
    make sure you have maintained IS_TASK_UPDATE structure as well.
    Regards,
    Reema.

  • STREAM module question

    Hi all,
    I am newbe in STREAM module development and this question might be a concept error. If so, please could you give me some clues?
    I would like to use the "libc" funcion "getpwuid()" in a kernel STREAM module.
    I have Solaris 7 64-bit kernel.
    �Can I do it? I have read that for 64-bit kernels, only dynamic libraries are available. Therefore in order ot use libc functions I would have to link dynamically the module relocatable object with the libc library in sparcv9. I have tried to link the kernel STREAM module with libc.so.1 (in /usr/lib/sparcv9) with no success so far. Everytime I trie to load the module it complains with the message: unknown symbol "getpwuid".
    If it is not possible, why? . Is it not possible to use libc functions such us: memcpy() etc..from the kernel context?
    Looking forward to hearing from you.
    Best Regards

    You cannot use user space libraries from within a kernel module. What exactly are you trying to
    do? What do you need password information for
    down in the kernel?
    Maybe ddi_get_cred() will help?
    Some functions like memcopy have kernel space equivalents (bcopy)....
    dan

  • Can anybody explain me creating Generic Datasource using Function module?

    Hi,
    can anybody explain me creating Generic Datasource using Function module?
    Thax in advance,
    Ravi.

    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    1. Create s structure with the fields that you need from the 4 tables . Activate.
    2. Goto SE 80 Select The Function Group , Copy , Select the Function module
    " RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
    Y or Z .
    3. SE37 ->Your Function module name -> Change , In table tab give your structure
    name by deleting the associated type given in " E_T_DATA " .
    4. Now select source code and Do the coding . Give Data source name in Coding .
    In your case you have to take data from more that 1 table .
    5. Activate the Function Group .
    6. In RSO2 Create the Data source , Give the Function Module Name , And Save.
    7. RSA3 -> Give data source name and Check for the Records .
    Creation of custom datasource. (Using function module)
    <b>is an example</b>
    1.Create a function group .
    2. Structure ZTEST123
    ZMATNR MATNR CHAR 18 0 Material Number
    ZMTART MTART CHAR 4 0 Material type
    ZMBRSH MBRSH CHAR 1 0 Industry sector
    ZMATKL MATKL CHAR 9 0 Material group
    ZBISMT BISMT CHAR 18 0 Old material number
    ZMAKTX MAKTX CHAR 40 0 Material description
    3. Create function module (i.e. ZTEST….) .
    FM - YMARA_DATA_TRNS
    FUNCTION YMARA_DATA_TRNS.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
    *" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *" TABLES
    *" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *" E_T_DATA STRUCTURE ZTEST123 OPTIONAL
    *" EXCEPTIONS
    *" NO_MORE_DATA
    *" ERROR_PASSED_TO_MESS_HANDLER
    data : ZTEST123 type ZTEST123 occurs 0 with header line.
    Maximum number of lines for DB table
    STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    S_COUNTER_DATAPAKID LIKE SY-TABIX.
    DATA: begin of t_mara occurs 0,
    ZMATNR type MATNR,
    ZMTART type MTART,
    ZMBRSH type MBRSH,
    ZMATKL type MATKL,
    ZBISMT type BISMT,
    end of t_mara.
    DATA: begin of t_makt occurs 0,
    ZMATNR type MATNR,
    ZMAKTX type MAKTX,
    end of t_makt.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
    IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Check DataSource validity
    CASE I_DSOURCE.
    WHEN 'ZZMARA_DATA'.
    WHEN OTHERS.
    IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
    LOG_WRITE 'E' "message type
    'R3' "message class
    '009' "message number
    I_DSOURCE "message variable 1
    ' '. "message variable 2
    RAISE ERROR_PASSED_TO_MESS_HANDLER.
    ENDCASE.
    Fill parameter buffer for data extraction calls
    S_S_IF-REQUNR = I_REQUNR.
    S_S_IF-DSOURCE = I_DSOURCE.
    S_S_IF-MAXSIZE = I_MAXSIZE.
    ELSE. "Initialization mode or data extraction ?
    Data transfer: First Call OPEN CURSOR + FETCH
    Following Calls FETCH only
    First data package -> OPEN CURSOR
    IF S_COUNTER_DATAPAKID = 0.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
    select MATNR
    MTART
    MBRSH
    MATKL
    BISMT
    from mara up to 10 rows
    into table t_mara.
    if not t_mara[] is initial.
    select MATNR
    maktx
    from makt
    into table t_makt
    for all entries in t_mara
    where matnr = t_mara-zmatnr.
    endif.
    loop at t_mara.
    read table t_makt with key zmatnr = t_mara-zmatnr.
    ZTEST123-zmatnr = t_mara-zmatnr.
    ZTEST123-ZMTART = t_mara-ZMTART.
    ZTEST123-ZBISMT = t_mara-ZBISMT.
    ZTEST123-ZMBRSH = t_mara-ZMBRSH.
    ZTEST123-ZMATKL = t_mara-ZMATKL.
    ZTEST123-zmaktx = t_makt-zmaktx.
    append ZTEST123.
    clear ZTEST123.
    endloop.
    clear E_T_DATA.
    refresh E_T_DATA.
    E_T_DATA[] = ZTEST123[].
    ENDIF.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF. "Initialization mode or data extractio
    ENDFUNCTION.
    3. Create the data source using transaction (RSO2).
    4. If structure exists for the table parameter of your function module then ok else create a structure for the table parameter ‘E_T_DATA’.
    5. Test the datasource in R/3 using transaction RSA3.
    6. Transfer the data source to BW –System and replicate it in the BW-System.

  • How can a streams module read files?

    I have a streams module which runs over IP. When it gets loaded
    for the first time, a data file has to be read and data structures
    have to be initialised accordignly.
    But I'm not able to use open, read calls from inside the module (naturally!).
    Any pointers?
    Here is the sample code:
    int _init(void)
    /* open (), read () calls have be inserted here */
    return (mod_install(&sample_modlinkage));
    }

    See 'File I/O from within a driver' thread in this forum for a discussion...

  • Static arp entries in zones

    Hi
    I'm aware of, and experiencing the problem with my arp table being poisoned. I'm working on updating the Broadcom drivers but in the meantime need to set some static entries in arp. My setup has the global zone configured on e1000g0, with a second interface e1000g1 used by a non-global-zone, alll interfaces are shared. The global zone has no ip and neither is it up on e1000g1, only plumbed. My point being this, when I create a static arp entry for my the non-global-zones default gateway, which can only be done in the global zone, it is assigned to the e1000g0 device. There is a learnt entry for the same gateway (same ip) but on the e1000g1 interface. Ideally I want the learnt entry removed and the static entry assigned to the e1000g1 interface.
    Is this possible, and if not am I worrying about a problem that doesn't exist. My fear is that the non-global-zone only being aware of the e1000g1 device will only use the learnt arp entry which is in danger of changing.
    If any of this made sense, please can you advise whether there is a potential problem and if it can be rectified.
    Thanks

    813137 wrote:
    Hi
    I'm aware of, and experiencing the problem with my arp table being poisoned. I'm working on updating the Broadcom drivers but in the meantime need to set some static entries in arp. My setup has the global zone configured on e1000g0, with a second interface e1000g1 used by a non-global-zone, alll interfaces are shared. The global zone has no ip and neither is it up on e1000g1, only plumbed. My point being this, when I create a static arp entry for my the non-global-zones default gateway, which can only be done in the global zone, it is assigned to the e1000g0 device. There is a learnt entry for the same gateway (same ip) but on the e1000g1 interface. Ideally I want the learnt entry removed and the static entry assigned to the e1000g1 interface.
    Is this possible, and if not am I worrying about a problem that doesn't exist. My fear is that the non-global-zone only being aware of the e1000g1 device will only use the learnt arp entry which is in danger of changing.
    If any of this made sense, please can you advise whether there is a potential problem and if it can be rectified.Unless your global zone gets an address on the same subnet as the NGZ for e1000g1, it can't add
    a static arp entry in the shared IP configuration..
    OTOH, you can do this with exclusive IP zones, which is really a much cleaner config/administrative model.
    I'd suggest: set up the NGZ as ip-type exclusive, assign it e1000g1, and let the NGZ itself add the static arp entry
    --Sowmini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ASA5510 no ARP entry ?

    I have a requirement to NAT a spare address on the same subnet range as one of the firewall interface - however, because this is not allocated to a physical interface, there is no mac entry in the arp cache. the other end of the link from the firewall is connected to a router which has no idea how to reach this "virtual address" - again because there is no entry in the arp cache
    I have tried to put a static arp entry into the firewall but this doesn't appear to work either. Should I be using a mac address form a physical interface or can I create a dummy mac for this -
    If the router can't see the ip address, then users will not be able to target this address - so that the firewall can NAT to the real outside address.
    I have tried routes to null0 on the router and static arp entries on both devices but the user just times when trying to connect to 10.2.7.11 (nat to 10.2.32.11)
    attached is a very basic visio diagram which I hope explains what I am trying to achieve.
    any help would be appreciated.
    many thanks

    Assuming your communications are always initiated from the inside, the first static statement above should suffice. When a session is built (initial syn in the TCP 3-way handshake) the xlate table will take care of the NAT on return path. I'm not sure of the effect of the second static, but I'd try temporaily removing it.
    If you ever initiate from the outside (10.2.32.11/12), you would also need an access-list to allow moving from a lower security to higher security level.
    Hope this helps.

  • How to inform the kernel about newly installed STREAMS MODULE?

    I made a copy of timod and installed the copy to /kernel/strmod
    as a new module (newmod). I modified the t_open.c to make
    it to use the "newmod" instead of the timod. The result of the
    test is "Invalid Argument". It looks like the kernel doesn't
    recognize the module "newmod". I looked throught Sun
    Docs, I'm not able to find any instruction for how to
    make kernel to recognize my new STREAMS module name
    as the add_drv does for device drivers. Can anyone point
    me to the right docs and give me some instructions for informing
    the kernel about the newly installed STREAMS module?
    Thanks
    Yuen

    Forget my precedent post, here is what's on the configuration page of this module :
    ("[_]" are checkboxe)
    1/ [_] Check this option if your users' DNs look like cn=jdoe,ou=Group1,cn=example,cn=com and Group1 turns out to be the group you want.)
    Attribute of the DN which contains the group name:
    [Single line text field to enter attribute]
    (The name of the attribute which contains the group name. In the example above, it would be ou, as the DN contains the string ou=Group1 and Group1 happens to be the desired group name.
    2/ [_] Groups are specified by LDAP attributes
    Attribute names (one per line):
    [Multi-lines text field]
    (If the groups are stored in the user entries, along with the rest of their data, then enter here a list of attributes which may contain them.)
    3/ [_] Groups exist as LDAP entries where a multivalued attribute contains the members' CNs
    Nodes containing groups (one per line):
    [Multi-lines text field]
    (Enter here a list of nodes from where groups should be searched for. The module will look them up recursively from the given nodes.)
    Attribute holding group members:
    [Single line text field]
    (Name of the multivalued attribute which holds the CNs of group members, for example: memberUid)
    If someone could tell me which checkboxe I should select and what to put into fields it would be king as I really have no idea of what to enter and what to select.

  • What steps are required to install and load a new STREAMS module?

    I have a new STREAM module based on sample code from the STREAMS Programming Guide. Everything compiles correctly but modload is failing. I get the error "can't load module: No such file or directory" everytime. I've tried fully qualifing the path, coping my module to the /kernel and /kernel/strmod directories, with and without the -p option. Nothing is working.
    The only thing I can think of is that additional steps must be necessary to make the module available to the system. Can anyone give me some pointers here?
    I am running Solaris 10 on an amd64 system.

    I've tried copying it to /kernel, /kernel/strmod, /kernel/strmod/amd64 and the corresponding /usr directories with no luck.
    I found a reference in one of the forums about unresolved externals causing the same issue, but I can not find any log entries to indicate why modload is failing.
    Is add_drv required for a STREAMS module? From the doucmentation it looks like this is only required for device drivers. My module is a straight STREAM (modlstrmod) module.

Maybe you are looking for

  • TEM - can no longer see any data in PP01 for a course

    Hi folks A business event was incorrectly deleted ie: deleted without deleting all the relationships. On this business event were 2 internal instructors. These instructors are now required to instruct at another business event which takes place at th

  • Display of sender's name in email messages (order backwards)

    If I receive an email sent: From: "Xyz, Ltd." <[email protected]> In my list of emails the sender appears correctly as Xyz, Ltd. But if I open the email itself, it displays as: Ltd. Xyz <[email protected]> If I look at the same mail in Gmail it displ

  • How to build a part-hierarchy ?

    Hi specialists, I fear the topic is not very descriptive. Here's my scenario and problem:   A hierarchy (customers) is loaded from the R/3-system to the business warehouse.   Unfortunately the Customers don't start on Level 1 of that hierachy - but o

  • XML Validation with External XSD

    Hi I have a xml file having DTD declaration, but my requirment is to validate this xml file with External XSD not with DTD which is declared inside the file. on executing java code below it is looking for DTD. how to supress validating against dtd. S

  • Ho do I know if an ORACLE autmatically starts up with the linux machine?

    three of the machines are RAC database and there is one single node database. How do I know if the DB will automatically startup with Linux machine? and if does not automatically start how can I modify the DB's so that they will automatically start w