summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-05-07SMB Signing with NTLMv2 works!Andrew Bartlett1-11/+2
(well, under certain conditions :-) There is no length limit on the size of the authentication response added into the MD5 hash. (We had previously limited this to lengths like 40, 44 or 64 in attempts to make sense of what the SNIA spec tells us). Instead, the entire authentication response is added in. Currently, this only works on a Win2k domain members with a Samba PDC, becouse our NTLMv2 code currently fails against an Win2k PDC. However, this splits the problem in half - particularly as the NTLMv2 format is known, and even has an ethereal disector! (thanks tpot). Andrew Bartlett (This used to be commit 7645d3d28afbb8eea502c0e063df3afb3aa812f4)
2003-05-07Set our 'global sam name' in one place. For domain controllers, this isAndrew Bartlett5-35/+15
lp_workgroup(), for all other server this is global_myname(). This is the name of the domain for accounts on *this* system, and getting this wrong caused interesting bugs with 'take ownership' on member servers and standalone servers at Snap. (They lookup the username that they got, then convert that to a SID - but becouse the domain out of the smbpasswd entry was wrong, we would fail the lookup). Andrew Bartlett (This used to be commit 5fc78eba20411f3f5a8ccadfcba5c4ab73180dba)
2003-05-07Whoops - that wasn't a whitespace syncup after all.Tim Potter1-0/+2
(This used to be commit 42d0414ed244b92b665cb231f6756f60391861dd)
2003-05-07Force ASCII for client messages. Patch from David Lee <t.d.lee@durham.ac.uk>Jeremy Allison1-3/+2
Jeremy. (This used to be commit f219e8309c7d17b332873e9283ab3c3796e7e799)
2003-05-07We used to use the name "*",0x0 here, but some WindowsJeremy Allison1-1/+9
servers don't answer that name. However we *know* they have the name workgroup#1b (as we just looked it up). So do the node status request on this name instead. Found at LBL labs. Jeremy. (This used to be commit 41e3abe8b80026812ea7dd7ad535e8e41e26daa4)
2003-05-06This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+45
used to be commit 8bee59ffcea1495f03b35d38da0eb76955b93f3d)
2003-05-06sort out some include dependenciesSimo Sorce4-33/+65
split out privileges from rpc_lsa.h (This used to be commit 37d7cc8162d02a664095dbe0fc8d7250d1ed51c9)
2003-05-06add mapping.h hereSimo Sorce1-0/+1
(This used to be commit fb03fafed14a2816808e98fd95850db3e655d5d9)
2003-05-06restore structures from previous erroneous commitSimo Sorce1-22/+30
(This used to be commit 58d284bd06f5893a752c1f22828715f8bd130c82)
2003-05-06Remove unused variablesJelmer Vernooij1-4/+0
(This used to be commit 2f631769f836baeec669456f786ecb38c81d9a23)
2003-05-06Patch from metze to add exit and interval events. Useful for modulesJelmer Vernooij6-4/+166
(This used to be commit 3033a63cefb5f28d4460885f7f4e4ecaed95443c)
2003-05-06There appears to be no reason why we have to execute theTim Potter2-60/+45
initialisation code in winbindd_init_common() after the fork when running in dual daemon mode. The only tricky bit is we have to run a tdb_reopen_all() somewhere in the child to avoid tdb corruption. Fixed bug #60. (This used to be commit 25e55aca0fe315c2ccf4e34a94107b2321313714)
2003-05-05Fix up some of the warnings that the build farm is finding ...Richard Sharpe1-3/+2
(This used to be commit 29d775fe68be8988e344c35106a80d6ca8236e4d)
2003-05-05Syncronize head editreg.c with 3.0.0 ...Richard Sharpe1-93/+1200
(This used to be commit 8257f537de57a2681e6d9cc2c421435b1d751a60)
2003-05-05We also get back the LM session key on pure 'NTLM' logins.Andrew Bartlett1-1/+16
Andrew Bartlett (This used to be commit 7342c70b4cecfc1f42c46b19360db6c077604be2)
2003-05-05Turn off using lsa_qos.Rafal Szczesniak1-5/+2
Rafal (This used to be commit d03124fbf182f194e48c4ef9ae6aedc4db4f13b0)
2003-05-05Turn off using lsa_qos in OpenPolicy call. This way we avoid annoyingRafal Szczesniak1-2/+2
debug msg while establishing trust and listing relations of Samba PDC. Rafal (This used to be commit 8681cbae0d142a1f9ac537cb22e611a6f5262b54)
2003-05-05Add some comments.Andrew Bartlett1-0/+34
(This used to be commit 855fab395f97dd232fd9bb78e62ad12b16fe2a24)
2003-05-05Add a new entry to make check. If we have compiled python extensions,Tim Potter2-1/+52
run the pythoncheck.py test. At the moment this just checks every python extension can be imported sucessfully. (This used to be commit 38dac4ca4e657b130acf3921573380d33399a5e6)
2003-05-05Fix for bug #60. Our autoconf code adds both libraries and linkerTim Potter1-21/+30
flags in the $LIBS make variable. Separate the two so the python extensions can build. (This used to be commit 164ea3835724409d5b9badbad689d154307d2b59)
2003-05-05Allow the NTLMv2 functions to spit out both possible varients on the sessionAndrew Bartlett3-13/+25
key, so we can test it in ntlm_auth. I suspect the 'lm' version doesn't exist, but it's easy to change back. Andrew Bartlett (This used to be commit 5efd95622c411f123660b6613b86c7a68bba68e8)
2003-05-05Add some more tests to the ntlm_auth diagnositics package.Andrew Bartlett1-9/+373
Our NTLMv2 client code needs work, becouse we don't get the session key for any of the NTLMv2 stuff... Also test some of the more 'odd' auth cases - like putting the NT password into the LM feild. Clean up some static globals into static locals. Andrew Bartlett (This used to be commit 62f0acc99166e9518f59bc5d091b76c35837e65c)
2003-05-05Merge of backslash @LDAP_LIBS@ fix from HEAD.Tim Potter1-2/+1
(This used to be commit f4ea0cc17d6a5189ff7887f61b663eb1900c8a27)
2003-05-05A good reason to use make variables instead of autoconf substitutionsTim Potter1-2/+1
directly - fixed problem where the last line of the link command was '\ @LDAP_LIBS@'. If @LDAP_LIBS@ is zero then the backslash incorrectly includes the next line of the Makefile in the current target. This should fix a bucketload of build farm failures. (This used to be commit 895bef1a62f60f4e91dc6b1c244820b024c36a5c)
2003-05-05Fixed typo introduced when reverting patch from revision 1.19Tim Potter1-1/+1
(This used to be commit a102734263a2cbd5b9eafbddf036e173b507a7fd)
2003-05-05Fixed typo introduced in reverted patch from version 1.12.4.5Tim Potter1-1/+1
(This used to be commit 4fccc1f16da74ac9e98bd58c7f11674c48c4dbac)
2003-05-05Fix some compiler warnings.Tim Potter1-4/+1
(This used to be commit 52d5ff7bdafabb421e76b6b19d95be22b380ddb4)
2003-05-05AIX doesn't append $SHLIB_EXT to NSS libraries.Tim Potter2-12/+7
Also merged a little bit of abartlet's recent configure.in change of duplicated IRIX stuff. (This used to be commit d15406ad910bc952c741e8d4d574064dbc5e88ef)
2003-05-05AIX doesn't append $SHLIB_EXT to NSS libraries.Tim Potter2-5/+6
(This used to be commit af083d2760c79ef33b7e187a5c5a6238667da24e)
2003-05-04move some things aroundSimo Sorce4-138/+171
(This used to be commit a4fc9c3b2dfbdbb3f75bf38415741ff66dbe1367)
2003-05-04Patch from Ken Cross to allow an ADS domain join with a username of the formAndrew Bartlett2-3/+19
user@realm, where realm might not be the realm we are joining. Andrew Bartlett (This used to be commit 00e08efb5cd21bf42be9125d3188efbf9d13b8b7)
2003-05-04Add doco to our SMB signing code.Andrew Bartlett1-5/+32
This should make it clearer what magic numbers refer to the magic numbers in the CIFS spec, and what bits and peices are being appended into the MD5 calculation where. Andrew Bartlett (This used to be commit 7f1c271cfb04f621e36f1acf60979652e82dc6f4)
2003-05-03configure.in updates:Andrew Bartlett1-32/+11
Now the IRIX and non-irix cases for one of these switch statements is the same, eliminate the statement... We now use autoconf > 2.50, so we can use some of it's features. We also need to correctly include the magic for building vfs_fake_perms. (This used to be commit a4ec8a615195f681f315ce23e799f2e7d35f27f6)
2003-05-03This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+737
used to be commit f1e59906577a59269f1821d9e438fc56278b9dbe)
2003-05-03Add a comment about the use of string functions in the modules code, andAndrew Bartlett1-4/+9
add \n to the end of the non-dlopen case DEBUGs. Andrew Bartlett (This used to be commit ce4ff4cc8e5f5d461797e42b2148b2827c058380)
2003-05-03Fix use of uninitialised value in TCONDEV test - found by sun1 on the build farmAndrew Bartlett1-1/+1
(This used to be commit 0dfeaf4535bb1b2345dfd51208c51ce5069ea154)
2003-05-03fixes to *_util.c filesSimo Sorce4-15/+416
add winbindd_passdb backend this makes it possible to have nua accounts on security = user servers to show up in unic through nss_winbind.so the problem is that we do not have group support, so nss group support is not very good at this time (read: totally absent) we NEED group support in passdb (This used to be commit 921215cf4bfbd4d7457f81e181bb1a74a4531ca1)
2003-05-02exclude tdbsam2.h generation until it will be usedSimo Sorce1-14/+15
(This used to be commit 28b73a39219fd717c60eba207143fb40d5ff123a)
2003-05-02fix pam_smbpassSimo Sorce2-3/+3
typos (This used to be commit 7e28ee1cf8db065f2518b4543f2e54da97cc19e2)
2003-05-02remove testing debug lineSimo Sorce1-1/+1
(This used to be commit 08d4c2fa85ceaa9d5ff16e7e615bb29e0cde3022)
2003-05-02Now that multi-pdu schannel works and a but in the negotiator has beenVolker Lendecke1-2/+2
fixed I would like to see this tested a bit more. Default the schannel stuff to auto which means 'offer, but do not enforce'. Volker (This used to be commit 7a1b8409bed13d0e7742cbcd3b0fa79b0c671404)
2003-05-02shouldn't wellknown group be well.. ..WKN_GRP ?Simo Sorce3-15/+15
make a new sam_Account contain our domain by default, windows will complain on logon otherwise. fix stupid typo in idmap_util.c (This used to be commit 21701876dc6c59ebfc51be708a98226a00a764e0)
2003-05-01Fix uninitialized blobs reported by Luke Howard.Jeremy Allison1-0/+6
Jeremy. (This used to be commit e954ca2ce8ec6b36794585c3bc948140cf9e7947)
2003-05-01Fix uninitialized blobs reported by Luke Howard.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 8dcc00899977a126d5782e44bdae74175ecc0d93)
2003-05-01Fix for bugid 51 from Dragan Krnic.Jeremy Allison1-5/+5
Jeremy. (This used to be commit aeba1fcab2fa61859fc1052af4752512a33bd801)
2003-05-01Fix for bugid 51 from Dragan Krnic.Jeremy Allison1-5/+5
Jeremy. (This used to be commit a2af45154d0e1bb76e78fbde1572d4fcd1ba0da2)
2003-05-01fix wrong debug messages in idmap_util.cSimo Sorce2-5/+10
correctly handle allocated rids in tdbsam (This used to be commit 7ae6162e1dd668897628c4f7edff508616644d21)
2003-05-01init wellknown in pdbedit tooSimo Sorce2-24/+26
add group mapping mappings to idmap at startup (This used to be commit 62365023db61d5a4fa32845af3db73bce6cb94ea)
2003-05-01proper wellknown sids initialization at startupSimo Sorce5-40/+90
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
2003-05-01This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+655
used to be commit a1ffe2a29c0e6be54af09d6647b7f54369d75a1e)