1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00
Commit Graph

568 Commits

Author SHA1 Message Date
Jelmer Vernooij
b53313dc51 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
0ef7fe6f4c r10580: More generic approach for adding endpoints 2007-10-10 13:39:07 -05:00
Jelmer Vernooij
540155fad3 r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
03647e1321 r10510: Decrease the amount of data included by includes.h a bit 2007-10-10 13:38:58 -05:00
Andrew Bartlett
ddc3a1c79e r10373: Fix segfault in LookupSids.
Andrew Bartlett
2007-10-10 13:38:33 -05:00
Jelmer Vernooij
59d4450453 r10336: Add sconscript for a couple more subsystems. 2007-10-10 13:38:29 -05:00
Andrew Bartlett
8a22d46e70 r10286: This patch is ugly and disgusting, but for now it works better than the other
ideas I have had.

When I get a full list of things I want to do to a krb5_context I'll
either add gsskrb5_ wrappers, or a way of speicfying the krb5 context
per gssapi context.

(I want to ensure that the only krb5_context variables created while
executing Samba4 are via our wrapper).

Andrew Bartlett
2007-10-10 13:38:13 -05:00
Andrew Bartlett
e4f2afc343 r10153: This patch adds a new parameter to gensec_sig_size(), the size of the
data to be signed/sealed.  We can use this to split the data from the
signature portion of the resultant wrapped packet.

This required merging the gsskrb5_wrap_size patch from
lorikeet-heimdal, and fixes AES encrption issues on DCE/RPC (we no
longer use a static 45 byte value).

This fixes one of the krb5 issues in my list.

Andrew Bartlett
2007-10-10 13:38:04 -05:00
Stefan Metzmacher
b6694f067a r10078: - add a 'struct data_blob_list_item'
- use this for the send_queue's of the different stream_servers
  to not redefine the same struct so often, and it maybe will be used
  in other places too

metze
2007-10-10 13:37:51 -05:00
Andrew Bartlett
73bd6c7534 r10045: metze reminded me to use the correct enum entry, rather than 0 for the
return here.

Andrew Bartlett
2007-10-10 13:36:32 -05:00
Jelmer Vernooij
47cecd4726 r10026: Move registry header file to lib/registry
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
709fdc7ebf r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
2007-10-10 13:36:28 -05:00
Tim Potter
716011dd92 r9980: Fix some warnings. 2007-10-10 13:36:26 -05:00
Andrew Bartlett
530d91de7c r9942: CN=Configuration is always under the database-wide base dn, so don't
try and pass it down as a parameter.

Andrew Bartlett
2007-10-10 13:36:24 -05:00
Andrew Bartlett
ed24d88f0e r9941: Update the CrackNames test, and provide a much improved server-side
DRSUAPI CrackNames.

We can't pass the full cracknames test until the initial provision is
updated, the seperate DomainControllerInfo and canonical names support
is added.

Andrew Bartlett
2007-10-10 13:36:24 -05:00
Andrew Bartlett
0761b22f99 r9930: Use a single samdb_base_dn() function rather than lots of silly
searches all over the place.

This can be extended to cover an NT4 (no ADS) mode in future as well.

Andrew Bartlett
2007-10-10 13:36:23 -05:00
Günther Deschner
d717e878bd r9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.
Guenther
2007-10-10 13:36:20 -05:00
Jelmer Vernooij
200a8f6652 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
2007-10-10 13:35:01 -05:00
Simo Sorce
333ebb40d5 r9654: introduce the samdb_search_dn call 2007-10-10 13:34:38 -05:00
Andrew Tridgell
439f34a962 r9567: fixed the winreg IDL for CreateKey, including a security
descriptor. To keep it simple I just use normal IDL buffers for now,
avoiding the complex methods metze used in spoolss. We might change
that later

Also added decoding of the security_descriptor in
winreg_GetKeySecurity() in smbtorture
2007-10-10 13:34:29 -05:00
Andrew Bartlett
093b98b5b5 r9490: Fix typo
Andrew Bartlett
2007-10-10 13:34:21 -05:00
Andrew Tridgell
6757d51a28 r9410: - a winreg_CloseKey() should return a zero key on success (zeroing the
callers key). This is the normal pattern with rpc handles.

- fixed reference to undefined error variable in winreg_DeleteKey()
2007-10-10 13:33:35 -05:00
Simo Sorce
31c69d0655 r9392: Fix ldb_dn_compose to make build farm happy
Add ldb_dn_string_compose so that you can build a dn starting from a
struct ldb_dn base and a set of parameters to be composed in a format
string with the same syntax of printf
2007-10-10 13:33:33 -05:00
Simo Sorce
692e35b779 r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names
Provide more functions to handle DNs in this form
2007-10-10 13:33:32 -05:00
Andrew Tridgell
00e55be9ef r9388: we should fault bad handles given to winreg_GetVersion() 2007-10-10 13:33:32 -05:00
Andrew Tridgell
92ed69695b r9384: added a debug to show the dcerpc fault code for any calls we fault 2007-10-10 13:33:31 -05:00
Andrew Tridgell
17f3250dd6 r9359: don't check for size overflow if value is NULL
this gets viewing the product options in smbd HKLM from w2k3 regedit
working
2007-10-10 13:33:28 -05:00
Andrew Tridgell
bcef9e592a r9358: - opening a winreg key of "" is the same as re-opening the hive. The
w2k3 regedit does this.

- w2k3 expects null termination is string lengths
2007-10-10 13:33:27 -05:00
Andrew Tridgell
8354b01612 r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
calls. The previous IDL was just a workaround for the limitations of
our older rpc infrastructure. Now that Jelmer has added much improved
string support using the charset keyword we can correctly implemenent
the unusual winreg string buffers.

Jelmer, note the little comment I put on winreg_StringBuf() about why
I couldn't use [value()] for the length field.

This also fixes EnumKey() and EnumValue() to use NTTIME fields for the
last_changed_time. I don't know why we were using a pair of uint32's,
as it is just a NTTIME.
2007-10-10 13:33:25 -05:00
Tim Potter
6a7922a02c r9284: Whitespace. (-: 2007-10-10 13:33:21 -05:00
Andrew Bartlett
e9837d49bc r9016: More work to avoid abuse of the "name" attribute, this time on
NETLOGON.

Andrew Bartlett
2007-10-10 13:31:08 -05:00
Andrew Bartlett
2beb694226 r9015: Fix access to BUILTIN again.
Andrew Bartlett
2007-10-10 13:31:08 -05:00
Andrew Bartlett
0f7b1136f6 r9011: Remove more references to "name" as a netbios name, using the
cross-reference instead.

Andrew Bartlett
2007-10-10 13:31:07 -05:00
Andrew Bartlett
242db48b98 r8998: More work on the RPC server code to avoid abusing the name attribute
as a netbios name.

Andrew Bartlett
2007-10-10 13:31:05 -05:00
Andrew Bartlett
ba5fe07b97 r8984: Use the correct cross-reference search in DRSUAPI, rather than making
assumptions about the behaviour of "name" as a NETBIOS domain name.

Andrew Bartlett
2007-10-10 13:31:03 -05:00
Andrew Bartlett
71958cb19f r8983: The KVNO (Kerberos key version number) should be incremented with
every password set.

Andrew Bartlett
2007-10-10 13:31:03 -05:00
Andrew Bartlett
c847ca2cc8 r8982: "name" is not the netbios name, but the RDN. Return the correct
netbios domain name of the host, as well as the sid from the cache we
fetched earlier.

Andrew Bartlett
2007-10-10 13:31:03 -05:00
Jelmer Vernooij
8d9c18a1b4 r8974: Support makefile fragments in .mk files 2007-10-10 13:31:01 -05:00
Jelmer Vernooij
fac77f5fa2 r8811: Fix the build.. 2007-10-10 13:30:07 -05:00
Andrew Bartlett
1f071b0609 r8790: Finish the migration of aliases and privilages with SamSync, by adding
templating support for foreignSecurityPrincipals to the samdb module.
This is an extension beyond what microsoft does, and has been very
useful :-)

The setup scripts have been modified to use the new template, as has
the SAMR and LSA code.

Other cleanups in LSA remove the assumption that the short domain name
is the first component of the realm.

Also add a lot of useful debug messages, to make it clear how/why the
SamSync may have gone wrong.  Many of these should perhaps be hooked
into an error string.

Andrew Bartlett
2007-10-10 13:30:05 -05:00
Andrew Bartlett
ecbd2235a3 r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
user_info strcture in auth/

This moves it to a pattern much like that found in ntvfs, with
functions to migrate between PAIN, HASH and RESPONSE passwords.

Instead of make_user_info*() functions, we simply fill in the control
block in the callers, per recent dicussions on the lists.  This
removed a lot of data copies as well as error paths, as we can grab
much of it with talloc.

Andrew Bartlett
2007-10-10 13:29:55 -05:00
Andrew Bartlett
968bcc4fe8 r8670: Remove GUID code from SAMR, it is handled lower down now. I notice
this code also does string SIDs, but I'm not quite sure where that
fits in.

Andrew Bartlett
2007-10-10 13:29:52 -05:00
Andrew Tridgell
bc9d9531f5 r8593: register the rpc server with irpc 2007-10-10 13:29:42 -05:00
Andrew Tridgell
a58ea6b385 r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the
automatic builds.

The main fixes are:

 - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats

 - use of NULL format statements to perform dn searches.

 - assumption that sizeof() returns an int
2007-10-10 13:29:34 -05:00
Stefan Metzmacher
b9ee581880 r8429: fix compiler warnings
metze
2007-10-10 13:23:02 -05:00
Stefan Metzmacher
b920b306b3 r8371: the objectGUID is now stored in binary...
metze
2007-10-10 13:20:13 -05:00
Stefan Metzmacher
206f33778e r8370: remove the '$' from in the cn: attribute for computer and dc accounts
metze
2007-10-10 13:20:12 -05:00
Stefan Metzmacher
e601042c07 r8232: remove samr_String and netr_String as they are the same as lsa_String
metze
2007-10-10 13:19:22 -05:00
Stefan Metzmacher
225fc1b865 r8226: w2k3 adds a '.' after the forest and domain dns names for the primary domain
and NULL for the trusted domains forest dns name

metze
2007-10-10 13:19:22 -05:00
Andrew Bartlett
bc8f8d2dcf r8109: Try to print out more helpful debug messages on DCERPC server-side
gensec failure to start.

Andrew Bartlett
2007-10-10 13:19:09 -05:00