1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
Commit Graph

24796 Commits

Author SHA1 Message Date
Jeremy Allison
ddabc2b00c Fix "status used uninitialized" warnings.
Jeremy.
(This used to be commit e57856fff2)
2008-01-15 15:09:13 -08:00
Jeremy Allison
7c701feb3d Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit ed7322dcfa)
2008-01-15 10:31:47 -08:00
Kai Blin
ce9e918c95 libsmb: Do not upper-case target name on NTLMv2 hash generation
This makes our NTLMv2 hash generation compatible to the Davenport example
and fixes a bug when ntlm_auth is called with a non-upper-case --domain
parameter and client ntlmv2 auth = yes

Jerry, please consider for 3.2.0
(This used to be commit ecbe08897c)
2008-01-15 19:29:08 +01:00
Jeremy Allison
9c63e1820b Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 6e17a56039)
2008-01-15 10:19:47 -08:00
Volker Lendecke
ee8cf0ce40 ea_tdb->xattr_tdb also inside the module itself
(This used to be commit 642424b377)
2008-01-15 17:30:29 +01:00
Volker Lendecke
c2acec43ae rename vfs_ea_tdb to vfs_xattr_tdb
(This used to be commit 151b42a150)
2008-01-15 17:30:29 +01:00
Günther Deschner
fe165e4a9f Use autogenerated debugging functions in libnetjoin when requested.
Guenther
(This used to be commit 08c1720509)
2008-01-15 17:00:58 +01:00
Günther Deschner
c920764b19 Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Guenther
(This used to be commit 7a3fe68bef)
2008-01-15 16:40:22 +01:00
Stefan Metzmacher
bd8f1f71ac libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...(and hopefully the correct fix)

metze
(This used to be commit 561e529a71)
2008-01-15 16:00:40 +01:00
Stefan Metzmacher
0a21a1ab09 Revert "libwbclient: don't link talloc.o into libwbclient.a"
This reverts commit 9a4b6fd3e2.

Sorry...

metze
(This used to be commit 58c806dbf8)
2008-01-15 15:56:58 +01:00
Günther Deschner
40222cc8e2 Remove unrequired TALLOC_FREE.
Guenther
(This used to be commit 15d0e57438)
2008-01-15 15:48:48 +01:00
Günther Deschner
2ae6feb577 Include libnet_join.h in the right places.
Guenther
(This used to be commit 586d6cef52)
2008-01-15 15:44:04 +01:00
Günther Deschner
b239612fcf Use autogenerated libnet_join header.
Guenther
(This used to be commit d94bd3a03b)
2008-01-15 15:29:50 +01:00
Günther Deschner
af69a1b431 Add ndr_print_ads_struct().
Guenther
(This used to be commit 0a914a55ba)
2008-01-15 15:29:44 +01:00
Günther Deschner
4e2029f25c Add ndr_print_sockaddr_storage and ndr_print_bool.
Guenther
(This used to be commit f44f76415a)
2008-01-15 15:29:36 +01:00
Günther Deschner
6c9d517826 Define libnet join interface in IDL.
Guenther
(This used to be commit 7a48779ee5)
2008-01-15 15:29:29 +01:00
Stefan Metzmacher
97f61b542c libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...

metze
(This used to be commit 9a4b6fd3e2)
2008-01-15 15:02:01 +01:00
Michael Adam
982c71fcd2 Use the proper boolean functions.
Michael
(This used to be commit beaa83f32b)
2008-01-15 14:56:00 +01:00
Michael Adam
8a01076334 Remove some trailing spaces.
Michael
(This used to be commit 1941c365b5)
2008-01-15 14:55:04 +01:00
Stefan Metzmacher
ab10557a68 krb5_locator: winbind_krb5_locator.o doesn't need socket wrapper any more
metze
(This used to be commit a5fb8b443a)
2008-01-15 13:58:35 +01:00
Stefan Metzmacher
11fb5f39fe nss_winbind: nss_winbind.so doesn't need socket wrapper any more
metze
(This used to be commit ed559b4a59)
2008-01-15 13:58:34 +01:00
Stefan Metzmacher
b5aa1a3c24 pam_winbind: pam_winbind.so doesn't need soecket wrapper any more
metze
(This used to be commit e37859164c)
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
84d73ff78b libwbclient: libwbclient.so doesn't need socket nor nss wrapper any more
metze
(This used to be commit 4f05b50d4c)
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
99e9776436 nsswitch/: we don't need socket or nss wrapper in the winbind client code
As we don't need socket wrapper of nss wrapper in the winbind client code
we disable the function macros so that we don't endup with swrap_close()
or similar functions.

metze
(This used to be commit 40aeb43160)
2008-01-15 13:58:32 +01:00
Günther Deschner
b32d613ed0 No need to re-establish AD connection all the time.
Guenther
(This used to be commit f21871c6d6)
2008-01-15 11:02:56 +01:00
Günther Deschner
f41cd6c8e4 Use dsgetdcname() to find a dc when unjoining in libnetjoin.
Guenther
(This used to be commit 1a5b72daa3)
2008-01-15 11:02:56 +01:00
Günther Deschner
0e8240f5a5 Re-arrange pre- and postprocessing code in libnetjoin.
Guenther
(This used to be commit 99e3e4b0dd)
2008-01-15 11:02:56 +01:00
Volker Lendecke
2b14428330 Fix some warnings -- Jeremy, please check
(This used to be commit b66ac8567c)
2008-01-15 11:01:18 +01:00
Volker Lendecke
57cc992e0f Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00
Stefan Metzmacher
e00e080034 libwbclient: add wbclient.pc.in
metze
(This used to be commit e6bd1395f2)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
1e9c289d84 libwbclient: install wbclient.h into the same path as smbclient.h
metze
(This used to be commit 7cb81bfc6b)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
bfc4e62e61 libwbclient: move wbc_err.h into wbclient.h as we only install one header
This makes the installed wbclient.h header usable.

metze
(This used to be commit 7dd65599a1)
2008-01-15 10:43:42 +01:00
Günther Deschner
8a6f492e57 Add True/False bool cleanup script.
Guenther
(This used to be commit 9f05d2eae7)
2008-01-15 10:35:10 +01:00
Jeremy Allison
d7582b5186 Windows insists on write sizes < max_xmit on signed connections.
Jeremy.
(This used to be commit ef9b278b62)
2008-01-14 13:46:06 -08:00
Jeremy Allison
19e4e99bfb From Alexander Bokovoy
names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.

Jeremy.
(This used to be commit 22a4129fab)
2008-01-14 11:06:46 -08:00
Alexander Bokovoy
edd4cb0373 Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.
(This used to be commit a861ff2091)
2008-01-14 13:03:49 -06:00
Michael Adam
d35bda0ffd Add detection for need of update to the registry db.
This only detects if the tdb sequence number has changed
since the data has last been read.

Michael
(This used to be commit 3f081ebead)
2008-01-14 19:38:01 +01:00
Günther Deschner
36a7316bfc Some more minor cleanup for "net rpc audit".
Guenther
(This used to be commit 558ce4ec3e)
2008-01-14 18:39:15 +01:00
Günther Deschner
a32cca7f37 Print principal in debug statement in kerberos_kinit_password() as well.
Guenther
(This used to be commit 44d67e8462)
2008-01-14 18:39:08 +01:00
Günther Deschner
dbd3efe942 Re-run make idl to update lsa idl.
Guenther
(This used to be commit 94693755a2)
2008-01-14 17:39:33 +01:00
Günther Deschner
e2d32e0407 Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
(This used to be commit 8b63a16657)
2008-01-14 17:37:35 +01:00
Günther Deschner
662d61e742 Fix all callers of old rpccli_lsa_set_info_policy() call.
Guenther
(This used to be commit be8071779f)
2008-01-14 17:17:20 +01:00
Günther Deschner
495c38e546 Fix prototypes for lsa set info policy calls.
Guenther
(This used to be commit 33f6eff92b)
2008-01-14 17:16:31 +01:00
Günther Deschner
862e1685b8 Remove old lsa set info policy call.
Guenther
(This used to be commit b37b2b77ed)
2008-01-14 17:16:06 +01:00
Günther Deschner
003694b4a7 Re-run make idl for new lsa calls.
Guenther
(This used to be commit add28753b2)
2008-01-14 17:13:17 +01:00
Günther Deschner
aa9335491f Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
(This used to be commit dceb9a4c80)
2008-01-14 17:10:31 +01:00
Günther Deschner
351377a90e Remove more redundant lsa parsing functions.
Guenther
(This used to be commit 99dd28da84)
2008-01-14 15:51:50 +01:00
Michael Adam
f326cd2be5 Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>
Michael
(This used to be commit dcb5034acd)
2008-01-14 15:46:01 +01:00
Günther Deschner
c6f2bbb59f Fix rpcclient display_trust_dom_info().
Guenther
(This used to be commit 54bdd22a07)
2008-01-14 15:39:51 +01:00
Günther Deschner
cb1a090577 Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
domain secrets.

Guenther
(This used to be commit aa3de6f9f5)
2008-01-14 15:33:42 +01:00