1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

2400 Commits

Author SHA1 Message Date
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Jelmer Vernooij
6a78e56277 Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4 2008-10-11 14:44:10 +02:00
Jeremy Allison
decd04d946 Ensure we handle signals correctly during the async calls.
Jeremy.
2008-10-09 15:40:00 -07:00
Jeremy Allison
e5692d4cbe Remove SEC_ACCESS. It's a uint32_t.
Jeremy.
2008-10-09 09:49:03 -07:00
Jeremy Allison
2024d87cf5 Make map_errno_from_nt_status() a generic call, not just a cli specific one.
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files.
Jeremy.
2008-10-07 14:43:42 -07:00
Volker Lendecke
41ee314438 Fix some nonempty blank lines 2008-10-05 22:16:07 +02:00
Volker Lendecke
6ee4e81ad1 Fix an uninitialized variable warning
Not sure if we can ever not get domain and dns_domain, but gcc complained
2008-10-05 11:08:32 +02:00
Volker Lendecke
af1c802791 The IRIX compiler does not like embedded unnamed unions 2008-10-02 08:09:25 +02:00
Volker Lendecke
8641b54a73 Attempt to fix the build on IRIX
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
2008-10-02 03:45:37 +02:00
Günther Deschner
da955d7193 s3-nbt: further cleanup of dsgetdcname().
Guenther
2008-09-25 20:11:55 +02:00
Jelmer Vernooij
ddbddbd80c Fix build with arc4. 2008-09-24 19:20:33 +02:00
Jelmer Vernooij
edeb20b921 Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4
Conflicts:
	source3/include/includes.h
2008-09-24 18:38:45 +02:00
Jelmer Vernooij
d2062ab74f Use common crc32 implementation. 2008-09-24 16:46:02 +02:00
Jelmer Vernooij
da01822671 Use common arcfour implementation. 2008-09-24 16:04:43 +02:00
Günther Deschner
f07431f5ba s3-nbt: use the new generated nbt.
Guenther
2008-09-24 03:34:23 +02:00
Günther Deschner
de54bac54c s3: fix NETLOGON_NT_VERSION version flags.
Guenther
2008-09-23 23:20:10 +02:00
Günther Deschner
fd3ba988dc s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.
Guenther
2008-09-23 09:49:56 +02:00
Günther Deschner
c48186f507 s3: use samba4 prototype for ndr_push/pull_struct_blob.
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
e194ded26e netlogon: move password change code out to rpccli_netlogon_set_trust_password.
Guenther
2008-09-21 22:30:39 +02:00
Günther Deschner
6f9a83505f netlogon: refactor just_change_the_password a bit.
Guenther
2008-09-21 22:30:29 +02:00
Günther Deschner
ca56c02d4b netlogon: use init_netr_CryptPassword in "just_change_the_password"
Guenther
2008-09-21 22:30:21 +02:00
Volker Lendecke
2009229c84 Make use of TALLOC_ZERO_P 2008-09-21 16:32:40 +02:00
Volker Lendecke
eeac8d4fbe Remove a cast -- thanks metze 2008-09-17 17:45:17 +02:00
Volker Lendecke
ffbc38abe1 Factor out validate_smb_crypto
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
2008-09-12 23:09:17 +02:00
Volker Lendecke
ced409b5f7 Fix "make test" -- gna...
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
2008-09-12 22:29:56 +02:00
Volker Lendecke
d892b1c886 remove a pointless empty line
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
2008-09-12 21:42:34 +02:00
Volker Lendecke
f8f1679bc4 Add a paranoia check on incoming PDUs
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
2008-09-12 21:42:34 +02:00
Günther Deschner
893f787314 doserr: add WERR_NO_SUCH_ALIAS.
Guenther
(This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
2008-09-12 14:10:26 +02:00
Volker Lendecke
9c28ca2b6c fix nonempty blank lines
(This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
2008-09-12 12:23:30 +02:00
Jeremy Allison
65ae60489d Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu <fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.
(This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)
2008-09-11 16:20:59 -07:00
Jeremy Allison
3978317af0 Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy.
(This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
2008-09-10 10:18:02 -07:00
Volker Lendecke
40b93006c1 Fix some bogus compiler warnings
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
2008-09-10 11:57:10 +02:00
Volker Lendecke
a1d0f59f46 Fix make test on sparc and possibly also on AIX
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09 22:23:05 +02:00
Volker Lendecke
7965249bd6 Convert cli_query_secdesc to the async trans call
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2008-09-09 17:37:34 +02:00
Volker Lendecke
bb2a7183b9 Convert cli_qfileinfo to the async trans call
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09 17:37:34 +02:00
Volker Lendecke
c81b5fd440 Add async trans/trans2/nttrans calls to libsmb
Logic stolen from Samba4, naturally the specific implementation differs a bit.
(This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
2008-09-09 17:37:34 +02:00
Volker Lendecke
2a93452994 Move setting the mid field in req->outbuf from _cork to _uncork
The async trans calls need this, as for secondary trans calls they have to
modify the MID from what cli_request_chain() gave us.
(This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)
2008-09-09 17:37:34 +02:00
Volker Lendecke
6ba8c105c5 Add utility function cli_in_chain()
This gives a hint whether a function is called from within the middle of a
chain. In particular the trans calls don't really like this.
(This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-09-09 17:37:34 +02:00
Volker Lendecke
6344b8ec27 make smb_bytes_push_str public
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09 17:37:34 +02:00
Volker Lendecke
7fafa9756a Fix a memleak in cli_qfilename (only used in smbtorture)
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-09-09 09:54:36 +02:00
Volker Lendecke
60255c3b2e Protect against a closed socket
(This used to be commit d6cb5fdafbddb08d32b788674eff509cae9525c6)
2008-09-05 12:33:48 +02:00
Volker Lendecke
f912ac962a Do proper error handling if the socket is closed
(This used to be commit e5a27773f97d7017cfa345799c6803fd82c8e797)
2008-09-05 12:33:48 +02:00
Steven Danneman
304554115a Cleanup of DC enumeration in get_dcs()
This is a fix for a few small inefficiencies/bugs in the get_dcs() path.

* because the third add_one_dc_unique() loop was outside the ADS check all DCs
  returned from the non-sitename lookup were being tacked onto the dc_name_ip
  list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
  adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)
2008-09-04 11:50:25 -07:00
Günther Deschner
087a992b97 doserr: add WERR_WRONG_PASSWORD.
Guenther
(This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)
2008-09-02 00:46:10 +02:00
Volker Lendecke
767130ebec Fix some nonempty blank lines
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
2008-09-01 23:32:42 +02:00
Volker Lendecke
cad04676ca Fix typo
(This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)
2008-09-01 23:31:42 +02:00
Volker Lendecke
06dd647fe0 Remove a duplicate retval check
Jeremy, please check!
(This used to be commit 6579005e6490f1a99b3860627ba51decaeb864bd)
2008-08-31 11:45:12 +02:00
Günther Deschner
bff20e14c3 kerberos: use KRB5_KT_KEY macro where appropriate.
Guenther
(This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
2008-08-29 11:01:34 +02:00
Günther Deschner
0380fe9d82 kerberos: move the KRB5_KEY* macros to header file.
Guenther
(This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
2008-08-29 10:59:28 +02:00
Volker Lendecke
f294f51bf0 Remove cli_request_get()
req->private_data==NULL at this point is definitely a bug.
(This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
2008-08-28 18:22:49 +02:00