Displaying 20 results from an estimated 2000 matches similar to: "net getdomainsid returns two SIDs - how to remove one?"
2006 Mar 08
0
Re: Moving samba PDC to new machine (unable to change domain SID)
So, I followed these directions and got errors in log.nmbd regarding
"domain_master_node_status_fail". There were still entries for the old
server's ip address in connections.tdb, gencache.tdb, locking.tdb and
sessionid.tdb, so I stopped samba, deleted them and restarted. All was
well.
I then changed the SID using "net setlocalsid
2007 Feb 26
7
Duplicate group mappings - which ones to delete?
I'm using Samba 3.0.21b on Debian linux using a tdbsam database as a PDC
for domain ADADOM. I have a problem with duplicate group mappings and
need to delete some, however, I don't know which one is being used. Is
there a way I can find out which ones have no users assigned to them?
Here's the sorted output of "net groupmap list". The last three are the
issue. I only
2015 Dec 14
2
How can I change the localSID for a SAMBA Server?
I am trying to change the localSID for a SAMBA server, however I am unable
to. I have tried the command "net setlocalsid" to no avail. To troubleshoot
I have also stopped the smbd and nmbd services, but this did not help. Any
help would be great!
root at TheWiggle:~# net getlocalsid
SID for domain THEWIGGLE is: S-1-5-21-748580849-194208185-3916830000
root at TheWiggle:~# net
2014 Nov 02
2
SID of member server in Samba domain (smbldap_search_domain_info: NT_STATUS_UNSUCCESSFUL)
I have a domain with Samba 3 acting as PDC, and using LDAP (passdb backend = ldapsam).
I now wanted to add a second Samba 3 machine as a simple file server. I get errors
with getdomainsid and getlocalsid, so there is obviously still something wrong with
my config.
The PDC runs Samba 3.5.6 on Debian Squeeze. Sid queries return:
# net getdomainsid
SID for local machine MY_PDC_HOST is:
2013 Feb 05
0
Samba 3.5 to 3.6
Reading :
http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed
it seems there are options not to check having consistant SIDs.
Otherwise, I used the solution with :
net setlocalsid
and it worked for me.
Jacky
-------------------------------------------
Here, the details of what I did :
BEFORE :
j-carimalo at j-carimalo-desktop:~$ smbclient //172.18.220.10/test -U
j-carimalo
Enter
2013 Dec 17
1
"net getdomainsid" reporting "Could not fetch local SID" -- am I using this command appropriately?
Good evening,
Distro: ClearOS 6.3 (RHEL-derived with a distro-specific web
configuration tool for samba) I'm only about 90% sure it's version
6.3.
Samba version: 3.6.10-1.v6
Intended use: NT4-style PDC for Windows XP clients
Issue:
My distro's "add machine script" uses the output of "net getdomainsid"
to help populate the new machine account's sambaSID field
2010 Jan 13
2
Upgrading from samba-3.0.34 to 3.4.4 - result: domain controller unavailable
Hi.
Today I upgraded samba from 3.0.34 to 3.4.4 without changing anything in
smb.conf but with changing local and domain sid:
old samba 1) net getdomainsid and getlocalsid
new samba 2) net setdomainsid and setlocalsid to ones (both the same)
from 1)
after restarting samba I can't log into domain: XP says : domain
controller unavailable ... I tried to rejoin domain - and I can ;)
however
2005 Apr 07
0
Changed name of domain - accounts have old name
I'm using samba 3.0.11 on Suse 9.2. smb.conf is at the end of this
post.
I created a samba pdc with domain name, "gamidom". This I subsequently
changed to "phoenix" (the same as the server's netbios name). Tried to
add a win2k machine to the domain and got an error regarding the
domain/server name being the same so I changed the name of the domain in
smb.conf to
2005 Feb 08
1
Domain SID issue
Hello
I have a client who historical had a machinename with an underscore
in it : samba_machine
I had to get rid of the underscore names and changed the name
to samba-machine. At the same time I upgraded to samba-3.0.11 to
get a printer queue problem resolved.
Now it seems the Domain SID has changed, so I changed the new SID
back to the old one with net setlocalsid, because on all machines I had
2007 Jul 18
0
Re: samba Digest, Vol 55, Issue 18
What's wrong with WARLOCK?
Just kidding. If you don't like it, change it, but do expect problems.
It's not something you will find a recipee for in a How-to book.
The SETLOCALSID changes only the LOCAL SID, not the
GLOBAL SID, for which we would probably need SETGLOBALSID.
When I faced the same problem, I did something really wrong
but it worked. I copy-pasted the LOCAL SID to the
2007 Jul 17
1
Changing domain name
Hi,
For reasons best known to the IT admin before myself, we currently
have a domain name of WARLOCK. I want to change this. We have about
15 WinXP Pro client machines on the domain as well as a few linux
domain clients.
A bit of reading shows that it should be as simple as doing a net
getlocalsid, making the change, followed by a net setlocalsid.
I started doing this when I noticed something
2005 Nov 19
2
Samba & SIDs
Hi all,
I need help to clear a bit of confusion regarding SIDs on Samba servers.
I had my PDC collapse on Thursday which wasn't too much of a problem as I had
everything backed up but I'm now in the position that I have a mismatched
Domain SID. If I run net getlocalsid I get the sid for the server (called
smb0) and net get local sid <domain> returns the sid for the Domain.
I
2004 Aug 25
1
"net setlocalsid" question
Hi,
I'm a tad confused about something. I've got a production instance of Samba
running. I am trying to get a test version running on the same box, with the
same SID. Without the test server running, I used "net setlocalSID
<oldsid>" (the net binary is the one for the new server). Then when I issued
'net getlocalsid' it returned it. I thought I was fine.
2015 Dec 15
0
How can I change the localSID for a SAMBA Server?
Hello Byron,
Am 15.12.2015 um 21:29 schrieb Byron Bogaert:
> We are working on building a Standalone Samba server on Ubuntu 14.04 LTS.
On my standalone host (Fedora 23, Samba 4.3.1), it's working:
# net getlocalsid
SID for domain DEMO is: S-1-5-21-3979603266-3590286814-3507847034
# net setlocalsid S-1-5-21-3979603266-3590286814-999999999
# net getlocalsid
SID for domain DEMO is:
2005 Nov 05
1
Understanding Documentation about BDC in HowTo Collection
hi list&john,
i read in the documention about BDCs:
The domain SID has to be the same on the PDC and the BDC. In Samba
versions pre-2.2.5, the domain SID was stored in the file
|private/MACHINE.SID|. For all versions of Samba released since 2.2.5
the domain SID is stored in the file |private/secrets.tdb|. This file is
unique to each server and cannot be copied from a PDC to a BDC; the BDC
2008 Mar 26
1
samba3.0.22 - "net setlocalsid" with no effect
Hello again,
Here one more post to get my roaming profiles work.
I want to change the SID of the Samba 3.0.22 PDC following this
description:
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html#id2600168
Results:
first
root# net getlocalsid
<error, which I can't remember or produce>
next step:
root# net setlocalsid SID_WANTED
root#
root# net getlocalsid
SID
2009 Jan 02
2
net getlocalsid: is this a bug?
I noticed the following:
Suppose that we have a server called "SMALLSERVER" working as a PDC for
"SMALLDOMAIN**".
When I enter "net getlocalsid" I get the following output:
SID for domain SMALLSERVER is: S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
But when I enter "net getdomainsid" I get:
SID for local machine SMALLSERVER is:
2009 Sep 12
0
Migration failed. Why ?
Hello,
I just tried to migrate an old samba-server (PDC with tdb) to new hardware.
Old samba : 3.02
New samba : 3.2711.. (according to webmin)
What I did :
I copied smb.conf from old to new. With tdbbackup I backed-up all tdb's
I could find on the old machine, and restored them on the new machine.
I copied passwd, group and shadow to the new machine.
I shut down samba on the old machine.
I
2010 Apr 29
1
PDC: System SID missing / inconsistent with domain SID
Hello,
I recently noticed a problem on our PDC (samba 3.0.32
on SLES 10 SP2) which I kind of know how to solve after
web research but I am unclear about the possible
consequences for our domain and clients.
The situation is this:
Originally samba was set up on this machine to test. Back
then its hostname was infrahostnew, so there is a SID for
that NETBIOS name in secrets.tdb. When the PDC went
2015 Dec 15
5
How can I change the localSID for a SAMBA Server?
Hi Marc,
We are running Samba Version 4.1.6-Ubuntu on Ubuntu 14.04 LTS. Is there any
other specific information you need?
Thanks,
Byron
--
*Byron Bogaert*
*IT System Administrator*
Wikimedia Foundation
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us make it a reality!
https://donate.wikimedia.org
On Tue, Dec 15, 2015 at 12:53 PM, Marc