1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

26739 Commits

Author SHA1 Message Date
Karolin Seeger
dec89a9322 Fix usage message for 'net idmap dump'.
Karolin
(This used to be commit c967b62dd3)
2008-03-25 12:00:42 +01:00
Günther Deschner
055224640b Fix _winreg_QueryValue().
Guenther
(This used to be commit b217dd674e)
2008-03-25 10:56:56 +01:00
Günther Deschner
b07040835c Re-run make idl.
Guenther
(This used to be commit 1570e1c597)
2008-03-25 10:54:27 +01:00
Günther Deschner
c0e6d9091c Fix IDL for winreg_QueryValue.
Guenther
(This used to be commit 0dac766109)
2008-03-25 10:54:27 +01:00
Gerald (Jerry) Carter
22d7cd6605 Ignore port when pulling IP addr from struct sockaddr_storage.
Linux man page states that getaddinfo() will leave the port
uninitialized when passing in NULL for the service name.  So we
can't really trust that anymore.  I doubt non-default KDC ports
are an issues so just drop the port from the generated krb5.conf.
AIX exhibits this bug the most.
(This used to be commit 36f8bafbd3)
2008-03-24 17:25:13 -05:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3)
2008-03-24 17:25:13 -05:00
Eric Cronin
2c5c3a0ba9 Missing HAVE_UPDWTMPX check before using updwtmpx().
In 10.5 Mac OS X added enough utmpx support to make it past the
first two preprocessor checks around line 390 of src/smbd/utmp.c
and on to the utmpx block which uses updwtmpx().  Unfortunately,
as ./configure correctly surmised, 10.5 doesn't have that.

https://bugzilla.samba.org/show_bug.cgi?id=5184
(This used to be commit f19d1e3d93)
2008-03-24 12:33:04 -07:00
Volker Lendecke
e9ba13bc67 Fix Coverity ID 514
Not exactly an uninitialized variable, but having Coverity figure out that
we're only UNMARSHALLING here is probably asking for a bit too much.
(This used to be commit 07a9f7daa8)
2008-03-23 19:44:55 +01:00
Volker Lendecke
dc014a0b10 Fix Coverity ID 504
(This used to be commit 4e6f8a19a6)
2008-03-23 19:44:55 +01:00
Volker Lendecke
bf5bccd67e Fix Coverity ID 503
(This used to be commit 5c43c38271)
2008-03-23 19:44:55 +01:00
Volker Lendecke
1b26a7ea6d Fix Coverity ID 488
"status" was used uninitialized on success -- metze, please check
(This used to be commit a0859529c8)
2008-03-23 19:44:55 +01:00
Volker Lendecke
561fb9daa4 Fix Coverity ID 487
(This used to be commit 22cee9c1af)
2008-03-23 19:44:55 +01:00
Volker Lendecke
fac2d8546b Fix Coverity ID 471
(This used to be commit d3b6df67fe)
2008-03-23 18:28:24 +01:00
Volker Lendecke
3d28e7533f Fix Coverity ID 472
Simo, S4 also has this code. You might want to cherry-pick.

Volker
(This used to be commit 94c29f5593)
2008-03-23 18:28:24 +01:00
Volker Lendecke
2e2f1d57b1 Fix Coverity ID 477
(This used to be commit f17b1b0fc6)
2008-03-23 18:28:24 +01:00
Volker Lendecke
988cffe9ca Fix Coverity ID 478
(This used to be commit 5f77938dc4)
2008-03-23 18:28:23 +01:00
Volker Lendecke
3b9680264a Fix Coverity ID 479
(This used to be commit 70b33397ba)
2008-03-23 18:28:23 +01:00
Volker Lendecke
7af3ebdac0 Fix Coverity ID 480
(This used to be commit 45677e8694)
2008-03-23 18:28:23 +01:00
Volker Lendecke
20caa9bbe6 Fix Coverity ID 450
(This used to be commit 700cceb694)
2008-03-23 18:28:23 +01:00
Volker Lendecke
9c45d49140 Fix Coverity ID 453
(This used to be commit 8f875674e7)
2008-03-23 18:28:23 +01:00
Volker Lendecke
43554ded6d Fix Coverity ID 462
(This used to be commit 9cf1e16a9c)
2008-03-23 18:28:23 +01:00
Volker Lendecke
bc7a0a9198 Fix Coverity ID 432
(This used to be commit 7070c77ee2)
2008-03-23 16:22:00 +01:00
Volker Lendecke
fd9efee21d Fix Coverity ID 436
(This used to be commit 9e0ee1ad4f)
2008-03-23 16:21:59 +01:00
Volker Lendecke
527b561824 Fix Coverity warnings
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437
(This used to be commit 0d50b4ee90)
2008-03-23 16:16:13 +01:00
Karolin Seeger
fe063b7bf5 VERSION: Update pre release number.
Karolin
(This used to be commit 4e609ffb2f)
2008-03-23 07:28:13 +01:00
Michael Adam
7290b6a8fc libgpo: open the registry in gp_init_reg_ctx().
I forgot the regdb_open() call: registry_init_basic() closes
the registry in the end... sorry.

Michael
(This used to be commit 4185ed03a3)
2008-03-22 02:45:04 +01:00
Michael Adam
5ea7faef3d libgpo: replace hand-crafted registry initialization by registry_init_basic.
IMO there is no need to imitate a custom registry backend.
Only default regdb hooks are used here, so a plain initialization
of regdb should suffice.

This way, only reg_api is used in libgpo, and no registry
backend code is visible.

Michael
(This used to be commit 10ae8accb4)
2008-03-22 02:29:40 +01:00
Michael Adam
39067a5dbd libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc().
That is, use the reg_api function instead of the backend function.
For this, code had to be changed, to take a "struct registry_key"
instead of a char *.

Michael
(This used to be commit 4717e6d0cf)
2008-03-22 02:29:34 +01:00
Michael Adam
178c430821 registry: add reg_init_basic() - init registry with only the db backend.
Michael
(This used to be commit 1831042bdc)
2008-03-22 02:05:53 +01:00
Michael Adam
4825cef8bc registry: close registry in exit path in registry_init_smbconf().
Michael
(This used to be commit 5aa3141bff)
2008-03-22 01:54:18 +01:00
Michael Adam
b8a949b566 registry: some whitespace cleanup in init_registry().
Michael
(This used to be commit f33095e44b)
2008-03-22 01:53:44 +01:00
Michael Adam
88d46f4ea4 registry: remove unneeded talloc stackframe variable.
Michael
(This used to be commit 81993db828)
2008-03-22 01:52:03 +01:00
Michael Adam
e12ed5279a registry: close regdb in error path (and use it) in init_registry().
Michael
(This used to be commit 73b325fe7a)
2008-03-22 01:49:21 +01:00
Michael Adam
9ec7af58c6 registry: fix registry_init_smbconf() to close the registry at the end.
Michael
(This used to be commit f4d87fdbf2)
2008-03-21 23:50:49 +01:00
Michael Adam
a81ed36e86 libsmbconf: add internal open/close handling to registry backend.
This internally keeps track of opened registry in the private data
struct. The first call that really accesses data, opens the registry
and it is kept open until the destructor is called.

This behaviour might be changed in the future.

Michael
(This used to be commit 03e72e1307)
2008-03-21 23:43:52 +01:00
Michael Adam
aa3e4d56cb libsmbconf: add a comment.
Michael
(This used to be commit 513ae78ef7)
2008-03-21 22:55:20 +01:00
Michael Adam
be97af0edb libsmbconf: add private_data section to smbconf_ctx.
This private data should be used by backends.
The token for the registry backend is moved from
the context to the private data section, since
this is registry specific.

Michael
(This used to be commit a02163356b)
2008-03-21 22:52:27 +01:00
Michael Adam
6f7cfeddd6 libsmbconf: add a "path" variable to the conf context.
This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.

In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.

Michael
(This used to be commit 96434d9dc7)
2008-03-21 18:19:24 +01:00
Michael Adam
40ea88db5e libsmbconf: add structuring comments to the prototypes in the public header.
Michael
(This used to be commit 4f816df276)
2008-03-21 16:45:25 +01:00
Michael Adam
e62cae6638 libsmbconf: adapt a comment to new circumstances
Michael
(This used to be commit 83b9453c88)
2008-03-21 16:42:42 +01:00
Michael Adam
5e1eca34f3 libsmbconf: group together functions in smbconf.c more appropriately
Michael
(This used to be commit e8ed8ad077)
2008-03-21 16:40:20 +01:00
Michael Adam
44dc10d808 libsmbconf: add a comment.
Michael
(This used to be commit 8974b28368)
2008-03-21 16:35:52 +01:00
Michael Adam
890d1d8f78 libsmbconf: move registry implementation to a module of its own.
Michael
(This used to be commit 431b10bfe0)
2008-03-21 16:26:50 +01:00
Volker Lendecke
4b3351e5dc On Solaris, size_t seems to be only 32 bit.
Fix bug 5341, thanks a lot to Karoly Vegh for testing it!

Volker
(This used to be commit 19eb8c9316)
2008-03-21 13:41:42 +01:00
Volker Lendecke
4f4f1dfbb6 Fix Coverity ID 473
Simo, S4 also has this bug, you might want to merge the fix.
(This used to be commit b82cf75c82)
2008-03-21 11:52:34 +01:00
Volker Lendecke
1e696c2845 Fix Coverity ID 506
(This used to be commit c9add4d59a)
2008-03-21 11:48:09 +01:00
Volker Lendecke
7168f310a6 Fix Coverity ID 507
(This used to be commit 4ea5798b97)
2008-03-21 11:45:57 +01:00
Volker Lendecke
e14f26f22b Fix Coverity ID 537
(This used to be commit b19ea3635c)
2008-03-21 11:42:42 +01:00
Volker Lendecke
7ca6192c1a Fix Coverity ID 538
(This used to be commit d69b8b19ae)
2008-03-21 11:41:15 +01:00
Volker Lendecke
c69c5c132a Fix Coverity ID 547
Günther, please check. If r->in.ads==NULL, we can't call ads_leave_realm at
all.

Thanks,

Volker
(This used to be commit 120d8c889f)
2008-03-21 10:40:40 +01:00