1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

11303 Commits

Author SHA1 Message Date
Jeremy Allison
fa8647eb20 More scalable print tdb fixes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7ace900b33 More scalable print tdb fixes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
371f4aca92 Sync up with 3.0 heimdal.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e79dc0dade Re-added the Heimdal stuff tpot removed.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d63849db6d Fix kerberos compile after the tpot massicre :-).
Jeremy
0001-01-01 00:00:00 +00:00
Jeremy Allison
1298ecd0b8 Revert tpot's HEAD merge which broke the Heimdal build.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1fec0f50ed Stop tpot from trampling over my Heimdal fixes by moving some of them
to HEAD :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
90336900ad Revert tpot's breakage of the Heimdal fixes.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
29962f99f2 Straus VOS detection patches from Paul Green 0001-01-01 00:00:00 +00:00
Gerald Carter
726181537d Straus VOS detection patches from Paul Green 0001-01-01 00:00:00 +00:00
Tim Potter
6f89ee2c9d Sync of Heimdal kerberos stuff with HEAD. If this breaks I'm blaming
the dog again.
0001-01-01 00:00:00 +00:00
Tim Potter
71e2b60d8f Merge of controversial 'max log size' fix. 0001-01-01 00:00:00 +00:00
Tim Potter
abb112ba2a Merge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD. 0001-01-01 00:00:00 +00:00
Tim Potter
08050a93d9 The REQ_DEBUGLEVEL message returns a string not a list of integers. 0001-01-01 00:00:00 +00:00
Tim Potter
6fee7196d6 Move debug level message handling into debug.c from messages.c
Removed duplicate message_register() for REQ_DEBUGLEVEL message.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d1e8991a76 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
33e3e863eb 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
0001-01-01 00:00:00 +00:00
John Terpstra
0104e80637 Added "passwd backend" to WIZARD section in SWAT. 0001-01-01 00:00:00 +00:00
Jeremy Allison
1e752b48a1 Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
e959a8eb67 playing janitor for abartlet. :-(
"
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
"
0001-01-01 00:00:00 +00:00
Jeremy Allison
60be9a2f1e Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
28258224de Merge from HEAD - fix to findsmb by Waider 0001-01-01 00:00:00 +00:00
Andrew Bartlett
c32c1bccc2 Fix to findsmb by Waider 0001-01-01 00:00:00 +00:00
Andrew Bartlett
dceb7820d7 Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
e20cb9ca55 Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function. Merge from HEAD (tpot).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
e781388c59 Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull() - merge from HEAD (tpot).
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
d3962da61a Use new interface for cli_samr_query_dispinfo(). 0001-01-01 00:00:00 +00:00
Tim Potter
2eea2813d9 Pass down max_size parameter to cli_samr_query_dispinfo() instead of
using a hardcoded value later on.

Added a helper function that returns the observed values for
max_entries and max_size for each cli_samr_query_dispinfo() call.
These values were obtained from watching the NT4 user manager
application with ethereal and are the only ones that can enumerate a
60k user domain reliably under Windows 2000.
0001-01-01 00:00:00 +00:00
Tim Potter
c3b077f763 Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff.
0001-01-01 00:00:00 +00:00
Tim Potter
55d268fdd6 Removed duplicate fn to avoid compiler warning. 0001-01-01 00:00:00 +00:00
Tim Potter
cdc7c599c7 Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function.
0001-01-01 00:00:00 +00:00
Tim Potter
b9c4cc1195 Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull()
0001-01-01 00:00:00 +00:00
Tim Potter
1e7236371d Quieten debug about gencache.tdb not being able to be opened.
Perhaps we should try to open O_RDONLY if O_RDWR fails?
0001-01-01 00:00:00 +00:00
Jeremy Allison
49739be1e2 Merge tridge's client priv code from HEAD.
Jeremy
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bf99440398 added LsaRemoveAccountRights
this now gives us complete remove privileges control in the client
libs, so we are in good shape for starting on the server side.
0001-01-01 00:00:00 +00:00
Jeremy Allison
30a33920b4 Merging tridge's privillage client changes from HEAD.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
f739a7263d patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries 0001-01-01 00:00:00 +00:00
Gerald Carter
8ef302f6bf patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries 0001-01-01 00:00:00 +00:00
Gerald Carter
1a0c9155f1 added missing file for abartlet 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
06f641bcb5 First step towards XML: Use correct syntax 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
89f9a0a0c4 First step in converting to XML: use strict syntax 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
d9cf973a46 Put in ab's conversion to XML. First step: Make all the SGML docs
conform to the (more strict) XML syntax.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
0930628bd5 Merge in ab's conversion to XML. First step: make SGML documents compatible
with the (more strict) XML format.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2e5e659e09 cleaned up the lsa_enum_acct_rights function and added a
lsa_add_acct_rights function.

This allows us to add privileges remotely to accounts using rpcclient.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
fbb46da79c 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
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7cbb194b58 As per a comment by herb a little while back, this should be >=, not == to keep
identical behaviour with previous versions
0001-01-01 00:00:00 +00:00
Andrew Bartlett
a058960c15 Make this an fstrcat(), as this seems to fix some weird issue with the server
name being truncated...  (either way, it's the correct thing to do).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
e5c67a0124 The previous patch (NTLMSSP common code factoring) was missing a minor detail -
testing :-).  This gets the 'signiture' after the extended security blob,
rather than over the top of it.

Also move that code to the top of the file, with some of the other util functions.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
cvs2svn Import User
b741abd496 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
a8773c9f82 Factor out common code in the NTLMSSP/SPNEGO code.
The idea here is to seperate, as much as possible, the SPNEGO layer from the
NTLMSSP layer.  This not only helps us with protocol correctness, but also
should allow further mechinisms to be added with relitive ease.  I indend to
make the kerberos code use this shortly.

I've never seen the 'zero length blob' form of the anonymous login, so I've
removed that case.

Andrew Bartlett
0001-01-01 00:00:00 +00:00