Volker Lendecke
c18dca113c
wbcAllocateGid returns a gid_t, not a uid_t
...
(This used to be commit 3130fb7b32
)
2008-04-06 11:28:46 +02:00
Volker Lendecke
c7ab11f52d
Re-run "make idl"
...
(This used to be commit 26218826c3
)
2008-04-06 00:48:27 +02:00
Jeremy Allison
1a64916775
When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
...
the space taken by the unicode password to be one byte too
long (as we're on an odd byte boundary here). Reduce the
count by 1 to cope with this. Fixes smbclient against NetApp
servers which can't cope. Fix from
bryan.kolodziej@allenlund.com in bug #3840 .
Jeremy.
(This used to be commit 1e7e7d86a1
)
2008-04-04 15:28:14 -07:00
Günther Deschner
8337291250
Fix _samr_GetUserPwInfo() (to return more then just zeros).
...
Guenther
(This used to be commit 624371ce32
)
2008-04-04 23:41:56 +02:00
Günther Deschner
8c9d6322de
Fix _samr_GetDomPwInfo (to return more then zeros).
...
Guenther
(This used to be commit 1cde9579f1
)
2008-04-04 23:41:56 +02:00
Jeremy Allison
40d16fa275
Fix bug #5372 . With a large CUPS installation with a remote server, contacting
...
the server when searching for a name for the location and comment fields can
take so much time the client times out. When searching for a name we don't
use these fields anyway, so add a function get_a_printer_search() which
doesn't contact the CUPS server.
Jeremy.
(This used to be commit 92d9f20852
)
2008-04-04 11:14:09 -07:00
Michael Adam
0000eeb9b8
net_rpc_registry: return available error code on failure in deletevalue.
...
Michael
(This used to be commit 0dc9840cef
)
2008-04-04 17:52:35 +02:00
Michael Adam
c7aa3dd3c0
net_rpc_registry: consistently return error upon wrong use.
...
Michael
(This used to be commit 26e3d71cd0
)
2008-04-04 17:50:41 +02:00
Michael Adam
ae790f9b89
net: change split_hive_key() to properly allocate subkeyname
...
instead of returning a pointer into another string.
Michael
(This used to be commit 68d08ecf92
)
2008-04-04 17:24:53 +02:00
Michael Adam
65088387c0
net_rpc_registry: use split_hive_key to normalize hive befor open.
...
THis allows to specify keys in the form "HKLM/Software/samba",
i.e. "/" instead of "\\".
Michael
(This used to be commit 61d09caef3
)
2008-04-04 17:05:00 +02:00
Michael Adam
0bd2ac7130
net_rpc_registry: use utility function print_registry_value().
...
Michael
(This used to be commit 3d039b518f
)
2008-04-04 17:05:00 +02:00
Michael Adam
2ce236cbaf
net_rpc_registy: use function print_registry_key
...
Michael
(This used to be commit cc1da3ee2c
)
2008-04-04 17:05:00 +02:00
Michael Adam
06466de5e9
net_registry: split utility function of common interest out into util module.
...
Michael
(This used to be commit 3bf890783f
)
2008-04-04 17:05:00 +02:00
Michael Adam
2478949821
mapping_tdb: fix enumeration of mappings.
...
db->traverse_read returns the number of traversed object on success.
Michael
(This used to be commit 2be2188a97
)
2008-04-04 17:05:00 +02:00
Michael Adam
eab99a9eee
Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...
...
Michael
(This used to be commit 7b16cb1023
)
2008-04-04 16:47:52 +02:00
Michael Adam
1b3f36b2b5
mapping.tdb: fix creation of entries with GROUP_PREFIX
...
Macro is no expanded inside literal string.
Michael
(This used to be commit 872a3d3d38
)
2008-04-04 16:47:51 +02:00
Günther Deschner
bea4541e11
Use sid_array_from_info3 in lookup_usergroups_cached().
...
Guenther
(This used to be commit 65b4cb20ea
)
2008-04-04 02:53:40 +02:00
Günther Deschner
69b23a39cd
Always uppercase cli->srv_name_slash.
...
Not that I think it is of any importance...
Guenther
(This used to be commit 352f8440c7
)
2008-04-04 01:44:43 +02:00
Günther Deschner
be9b46b2ce
Remove some dead code in rpcclient.
...
Guenther
(This used to be commit c7ae1a9b53
)
2008-04-04 01:44:16 +02:00
Günther Deschner
29f44dc144
Move rpccli_try_samr_connects out of rpcclient.
...
Guenther
(This used to be commit f550cdb6f2
)
2008-04-04 01:40:29 +02:00
Günther Deschner
e7553ab79c
Fix pam_winbind macros.
...
Guenther
(This used to be commit 3709185912
)
2008-04-03 17:23:22 +02:00
Günther Deschner
3020cd44ad
Use pwb_context in pam_winbind.
...
Guenther
(This used to be commit bf960f57e7
)
2008-04-03 16:27:18 +02:00
Günther Deschner
a654ed6089
Add _pam_winbind_init/free_context.
...
Guenther
(This used to be commit d62676cf88
)
2008-04-03 16:27:18 +02:00
Günther Deschner
b365cd3fc5
Add pwb_context to pam_winbind.h.
...
Guenther
(This used to be commit fe8acb0644
)
2008-04-03 16:27:18 +02:00
Günther Deschner
b592abf1ac
Make more functions in pam_winbind static.
...
Guenther
(This used to be commit ea2175ee0e
)
2008-04-03 16:27:18 +02:00
Stefan Metzmacher
4124c7b7a3
wbinfo: use wbcLookupNames()
...
metze
(This used to be commit 9d0e5a1321
)
2008-04-03 15:49:19 +02:00
Stefan Metzmacher
f963e50de7
wbinfo: use wbcLookupRids()
...
metze
(This used to be commit 046b26b763
)
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
421f9d2e6b
wbinfo: use wbcLookupSid()
...
metze
(This used to be commit b917be4986
)
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
e8ca249d3f
wbinfo: catch NULL domain string as in other places
...
metze
(This used to be commit ff4611832a
)
2008-04-03 15:49:18 +02:00
Michael Adam
2830626877
registry: remove parameter checks from smbconf backend: they are in libsmbconf.
...
Michael
(This used to be commit 118cf38133
)
2008-04-03 15:43:04 +02:00
Michael Adam
24c54ee4fb
libsmbconf: move initialization of registry value down after error checks.
...
Michael
(This used to be commit 2a8029985f
)
2008-04-03 15:43:04 +02:00
Günther Deschner
dc2274819e
Fix rpccli_lsa_lookup_sids_noalloc.
...
When looking up e.g. a trusted doamin account, there is just no name.
Michael, please check.
Guenther
(This used to be commit ea3cfadc25
)
2008-04-03 00:27:02 +02:00
Günther Deschner
b028fd3f8c
Add NT_STATUS_RPC_CANNOT_SUPPORT.
...
Guenther
(This used to be commit 9e15ce03ca
)
2008-04-03 00:26:55 +02:00
Simo Sorce
a123abdb91
Fix trusted users on a DC that uses the old idmap syntax. There was no default backend therefore on IDs were mapped by default.
...
(This used to be commit f6069126e5
)
2008-04-03 00:26:35 +02:00
Jeremy Allison
3ebb6be00d
Fix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
...
There is no reason to ensure the target host is ourselves, and
this breaks MS clients in some cases.
Jeremy.
(This used to be commit c19fdf43d1
)
2008-04-02 11:23:36 -07:00
Günther Deschner
832adaa5ab
Fix "net rpc trustdom establish" for win2k8 trusts.
...
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.
Rafael, looks ok?
Guenther
(This used to be commit b12edbeffe
)
2008-04-02 12:29:24 +02:00
Günther Deschner
da7863c4c9
Apply some const in clirap.
...
Guenther
(This used to be commit 8a1a9f967d
)
2008-04-02 12:23:07 +02:00
Günther Deschner
68bfa9682b
Some fixes for netdomjoin-gui and support for browsing/joining OUs.
...
Guenther
(This used to be commit 4714bae0db
)
2008-04-02 11:18:10 +02:00
Günther Deschner
6c1c07bde3
Make sure to hand down the domain name in libnetapi NetUnjoinDomain.
...
Guenther
(This used to be commit 0058ab30de
)
2008-04-02 11:14:15 +02: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 0970369ca0
)
2008-04-02 11:12:47 +02:00
Stefan Metzmacher
5b07337cc5
smbd: always close the base_fsp even if the real close returned an error
...
Otherwise we may end up with share mode entry without an open file.
Volker, Jeremy: please check...
metze
(This used to be commit 547eacf605
)
2008-04-01 18:47:42 +02:00
Stefan Metzmacher
175622fa58
wbinfo: use wbcInterfaceDetails()
...
metze
(This used to be commit ff87260f12
)
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
949a3823f2
libwbclient: add wbcInterfaceDetails()
...
metze
(This used to be commit fee3806326
)
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
b6737afbc7
libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
...
metze
(This used to be commit de2e8d5db9
)
2008-04-01 18:30:10 +02:00
Michael Adam
8d7257453c
test: add diagnostic message to net_registry test.
...
Michael
(This used to be commit c04a234f8f
)
2008-04-01 16:16:55 +02:00
Michael Adam
048dcbb75f
test: fix net_registry test "set value to different type" to track error count
...
missing backslash in call... :-}
Michael
(This used to be commit 8f0c25f01f
)
2008-04-01 16:16:55 +02:00
Michael Adam
fd64e6de8c
test: some cosmetics to net_registry tests.
...
Michael
(This used to be commit dba9db5ae6
)
2008-04-01 16:16:55 +02:00
Michael Adam
4a99bce736
test: fix net_registry tests to correctly capture output of commands inside one test
...
so that failure output is not clobbered by output of previous
successful commands.
Michael
(This used to be commit cb3dafe5fd
)
2008-04-01 16:16:55 +02:00
Michael Adam
a63c396679
test: fix use of printf in net_registry tests.
...
actually 'printf "%s\n"' is the proper replacement of 'echo -e'
Michael
(This used to be commit 388a40931f
)
2008-04-01 16:16:55 +02:00
Michael Adam
dffcb461fb
po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n'
...
Michael
(This used to be commit 0bd50e450b
)
2008-04-01 16:16:55 +02:00