1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-04 16:58:42 +03:00

27558 Commits

Author SHA1 Message Date
Günther Deschner
58ded409ab s3-eventlog: remove get_eventlog_record.
Guenther
2009-02-04 22:50:59 +01:00
Günther Deschner
7ade5cf776 s3-eventlog: remove old hand marshalling for eventlog read call.
Guenther
2009-02-04 22:50:52 +01:00
Günther Deschner
64e3a90530 s3-eventlog: make can_write_to_eventlog static.
Guenther
2009-02-04 22:49:51 +01:00
Günther Deschner
c464b5ebc0 s3-rpcclient: fix eventlog read client to read an array of entries.
Guenther
2009-02-04 22:49:51 +01:00
Volker Lendecke
94d1dbbaf0 Restore correct handling of "is_data_available" for the socket transport
This fixes a valgrind error reading an uninitialized variable
2009-02-04 22:36:43 +01:00
Günther Deschner
f24eecffde s3-eventlog: add my copyright.
Guenther
2009-02-04 22:05:02 +01:00
Günther Deschner
456bd5ad08 s3-eventlog: use pidl for _eventlog_ReadEventLogW.
Guenther
2009-02-04 22:04:52 +01:00
Günther Deschner
63a992168d s3-eventlog: add evlog_push_record function.
Guenther
2009-02-04 21:12:05 +01:00
Günther Deschner
1b71fa5c59 s3-eventlog: add evlog_pull_record function.
Guenther
2009-02-04 21:11:52 +01:00
Günther Deschner
0126dba7ef s3-net: add "net eventlog export".
This allows to export our tdb eventlog representation into a native
win32 *.evt eventlog file.

Guenther
2009-02-04 19:02:17 +01:00
Günther Deschner
c0cf20a49e s3-net: add "net eventlog import".
This allows to import a native (non-wrapped) win32 *.evt eventlog file
into our tdb eventlog representation.

Guenther
2009-02-04 19:01:46 +01:00
Günther Deschner
21d23bf7e8 s3-net: add "net eventlog dump".
This allows to dump a native (non-wrapped) win32 *.evt eventlog file.

Guenther
2009-02-04 19:01:31 +01:00
Günther Deschner
65200328ee s3-eventlog: add evlog_tdb_entry_to_evt_entry.
Guenther
2009-02-04 18:39:20 +01:00
Günther Deschner
df5e231a6f s3-eventlog: add evlog_evt_entry_to_tdb_entry.
Guenther
2009-02-04 18:39:20 +01:00
Volker Lendecke
9b3cce096c Fix a valgrind error: rpc_bind talloc_move()s the auth struct 2009-02-04 18:11:46 +01:00
Volker Lendecke
8eb562a81d Ensure null termination of the password in mymachinepw, remove a debug 2009-02-04 18:11:46 +01:00
Günther Deschner
de7f0a70c8 s3-eventlogadm: use struct eventlog_Record_tdb for storing entries in tdbs.
Guenther
2009-02-04 17:47:07 +01:00
Günther Deschner
16f83ae750 s3-eventlog: add fixup_eventlog_record_tdb.
Guenther
2009-02-04 17:47:06 +01:00
Günther Deschner
dd306249f2 s3-eventlog: add evlog_push_record_tdb function.
This is almost a copy of write_eventlog_tdb() and still needs to be modified
to use tdb transactions.

Guenther
2009-02-04 17:46:55 +01:00
Miguel Suarez
a4c5054b5a Fix bug #6085 - In vfs_default.c change utime( ) call. 2009-02-03 14:36:50 -08:00
Ted Percival
189a85dd68 Probably fixes a crash during name resolution when log level >= 10
and libc segfaults if printf is passed NULL for a "%s" arg
(eg. Solaris).
2009-02-03 14:25:31 -08:00
Stefan Metzmacher
98e2fe5e6d s3:selftest: fix blackbox.net_s3 tests
metze
2009-02-03 17:43:23 +01:00
Stefan Metzmacher
484c4a5955 Revert "s3:selftest: create BUILTIN\\Administrators at startup"
This reverts commit a849183f9492d09ccd7e273f955d4d8f2668fdf3.

This is to racy for most of the build-farm machines,
because winbindd doesn't start fast enough.

metze
2009-02-03 17:07:44 +01:00
Stefan Metzmacher
aa9592991a Revert "s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm"
This reverts commit 20a1cb15699c781651593c68685ece91c03e6a18.

I will also revert a849183f9492d09ccd7e273f955d4d8f2668fdf3

metze
2009-02-03 17:07:43 +01:00
Stefan Metzmacher
adc9d105cd merged-build: link in LIBREPLACE into samba4 code as in the native build
metze
2009-02-03 16:31:02 +01:00
Stefan Metzmacher
c3ab292655 merged-build: force non-shared build for samba4
This should fix 'make test4'.

metze
2009-02-03 16:31:01 +01:00
Günther Deschner
c53e3bfa7d s3-eventlogadm: add command to dump stored tdb entries.
Guenther
2009-02-03 16:06:57 +01:00
Günther Deschner
cf3be5ce7a s3-eventlog: add evlog_pull_record_tdb function.
Guenther
2009-02-03 16:06:57 +01:00
Günther Deschner
b94946697d s3-eventlog: pass down talloc context to parse_logentry().
Guenther
2009-02-03 15:45:09 +01:00
Günther Deschner
4976777e3b s3-eventlog: make logname in elog_open_tdb const.
Guenther
2009-02-03 15:44:20 +01:00
Günther Deschner
8fb6b18bac s3-eventlog: allow to open eventlog tdbs readonly.
Guenther
2009-02-03 15:44:06 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Günther Deschner
329b8775f5 s3-net: fix warning message for keytab usage.
Guenther
2009-02-03 15:32:48 +01:00
Günther Deschner
b0ea179734 s3-kerberos: use KRB5_KT_KEY compat macro.
Guenther
2009-02-03 15:32:47 +01:00
Günther Deschner
3367812df6 s3-kerberos: fix ads_dedicated_keytab_verify_ticket with heimdal.
Guenther
2009-02-03 15:32:47 +01:00
Günther Deschner
1318fe8c60 Revert "fix for commit d96248a9b46 which broke Heimdal builds"
This does not build.

This reverts commit af736923a541df1a37afeb72b8a5652932c4c69c.
2009-02-03 15:32:47 +01:00
Stefan Metzmacher
20a1cb1569 s3:test: try to find why creating BUILTIN\Administrators doesn't work in the build-farm
metze
2009-02-03 15:05:54 +01:00
Volker Lendecke
fda8abac17 s3: Fix 'net rpc join' for users with the SeMachineAccountPrivilege. 2009-02-03 14:44:30 +01:00
Volker Lendecke
810b670b75 Fix Coverity ID 870 2009-02-03 10:22:36 +01:00
Jeremy Allison
553818add8 Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or delete file
This fixes the generic rename/delete problem for 3.3.0 and above.
Fixed slightly differently to discussions, user viewable modified
ACLs are not a good idea :-).
Jeremy.
2009-02-02 17:10:27 -08:00
Stefan Metzmacher
df4e38fcc3 s3:selftest: run test_posix_s3.sh tests
metze
2009-02-03 00:10:20 +01:00
Stefan Metzmacher
7f283b29f1 s3:build: pass the path to smbtorture4 down to make with and without '-t' prefix
metze
2009-02-03 00:10:19 +01:00
Kai Blin
6ed02233c3 s3-wbclient: Use new tevent data types 2009-02-02 22:14:57 +01:00
Volker Lendecke
d3f9b0fab6 Next step disentangling async_req from NTSTATUS
Now I need to document this :-)
2009-02-02 20:15:03 +01:00
Björn Jacke
af736923a5 fix for commit d96248a9b46 which broke Heimdal builds 2009-02-02 09:41:01 -08:00
Stefan Metzmacher
45940ef23a s3:selftest: pass correct arguments to $SCRIPTDIR/test_smbtorture_s3.sh
metze
2009-02-02 15:16:12 +01:00
Michael Adam
4934744962 s3:build: fix typo introduced in "fix build without shared libs"
Michael
2009-02-02 14:06:20 +01:00
Michael Adam
6f8c0349eb s3:build: fix linking of bin/net when shared libs have been disabled
Michael
2009-02-02 14:02:45 +01:00
Tim Prouty
10e9e95ce8 s3 build: Fix "assignment discards qualifiers from pointer target type" warnings 2009-02-02 00:03:09 -08:00
Dan Sledz
d96248a9b4 Add two new parameters to control how we verify kerberos tickets. Removes lp_use_kerberos_keytab parameter.
The first is "kerberos method" and replaces the "use kerberos keytab"
with an enum.  Valid options are:
secrets only - use only the secrets for ticket verification (default)
system keytab - use only the system keytab for ticket verification
dedicated keytab - use a dedicated keytab for ticket verification.
secrets and keytab - use the secrets.tdb first, then the system keytab

For existing installs:
"use kerberos keytab = yes" corresponds to secrets and keytab
"use kerberos keytab = no" corresponds to secrets only

The major difference between "system keytab" and "dedicated keytab" is
that the latter method relies on kerberos to find the correct keytab
entry instead of filtering based on expected principals.

The second parameter is "dedicated keytab file", which is the keytab
to use when in "dedicated keytab" mode.  This keytab is only used in
ads_verify_ticket.
2009-02-01 20:23:31 -08:00