summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r17374: Get rid of a silly "System User" default for "description", also ↵Volker Lendecke1-5/+9
fetch the sambaProfilePath. Volker (This used to be commit 61e7ed593b944fa14330729e585d1f790af93a7b)
2007-10-10r17356: Also transfer the sambaHomePath attribute.Volker Lendecke1-0/+4
Volker (This used to be commit 49ad0d4d0eea85ef133e1a5c055305e06de109de)
2007-10-10r17335: Some more fixes to net rpc vampire ldif. Still not good though :-(Volker Lendecke1-8/+14
Volker (This used to be commit e947f4bd91fcfa0dd27d12e8188ada381da541ff)
2007-10-10r17313: Non-Ascii attribute values need to be encoded as base64, with an ↵Volker Lendecke1-15/+60
attribute name attr:: instead of attr: German domains tend to have umlauts in group names. More to come tomorrow. Volker (This used to be commit 94cdd5d64cfaa5228209eebbb76244da0bf4b518)
2007-10-10r17312: Do some reformatting on net rpc samsync ldif. Not doing this checkin ↵Volker Lendecke1-135/+152
easily, as this puts me into svn blame in places I'm not sure I want my name to show up.... Volker (This used to be commit d00e73c49b5227db61d41a017eb9b71d9e7e2620)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-11/+19
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16429: Fix final 4 Klocwork bugs we're going to fix beforeJeremy Allison1-1/+1
release - #785, #786, #787, #788. Jeremy. (This used to be commit 9017547cccadeecb80f3db58a43838dc656fce2f)
2007-10-10r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607Volker Lendecke1-1/+9
in net_rpc.c: 715 716 732 734 735 736 737 738 739 749 in net_rpc_audit.c: 754 755 756 in net_rpc_join.c: 757 in net_rpc_registry: 766 767 in net_rpc_samsync.c: 771 773 in net_sam.c: 797 798 Volker (This used to be commit 3df0bf7d6050fd7c9ace72487d4f74d92e30a584)
2007-10-10r15608: Fix a couple of Coverity errorsVolker Lendecke1-0/+9
(This used to be commit 696e210bf6688e8b2f408559768173b4bdbda979)
2007-10-10r15566: Fix Coverity bug # 284. The lp_ldap_xx_suffix function only return ↵Volker Lendecke1-7/+16
NULL if talloc fails. Volker (This used to be commit 0ece5b32f97f162be0af2ea3354a597c56ed4373)
2007-10-10r14743: Fix coverity bug #227. Possible deref of null pointerJeremy Allison1-5/+10
in error code path. Jeremy. (This used to be commit 9117713c5ee220331106d291425703aec4d7dd2c)