summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-04-02Added per-share parameter "store dos attributes". When set, will storeJeremy Allison13-110/+227
dos attributes in an EA. Based on an original patch from tridge, but modified somewhat to cover all cases. Jeremy. (This used to be commit ed653cd468213e0be901bc654aa3748ce5837947)
2004-04-02Implement NETLOGON GetDCName client side. You can ask a DC for the name ofVolker Lendecke4-0/+179
a DC it trusts. Volker (This used to be commit ae6840320ff47827c2817549fe3133a57e3fe77f)
2004-04-02Fix credential file mountinf for cifs vfsSteve French1-10/+37
(This used to be commit 9ad22b8a3d839501b72f3b96d43a22365c15ec43)
2004-04-01"Fixing my FORTRAN". Ensure we always have some valid char converter for theJeremy Allison1-4/+14
neccessary types before we will run at all. If we can't get one, use ASCII but complain mightily. Jeremy. (This used to be commit 37dd5e52f61e7ba1facb726ac70fc75e22608103)
2004-04-01BUG 1023: surround get_group_from_gid() with become_unbecome_root() blockGerald Carter1-1/+5
(This used to be commit 1aeeb432c75eeb67e9e1323932b37d34da416d37)
2004-04-01This restructures lib/afs.c so that the token data can be but into aVolker Lendecke6-70/+402
stream. This is to implement wbinfo -k that asks winbind for authentication which then creates the AFS token for the authenticated user. Volker (This used to be commit 2df6750a079820826013360fb9e47f90bc8223a5)
2004-04-01Cosmetic: Fix a const warning.Volker Lendecke1-5/+6
Volker (This used to be commit c814f7c43db9700ec08a30c45521181c754df247)
2004-03-31Reformat in preparation for EA dosmode attributes.Jeremy Allison1-123/+125
Jeremy (This used to be commit de2f149e9e687fc8cba6870d921341a6a1fd9c13)
2004-03-31fix typoHerb Lewis1-2/+2
(This used to be commit 4b737b51a5cf0a862f4c1bd67d9d3dd49cc81b65)
2004-03-31Apply some constVolker Lendecke2-2/+2
(This used to be commit aa220cffa7b3507452ffed51c048333c7cde0ca2)
2004-03-31Remove some unused codeVolker Lendecke1-22/+0
(This used to be commit 2b757b6adf0b4e5c799cc8943e8fd96cc94c24bc)
2004-03-31Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.Jeremy Allison4-5/+334
New protocol option "ea support" to turn them on (off by default). Conrad at Apple may like this as it allows MacOS resource forks to be stored on a file. Passes valgrind. Documentation to follow. Jeremy. (This used to be commit 8cc10a6c0550c017a62e8a3790afd2172d173e00)
2004-03-30Ensure we cope correctly with ea length of zero. Detect torture fail correctly.Jeremy Allison2-0/+18
Jeremy. (This used to be commit 43db249fb814cef99afecd22c20a824d2519faf9)
2004-03-30Merge a fix from HEAD to 3_0Volker Lendecke1-1/+4
Volker (This used to be commit 6bc88d91e569541e4d4a2147e28439db96d02bd6)
2004-03-30Apply some constVolker Lendecke5-14/+14
(This used to be commit 8037750df568e6b51b2b0cba9192468110470388)
2004-03-29Committed test code by mistake... removing.Jeremy Allison1-10/+0
Jeremy. (This used to be commit 73433dc349698b1b1f128439ab40eea6cbfa1187)
2004-03-29Setting EA's to zero length deletes them.Jeremy Allison2-1/+38
Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
2004-03-29Fix get/set of EA's in client library. Added torture test for it.Jeremy Allison2-78/+180
Jeremy. (This used to be commit 0d239a9c070bdc1ce2d2806fc02549c4750597aa)
2004-03-29Without words...Volker Lendecke1-1/+1
(This used to be commit 9cb6b10efa3c7d50d3e686bda122121c61633419)
2004-03-29Some fixes to expand_msdfs module.Volker Lendecke1-2/+9
Volker (This used to be commit 558b5bc1d81d8ccd2048b37357e4b3e5b9b4e011)
2004-03-28merge tdb changes from samba4 - this means tdb is now under the LGPL, as ↵Andrew Tridgell3-44/+64
discussed and agreed previously (This used to be commit 9d1a08d65c4235a2a3941bba5b71631c4c35c9b7)
2004-03-27Let the comment match the function...Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit 43c71b3202e909cca7c41c54d0b340aea1323db6)
2004-03-27Revert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,Andrew Bartlett1-1/+1
it does sign the first packet. Andrew Bartlett (This used to be commit 4b9c50db853eaf9eb8c68b85760c40c1a8f9bd94)
2004-03-27Add a few comments explaining KEY_EXCHAndrew Bartlett1-4/+7
Andrew Bartlett (This used to be commit e5422d7413e22775bc81e36559cb69254aedb102)
2004-03-27Based on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yetAndrew Bartlett5-10/+61
another NTLMv2 combination. We should allow the NTLMv2 response to be calculated with either the domain as supplied, or the domain in UPPER case (as we always did in the past). As a client, we always UPPER case it (as per the spec), but we also make sure to UPPER case the domain, when we send it. This should give us maximum compatability. Andrew Bartlett (This used to be commit 1e91cd0cf87b29899641585f46b0dcecaefd848e)
2004-03-27Make it clearer that this error refers to the peer, as this code is in bothAndrew Bartlett1-2/+2
the client and server. Andrew Bartlett (This used to be commit 414d3fdc753b44262e9a281170d1058608d01bdf)
2004-03-27Merge from HEAD the SMB signing patch that I developed a couple of weeksAndrew Bartlett7-62/+101
ago. This patch re-adds support for 'optional' SMB signing. It also ensures that we are much more careful about when we enable signing, particularly with on-the-fly smb.conf reloads. The client code will now attempt to use smb signing by default, and disable it if the server doesn't correctly support it. Andrew Bartlett (This used to be commit e27b5cbe75d89ec839dafd52dd33101885a4c263)
2004-03-27Ensure we correctly set cli->nt_pipe_fnum on failure to correctly open theAndrew Bartlett1-0/+2
NT session. Andrew Bartlett (This used to be commit 01fff20e6e0212e9f70a5a66c3e46f7079b342f1)
2004-03-27As I raised (without objection) on the mailing list a while back, thisAndrew Bartlett2-9/+1
patch removes the 'unicode' smb.conf option. Clients are as always free not to negotiate unicode, but Samba will always accept unicode in smbd. Setting 'unicode = no' caused me more client BSODs than any other option I have seen, and I really want to protect some of our more silly users, who will, no matter what, select and change every option... Andrew Bartlett (This used to be commit 3f9177bd5df68809294335a36919994893ff8ead)
2004-03-27Working (tested) client code for setting EA's by filename and fnum.Jeremy Allison3-5/+161
Now for parsing out the retrieved EA's. Jeremy. (This used to be commit 5eeeee302cec2cc1f6c130ed44be9df028f73cde)
2004-03-26Fix bug #1211. Ensure accept socket is in non-blocking state in case of networkJeremy Allison1-1/+10
error after select() returns true. (See accept man page on Linux). Patch from rabies@meep.org (Richard Garnish). Jeremy. (This used to be commit 6ca158291cf1f533ef18b542c84f22e9780c0966)
2004-03-26Move the Client-IP based msdfs target expansion to a VFS module.Volker Lendecke4-135/+197
Volker (This used to be commit 9cb6a4d76f87b28077861d3f4220541fbf704ddf)
2004-03-26Always use strchr_m, not strchr on unix character sets.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 8431b985d66e76ab187efb617639e767142b0bb5)
2004-03-26After briefly talking to jerry, commit this:Volker Lendecke1-5/+134
Redirect clients to shares based on the the client's IP address. The msdfs link has the following form: temp1 -> msdfs:@/data/tmp/redir@\temp The file /data/tmp/redir has the contents: 192.168.234.128 closest 192.168.234 close default Everything in between the @-signs in the link target is replaced by the substituion in the file. Jerry, errors in the filename expansion are now answered with NT_STATUS_OBJECT_NAME_NOT_FOUND Volker (This used to be commit 8e237d533eded8d218cc9c77e056823702f390f8)
2004-03-26source code fix for bug 1095 -- honor the '-l' optionGerald Carter3-2/+15
(This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)
2004-03-25Use timegm, or our already existing replacement instead of timezone, asJim McDonough1-1/+1
some platforms (FreeBSD in this case) don't define timezone according to posix. This is what I wanted to do anyway. Spotted by Andrzej Tobola <san@iem.pw.edu.pl> (This used to be commit bc13e35db0b8b265f87553d4df1c7326710cb3fa)
2004-03-25jra's patch -- fix anonymous self referral code to check that a share is an ↵Gerald Carter1-6/+6
msdfs root first (This used to be commit 641c2acd92b358fab4441071df411adbbd934ae8)
2004-03-24Path for bugzilla #1152 from Timur Bakeyev. Allow python modules toTim Potter2-2/+5
build despite libraries added to LDFLAGS instead of LDPATH. (This used to be commit 98a25dcda8e53e22b48930131ff394414056f6a1)
2004-03-24fixes for prnadmin.dll APIGerald Carter3-3/+3
* force the PRINTER_ATTRIBUTE_LOCAL (nor PRINTER_ATTRIBUTE_NETWORK) * ensure that we return the sec_desc in smb_io_printer_info_2 (allows prnui.dll to restore security descriptors from a data file). (This used to be commit c335cb80d2e4c687279b7a6038a97518770ccae9)
2004-03-24Fix bugzilla # 1208Jim McDonough6-6/+47
Winbind tickets expired. We now check the expiration time, and acquire new tickets. We couln't rely on renewing them, because if we didn't get a request before they expired, we wouldn't have renewed them. Also, there is a one-week limit in MS on renewal life, so new tickets would have been needed after a week anyway. Default is 10 hours, so we should only be acquiring them that often, unless the configuration on the DC is changed (and the minimum is 1 hour). (This used to be commit c2436c433afaab4006554a86307f76b6689d6929)
2004-03-24change my email address to the samba.org oneStefan Metzmacher1-1/+1
metze (This used to be commit 5bf8f1b31b7b37317e78bbb9fbf3cd25290027b5)
2004-03-24Added cli_set_ea(), cli_get_ea next...Jeremy Allison1-0/+64
Jeremy. (This used to be commit b0c109c40335a2f59406e1d2845d676d211faf14)
2004-03-22adding commit messages for recent changesGerald Carter1-1/+5
(This used to be commit ab509c74ba80d4f4e9a7355b8afb3b800825aac0)
2004-03-22remove unused variableGerald Carter1-2/+0
(This used to be commit 170c443b19604c3ec997ae494954c473e356e59d)
2004-03-22missed one on BUG 1195; make sure to set the private * to NULLGerald Carter1-5/+2
(This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222)
2004-03-22BUG 1185: use 'winbind cache time' as the reconnect period when seq_num == ↵Gerald Carter1-0/+2
-1 rather than multiplying it by 8 (the default cache time is 5 minutes now) (This used to be commit 8d6e370313b62556ba13d88e1ab5ff468ac103c8)
2004-03-22bug 1195: add flag to ADS_STRUCT so we know who owns the main structure's ↵Gerald Carter3-9/+35
memory (not the members though) (This used to be commit 4449e0e251190b741f51348819669453f0758f36)
2004-03-21Given how often a panic has to do with malloc() problems, don't temptAndrew Bartlett1-1/+1
things more by calling SAFE_FREE() just before we exit our panic handler. Andrew Bartlett (This used to be commit d0b820562b8a7f8e5d0224926d46590b9f1ca9a3)
2004-03-20removing duplicate smbprint example scriptGerald Carter1-144/+0
(This used to be commit 2426bb4906e0ca3b53800706da2e9d1e17a73dc7)
2004-03-19Fix for #1064 - ensure truncate attribute checking is done correctly on ↵Jeremy Allison2-5/+28
"hidden" dot files. Jeremy. (This used to be commit a6045c904fbe7df111c520134581bfd4f1ca67a8)