Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OpenLDAP Primary User Group

Posted on 2014-04-15
1
Medium Priority
?
542 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 1000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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.:
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…
Suggested Courses

609 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