Tim Prouty
1eb743ab8e
s3: Change sockaddr util function names for consistency
...
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Volker Lendecke
8fc15ab96d
remove the explicit mem_ctx from ntlmssp_state, use the state itself
2008-11-30 17:15:19 +01:00
Volker Lendecke
d253a367ef
fix nonempty blank lines
2008-11-30 17:15:19 +01:00
Volker Lendecke
95873566e3
Do not build the session request if it si not used anyway
2008-11-30 12:31:04 +01:00
Volker Lendecke
88909acb6c
fix nonempty blank lines
2008-11-30 12:30:51 +01:00
Volker Lendecke
9a3be6f0f8
Move cli_trans_oob to lib/util.c
...
Rename it to trans_oob, it will be used in the server routines.
2008-11-28 08:24:37 +01:00
Kai Blin
69debd45e5
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
2008-11-18 11:25:14 -08:00
Günther Deschner
0474c8665d
nterrors: add NT_STATUS_DS_BUSY.
...
Guenther
2008-11-10 21:46:24 +01:00
Günther Deschner
8d69a65110
s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex).
...
Guenther
2008-11-06 13:40:52 +01:00
Volker Lendecke
8637716b4b
Make use of smb_bufrem()
2008-11-01 19:41:07 +01:00
Jelmer Vernooij
4d3eb32a1a
ntlm_check.c: Sync some changes from Samba 4.
2008-11-01 18:50:06 +01:00
Jelmer Vernooij
434ca5fc33
Use standardized types in ntlm_check.c.
2008-11-01 17:59:25 +01:00
Jelmer Vernooij
7ec720af71
Use shared doserr.c.
2008-11-01 17:28:16 +01:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Günther Deschner
7f8bc6a2d9
errors: share dcerpc error function.
...
Guenther
2008-10-31 12:42:09 +01:00
Derrell Lipman
2a76f4d8c8
Error return is False, not -1
...
- There were a few places in SMBC_getatr() that returned -1 instead of a
boolean. -1 was intended to mean error, but that's what False is for, and
the usages of this function assume that it returns a boolean with False as
the error condition.
Derrell
2008-10-24 10:31:31 -04:00
Jelmer Vernooij
d6a5476ee7
Use sockaddr_storage only where we rely on the size, use sockaddr
...
otherwise (to clarify we can also pass in structs smaller than
sockaddr_storage, such as sockaddr_in).
2008-10-23 19:53:15 +02:00
Jelmer Vernooij
f9fb9436ae
Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS
...
previously present in Samba 3.
2008-10-23 15:37:39 +02:00
Jelmer Vernooij
44b728958a
Use common error definitions.
2008-10-23 15:35:21 +02:00
Günther Deschner
8a3bff343a
s3-build: fix another build warning with the new ASN1 code.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
d115c4587f
s3-build: fix some const build warnings.
...
Guenther
2008-10-23 01:43:41 +02:00
Günther Deschner
0f89871837
s3-build: fix the build.
...
Guenther
2008-10-22 22:45:04 +02:00
Günther Deschner
c0cf457c85
s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.
...
Guenther
2008-10-22 21:37:36 +02:00
Günther Deschner
d9f1fff5b3
s3: use shared asn1 code.
...
Guenther
2008-10-22 21:37:36 +02:00
Günther Deschner
4b59ecb903
s3-build: no need to duplicate generated ndr_ prototypes.
...
Guenther
2008-10-20 19:47:00 +02:00
Jelmer Vernooij
7275952568
Add TALLOC_CTX pointer to generate_random_str(), for consistency with
...
Samba 4.
2008-10-19 10:05:48 +02:00
Tim Prouty
16bbfc2262
Fixed "argument differ in signedness" warning on linux
2008-10-14 17:31:07 -07:00
Jelmer Vernooij
4746f79d50
Use {u,}int64_t instead of SMB_BIG_{U,}INT.
2008-10-14 01:59:36 +02:00
Jelmer Vernooij
e779345bca
Import changes from upstream libndr.
2008-10-13 15:01:28 +02:00
Jelmer Vernooij
a59ce1d94c
Use common byteorder.h.
2008-10-12 16:17:21 +02:00
Volker Lendecke
3bcb76a924
Fix "warning: initialization discards qualifiers from pointer target type"
2008-10-12 14:13:24 +02:00
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