1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

5995 Commits

Author SHA1 Message Date
Jelmer Vernooij
786379064f r9686: Another round of bugfixes. Works somewhat now, when running under valgrind ;-) 2007-10-10 13:34:41 -05:00
Jelmer Vernooij
7f864d446d r9685: Add tests for samba3sam mapping module
Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
4a51a31571 r9684: Remove unused parameters (about 70) 2007-10-10 13:34:40 -05:00
Tim Potter
b33774b693 r9683: OK that last fix was too good to be true. (-: 2007-10-10 13:34:40 -05:00
Tim Potter
e9bb695e74 r9682: Jelmer, I think this fixes another case where the parser generator was
producing duplicate function definitions.  Can you check this out?
2007-10-10 13:34:40 -05:00
Andrew Bartlett
47699019db r9681: We don't need the full smb_krb5_context here, so just pass the krb5_context.
Andrew Bartlett
2007-10-10 13:34:40 -05:00
Andrew Bartlett
913924a499 r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
2007-10-10 13:34:39 -05:00
Andrew Bartlett
50e6229c7a r9678: Remove unused variables.
Andrew Bartlett
2007-10-10 13:34:39 -05:00
Tim Potter
1b0e65359c r9677: Don't generate duplicate function names when processing structure elements
that are bitmaps or enums.
2007-10-10 13:34:39 -05:00
Jelmer Vernooij
c2211df586 r9672: Fix build for compilers that don't like undefined-length arrays at the end of structs... 2007-10-10 13:34:39 -05:00
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