1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

1112 Commits

Author SHA1 Message Date
Jelmer Vernooij
6646384aaf 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.
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
5b3ab728ed 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
2007-10-10 14:05:04 -05:00
Simo Sorce
d448389be8 r15288: fix some problems 2007-10-10 14:05:02 -05:00
Simo Sorce
6fff8f871a r15241: Add helper function to set reconnect status defaults 2007-10-10 14:04:23 -05:00
Simo Sorce
e2102999e2 r15238: Add some code to automatically reconnect if we want to. 2007-10-10 14:04:23 -05:00
Andrew Bartlett
e312cddafd r15225: Use talloc_zero() to avoid use of uninitialised values later on.
Andrew Bartlett
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9 r15191: Avoid uint_t as it's not standard. 2007-10-10 14:04:15 -05:00
James Peach
7e4ad7e8e5 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.
2007-10-10 14:04:14 -05:00
Simo Sorce
3be3b1130c r15181: Don't try kerberos sign/seal when in SSL 2007-10-10 14:04:13 -05:00
Stefan Metzmacher
f30f9cd328 r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
"readx.read_for_execute = True" case.

metze
2007-10-10 14:04:10 -05:00
Stefan Metzmacher
be7285bdeb r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted

metze
2007-10-10 14:04:07 -05:00
Andrew Tridgell
2031e07a8a r14974: work around an ibm checker bug 2007-10-10 14:00:49 -05:00
Andrew Tridgell
c2cde823ee r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker) 2007-10-10 14:00:48 -05:00
Andrew Tridgell
b8b9acc600 r14946: added a smbcli_ftruncate() call, useful for torture testing 2007-10-10 14:00:21 -05:00
Andrew Tridgell
517db1b1b0 r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
torture testing. Used by RAW-NOTIFY.
2007-10-10 14:00:20 -05:00
Stefan Metzmacher
81390dcda5 r14894: - add some 'const'
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions

metze
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
a69f000324 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
2007-10-10 14:00:12 -05:00
Andrew Tridgell
77f32a2735 r14876: added ENOSYS to unix error mapping 2007-10-10 14:00:11 -05:00
Stefan Metzmacher
9ec706238c r14860: create libcli/security/security.h
metze
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
afa8f944a7 r14859: fix bugs noticed by the ibm code checker
metze
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
e391f3c98a r14840: - rename some functions
- stack specific functions on top of generic ones

metze
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
7146c1600f r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00
Stefan Metzmacher
0ad464f686 r14641: fix typo
metze
2007-10-10 13:59:04 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Andrew Tridgell
1e1c559381 r14539: get rid of a pointless union layer in struct smb_notify 2007-10-10 13:58:41 -05:00
Jelmer Vernooij
e1f896948f r14511: Install more headers 2007-10-10 13:57:35 -05:00
Jelmer Vernooij
657a893b25 r14498: Revert part of my commit that removed support for compilers that
don't support immediate structures
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
4682bc5ce0 r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now. 2007-10-10 13:57:32 -05:00
Jelmer Vernooij
430c6516d3 r14484: Install more headers 2007-10-10 13:57:31 -05:00
Jelmer Vernooij
9c37f847d3 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
6046dd8220 r14473: Modern splint has no problems with immediate structures. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
f7312dab3b r14470: Remove some unnecessary headers. 2007-10-10 13:57:29 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Andrew Tridgell
40e5bfdb0f r14435: return after an error 2007-10-10 13:57:24 -05:00
Andrew Tridgell
507def57cb r14434: use the right enum type 2007-10-10 13:57:24 -05:00
Andrew Tridgell
7d0eb678bf r14424: another empty controls case 2007-10-10 13:57:21 -05:00
Andrew Tridgell
9787fb8e91 r14423: don't die on no controls 2007-10-10 13:57:21 -05:00
Andrew Tridgell
cd9f3adc75 r14414: added some error checks 2007-10-10 13:57:20 -05:00
Andrew Tridgell
c43a7ec7ac r14413: don't do memcpy of length 0 2007-10-10 13:57:20 -05:00
Jelmer Vernooij
7054ebf024 r14402: Generate seperate headers for RPC client functions. 2007-10-10 13:57:19 -05:00
Jelmer Vernooij
1a16a6f1df r14380: Reduce the size of structs.h 2007-10-10 13:57:16 -05:00
Stefan Metzmacher
da1ac9b224 r14372: fix bug found by sparse
metze
2007-10-10 13:57:15 -05:00
Jelmer Vernooij
98c4c30513 r14363: Remove credentials.h from the global includes. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
3da79bf909 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7871b07e21 r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
2007-10-10 13:57:12 -05:00
Andrew Tridgell
6a84940bd3 r14297: make sure we can go through the loop for than once 2007-10-10 13:57:09 -05:00
Stefan Metzmacher
be6d5298a2 r14256: - rename smb_file -> smb_handle
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo

metze
2007-10-10 13:57:06 -05:00
Rafal Szczesniak
7aa90f58b9 r14239: Fix indentation.
rafal
2007-10-10 13:57:05 -05:00
Andrew Tridgell
b78abbbce6 r14208: removed use of req->flags2 inside the ntvfs layer. This should help
metze on his quest to unify the ntvfs strucures for the smb and smb2
servers. The only place we needed flags2 inside ntvfs was for the
FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a
readx.in.read_for_execute flag instead.
2007-10-10 13:57:03 -05:00