0

Is it possible to add or edit posix group data to affect the gid for use in Goodle Secure LDAP? I am attempting to align workspace groups with existing user groups to transition away from on-prem ladp servers.

Tried working with and leveraging the google cloud posix group instructions with no success. Code is of the following form;

request = service.groups().get(groupKey='some_group_name')
response = request.execute()
grpId = response.get('id',[])

grpInfo = {
  "posixGroups" : [
    {
      "name" : group_name,
      "gid"  : group_id,
    }
  ]
}
request = service.groups().update(groupKey=grpId,body=grpInfo)
response = request.execute()

0 Answers0