LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2012, 12:02 PM   #1
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Samba/Winbind - Could not fetch domain SID


Hi LQ,

I will try to post as much info as I can without giving away any internal info. I use samba/winbind to connect to AD and allow AD user login on our RHEL servers. Recently my new images are giving me an error of "Could not fetch domain SID" when running /usr/bin/net getdomainsid. It is able to look up the SID for the local machine but not for the domain. I have the correct domain specified in my smb.conf file. I have tried running the command in debug mode but am receiving no information to point me in the right direction to start troubleshooting and resolving this.

Is there anyone out there that has run into this sort of an issue with samba or can give me some pointers on some tools I can use to start to diagnose this? I should also put out there that I have very little exp with samba/winbind.

Thank You!
 
Old 04-27-2012, 03:18 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Original Poster
Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
145 views and no response, this seems to be a mystifying error. Anyone have some resources they can point me to?
 
Old 09-26-2018, 09:22 PM   #3
ReinaldoGomes
LQ Newbie
 
Registered: Jul 2016
Posts: 15

Rep: Reputation: Disabled
Question

Just for the record, my situation is probably a little bit different, but I'm struggling with this error too:

I join my AD domain using realmd/sssd;
Then I configure Samba;
It works fine if I set "security = user", but if I set "security = ads", smb.log shows: could not fetch domain SID;

The way I've found to workaround this, was leaving the domain, then joining it with realmd/winbind, then leaving the realm again (because my authentication won't work when I join the domain with realmd/winbind), then joining with realmd/sssd again.

This will make the domain SID mystically appear on wherever it goes to, and also make my AD-integrated authentication work for Samba.

Now I'm still trying to figure out why is it that joining the domain with realmd/winbind gets me the domain SID, while joining with realmd/sssd doesnt.
 
  


Reply



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
Samba Winbind and 2003 domain carnold SUSE / openSUSE 0 08-26-2005 05:53 PM
winbindd cannot fetch SID for our domain DaddyBad Fedora 2 10-04-2004 01:51 PM
Slackware + SAMBA + WinBind + NT Domain = 3 day headache enkrypter Slackware 4 04-15-2004 10:23 PM
Samba + Winbind + Domain Users group wheeliemonster Linux - Networking 0 01-27-2004 09:56 AM
samba :Failed to fetch domain database : NT_STATUS_ACCESS_DENIED sanjayid Linux - Networking 1 12-31-2003 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 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