Solved

OpenLDAP Primary User Group

Posted on 2014-04-15
1
499 Views
Last Modified: 2014-04-29
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
Comment
Question by:proteus-IV
1 Comment
 
LVL 1

Accepted Solution

by:
Mike Patton earned 500 total points
ID: 40028698
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question