search for: getsid

Displaying 20 results from an estimated 92 matches for "getsid".

Did you mean: getpid
2004 Feb 02
0
net rpc getsid fails - help
I am getting the following error: net rpc getsid -S samba1 -W DOMAIN -U Administrator%password [2004/02/02 11:22:50, 0] lib/util_sock.c:read_socket_with_timeout(279) read_socket_with_timeout: timeout read. read error = Connection reset by peer. What could be causing this? ===== Terry __________________________________ Do you Yahoo!? Yahoo! S...
2003 Jul 18
2
Samba 3 Beta3 using LDAP and NT4 Migrate
...ed to use LDAP, installed a test NT4 domain controller and tried the NT4 migration steps (Samba (nmbd, smbd) was not running as per instructions). (1) the LDAP schema changed from Beta2 -> Beta3, this was not mentioned in the release notes. This was relatively simple to fix. (2) the "net getsid" command: net getsid -S NT4PDC -w DOMNAME -U Administrator%passwd does not exist? Is there an equivalent? I skipped this step. (3) "net getlocalsid" returns, none set!. I ran "net setlocalsid" and gave it the SID from "rpcclient NT4PDC -U Administrator%passwd&q...
2003 Aug 08
1
net rpc getsid to a recently patched NT4 machine
the only thing to happen has been the server has had the patch for the windows rpc problem now the responce to a command that has worked perfectly for weeks of testing doesn't ************ work anymore. instead it spews this out [2003/08/08 11:50:31, 0] libsmb/namequery.c:getlmhostsent(588) getlmhostsent: Ill formed hosts line [ > lots of random signs rpcclient vomits this out
2010 Jun 16
2
Transferring PDC responsibility without LDAP
...ove the old. However, an analogous approach would be problematic here, because in Samba going from one DC to two is a massive increase in complexity. (Because of the LDAP requirements) I suspect it might work, in this case, to do what the HOWTO expressly forbids, which is to invoke "net rpc getsid" without configuring LDAP. If I shut down the old server before starting smbd on the new, I should avoid the synchronization risk. The sequence would be: 1. Create configuration file on new PDC broadly similar to the old. 2. Clear out any lingering .tdb files on the new PDC from past test r...
2004 Sep 09
2
Local vs Domain sid using net commands
I am curious. I have joined my 3.0.6 samba server to my NT4 domain. However, when I do a net groupmap list, I notice that the SID of the Samba Domain accounts (i.e. Domain Admins, Domain Guests, Domain Users) is not the same as the sid of the domain that it is joined to, when doing a net rpc getsid. Why is this? Does this mean that the Domain accounts in Samba are not really associated with the domain accounts in the NT4 domain? Thanks, _________________________ Timothy S. Stanley IS Manager K?sters Corporation
2004 Feb 18
0
[Old] Clients cannot login into Samba-Domain
...g usr/pwd) - re-insert the PC into the domain => 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...
2009 Mar 01
2
vlan problem
hello, I want to use a samba server and an ldap server in two different lans. but win xp pc can not join to pdc domain. i ping the ldap server and smbldap-usershow shows the users but the "net rpc getsid" can not fetch sid and coputers can't be added to ldap. any idea?
2006 Apr 21
0
samba 3.0.22 possible bug - sid for bdc
Hello Lads, Problem could be smbldap-tools, im using 0.97. I have manually set the sid on the bdc which seems to work. I am confused because I thought net rpc getsid stored the sid from the pdc on the bdc in secrets. I wasn't aware that net getlocalsid should return identical results on both pdc & bdc. Please explain this - why isnt the BDC obtaining the sid automatic as it should from LDAP. Sorry for posting this again, but I think my last topic h...
2010 Sep 22
2
NT4 Migration
...467996072-351907979-500 does not belong to our domain sid S-1-5-21-1979685110-1467996072-351907979-2998 does not belong to our domain sid S-1-5-21-1979685110-1467996072-351907979-3010 does not belong to our domain This sid is not the one that appears in my ldap sambaDomainName or from the `net rpc getsid ` command. Also when I attempt `netgroupmap list` (point 16) I get: net groupmap list [2010/09/22 15:41:05, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3342) ldapsam_setsamgrent: LDAP search failed: No such object [2010/09/22 15:41:05, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3417) ldaps...
2005 Nov 05
1
Understanding Documentation about BDC in HowTo Collection
...startup. It will overwrite the PDC 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...
2005 Oct 11
1
Samba and Windows 2k SBS
...up domain users root@komp15l:~# id a id: a: No such user # wbinfo -t checking the trust secret via RPC calls succeeded root@komp15l:~# wbinfo --sequence KOMP15L : 1 BUILTIN : 1 MENIS : DISCONNECTED When I remove directories: /var/lib/samba and /var/cache/samba/ and I rejoin to domain: net rpc getsid; net rpc join -U Administrator%password; all works OK root@komp15l:~# wbinfo --sequence MENIS : 8916 root@komp15l:~# until system reboot. I'm depressed, because this is my classroom and I need it to work OK. Please, Help Me.... -- Przemyslaw Adam Smiejek
2007 Sep 07
1
Samba and AD: Strange problem with connection
Hi, I have BIG problem with samba and Active Directory. Usually it can't get sid... But sometimes it works.... And it can connect to AD. Until restart.... net rpc getsid; Unable to find a suitable server sometimes it gets.... --> Storing SID S-1-5-21-232394995-2236763843-2194921025 for Domain SBSMENIS in secrets.tdb I have to make many tries to join to AD... And then it works... Until restart. samba 3.0.24-2ubuntu1.2 winbind 3....
2010 Jun 10
0
No subject
...ove the old. However, an analogous approach would be problematic here, because in Samba going from one DC to two is a massive increase in complexity. (Because of the LDAP requirements) I suspect it might work, in this case, to do what the HOWTO expressly forbids, which is to invoke "net rpc getsid" without configuring LDAP. If I shut down the old server before starting smbd on the new, I should avoid the synchronization risk. The sequence would be: 1. Create configuration file on new PDC broadly similar to the old. 2. Clear out any lingering .tdb files on the new PDC from past test r...
2018 Mar 08
3
LDAP BDC- Classic Domain
...is working using the smbldap tools - Setup the LDAP in BDC exactly like the PDC, including the ldifs. - Copy the /etc/passwd and /etc/groups from PDC to BDC - Remove the contents of the /var/lib/samba in BDC - Run the smbpasswd -a in BDC - net rpc getsid in BDC - Do we need join the BDC to the domain? If so , does the smb.conf in BDC will only have the following in the smb.conf before the join? The confusion on my part is if the machine is already a BDC with smb.conf stuff does it have to be added to the domain? workgroup = LIN ne...
2006 Apr 18
1
Scenario 0 ¡V SAMBA 3.0.22
...AP database: Slapcat ¡Vv ¡Vl backupallusers.txt. Both my PDC & BDC have been rebuilt from scratch, I slapadd ¡Vv ¡Vl backupallusers.txt and I net set localsid domainsidhere for the PDC << I get that from the backupallusers.txt. Smbpasswd ¡Vw secret < on both PDC & BDC Net rpc getsid < on the BDC; Storing domain sid in secrets¡K Now net rpc getsid gets the domain sid from the PDC. I then slapadd ¡Vv ¡Vl backupallusers.txt on the BDC. I create a new test account on the PDC and replicates to the BDC as expected. The user can login to windows workstation connected to the do...
2003 Jun 05
0
NT4 to Samba Migration
...g 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_getlocalsid(388) Can't fetch domain SID for name: PRUTHVI i contnued :-( ...by setting local SID...
2002 May 01
3
scp 3.1p1 problem on Solaris
...alled - When I'm trussing this scp process, I find that the following output repeats over and over at some stage: ... Received signal #14, SIGALRM, in write() [caught] write(7, " AF8 d >FF z y 9FF02 z x".., 8192) = 5120 ioctl(1, TIOCGSID, 0xFFBEDE34) = 0 getsid(0) = 508 ioctl(1, TIOCGPGRP, 0xFFBEDE9C) = 0 ioctl(1, TIOCGWINSZ, 0xFFBEDEF8) = 0 write(1, "\r p h p - 4 . 2 . 0 . t".., 80) = 80 sigaction(SIGALRM, 0xFFBEDFF8, 0xFFBEE078) = 0 alarm(1)...
2005 Jul 08
1
wbinfo -u does not work PLEASE HELP : (
...so account required pam_stack.so service=system-auth password required pam_stack.so service=system-auth session required pam_stack.so service=system-auth session optional pam_console.so ~ I can "net rpc join -U "Domain admin account%password" fine net rpc getsid works smbclient -L "hostname" Password: Anonymous login successful Domain=[BMI] OS=[Unix] Server=[Samba 3.0.9-1.3E.3] Sharename Type Comment --------- ---- ------- homes Disk Home Directories IPC$ IPC...
2013 Jun 26
1
Decommissioning old PDC
...he PDC? Eventually, I would like to demote the former PDC to a mere domain member serving files that it still has on it. To do this, I need to set "domain logons" to No and remove the ldapsam from "passdb backend". I also remember setting the SID for each DC using "net rpc getsid". Do I need to undo that or reset the machines SID to a randomly generated one now that it's no longer a DC? Anything else I need to do? -- Loren M. Lang lorenl at alzatex.com http://www.alzatex.com/ Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: 10A0 7AE2 DAF5 478...
2005 Oct 24
2
Samba 3.0.14a-Debian, MySQL Backend, Migration Problem
...d googled, but no useful concept of migration found. At the weekend I tested the following concept: - Configure the new server as BDC for the old server => Join the domain: "net rpc join -S OLD_SERVER -w DOMNAME -U Administrator%passwd" => Get the local SID with: "net rcp getsid" => Sync the old /var/lib/samba with the new /var/lib/samba => Sync the shared data and profiles => Sync /etc/passwd /etc/samba/smbpasswd /etc/group (Note: I decided to set up a default passwd backend, and if this is running, I change to mysql backend) After I changed the smb.c...