1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

26829 Commits

Author SHA1 Message Date
Günther Deschner
7b56a4bcf2 Fix IDL for lsa_LookupPrivName.
Guenther
2008-04-08 23:02:48 +02:00
Günther Deschner
6f47432603 Re-run make idl.
Guenther
2008-04-08 22:58:16 +02:00
Günther Deschner
a064d00096 Fix IDL for lsa_QueryTrustedDomainInfo.
Guenther
2008-04-08 22:57:16 +02:00
Günther Deschner
e0eae39017 Fix lsa_TrustedDomainInfo callers.
Guenther
2008-04-08 22:55:52 +02:00
Günther Deschner
83dc2e1477 Re-run make idl.
Guenther
2008-04-08 22:54:18 +02:00
Günther Deschner
7903103c70 Fix IDL for lsa_QueryTrustedDomainInfoBySid.
Guenther
2008-04-08 22:52:26 +02:00
Günther Deschner
18272d5385 Fix IDL for lsa_QueryTrustedDomainInfoByName.
Guenther
2008-04-08 22:51:55 +02:00
Günther Deschner
7a822c3c71 Fix IDL for lsa_QueryDomainInformationPolicy.
Guenther
2008-04-08 22:50:05 +02:00
Günther Deschner
02f5f35e5e Fix the build of reply_setattrE().
How ever could this compile ?

Guenther
2008-04-08 21:41:16 +02:00
Günther Deschner
aae4d91e72 Move is_valid_policy_hnd() out of net.
Guenther
2008-04-08 19:54:57 +02:00
Günther Deschner
9cfce22295 Try to use kerberos in libnetapi.
Guenther
2008-04-08 19:42:26 +02:00
Günther Deschner
0216e55fa8 Add DsGetDcName libnetapi example.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
27780e9841 Add DsGetDcName call to libnetapi library.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
a47642011a Re-run make idl.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
e8cea4db01 Add DsGetDCName call to libnetapi.idl.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
922ff9d016 Fix includes in libnetapi examples common.c
Guenther
2008-04-08 19:40:47 +02:00
Stefan Metzmacher
83b6da7c52 selftest: run the BASE-DELAYWRITE test 4 times faster in make test
metze
2008-04-08 18:53:38 +02:00
Jeremy Allison
f4a1fdaac0 Use size_t for strlen return, not int. Karolin please
pull.
Jeremy.
2008-04-08 07:43:30 -07:00
Günther Deschner
6f239df3f5 Use popt in libetapi example code.
Guenther
2008-04-08 14:34:30 +02:00
Günther Deschner
394bdb89ef Prefill in username in libnetapi ctx.
Guenther
2008-04-08 14:29:21 +02:00
Günther Deschner
15ba45e567 Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.
This allows to switch on the cli->fallback_after_kerberos switch.

Guenther
2008-04-08 14:25:13 +02:00
Alexander Bokovoy
a0cefd4400 Destroy DMAPI session when main smbd daemon exits.
DMAPI session is precious resource maintained at kernel level. We open one of them and use across multiple smbd daemons
but once last of them exits, DMAPI session needs to be destroyed. There are some HSM implementations which fail to
shutdown when opened DMAPI sessions left. Ensure we shutdown our session when it is really not needed anymore.
This is what recommended by DMAPI specification anyway.
2008-04-08 15:19:01 +04:00
Alexander Bokovoy
1faa97d5cc Allow broader range of HSM systems in vfs_tsmsm
Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'.
    Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence*
    of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result.
    Port from Tridge's v3-0-ctdb git tree.
2008-04-08 15:17:53 +04:00
Jeremy Allison
09852899ca Rewrite the wrap checks to deal with gcc 4.x optimisations.
Karolin, please pull once Volker has reviewed. Thanks.
Jeremy.
2008-04-07 21:11:16 -07:00
Günther Deschner
a4e3bc2bad Restructure inner workings of libnetapi a bit.
Guenther
2008-04-08 03:08:49 +02:00
Günther Deschner
78da087b3a Add libnetapi generated files.
Guenther
2008-04-08 03:08:49 +02:00
Günther Deschner
c098714ac4 Build libnetapi.idl.
Guenther
2008-04-08 03:08:49 +02:00
Günther Deschner
5231a13506 Add libnetapi.idl.
Guenther
2008-04-08 03:08:45 +02:00
Günther Deschner
5cb480a664 Whatsnew 2008-04-08 02:15:01 +02:00
James Peach
3ed2c65bde Remove unused variable. 2008-04-07 15:28:10 -07:00
Bill Ricker
59a2bcf30f Fix Kerberos interop with Mac OS X 10.5 clients.
Ignore optional req_flags. Use the Kerberos mechanism OID negotiated
with the client rather than hardcoding OID_KERBEROS5_OLD.
2008-04-07 15:05:51 -07:00
James Peach
fd168e7b50 Use bool for BOOL and true/false for True/False. We need lowercase
bool to get the declarations picked up by the prototype parser.
2008-04-07 15:05:50 -07:00
Michael Adam
04cd914a1f dbwrap: fix more "tdb_chainunlock failed" messages
TALLOC_FREE(rec) before transaction_cancel also in dbwrap_trans_delete().

Michael
2008-04-07 23:40:18 +02:00
Michael Adam
c1b60cdecf winbindd: fix break out early condition in fill_grent_mem().
if (!&new_glist) would always be skipped, if (new_glist == NULL) is
what must have been meant...

Michael
2008-04-07 16:38:14 +02:00
Bo Yang
8671f9767d Only cache password policy results that worked, otherwise we
cannot login until the cache expires even if a connection
to a DC has been restored.
2008-04-07 09:51:42 -04:00
Stefan Metzmacher
df8c100c2b smbd: make it possible to change the write time delay for testing
metze
2008-04-07 12:29:31 +02:00
Stefan Metzmacher
404a865a34 smbd: make it possible to disable get_file_infos() on searches
metze
2008-04-07 12:29:30 +02:00
Stefan Metzmacher
4130b87329 locking: combine get_delete_on_close_flag() and get_write_time() into get_file_infos()
This means we need to fetch the record only once.

metze
2008-04-07 12:29:29 +02:00
Stefan Metzmacher
5df3463431 selftest: samba3 passes BASE-DELAYWRITE
metze
2008-04-07 12:29:28 +02:00
Stefan Metzmacher
2eab212ea2 smbd: implement the strange write time update logic
We now never call file_ntimes() directly, every update
is done via smb_set_file_time().

This let samba3 pass the BASE-DELAYWRITE test.

The write time is only updated 2 seconds after the
first write() on any open handle to the current time
(not the time of the first write).

Each handle which had write requests updates the write
time to the current time on close().

If the write time is set explicit via setfileinfo or setpathinfo
the write time is visible directly and a following close
on the same handle doesn't update the write time.

metze
2008-04-07 12:29:26 +02:00
Stefan Metzmacher
6aaa2ce0ee locking: store the write time in the locking.tdb
This is needed to implement the strange write time update
logic later. We need to store 2 time timestamps to
distinguish between the time the file system had before
the first client opened the file and a forced timestamp update.

metze
2008-04-07 12:29:25 +02:00
Volker Lendecke
8b2d9ee8c5 Fix an uninitialized variable 2008-04-07 12:20:21 +02:00
Björn Jacke
42bc4ff7fd increase log level for this failed setsockopt call. EINVAL is a normal error on Solaris when we do this on an already resetted connection. 2008-04-07 11:49:54 +02:00
Volker Lendecke
d3c31aa36c Fix bug 5375
Thanks to Moskvin for testing
2008-04-07 10:20:39 +02:00
Volker Lendecke
494b32197f Fix a misleading debug message 2008-04-07 10:20:32 +02:00
Stefan Metzmacher
31375c0263 net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and wbcGetGroups()
metze
2008-04-06 13:43:28 +02:00
Stefan Metzmacher
4f712452e9 net_rpc: let get_user_tokens() use wbcListUsers()
metze
2008-04-06 13:43:28 +02:00
Stefan Metzmacher
c78f4dc043 wbinfo: make use of wbcGetGroups()
metze
2008-04-06 13:42:00 +02:00
Stefan Metzmacher
596d030b97 libwbclient: add wbcGetGroups()
metze
2008-04-06 13:42:00 +02:00
Volker Lendecke
c274fe7d21 Fix a C++ warning 2008-04-06 12:27:16 +02:00