Home Forums Software InstaDMG Command line: add a computer to a OD computergroup

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #371482
    kvschep
    Participant

    I posted this on the Open Directory forum, does anyone here have any ideas?

    [QUOTE][u]Quote by: kvschep[/u][p]I am trying to add a computer to an OD ComputerGroup (to use in a package for InstaDMG :))

    The closest I can come is using dseditgroup:

    [code]dseditgroup -o edit -n /LDAPv3/mydirectory.domain.edu -u diradmin -p -a dhcp57-145 -t computer ManagedClients[/code]
    I get:
    ERROR: A Directory Service error occured.
    -12136: eDSRecordNotFound

    I have tried adding a $ on the end of my client name (because it appears there in WGM)

    I have also tried using dscl:

    [code]dscl -append /ComputerGroups/ManagedClients GroupMembership dhcp57-145[/code]
    I get:
    append: Invalid Path
    DS Error: -14009 (eDSUnknownNodeName)[/p][/QUOTE]

    #371936
    kvschep
    Participant

    Thanks!

    The only additional information that I needed was how to authenticate to my OD, here is what the command lookes like:

    [code]dscl -u diradmin -P password /LDAPv3/dir.domain.com append /ComputerGroups/ManagedClients GroupMembership mac18979$[/code] and a similar command for the GroupMembers

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed