1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

2405 Commits

Author SHA1 Message Date
Andrew Bartlett
0f5ac791db .cvsignore for configure and config.h.in
(This used to be commit 7d48ad967cc767dba3301f81c1488f53107efa34)
2003-02-06 10:40:51 +00:00
Andrew Bartlett
82bad04844 (merge from HEAD)
Move configure and include/config.h.in out of CVS.

Andrew Bartlett
(This used to be commit 482465bbaf4088c06caeaab5b9fe42f11a7e2470)
2003-02-06 09:22:22 +00:00
Jelmer Vernooij
39e0b72728 Merge from HEAD: netbsd supports dynamic libs
(This used to be commit f91d4c8fd3820da751b13babc6b8f98a610fcc6e)
2003-02-01 12:18:37 +00:00
Andrew Bartlett
3b2244526c Merge of signed/unsigned fixes from HEAD.
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
2003-02-01 07:25:53 +00:00
Jeremy Allison
59222d70e2 Re-added the Heimdal stuff tpot removed.
Jeremy.
(This used to be commit e79dc0dade1ab1c9f8b3af5c01248bda70cfd582)
2003-01-30 20:36:44 +00:00
Tim Potter
cf292aead6 Sync of Heimdal kerberos stuff with HEAD. If this breaks I'm blaming
the dog again.
(This used to be commit 6f89ee2c9dc7f03e3dbe7aa734bf67c6a434d135)
2003-01-30 04:40:12 +00:00
Jeremy Allison
b61f89826f Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy
(This used to be commit 33e3e863eb7f35b852384e689f3272784261fc39)
2003-01-30 01:41:46 +00:00
Jeremy Allison
438b5c92d4 Merge tridge's client priv code from HEAD.
Jeremy
(This used to be commit 49739be1e2f047fa2cc2fd42eadb190a82114485)
2003-01-29 02:24:12 +00:00
Jeremy Allison
734c6d8a51 Merging tridge's privillage client changes from HEAD.
Jeremy.
(This used to be commit 30a33920b4d834edc877cc0080291fbda983083a)
2003-01-28 21:09:56 +00:00
Andrew Bartlett
1cba0a7579 Merge from HEAD:
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor.
  - also consequential changes to the NTLMSSP and SPNEGO parsing functions
  - and the client code that uses the same functions
 - Add ntlm_auth, a NTLMSSP authentication interface for use by applications
   like Squid and Apache.
  - also consquential changes to use common code for base64 encode/decode.
 - Winbind changes to support ntlm_auth (I don't want this program to need
   to read smb.conf, instead getting all it's details over the pipe).
 - nmbd changes for fstrcat() instead of fstrcpy().

Andrew Bartlett
(This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
2003-01-28 12:07:02 +00:00
Jeremy Allison
b1bce45141 Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy.
(This used to be commit 1b71786c161cd8ec4c3c0c6b178370ed50feeef4)
2003-01-28 03:31:33 +00:00
Jeremy Allison
755e33ee3f Get smbd to link with Heimdal. Still missing some client progs...
Jeremy.
(This used to be commit 85dda434763bbcea260c800599e4b6b73afcf174)
2003-01-28 00:33:21 +00:00
Jeremy Allison
e545fe3c0a Get closer to Heimdal compile... Damn. HEAD has different code in
kerberos_verify...
Jeremy.
(This used to be commit e8c4098da619a1429cc4c8251761333a7c0f3458)
2003-01-21 20:43:26 +00:00
Jeremy Allison
18c2948bc5 Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
(This used to be commit 0c98f779f05431ac4d298c9f021fca85d16aebae)
2003-01-21 13:33:31 +00:00
Jeremy Allison
b0aadff202 More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit a7ee6ed64500a0d949849da6996b7dc837518f00)
2003-01-21 06:23:49 +00:00
Jeremy Allison
812e093f02 Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
(This used to be commit 92ecd0bf0fe2cc4f6c86ca48e6e458e726470a50)
2003-01-19 22:27:32 +00:00
Jeremy Allison
6b2eb72df0 Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit daf179bcd6297b525bfc644efb154734723f4d58)
2003-01-16 20:08:26 +00:00
Jeremy Allison
cdc6c1662d More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
(This used to be commit 4333be5732de07786254382a4aa41333783d81b5)
2003-01-16 02:58:14 +00:00
Jeremy Allison
7dd7d3a96a Fist part of fixes to make us compile with Heimdal. Don't explicitly
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit 54d83de8a23937f1d8179a7e2596df3c50785618)
2003-01-16 02:39:49 +00:00
Gerald Carter
1c9aee8599 missed a file
(This used to be commit 1df9f3e259b5ba190de7a123a79b3afcd2bfe489)
2003-01-15 22:52:54 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15 18:57:41 +00:00
Gerald Carter
4242eda183 merging some rpcclient and net functionality from HEAD
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
2003-01-15 17:22:48 +00:00
cvs2svn Import User
04412fea45 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 619877ce031f3193065b51b8684ffbbe893b132f) 2003-01-15 12:52:39 +00:00
Andrew Bartlett
58fe4d9c20 Refactor the NTLMSSP code again - this time we use function pointers to
eliminate the dependency on the auth subsystem.  The next step is to add
the required code to 'ntlm_auth', for export to Squid etc.

Andrew Bartlett
(This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab)
2003-01-15 12:52:38 +00:00
Andrew Tridgell
eb6312af9f added cli_lsa_enum_account_rights() call. Note that this is in
principal similar to the existing cli_lsa_enum_privsaccount() call,
except that cli_lsa_enum_account_rights() doesn't require a call to
open_account first. There is also the minor matter that
cli_lsa_enum_account_rights() works whereas
cli_lsa_enum_privsaccount() doesn't!

this call can be used to find what privileges an account or group
has. This is a first step towards proper privileges support in Samba.
(This used to be commit 65bac11d716f873dcdbda528313c33634c26a072)
2003-01-15 07:40:40 +00:00
Martin Pool
3710ea2223 Run autoheader
(This used to be commit 82e4bb598c9fc26eaa090687d0daa6505fa0d550)
2003-01-15 05:23:40 +00:00
Andrew Bartlett
27b7e51a3c Merge from HEAD:
- fstring/pstring mixups
 - the detection code that found them (disabled)
 - a bit of whitespace
 - a static

Andrew Bartlett
(This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-14 08:53:59 +00:00
Andrew Bartlett
5c076b62d7 Commit my (disabled) fstring/pstring mixup detection code.
We need to fix some 'overmalloc' cases before it can be enabled by default.

Andrew Bartlett
(This used to be commit 2c2c52a18be1bd0a5ae1f4a48b1d9e18f4887dda)
2003-01-14 06:53:35 +00:00
Richard Sharpe
16925589eb Now that I am running config.developer, I decided to get rif of some warnings:
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD
   4.3 from system includes.

2. Added a bit of const to places.

3. Made sure internal functions were declared where needed.
(This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
2003-01-13 20:04:40 +00:00
Andrew Bartlett
e3293c7181 Updates to our NTLMSSP code:
This tries to extract our server-side code out of sessetup.c, and into a more
general lib.  I hope this is only a temporay resting place - I indend to
refactor it again into an auth-subsystem independent lib, using callbacks.

Move some of our our NTLMSSP #defines into a new file, and add two that I found
in the COMsource docs - we seem to have a double-up, but I've verified from
traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real.

This code also copes with ASCII clients - not that we will ever see any here,
but I hope to use this for HTTP, were we can get them.  Win2k authenticates
fine under forced ASCII, btw.

Tested with Win2k, NTLMv2 and Samba's smbclient.

Andrew Bartlett
(This used to be commit b6641badcbb2fb3bfec9d00a6466318203ea33e1)
2003-01-13 12:48:37 +00:00
Andrew Bartlett
ebb60c0302 Make the 'service' in make_connection() use an fstrcpy(), and an fstring,
becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really
don't want supprises for service names.

Also remove a legacy #define, in favor of the lp_ equiv.

Andrew Bartlett
(This used to be commit 7854a439ac601d3c23703b115cd5a8d4257c7717)
2003-01-12 11:29:02 +00:00
Andrew Bartlett
b327f5ba53 Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.

Andrew Bartlett
(This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
2003-01-04 07:50:04 +00:00
Jeremy Allison
a26f2fbe2b Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 6e0cfec16594ade6e6c499f521781348fee25040)
2003-01-03 19:07:26 +00:00
Jeremy Allison
20f1cf6cdc Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 62038a0abf193d4dc4f37c31ac77216a10f6f326)
2003-01-03 18:50:13 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Andrew Bartlett
43059acb95 Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
2003-01-03 03:24:23 +00:00
Andrew Bartlett
a746483fd8 Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in
compiler-based argument checking.
(This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
2003-01-02 12:54:02 +00:00
Andrew Bartlett
6d66fb308a BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2003-01-02 09:07:17 +00:00
Simo Sorce
ed961ddf44 ignore tdbsam2_parse_info.h
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)
2002-12-31 00:45:35 +00:00
Jeremy Allison
944fb243eb Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit e789edbb287319f52f49f2999917a610565144d9)
2002-12-30 23:55:58 +00:00
Jeremy Allison
64501e44ee Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit 66eff26fc930e37035bba8672f5fd3aeae71078d)
2002-12-30 23:55:53 +00:00
Simo Sorce
60667264b7 the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this

some test revelead I'm right.

some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
2002-12-30 04:41:27 +00:00
Jeremy Allison
7f23546730 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-20 20:23:06 +00:00
Jeremy Allison
ef8bd7c4f7 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-20 20:21:31 +00:00
Simo Sorce
1a37c02890 it's getting comic ...
yet another missing piece :-O
(This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)
2002-12-17 01:38:48 +00:00
Simo Sorce
a628d7d54d Uhmm a bad day to commit changes :-((
(This used to be commit 5320d54b901b92a3a8cdf9a407651713826c6c9f)
2002-12-16 23:40:15 +00:00
Simo Sorce
b242cfe6b3 oh god, I will forgot my name one of these days :-/
(This used to be commit 0b2591cc4001dd5430591f1871b76c1a6d133b43)
2002-12-16 21:22:09 +00:00
Simo Sorce
48fb7b090e updates to the gums
introduce genparser will be used by tdbsam2
(This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)
2002-12-16 12:11:02 +00:00
Jeremy Allison
96791a9aa4 Ensure talloc pool query messages are reserved.
Jeremy.
(This used to be commit 3520195523c629c4d936db6b0112bd4bd4426ad7)
2002-12-14 01:33:02 +00:00
Jeremy Allison
e8b3cc8da0 Ensure talloc pool query messages are reserved.
Jeremy.
(This used to be commit 10328a417f070dd0f7e7f2e34501b8402c5c478a)
2002-12-14 01:32:59 +00:00