• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 550
  • Last Modified:

OpenLDAP Primary User Group

Hello

I am using openSUSE 11.1 and OpenLDAP.
I added a new user with the following command:

smbldap-useradd -a -u 50002 -s /bin/bash -d /home/vbatch user

I want to change the primary user group, so I tried this command:

smbldap-usermod -g 690 user

But, I get the following error:

Error: sambaPrimaryGroupSid could not be set (sambaSID for group 690 does not exist)

What is sambaSID and why cannot I change primary group for the user?
0
proteus-IV
Asked:
proteus-IV
1 Solution
 
Mike PattonCommented:
Hi there,

Have you confirmed that group 690 exists?  You can also try using the same command but substitute in the group name instead of the GID.

M.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now