summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-25Fix a segfaultVolker Lendecke1-1/+1
When we get a NT_STATUS_WRONG_PASSWORD for example, my_info3 is not initialized at all. So first check that we have NT_STATUS_IS_OK(status) before we dereference my_info3. (This used to be commit 559cd9e5a7fac3ce3769d457132cdcb28569b93d)
2008-03-25Fix typoVolker Lendecke1-1/+1
(This used to be commit 38683a73013865695e1b04f5f6a974bd0c5c1cac)
2008-03-25Re-run make idl (after pidl change for adding header info to cli_ functions).Günther Deschner28-2964/+2964
Guenther (This used to be commit 492c26a9367d93802d3b6a9271dde16c49fffe69)
2008-03-25util_tdb: add my (C) for the tdb validation codeMichael Adam1-0/+1
Michael (This used to be commit abf02a5a142c55d9e0053d319c867e4fcc3e6c30)
2008-03-25util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam6-8/+13
Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
2008-03-25util_tdb: add the tdb_pack_append() prototype to util_tdb.hMichael Adam1-0/+2
This function is currently not used but seems useful. Michael (This used to be commit 48149a954c1e737c9863cfa0991ab9bfc246c6da)
2008-03-25util_tdb: make the _byblob functions static - not currently used elsewhere.Michael Adam1-5/+5
Michael (This used to be commit b42cf3fc69414270be9d0f430f2e95a72894f00e)
2008-03-25util_tdb: group prototypes in util_tdb.h thematicallyMichael Adam1-13/+20
Michael (This used to be commit 4b9231d33eaea2ada5d67cc1d959df2b671e7bb9)
2008-03-25build: don't autogenerate prototypes for util_tdb and dbwrap anymore.Michael Adam3-2/+41
Stick to hand-written headers (that are there anyways). Add some missing prototypes to util_tdb.h and dbwrap.h. I did not bother to add a header for each single dbwrap backend open function but put the prototypes for the open functions into the central dbwrap.h. Michael (This used to be commit edf4dbed27a3c63c04e8110e75cdb76e31627eb6)
2008-03-25Fix usage message for 'net idmap dump'.Karolin Seeger1-1/+1
Karolin (This used to be commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
2008-03-25Fix _winreg_QueryValue().Günther Deschner1-7/+7
Guenther (This used to be commit b217dd674e22b6a7cc492f1a84a37ddc4ddca663)
2008-03-25Re-run make idl.Günther Deschner4-6/+19
Guenther (This used to be commit 1570e1c597b43d83318860590b58e32143275f82)
2008-03-25Fix IDL for winreg_QueryValue.Günther Deschner1-1/+1
Guenther (This used to be commit 0dac766109a0f76fd27832f5344460f1afdb2046)
2008-03-24Ignore port when pulling IP addr from struct sockaddr_storage.Gerald (Jerry) Carter1-34/+10
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 36f8bafbd3dee66a869aa26cfc2eb4aa62019325)
2008-03-24Fix libtdb some to move back towards allowing out of tree buildsGerald (Jerry) Carter3-3/+3
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 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
2008-03-24Missing HAVE_UPDWTMPX check before using updwtmpx().Eric Cronin1-0/+4
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 f19d1e3d93d0d9dfe80372c6c5635f1047f9aa88)
2008-03-23Fix Coverity ID 514Volker Lendecke1-0/+2
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 07a9f7daa83c94afefe0d81db4812135121862c2)
2008-03-23Fix Coverity ID 504Volker Lendecke1-1/+1
(This used to be commit 4e6f8a19a6861c332ee6e9b49551e12440eefdc2)
2008-03-23Fix Coverity ID 503Volker Lendecke1-1/+1
(This used to be commit 5c43c38271bae7d96d0cfbdaba7bff838a684b40)
2008-03-23Fix Coverity ID 488Volker Lendecke1-0/+2
"status" was used uninitialized on success -- metze, please check (This used to be commit a0859529c853ffb756b1deee946923b6fff6136e)
2008-03-23Fix Coverity ID 487Volker Lendecke1-0/+1
(This used to be commit 22cee9c1afbc33b4920b72bc81569d79642172af)
2008-03-23Fix Coverity ID 471Volker Lendecke1-1/+1
(This used to be commit d3b6df67fea0da5ffa962837400ebe07b34a5384)
2008-03-23Fix Coverity ID 472Volker Lendecke1-6/+4
Simo, S4 also has this code. You might want to cherry-pick. Volker (This used to be commit 94c29f55937e50dcf49124d28ad4e82c7fb4133e)
2008-03-23Fix Coverity ID 477Volker Lendecke1-2/+1
(This used to be commit f17b1b0fc6340d21f1a2f43aa7eb2e87f851c51f)
2008-03-23Fix Coverity ID 478Volker Lendecke1-2/+1
(This used to be commit 5f77938dc4a280b654b8d08656f19a7d04cea8c7)
2008-03-23Fix Coverity ID 479Volker Lendecke1-1/+1
(This used to be commit 70b33397ba6e18f40087fb642a1be62ee68d5f3a)
2008-03-23Fix Coverity ID 480Volker Lendecke1-1/+1
(This used to be commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
2008-03-23Fix Coverity ID 450Volker Lendecke1-1/+5
(This used to be commit 700cceb6940c95997cfef374cffd50729a35528a)
2008-03-23Fix Coverity ID 453Volker Lendecke1-2/+2
(This used to be commit 8f875674e7cf9ebd405561b1e3ab72b0284ce321)
2008-03-23Fix Coverity ID 462Volker Lendecke1-2/+4
(This used to be commit 9cf1e16a9c3cade9cd905f719de07578b3a91b1e)
2008-03-23Fix Coverity ID 432Volker Lendecke1-2/+0
(This used to be commit 7070c77ee2a9c3c9ff1b3c7b93008b13b80ac02b)
2008-03-23Fix Coverity ID 436Volker Lendecke1-0/+5
(This used to be commit 9e0ee1ad4fe0f0e7dec0b6824ef234147d845b8d)
2008-03-23Fix Coverity warningsVolker Lendecke2-2/+10
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437 (This used to be commit 0d50b4ee9068d04d1d9eb7786e08775d7ba16bc8)
2008-03-23VERSION: Update pre release number.Karolin Seeger1-1/+1
Karolin (This used to be commit 4e609ffb2f9983362f817c1346e0a4116d2dd74a)
2008-03-22libgpo: open the registry in gp_init_reg_ctx().Michael Adam1-0/+5
I forgot the regdb_open() call: registry_init_basic() closes the registry in the end... sorry. Michael (This used to be commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d)
2008-03-22libgpo: replace hand-crafted registry initialization by registry_init_basic.Michael Adam2-60/+3
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 10ae8accb486956ebb1638cee540868a11623b11)
2008-03-22libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc().Michael Adam1-4/+4
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 4717e6d0cf9df53a55e5d55ede5480181b33920d)
2008-03-22registry: add reg_init_basic() - init registry with only the db backend.Michael Adam1-0/+45
Michael (This used to be commit 1831042bdcbfe569ae39177058dfe1d914416513)
2008-03-22registry: close registry in exit path in registry_init_smbconf().Michael Adam1-2/+1
Michael (This used to be commit 5aa3141bff35a85dd97e9fd339e19b0fe3a73afc)
2008-03-22registry: some whitespace cleanup in init_registry().Michael Adam1-9/+10
Michael (This used to be commit f33095e44ba22f4451a5deeffdd4f9ed3f99ed85)
2008-03-22registry: remove unneeded talloc stackframe variable.Michael Adam1-2/+0
Michael (This used to be commit 81993db828bf11b13d7ee1f43483968dc6241bcc)
2008-03-22registry: close regdb in error path (and use it) in init_registry().Michael Adam1-4/+3
Michael (This used to be commit 73b325fe7a9d7fd67ac9b99144a3776f5a1a9e15)
2008-03-21registry: fix registry_init_smbconf() to close the registry at the end.Michael Adam2-2/+2
Michael (This used to be commit f4d87fdbf266a36fbb50dae863ee0784165c2fe1)
2008-03-21libsmbconf: add internal open/close handling to registry backend.Michael Adam1-4/+38
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 03e72e13076e3215eb8ae51cfb4e7cd3d3683d3e)
2008-03-21libsmbconf: add a comment.Michael Adam1-0/+3
Michael (This used to be commit 513ae78ef78d3ddcb155f9c38b9a0c82809e0998)
2008-03-21libsmbconf: add private_data section to smbconf_ctx.Michael Adam2-8/+20
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 a02163356bdd0c17a25a45e9904f8bd1e1c4bee4)
2008-03-21libsmbconf: add a "path" variable to the conf context.Michael Adam8-20/+32
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 96434d9dc7a66773e313cc128af57493dee245a1)
2008-03-21libsmbconf: add structuring comments to the prototypes in the public header.Michael Adam1-0/+8
Michael (This used to be commit 4f816df27670c3b6aabea9f26ef2d26f3e882e78)
2008-03-21libsmbconf: adapt a comment to new circumstancesMichael Adam1-3/+1
Michael (This used to be commit 83b9453c88bfdf615cc2b547645b0a71a870f473)
2008-03-21libsmbconf: group together functions in smbconf.c more appropriatelyMichael Adam1-21/+29
Michael (This used to be commit e8ed8ad077f69ae7237f49b150625d20eb509586)