summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* We now have client-side SMB signing support!Andrew Bartlett2003-02-015-12/+23
| | | | | | | | | | | | | | | | | | | | | | This checking allows us to connect to Microsoft servers the use SMB signing, within a few restrictions: - I've not get the NTLMSSP stuff going - it appears to work, but if you break the sig - say by writing a zero in it - it still passes... - We don't currently verfiy the server's reply - It works against one of my test servers, but not the other... However, it provides an excellent basis to work from. Enable it with 'client signing' in your smb.conf. Doc to come (tomorrow) and this is not for 3.0, till we get it complete. The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the standard session key, ie MD4(NT#). Thanks to jra for the early work on this. Andrew Bartlett
* NetBSD also supports dynamic libsJelmer Vernooij2003-02-012-789/+792
|
* Bitmap offsets and counts are always positive.Andrew Bartlett2003-02-012-2/+2
|
* Makefile.in change for ldap escaping fixesAndrew Bartlett2003-02-011-1/+2
|
* One more signed/unsigned fixAndrew Bartlett2003-02-011-1/+1
|
* Non-error connection numbers are always positiveAndrew Bartlett2003-02-011-2/+2
|
* Prompted by RedHat bugzilla bug #77999, convert the user's username andAndrew Bartlett2003-02-011-4/+11
| | | | | | password from 'display' to 'unix' before we check them. Andrew Bartlett
* More ldap parinoia - if we ever get more than one result, bail. The order weAndrew Bartlett2003-02-011-5/+23
| | | | | | | get them in should be indeterminate, so just picking the first one would be bad... Andrew Bartlett
* Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett2003-02-017-15/+163
| | | | | | | | blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett
* Make it clear that the magic value is (size_t)-1.Andrew Bartlett2003-02-011-2/+2
| | | | Andrew Bartlett
* A couple more signed/unsigned issues.Andrew Bartlett2003-02-011-2/+2
|
* Added first part of attribute matrix tests. Not run and compiled in right now...Jeremy Allison2003-01-311-0/+101
| | | | Jeremy.
* Ensure Luke Howard's (C) is added.Jeremy Allison2003-01-311-1/+21
| | | | Jeremy.
* Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-306-16/+65
| | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy.
* More scalable print tdb fixes.Jeremy Allison2003-01-301-13/+23
| | | | Jeremy.
* Sync up with 3.0 heimdal.Jeremy Allison2003-01-301-0/+8
| | | | Jeremy.
* Fix kerberos compile after the tpot massicre :-).Jeremy Allison2003-01-303-1229/+1740
| | | | Jeremy
* Stop tpot from trampling over my Heimdal fixes by moving some of themJeremy Allison2003-01-301-0/+122
| | | | | to HEAD :-). Jeremy.
* Straus VOS detection patches from Paul GreenGerald Carter2003-01-302-848/+905
|
* The REQ_DEBUGLEVEL message returns a string not a list of integers.Tim Potter2003-01-301-4/+1
|
* Move debug level message handling into debug.c from messages.cTim Potter2003-01-302-11/+14
| | | | Removed duplicate message_register() for REQ_DEBUGLEVEL message.
* Fix for interesting resource constraint condition. When all opens areJeremy Allison2003-01-303-17/+22
| | | | | | | | | | 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.
* Fix to findsmb by WaiderAndrew Bartlett2003-01-291-1/+1
|
* Make the vampire code use just pdb calls - allowing better operation on systemsAndrew Bartlett2003-01-291-22/+15
| | | | | | | | | 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
* Use new interface for cli_samr_query_dispinfo().Tim Potter2003-01-293-13/+41
|
* Pass down max_size parameter to cli_samr_query_dispinfo() instead ofTim Potter2003-01-291-2/+35
| | | | | | | | | | 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.
* Pass down max_size parameter to init_samr_q_query_dispinfo() insteadTim Potter2003-01-291-2/+2
| | | | of hardcoding it to 0xffff.
* Removed duplicate fn to avoid compiler warning.Tim Potter2003-01-291-19/+0
|
* Remove NULL buffer checks before rpcstr_pull() as they're now doneTim Potter2003-01-291-63/+38
| | | | inside this function.
* Return 0 instead of crashing when a NULL source string is passedTim Potter2003-01-291-0/+1
| | | | to rpcstr_pull()
* Quieten debug about gencache.tdb not being able to be opened.Tim Potter2003-01-291-1/+1
| | | | Perhaps we should try to open O_RDONLY if O_RDWR fails?
* added LsaRemoveAccountRightsAndrew Tridgell2003-01-284-4/+163
| | | | | this now gives us complete remove privileges control in the client libs, so we are in good shape for starting on the server side.
* patch from Paul Green to only build libsmbclient.so on platforms that ↵Gerald Carter2003-01-283-907/+934
| | | | support shared libraries
* cleaned up the lsa_enum_acct_rights function and added aAndrew Tridgell2003-01-286-20/+208
| | | | | | lsa_add_acct_rights function. This allows us to add privileges remotely to accounts using rpcclient.
* As per a comment by herb a little while back, this should be >=, not == to keepAndrew Bartlett2003-01-281-1/+1
| | | | identical behaviour with previous versions
* Make this an fstrcat(), as this seems to fix some weird issue with the serverAndrew Bartlett2003-01-281-2/+2
| | | | | | name being truncated... (either way, it's the correct thing to do). Andrew Bartlett
* The previous patch (NTLMSSP common code factoring) was missing a minor detail -Andrew Bartlett2003-01-281-28/+35
| | | | | | | | | 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
* Factor out common code in the NTLMSSP/SPNEGO code.Andrew Bartlett2003-01-284-173/+80
| | | | | | | | | | | | 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
* performance patch from HP-UX folks (cant remember who)Gerald Carter2003-01-281-3/+14
|
* CUPS-PRINTER_CLASS patch from Michael SweetGerald Carter2003-01-281-2/+101
|
* reran autoconfGerald Carter2003-01-271-912/+952
|
* One more try to fix the GNU Make dependencyRichard Sharpe2003-01-271-16/+51
|
* One more fix ... Things link now if you don't use dynamic RPC stuffRichard Sharpe2003-01-271-2/+2
|
* One more try to get rid of the dependency on GNU MAKERichard Sharpe2003-01-271-21/+22
|
* Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.Richard Sharpe2003-01-271-42/+21
| | | | I have not tested this in a GNU MAKE environment yet.
* Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison2003-01-241-1/+4
| | | | Jeremy.
* Commit just a little more infrastructure for HAVE_GETDIRENTRIESRichard Sharpe2003-01-243-19298/+9213
|
* At the prompting, start to add infrastructure to detect the presence ofRichard Sharpe2003-01-241-0/+3
| | | | | getdirentries. We would also detect getdents if present. This has some rudimentary support already.
* Merge of increment_smbd_process_count() fix from appliance.Tim Potter2003-01-241-1/+1
|
* Merge of max log file fixes from appliance:Tim Potter2003-01-232-1/+15
| | | | | | | | - 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.