1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

11220 Commits

Author SHA1 Message Date
Andrew Bartlett
9c3a1710ef Merge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and some
misc libads fixes.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
8485c51bc4 Merge from HEAD - convert username/password to unix before checking them in
SWAT.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
e9f56a157b Merge of signed/unsigned fixes from HEAD. 0001-01-01 00:00:00 +00:00
cvs2svn Import User
ed336acc6e This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
34b2e558a4 Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm to
blame for the realloc() stuff.

Plus a couple of minor updates to libads.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
9494c1e153 More doco updates, in particular the fact that you must configure the smb.conf
*before* you join, otherwise we don't have all the info that 'net join' needs.

Also move from smbpasswd -j to 'net join' in the examples.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
0944c69636 Clarify that 'use spnego = yes' is fine in all known situations.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
0676b4e35f Make it clear that the magic value is (size_t)-1.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
01d78b828b A couple more signed/unsigned issues. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
7fd0c9bd74 Minor doco updates - with a slightly bigger change to the
'security=server/domain' text, to try and explain the difference better, and
why you should always use the latter.

Also update the BDC-HOWTO to have some relation to current reality.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
9931f50b39 Clarifications for the ADS docs. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
dfe565e6ce Clear up the winbind doco on ADS support, and specify 'net join' not 'net rpc
join' as people are using the 'wrong' one and wondering why it doesn't quite
work.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
fdc14aa6f6 Added first part of attribute matrix tests. Not run and compiled in right now...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
6624fa59d7 Ensure Luke Howard's (C) is added.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
4af9e80521 Ensure Luke Howard's (C) is added.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
07efebb984 Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
4ae130bfa8 Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
0001-01-01 00:00:00 +00:00
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