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

6008 Commits

Author SHA1 Message Date
Andrew Tridgell
a8748cab86 r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
a NULL expression is valid in a ldb search
2007-10-10 13:34:52 -05:00
Andrew Tridgell
10ac273288 r9705: r9685@blu: tridge | 2005-08-27 19:43:44 +1000
set the backend_name on socket_accept() too
2007-10-10 13:34:52 -05:00
Andrew Tridgell
4bb3d36fe6 r9704: r9684@blu: tridge | 2005-08-27 19:38:31 +1000
don't try to call the name resolver on non-ipv4 names!
2007-10-10 13:34:52 -05:00
Andrew Tridgell
9c23008221 r9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000
added a comment about event_context_find()
2007-10-10 13:34:51 -05:00
Andrew Tridgell
b3d491b210 r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
- fixed ncacn_ip_tcp to use the generic async name resolution methods,
   so NBT names now work (as requested several times by abartlet!)

 - changed resolve_name() to take an event_context, so it doesn't cause
   the whole process to block

 - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner
   event_context_find() call
2007-10-10 13:34:51 -05:00
Andrew Bartlett
1cd62944f1 r9701: Provide correct parameters.
Andrew Bartlett
2007-10-10 13:34:50 -05:00
Jelmer Vernooij
3709def353 r9700: Change DATA_BLOB in ejs back to struct datablob
Support writing idmap mappings to winbind.ldif
2007-10-10 13:34:49 -05:00
Jelmer Vernooij
5100ae211c r9699: Add as much attributes the current Samba4 SAM has to the mapping table (ignoring most of them, currently..) 2007-10-10 13:34:49 -05:00
Jelmer Vernooij
b7b079167d r9698: Fix a bit of memory management
More minor bugfixes
Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn)
2007-10-10 13:34:42 -05:00
Andrew Bartlett
cc35cd5ee2 r9696: Update prototypes for new name of short parsing function.
Andrew Bartlett
2007-10-10 13:34:42 -05:00
Andrew Bartlett
c7a44518ad r9693: Move the smb_krb5_context setup code to use the new pattern of
tmp_ctx, then steal at the last moment, on success.

andrew Bartlett
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
0cff0e03fc r9690: Extend test + fix several bugs 2007-10-10 13:34:41 -05:00
Jelmer Vernooij
40ea2af427 r9689: valgrind-clean now. Editing works now mostly, you just lose half of your
database every time you do it...
2007-10-10 13:34:41 -05:00
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