LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-27-2018, 03:15 PM   #1
jxfish2
LQ Newbie
 
Registered: May 2003
Location: Tampa, FL
Posts: 7

Rep: Reputation: 0
How to remove "domain\" from UserID and GroupID using Active Directory.


First, let me say that Active Directory is setup and working with all of our internal servers.

However, when we login to any of our Linux servers, the UserID and GroupID's are displaying the short domain name as a pre-fix to the local UserID and GroupID.

Here's an example:

Domain Name: DOM.com

Filesystem ownership:

cd /home
ls -l
-rw-r--r-- 2 DOM\userID DOM\group name 195 Sep 27 16:22 TestFile

When attempting to run scripts against such an ID, you can not easily parse out the special characters or blank spaces.

Can anyone tell me how to remove the "DOM" in this case?

I want to see UserID and GroupID, I do not want to see DOM\UserID and DOM\GroupID.

I found this command in another thread, but by itself, it does not seem to make any difference:

authconfig --enablewinbindusedefaultdomain --update

It runs without any errors, and it restarts the WinBind process, but the UserID and GroupID do not change.

The "DOM" prefix is still here.

Any help would be greatly appreciated.

JCF
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authenticate Linux to Active Directory ("getent passwd" not working, "getent hosts" working) asad_raza5 Linux - Server 1 07-16-2018 01:36 AM
Active Directory authentication for ssh without "net ads join" (just with search acc) grayFalcon Linux - Server 2 05-23-2011 01:30 AM
[SOLVED] mod_authz_ldap + Active Directory: "require group" not working? quanta Linux - Server 2 02-11-2010 11:46 AM
Large # of "Active UNIX domain sockets (w/o servers)" + network stalls jdavidow Linux - Networking 5 11-11-2007 10:05 AM
Authenticating to Samba share using "Active Directory Server" hlslaughter Linux - Software 36 07-23-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration