summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17net_vampire: move some samsync functions to libnet.Günther Deschner1-161/+0
Guenther (This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-13net_vampire: rename process_database to samsync_process_database.Günther Deschner1-19/+19
Guenther (This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)
2008-06-13net_vampire: fix ldif_init_context().Günther Deschner1-31/+40
Guenther (This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
2008-06-13net_vampire: split out rpc_vampire_ldif().Günther Deschner1-23/+73
Guenther (This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-13net_vampire: add samsync_init_context().Günther Deschner1-9/+41
Guenther (This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
2008-06-13net_vampire: add samsync_debug_str().Günther Deschner1-30/+52
Guenther (This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
2008-06-13net_vampire: restructure internal code more.Günther Deschner1-312/+426
Guenther (This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
2008-06-13net_vampire: start using talloc for the ldif vampire code.Günther Deschner1-118/+138
Guenther (This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
2008-06-13net_vampire: join dump and process function into one callback.Günther Deschner1-96/+54
Guenther (This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
2008-06-13net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.Günther Deschner1-12/+12
Guenther (This used to be commit 0707d32042b23d615b57b2f955775472b766770e)
2008-06-13net_vampire: let dump_database() return NTSTATUS.Günther Deschner1-6/+8
Guenther (This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
2008-06-13net: Fix bug #5542 (samsync contains empty passwords).Günther Deschner1-0/+27
Guenther (cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc) (This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
2008-06-11net: remove some dead code.Günther Deschner1-29/+0
Guenther (This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-13/+13
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-10net: Remove globalsKai Blin1-4/+8
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-3/+3
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-17Fix gcc uninitialized variable used warning.Jeremy Allison1-6/+5
Jeremy. (This used to be commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner1-1/+1
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-03-29Zero initial return_authenticator in net rpc samdump.Günther Deschner1-0/+2
Guenther (This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-28Fix blob used in pull_netr_AcctLockStr().Günther Deschner1-1/+1
Thanks metze. Guenther (This used to be commit 565a30ac3208d89de617b28f4553911484033253)
2008-03-27Re-add support for display and vampire of account policies in "net".Günther Deschner1-25/+78
Guenther (This used to be commit c61499ce02355f5969fa0475ed6e3c278995ecdb)
2008-03-27Minor fix for net rpc samdump.Günther Deschner1-4/+5
Guenther (This used to be commit 2f5e25be276135e9cb4cc0c44ec573d466def66e)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-22Fix "used uninitialized" errors.Jeremy Allison1-2/+6
Jeremy. (This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-15Convert "net rpc vampire/samdump" to pidl generated functions.Günther Deschner1-388/+556
Guenther (This used to be commit f53393677d2c4b5ca117eed3ed660fafc4c650da)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-1/+1
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-19util_str: Don't return memory from talloc_tos(), use mem_ctx instead.Kai Blin1-3/+3
(This used to be commit ab0ee6e9a6a9eee317228f0c2bde254ad9a59b85)
2007-12-19Remove Get_Pwnam and its associated static variableVolker Lendecke1-2/+2
All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-10/+13
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke1-3/+3
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-04Remove pstr_sprintf. Replace with snprintf.Jeremy Allison1-46/+72
Jeremy. (This used to be commit bc9aa722231288c58554c2a48cd659c60bdcba63)
2007-12-04Back to pstring removal.Jeremy Allison1-12/+27
Jeremy. (This used to be commit 95842ae4e113e304f652120b250a70a95c66e3bc)
2007-11-09Make base64_encode_data_blob return a talloced stringVolker Lendecke1-2/+2
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-6/+6
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter1-1/+1
The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter1-1/+1
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-17/+17
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22590: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-4/+8
That should be it.... Jeremy. (This used to be commit 603233a98bbf65467c8b4f04719d771c70b3b4c9)
2007-10-10r20001: Fix bug 4273, thanks to Pascal TerjanVolker Lendecke1-1/+1
(This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505)
2007-10-10r19944: Fix from Don Watson -- thanksVolker Lendecke1-7/+2
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)
2007-10-10r19158: Remove root and nobody users from ldif, from Björn JackeJim McDonough1-63/+1
(This used to be commit 17880d6cadbb0b1b428430c26bb4b4545eb834ff)
2007-10-10r18703: Fix the annoying effect that happens when nscd is running:Günther Deschner1-0/+3
We usually do not get the results from user/group script modifications immediately. A lot of users do add nscd restart/refresh commands into their scripts to workaround that while we could flush the nscd caches directly using libnscd. Guenther (This used to be commit 7db6ce295afbedfada7b207ad56566d2195a0d21)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij1-49/+10
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r17554: CleanupVolker Lendecke1-4/+6
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10r17468: To minimize the diff later on, pre-commit some changes ↵Volker Lendecke1-1/+1
independently: Change internal mapping.c functions to return NTSTATUS instead of BOOL. Volker (This used to be commit 4ebfc30a28a6f48613098176c5acdfdafbd2941a)
2007-10-10r17463: A bit of cleanup work:Volker Lendecke1-3/+3
Remove some unused code: pdb_find_alias is not used anymore, and nobody I think has ever used the pdb_nop operations for group mapping. smbpasswd and tdb use the default ones and ldap has its own. Make the functions pdb_getgr* return NTSTATUS instead of BOOL. Nobody right now really makes use of it, but it feels wrong to throw away information so early. Volker (This used to be commit f9856f6490fe44fdba97ea86062237d8c74d4bdc)
2007-10-10r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as anVolker Lendecke1-6/+4
argument. Volker (This used to be commit 873a5a1211d185fd50e7167d88cbc869f70dfd3f)
2007-10-10r17375: If a field containts only whitespace, we need to do base64 as well.Volker Lendecke1-2/+20
Volker (This used to be commit 795d06f427061536c6e3a3eb5b5d60a27f5ec70d)