Günther Deschner
49b269f50f
net_vampire: add domain_name to samsync_context.
...
Guenther
(This used to be commit 7e7f07ec59d23e909809ed32adc8fc399826310d)
2008-06-17 19:55:10 +02:00
Günther Deschner
16eb846fa5
net_vampire: use generic output filename and use correct argv element.
...
Guenther
(This used to be commit e0843e631e379645296a5fe34dfc83bc265ebef3)
2008-06-17 10:49:13 +02:00
Günther Deschner
51fec7863b
net_vampire: move ldif code out of net_rpc_samsync.c
...
Guenther
(This used to be commit 1d5758ec3a5160e5649242c42f6e4a7b39eb6199)
2008-06-17 10:49:13 +02:00
Günther Deschner
ccdcbc2efe
net_vampire: move some samsync functions to libnet.
...
Guenther
(This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-17 10:49:13 +02:00
Günther Deschner
2d23da2cff
net_vampire: rename process_database to samsync_process_database.
...
Guenther
(This used to be commit cf382a87602a63368587ffa2c95b774f2f97c21b)
2008-06-13 23:39:09 +02:00
Günther Deschner
fb0a11d1ec
net_vampire: fix ldif_init_context().
...
Guenther
(This used to be commit 94d45b1bb97ac2b6025d429389993ac43044f5b8)
2008-06-13 23:39:09 +02:00
Günther Deschner
8049d3aa8e
net_vampire: split out rpc_vampire_ldif().
...
Guenther
(This used to be commit bcc6d3a0ebdcb904b5a2a4de63d9ed7415e9bb33)
2008-06-13 23:39:09 +02:00
Günther Deschner
fe43a56788
net_vampire: add samsync_init_context().
...
Guenther
(This used to be commit 63ca4414b62657983c27d2930483aa56f9c78ccf)
2008-06-13 23:39:09 +02:00
Günther Deschner
cb293f50fc
net_vampire: add samsync_debug_str().
...
Guenther
(This used to be commit bbfe5bcaf5ec5d06ffd110ab362ea3f228867603)
2008-06-13 23:39:08 +02:00
Günther Deschner
7a1fa41dca
net_vampire: restructure internal code more.
...
Guenther
(This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
2008-06-13 23:39:08 +02:00
Günther Deschner
339d868b17
net_vampire: start using talloc for the ldif vampire code.
...
Guenther
(This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
2008-06-13 23:39:08 +02:00
Günther Deschner
4cae70e548
net_vampire: join dump and process function into one callback.
...
Guenther
(This used to be commit e9b79f34d5afe10ee8d9b1e2dd19c8aafa533579)
2008-06-13 23:39:08 +02:00
Günther Deschner
93880610b4
net_vampire: let fetch_database and fetch_database_to_ldif use sid pointers.
...
Guenther
(This used to be commit 0707d32042b23d615b57b2f955775472b766770e)
2008-06-13 23:39:08 +02:00
Günther Deschner
26694e6fa0
net_vampire: let dump_database() return NTSTATUS.
...
Guenther
(This used to be commit b5a0e2d18f8d5c98326fefbda5972c02f898ed82)
2008-06-13 23:39:08 +02:00
Günther Deschner
6ce0c85172
net: Fix bug #5542 (samsync contains empty passwords).
...
Guenther
(cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc)
(This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
2008-06-13 12:23:57 +02:00
Günther Deschner
2816e86b06
net: remove some dead code.
...
Guenther
(This used to be commit cdd1ce797aefa07780a73d0793c450e2d96f17bb)
2008-06-11 10:46:26 +02:00
Kai Blin
16938883e6
net: Use true/false instead of True/False.
...
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-20 14:27:08 +02:00
Kai Blin
f576910944
net: Remove globals
...
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10 09:22:27 +02:00
Volker Lendecke
2a2188591b
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
(This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20 00:13:09 +02:00
Jeremy Allison
1c85537835
Fix gcc uninitialized variable used warning.
...
Jeremy.
(This used to be commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)
2008-04-17 08:02:46 -07:00
Günther Deschner
99d3590455
Fix NETLOGON credential chain with Windows 2008 all over the place.
...
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-04-02 11:12:47 +02:00
Günther Deschner
9e328fe942
Zero initial return_authenticator in net rpc samdump.
...
Guenther
(This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-29 00:49:09 +01:00
Günther Deschner
fae5873cad
Fix blob used in pull_netr_AcctLockStr().
...
Thanks metze.
Guenther
(This used to be commit 565a30ac3208d89de617b28f4553911484033253)
2008-03-28 09:59:01 +01:00
Günther Deschner
3d62b269c5
Re-add support for display and vampire of account policies in "net".
...
Guenther
(This used to be commit c61499ce02355f5969fa0475ed6e3c278995ecdb)
2008-03-27 21:55:42 +01:00
Günther Deschner
20d77db81f
Minor fix for net rpc samdump.
...
Guenther
(This used to be commit 2f5e25be276135e9cb4cc0c44ec573d466def66e)
2008-03-27 21:04:31 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-27 19:38:48 +01:00
Jeremy Allison
29d70de83c
Fix "used uninitialized" errors.
...
Jeremy.
(This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-22 16:19:59 -08:00
Günther Deschner
b7f483e6bd
Convert "net rpc vampire/samdump" to pidl generated functions.
...
Guenther
(This used to be commit f53393677d2c4b5ca117eed3ed660fafc4c650da)
2008-02-15 14:13:11 +01:00
Andreas Schneider
691c4b1a41
Windows 2008 (Longhorn) auth2 flag fixes.
...
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
(This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23 14:55:22 -08:00
Kai Blin
805caafd44
util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
...
(This used to be commit ab0ee6e9a6a9eee317228f0c2bde254ad9a59b85)
2008-01-19 02:20:16 +01:00
Volker Lendecke
e518e19bc0
Remove Get_Pwnam and its associated static variable
...
All callers are replaced by Get_Pwnam_alloc
(This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
2007-12-19 21:09:10 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15 22:47:30 +01:00
Volker Lendecke
7b01537679
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15 22:09:36 +01:00
Jeremy Allison
e883c7040b
Remove pstr_sprintf. Replace with snprintf.
...
Jeremy.
(This used to be commit bc9aa722231288c58554c2a48cd659c60bdcba63)
2007-12-04 14:31:57 -08:00
Jeremy Allison
bb9b754605
Back to pstring removal.
...
Jeremy.
(This used to be commit 95842ae4e113e304f652120b250a70a95c66e3bc)
2007-12-04 14:02:25 -08:00
Volker Lendecke
62b97b0156
Make base64_encode_data_blob return a talloced string
...
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
2007-11-09 15:12:30 +01:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
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-18 17:40:25 -07:00
Gerald Carter
5221ebb299
r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
...
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-10 12:31:03 -05:00
Gerald Carter
3529156971
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
...
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10 12:31:02 -05:00
Michael Adam
c97fe37ea3
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
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-10 12:30:58 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Jeremy Allison
56a5d05b8b
r22590: Make TALLOC_ARRAY consistent across all uses.
...
That should be it....
Jeremy.
(This used to be commit 603233a98bbf65467c8b4f04719d771c70b3b4c9)
2007-10-10 12:19:49 -05:00
Volker Lendecke
d5e4b3bea8
r20001: Fix bug 4273, thanks to Pascal Terjan
...
(This used to be commit a2f5c929183fb74ad21664c747d04e88a4103505)
2007-10-10 12:16:18 -05:00
Volker Lendecke
dd813b6b29
r19944: Fix from Don Watson -- thanks
...
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)
2007-10-10 12:16:12 -05:00
Jim McDonough
2395cd57f8
r19158: Remove root and nobody users from ldif, from Björn Jacke
...
(This used to be commit 17880d6cadbb0b1b428430c26bb4b4545eb834ff)
2007-10-10 12:15:18 -05:00
Günther Deschner
a3e1f7e44d
r18703: Fix the annoying effect that happens when nscd is running:
...
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-10 12:00:49 -05:00
Jelmer Vernooij
995205fc60
r18188: merge 3.0-libndr branch
...
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10 11:43:56 -05:00
Volker Lendecke
03e3cd1d5a
r17554: Cleanup
...
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10 11:38:38 -05:00
Volker Lendecke
76362d0d33
r17468: To minimize the diff later on, pre-commit some changes independently: Change
...
internal mapping.c functions to return NTSTATUS instead of BOOL.
Volker
(This used to be commit 4ebfc30a28a6f48613098176c5acdfdafbd2941a)
2007-10-10 11:38:36 -05:00