Kai Blin
a8b567aac3
net: Use true/false instead of True/False.
2008-05-20 14:27:08 +02:00
Kai Blin
1e9319cf88
net: Remove globals
2008-05-10 09:22:27 +02:00
Volker Lendecke
783afab9c8
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
2008-04-20 00:13:09 +02:00
Jeremy Allison
b95f2adeb5
Fix gcc uninitialized variable used warning.
...
Jeremy.
2008-04-17 08:02:46 -07:00
Günther Deschner
0970369ca0
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
2008-04-02 11:12:47 +02:00
Günther Deschner
73ead752c5
Zero initial return_authenticator in net rpc samdump.
...
Guenther
2008-03-29 00:49:09 +01:00
Günther Deschner
565a30ac32
Fix blob used in pull_netr_AcctLockStr().
...
Thanks metze.
Guenther
2008-03-28 09:59:01 +01:00
Günther Deschner
c61499ce02
Re-add support for display and vampire of account policies in "net".
...
Guenther
2008-03-27 21:55:42 +01:00
Günther Deschner
2f5e25be27
Minor fix for net rpc samdump.
...
Guenther
2008-03-27 21:04:31 +01:00
Günther Deschner
d078a87571
Add my copyright.
...
Guenther
2008-02-27 19:38:48 +01:00
Jeremy Allison
06d15d8a9f
Fix "used uninitialized" errors.
...
Jeremy.
2008-02-22 16:19:59 -08:00
Günther Deschner
f53393677d
Convert "net rpc vampire/samdump" to pidl generated functions.
...
Guenther
2008-02-15 14:13:11 +01:00
Andreas Schneider
5aadfcdaac
Windows 2008 (Longhorn) auth2 flag fixes.
...
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
2008-01-23 14:55:22 -08:00
Kai Blin
ab0ee6e9a6
util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
2008-01-19 02:20:16 +01:00
Volker Lendecke
735f593154
Remove Get_Pwnam and its associated static variable
...
All callers are replaced by Get_Pwnam_alloc
2007-12-19 21:09:10 +01:00
Volker Lendecke
eb523ba776
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
2007-12-15 22:47:30 +01:00
Volker Lendecke
60e830b0f4
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
2007-12-15 22:09:36 +01:00
Jeremy Allison
bc9aa72223
Remove pstr_sprintf. Replace with snprintf.
...
Jeremy.
2007-12-04 14:31:57 -08:00
Jeremy Allison
95842ae4e1
Back to pstring removal.
...
Jeremy.
2007-12-04 14:02:25 -08:00
Volker Lendecke
5f205ab48d
Make base64_encode_data_blob return a talloced string
2007-11-09 15:12:30 +01:00
Jeremy Allison
f35a266b3c
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.
2007-10-18 17:40:25 -07:00
Gerald Carter
00a93ed336
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).
2007-10-10 12:31:03 -05:00
Gerald Carter
8304ccba73
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
...
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
2007-10-10 12:31:02 -05:00
Michael Adam
9a28be220d
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
2007-10-10 12:30:58 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
603233a98b
r22590: Make TALLOC_ARRAY consistent across all uses.
...
That should be it....
Jeremy.
2007-10-10 12:19:49 -05:00
Volker Lendecke
a2f5c92918
r20001: Fix bug 4273, thanks to Pascal Terjan
2007-10-10 12:16:18 -05:00
Volker Lendecke
c27e48594a
r19944: Fix from Don Watson -- thanks
2007-10-10 12:16:12 -05:00
Jim McDonough
17880d6cad
r19158: Remove root and nobody users from ldif, from Björn Jacke
2007-10-10 12:15:18 -05:00
Günther Deschner
7db6ce295a
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
2007-10-10 12:00:49 -05:00
Jelmer Vernooij
1115745cae
r18188: merge 3.0-libndr branch
2007-10-10 11:43:56 -05:00
Volker Lendecke
761cbd52f0
r17554: Cleanup
2007-10-10 11:38:38 -05:00
Volker Lendecke
4ebfc30a28
r17468: To minimize the diff later on, pre-commit some changes independently: Change
...
internal mapping.c functions to return NTSTATUS instead of BOOL.
Volker
2007-10-10 11:38:36 -05:00
Volker Lendecke
f9856f6490
r17463: A bit of cleanup work:
...
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
2007-10-10 11:38:36 -05:00
Volker Lendecke
873a5a1211
r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
...
argument.
Volker
2007-10-10 11:38:34 -05:00
Volker Lendecke
795d06f427
r17375: If a field containts only whitespace, we need to do base64 as well.
...
Volker
2007-10-10 11:38:29 -05:00
Volker Lendecke
61e7ed593b
r17374: Get rid of a silly "System User" default for "description", also fetch the
...
sambaProfilePath.
Volker
2007-10-10 11:38:29 -05:00
Volker Lendecke
49ad0d4d0e
r17356: Also transfer the sambaHomePath attribute.
...
Volker
2007-10-10 11:38:28 -05:00
Volker Lendecke
e947f4bd91
r17335: Some more fixes to net rpc vampire ldif. Still not good though :-(
...
Volker
2007-10-10 11:38:26 -05:00
Volker Lendecke
94cdd5d64c
r17313: Non-Ascii attribute values need to be encoded as base64, with an attribute
...
name attr:: instead of attr:
German domains tend to have umlauts in group names.
More to come tomorrow.
Volker
2007-10-10 11:38:24 -05:00
Volker Lendecke
d00e73c49b
r17312: Do some reformatting on net rpc samsync ldif. Not doing this checkin easily,
...
as this puts me into svn blame in places I'm not sure I want my name to show
up....
Volker
2007-10-10 11:38:24 -05:00
Jeremy Allison
9dafb7f48c
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
...
to do the upper layer directories but this is what
everyone is waiting for....
Jeremy.
2007-10-10 11:19:14 -05:00
Jeremy Allison
9017547ccc
r16429: Fix final 4 Klocwork bugs we're going to fix before
...
release - #785 , #786 , #787 , #788 .
Jeremy.
2007-10-10 11:18:53 -05:00
Volker Lendecke
3df0bf7d60
r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607
...
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
2007-10-10 11:18:48 -05:00
Volker Lendecke
696e210bf6
r15608: Fix a couple of Coverity errors
2007-10-10 11:17:03 -05:00
Volker Lendecke
0ece5b32f9
r15566: Fix Coverity bug # 284. The lp_ldap_xx_suffix function only return NULL if
...
talloc fails.
Volker
2007-10-10 11:17:01 -05:00
Jeremy Allison
9117713c5e
r14743: Fix coverity bug #227 . Possible deref of null pointer
...
in error code path.
Jeremy.
2007-10-10 11:15:45 -05:00
Jim McDonough
b4ec93f5a2
r14683: Get rid of hardcoded output file. With no arg, print to stdout,
...
otherwise append to output file specified.
2007-10-10 11:15:43 -05:00
Jim McDonough
0d4bd93a5c
r14681: Get rid of hardcoded /tmp/add.ldif and /tmp/mod.ldif files. Is there a
...
different directory the temp files should be in, or is /tmp ok?
Still have to get rid of the output file hardcoding, but that is to
come, because I need to cleanup stdout.
2007-10-10 11:15:43 -05:00