Incorrect ouput of "groups" command

I setup iDS 5.1 server on Solaris 9 and client on Solaris8. I created one account (user1) and add it on 2 groups, but I could not get right output by running "groups" command, it only was displayed that this account just exist on one group (primary group). Please help, thanks in advance.
Here is the output on iDS client.
# cat /etc/nsswitch.conf
passwd: files ldap
group: files ldap
# su - user1
$ id
uid=10001(user1) gid=1699(GD699)
$ groups
GD699
# ldaplist -l group GD499
dn: cn=GD499,ou=group,dc=cig,dc=mcel,dc=mot,dc=com
gidNumber: 1499
objectClass: top
objectClass: groupofuniquenames
objectClass: posixgroup
cn: GD499
description: CoE group
uniqueMember: uid=user1,ou=People, dc=cig,dc=mcel,dc=mot,dc=com
uniqueMember: uid=user2,ou=People, dc=cig,dc=mcel,dc=mot,dc=com
BTW, another thing strange really confused me, I also installed "ypldapd" (PADL/LDAP gateway )on Solaris 8 client, the output is right if I added "nis" on "group" line in /etc/nsswitch.conf.

At first I tried to set LC_ALL to ru_RU.UTF-8, but the result of sorting was still wrong.
The locale settings are in /usr/share/locale/, and /usr/share/locale/ruRU.UTF-8/LCCOLLATE is a symlink to a latin collation, which does not work for cyrllic characters, of course. You can consider this as bug, I guess.
/usr/share/locale/UTF-8/ does not have LC_COLLATE, so it is equivalent to LC_COLLATE=C, which means sorting strings by considering each string as an array of unsigned bytes, or sorting according to the Unicode code points. This usually gives the correct collation. export LC_ALL=C should have worked as well.
Setting LC_ALL (or LC_TIME) to ru_RU.UTF-8 has an effect that the date is output in Russian. for example:
$ export LCALL=ruRU.UTF-8
$ date
среда, 17 марта 2010 г. 02:45:07 (JST)
$ ls -ld /
drwxrwxr-t 31 root admin 1122 14 ноя 22:24 /
If you want to keep this behavior, then set only LC_COLLATE to C
$ export LCALL=ruRU.UTF-8
$ export LC_COLLATE=C
or create an alias like
alias sort='LC_COLLATE=C sort'

Similar Messages

  • Sharing group command

    Is it possible to share group commands?
    I'm sure somebody, somewhere mapped all EXS24.

    Here is my layout for an Evolution UC-33 plus a Roland FC-300:
    Uploaded with ImageShack.us
    How to set LFO1 Rate:
    Uploaded with ImageShack.us
    How to set CutOff:
    Uploaded with ImageShack.us
    All quite simple.

  • Group command

    How would I find the groups for 4 users? I can type in the 'group' commandfor myself but want to build a script that will give me each persons name and all the groups they are in.
    I am on a Solaris 7 os.

    I'm not sure if I have your question right, but the "groups" command takes a list of users as the argument list. Example:
    $ groups bin sys adm
    bin : bin sys
    sys : sys
    adm : adm sys tty lp
    That shows the group memberships of a number of default users.
    Alan
    Sun Developer Technical Support
    http://www.sun.com/developers/support

  • Can not delete the ip igmp join-group command on NX2Ks.

    Hi,
    I have 1 NX5K & 1 NX2K (FEX) and configured PIM on them -Release 5.2(1)N1(1).
    I configured on the NX2K's ports the ip igmp join-group command to statically bind a multicast group to an interface. The multicast PIM works fine but when I try to remove the ip igmp join-group command on any interface because not all should have this command, I cannot.
    I have not found any  bug on the 5.2(1)N1(1) version related to this behavior and the released notes not mentioned anything about this.
    Any ideas...!?
    -Sergio

    Hello Sergio
    FEX ports are meant to be L2 ports only and hence you should not be allowed to configure "ip igmp join-group" but looks like we do allow it which is a bug.. I will see if there is one filed for it and if not file a new one.
    Thanks
    -Prashanth

  • Variable Error: Z**** incorrect. Cube group Z***** not expected

    Hi All,
    When i ran the report i am getting the below error.
    Guys please help .
    Variable Error: Z**** incorrect. Cube group Z***** not expected
    Thanks,
    Giri

    Hi Giri Prasad  
    why are asking same question 2 times
    1. BW
    2. BEx.
    Variable Error: Z**** incorrect. Cube group Z***** not expected
    Please look at the thread delete the one thread.
    Thanks,
    Phani.

  • Members of Domain Local Groups not showing up through net group command

    Hello,
    I am trying to get the list of members in a Domain Local Group using "NET GROUP" command, but unable to get the member list.
    I get the message "group not found", whereas members of Global Groups  are visible.
    Thank you in advance !

    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription. 
    This is only one forum among the many that are on the TechNet Discussion Forums, and given your post, you likely chose the wrong forum. 
    This is a standard response I’ve written up in advance to help many people (thousands, really.) who post their question in this forum in error, but please don’t ignore it. 
    The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums
    are also here: http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the
    MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize! 
    Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem
    you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have
    a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks
    MSDN and TechNet Subscriptions Support
    Did Microsoft call you out of the blue about your computer?
    No, they didn't.

  • Channel-group command

    Could someone point me to a link about information about this command besides its options and such. If you dont know of a link but know the command, some of the questions I'm having include:
    (1) what are the benefits of this command and why would you use this configuration?
    (2) What platforms will this work for?
    (3) If using between two switches and lets say you have four fiber links between the two, can you put three of the links into a channel-group and leave the other link out of the channel-group?
    (4) Do the interfaces in the channel-group have to be in the same slot (same switching module) to be in a channel-group?
    (5) Again, if you have two switches connected by four fiber links and you put each side of interfaces in a channel-group, do both sides have to be the same channel-group number?
    (6) Neglecting that it is a hardware or line problem, what might be the reason for some of the interfaces in a channel-group to come up while others dont assuming that all the interfaces are configured exactly the same?

    (1) what are the benefits of this command and why would you use this configuration?
    >> channel-group x mode is an interface configuration to group identical interfaces in a combined logical interface, think of it as small pipes being combined to create a bigger pipe so that you can have more flows.
    (2) What platforms will this work for?
    >> channel-group is specific to catalyst running IOS like 2950, 2955, 2960, 2970, 3550, 3560, 3750, cat4000 with sup II+ or above, cat6000 with sups running Native IOS. For catalyst running it will be "port channel" command.
    (3) If using between two switches and lets say you have four fiber links between the two, can you put three of the links into a channel-group and leave the other link out of the channel-group?
    >> yes, by virtue of channel it will have a lower cost than the single interface therefore STP will block the single interface because it has a higher path cost to the root (STP can be discuss in a separate discussion).
    (4) Do the interfaces in the channel-group have to be in the same slot (same switching module) to be in a channel-group?
    >> No it does not have to be but they have to be identical. You cannot channel two ports where one is 100 MB and the other is a gig port.
    (5) Again, if you have two switches connected by four fiber links and you put each side of interfaces in a channel-group, do both sides have to be the same channel-group number?
    >> NO, channel group have local significance. If on switch A port 1 and 2 are in channel-group 1 and port 1 and 2 are connecting to port 3 and 4 of switch B. In switch B port 3 and 4 can be in channel-group 2 or 3 or 1 if you want to keep them the same for administrative sanity.
    (6) Neglecting that it is a hardware or line problem, what might be the reason for some of the interfaces in a channel-group to come up while others dont assuming that all the interfaces are configured exactly the same?
    >> cabling not right, interfaces in the same channel group are not alike, problem with the other end, or bug but this seldom is the case.
    Please rate helpful posts.

  • Pri-group command

    Hi;
    I'm trying to configure my E1 controller on 2621XM router with having IOS (c2600-ipvoice-mz.123-7.T10.bin), but it's not showing in the controller configuration mode!!
    please help how to enable it? and/or if there is some specific IOS release to support this command pri-group timeslots ...!
    thanks

    If you have a voice feature set the command should appear if you have the correct hardware.
    Do you have a DSP card in your router?
    Do a show diag and show voice dsp, maybe post the results if you're unsure...
    Aaron

  • Trunk-group command under controller T1 in which IOS is available

    Hi All,
    Quick question, I would like to know if the trunk-group under the controller t1 is available in the 15.T train currently I have the following IOS
    152-2T
    153-1T
    and neither IOS have the command. But in the 15.M train (151-4M) I have it.
    Basically what I want to accomplish is to reserve 2 B channels for Emergency calls, something like this:
    controller T1 0/0/0
    pri-group timeslots 1-24
    trunk-group Emergency timeslots 1
    trunk-group Standard timeslots 2-24
    Thanks in advance
    Regards
    Carlito

    Hi,
    The Chris is right, if you did not declare the trunk group before, he'll be available at the interface T1 Pri.
    Ex:
    trunk group Emergency
    hunt-scheme longest-idle both
    controller T1 0/0/0
    pri-group timeslots 1-24
    trunk-group Emergency timeslots 1
    Regards.
    J Rosa

  • GETTING THE OUPUT OF UNIX COMMAND THROUGH JAVA

    Hi Guyz...
    Please help me in the below code...
    My intention is to print the output of Unix command through a java program.
    The Java program resides in the Unix Server only.
    I have written the below java code , but its not returning any values....
    String s1= "ls -lt $APPL_TOP/patch/115/odf/jtfgh.odf";
    Runtime r = Runtime.getRuntime();
    Process p= r.exec(s1);
    StringBuffer ret=new StringBuffer();
    InputStream in = p.getInputStream();
    int c;     
    while ((c = in.read()) != -1)
    {                  ret.append((char)c);       
    }     in.close();
    out.println("OTUPUT : "+ ret.toString());
    Can you please help me in this by debugging the existing code or giving me the exact code??
    IT IS URGENT FOR MY PROJECT!!!!!!!!!!!!!!!!!!!!!!!!!!!
    PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Since you are expecting the shell to expand the environment variable you need to use
    String[] s1= {"sh","-c","ls -lt $APPL_TOP/patch/115/odf/jtfgh.odf"};
    Also, you should read, digest and implement the recommendations of
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .
    P.S Your urgency is not my problem and SHOUTING IS CONSIDERED VERY RUDE!

  • NTP access-group command

    Gday All,
    If I apply the configuration to my router
    ntp access-group peer NTP_ACL
    Will this mean that my router can still be quieried, from any source, for NTP and can only query the servers allowed in NTP_ACL?
    If I apply the configuration to my router
    ntp access-group serve NTP_ACL
    Will this mean that my router can query any router for NTP updates and only restricted hosts can query my router for NTP updates?
    Any feedback is greatly appreciated.

    Thomas
    You would think that this is the way that it would work. But my experience is that if you apply one of the ntp access group functions that it will apply both types of filtering - and the function that does not have any permits will not allow that access. So my advice is that if you will apply one ntp access group that you should apply both.
    HTH
    Rick

  • Adobe Acrobat listed incorrectly - Group Reviews

    Adobe has incorrectly listed the "Group Reviews" support for Adobe Standard vs. Professional.
    My use case:  Create a group review document with an internal server.  Store the document on my hard drive.  Then send by email to all other users who have "Adobe Reader" to comment and publish comments on the internal server.
    My experience prior:  I downloaded Adobe professional for a trial version.  I actually tried to first download the standard version first but was unable.  The professional version supported what I wanted to do.  And the "comparison" between products online showed that they both supported the shared reviews feature.
    Problem:  I then purchased standard.  I wasted half a day at work trying to get Standard to work for group reviews.  Finally - I downloaded a trial (again) of Adobe Professional and found that I could run group reviews.  The difference is subtle - the professional version can allow me to send "comment enabled w/ publishing to an internal server" documents to my colleagues over email.  It's not supported for standard.
    Result:  I wasted over half a day trying to get this to work.  If the product comparison had been listed correctly I would have purchased Acrobat Professional in the beginning.
    Further insult to injury:  When calling to have my product returned (twice) I've been waiting on hold for over 10 minutes before hanging up.  When I tried calling sales instead I was placed with someone right away.  So far I've spent over 45 minutes on the phone and online with Adobe trying to sort this out. 
    Conclusion: My opinion of Adobe Support and Marketing has severely been damaged by this experience.  I seriously think that anyone who encounters this type of experience will be (1) extremely wary of Adobe and (2) do everything possible to avoid calling their support lines.

    Further insult (via chat support):
    Temjenlong: Well in that case I request you to contact the reseller.
    ME: Did you look up the order number? [After providing all the product information]
    Temjenlong: For returning the product please contact the reseller.

  • ISE 1.2 - cannot delete AD group

    Hi all,
    I have a standalone node, ISE 1.2, in our lab which is joined to the AD.
    By accident I added an invalid AD group, and when I try to delete the group and "Save Configuration", the ISE responds:
    "Error: One or more of the groups being deleted are referred to by Authorization Policy Conditions."
    However I cannot find any references to this group among the authorization policy conditions - so how can I remove the group?
    Kind regards,
    Lennart

    Walfors,
    I know what you're saying. While deleting a newly added AD group. you're getting below listed error even though the group is not referred or called inside any rule or policy.
    Error: One or more of the groups being deleted are referred to by Authorization Policy Conditions.
    It seems like a cosmetic defect
    CSCug13042    error message incorrectly indicating AD groups are mapped to a policy
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

  • Solaris Management Console doesn't show user's groups

    Hello friends:
    I am using Solaris 10 under Sparc.
    i am having some problem with Solaris Managemen Console
    With users -> users accounts -> edit a user
    when i click on Groups TAB i can read:
    The groups can not be listed. You can ....
    It has been running, but sice 1 day ago it doesn't...
    We don't use NIS or LDAP, only files.
    /etc/nsswitch.conf is nsswitch.dns
    groups command runs ok
    cd /etc
    ruben@laika:/etc$ ls -l nsswitch.*
    -rw-r--r-- 1 root sys 1120 Apr 8 13:08 nsswitch.conf
    -rw-r--r-- 1 root sys 1120 Jan 21 23:29 nsswitch.dns
    -rw-r--r-- 1 root sys 757 Jan 21 23:28 nsswitch.files
    -rw-r--r-- 1 root sys 1248 Jan 21 23:29 nsswitch.ldap
    -rw-r--r-- 1 root sys 1228 Jan 21 23:28 nsswitch.nis
    -rw-r--r-- 1 root sys 1558 Jan 21 23:29 nsswitch.nisplus
    ruben@laika:/etc$ groups ruben
    users
    ruben@laika:/etc$
    Where could be the problem?
    How could i reinit solaris management console server.
    Solaris has been restarted a lot of times without result :(
    Thank's

    i have reinstalled solaris and the problem continues.
    Under Solaris Management Console groups and users doesn't run ok. Editing an user i can't see groups and editing groups i can't see its users...very very extrange.
    A bug?
    I don't know what is happening :(

  • Change Excise Duty Group on the Material Master

    What are the steps to change the excise duty group in the Material Master (MARC- OITAXGRP)? I am getting a message 'Excise duty tax group cannot be changed due to posted stock'.
    We realised some of materials have been setup with incorrect excise duty group at a few plants and there have been a lot material movements posted (101s, 301s). But is the best way to fix this?
    Do we have to reverse all the documents or is it good if we zero the inventory and then it will allow us to change?
    Is a direct table update of the table an option?
    Please advice.
    Thanks in advance
    Srini

    you can't change the excise duty group if there is a stock for the material.
    there is a steps that you need to follow if you inisist to change:
    - zerorize the stock in the current period (all stock types)
    - zerorise the stock in previous period (all stock types)
    - then only you can change the excise duty group.
    these steps can only be carried out when the two posting period are still open, so normally you should do it at month end.

Maybe you are looking for

  • Corrupted Event In ical being moved to iphone

    I did a search for issues similar to mine and didn't see anything so here is the issue I have an iphone 3g and a macbook pro I deleted an event on my iphone a few months ago and then today when adding a new event on that day I noticed that the event

  • Multiple (old) iTunes Library files found on my external, what to do?

    My external drive (which I once used as the location for my iTunes library to save space on my old iMac but with my new computer hard drive space is not an issue and I have my iTunes folder on my native, internal drive) has *my old* iTunes folder wit

  • Using Media Widgets in iBooks Author

    I'm writing an eBook in iBooks Author (which is a great Mac App!). I am adding audio widgets from time to time, and want to place them in the text next to a specific paragraph. However, I have discovered that if I try to include a second audio widget

  • My keyboard not working

    Dont know what went wrong,but my keyboard stop working...only few letters works...like I U and Numbers...i have never see this type of promblem before,anybody has an idea what went wrong?

  • I got problem with my network after I switch the SIM card.

    I've go back to china in my summer holiday and of cause switched to a chinese SIM card. But im not able to use any software to get on the internet with it although it does show 3g on the top left coner. everthing else are working fine, i can dail, pi