summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-02-04Patch from Edmund Lam <epl@unimelb.edu.au> to fix braindead Tru64 behaviour:Andrew Bartlett1-2/+2
Apparently acl_type is #defined to acl_common.entry_type in their acl.h.... Andrew Bartlett (This used to be commit 3dfdaa0208ee538631378aa921300d95c596b70c)
2003-02-04Ensure we only ever set fsp->conn in one place.Jeremy Allison2-8/+0
Jeremy. (This used to be commit 2110901b381f2a749605c8e8b262fa5ceba11169)
2003-02-04Try to allow old and new heimdal installsJim McDonough2-10/+29
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)
2003-02-04Ensure Samba passes the open attribute truncate tests in smbtorture.Jeremy Allison1-9/+12
Jeremy. (This used to be commit 651db9f242bb649f5efa4f4e59fe1ac0afe82981)
2003-02-03Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.Jeremy Allison1-122/+91
Now to make Samba pass it :-). Jeremy. (This used to be commit 510cd30a6ec72544d24b79c13fc8a7d1c9415757)
2003-02-03Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)
2003-02-03Try to get build working on systems with krb runtime but not devel libs.Jim McDonough2-9531/+19797
Let's not assume that because one dir exists the whole shebang is there... (This used to be commit 44fd5c827537bd14c2220f62f5e44190247ae556)
2003-02-02smb signing compile fixTim Potter1-1/+1
(This used to be commit 22d7aa0e673baa1c26205d1c659ba71ad2f94609)
2003-02-02untest fix for wide links parameter bug.Simo Sorce1-2/+65
it work properly on 2.2 and the patch apply so I think it should be ok. (This used to be commit 36b2f6c9320fe46a1b5d2c4e90117b7839c35f21)
2003-02-02Add some return values, and don't attempt signing for NTLMSSP yet (it uses aAndrew Bartlett2-3/+3
different algorithm). Andrew Bartlett (This used to be commit e6f87c7ee5c61f03f81159a8017d31f439c4454a)
2003-02-02Send the user's session key in the SAMLOGON reply, so that a member server canAndrew Bartlett2-4/+13
use smb signing. Andrew Bartlett (This used to be commit 574e8a8ab7c94ecd9113df42e395e83632980675)
2003-02-02More signing updates - start checking that the server isn't being spoofed.Andrew Bartlett3-1/+45
Andrew Bartlett (This used to be commit b1c722e306533babeffeba9d8c7dcfa00e019423)
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)