Solved

OpenLDAP Primary User Group

Posted on 2014-04-15
1
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

688 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