summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-08(merge from 3.0)Andrew Bartlett1-0/+1
Add some help for 'net rpc password'. Andrew Bartlett (This used to be commit 2c6f1966d6c25238d73a46132c05794677c3a882)
2004-02-08(merge from 3.0)Andrew Bartlett11-218/+30
Make more functions static, and remove duplication in the use of functions in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c (These should perhaps be pulled back out to smbpasswd.c, but that can occour later). This also includes some >14 character password changes, and the start of a move away from using 'admin user' to determine if the user is root (as root can login without setting 'admin user'). Andrew Bartlett (This used to be commit be0704abb919152c359a735023283acbf9be3076)
2004-02-08(merge from 3.0)Andrew Bartlett1-69/+0
Samba hasn't used this function for ages - it's now handled deep in the auth subsystem. Andrew Bartlett (This used to be commit bb505ca696427f105d05a0b9aab6d5eee043ede6)
2004-02-08(merge from 3.0)Andrew Bartlett2-49/+6
Remove more unused portions of the 'password cache'. Andrew Bartlett (This used to be commit 33cdb2bd18daca31461bbc45251679f50fd3567f)
2004-02-08(merge from 3.0)Andrew Bartlett1-45/+0
Remove more unused functions - this time parts of the 'password cache'. Andrew Bartlett (This used to be commit c29c28e4cfc0539eb5e02196dd6cdda7bd433f61)
2004-02-08(merge from 3.0)Andrew Bartlett1-1/+1
Another static function. Andrew Bartlett (This used to be commit 58adb41db19ce528b9267a5ea7f119b9c6893ade)
2004-02-08(merge from 3.0)Andrew Bartlett1-1/+1
Make this table static const. Andrew Bartlett (This used to be commit 3803cb36e9d94c08bf310c0ef1cdfc29b443dc0e)
2004-02-08(merge from 3.0)Andrew Bartlett1-13/+0
Remove unused utility function. Andrew Bartlett (This used to be commit af8248e67bb0f83124dcd250fee5d06a12fe257b)
2004-02-08(merge from 3.0)Andrew Bartlett1-23/+24
Make get_dc_list static - we only ask for a sorted list externally. Andrew Bartlett (This used to be commit 5335b9d5eb79dc431fb8e40e61a57370dd09486e)
2004-02-08(merge from 3.0)Andrew Bartlett1-2/+3
Bug found by gd - the new range-reterival code did still had 'member' hardcoded into it. This didn't matter, as we only use it for 'member' so far... Andrew Bartlett (This used to be commit a813d4b6aac655909541966d2d343fe2b55ed188)
2004-02-08(merge from 3.0)Andrew Bartlett2-2/+133
I should have done this years ago... This adds the very simple 'admin set password' capability to 'net rpc', much as we have it for 'net ads'. Andrew Bartlett (This used to be commit 5243b89e33efd2ea8842a624d8abd6c5755afb64)
2004-02-06Replaced .po with .@PICSUFFIX@Tim Potter1-4/+4
(This used to be commit 9ea39d1c782c2111b086a83bf5f24c8b18fd879e)
2004-02-04Fix final valgrind errors with #830. Catch mb conversion error that may notJeremy Allison1-2/+16
terminate correctly. Jeremy. (This used to be commit a1f7cea9f278ef15206bf48663328c28d295bd6d)
2004-02-04Fixup the allocate version of the function to do "crap" conversions too.Jeremy Allison1-20/+83
Embarrassing number of goto's in this :-(. Fixes #830 I think. Jeremy. (This used to be commit e8c7d1c5dca63720b7de6360cb0cff4bed0be546)
2004-02-04(merge from 3.0)Andrew Bartlett1-1/+1
Ensure the remote_password_change() gets a valid prototype from proto.h Andrew Bartlett (This used to be commit 765757b3573b75a3df09d6130b025049d9c93e14)
2004-02-04Working on #830. Cope with bad conversions better - don't just memcpy butJeremy Allison2-11/+82
try a crap conversion instead. Next this needs to be done to the convert_alloc function. Actually fixes some valgrind warnings as well - cool ! Jeremy. (This used to be commit 98e2c6f4f854065c56a73ebc9e0a50e0ba018dde)
2004-02-03Fix for a bug where the mutex could be left locked. Also remove theJeremy Allison2-168/+8
memory keytab code which has no effect. Driven by bug report from "Rob J. Caskey" <rcaskey@uga.edu>. Jeremy. (This used to be commit 2a8601d0bfa35f4d0ccd7946d483473fd10e19d0)
2004-02-02Merge from 3.0.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5)
2004-02-02(merge from 3.0)Andrew Bartlett1-2/+0
Remove duplicate comment. Andrew Bartlett (This used to be commit 841766bcbddbbe5e18d1b7989e54c85ab97715f5)
2004-02-02Remove bogus check. Cosmetics.Volker Lendecke1-5/+0
Volker (This used to be commit 3768b64c81879231a88c0f3235bfe8ecf29f3af8)
2004-02-02janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the ↵Gerald Carter15-896/+749
end mapper code (This used to be commit 902d4a647a88d1def09d5b1eacb06ab1561f3dec)
2004-02-01Merge from 3.0:Tim Potter1-1/+3
>Include sys/acl.h in check for broken nisplus include files. Bug #1025. (This used to be commit cbf9c3d3953e25999312492dc08f61db875a04e7)
2004-02-01Merge from 3.0:Tim Potter1-4/+8
>Don't log an error if a tdb_brlock() returns EAGAIN - it's supposed to >do that. (This used to be commit d8182b8bf54dc00378caa82e8c325891a08b17ca)
2004-01-31* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;Gerald Carter2-115/+10
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping handle it. (This used to be commit 758bbfb5f133c3c85e3092ad88294ae4abbbbc6f)
2004-01-31cleanup patch for bug 977 so we don't display incorrect debug messagesGerald Carter1-8/+12
(This used to be commit d59dc1bc1cf47eee2158e5c9d56d0ed750948fa0)
2004-01-30(merge from 3.0)Andrew Bartlett1-17/+31
If we are setting the NT or LM password to NULL, remove the attribute rather than writing XXXXX Andrew Bartlett (This used to be commit 2ae9672f811c91c95ee2ddfd4b0dcc6b0f4fa192)
2004-01-30Fix up name canonicalization (needed for krb5 keytab support later).Jeremy Allison8-56/+39
Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit be60768e64ae2061f220faa3943dcb0588393dbc)
2004-01-30disable any account that doesn't have a password and doesn't had the ↵Gerald Carter1-6/+12
ACB_PWNOTREQ bit set (This used to be commit 6c4de7198b94a8cea176e1c9d86deb65705f9058)
2004-01-29more initialization fixesGerald Carter2-0/+63
(This used to be commit 63206b1204bd532bf99912cd4312baf7d69db1f6)
2004-01-29merge from 3.0Gerald Carter3-3/+52
(This used to be commit 77335cc5bce46ab3498f9401099f110b0e5506c1)
2004-01-29removing more unused parametersGerald Carter1-10/+0
(This used to be commit c81c0ffaabaa805211d9c6e1ab5aa66a02365e26)
2004-01-29BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki ↵Gerald Carter1-1/+1
<moriyama@miraclelinux.com> (This used to be commit e94590fd5a85117d170c14640cf79b603a5b1d22)
2004-01-29reactivate pdb_gums as static moduleSimo Sorce1-1/+1
(This used to be commit 9836def8a90bc3b375f070e91dbfabd8177f24b3)
2004-01-29This should cure the problem with gums not compiling.Simo Sorce1-120/+188
(This used to be commit 428504b5508e9e0f9cbc0dc8041f25f06de52f88)
2004-01-29updated the head branch as wellAndrew Tridgell1-148/+778
(This used to be commit 467a58af346b30291b69b5d8da7f1b21d518fc1d)
2004-01-29Remove an unused parameter in winbindd (reload_services_file)Richard Sharpe1-4/+3
(This used to be commit 9a81094a0f0ca5c209f640c48b77522e5f81d28e)
2004-01-28This is Simo's patch for the NetShareEnum() bug which caused us to returnChristopher R. Hertel1-11/+31
share names longer than 12 bytes. The function now filters out names longer than 12 bytes (which is compatible with Windows behavior). A better fix might be to store short names along with any names longer than 12 bytes, using a simple (very) name mangling. I'm committing in HEAD. If there are no problems this can easily be merged into 3.0.x. Chris -)----- (This used to be commit 6a8a64dc87863b39490d7f22a7d107e6916584f2)
2004-01-27Don't built gums by defaultJelmer Vernooij2-5/+4
(to enable it, run ./configure --with-static-modules=pdb_gums) (This used to be commit df7666161f75b61058a017fea04b733751d5ac06)
2004-01-27bug 977 - don't create a homes share for a user if a static share already ↵Gerald Carter1-1/+7
exists by the same name (This used to be commit e589f6502fc280d5f89b399c6cef167e26773062)
2004-01-27(merge from 3.0)Andrew Bartlett1-2/+10
Clarify comment on set_effective_uid() Andrew Bartlett (This used to be commit 0a9afefb55e9071fd21ea280095555f423571853)
2004-01-26(merge from 3.0)Andrew Bartlett1-109/+158
Revise our server-side password change code to cope with the various different feilds that different clients send. (For example, not all clients send both password types). This also cleans up the code to make it clearer what is really going on, and to make better use of common functions. Andrew Bartlett (This used to be commit e5b5cd5966f2894c283383abe5d99fda524cbb9f)
2004-01-26(merge from 3.0)Andrew Bartlett10-91/+220
This adds client-side support for the unicode/SAMR password change scheme. As well as avoiding DOS charset issues, this scheme returns useful error codes, that we can map back via the pam interface. This patch also cleans up the interfaces used for password buffers, to avoid duplication of code. Andrew Bartlett (This used to be commit 8063b8b6c2eb30cb116988e265fb289109d7c348)
2004-01-26(merge from 3.0)Andrew Bartlett1-0/+2
Patch by Luca Bolcioni <Luca.Bolcioni@yacme.com>. Ensure we always initialise the session key. Fixes segfaults with security=server, and encrypt passwords = no. Andrew Bartlett (This used to be commit b5b6a5937ccb8126876e9ecf9b17cd95f6eec19d)
2004-01-25(merge from 3.0)Andrew Bartlett1-2/+2
Fix the initialisation vectors for NTLM2, so that they at least make sense, even if they don't work yet. Andrew Bartlett (This used to be commit 40cc86d4b31efdee519cf2e2c9b62c4fdc885724)
2004-01-25(merge from 3.0)Andrew Bartlett1-0/+4
If we are providing strndup(), ensure we provide a prototype too. Andrew Bartlett (This used to be commit 5536c7448e88caa95b13c01956c37deee899dd92)
2004-01-25(merge from 3.0)Andrew Bartlett1-16/+16
Fix removal of attributes in LDAP - we would not actually remove the old value in the previous code. Andrew Bartlett (This used to be commit 971dd33244918cde6bf49a2f9c650da856d31cd6)
2004-01-24(merge from 3.0)Andrew Bartlett1-8/+8
A Samba DC is nothing special these days - so every domain controller location packet from the client is not a DEBUG(1) event anymore... (Yes, we printed this for each of these UDP packets...) Andrew Bartlett (This used to be commit c84e8e91e4d4786ece6288a177f66f260d6e7945)
2004-01-23Fix typoVolker Lendecke1-2/+1
(This used to be commit f83606a058b934309bf1b2075747f504eb38575d)
2004-01-23Fix decoding of base64. We got the length wrong when the result was notVolker Lendecke1-0/+2
an exact multiple of 3. I also wrote a torture test and it survived some minutes of random stuff coded/decoded up to 16 MB data. But that would be a bit too embarassing to commit... :-) Volker (This used to be commit 3fda2a0432a1dc7a0d28d83e35f6329bc30378e0)
2004-01-22fix previously committed old version by mistakeSimo Sorce1-3/+3
(This used to be commit 4840b25dbd4d2eafc010389a711d42862d5fb0f0)