Günther Deschner
72b4ca3ec5
fix net_io_q_srv_pwset2.
...
yes, we all love hand-marshalled rpc...
Guenther
2008-09-18 14:09:32 +02:00
Günther Deschner
a5b913dd31
netlogon: "re-run make idl" - implement netr_ServerPasswordSet2 client.
...
Guenther
2008-08-29 00:10:05 +02:00
Günther Deschner
58f22b738e
Re-add samr getdispinfoindex parsing which got lost in the glue commit.
...
Guenther
2008-05-16 14:23:51 +02:00
Jeremy Allison
9727d87e7c
lm_session_key is only 8 bytes. Don't confuse developers (ie. me :-)
...
by passing around 16 bytes, 8 of which end up unused.
Jeremy.
2008-05-14 19:05:26 -07:00
Jeremy Allison
366aa23bec
Merge 3fc1ab210b
from 3.2.
...
The first of Martin Zielinski <mz@seh.de> Vista printing patches.
Jerry will test and should get into 3.2 final (and the next 3.0.x
release).
Jeremy.
2008-05-06 11:23:24 -07:00
Karolin Seeger
6e658dbb2c
Fix comment.
...
Karolin
2008-04-07 15:49:55 +02:00
Rafal Szczesniak
2ced9b906f
r24771: Use infolevel 25 to set the machine account's password (just like winxp).
...
This correctly updates pwdLastSet field on win2k3 server.
rafal
2008-01-31 10:28:01 +01:00
Jeremy Allison
00845002a6
Version of Matt Geddes <musicalcarrion@gmail.com>
...
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
2008-01-23 13:55:13 -08:00
Gerald (Jerry) Carter
65229e9661
[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
2007-10-10 15:28:53 -05:00
Rafal Szczesniak
972cba939c
r24770: Use infolevel 25 to set the machine account's password (just like winxp).
...
This correctly updates pwdLastSet field on win2k3 server.
rafal
2007-10-10 12:23:56 -05:00
Volker Lendecke
51a3933b3d
r23665: Remove two unneeded global variables
2007-10-10 12:23:43 -05:00
Günther Deschner
e9a7512a9f
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
...
Guenther
2007-10-10 12:23:38 -05:00
Jim McDonough
afabd68b6a
r23616: Fix bugzilla #4719 : must change password is not set from usrmgr.exe.
...
This was only affecting the newer versions of usrmgr.exe, because they
use a user_info_25 struct. The password is getting set separately
inside that code, so the password last set time was getting set from the
password change logic.
We also were not parsing a number of fields (like logon hours) from the
user_info_25. That should also be fixed.
2007-10-10 12:23:36 -05:00
James Peach
171dc060e2
r23510: Tidy calls to smb_panic by removing trailing newlines. Print the
...
failed expression in SMB_ASSERT.
2007-10-10 12:23:23 -05:00
Jeremy Allison
9300b92f7a
r23400: Fix lsa crash bug #4683 . The "names" enum struct
...
in a lookup_sidX reply isn't optional - like the
lookup_sidX query it needs to be defined in the
struct.
All this will go away with PIDL (thank goodness....).
Jerry - I think this is a showstopper to be merged
for 3.0.25b.
I'll be watching the build farm to see if anything broke.
Jeremy.
2007-10-10 12:23:13 -05:00
Günther Deschner
5e75ea7f2b
r23380: netr_getdcname returns WERROR not NTSTATUS.
...
Guenther
2007-10-10 12:23:12 -05:00
Jeremy Allison
34144c63ad
r23342: Stop Coverity from getting confused.
...
Jeremy.
2007-10-10 12:23:07 -05:00
Gerald Carter
ebcae48ec1
r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init call renames for svcctl in the previous commit
2007-10-10 12:23:02 -05:00
Gerald Carter
0b1bc3521f
r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
2007-10-10 12:23:01 -05:00
Günther Deschner
def6464c87
r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but were using
...
netr_GetDcAnyName all the time (which is the correct thing to do).
Fix the naming and opcode mixup in all branches.
Guenther
2007-10-10 12:22:54 -05:00
Günther Deschner
37ae7f4197
r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,
...
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some
more WERROR codes.
Guenther
2007-10-10 12:22:48 -05:00
Jeremy Allison
a871191395
r23122: Fix bug #4655 . We marshall the enumdataex correctly,
...
but W2K3 doesn't follow our rules when sending data to
us. Ensure we look for the data at the correct offsets
when reading the data.
Too late for 3.0.25a - don't merge.
Jeremy.
2007-10-10 12:22:48 -05:00
Volker Lendecke
123290d094
r23091: Add rpccli_netlogon_sam_network_logon_ex, fix its parsing. This does not
...
use the credential chain and only works over netlogon, but it would
allow multiple outstanding auth requests for a single workstation
account.
2007-10-10 12:22:44 -05:00
Jeremy Allison
9a10736e6f
r23080: Fix bug #4637 - we hads missed some cases where
...
we were calling PRS_ALLOC_MEM with zero count.
Jeremy.
2007-10-10 12:22:43 -05:00
Gerald Carter
f65214be68
r22852: merge fixes for CVE-2007-2446 and CVE-2007-2447 to all branches
2007-10-10 12:22:02 -05:00
Volker Lendecke
3d3d61687e
r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
...
replace all data_blob(NULL, 0) calls.
2007-10-10 12:22:01 -05:00
Jeremy Allison
c73963a60a
r22676: Fix zero alloc with create_rpc_blob().
...
Jeremy.
2007-10-10 12:19:54 -05:00
Jeremy Allison
9e4c6ab739
r22673: Fix for Jerry's reversion. We still need to check size
...
before talloc.
Jeremy.
2007-10-10 12:19:54 -05:00
Gerald Carter
cf11b43149
r22630: Revert svn r22576 (parse change to enum_aliasmem(). Original code was correct
2007-10-10 12:19:50 -05:00
Jeremy Allison
8ad13718af
r22588: Make all uses of TALLOC_MEMDUP consistent.
...
Jeremy.
2007-10-10 12:19:48 -05:00
Jeremy Allison
c622fb8536
r22585: Get us into a consistent state with TALLOC_ZERO_ARRAY also.
...
Jeremy.
2007-10-10 12:19:47 -05:00
Jeremy Allison
3df99006f8
r22577: Change all of parse/*.c to use standard form. Fix some
...
marshalling bugs.
Jeremy.
2007-10-10 12:19:46 -05:00
Jeremy Allison
415c476f72
r22576: Fix marshalling bug in aliasmem.
...
Jeremy.
2007-10-10 12:19:45 -05:00
Jeremy Allison
da78488b86
r22564: Move the _strict -> _zeronull functions into lib/util.c
...
and out of talloc at tridge's request.
Jeremy.
2007-10-10 12:19:45 -05:00
Jeremy Allison
f6fa3080fe
r22542: Move over to using the _strict varients of the talloc
...
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
2007-10-10 12:19:44 -05:00
Jeremy Allison
99abe96b2b
r22163: Pure reformatting. I hate 4 space tabstops :-).
...
Jeremy.
2007-10-10 12:19:18 -05:00
Gerald Carter
eab9ca7e7d
r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
...
Enable the DsRoleGetPrimaryDomainInfo() server code.
Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64)
2007-10-10 12:19:12 -05:00
Jeremy Allison
0c8949ff5d
r22062: Fix the parsing of info level 3. Flags is not a flags
...
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
2007-10-10 12:19:07 -05:00
Jelmer Vernooij
ad98126187
r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
3a28443079
r22009: change TDB_DATA from char * to unsigned char *
...
and fix all compiler warnings in the users
metze
2007-10-10 12:19:00 -05:00
Stefan Metzmacher
fa322f0cc9
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
...
which matches what samba4 has.
also fix all the callers to prevent compiler warnings
metze
2007-10-10 12:18:59 -05:00
Stefan Metzmacher
724c6fa337
r21987: split tdb_prs_*() functions in version which take a keystr and a TDB_DATA key
...
metze
2007-10-10 12:18:56 -05:00
Gerald Carter
6a69caf690
r21507: Fix some "cannot access LDAP when no root" bugs.
...
The two culprits were
* pdb_get_account_policy()
* pdb_get_group_sid()
2007-10-10 12:18:09 -05:00
Günther Deschner
7bbb3409a5
r21393: Fix typo.
...
Guenther
2007-10-10 12:18:01 -05:00
Jeremy Allison
60e26a9039
r21346: FIXME ! Our parsing here is wrong I think,
...
but for a level3 it makes no sense for
ptr_sec_desc to be NULL. JRA. Based on
a Vista sniff from Martin Zielinski <mz@seh.de>.
Jerry - part of the Vista patchset.
Jeremy.
2007-10-10 12:17:57 -05:00
Jeremy Allison
b35fa5168e
r21096: Fix formatting.
...
Jeremy
2007-10-10 12:17:36 -05:00
Gerald Carter
a3602cc6d4
r20904: This is a placeholder fix. Apparently Windows 2000
...
is sharing the IDL for the SAMR pipe with Windows 2003
but returning NT_STATUS_NOT_SUPPORTED rather than a DCE/RCE
fault. We need to catch this in the general sense
by looking at the returned PDU size. But this immediate
change fixes password changes via pam_winbind against Windows 2000
DCs.
2007-10-10 12:17:18 -05:00
Herb Lewis
41be182f78
r20269: merge -r20264:20267 from SAMBA_3_0_24
...
more no previous prototype warnings
2007-10-10 12:16:38 -05:00
Volker Lendecke
2d4b5f5727
r19288: tdb_prs_store is right now used to store printer and share security
...
descriptors. Both databases are long-lived and not frequently written, so I
think storing it deserves a tdb transaction.
Volker
2007-10-10 12:15:28 -05:00
Günther Deschner
6091c8152a
r19161: Add NET_GETANYDCNAME (getdcname only gives the PDC while getanydcname
...
gives just any DC), also make sure to set timeouts in rpcclient
accordingly so that we actually get the DC's reply.
Guenther
2007-10-10 12:15:18 -05:00