1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

6274 Commits

Author SHA1 Message Date
Andrew Bartlett
c496f58c6f r9681: We don't need the full smb_krb5_context here, so just pass the krb5_context.
Andrew Bartlett
(This used to be commit 47699019dbb7aa48e7acd6bf8364e40917db8410)
2007-10-10 13:34:40 -05:00
Andrew Bartlett
08730652fb r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
(This used to be commit 913924a4997f5e14c503f87510cbd8e4bfd965a9)
2007-10-10 13:34:39 -05:00
Andrew Bartlett
02caf604be r9678: Remove unused variables.
Andrew Bartlett
(This used to be commit 50e6229c7a13be9b5d10c954f9b895993cefe2b6)
2007-10-10 13:34:39 -05:00
Tim Potter
3567c7b2a7 r9677: Don't generate duplicate function names when processing structure elements
that are bitmaps or enums.
(This used to be commit 1b0e65359cc9caee56a63690af142e8599ea6926)
2007-10-10 13:34:39 -05:00
Andrew Tridgell
0a579e4ae5 r9674: r9678@blu: tridge | 2005-08-27 16:32:30 +1000
- removed the initial provision button. It is just way too confusing.
 We should have a separate 'migration' page instead, but in the
 meantime to migrate please use the command line

 - added a check for a blank password. If blank, then ask them
  to reenter it
(This used to be commit 2673bebf138a9bda79f99dd5caff93dd6db24658)
2007-10-10 13:34:39 -05:00
Jelmer Vernooij
02779b745f r9672: Fix build for compilers that don't like undefined-length arrays at the end of structs...
(This used to be commit c2211df586337ff68bb805801959147065040c01)
2007-10-10 13:34:39 -05:00
Andrew Tridgell
7fd36b79eb r9671: patch from Kai Blin fixing a bug in our base64 encoder
(This used to be commit efa143cb3b4815fed7b037e05d591eadb828536b)
2007-10-10 13:34:38 -05:00
Deryck Hodge
bcc288d880 r9668: Cross-browser fix for IE, when adding scripts on the fly.
deryck
(This used to be commit 1f4e65ce96ec8c4335bfabbe54989a8cb431d773)
2007-10-10 13:34:38 -05:00
Deryck Hodge
25c3942623 r9663: Portability fix for IE.
deryck
(This used to be commit 87cb23aae377a9cdce790881c65535ed4d3931e1)
2007-10-10 13:34:38 -05:00
Simo Sorce
61aaf82b62 r9654: introduce the samdb_search_dn call
(This used to be commit 333ebb40d55c60465564b894d5028b364e99ee00)
2007-10-10 13:34:38 -05:00
Deryck Hodge
44a27265fb r9651: Start to group all SWAT specific windowing, widgets, etc. in one
file.  This allows basic style and event code to be set in one place,
though we'll still have to override for a specific position or look.

More to come...

deryck
(This used to be commit 9d5482d2aaff2082d85d626c288f2ad16e20b6ae)
2007-10-10 13:34:38 -05:00
Andrew Tridgell
1e2d5e64a9 r9649: missed a spot .....
(This used to be commit d3b5d006717c24660244c6475ffc73cb0b56d021)
2007-10-10 13:34:37 -05:00
Andrew Tridgell
b8f4e0796d 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.
(This used to be commit 7bee374b3ffcdb0424a83f909fe5ad504ea3882e)
2007-10-10 13:34:37 -05:00
Andrew Tridgell
4e24e93058 r9647: saved_pac is binary data, so prevent any possible portability problems with signed chars
(This used to be commit 4b3e3a9633bf7ce57f537b9897c0e9c613a99f7a)
2007-10-10 13:34:37 -05:00
Andrew Tridgell
4b275f4716 r9646: fixed error message
(This used to be commit 804f2485d059d60c4a41b6094c4cf568e6989397)
2007-10-10 13:34:37 -05:00
Andrew Tridgell
2e35b72086 r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help)
(This used to be commit 88a7e9e00f3714f89067ef97dfca46bc0688222e)
2007-10-10 13:34:36 -05:00
Andrew Tridgell
4ab340d75d r9644: add LOCAL-PAC to the list of 'make test' tests
(This used to be commit 13185f468f7f2a6773e58c14480f19c038dfd797)
2007-10-10 13:34:36 -05:00
Andrew Tridgell
b4d171d4df r9643: fixed samsync code for the new dn explode semantics
(This used to be commit 96298af202f994c3d5d0c7f5dacd1197a740f766)
2007-10-10 13:34:36 -05:00
Stefan Metzmacher
81021aaa95 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
(This used to be commit e4424d2a6dc7a783e8b3af4a164f8dc801130e44)
2007-10-10 13:34:36 -05:00
Deryck Hodge
c6b592a5b7 r9635: Seperate window logic from registry js file.
This allows for flexibility in display format,
which will make more sense when I start working
on windows, tabs, etc.

Add the beginnings of a document.js object that allows
us to add and remove scripts as we use them, which will
ensure we only load what we need.  A desktop GUI runs
from a single page, so we can't load js files by changing
pages.

deryck
(This used to be commit b4f6f81d7bbf87fcb7c7c9bd4a7164aabaeedc1c)
2007-10-10 13:34:36 -05:00
Tim Potter
a45c4fd5e2 r9625: Get rid of "duplicate const" warning.
(This used to be commit 0ec755cfa0499bf1f271584db3c028d87973f1af)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
a16c390fe0 r9624: Support writing wins.ldif
(This used to be commit b0595d238bbcc4a3927914d1fd6032e9293da5cc)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
c9d3763bfc r9623: samba3dump now generates LDIF for the registry hives from registry.tdb
couple of other small fixes
(This used to be commit 06bc5d8e0950dd85b6f26a1355fa0a2ae178d30f)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
69fb684063 r9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif)
(This used to be commit dc6aab8d4a6d0fe47756c90d3d311b6009d571ff)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
9bf5e494f7 r9616: Finish ldb_map module (still needs a lot of testing though...)
Add initial mapping table for ldb_samba3. Contains most attributes.
(This used to be commit b73441b04d048919e95ee7f7bcae330c4dafefe7)
2007-10-10 13:34:35 -05:00
Tim Potter
05065108f4 r9612: Don't generate handoff code for idl files that don't implement a pipe
(e.g security.idl)
(This used to be commit 178d040dbb07f53c29e945a2109bb3c8f355e3d3)
2007-10-10 13:34:34 -05:00
Tim Potter
50004c6905 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.
(This used to be commit eb5e3b031cd18fb1f83d9ccbb21e5148c8c1cdd0)
2007-10-10 13:34:34 -05:00
Andrew Tridgell
7f5bb2b866 r9610: use a list of allowable extensions for unauthenticated access rather than
a list of file names
(This used to be commit ef61c8de2fa62d37486ea93d5773198d21c1a2c4)
2007-10-10 13:34:34 -05:00
Andrew Tridgell
8f5ac4a178 r9608: don't validate the hard-coded sid for an external pac file
(This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2)
2007-10-10 13:34:34 -05:00
Andrew Tridgell
06973120a5 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'
(This used to be commit e0978ead23c493a802ce69ed7be871b2a9a54498)
2007-10-10 13:34:34 -05:00
Jelmer Vernooij
dcd27d550f r9602: Add support for reading share_info.tdb and smb.conf.
Add userdata argument to function pointers for pm_process()
(This used to be commit 84b2fb34675fa557173621433838c5a7ec0f1283)
2007-10-10 13:34:33 -05:00
Andrew Tridgell
2dc45bd484 r9600: fixed the intermittent failures we were getting with ejs in the build
farm.
(This used to be commit b23bffcba62df954c7fb439c78b962fbd262cc5e)
2007-10-10 13:34:33 -05:00
Andrew Tridgell
030087c449 r9599: fix formatting of echo output
(This used to be commit 47c11fd886d7c57cafe2e150d745d3ce17e3bb72)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
98b303e2eb r9595: Add ldb map module
(This used to be commit e0a0d3f092d601a22b7549a0278735e66239b301)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
47843f2b64 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...
(This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
cdf218e270 r9589: Support reading secrets tdb
(This used to be commit dd15131b5219ecf0d09329c0de37c426b9147f45)
2007-10-10 13:34:32 -05:00
Jelmer Vernooij
b873c1789f r9587: Fix SWAT data dir for --with-fhs
(This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)
2007-10-10 13:34:32 -05:00
Volker Lendecke
11f4803d00 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
(This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)
2007-10-10 13:34:32 -05:00
Jelmer Vernooij
ca71549d5a r9581: Registry db
(This used to be commit b264e9f56a434400277bb73898484aff93522fe8)
2007-10-10 13:34:31 -05:00
Andrew Tridgell
10dcfca9f1 r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
get the libjs path
(This used to be commit ee0b693ffaf02e75d3d740c36fffb9ea75e54431)
2007-10-10 13:34:31 -05:00
Deryck Hodge
9dfffdf4c0 r9579: Desktop SWAT opens now with a little server status window.
This includes a table layout that can be reused (see
QxListView in status.js).

Some formatting fixes, too.

deryck
(This used to be commit f95bf0adf760b8799ec02ec68ce42516ca40b6d2)
2007-10-10 13:34:31 -05:00
Andrew Tridgell
782fd6946f r9578: fixed an endless loop and memory leak in the QueryMultipleValues test
(This used to be commit ba909a64e92e9b2d2c8fd02fc9e9e0e7aa49dd0a)
2007-10-10 13:34:31 -05:00
Tim Potter
43fbeed881 r9577: Fix some indentation.
(This used to be commit 2759c91b811511d34f276631378fe6c1cf139760)
2007-10-10 13:34:31 -05:00
Jelmer Vernooij
b42f358d51 r9576: Couple of small fixes. Generate notice indicating
that the parsers were autogenerated.
(This used to be commit a37e2134e61eb38e9cbc54f8533113622f013037)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
26bae69bb9 r9575: more automatic cleanup code in winreg test
(This used to be commit 0e30c80a53af45ee9112513c02a6a231e8b1a133)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
3eb52c6cd6 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
(This used to be commit f20695decd587f7b6bbdbd4861441bd19ab85078)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
38e2d25eda r9573: fixed a comment
(This used to be commit d151a9459dcbfc88b0dc2ec9dd1cafa18ad5b8f8)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
d42e54648e r9569: fixed an uninitialised variable
(This used to be commit 5c71547703eeb328cdfbefbbfce6da38f7e6c5d5)
2007-10-10 13:34:30 -05:00
Andrew Tridgell
4a37c7ebbe r9568: updated the winreg js library for CreateKey, and add a --createkey
option to the winreg tool
(This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10 13:34:29 -05:00
Andrew Tridgell
649882d8d5 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
(This used to be commit 439f34a9621e2e96329c30cfed8d78b8fdfbd8a2)
2007-10-10 13:34:29 -05:00