1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

10610 Commits

Author SHA1 Message Date
Jeremy Allison
fa8647eb20 More scalable print tdb fixes.
Jeremy.
-
Jeremy Allison
371f4aca92 Sync up with 3.0 heimdal.
Jeremy.
-
Jeremy Allison
d63849db6d Fix kerberos compile after the tpot massicre :-).
Jeremy
-
Jeremy Allison
1fec0f50ed Stop tpot from trampling over my Heimdal fixes by moving some of them
to HEAD :-).
Jeremy.
-
Gerald Carter
726181537d Straus VOS detection patches from Paul Green -
Tim Potter
08050a93d9 The REQ_DEBUGLEVEL message returns a string not a list of integers. -
Tim Potter
6fee7196d6 Move debug level message handling into debug.c from messages.c
Removed duplicate message_register() for REQ_DEBUGLEVEL message.
-
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.
-
Andrew Bartlett
c32c1bccc2 Fix to findsmb by Waider -
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
-
Tim Potter
d3962da61a Use new interface for cli_samr_query_dispinfo(). -
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.
-
Tim Potter
c3b077f763 Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff.
-
Tim Potter
55d268fdd6 Removed duplicate fn to avoid compiler warning. -
Tim Potter
cdc7c599c7 Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function.
-
Tim Potter
b9c4cc1195 Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull()
-
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?
-
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.
-
Gerald Carter
f739a7263d patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries -
Jelmer Vernooij
06f641bcb5 First step towards XML: Use correct syntax -
Jelmer Vernooij
89f9a0a0c4 First step in converting to XML: use strict syntax -
Jelmer Vernooij
d9cf973a46 Put in ab's conversion to XML. First step: Make all the SGML docs
conform to the (more strict) XML syntax.
-
Jelmer Vernooij
0930628bd5 Merge in ab's conversion to XML. First step: make SGML documents compatible
with the (more strict) XML format.
-
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.
-
Andrew Bartlett
7cbb194b58 As per a comment by herb a little while back, this should be >=, not == to keep
identical behaviour with previous versions
-
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
-
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
-
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
-
Gerald Carter
9180e2d062 performance patch from HP-UX folks (cant remember who) -
Gerald Carter
d74d4fe0b0 CUPS-PRINTER_CLASS patch from Michael Sweet -
Gerald Carter
f89a99bf88 reran autoconf -
Richard Sharpe
84b6f32cff One more try to fix the GNU Make dependency -
Richard Sharpe
58a7744f4a One more fix ... Things link now if you don't use dynamic RPC stuff -
Richard Sharpe
a96592fb69 One more try to get rid of the dependency on GNU MAKE -
Richard Sharpe
5e99472d5b Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.
I have not tested this in a GNU MAKE environment yet.
-
Jeremy Allison
af6e4ea640 Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
-
Richard Sharpe
fdd449fe7b Commit just a little more infrastructure for HAVE_GETDIRENTRIES -
Richard Sharpe
916c8784d2 At the prompting, start to add infrastructure to detect the presence of
getdirentries. We would also detect getdents if present. This has some
rudimentary support already.
-
Tim Potter
c39c54e6b6 Merge of increment_smbd_process_count() fix from appliance. -
Tim Potter
303710c206 Merge of max log file fixes from appliance:
- smbd/process.c: check log file sizes more often than in
       timeout_processing()

 - lib/debug.c: increment debug_count inside Debug1() instead of
       when log file sizes are checked.
-
Tim Potter
9b11ede901 Fixed typo. -
Gerald Carter
fcf63df8bf fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE -
Jim McDonough
5d43346761 revert accidentally committed changes -
Jim McDonough
97133f7168 Properly display popt errors. Also fix debug to be -d for consistency with other progs. -
Jeremy Allison
1684719695 Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
-
Tim Potter
f150af98a7 Updated some comments. -
Jeremy Allison
193cc4f4fc More fixes getting us closer to full Heimdal compile....
Jeremy.
-
Tim Potter
88d977ecce Keep the list of dead WINS servers in gencache.tdb instead of in
memory.  This allows the information to be shared amongst all smbd
processes.

HP CR #1099
-
Tim Potter
9ff4fe7e0d Make the valstr and timeout return pointers optional so a caller can
pass NULL if it doesn't care about the gencache key.
-
Tim Potter
8b167a45a6 Deleted arguments to help output - they didn't work. -