Jeremy Allison
78387b3cd2
r20917: Fix missing error returns pointed out by "Li, Ying (ESG)" <ying.li2@hp.com>
...
Jeremy.
2007-10-10 12:17:20 -05:00
Gerald Carter
ff8f27108d
r20903: Replace the hardcoded "smb.conf" string with the dyn_CONFIGFILE
2007-10-10 12:17:18 -05:00
Günther Deschner
6a13e878b5
r20874: We need to distinguish client sitenames per realm. We were overwriting
...
the stored client sitename with the sitename from each sucessfull CLDAP
connection.
Guenther
2007-10-10 12:17:16 -05:00
Jeremy Allison
97e248f89a
r20857: Silence gives assent :-). Checking in the fix for
...
site support in a network where many DC's are down.
I heard via Volker there is still a bug w.r.t the
wrong site being chosen with trusted domains but
we'll have to layer that fix on top of this.
Gd - complain if this doesn't work for you.
Jeremy.
2007-10-10 12:17:14 -05:00
Jelmer Vernooij
580f2a7197
r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
...
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).
This brings us closer to the DCE/RPC standard again.
2007-10-10 12:17:11 -05:00
Volker Lendecke
3c879745cf
r20824: Send access to the trusted domain passwords through the pdb backend, so that
...
in the next step we can store them in LDAP to be replicated across DCs.
Thanks to Michael Adam <ma@sernet.de>
Volker
2007-10-10 12:17:10 -05:00
Jeremy Allison
89b7a0630d
r20744: Fix the build (I missed some chkpth -> checkpath renames).
...
Jeremy.
2007-10-10 12:17:08 -05:00
Volker Lendecke
b6347751d8
r20654: Fix from Karolin Seeger <ks@sernet.de>: Accept "forever", "off" and "never" as
...
key words for -1 as policy values for net sam policy.
Volker
2007-10-10 12:17:01 -05:00
Volker Lendecke
382827ebac
r20498: Two 64-bit warnings
2007-10-10 12:16:53 -05:00
James Peach
2117904f18
r20428: Rename dns_open. This conflicts with the dns_open symbol in
...
libSystem on Mac OS X.
2007-10-10 12:16:48 -05:00
Herb Lewis
c60687db11
r20261: merge 20260 from samba_3_0_24
...
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
Gerald Carter
3486acd3c3
r20173: DNS update fixes:
...
* Fix DNS updates for multi-homed hosts
* Child domains often don't have an NS record in
DNS so we have to fall back to looking up the the NS
records for the forest root.
* Fix compile warning caused by mismatched 'struct in_addr'
and 'in_addr_t' parameters called to DoDNSUpdate()
2007-10-10 12:16:29 -05:00
Gerald Carter
a3b6734fda
r20170: Fix secure DNS updates to work against
...
Wnidows 2000 DNS which expects the TKEY payload to
be in the answer section and not in the additional
set of records (like Windows 2003 and the RFC).
2007-10-10 12:16:29 -05:00
Herb Lewis
e710a7d39a
r20131: get rid of a few no previous prototype warnings
2007-10-10 12:16:26 -05:00
Jim McDonough
cc26e2f9a1
r20119: Update help info indicating how to use separators (forward slash only)
...
and properly use backslashes in "net ads join computername="
2007-10-10 12:16:26 -05:00
Simo Sorce
50cd8bffee
r20116: Start merging in the work done to create the new idmap subsystem.
...
Simo.
2007-10-10 12:16:25 -05:00
Volker Lendecke
de05358351
r20003: Fix error message
2007-10-10 12:16:19 -05:00
Volker Lendecke
a2f5c92918
r20001: Fix bug 4273, thanks to Pascal Terjan
2007-10-10 12:16:18 -05:00
Volker Lendecke
fea52801de
r19991: Sorry for this 2000-liner...
...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.
On that way it fixes creating keys with more than one element in the
path. This did not work before.
Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.
Volker
2007-10-10 12:16:18 -05:00
Volker Lendecke
fde042f29e
r19978: More "net sam policy" improvements. Thanks to Karolin Seeger <ks@sernet.de>
...
Volker
2007-10-10 12:16:17 -05:00
Volker Lendecke
c27e48594a
r19944: Fix from Don Watson -- thanks
2007-10-10 12:16:12 -05:00
Volker Lendecke
b148cde7f3
r19914: The "default" value with the name "" need different 0-length treatment as the
...
other StringBufs, otherwise clicking on a key with this value being set leads
to regedit.exe on w2k3 chew all memory.
2007-10-10 12:16:09 -05:00
Volker Lendecke
66c20f2592
r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)
2007-10-10 12:16:04 -05:00
Volker Lendecke
c4b5e8c7a0
r19840: Fix an uninitialized variable
2007-10-10 12:16:01 -05:00
Volker Lendecke
2091018a53
r19835: Some net sam policy improvements.
...
Thanks to Karolin Seeger <ks@sernet.de>
Volker
2007-10-10 12:16:01 -05:00
Volker Lendecke
3047a4b92c
r19827: Move registry_push/pull_value to lib/util_reg.c
2007-10-10 12:16:00 -05:00
Volker Lendecke
b2866b1318
r19825: To create a key, smbd also needs read privs assigned
2007-10-10 12:16:00 -05:00
Volker Lendecke
419ebc92f0
r19822: Implement net rpc registry createkey, deletekey and deletevalue
2007-10-10 12:15:59 -05:00
Volker Lendecke
30f02e73fd
r19821: Make net_rpc_registry use net_run_function2.
...
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>.
Thanks :-)
Volker
2007-10-10 12:15:59 -05:00
Volker Lendecke
7fd1578a90
r19818: Remove reg_split_hive, make use of registry_openkey
2007-10-10 12:15:58 -05:00
Volker Lendecke
9ecb69c075
r19817: Implement net rpc registry setvalue (only dword and sz so far)
2007-10-10 12:15:58 -05:00
Volker Lendecke
f24e64160d
r19812: dump_regval_buf is not needed anymore
2007-10-10 12:15:57 -05:00
Volker Lendecke
6793301751
r19811: Decode REG_MULTI_SZ and REG_BINARY
2007-10-10 12:15:57 -05:00
Volker Lendecke
40922eb924
r19807: First attempt at wrapping something sane around the registry API. Will be
...
extended.
Volker
2007-10-10 12:15:57 -05:00
Volker Lendecke
cb9e16c838
r19804: Fix a valgrind error
2007-10-10 12:15:57 -05:00
Volker Lendecke
bc4e0a388a
r19797: Convert the remaining pipes to the "new" unique out ptr handling
2007-10-10 12:15:56 -05:00
Volker Lendecke
95c14a822c
r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
...
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)
Nevertheless, Jelmer & Jerry, please take a look!
Thanks,
Volker
2007-10-10 12:15:55 -05:00
Volker Lendecke
55dc4741cf
r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
...
Volker
2007-10-10 12:15:54 -05:00
Gerald Carter
c787983336
r19762: libaddns/*[ch] code fixes donated by Centeris Corporation
...
(http://www.centeris.com/ ) under my copyright.
* Rework error reporting to use DNS_ERROR instead
of int32
* Convert memory allocation to use talloc()
* Generalize the DNS request/response packet marshalling
* Fix the secure update requests
2007-10-10 12:15:53 -05:00
Gerald Carter
3eddae2f20
r19754: * When using a krb5 session setup, we don't fill in the server_name
...
string the clis_state struct. So call saf_store() after we
have the short domain name in the lsa_query_inof_policy code.
* Remove unused server string in saf_delete()
2007-10-10 12:15:53 -05:00
Volker Lendecke
53eaa603eb
r19669: set_share_security does not need a mem_ctx passed
2007-10-10 12:15:46 -05:00
Günther Deschner
ff004f7284
r19651: Fix interesting bug with the automatic site coverage in Active Directory:
...
When having DC-less sites, AD assigns DCs from other sites to that site
that does not have it's own DC. The most reliable way for us to identify
the nearest DC - in that and all other cases - is the closest_dc flag in
the CLDAP reply.
Guenther
2007-10-10 12:15:44 -05:00
Günther Deschner
4bad52c5b3
r19528: Fix container handling for "net ads user" and "net ads group" functions
...
along with some memleaks.
Guenther
2007-10-10 12:15:41 -05:00
Günther Deschner
08db3d3b04
r19527: Fix double free in "net ads group add".
...
Guenther
2007-10-10 12:15:41 -05:00
Günther Deschner
94ed3e9de8
r19525: Fix the same error in "net ads group delete".
...
Guenther
2007-10-10 12:15:40 -05:00
Günther Deschner
a20e7c0315
r19524: Stop "net ads user delete" from doing funny things.
...
Guenther
2007-10-10 12:15:40 -05:00
Günther Deschner
e691ae7da3
r19493: There is no point in prompting for a user's password in "net ads" when
...
we can't find a domain controller at all.
Guenther
2007-10-10 12:15:39 -05:00
Volker Lendecke
d0025861c0
r19450: Fix smbtree's use of netshareenum.
...
Jelmer, how much of r18802 did you actually test??
Volker
2007-10-10 12:15:36 -05:00
Volker Lendecke
141e0dd717
r19447: Do not throw away information
2007-10-10 12:15:36 -05:00
Volker Lendecke
f4dcb9bd56
r19446: Comment can be NULL now
2007-10-10 12:15:36 -05:00