search for: getlocalsid

Displaying 20 results from an estimated 333 matches for "getlocalsid".

2005 Dec 05
1
net getlocalsid and net getlocalsid <domain>
Hi, does the output of the two commands really mean that the server FILESERVER is not in the domain?: # net getlocalsid SID for domain FILESERVER is: S-1-5-21-4161338278-3756552359-245403906 # net getlocalsid <domainname> SID for domain <domainname> is: S-1-5-21-2018781741-1218349122-1862352094 Is there another method to check if a server is in a domain? Can I use 'net rpc testjoin' to see if th...
2005 Nov 16
0
a little problem with net getlocalsid
My samba PDC is working very well. I only have an 'theoretical' question (I think). When I run 'net getlocalsid my-pdc', it fails (see below). I think this is because someday the name of my pdc was other! In fact 'net getlocalsid my-old-pdc-name' works! and that output is the same output obtained from running 'net getlocalsid my-domain' (as written on the docs). Please, look at thi...
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 [The PDC machine name is North]: north:~# net getlocalsid SID for domain NORTH is: S-1-5-21-2864586203-3687421127-69847892 north:~# net getlocalsid WARLOCK SID for domain WARLOCK is: S-1-5-21-40322...
2003 Sep 29
1
net getlocalsid: some questions
Hello, Is it possible to get the SID of a domain different than the one your server is in? e.g.: net getlocalsid ==> gives you the sid of the domain your server is in. but suppose you would like to know the SID of another domain. net getlocalsid DOMAIN2 ==> samba3 does not give the SID [root@server root]# net getlocalsid DOMAIN2 [2003/09/29 11:59:04, 0] utils/net.c:net_getlocalsid(414) Can't fe...
2005 Feb 08
1
Domain SID issue
..., and the machines still don't recognize their accounts. So the situation: All machines and domain administrator have accounts at domain sid : OLD-SID Apparently the domain sid has changed to : NEW-SID , I try to set NEW-SID back to OLD-SID with "net setlocalsid OLD-SID", command net getlocalsid returns now : OLD-SID , instead of NEW-SID I restored the groupmapping, so all entries in the groupmap list command show the OLD-SID again, net getlocalsid : returns OLD-SID net getlocalsid <DOMAIN> : returns OLD-SID net getlocalsid samba-machine : returns OLD-SID but : net rpc info target...
2003 Oct 08
0
Ldap PDC NT4 Redhat 9 domain problems
...h = /home/profiles read only = No create mask = 0600 directory mask = 070 [homes] comment = Home directory read only = No [webfiles] path = /usr/local/apache/htdocs Script to build the Group mappings ++++++++++++++++++++++++++++++++++++++++++++++++++++ #!/bin/bash net groupmap add sid=`net getlocalsid|awk '{print $6}'`-512 unixgroup="Domain Admins" type=domain net groupmap add sid=`net getlocalsid|awk '{print $6}'`-513 unixgroup="Domain Users" type=domain net groupmap add sid=`net getlocalsid|awk '{print $6}'`-514 unixgroup="Domain Guest" typ...
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: S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx SID for domain SMALLDOMAIN is: S-1-5-21--xxxxxxxx...
2006 Nov 08
1
BDC nmblookup and net getlocalsid not working
Hi, After lots of struggle and rtfm I finally got most things running, except for 'nmblookup' and 'net getlocalsid' on the BDC. I'm not new to Samba, but plenty more to learn. Here's the setup in summary: system pdc is the PDC on subnet 192.168.0.0, running SuSE10.1, LDAP master, wins server, domain master browser, no iptables; system bdc is the BDC on subnet 192.168.2.0, running SuSE10.0, LDAP slav...
2005 Apr 14
0
net getlocalsid returns hostname as domain && net rpc vampire fails
...sed smbldap-populate from smbldaptools) I used "net setlocalsid" to set my LINBDC SID to the WINNTDOMAIN SID. I registred LINBDC as a BDC on WINPDC. I can join the domain with LINBDC. Samba is not running, and "net rpc vampire -w WINNTDOMAIN ..." fails. When I do "net getlocalsid", I get : domain LINBDC with SID S-1234 (the workgroup defined in smb.conf is WINNTDOMAIN). when I do net getlocalsid WINNTDOMAIN, I get : domain WINNTDOMAIN with SID S-1234 (the same SID as above) as a response from the WINPDC. WINPDC and LINBDC have the same SID, but LINBDC has its hostnam...
2005 May 03
0
net getlocalsid problem ???
...tly migrating from win2000 to linux ( samba 3.0.10-1.4E ). Domain = TESTDOMAIN Windows Box Name = TESTPDC Linux Box = LINUXPDC I have joined the windows pdc from the linux box. Next I use: net getsid -S TESTPDC -W TESTDOMAIN which puts my SID in secrets.tdb. All is fine here. Next I use net getlocalsid which gives me an error so I use net getlocalsid TESTDOMAIN which gives me the correct SID. I then use net setlocalsid <SID INSERTED HERE> which sets the SID as expected. I then use net getlocalsid which gives me: SID for domain LINUXPDC is: S- ..... etc Does anyone know why this is sh...
2004 Aug 25
1
"net setlocalsid" question
.... 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. But when I issue "net groupmap list" all the SID prefixes still show the old SID. Did I do something wrong? Did it not work since I have another instance of Samba running? Is this something to be alarmed about? Also, if I do "net g...
2005 Nov 05
1
Understanding Documentation about BDC in HowTo Collection
...domain SID with the newly created BDC SID. There is a procedure that will allow the BDC to aquire the domain SID. This is described here. To retrieve the domain SID from the PDC or an existing BDC and store it in the |secrets.tdb|, execute: |root# |*|net rpc getsid is this enough, because net getlocalsid gives SID of DOMAIN MYDOMBDC is s-1-5-21-.... which is not the same like the SID of MYDOM. net getlocalsid MYDOM gives the right SID on BDC. on PDC "net getlocalsid" and "net getlocalsid MYDOM" produces the same SID so should i also do "net setlocalsid <SID_OF_MYDOM&gt...
2004 Apr 18
1
No local SID -- net getlocalsid fails
Hi, I'm trying to get Samba 3.0.2a running on a redhat 9 system. No matter how long I leave samba running it fails to generate a local SID for my network and I'm stumpped. The following is a dump of my smb.conf [root@omega samba]# net getlocalsid [2004/04/18 14:59:21, 0] utils/net.c:net_getlocalsid(422) Can't fetch domain SID for name: OMEGA Regards John [root@omega samba]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Loaded services file O...
2005 May 13
0
Weird 'net getlocalsid' problem (Samba + LDAP)
...FC3 x86_64 version). I'm following the instructions on the IDEALX site. I've done this before with older versions. It appears some things have changed in LDAP, Samba, and the smbldap-tools, but for the most part the procedure is the same. The problem I'm getting is with the 'net getlocalsid'. When I run this command, I get the usual output. However, it always says the SID for the Hostname, not the Domain. Even when the smb service is running in domain controller mode, I can't get any output from 'net getlocalsid DomainName'. I get the following response: "Can&...
2006 Mar 07
1
getlocalsid error
I am trying to integrate Samba version is 3.0.10 with Fedora Directory Server (1.0.1) on RHEL 4. I am attempting to follow: http://directory.fedora.redhat.com/wiki/Howto:Samba but I am getting an error with net getlocalsid. The output is: [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850) failed to bind to server with dn= cn=Directory Manager Error: Can't contact LDAP server (unknown) [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155) smbldap_search_suffix: Problem du...
2015 Dec 15
2
How can I change the localSID for a SAMBA Server?
Hi Marc, We are working on building a Standalone Samba server on Ubuntu 14.04 LTS. Thanks, Byron On Dec 15, 2015 5:12 AM, "Marc Muehlfeld" <mmuehlfeld at samba.org> wrote: > Hello Byron, > > Am 14.12.2015 um 23:47 schrieb Byron Bogaert: > > I am trying to change the localSID for a SAMBA server, however I am > unable > > to. I have tried the command
2005 Jul 08
0
net getlocalsid can't fetch domain SID?
I'm running into an odd problem with my installation of samba, version 3.0.13. Samba is configured to use the tdbsam backend and is running as a PDC. The issue is that samba can't seem to report its SID correctly: # net getlocalsid [2005/07/08 12:27:30, 0] utils/net.c:net_getlocalsid(494) Can't fetch domain SID for name: DOMSERVR but, running an alternate command: # net rpc info Domain Name: DOMHQ Domain SID: S-1-5-21-bunchofnumbersidontwanttoshare ;) Sequence number: 1120840046 Num users: 66 Num domain groups: 10 Num l...
2006 Apr 21
0
net getlocalsid Segmentation Fault
I try to configure SAMBA PDC + LDAP on my FC5 following the Samba By Example Document, but when i execute the *net getlocalsid* command i get an *Segmentation Fault*. [2006/04/21 18:36:05, 0] lib/smbldap.c:smbldap_search_suffix(1346) smbldap_search_suffix: Problem during the LDAP search: (unknown) (Time limit exceeded) [2006/04/21 18:36:05, 0] passdb/secrets.c:secrets_init(67) Failed to open /etc/samba/secrets.tdb [...
2007 Apr 13
0
Net getlocalsid error samba+ldap
I have a last problem to finish my samba+LDAP installation. When I do net getlocalsid is get this error: pdb backend ldapsam:ldap://127.0.0.1 did not correctly init (error was NT_STATUS_INVALID_PARAMETER) Warning: could not open passdb - local sid may not reflect passdb backend knowledge (such as the sid is stored in LDAP) SID for domain xx is : S-1-5-21- blah-blah-blah I can con...
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: S-1-5-21-4174501313-1202754954-1084205825 SID for domain MY_DOMAIN is: S-1-5-21-4174501313-1202754954-...