Age | Commit message (Collapse) | Author | Files | Lines |
|
When we set a domain sid, force get_global_sam_sid() to do it's work again.
This should ensure that the value it returns is always consistant.
Andrew Bartlett
(This used to be commit fb13c61d4eee943e44632a0d1ba57b19602d67a4)
|
|
Add static, and assert that we will never overflow the static fstring
in pdb_encode_acct_ctrl() (All current callers are fine)
Andrew Bartlett
(This used to be commit badf7f64fb38dfd40bdf65b19e9dd8932d5e6c3b)
|
|
More 'static' work.
Andrew Bartlett
(This used to be commit 620f909eed3d994d01ca53068a33856d25917144)
|
|
Make it possible to 'net rpc samdump' of any domain you are currently joined
to, despite any smb.conf settings.
Work to allow the same for 'net rpc vampire', but instead give a clear
error message on what is incorrect.
Andrew Bartlett
(This used to be commit c4b6bd85978b61c4c9c34dde122e968c3771f2e6)
|
|
Add some help for 'net rpc password'.
Andrew Bartlett
(This used to be commit 2c6f1966d6c25238d73a46132c05794677c3a882)
|
|
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)
|
|
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)
|
|
Remove more unused portions of the 'password cache'.
Andrew Bartlett
(This used to be commit 33cdb2bd18daca31461bbc45251679f50fd3567f)
|
|
Remove more unused functions - this time parts of the 'password cache'.
Andrew Bartlett
(This used to be commit c29c28e4cfc0539eb5e02196dd6cdda7bd433f61)
|
|
Another static function.
Andrew Bartlett
(This used to be commit 58adb41db19ce528b9267a5ea7f119b9c6893ade)
|
|
Make this table static const.
Andrew Bartlett
(This used to be commit 3803cb36e9d94c08bf310c0ef1cdfc29b443dc0e)
|
|
Remove unused utility function.
Andrew Bartlett
(This used to be commit af8248e67bb0f83124dcd250fee5d06a12fe257b)
|
|
Make get_dc_list static - we only ask for a sorted list externally.
Andrew Bartlett
(This used to be commit 5335b9d5eb79dc431fb8e40e61a57370dd09486e)
|
|
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)
|
|
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)
|
|
(This used to be commit 9ea39d1c782c2111b086a83bf5f24c8b18fd879e)
|
|
terminate correctly.
Jeremy.
(This used to be commit a1f7cea9f278ef15206bf48663328c28d295bd6d)
|
|
Embarrassing number of goto's in this :-(. Fixes #830 I think.
Jeremy.
(This used to be commit e8c7d1c5dca63720b7de6360cb0cff4bed0be546)
|
|
Ensure the remote_password_change() gets a valid prototype from proto.h
Andrew Bartlett
(This used to be commit 765757b3573b75a3df09d6130b025049d9c93e14)
|
|
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)
|
|
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)
|
|
Jeremy.
(This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5)
|
|
Remove duplicate comment.
Andrew Bartlett
(This used to be commit 841766bcbddbbe5e18d1b7989e54c85ab97715f5)
|
|
Volker
(This used to be commit 3768b64c81879231a88c0f3235bfe8ecf29f3af8)
|
|
end mapper code
(This used to be commit 902d4a647a88d1def09d5b1eacb06ab1561f3dec)
|
|
>Include sys/acl.h in check for broken nisplus include files. Bug #1025.
(This used to be commit cbf9c3d3953e25999312492dc08f61db875a04e7)
|
|
>Don't log an error if a tdb_brlock() returns EAGAIN - it's supposed to
>do that.
(This used to be commit d8182b8bf54dc00378caa82e8c325891a08b17ca)
|
|
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping
handle it.
(This used to be commit 758bbfb5f133c3c85e3092ad88294ae4abbbbc6f)
|
|
(This used to be commit d59dc1bc1cf47eee2158e5c9d56d0ed750948fa0)
|
|
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)
|
|
Remove source_env handler (no longer used in any codepath).
Jeremy.
(This used to be commit be60768e64ae2061f220faa3943dcb0588393dbc)
|
|
ACB_PWNOTREQ bit set
(This used to be commit 6c4de7198b94a8cea176e1c9d86deb65705f9058)
|
|
(This used to be commit 63206b1204bd532bf99912cd4312baf7d69db1f6)
|
|
(This used to be commit 77335cc5bce46ab3498f9401099f110b0e5506c1)
|
|
(This used to be commit c81c0ffaabaa805211d9c6e1ab5aa66a02365e26)
|
|
<moriyama@miraclelinux.com>
(This used to be commit e94590fd5a85117d170c14640cf79b603a5b1d22)
|
|
(This used to be commit 9836def8a90bc3b375f070e91dbfabd8177f24b3)
|
|
(This used to be commit 428504b5508e9e0f9cbc0dc8041f25f06de52f88)
|
|
(This used to be commit 467a58af346b30291b69b5d8da7f1b21d518fc1d)
|
|
(This used to be commit 9a81094a0f0ca5c209f640c48b77522e5f81d28e)
|
|
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)
|
|
(to enable it, run ./configure --with-static-modules=pdb_gums)
(This used to be commit df7666161f75b61058a017fea04b733751d5ac06)
|
|
exists by the same name
(This used to be commit e589f6502fc280d5f89b399c6cef167e26773062)
|
|
Clarify comment on set_effective_uid()
Andrew Bartlett
(This used to be commit 0a9afefb55e9071fd21ea280095555f423571853)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
If we are providing strndup(), ensure we provide a prototype too.
Andrew Bartlett
(This used to be commit 5536c7448e88caa95b13c01956c37deee899dd92)
|
|
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)
|