summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-02-01We now have client-side SMB signing support!Andrew Bartlett5-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 (This used to be commit 1a2738937e3d80b378bd0ed33cd8d395fba2d3c3)
2003-02-01NetBSD also supports dynamic libsJelmer Vernooij2-789/+792
(This used to be commit dbb29495e7cd94b4ad07efd656d021d9551f5eb6)
2003-02-01Bitmap offsets and counts are always positive.Andrew Bartlett2-2/+2
(This used to be commit 8f495e8634a1777c4b03d3ec07c76f905ff2fb98)
2003-02-01Makefile.in change for ldap escaping fixesAndrew Bartlett1-1/+2
(This used to be commit 9f3525967d3a55a0156544733a1e83711bf4be78)
2003-02-01One more signed/unsigned fixAndrew Bartlett1-1/+1
(This used to be commit 013fa874733566169ecefb25458d26065190f302)
2003-02-01Non-error connection numbers are always positiveAndrew Bartlett1-2/+2
(This used to be commit 69e94440cd89a19bbcebc49d87836153b452da47)
2003-02-01Prompted by RedHat bugzilla bug #77999, convert the user's username andAndrew Bartlett1-4/+11
password from 'display' to 'unix' before we check them. Andrew Bartlett (This used to be commit 98a4ebf55cfce9da2c187d89a4f9c7b34e5f999e)
2003-02-01More ldap parinoia - if we ever get more than one result, bail. The order weAndrew Bartlett1-5/+23
get them in should be indeterminate, so just picking the first one would be bad... Andrew Bartlett (This used to be commit 21da8c3bb39c507eb90865549c3bb3538dcea138)
2003-02-01Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett7-15/+163
blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett (This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)
2003-02-01Make it clear that the magic value is (size_t)-1.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 0676b4e35f2ab5b58c44df9fe2eef112425d6013)
2003-02-01A couple more signed/unsigned issues.Andrew Bartlett1-2/+2
(This used to be commit 01d78b828b89f04b70b53ded01a7f4b356979317)
2003-01-31Added first part of attribute matrix tests. Not run and compiled in right now...Jeremy Allison1-0/+101
Jeremy. (This used to be commit fdc14aa6f67b95350796cd1075a3910e3e5d84b6)
2003-01-31Ensure Luke Howard's (C) is added.Jeremy Allison1-1/+21
Jeremy. (This used to be commit 6624fa59d749b0c0d6aacc35b9b6ba2b567d6eb4)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison6-16/+65
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
2003-01-30More scalable print tdb fixes.Jeremy Allison1-13/+23
Jeremy. (This used to be commit fa8647eb208a971063039c24da849021c5e25267)
2003-01-30Sync up with 3.0 heimdal.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 371f4aca9204f3c093af622ec6c9ea7c5145bf85)
2003-01-30Fix kerberos compile after the tpot massicre :-).Jeremy Allison3-1229/+1740
Jeremy (This used to be commit d63849db6d02b1a9430072e6e15a67e1c526e5e7)
2003-01-30Stop tpot from trampling over my Heimdal fixes by moving some of themJeremy Allison1-0/+122
to HEAD :-). Jeremy. (This used to be commit 1fec0f50ed0e750afec5cdf551fcd37ef4858e94)
2003-01-30Straus VOS detection patches from Paul GreenGerald Carter2-848/+905
(This used to be commit 726181537db6bdd299fd9256a5e6def6b4b8ae33)
2003-01-30The REQ_DEBUGLEVEL message returns a string not a list of integers.Tim Potter1-4/+1
(This used to be commit 08050a93d9c5b2276c4eaf933974607cf11a1876)
2003-01-30Move debug level message handling into debug.c from messages.cTim Potter2-11/+14
Removed duplicate message_register() for REQ_DEBUGLEVEL message. (This used to be commit 6fee7196d695ca813a301b1e6d7da687b7e7bda5)
2003-01-30Fix for interesting resource constraint condition. When all opens areJeremy Allison3-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. (This used to be commit d1e8991a76a57b7d96dd7db3c1d9bbf5b28da88e)
2003-01-29Fix to findsmb by WaiderAndrew Bartlett1-1/+1
(This used to be commit c32c1bccc27f10e2f44f3e7f3778aae38bba8f25)
2003-01-29Make the vampire code use just pdb calls - allowing better operation on systemsAndrew Bartlett1-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 (This used to be commit dceb7820d71ce624de60ce8f729d5d3711b64152)
2003-01-29Use new interface for cli_samr_query_dispinfo().Tim Potter3-13/+41
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)
2003-01-29Pass down max_size parameter to cli_samr_query_dispinfo() instead ofTim Potter1-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. (This used to be commit 2eea2813d9adc414f0a7ea074826b23697f376ee)
2003-01-29Pass down max_size parameter to init_samr_q_query_dispinfo() insteadTim Potter1-2/+2
of hardcoding it to 0xffff. (This used to be commit c3b077f763d94ba063b2d4231cd5d411e44933e7)
2003-01-29Removed duplicate fn to avoid compiler warning.Tim Potter1-19/+0
(This used to be commit 55d268fdd67e42244128dae8614d0e4aa2eb2da2)
2003-01-29Remove NULL buffer checks before rpcstr_pull() as they're now doneTim Potter1-63/+38
inside this function. (This used to be commit cdc7c599c72119e96a2a3d392458cd6d52bf56a5)
2003-01-29Return 0 instead of crashing when a NULL source string is passedTim Potter1-0/+1
to rpcstr_pull() (This used to be commit b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)
2003-01-29Quieten debug about gencache.tdb not being able to be opened.Tim Potter1-1/+1
Perhaps we should try to open O_RDONLY if O_RDWR fails? (This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
2003-01-28added LsaRemoveAccountRightsAndrew Tridgell4-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. (This used to be commit bf99440398db86f46233eb2f5adddffb61280a1b)
2003-01-28patch from Paul Green to only build libsmbclient.so on platforms that ↵Gerald Carter3-907/+934
support shared libraries (This used to be commit f739a7263d9da6edc2ecba5b942253c22f7cb3f8)
2003-01-28cleaned up the lsa_enum_acct_rights function and added aAndrew Tridgell6-20/+208
lsa_add_acct_rights function. This allows us to add privileges remotely to accounts using rpcclient. (This used to be commit 2e5e659e095a94b0716d97f673f993f0af99aabe)
2003-01-28As per a comment by herb a little while back, this should be >=, not == to keepAndrew Bartlett1-1/+1
identical behaviour with previous versions (This used to be commit 7cbb194b58a4313497541c1f8153533c5034b928)
2003-01-28Make this an fstrcat(), as this seems to fix some weird issue with the serverAndrew Bartlett1-2/+2
name being truncated... (either way, it's the correct thing to do). Andrew Bartlett (This used to be commit a058960c15944ac5a415307f0b016553ef42e101)
2003-01-28The previous patch (NTLMSSP common code factoring) was missing a minor detail -Andrew Bartlett1-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 (This used to be commit e5c67a012424e71cee340b16946babe2399c0fa1)
2003-01-28Factor out common code in the NTLMSSP/SPNEGO code.Andrew Bartlett4-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 (This used to be commit a8773c9f825539c5bc17e4200b16d7ebbe0b7620)
2003-01-28performance patch from HP-UX folks (cant remember who)Gerald Carter1-3/+14
(This used to be commit 9180e2d062ac18dc5e7e8d0737973dc9e806e412)
2003-01-28CUPS-PRINTER_CLASS patch from Michael SweetGerald Carter1-2/+101
(This used to be commit d74d4fe0b0c64d500367e4969be37f4541227d3e)
2003-01-27reran autoconfGerald Carter1-912/+952
(This used to be commit f89a99bf881f691c4fd8063fe0c51b84466a4cf6)
2003-01-27One more try to fix the GNU Make dependencyRichard Sharpe1-16/+51
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)
2003-01-27One more fix ... Things link now if you don't use dynamic RPC stuffRichard Sharpe1-2/+2
(This used to be commit 58a7744f4abebfbf87b9050b98db25c51321defa)
2003-01-27One more try to get rid of the dependency on GNU MAKERichard Sharpe1-21/+22
(This used to be commit a96592fb69fdebc5abe97a0b46055bd1486e7b94)
2003-01-27Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.Richard Sharpe1-42/+21
I have not tested this in a GNU MAKE environment yet. (This used to be commit 5e99472d5b68dc393a5468b8949c3ad962a239f7)
2003-01-24Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison1-1/+4
Jeremy. (This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)
2003-01-24Commit just a little more infrastructure for HAVE_GETDIRENTRIESRichard Sharpe3-19298/+9213
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
2003-01-24At the prompting, start to add infrastructure to detect the presence ofRichard Sharpe1-0/+3
getdirentries. We would also detect getdents if present. This has some rudimentary support already. (This used to be commit 916c8784d21f566a1fb048301c3e78a9ecc52ea8)
2003-01-24Merge of increment_smbd_process_count() fix from appliance.Tim Potter1-1/+1
(This used to be commit c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111)
2003-01-23Merge of max log file fixes from appliance:Tim Potter2-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. (This used to be commit 303710c2065850beebef678e657633497e4d8452)