How do i query a sun one server for a member of a  group

Hi Folks
I would like to know if any one know how to query a sun one directory server to list all members of the group.
currenty i have this
LDAP://SERVERNAME.test.com:5221/ou=people,dc=testrelsec,dc=com>;(&(objectclass = person)& adsPath;subTree"
this query gives me all users in the directory ,
Now I have created a static group called GROUPONE using sunone console GUI and made 2 people member of that group
I need the ldap query which can list the members of GROUPONE
thanks
g4hbk
thanks in advance
g4hbk

https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
Useful script to extract LDAP based user posixGroup memberships information
===
Assuming you are using posixGroup objectclass and memberUid attribute to
store your membership information, you may find my shell script useful
and handy.
It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
commands, and works against FDS, SUN DS or OpenLDAP.
===
Gary

Similar Messages

  • Which clients are using my Sun One server for authentication?

    We use Sun One ver. 5.2 .
    Our LDAP clients use it for authentication.
    How can I list which clients recently used the Sun One server to authenticate?
    The reason I need that is because I want to upgrade the Sun One server and I want to notify the clients that I'm about to do it.
    Thanks.

    https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
    Useful script to extract LDAP based user posixGroup memberships information
    ===
    Assuming you are using posixGroup objectclass and memberUid attribute to
    store your membership information, you may find my shell script useful
    and handy.
    It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
    commands, and works against FDS, SUN DS or OpenLDAP.
    ===
    Gary

  • Select one record for each member of the group

    Hi,
    am having a table where in i will be having data for so many group members. i need to fetch data for a particular group members whose number of rows of data may be more in numbers (but i want only one row of data for each member of the group)
    here is the query for fetching all rows of data
    select RI.RESOURCE_NAME,TR.MSISDN,TR.ADDRESS1_GOOGLE, TR.MSG_DATE_INFO, FROM TRACKING_REPORT TR, RESOURCE_INFO RI
    WHERE TR.MSISDN IN (SELECT MSISDN FROM RESOURCE_INFO WHERE GROUP_ID ='1' AND COM_ID=2 ) AND RI.MSISDN=TR.MSISDN
    order by MSG_DATE_INFOoutput of this query is...
    >
    ddd     12345          13-Mar-10 19:43:03
    eee     54321     Tamil Nadu, India      13-Mar-10 19:39:48
    ddd     12345          13-Mar-10 19:32:58
    eee     54321     Tamil Nadu, India      13-Mar-10 19:30:07
    ddd     12345          13-Mar-10 19:23:08
    eee     54321     Tamil Nadu, India      13-Mar-10 19:20:14
    fff     98765          13-Mar-10 19:19:22
    ddd     12345          13-Mar-10 19:13:01
    eee     54321     Tamil Nadu, India      13-Mar-10 19:09:50
    ddd     12345          13-Mar-10 19:02:56
    eee     54321     tn,ind      13-Mar-10 18:59:49
    ddd     12345          13-Mar-10 18:53:08
    eee     54321     tn,ind      13-Mar-10 18:49:50
    ddd     12345          13-Mar-10 18:42:56
    eee     54321     tn,ind      13-Mar-10 18:39:50
    ddd     12345          13-Mar-10 18:33:00
    eee     54321     tn,ind      13-Mar-10 18:29:50
    ddd     12345          13-Mar-10 18:22:54
    eee     54321     tn,ind      13-Mar-10 18:19:50
    ddd     12345          13-Mar-10 18:12:56
    eee     54321     tn,ind      13-Mar-10 18:09:50
    ddd     12345          13-Mar-10 18:02:54
    eee     54321     tn,ind      13-Mar-10 18:00:02
    fff     98765     Tamil Nadu, India      13-Mar-10 17:59:26
    fff     98765     Tamil Nadu, India      13-Mar-10 17:54:26
    ddd     12345          13-Mar-10 17:52:56
    eee     54321     tn,ind      13-Mar-10 17:49:50
    fff     98765     Tamil Nadu, India      13-Mar-10 17:49:25
    fff     98765     Tamil Nadu, India      13-Mar-10 17:44:26
    ddd     12345          13-Mar-10 17:42:56
    >
    from this output i want only one latest record for each member(ddd,eee,fff). i.e
    >
    ddd     12345          13-Mar-10 19:43:03
    eee     54321     Tamil Nadu, India      13-Mar-10 19:39:48
    fff     98765          13-Mar-10 19:19:22
    >
    how to modify the query to achieve this...?

    Hi,
    This is not giving the result which i want...
    table is
    CREATE TABLE TRACKING_REPORT
      ID               NUMBER,
      MSISDN           NUMBER(12)                   NOT NULL,
      X                NUMBER(15,8)                 NOT NULL,
      Y                NUMBER(15,8)                 NOT NULL,
      TIME_STAMP       DATE,
      MSG_DATE_INFO    DATE                         DEFAULT sysdate,
      ADDRESS1_GOOGLE  VARCHAR2(400 BYTE),
      ADDRESS2_GOOGLE  VARCHAR2(400 BYTE),
      ADDRESS_MLINFO   VARCHAR2(400 BYTE),
      REQ_ID           VARCHAR2(30 BYTE)
    CREATE TABLE RESOURCE_INFO
      RESOURCE_ID    NUMBER,
      MSISDN         NUMBER,
      RESOURCE_NAME  VARCHAR2(25 BYTE),
      ADDRESS        VARCHAR2(100 BYTE),
      COM_ID         VARCHAR2(20 BYTE),
      ADMIN_ID       NUMBER,
      TIME_STAMP     DATE                           DEFAULT SYSDATE,
      GROUP_ID       NUMBER
    )

  • HELP! how to get or download sun one certificate server 4.7

    I had searched for a long while and had no found!
    can anyone tell me how to buy or download sun one certificate server 4.7 ,netscape certificate server or iplanet CMS 4.2
    thanks!

    The SunOne certificate server was EOLed by Sun some time ago.
    However, RedHat recently purchased Netscape Certificate server which is based on the same iPlanet codebase as SunOne but has numerous additional features including a smartcard and USB token management system.
    Evaluation copies are available from redhat.com

  • Error flushing the output stream in Sun One server

    Hi All,
    I was running my servlet code in iPlanet 6.0 version and it was working fine. I upgraded my web server to new Sun One server (Oracle-iPlanet-Web-Server-7.0.9). With the new web server almost 90% of my application works fine, but there is a features in my application to download an Excel sheet by clicking a button. This feature is failing in new Sun One web server.
    Below are my piece of code and the error log I m getting. Can anyone tell me how I can fix this error, I mean is there any web server specific change or configuration parameter need to be set.
    Please ask for any information regarding my server configuration settings if needed for finding a solution for this
    Code:
    byte abyte0[] = new byte[1024];
    BufferedInputStream bufferedinputstream=null;
    BufferedOutputStream bufferedoutputstream=null;
    java.io.InputStream inputstream = httpurlconnection.getInputStream();
    bufferedinputstream = new BufferedInputStream(inputstream);
    bufferedoutputstream = new BufferedOutputStream(httpservletresponse.getOutputStream());
    int j;
    long byteCount=0;
    while((j = bufferedinputstream.read(abyte0, 0, 1024)) != -1)
    byteCount=byteCount+j;
    if(logger != null && logger.traceOn())
    logger.log("total"+byteCount);
    logger.log("Read bytes:"+j);
    bufferedoutputstream.write(abyte0, 0, j);
    if(logger != null && logger.traceOn())
    logger.log("Wrote bytes:"+j);
    bufferedoutputstream.flush(); // <<<<<< ERROR POINT >>>>>>
    Error Log :
    ClientAbortException: java.io.IOException: WEB8004: Error flushing the output stream
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:343)
    at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:313)
    at org.apache.coyote.tomcat5.CoyoteOutputStream.flush(CoyoteOutputStream.java:147)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
    at com.reuters.bdec.as.ASRequestHandler.processResponse(ASRequestHandler.java:285)
    at com.reuters.bdec.as.ASRequestHandler.initiateGetRequest(ASRequestHandler.java:89)
    at com.reuters.bdec.as.ASRequestHandler.proceedToDestination(ASRequestHandler.java:220)
    at com.reuters.bdec.as.ASExtension.authorisationCheck(ASExtension.java:84)
    at com.reuters.bdec.as.ASExtension.doGet(ASExtension.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:794)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    Caused by: java.io.IOException: WEB8004: Error flushing the output stream
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.action(NSAPIProcessor.java:243)
    at org.apache.coyote.Response.action(Response.java:197)
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:339)
    ... 20 more

    Don't flush it yourself. The servlet container will automatically flush for you once its send buffer is full. You can change the size of the send buffer though.

  • Sun one server 6.0 doesn't work well with explorer

    We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
    The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
    The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
    I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
    We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
    Yair Lapin
    Hebrew University Webmaster

    Yair -
    Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
    Thanks
    Joe

  • Sun One Server in Windows

    I installed Sun one server in NT machine and tried creating a port. It is not providing the support for Servlets directory whereas iPlanet 4.1 provides it by means of giving a style "ServeltByExtn" while creating the additinal direcctories. How can it be done?

    Are you sure you would like to use server grade software running over a toy OS?
    Just an opinion!

  • Hi,how can i transport objects from one server to other like (Dev To Qty)

    Hi Sir/madam,
       Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
    Regards,
    Vishali.

    Hi Vishali,
    Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
    Step 2: Release the subrequests first and then the main request by pressing Truck button
    Step 3: STMS or Customized transactions
    Object Collection In Transports:
    The respective Transports should have the following objects:
    1. Base Objects -
    a. Info Area
    b. Info object catalogs
    c. Info Objects
    2. Info Providers u2013
    a. Info Cubes
    b. Multi Providers
    c. Info Sets
    d. Data Store Objects
    e. Info Cube Aggregates
    3. Transfer Rules u2013
    a. Application Components
    b. Communication Structure
    c. Data Source replica
    d. Info Packages
    e. Transfer Rules
    f. Transformations
    g. Info Source Transaction data
    h. Transfer Structure
    i. Data sources (Active version)
    j. Routines & BW Formulas used in the Transfer routines
    k. Extract Structures
    l. (Note) If the transfer structures and related objects are being transferred without preceding
    Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
    Objects as well.
    4. Update Rules u2013
    a. Update rules
    b. Routines and formulas used in Update rules
    c. DTPs
    5. Process Chains u2013
    a. Process Chains
    b. Process Chain Starter
    c. Process Variants
    d. Event u2013 Administration Chains
    6. Report Objects u2013
    a. Reports
    b. Report Objects
    c. Web Templates
    Regards,
    Suman

  • Sun one server 7 and sun app server 8 incompatibility

    I had all my ejb code running nicely on sun one server 7. Now I have to port to 8 and while the same ear file deploys successfully, I'm unable to make any create calls on my CMP beans. I get server side error "argument type mismatch", but I've checked and rechecked all arguments, number and type, but can't find anything wrong. Any pointers?

    The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.

  • NoDomainToStart with Sun One Server 7

    I am getting the error NoDomainToStart, when I start
    Sun One Server 7. What is the solution. Pls. respond soon.

    The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.

  • FedEx Sun One server does not allow POST

    Hello,
    I am attempting to communicate with FedEx's Direct XML Track. They use a Sun One Server v. 6.1 w/ SSL. When I do a POST with my XML document, I get back a 504, Method Not Allowed. Have communicated with FedEx technical support to no avail. Have downloaded server 6.1 and installed, trying to reverse-problem solve. Cannot see anywhere in the server where POSTs might be set to prohibited. The FedEx documentation specifically says to use a POST, which of course makes sense. Has anyone successfully used FedEx XML Direct, and/or could supply me with a hint as to why this might be happening? Also, am URL-encoding the reuest. Here's the code:
    public class FedexHTTPS {
    static final int HTTPS_PORT = 443;
    public static String enc = "encoding='UTF-8'";
    public static String subRequest = "<?xml version = '1.0' encoding = 'UTF-8'?><RequestHeader><AccountNumber>xxxxxxxxx</AccountNumber></RequestHeader>     <Contact><PersonName>name </PersonName><CompanyName>Ubercom</CompanyName><Department>ActiveIdentity</Department><PhoneNumber>xxxx</PhoneNumber><E-MailAddress>[email protected]</E-MailAddress></Contact><Address><Line1>12 main st</Line1><Line2/><City>Leesburg</City><StateOrProvinceCode>VA</StateOrProvinceCode><PostalCode>20111</PostalCode><CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>>";
    public static String address = "gatewaybeta.fedex.com";
    public static void main(String argv[]) throws Exception {
    String encData=null;
    try {
    encData = URLEncoder.encode(subRequest,"UTF-8");
    } catch (Exception ex){
    System.out.println("Exception: " + ex.getMessage());
    //System.out.println(encData);
    int length = encData.length();
    // Get a Socket factory
    SocketFactory factory = SSLSocketFactory.getDefault();
    // Get Socket from factory
    Socket socket = factory.createSocket(address, HTTPS_PORT);
    /*BufferedWriter out = new BufferedWriter(new
    OutputStreamWriter(socket.getOutputStream())); */
    BufferedReader in = new BufferedReader(
    new InputStreamReader(socket.getInputStream()));
    OutputStream out = socket.getOutputStream();
    String xmlEnc = "application/x-www-form-urlencoded";
    String msg = "GET / HTTP/1.0\r\nContent-Length: " + length
    + "\r\nContent-Type: image/gif"
    + "\r\nReferer: www.EDS.com"
    + "\r\nHost: SSLserver.fedex.com"
    + "\r\nAccept-Encoding: image/jpeg"
    + "\r\nAccept: application/x-www-form-urlencoded, image/gif,image/jpeg,image pjpeg, text/plain,text/html/,*/*"
    + "\r\n\r\n" ;
    out.write(msg.getBytes());
    out.flush();
    String line;
    StringBuffer sb = new StringBuffer();
    while((line = in.readLine()) != null) {
    sb.append(line);
    out.close();
    in.close();
    System.out.println(sb.toString());
    }

    I cleaned up the XML (thanks) and re-did using jakarta - still get the 504 Not Allowed....
    public class FedexPost {
          public static String subRequest = "<?xml version="1.0" encoding="UTF-8"?><FDXSubscriptionRequest>     <RequestHeader>          <AccountNumber>1111111111</AccountNumber>     </RequestHeader>     <Contact>          <PersonName>name</PersonName>          <CompanyName>EDS</CompanyName>          <Department>ActiveIdentity</Department>          <PhoneNumber>7037773333</PhoneNumber>          <E-MailAddress>[email protected]</E-MailAddress>     </Contact>     <Address>          <Line1>10 Main St</Line1>          <Line2/>          <City>Anytown</City>          <StateOrProvinceCode>VA</StateOrProvinceCode>          <PostalCode>20175</PostalCode>          <CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>";  
        public FedexPost() {
         * @param args the command line arguments
        public static void main(String[] args) {
            String encData=null;
            try {
               encData = URLEncoder.encode(subRequest,"UTF-8");
            } catch (Exception ex){
                System.out.println("Exception: " + ex.getMessage());
            // TODO code application logic here
            HttpClient httpclient = new HttpClient();
            PostMethod httpsPost = new PostMethod("https://gatewaybeta.fedex.com/");
            httpsPost.setRequestHeader("Connection", "close");
            try {
                httpsPost.setRequestEntity(new StringRequestEntity(encData, "application/x-www-form-urlencoded", "UTF-8"));
                httpclient.executeMethod(httpsPost);
                System.out.print(httpsPost.getStatusLine());
                System.out.println(httpsPost.getResponseBodyAsString());
            catch (IOException ex) {
                System.out.println(ex.getMessage());
            finally {
                httpsPost.releaseConnection();
     

  • HT204053 how do I change the incoming mail server for iCloud?

    How do I change the incoming mail server for iCloud?

    I'm having the same issue.  It says I need to enter one, but the entire box is greyed out, and I cannot select it to manually change it.  I'm so frustrated!!!

  • Configuring Sun Glassfish server for JCAPS6

    Following the directions in Louis Polycarpou's blog at http://blogs.sun.com/polyblog/entry/creating_a_new_caps_6 I was able to successfully configure a fresh install of the Sun Glassfish server for hosting JCAPS6 JBI applications. However, yesterday I sat with a member of our server support team to perform the same process on a test install that they have. The difference between the two is that the installation that I worked with earlier was a standalone server instance. Yesterday we were attempting to configure a cluster environment. We ran into errors with the eventmanager.war deploy. We are confused about what gets deployed to the DAS and what to the cluster (the support team would prefer that nothing be deployed to the DAS).
    I suspect that our error is related to the install.properties file, especially the following 2 entries:
    # The name of the server
    caps.target=server
    # Optional: name of a cluster target
    caps.cluster.target=
    For the standalone server this was obvious; leave as is. But for the clustered version, what should be the value of caps.target? Leaving it as 'server' means deploying to the DAS (and resulted in an error). Should it be set to the cluster name, same as caps.cluster.target?
    Can anyone shed any light on this?
    Thanks,
    Dave

    I saw you post when was trying to figure out why it doesn't work.
    I'm using this distribution:
    602225157 java_es-5u1-ga-linux-x86.zip
    [root@ Linux_x86]# cat release_info
    Product=Java Enterprise System 5U1
    Date=Mon Aug 20 18:06:10 PDT 2007
    Build=08b
    PatchLevel=000It was bundled with other commsuite packages like directory server. They mentioned that only 32 bit version is supported for Linux, so I assumed 32 version of web-server was ok. Seems like this was a wrong assumption.
    Did you install your web server from different distribution file? Can you check which one you used?
    Roman
    Edited by: Rokka on Aug 3, 2009 12:49 PM

  • How do i Install the Software Update Server for Windows 7?

    How do i Install the Software Update Server for Windows 7? I get an error saying: Can't Install the Software because it is not currently available from the Software Update server.
    I downloaded the software so How do I install it?
    Do I install it all over again or when I have windows open?
    I am using Bootcamp.

    Back up your system drive completely. If you have no backup plan in place, now would be a good time to start. You can use CarbonCopyCloner to make a complete, bootable backup of your system on another drive or volume. After you have done this: download the combo update using the link supplied by Niel and run the installer.

  • How to set up the "incoming Mail server" for google apss account

    how to set up the "incoming Mail server" for google apss account

    The settings are not generic for all webmail accounts, only your office IT department would know what the server address is for their outgoing email server.  You'll have to ask them about it.

Maybe you are looking for

  • WIRELESS CONNECTIVITY--RESET PMU

    Here is the deal with my Powerbook. I have been connecting to my wireless Linksys router no problem for 3 months or more. All of a sudden one day it says I have excellent signal and am connected to the network, but it cannot connect to the internet v

  • Connecting Two WRV200s Wirelessly?

    Due to layout of the house and lack of wire access, need to connect two WRV200's wirelessly. One will be connected to my cable modem and the other will need to provide additional coverage but act as an access point to the net. Can someone tell me how

  • Rookie Mac User Video Import Question

    Hello, I would like to import video clips from a camera as if it were another drive (like I do on a PC). In other words, copy from the camera to a drive location of my choice. Is there a way to do this? It seems I can only import through Final Cut to

  • Reporting urgent

    hi all, i have a material and date i want to create a report that show us that the matrial movemet days let spouse i have a material wich is abilable  came 1 jan 2008 into our us industery. and come new to the industuries.if any user run the reoirt o

  • Error message in CS5

    Since yesterday I have been getting an error message that reads as follows: Owl Orphanage: Photoshop. exe  Unable to locate component This application has failed to start because  VCOMP100.DLL was not found.  Re-installing the application may fix thi