Andrew Bartlett
742c110cd6
r15400: Move the TLS code behind the socket interface.
...
This reduces caller complexity, because the TLS code is now called
just like any other socket. (A new socket context is returned by the
tls_init_server and tls_init_client routines).
When TLS is not available, the original socket is returned.
Andrew Bartlett
(This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)
2007-10-10 14:05:32 -05:00
Tim Potter
49994442bb
r15397: Fix typo.
...
(This used to be commit 74bd8170fc9d53403899721bc4b620121946e4d2)
2007-10-10 14:05:32 -05:00
Tim Potter
0b673b7999
r15395: Fix build by adding another copy of the Python detection m4 fragment.
...
This stuff should be common somewhere.
(This used to be commit e906781cbd7a9d782e028fb0497de739ac6fb797)
2007-10-10 14:05:32 -05:00
Tim Potter
ce3293c5b6
r15391: Wrap up the nbt_name_query() function as a bit of an experiment. It
...
seemed to work quite well and this technique might be good for
generating an interface to use for automated testing.
Tested by doing a nbt lookup against smbd.
(This used to be commit 11150b3140c91459f17c767adf07a54524338c18)
2007-10-10 14:05:32 -05:00
Jelmer Vernooij
8bab932282
r15387: Fix installation of dcerpc headers, remove more instances of uint_t
...
(This used to be commit 9e9bfd04c6db013453b900e201df9c09e8777a22)
2007-10-10 14:05:31 -05:00
Jelmer Vernooij
46f627ea7a
r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
...
they break external projects.
(This used to be commit f919fd6655f00361691e676d260bd40e0b8ddcc7)
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
5c3a1d76ff
r15379: Fix shared library build's unresolved dependencies
...
(This used to be commit 0fafa2e59566f8f892d7dfd7dd33d0100b96a780)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
6275553bae
r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
...
boxes.
(This used to be commit c95ad11307dc89384c10bd5919817bf12d9c1ed9)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
37e94956e0
r15365: Fix error in my previous commit, caught by metze.
...
(This used to be commit 0d99397007960e555f562f1498a202407e235f36)
2007-10-10 14:05:27 -05:00
Jelmer Vernooij
cf0f4ec073
r15358: Fix some compiler warnings / type safety. Found by tcc
...
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)
2007-10-10 14:05:25 -05:00
Andrew Bartlett
c2cc10c786
r15356: Remove unused 'flags' argument from socket_send() and friends.
...
This is in preperation for making TLS a socket library.
Andrew Bartlett
(This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
e48fdb255a
r15352: Remove reference to just-removed subsystem
...
(This used to be commit ccb86ab15986fa642d412432bfd4f8f2f280e13d)
2007-10-10 14:05:24 -05:00
Jelmer Vernooij
30e8599538
r15350: Remove empty subsystem, don't install .a files of subsystems
...
(This used to be commit 087188cfc4a38d92b13fc8e58e1f408306442055)
2007-10-10 14:05:24 -05:00
Jelmer Vernooij
1f5a8f892f
r15344: Fix shared library build
...
(This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8)
2007-10-10 14:05:21 -05:00
Jelmer Vernooij
20b3b0f2e3
r15338: Fix build of most things with shared libs enabled.
...
(This used to be commit 8985093d3fba90287bd739aaaa0fbfdadca2b999)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
f7c86b912d
r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
...
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
e002300f23
r15328: Move some functions around, remove dependencies.
...
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
9220144604
r15313: Fix some dependencies in dso mode
...
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
b00c236906
r15301: Use static libraries internally. This required a few hacks in the build
...
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
620d759f49
r15298: Fix the build using a few hacks in the build system.
...
Recursive dependencies are now forbidden (the build system
will bail out if there are any).
I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
(This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
710ea94988
r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
...
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
(This used to be commit 5b3ab728edfc9cdd9eee16ad0fe6dfd4b5ced630)
2007-10-10 14:05:04 -05:00
Simo Sorce
886329898c
r15288: fix some problems
...
(This used to be commit d448389be88b3bb9d6f9a3b8a1e1597c4988a0ff)
2007-10-10 14:05:02 -05:00
Simo Sorce
13f17436ea
r15241: Add helper function to set reconnect status defaults
...
(This used to be commit 6fff8f871a607e561531e2aabef37f3469aa85e9)
2007-10-10 14:04:23 -05:00
Simo Sorce
8f16429947
r15238: Add some code to automatically reconnect if we want to.
...
(This used to be commit e2102999e26566543162455b34adbd2b0486b74d)
2007-10-10 14:04:23 -05:00
Andrew Bartlett
cc11de1e3e
r15225: Use talloc_zero() to avoid use of uninitialised values later on.
...
Andrew Bartlett
(This used to be commit e312cddafd7e00680dd059fad7ef7e5ecdbbb484)
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
69b51f702a
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30
r15191: Avoid uint_t as it's not standard.
...
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10 14:04:15 -05:00
James Peach
6ab33938d5
r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
...
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10 14:04:14 -05:00
Simo Sorce
60f3ef5052
r15181: Don't try kerberos sign/seal when in SSL
...
(This used to be commit 3be3b1130c41e8e372531c137c46f91c5c0acf98)
2007-10-10 14:04:13 -05:00
Stefan Metzmacher
acc0516742
r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
...
"readx.read_for_execute = True" case.
metze
(This used to be commit f30f9cd3285f75ac8cbbe8dc5a476fe6a714a2e3)
2007-10-10 14:04:10 -05:00
Stefan Metzmacher
3f9628ac7c
r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
...
desired but SeSecurityPrivilege isn't granted
metze
(This used to be commit be7285bdebd58e7a86fcc64f7b22b9f533bcc4f5)
2007-10-10 14:04:07 -05:00
Andrew Tridgell
eae0b77a6e
r14974: work around an ibm checker bug
...
(This used to be commit 2031e07a8a14d83ab621f8baaae6b4e1425667d7)
2007-10-10 14:00:49 -05:00
Andrew Tridgell
7789fa412d
r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
...
(This used to be commit c2cde823ee004b53707acd1390d25fa9856b5179)
2007-10-10 14:00:48 -05:00
Andrew Tridgell
8be91f2d0f
r14946: added a smbcli_ftruncate() call, useful for torture testing
...
(This used to be commit b8b9acc60003c86fb1f0377b46f65155c3b898a9)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
fd25c10284
r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
...
torture testing. Used by RAW-NOTIFY.
(This used to be commit 517db1b1b0061be57c67ea02d42000fb8ace844d)
2007-10-10 14:00:20 -05:00
Stefan Metzmacher
1ac990ddcf
r14894: - add some 'const'
...
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions
metze
(This used to be commit 81390dcda50f53d61e70059fb33014de0d283dc5)
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
5559f5e3e5
r14891: fix a bug found by the ibm checker
...
the problem was that we shift with <<= (privilege-1)
and we called the function with privilege=0
add some checks to catch invalid privilege values
and hide the mask representation in privilege.c
metze
(This used to be commit a69f000324764bcd4cf420f2ecba1aca788258e4)
2007-10-10 14:00:12 -05:00
Andrew Tridgell
69e40fa99a
r14876: added ENOSYS to unix error mapping
...
(This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51)
2007-10-10 14:00:11 -05:00
Stefan Metzmacher
1af925f394
r14860: create libcli/security/security.h
...
metze
(This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
508ba6026a
r14859: fix bugs noticed by the ibm code checker
...
metze
(This used to be commit afa8f944a7c572becd011b8c248eef13d7495ac7)
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
8cd973decd
r14840: - rename some functions
...
- stack specific functions on top of generic ones
metze
(This used to be commit e391f3c98aae600c5f64d5975dd55567a09c3100)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
935af3eb19
r14724: Rearrange some source files, install more headers.
...
(This used to be commit 7146c1600f29c349e5bb78f810e7e170b535dd37)
2007-10-10 13:59:14 -05:00
Stefan Metzmacher
b7f5078864
r14641: fix typo
...
metze
(This used to be commit 0ad464f686dddc5befdf1ec8d20101ee0ad83585)
2007-10-10 13:59:04 -05:00
Jelmer Vernooij
35349a58df
r14542: Remove librpc, libndr and libnbt from includes.h
...
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Andrew Tridgell
9225c02aee
r14539: get rid of a pointless union layer in struct smb_notify
...
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10 13:58:41 -05:00
Jelmer Vernooij
5b0051e032
r14511: Install more headers
...
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10 13:57:35 -05:00
Jelmer Vernooij
2d558d5e19
r14498: Revert part of my commit that removed support for compilers that
...
don't support immediate structures
(This used to be commit 657a893b25bc6669f016a9d251e07120d025f436)
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
b785a7c40c
r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
...
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
83d8fd3dcf
r14484: Install more headers
...
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
71b4fd9792
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
...
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -05:00