1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

18 Commits

Author SHA1 Message Date
Andrew Bartlett
5eaa4c9748 r2545: str_charnum -> strlen_m.
These two functions do exactly the same thing, I'll be removing
str_charnum shortly.

Andrew Bartlett
2007-10-10 12:59:04 -05:00
Tim Potter
32f0f3154a r2458: Rename policy handle parameters for the SAMR pipe. Parameters now
have the handle type implied by the parameter name.  There are four
types of handle: connect, domain, user and group handles.  The
various samr_Connect functions return a connect handle, and the
samr_OpenFoo functions return a foo handle.

There is one exception - the samr_{Get,Set}Security function can
take any type of handle.

Fix up all C callers.
2007-10-10 12:58:55 -05:00
Stefan Metzmacher
56e21d0ce2 r2346: fix some minor stuff
metze
2007-10-10 12:58:45 -05:00
Stefan Metzmacher
72e3b351d0 r2065: add libnet_RemoteTOD() call with levels GENERIC and SRVSVC
metze
2007-10-10 12:58:23 -05:00
Stefan Metzmacher
85ba7b4d60 r2064: fix some error cases
metze
2007-10-10 12:58:23 -05:00
Stefan Metzmacher
6aeaa6aca3 r2061: - split libnet header files
- add LIB_RPC_CONNECT_STANDARD level which takes a server name
  and the PIPE NAME,UUID and VERSION

metze
2007-10-10 12:58:22 -05:00
Stefan Metzmacher
d31405ff2f r2021: add password change fallback to SetUserInfo level 25,24,23
metze
2007-10-10 12:58:18 -05:00
Stefan Metzmacher
741f95909b r1952: change the _RPC levels into _SAMR
because we may have other rpc levels in future

add more comments about what's going on

check the rsult of samr_OpenUser

metze
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
af6b5673b0 r1950: implement libnet_SetPassword_rpc()
this currently tries only SetUserInfo26
the fallback is not yet done

metze
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
1c72f30650 r1947: fix cup & paste errors
metze
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
84c06d9ab0 r1928: give up on NT_STATUS_PASSWORD_RESTRICTION
(NOTE: this code pass isn't called yet,
       because pidl mixes the NTSTATUS of transport and request layer,
       and will be fixed soon)

metze
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
d0e518e7d0 r1927: allow the domain to be a ip address
metze
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
eb93d38de0 r1926: fallback to other SAMR ChangePasswordUser levels
1. ChangePasswordUser3
2. ChangePasswordUser2
3. OemChangePasswordUser2
4. ChangePasswordUser (not implemented complete)

metze
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
2012d90f26 r1925: now we lookup the domain controller
and fallback to a workstation name

metze
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
f1b9c1f3dd r1919: paasword change basicly works now:-)
but we need to find the real pdc for the users domain
and fallback to other levels

metze
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
d48050ae90 r1878: implemet libnet_context_{init,destroy}
and implement libnet_Change_Password_generic()

metze
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
05c40dca8a r1836: - as abartlet said to me, we need to contact the users domain pdcfor doing a
password change
- add start of libnet_SetPassword
- use KRB5 and LDAP instead of ADS as ADS isn't a protocol
- add start of lib_rpc_connect()

metze
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
dcb3ea32da r1816: here's the initial idea of libnet
metze
2007-10-10 12:57:59 -05:00