How to bulk add group members in Open Directory

So the workgroup manager interface is ghey. The + sign to add group members drag&drops users one at a time. I need to bulk add group members.
I tried ldapadd to add all the users quickly and that doesn't seem to work. The ldap group record now has all the users populated, under the multivalued attribute memberUid), but workgroup manager doesn't see the bulk group members.
Any idea how to do this?

Use tcsh SHELL builtin command 'foreach' to accomplish this:
$ tcsh
$ which foreach
foreach: shell built-in command.
$ foreach user (`cat users.txt`)
foreach? echo adding $user to group
foreach? /usr/bin/dscl -u diradmin -P [passwd] /LDAPv3/127.0.0.1 append /Groups/yourgroup GroupMembership $user
foreach? end

Similar Messages

  • How do I Add groups to my contacts and delete a contact once it's in the group

    How do I Add groups to my contacts and delete a contact once it's in the group

    Hello mstern613
    The way the organization works is that it will have an all contacts and then your grouped contacts. You would not be able to just have the grouped contacts with out it being in all contacts. You can organize them on your iPhone by following the steps in the iPhone User Guide.
    iPhone User Guide
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How do I add/delete programs that open on startup?

    how do I add/delete programs that open on startup?

    Also,  Lion starts any open apps on a restart or boot automatically unless you uncheck this option when shutting down.

  • Get Password Expiration Date of Group members in Active Directory

    hi,
    How can I get password Expiration date of Group members in Active Directory – please advise me
    Fasil CV

    Or DSQUERY Commands.
    dsget group "CN=Group1,DC=myinfralab,DC=com" -members | dsget user - -acctexpires
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • How to specify which group members have wiki write permissions

    In the 10.5 Workgroup Manager, Basic tab, there are two drop down boxes after the checked boxes for enbabling wiki, blog, mailing lists, web calendar, et al -
    Allow [group members only | some group members | authenticated users | anyone]
    to write to these services.
    If I select "some group members" how do I actually say which group members? I see nowhere that I can specify that.
    Specifically this is in regards to the wiki.

    Unless I'm missing something, the directory.app only lets me do the same thing the Server Admin does, add people to a group and enable services to that group.
    For example I have a group called Techs, they have a mailing list and wiki.
    Some of the junior techs I only want to have read access, others write access.
    I don't see how I can specify user1 has read only access but user2 and user3 have write access.

  • How do I add a "members only" function to my site?

    Want to add a members only site to my web site, how would i
    configure this in dreamweaver?
    I'm thinking I would create what was to be inside inside then
    somehow configure the link on the main web page to login somehow?
    Any help / pointers are appreciated. Can't seem to get it
    from the manuals.
    thanx

    Hello,
    The easiest way is to just put the pages in a password
    protected directory
    which you can set up in your hosting account. When you click
    a link to one
    of these pages, you'll get a "Enter Username and Password"
    dialog box.
    Just check your hosting account's control panel on your
    host's website or
    contact them.
    If you want a login form on your web page you'll need to look
    into using a
    Server Side Language like PHP, ASP or CF and possibly using a
    database if
    members require unique passwords. Just find out what SSL your
    hosting plan
    supports. It's not too difficult to set up using DW and there
    are many
    tutorials.
    Take care,
    Tim
    "JLOU2" <[email protected]> wrote in message
    news:fo3cjc$cuk$[email protected]..
    > Want to add a members only site to my web site, how
    would i configure this
    > in
    > dreamweaver? I'm thinking I would create what was to be
    inside inside
    > then
    > somehow configure the link on the main web page to login
    somehow? Any
    > help /
    > pointers are appreciated. Can't seem to get it from the
    manuals. thanx
    >

  • How do we add apps to the 'Open With' contextual menu?

    After I updated to Mavericks, all of the apps, except the Apple ones, were blown away (eg. Word and Excel in my VM). 
    How do I put them back?

    'Open With > Other' would not show the apps in my VM.  I tried.
    I tried something different.  I left Word open in my Parallels (Vista) VM and ignored it for a while to see if Maverics would pick it up eventually.
    It did.
    It seems like that it takes some time for Maverics to find the apps in a VM before we can use it in the 'Open With' menu.

  • How to show purchasing group members in the item data of the shopping cart?

    Dear Experts,
    for s shopping cart in SRM 7.0 CS, i have the following business requirement:
    In the item data tab of the line item details, the drop down field for Purchasing group is there. Right to this field, there is also a link called "Show members".
    If i go on this link, than a small table opens that obviously is there to contain such additional information about the purchasers like name, telephone nummber or extension.
    Currently, this small table does not contain any of this additional information for any of the used purchasing groups.
    Can you please help me understand, how and where i can maintain this information in the sytem, so it shows in the shopping cart?
    Thank you very much for your help.

    Hi,
    thank you very much for the answer.
    Actually, the question is not how to create the organizational unit of purchasing group in the PPOMA. This is all done. I just would like to understand, whether there is somewhere a place where i can maintain the name and maybe also the phone number of the buyer himself.
    Thus, i would hope to see these details (i.e. the name and the phone number) in that small table that opens up if i click on the "Show members" link that is situated right to the purchasing group field in the "Item data" tab of the details of the line item.
    Thank you.

  • How can I add a button that opens a new tab?

    How can I quickly open a new (blank) tab without going to File --> Open New Tab. There has to be a button I can add or a box that isn't checked somewhere. I used to be able to click in the blank space in the row of tabs to open a new tab, but with this latest Firefox update, if I click in the blank space now, it just "restores" my browser window.
    To explain further - I know I can middle-click a link to open it in a new window, but if I'm on one page reading an article, and I want to open a new tab to look up a word or map or whatever, I need a faster way to open a new blank tab.

    You are right - there should be and there is on my windows 7 machine but not on my windows 8.1 machine. Firefox add-ins are identical. So how do I get the new tab button back?

  • How do I add family members to my plan?

    I have an existing Verizon Wireless account. I'd like to add my girlfriend and my son to my plan.  Can't seem to find info on how to add them, or what the acual cost will be per month.   And the "live chat" button seems like it is perpetually unable to function.  Getting frustrated.

    Search for Assumption of Liability. That's what you want to do to add them if they are already Verizon Wireless customers. If they are on another carrier, then you would be adding the appropriate number of lines to your account and porting the existing numbers in.

  • How do I add family members to my iCloud account?

    I had 2 accounts under Mobile.Me and am having trouble getting the calendars to sync now between the devices.  How do I accomplish this?

    Hello mawardjr,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iCloud: iCloud storage and backup overview
    http://support.apple.com/kb/PH12519?viewlocale=en_US
    Here’s what iCloud backs up:
    Purchased history for music, movies, TV shows, apps, and booksYour iCloud backup includes information about the content you have purchased, but not the purchased content itself.
    Photos and videos in your Camera Roll
    Device settings
    App data
    Home screen and app organization
    iMessage, text (SMS), and MMS messages
    Ringtones
    Visual Voicemail
    Have a nice day,
    Mario

  • HT204053 How can I add family members to my account?

    I used to be able to add children to  my account, giving them their own email address?  Is that still possible?
    Tim A.

    With iCloud, each family member would need to have their own iCloud account with their own ID in order to have an iCloud email account.  (It's created when you set up the account and turn on Mail syncing.)

  • How do I add team members to my developers account?

    I have a developers account and want to add a new team member to my account.

    Hey there Becca,
    It sounds like you are trying to add one of your devices to your Apple ID in iTunes. There are a couple of ways to do that as outlined in the following article:
    Manage your associated devices in iTunes
    When you turn on iTunes Match, Family Sharing, or Automatic Downloads, or when you download past purchases on your computer, iPhone, iPad, or iPod touch, that device becomes associated with your Apple ID. You can associate your Apple ID with up to 10 devices, with a maximum of 5 computers at any time. Each computer must also be authorized using the same Apple ID. You don't need to authorize your iPhone, iPad, or iPod touch.
    After you associate a device with your Apple ID, you can't associate that device with another Apple ID for 90 days.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • How can I add the Display name on Directory Number

    I created a New Directory NR ( 3131 ) and I put  a  name to Alerting Name/ASCII A Name and on the Forward All
    00xxxxxx, but vhen I call the Directory Nr from a Cisco Phone i see on my display the nr from froward, how can I set up from CallManger to see  the name which I put to Alerting Name/ASCII A Name. The nr 3131 is even in the Avaya system.
    Thanks a lot

    Thanks fro y reply,
    The problem is that the nr. 3131 dosen't have a MAC/IP address, it was created in Directory Nr. not on the Device/add device, the nr was created to be able to call Avaya agents and the user to not see the personal agent nr ( 3131 ), only the name. The problem is  when a place a call the nr from forwarding appears on the display instead the name I put ( Test ).
    Thanks

  • Cannot add shared Contacts in Open Directory from a client

    Hello all
    I need to transfer vCards from a local Address book to the Server and I need them to be shown in each client's Address book.
    *Problem 1:* I cannot add or edit shared contact using the Directory app. from a client to a 10.5.3 Server. Only the Directory Admin credentials are valid. The client 10.5.5 is bound OK. The app is configured to use password, not Kerberos, and the Server is "responding normally" in the Directory Utility application.
    I can even login as a mobile user with Network Home. Same there.
    *Problem 2:* Ive put in Address Book the correct LDAP settings, but I cannot see a catalog of vCards. If I search using the search field, I get results, but I need them to be shown all as catalog.
    Thanks in advance
    Kostas

    This turned out to be a reverse DNS configuration problem. Apple support suggested using a local ip address instead of my public host name. That worked so I looked into the reverse dns configuration. I fooled myself by thinking that if I could reach my host with my.host.com with other services like http, that my DNS was set up correctly. My reverse DNS originally resolved to my.host.com when it should have been something more like 123-456-789-103.cos.pcisys.net. Now I can reach my host from anywhere with the Directory application.

Maybe you are looking for

  • How do you change the size of a picture?

    Product name and number: Photosmart Premium Fax e-ALL IN-ONE C410 series, C410a from SusieQ6

  • Address bar not showing up in Toolbar

    Safari was accidently deleted from my MB pro.  Im running OSx 10.6.8 with safari 5.0.5.  I was able to install it again using the install disk and checked for any software updates but it still is not showing up in my toolbar.  I searched and tried th

  • Photoshop Elements reinstallation

    Friends! I have some problems. Some years ago I bought a tablet wacom along with a software disc of Photoshop Elements with the license keys of versions 4.0 and 5.0. Up to now I used PC(Windows XP) and my computer proposed me to install ver 5.0 only.

  • EBS 12 - Forms not working.

    Hi, We have a EBS-12 running on a windows 2003 EE. For some reason the FORM are not getting loaded. Earlier the FORMS use to work fine, looks like there is something that we have messed up. Not able to figure out exactly what. If i click on the any r

  • Mac 10.8 Color laserjet cp1215

    I have HP color laserjet CP1215 printer (USB) and tried to find a driver for my new MacBook air (OS10.8). I didn't find any. What can I do to print to this printer from my Mac?