summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-21libsmbconf: add a comment.Michael Adam1-1/+5
Michael (This used to be commit 8974b283683799bc51223d27b7e6aecac741fbc2)
2008-03-21libsmbconf: move registry implementation to a module of its own.Michael Adam4-722/+755
Michael (This used to be commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
2008-03-21On Solaris, size_t seems to be only 32 bit.Volker Lendecke1-5/+7
Fix bug 5341, thanks a lot to Karoly Vegh for testing it! Volker (This used to be commit 19eb8c9316b10b1277121e90d0d3ef50ee562118)
2008-03-21Fix Coverity ID 473Volker Lendecke1-1/+1
Simo, S4 also has this bug, you might want to merge the fix. (This used to be commit b82cf75c825298444781697072d83a163c43df4b)
2008-03-21Fix Coverity ID 506Volker Lendecke1-1/+4
(This used to be commit c9add4d59a1615aabc565e323cb19cf7ef4b6b64)
2008-03-21Fix Coverity ID 507Volker Lendecke1-0/+2
(This used to be commit 4ea5798b97497359b09d97c27c2005750a6cbddd)
2008-03-21Fix Coverity ID 537Volker Lendecke1-3/+3
(This used to be commit b19ea3635ccc1f2c7cd6c7f2d179264fbdce13a7)
2008-03-21Fix Coverity ID 538Volker Lendecke1-3/+3
(This used to be commit d69b8b19aeac2266fb5e5ee280ffffe48a690099)
2008-03-21Fix Coverity ID 547Volker Lendecke1-4/+1
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 120d8c889fa9ad61c74f1f936e83537513454648)
2008-03-21Fix Coverity ID 548Volker Lendecke1-3/+5
Günther, please check -- in all infolevels we do a comment=talloc_strdup Thanks, Volker (This used to be commit e2021c5b5710768968ae724220eb1e3f47c9e639)
2008-03-21Fix Coverity IDs 553, 552Volker Lendecke1-0/+4
(This used to be commit 1a0aed566b7e4fc75bf894aac6828bfa4152c3dc)
2008-03-21Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit 4689057f63599ebaf9ce658ca3b3168b2bbe531f)