search for: lsaquery

Displaying 13 results from an estimated 13 matches for "lsaquery".

2002 Jul 31
1
tough problem joining test domain
...I've set the SID to be the same as that in my non-test domain (since I want to be able to move user profiles from test to the production domain). My test domain controller is acting sort of like a BDC for the production PDC except it is the domain master for a different domain. rpcclient $> lsaquery domain LAUELAB_TEST has sid S-1-5-21-1995982474-3671514283-3045899775 rpcclient $> lsaquery domain LAUELAB has sid S-1-5-21-1995982474-3671514283-3045899775 but I can't join the test XP machine to the test domain. here is that bit of the log [2002/08/01 01:40:23, 2] auth/auth.c:check_ntlm_...
2002 Jun 06
1
Re: Domain SID for BDC
On Thu, 6 Jun 2002 Volker.Lendecke@SerNet.DE wrote: > One thing that struck me today is the fact that if you copy the > secrets.tdb to another machine, smbd will generate a new SID for the > machine and hand this out on lsaquery. The only way to create a working > BDC with 2.2.5 is to manually generate a MACHINE.SID from the PDC with > rpcclient/lsaquery, copy this over to the BDC with no secrets.tdb and > then start smbd on the BDC. It will then suck the MACHINE.SID into a > secrets.tdb and delete MACHINE.SID....
2003 Jul 07
1
Migrate NT PDC to SAMBA PDC
...s, policies and profiles to be migrated " Samba-3 set up as a DC with netlogon share, profile share, etc. The Account Migration Process 1. Create a BDC account for the samba server using NT Server Manager a) Samba must NOT be running 2. rpcclient NT4PDC -U Administrator%passwd a) lsaquery b) Note the SID returned 3. net getsid -S NT4PDC -w DOMNAME -U Administrator%passwd a) Note the SID 4. net getlocalsid a) Note the SID, now check that all three SIDS reported are the same! 5. net rpc join -S NT4PDC -w DOMNAME -U Administrator%passwd 6. net rpc vampire -S NT4PDC -U a...
2003 Apr 24
1
intermittant problem with samdump and vampire
...NT4 BDC and attent to add samba BDC. I am following the brief section 28 of the Samba-Howto collection for samba head/3.0. * Adding the samba server as a BDC from NT server manager seems OK * Getting, recording domain sid is ok (see below) > rpcclient NT4PDC -U Administrator password: > lsaquery domain IMAGERIE has sid blablabla > net rpc getsid -S NT4PDC -w DOMNAME -U Administrator password: Storing SID blablabla for Domain IMAGERIE in secrets.tdb > net getlocalsid SID for domain PELICAN is: blablalba where blablabla has the expected format and has the same value obtain...
2002 Jul 14
1
PDC Migration to Samba
...first time. We've never used roaming profiles, they're all local because all our clients are set up very differently. Steps taken to migrate users: 1. Extracted user and machine accounts from NT4 PDC using pwdump2 to generate smbpasswd. 2. Obtained domain SID from NT4 PDC using rpcclient lsaquery and placed in MACHINE.SID. 3. Matched /etc/passwd to smbpasswd (user and machine accounts). Globally changed uid's on all files on Samba box to match uid's from NT4 PDC. 4. Added PDC stuff to smb.conf. 5. Deleted secrets.tdb. Switched off NT4 PDC and restarted Samba. Log on from client as...
2000 Apr 18
1
rpcclient Shutdown
...connect to the remote NT4.0 Wks, but the list of commands that I have access is only regenum regdeletekey regcreatekey regquerykey regdeleteval regcreateval reggetsec regtestsec ntlogin wksinfo srvinfo srvsessions srvshares srvconnections srvfiles lsaquery lookupsids enumusers ntpass samuser samtest enumaliases samgroups quit q exit bye help ? ! I was underthe immpress that there was a SHUTDOWN command which could be issued, but it doesnot seem to be avaibl...
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)
2004 Feb 18
0
[Old] Clients cannot login into Samba-Domain
...t; domain logon is working again So I figured this must be a SID problem. Like domain-SID != machine-SID. To test, whether this is the problem, I used the following commands but the SID was always the same: net getlocalsid ,domain' net rpc getsid rpclient ,server' -U ,user' lsaquery pdbedit -Lv ,user' For Windows I downloaded the program "getsid", which compares two account-SIDs. getsid \\server 'user-account' \\server 'machine-account' -> with that I checked, if the PC SID was the same as an User SID -> true Summary: - Same Server &a...
2003 Jun 05
0
NT4 to Samba Migration
...that Either no where it is mentioned what smb.conf parameters to be set.. I started doing this by refering to the above chapter 31 1)Created the BDC account in NT using Server Manager According to Howto i have not started Samba 2) #rpcclient NT4PDC -U Administrator%password rpcclient>lsaquery domain WORKGROUP has sid S-1-5-21-2005620710-1318861517-1539857752 rpcclient> 3) #net getsid -S NT4PDC -w WORKGROUP -U Administrator%password i get the error getsid not found??? but i contnued to next step 4) #net getlocalsid [2003/06/05 13:48:08, 0] utils/net.c:net_getlo...
2003 Jun 23
1
Moving Samba installation from one host to another
Hello, last week I experienced some problems when moving a Samba installation from one host to another host. The old system ran Samba 2.2.8 on a SuSE Linux 7.3 The new system is also running Samba 2.2.8 but on Debian Woody The Client Systems are all running Win2K SP1. One is running Win2K SP2. One is running Win98. I moved smbpasswd to the new host. I also made sure that all entries in passwd,
2003 Aug 10
9
DID IT! - Samba 2.2.8a+LDAP+PDC
I am so stoked I just had to share this with y'all. I just "SEAMLESSLY" migrated all of my machines and users over to my new Gentoo Linux Server. I even kept the same: domain name and old PDC NetBios name. The trickiest part was getting all of the users to keep their same profile, but I managed that by cloning the RID and Lanman/NT hashes for the user accounts. Free at last! #
2003 Aug 08
5
PDC Functions
Hi, I am trying to set up Samba as a PDC on our network and having some difficulty. I established a trusted machine account and added it to the domain. Samba will however not release the SIDs needed by our servers working off of it. I get the following message when trying to do a gpresult [microsoft resource kit] LookupAccountSid failed with 1789 I did a grep through samba 2.2.8b and
2002 Jun 05
1
How to switch from NT to Samba transparently?
Hi, I want to switch from our Windows NT server ( which works as our PDC ) to Linux - Samba. Could you advice a step-by-step guide about this process, or is that possible, at all? Can I use Samba as a BDC, convert the user DB and than promote it to PDC? Thanks in advance! Regards; Istvan