Displaying 10 results from an estimated 10 matches for "secrets_fetch_domain_sid".
2018 Oct 12
2
backup of tdb files
... Perhaps extend either
> > > samba-tool or net to print out the domain SID, local SID, domain
> > > member password and hostname?
> > Sounds promising. I’ll look into that.
Right now I am using values obtained as follows:
- hostname: get_global_sam_name()
- local SID:
secrets_fetch_domain_sid (get_global_sam_name(), …)
== SECRETS/SID/CLIENTNAME in tdb
- domain SID:
secrets_fetch_domain_sid (lp_workgroup(), …)
== SECRETS/SID/WORKGROUPNAME
- domain member password:
secrets_fetch_machine_password(lp_workgroup(), …)
== SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
This approach wor...
2011 Sep 18
0
samba log - mac osx - console output - hacking evidence?
...=456] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectory_fill_domain_sid_cache(1985)
> opendirectory_sam_searchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
> [2011/06/08 02:06:11, 0, pid=456] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secrets_fetch_domain_sid(150)
> secrets_fetch_domain_sid:opendirectory_query_domain_sid gave -14136 [eDSRecordNotFound]
> [2011/06/08 16:22:02, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
> smbd version 3.0.28a-apple started.
> Copyright Andrew Tridgell and the Samba Team 1992-2...
2018 Oct 15
2
backup of tdb files
...t; > > > member password and hostname?
> > > >
> > > > Sounds promising. I’ll look into that.
> >
> > Right now I am using values obtained as follows:
> >
> > - hostname: get_global_sam_name()
> >
> > - local SID:
> > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > == SECRETS/SID/CLIENTNAME in tdb
> >
> > - domain SID:
> > secrets_fetch_domain_sid (lp_workgroup(), …)
> > == SECRETS/SID/WORKGROUPNAME
> >
> > - domain member password:
> > secrets_fetch_machine_password(lp_w...
2023 Aug 29
1
Classic Upgrade changes domain SID
...> I spent some hours today to debug the problem by
> adding lots of printf-statements into the samba4
> source.
>
> Here are my findings:
> - upgrade.py calls passdb.get_global_sam_sid()
> - get_global_sam_sid() calls pdb_generate_sam_sid()
> - pdb_generate_sam_sid() calls secrets_fetch_domain_sid()
> - secrets_fetch_domain_sid() calls secrets_fetch()
> - secrets_fetch() calls dbwrap_fetch()
> - dbwrap_fetch() reads the correct file and returns
> exactly the binary string that tdbdump displays
>
> At this point I was really astonished: Everything works
> as expected...
2010 Dec 18
1
Unable to mount SMB shares under Mac OS 10.6.5
...0, pid=90063] /SourceCache/samba/samba-235.4/samba/source/lib/opendirectory.c:opendirectory_fill_domain_sid_cache(1985)
opendirectory_sam_searchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
[2010/11/11 18:33:43, 0, pid=90063] /SourceCache/samba/samba-235.4/samba/source/passdb/secrets.c:secrets_fetch_domain_sid(150)
secrets_fetch_domain_sid:opendirectory_query_domain_sid gave -14136 [eDSRecordNotFound]
[2010/11/24 04:11:15, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
smbd version 3.0.28a-apple started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2010/11/24 04:11:1...
2018 Oct 12
0
backup of tdb files
...rint out the domain SID, local SID, domain
> > > > member password and hostname?
> > >
> > > Sounds promising. I’ll look into that.
>
> Right now I am using values obtained as follows:
>
> - hostname: get_global_sam_name()
>
> - local SID:
> secrets_fetch_domain_sid (get_global_sam_name(), …)
> == SECRETS/SID/CLIENTNAME in tdb
>
> - domain SID:
> secrets_fetch_domain_sid (lp_workgroup(), …)
> == SECRETS/SID/WORKGROUPNAME
>
> - domain member password:
> secrets_fetch_machine_password(lp_workgroup(), …)
> == SECRETS/MACHINE...
2018 Oct 15
0
backup of tdb files
...e?
> > > > >
> > > > > Sounds promising. I’ll look into that.
> > >
> > > Right now I am using values obtained as follows:
> > >
> > > - hostname: get_global_sam_name()
> > >
> > > - local SID:
> > > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > > == SECRETS/SID/CLIENTNAME in tdb
> > >
> > > - domain SID:
> > > secrets_fetch_domain_sid (lp_workgroup(), …)
> > > == SECRETS/SID/WORKGROUPNAME
> > >
> > > - domain member password:
> > &g...
2018 Oct 18
1
backup of tdb files
...gt; > > > Sounds promising. I’ll look into that.
> > > >
> > > > Right now I am using values obtained as follows:
> > > >
> > > > - hostname: get_global_sam_name()
> > > >
> > > > - local SID:
> > > > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > > > == SECRETS/SID/CLIENTNAME in tdb
> > > >
> > > > - domain SID:
> > > > secrets_fetch_domain_sid (lp_workgroup(), …)
> > > > == SECRETS/SID/WORKGROUPNAME
> > > >
> > > > - d...
2018 Sep 24
2
backup of tdb files
Hi Andrew,
thanks for addressing all my points. This is rather helpful.
-<| Quoting Andrew Bartlett <abartlet at samba.org>, on Friday, 2018-09-21 08:23:26 AM |>-
> On Fri, 2018-09-21 at 11:29 +0200, Philipp Gesang via samba wrote:
> > how would I go about dumping tdb files in a “neutral” format,
> > preferably JSON?
> >
> > The goal is to have a domain
2002 Nov 10
2
Trying to join a Solaris 8 box to Windows 2000 AD.
...ible pointer type
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:80: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
utils/net.c: In function `net_getlocalsid':
utils/net.c:348: warning: passing arg 1 of `secrets_fetch_domain_sid'
discards qualifiers from pointer target type
utils/net_ads.c: In function `net_ads_printer_info':
utils/net_ads.c:722: warning: passing arg 4 of `ads_find_printer_on_server'
discards qualifiers from pointer target type
utils/net_ads.c: In function `net_ads_printer_publish':
utils/n...