summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-14removing unused variable and unused fileGerald Carter2-238/+0
(This used to be commit c8266011b7afc2d6bcb8638c2a5ed3f9116cd88a)
2003-01-14Fix some debug lines, and add a bit more info to help track down ldapAndrew Bartlett1-8/+15
connectivity problems. Andrew Bartlett (This used to be commit 68de9a59203ed9778f11b78f233dc437b9dab55d)
2003-01-14merge: disable [u|g]idPool objectsGerald Carter1-6/+6
(This used to be commit 4c98700e54f3cc617eb578758695fd4dbd690f82)
2003-01-14make -i flag work lik eit did in 2.2Gerald Carter1-2/+5
(This used to be commit 54b054c1edd44096c7158993a886f915d7a07493)
2003-01-14make -i flag work lik eit did in 2.2Gerald Carter1-2/+5
(This used to be commit 5d821c0e23f96f4da6a29a6bebf800532fcf1aa6)
2003-01-14Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,Andrew Bartlett2-10/+34
and probably SWAT too.. Andrew Bartlett (This used to be commit 1df808ac8931979000d681bd086399ef306873b6)
2003-01-14Merge from HEAD:Andrew Bartlett1-40/+27
Keep all the const warnings in one place, by adding a utility function to make the TDB_DATA. (This used to be commit 7d52f011e7191f54004341a646b049d373504c02)
2003-01-14Merge from HEAD:Andrew Bartlett18-75/+96
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-14Merge from HEAD:Andrew Bartlett2-12/+11
- remove useless #else - signed/unsigned fixes - use an fstring for LM hash buffer. Andrew Bartlett (This used to be commit c0fb53c31fd7341745d14640e761affc5dae5230)
2003-01-14Merge from HEAD - eliminated unused arguments.Andrew Bartlett2-3/+2
Andrew Bartlett (This used to be commit 6dd474d8451d39e580834089d7c3614059558354)
2003-01-14Merge indirection, signed/unsigned and uninitialiased-value fixes from HEAD.Andrew Bartlett5-5/+11
Andrew Bartlett (This used to be commit 2a1adb8f81d8966e8919fffb9b4c69f3e6acd44f)
2003-01-14Commit my (disabled) fstring/pstring mixup detection code.Andrew Bartlett1-0/+21
We need to fix some 'overmalloc' cases before it can be enabled by default. Andrew Bartlett (This used to be commit 2c2c52a18be1bd0a5ae1f4a48b1d9e18f4887dda)
2003-01-14The last of the fstring/pstring mixups, and an extra 'static'.Andrew Bartlett4-5/+5
(This used to be commit b328b67fd8fd605636ed58ffd33cf5be3d480672)
2003-01-14A couple more pstcpy/fstrcpy mixups - doing an fstrcpy into a pstring isAndrew Bartlett1-3/+3
harmless, but breaks my automated check. (This used to be commit e5d2b1f6c3c0883054f4e0eab2cac958706a790d)
2003-01-14Added comment about a SMB_ASSERT()Tim Potter1-0/+3
(This used to be commit 056bdfbce73bbd7ddaa198d18e596b94b2224d3d)
2003-01-14Remove wrapper function _get_trust_account_password() as it doesn'tTim Potter1-15/+2
seem to do anything useful anymore other than call secrets_fetch_trust_account_password(). (This used to be commit 7b0c03cbf1376f82b0bb5f4cf86e2db3b0bc1dec)
2003-01-14Added a comment in case anyone is thinking of doing a SMB_ASSERT in winbindd.Tim Potter1-0/+2
(This used to be commit c64e2308bae31d48171685b3b67b8cace1b003b5)
2003-01-14merge alt_name patch from headAndrew Tridgell2-2/+2
(This used to be commit 20ebdee36d5351731698bdef6602fc73a45b1651)
2003-01-14query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell2-2/+2
null terminated. Thanks to Metze for finding this. (This used to be commit e4ce26332b8f876e25ff9baf06d4767a473e2676)
2003-01-14clearer debug message when the user is already in the ldap dbAndrew Tridgell1-1/+2
(This used to be commit 31894ba0e5847eb934688598cd8d65bead23c58b)
2003-01-14add help text for 'net ads lookup'Andrew Tridgell1-0/+2
(This used to be commit 2a642a1169a3c09988daa9623dcb4f21b0a2ad1f)
2003-01-13Don't touch data after a free.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 3aea32c8e6d204e41776b4bce79234d2159867b3)
2003-01-13Missing indirect in final free.Jeremy Allison1-2/+2
Jeremy. (This used to be commit faf443e5198e270f1a60d7a0939074efca750a94)
2003-01-13Merge of indirection fixes from HEAD.Jeremy Allison1-5/+5
Jeremy (This used to be commit 67a0b30f50aa323185cbcf3a9d39804239222480)
2003-01-13Always initialise this variable - and don't set the 'must change now' if it wasAndrew Bartlett2-1/+3
last changed at '0'. We need to actually change this password sometime... Andrew Bartlett (This used to be commit 740bf439d2d1512127c873cf0e57697161d6566b)
2003-01-13Fix typo, and the build.Andrew Bartlett1-1/+1
(This used to be commit d7452e73b511ceaebfaed66c18e7c61cbe0289d2)
2003-01-13More janitorial duties. Pulling these in from samba-head.Richard Sharpe1-0/+281
(This used to be commit f2529a35a7b60c16e229cc3bf22afc726035f15d)
2003-01-13Make sure that those cleanups actually went in.Richard Sharpe4-18865/+8983
(This used to be commit 9a38e378115a1c36d0cd7c41f4c5767c23b4eb3f)
2003-01-13Now that I am running config.developer, I decided to get rif of some warnings:Richard Sharpe5-179/+267
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD 4.3 from system includes. 2. Added a bit of const to places. 3. Made sure internal functions were declared where needed. (This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
2003-01-13Patch from metze to add what he feels is the correct semantics for a DomainAndrew Bartlett3-0/+61
Controller. As we have had a number of attempts at this over the last little while, I need to get my test rig going, and give this whole area a poke... Meanwhile, if you want to use this, just adjust your 'auth methods' line to use samstrict_dc... Andrew Bartlett (This used to be commit 18e598ec24493026008fcfe486057555b8832108)
2003-01-13Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett3-15/+32
name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett (This used to be commit 71f4d8efd36351ddb2180103c160a6d737da62b1)
2003-01-13Patch from ab, to make findsmb omit -r most of the time.Andrew Bartlett2-11/+29
(original mail follows) -- From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> Greetings! I propose to make an optional argument '-r' for findsmb utility to pass '-r' option to nmblookup optionally and default to omit it. The reason is to have findsmb working more user-friendly in contemporary office environments where Windows 95/98 boxes are rare and also to allow usage of the utility under non-priviledged accounts when Windows95/98 boxes are in minority or even absent in network neighbourhood. An attached patch provides this change for HEAD together with documentation changes. -- / Alexander Bokovoy (This used to be commit d0bebea521e12fb9cef66feecd969216607ef63d)
2003-01-13Updates to our NTLMSSP code:Andrew Bartlett10-244/+514
This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett (This used to be commit b6641badcbb2fb3bfec9d00a6466318203ea33e1)
2003-01-13Accessing data after it's been free()ed really is a no-no...Andrew Bartlett3-4/+17
Andrew Bartlett (This used to be commit 6e821285a4aacfc0031957b88ddbec73d7e1dc11)
2003-01-13Fix to debian bug #171071 - we had the wrong dereference on the pointer to beAndrew Bartlett1-4/+4
Realloc()ed, causing it to fail. Big thanks to Sandor Sonfeld <sonf@linuxmail.org> for the debug, stack and valgrind traces! Andrew Bartlett (This used to be commit 7abca6d281da6388899f78e3440d7ce37bf2094e)
2003-01-13Don't force the DOS password into a 14 char space, as this would imply nullAndrew Bartlett1-1/+2
termination - the password will not be null terminated before hashing if len >= 14. related to debian bug #157432 Andrew Bartlett (This used to be commit c6535836f2e48903aa89a18c11cbb37576fb4a20)
2003-01-13Ensure we do not pass uninitialised data to the kernel. (Picked up byAndrew Bartlett2-0/+4
valgrind). Andrew Bartlett (This used to be commit f8d9880c5f5321f4dba6b42896419412284c3e7b)
2003-01-13Fix typo in comment.Martin Pool1-1/+1
(This used to be commit 26660f939f0e0650d54631bf8243b22f32b64132)
2003-01-13Merge of remove "winbindd holding pattern" from appliance. It's a bitTim Potter3-28/+10
simpler as the rescanning of trusted domains helps us out a bit. (This used to be commit 089729c02cb2088e85f0e7f8ec79afb58fe98be7)
2003-01-12Keep all the const warnings in one place, by adding a utility function toAndrew Bartlett1-44/+31
make the TDB_DATA. Andrew Bartlett (This used to be commit f087fe546fd0c943dec022c657f849803f4b807e)
2003-01-12Oops, this is the change to use an fstring for the incoming service buffer -Andrew Bartlett1-3/+3
the commit to reply.c just matches a pstrcpy for the pstring. (harmless, fixes it for the automated test). Andrew Bartlett (This used to be commit ef9c7586ac152304cacaf2c16115adc2bccefc22)
2003-01-12Make the 'service' in make_connection() use an fstrcpy(), and an fstring,Andrew Bartlett2-2/+1
becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really don't want supprises for service names. Also remove a legacy #define, in favor of the lp_ equiv. Andrew Bartlett (This used to be commit 7854a439ac601d3c23703b115cd5a8d4257c7717)
2003-01-11While the usage is most bisarre, this fixes up another fstring/pstring mixup.Andrew Bartlett1-1/+2
(In this case, an fstrcpy() into a pstring, ie harmless). Andrew Bartlett (This used to be commit 7b92d26d479dbc0923484967936511cfc645c5f4)
2003-01-11Use size_t for the counter vars, to match the type they are assigned fromAndrew Bartlett1-3/+3
(signed/unsigned mixup). Andrew Bartlett (This used to be commit f42cf0783fa3aeddc4992021df9ee6f3b1aa58f3)
2003-01-11A couple more fstring/pstring issues - and move from sizeof(fstring) toAndrew Bartlett2-34/+32
sizeof(var) in slprintf statements, so as to ensure we don't get mixups there. Also remove fstrcpy() into a variable that is about to be printed into anyway. Andrew Bartlett (This used to be commit 9b761237321d475c324a3995fe6f0922550ae995)
2003-01-11Remove an unused paramter for our old LM-only password change code, and fix aAndrew Bartlett2-4/+3
(harmless) fstring/pstring mixup. Andrew Bartlett (This used to be commit 5ff5f540ccc2ee2c9859213b84598baa400f57a5)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett9-37/+39
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-11Patch from Nik Conwell <nik@bu.edu>. Don't reference free()ed data when tryingAndrew Bartlett1-1/+3
to figure out if we have got our ticket yet. Andrew Bartlett (This used to be commit a66ced2cf69145c0a5be5ed91ac306db50c313d1)
2003-01-11Return the 'freindly' NT error message if at all possible.Andrew Bartlett2-2/+3
Andrew Bartlett (This used to be commit 90d05176534cfd97ed3827bddfeb3a0cb7f22683)
2003-01-11No point having this for both parts of the 'if' statement.Andrew Bartlett1-4/+2
Andrew Bartlett (This used to be commit 3b2e5f68cd4e1ff07dbd0032f521b3ba6e53746a)