1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

14 Commits

Author SHA1 Message Date
Jean-François Micouleau
9f59fc64b8 update the ldap support code. it compiles.
Ignacio you can update your howto ;-)

samsync: a small patch to try chaning challenges.

	J.F.
(This used to be commit c99bc305599698f2291efbfe20024355cb2bcde0)
2001-12-13 18:09:29 +00:00
Andrew Bartlett
3c64bd4c50 Leak less memory.
Now, is there any reason that the prs_init() doesn't use the talloc context
that it is supplied as an argument for the actual data buffer?

It would seem logical to replace the malloc with a talloc, but I'm sure
there is some method to the madness (extrnal use/Reallocing of it I presume)

Andrew Bartlett
(This used to be commit ad18f33bfa79ce93024f3cb3a334cff622fe82a4)
2001-12-08 02:14:56 +00:00
Andrew Bartlett
8ba00d147b OK. Smbpasswd -j is DEAD.
This moves the rest of the functionality into the 'net rpc join' code.

Futhermore, this moves that entire area over to the libsmb codebase, rather
than the crufty old rpc_client stuff.

I have also fixed up the smbpasswd -a -m bug in the process.

We also have a new 'net rpc changetrustpw' that can be called from a
cron-job to regularly change the trust account password, for sites
that run winbind but not smbd.

With a little more work, we can kill rpc_client from smbd entirly!
(It is mostly the domain auth stuff - which I can rework - and the
spoolss stuff that sombody else will need to look over).

Andrew Bartlett
(This used to be commit 575897e879fc175ba702adf245384033342c903d)
2001-12-05 11:00:26 +00:00
Tim Potter
3e2f355a2e Some tweaking to make the samlogon function look more like NT on the wire.
(This used to be commit b30232e2b7ddb5eab419d4e6237176f695a534ad)
2001-10-31 04:26:36 +00:00
Tim Potter
f441ccd484 Allow the logon level to be passed to cli_netlogon_sam_logon() rather than
the validation level.  This allows us to test interactive or network logons.

Interestingly enough a win2k native mode server generates a rpc fault when
presented with a network logon!
(This used to be commit 0758c0ea845dd0b552e4dab3ce05f0811fa9658e)
2001-10-30 05:38:41 +00:00
Tim Potter
5c3ccf7766 Added samlogon command to test against win2k native mode server. I think
there's a bug in the marshalling of net_sam_logon.
(This used to be commit 7c5ac46b8ad0be681d102e7ef3478d64d7a2b8e6)
2001-10-30 01:49:44 +00:00
Tim Potter
0dab2c3e31 Use session key from cli_state struct rather than the uninitialised one
when calling cli_netlogon_sam_sync().  (-:
(This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)
2001-09-14 04:32:52 +00:00
Andrew Tridgell
fbe6685a79 fixed some compilation errors in cli_netlogon.c - tim, you need to rerun configure to get the new NTSTATUS stuff right
(This used to be commit 9bae57cfe30825174536d11983bb3434498e3f03)
2001-09-05 08:54:04 +00:00
Andrew Tridgell
7844aa868b more warning fixes on solaris
(This used to be commit c04c67fec85b1c81ef0b3cebacde304a1de0d854)
2001-09-05 08:11:17 +00:00
Tim Potter
f6b531895e Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c
except they are called new_cli_net_req_chal() and new_cli_net_auth2()
until they are working properly.
(This used to be commit 4ca085f253fc39de60115edc049e91d5c95735ef)
2001-09-05 04:46:21 +00:00
Tim Potter
d5c9172ada Merge of sam sync code from TNG.
Reverse-engineered the sam replication protocol from staring at hex dumps
for a while.  It's pretty similar to the sam sync protocol with a couple of
different delta header types.

I wasn't able to figure out the format of the privilege stuff - needs more
time and a whiteboard.  (-:

The impressive bit is that the sam sync stuff from tng basically just
worked thanks mainly to Luke Leighton's efforts in this area.
(This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-28 06:43:43 +00:00
Tim Potter
49eea105fd Factored out common rpc pipe initialisation and shutdown code.
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
2001-08-08 03:18:49 +00:00
Tim Potter
6958bfa518 Added logon control2 client call.
(This used to be commit 8d5f2027095c3fb9240db238fb6d405aeefef1ef)
2001-05-24 08:01:55 +00:00
Tim Potter
40ff4007c7 Added stubs for SRVSVC and NETLOGON rpcclient commands.
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2001-05-24 00:20:32 +00:00