1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

5985 Commits

Author SHA1 Message Date
Andrew Tridgell
efa143cb3b r9671: patch from Kai Blin fixing a bug in our base64 encoder 2007-10-10 13:34:38 -05:00
Simo Sorce
333ebb40d5 r9654: introduce the samdb_search_dn call 2007-10-10 13:34:38 -05:00
Andrew Tridgell
d3b5d00671 r9649: missed a spot ..... 2007-10-10 13:34:37 -05:00
Andrew Tridgell
7bee374b3f r9648: this fixes the krb5 based login with the pac. The key to this whole saga was
that the logon_time field in the pac must match the authtime field in the ticket we
gave the client in the AS-REP (and thus also the authtime field in the ticket we get
back in the TGS-REQ).

Many thanks to Andrew Bartlett for his patience in showing me the
basic ropes of all this code! This was a joint effort.
2007-10-10 13:34:37 -05:00
Andrew Tridgell
4b3e3a9633 r9647: saved_pac is binary data, so prevent any possible portability problems with signed chars 2007-10-10 13:34:37 -05:00
Andrew Tridgell
804f2485d0 r9646: fixed error message 2007-10-10 13:34:37 -05:00
Andrew Tridgell
88a7e9e00f r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help) 2007-10-10 13:34:36 -05:00
Andrew Tridgell
13185f468f r9644: add LOCAL-PAC to the list of 'make test' tests 2007-10-10 13:34:36 -05:00
Andrew Tridgell
96298af202 r9643: fixed samsync code for the new dn explode semantics 2007-10-10 13:34:36 -05:00
Stefan Metzmacher
e4424d2a6d r9638: add error code that you get when you call DsGetNCChanges() with a tmp_highest_usn which is
higher than the real highest of the source dsa

metze
2007-10-10 13:34:36 -05:00
Tim Potter
0ec755cfa0 r9625: Get rid of "duplicate const" warning. 2007-10-10 13:34:35 -05:00
Jelmer Vernooij
b0595d238b r9624: Support writing wins.ldif 2007-10-10 13:34:35 -05:00
Jelmer Vernooij
06bc5d8e09 r9623: samba3dump now generates LDIF for the registry hives from registry.tdb
couple of other small fixes
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
dc6aab8d4a r9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif) 2007-10-10 13:34:35 -05:00
Jelmer Vernooij
b73441b04d r9616: Finish ldb_map module (still needs a lot of testing though...)
Add initial mapping table for ldb_samba3. Contains most attributes.
2007-10-10 13:34:35 -05:00
Tim Potter
178d040dbb r9612: Don't generate handoff code for idl files that don't implement a pipe
(e.g security.idl)
2007-10-10 13:34:34 -05:00
Tim Potter
eb5e3b031c r9611: Reset global variables (hf and ett lists) for each parser run. This
avoids building up buckets of unecessary definitions from other parsers.

Get rid of warning and FIXME for unknown data types.  This is handled
by the interface depends list and including the appropriate header files.
2007-10-10 13:34:34 -05:00
Andrew Tridgell
7e6957b906 r9608: don't validate the hard-coded sid for an external pac file 2007-10-10 13:34:34 -05:00
Andrew Tridgell
e0978ead23 r9603: allow the LOCAL-PAC test to use keys and pac data from the command line
For example:

bin/smbtorture //xx/y LOCAL-PAC --option 'torture:pac_file=x.dat' --option 'torture:pac_kdc_key=B286757148AF7FD252C53603A150B7E7' --option 'torture:pac_member_key=D217FAEAE5E6B5F95CCC94077AB8A5FC'
2007-10-10 13:34:34 -05:00
Jelmer Vernooij
84b2fb3467 r9602: Add support for reading share_info.tdb and smb.conf.
Add userdata argument to function pointers for pm_process()
2007-10-10 13:34:33 -05:00
Andrew Tridgell
b23bffcba6 r9600: fixed the intermittent failures we were getting with ejs in the build
farm.
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
e0a0d3f092 r9595: Add ldb map module 2007-10-10 13:34:33 -05:00
Jelmer Vernooij
b8c5290063 r9591: - Remove empty file
- Fix a couple of typo's
- Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h...
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
dd15131b52 r9589: Support reading secrets tdb 2007-10-10 13:34:32 -05:00
Jelmer Vernooij
53d0c3e485 r9587: Fix SWAT data dir for --with-fhs 2007-10-10 13:34:32 -05:00
Volker Lendecke
c803d4c9a5 r9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with
two or more times NT_STATUS_OK as EEXIST is not correctly handled.

Jeremy, please look closely at this. You can easily verify this by adding a
smb_msleep(100) to the top of open_file_ntcreate and run the new samba4
torture test. It does also happen without the msleep, but not as reliably.

Thanks,

Volker
2007-10-10 13:34:32 -05:00
Jelmer Vernooij
b264e9f56a r9581: Registry db 2007-10-10 13:34:31 -05:00
Andrew Tridgell
ee0b693ffa r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
get the libjs path
2007-10-10 13:34:31 -05:00
Andrew Tridgell
ba909a64e9 r9578: fixed an endless loop and memory leak in the QueryMultipleValues test 2007-10-10 13:34:31 -05:00
Tim Potter
2759c91b81 r9577: Fix some indentation. 2007-10-10 13:34:31 -05:00
Jelmer Vernooij
a37e2134e6 r9576: Couple of small fixes. Generate notice indicating
that the parsers were autogenerated.
2007-10-10 13:34:30 -05:00
Andrew Tridgell
0e30c80a53 r9575: more automatic cleanup code in winreg test 2007-10-10 13:34:30 -05:00
Andrew Tridgell
f20695decd r9574: - made the sec_info fields in lsa and samr use a IDL bitmap
- fixed winreg_GetKeySecurity() to use a sec_info field correctly

- simplied the winreg torture code, removing the separate opens for
  each hive

- added torture cleanup code in winreg test

- added 'create with security descriptor' in the winreg torture test
2007-10-10 13:34:30 -05:00
Andrew Tridgell
d151a9459d r9573: fixed a comment 2007-10-10 13:34:30 -05:00
Andrew Tridgell
5c71547703 r9569: fixed an uninitialised variable 2007-10-10 13:34:30 -05:00
Andrew Tridgell
881452c7b7 r9568: updated the winreg js library for CreateKey, and add a --createkey
option to the winreg tool
2007-10-10 13:34:29 -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 Tridgell
7082440a70 r9566: fix an uninitialised variable 2007-10-10 13:34:29 -05:00
Tim Potter
691d6a04d7 r9563: I think this INIT_OBJ_FILES should be ADD_OBJ_FILES so that the lib/samba3
source files are included in make proto.  Fixes the build with
./configure.developer.
2007-10-10 13:34:29 -05:00
Tim Potter
545d3deaa4 r9558: Add more whitespace to generated output.
Change conformance file warning to something more understandable.

Don't generate duplicate duplicate element dissectors for function
call arguments.  Hey this makes the winreg dissector compile, but not
link.
2007-10-10 13:34:29 -05:00
Jelmer Vernooij
b91a695bd8 r9557: Some more updates. Use combined function for parsing a set of
samba3 databases
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
46c5cdb673 r9556: Define a few libsamba structs 2007-10-10 13:34:28 -05:00
Jelmer Vernooij
e59d6156b2 r9555: More updates. Everything except for secrets.c compiles now.. 2007-10-10 13:34:28 -05:00
Tim Potter
da3ca9e3c1 r9554: Do a quick once-over to make the ethereal auto-generated parser code a
bit more readable.
2007-10-10 13:34:28 -05:00
Tim Potter
ab00976699 r9553: Some cosmetic things to make the atsvc dissector output look prettier
and be more usable:

  - nicer formatting for summary of set fields in bitmap.

  - say "Pointer to Foo" in proto_tree instead of just "Foo" when
    dissecting pointers.

  - append string value to proto_tree when dissecting pointers to strings.

  - strip librpc/gen_ndr prefix from includes so generated files can
    live in the ethereal epan/dissectors directory.

Now to work on getting the winreg dissector compiling...
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
37882f2287 r9552: Add idmap support. 2007-10-10 13:34:27 -05:00
Tim Potter
781df1691c r9550: Adjust some indentation. 2007-10-10 13:34:27 -05:00
Jelmer Vernooij
729b8bd783 r9549: Rerun ./config.status if one of the .mk files changes 2007-10-10 13:34:27 -05:00
Andrew Bartlett
01c4a970ec r9547: A pile more completeness testing for DsCrackNames.
Andrew Bartlett
2007-10-10 13:34:26 -05:00
Stefan Metzmacher
e6f92444d2 r9527: add the magic Bind GUID's, that are needed to fetch the whole
tree with DsGeNCChanges(), this is possible as administrator
without having a DC account joined to the domain

metze
2007-10-10 13:34:26 -05:00