Solved

OpenLDAP Primary User Group

Posted on 2014-04-15
1
508 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bash file 10 64
how to print sub line with  sed /awk /perl in bash file 11 63
Intel fortran compiler (ifort) 5 58
check the file dates in unix 14 24
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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