summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* libsmbconf: add backend specific init function.Michael Adam2008-03-277-9/+18
| | | | | | | | Hide generic init function taking smbconf_ops argument from public api. Michael (cherry picked from commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
* libsmbconf: add shutdown handler to smbconf_ops.Michael Adam2008-03-272-1/+8
| | | | | Michael (cherry picked from commit acbd1f40e0cb4cb5b2ba826c4825edda7ee4937b)
* libsmbconf: fix commentsMichael Adam2008-03-271-2/+1
| | | | | Michael (cherry picked from commit 24f32d9bd9aa837d777ea4187bebf3146a67ce59)
* libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam2008-03-275-7/+7
| | | | | Michael (cherry picked from commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
* libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam2008-03-276-9/+9
| | | | | | | That's more appropriate. Michael (cherry picked from commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
* libsmbconf: add open and close operations to the smbconf_ops.Michael Adam2008-03-272-1/+15
| | | | | | | | | Note: currently, reg_init_smbconf opens the registry, but does not close it. This has to be changed. so that it is closed. And then libsmbconf will need these open/close functions Michael (cherry picked from commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
* libsmbconf: introduce a smbconf_ops layer to allow interchangeable backends.Michael Adam2008-03-272-14/+64
| | | | | Michael (cherry picked from commit a857f643d1558c0fdab4b647695d75223b730b96)
* libsmbconf: move smbconf_reg_initialize() down to the smbconf operations.Michael Adam2008-03-271-20/+20
| | | | | Michael (cherry picked from commit f2d605006cd1187f70a044c3356d436e91093d5f)
* libsmbconf: add existence check for service to smbconf_delete_share().Michael Adam2008-03-271-0/+4
| | | | | Michael (cherry picked from commit d44c2ef0b7d7bddb4115b596872748132ebd6ddc)
* libsmbconf: add existence check for service to smbconf_get_share().Michael Adam2008-03-271-0/+4
| | | | | Michael (cherry picked from commit 26208d3e96a1e257628366709a1d71ac36f0788b)
* libsmbconf: add check for NULL servicename to smbconf_share_exists().Michael Adam2008-03-271-0/+3
| | | | | Michael (cherry picked from commit 5dac66c82af8c87df723092a9309304846684418)
* libsmbconf: fix a commentMichael Adam2008-03-271-1/+1
| | | | (cherry picked from commit 103a37ac8e85e9a7b8c2f4eb33e6f1cdbe01d31c)
* libsmbconf: refactor out registry implementation of smbconf operations.Michael Adam2008-03-271-229/+326
| | | | | | | | This leaves most of the api functions mere wrappers except for some common initial checks. Michael (cherry picked from commit 9448a7a298e9ed035aa6b86df18f2d41081731cc)
* libsmbconf: refactor autocreation of [global] into a helper function.Michael Adam2008-03-271-21/+18
| | | | | Michael (cherry picked from commit aeaf66c064de58c6f19d5a9d226843dedb552011)
* libsmbconf: put the smbconf context struct into a private header.Michael Adam2008-03-273-3/+29
| | | | | Michael (cherry picked from commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)
* libsmbconf: change the API to always take the smbconf_ctx parameter first.Michael Adam2008-03-274-26/+30
| | | | | | | | ..for consistency. Exception: the open/init function, where the smbconf_ctx is created from the given talloc context. Michael (cherry picked from commit 304dba6cb2184437f3edad065a530d03fb704036)
* libsmbconf: fix indentation.Michael Adam2008-03-271-3/+3
| | | | | Michael (cherry picked from commit 7460697ea42764f5f658a4f7f70872a56aeb160d)
* libsmbconf: change smbconf_get_seqnum() to smbconf_changed().Michael Adam2008-03-273-19/+42
| | | | | | | | | The former seqnum is hidden inside a struct smbconf_csn. And the get_seqnum is united with a changed function that stores the seqnum inside the given csn. Michael (cherry picked from commit 5b6b90900a1a3eab24cb5612d78f9678a363cf73)
* libsmbconf: fix a commentMichael Adam2008-03-271-2/+1
| | | | | Michael (cherry picked from commit e6b60f6cad32ce8bb78abb070889dde3eca2d268)
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-278-17/+30
| | | | | Derrell (cherry picked from commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
* loadparm: reenable checking files for updates while in registry configuration.Michael Adam2008-03-271-9/+0
| | | | | | | This is necessary now that includes (to files) are enabled from registry. Michael (cherry picked from commit 7dc64d1021e0b8f3339f811c8c144f7013a649a8)
* loadparm: remove unneeded include.Michael Adam2008-03-271-1/+0
| | | | | | | libnet.h unneeded after separation of libsmbconf from libnet. Michael (cherry picked from commit 5c3f14e02fa7baf11d9a6531f2de3e6b16d843b0)
* registry: use available string constant in debug statement.Michael Adam2008-03-271-1/+1
| | | | | Michael (cherry picked from commit 6bac03a2ec6351ab9db457d904b8925c828086e8)
* registry: in regdb_init, not only complain about INFO/version, store it...Michael Adam2008-03-271-0/+8
| | | | | Michael (cherry picked from commit 27d67365ad03f0a0cd86011758a122a97513b82e)
* registry: reformat regdb_init() slightly, breaking long lines.Michael Adam2008-03-271-6/+9
| | | | | Michael (cherry picked from commit 11da885f1e82e7a08fac2bc0ec1515694caa6340)
* registry: untangle assignment and if-statement in regdb_init().Michael Adam2008-03-271-2/+2
| | | | | Michael (cherry picked from commit 504058df9706ee4e4c2e7fb1b1e41710bce2f87d)
* registry: separate initialization of registry data from regdb_init().Michael Adam2008-03-273-9/+14
| | | | | | | | | Leave this to the users (currently registry_init_smbconf() and init_registry()) to initialize as much of preliminary registry data as needed. Michael (cherry picked from commit 59fdd30c789ccfd5cff356e459f1653b065b985c)
* registry: add a transaction wrapper to init_registry_key_internal().Michael Adam2008-03-271-0/+31
| | | | | Michael (cherry picked from commit 8b9cff84d5c39e6d7c315d87ac2fdf7fc0d4e4c4)
* registry: refactor creation of subkeys out of init_registry_data().Michael Adam2008-03-271-79/+92
| | | | | Michael (cherry picked from commit 55233f875ebe1d515c65d9322cda69eb52d4c7d5)
* libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .Michael Adam2008-03-276-273/+257
| | | | | Michael (cherry picked from commit 097af0309d7c3e9342058ba5266667293b23c80d)
* Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam2008-03-276-31/+83
| | | | | | | | | | | The libnet_conf code to access the registry based configuration has become more of a library used in several places in samba (e.g. loadparm) than an abstraction of "net conf". So I move it to a location lib/smbconf/. In the same breath, the api is fixed (not generated by make proto anymore). Michael (cherry picked from commit 5315ef41f403b96715dd68b512e9e74662e2910a)
* Reformat: Remove indentation of part of pam_smbpass/support.c by one tab.Michael Adam2008-03-271-102/+102
| | | | | | | | The first 120 lines of this source file were indented by one tab. Sorry, but I could not stand this.. Michael (cherry picked from commit 728723dea39b2e978bfc4162ef99e883f3647a4b)
* Test: Properly track current test binary for tracking crashes.Michael Adam2008-03-271-4/+9
| | | | | | | Make sure the panic action always has the right test binary set. Michael (cherry picked from commit 567ac329dcec6fc839d6b25cbf1872f1f51ff7e5)
* Eliminate tons of build warnings on non-IPV6 system.Michael Adam2008-03-272-1/+6
| | | | | Michael (cherry picked from commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
* Revert "make idl: Only compile idl files newer than the output to be generated."Michael Adam2008-03-271-1/+1
| | | | | | | | | | This reverts commit 79c199d16e565eabd9fd971247f8df62689bb92a. Revert this until pidl is capable of doing decent dependency tracking itself (importing types from imported idls). Michael (cherry picked from commit 1fb69ad1f5c79dd77f73a5fee266e1e363e6974d)
* Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."Michael Adam2008-03-271-1/+1
| | | | | | | | | | This reverts commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60. libnet_join.idl should not be processed along with the other idl files since it should not produce server and client code, just the header. Michael (cherry picked from commit 2967b29f23e04f24a62ea576b0b6c948055689d0)
* Fix crash bug in check_sam_security() when make_server_info_sam() did aGünther Deschner2008-03-261-1/+0
| | | | | | | talloc_steal and talloc_free on the sam account already. Guenther (cherry picked from commit dbc7237a8a566f3e86bd6e4b48593b93c5bfb94e)
* Fix wbcAuthenticateUserEx().Günther Deschner2008-03-261-1/+1
| | | | | Guenther (cherry picked from commit 79f7a519f8f61a31d84467c5b5975cae13db1c29)
* Add debug statement in auth_winbind to display wbcAuthenticateUserEx error code.Günther Deschner2008-03-261-0/+5
| | | | | Guenther (cherry picked from commit 0ad00a452f03d8af6e6b6fabd4a05ca26a9910d0)
* Fix libtdb some to move back towards allowing out of tree buildsGerald (Jerry) Carter2008-03-263-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. (cherry picked from commit 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
* Ignore port when pulling IP addr from struct sockaddr_storage.Gerald (Jerry) Carter2008-03-261-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. (cherry picked from commit 36f8bafbd3dee66a869aa26cfc2eb4aa62019325)
* Fix usage message for 'net idmap dump'.Karolin Seeger2008-03-251-1/+1
| | | | | Karolin (cherry picked from commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
* smbd: fix session setup with security = share.Michael Adam2008-03-251-1/+1
| | | | | | | | | | Broken by pstring removal in 9ed12bfc48fe7f9b1863a9dd88e881974083053c. Jeremy, please check. Thanks to Yannick Bergeron <yaberger@ca.ibm.com> for noting this. Michael (cherry picked from commit 008c4bdbe5de064b4469fc1f7c7173290f35b3ef)
* VERSION: Update pre release number.Karolin Seeger2008-03-231-1/+1
| | | | | Karolin (cherry picked from commit 4e609ffb2f9983362f817c1346e0a4116d2dd74a)
* Fix Coverity ID 473Volker Lendecke2008-03-221-1/+1
| | | | | Simo, S4 also has this bug, you might want to merge the fix. (cherry picked from commit b82cf75c825298444781697072d83a163c43df4b)
* Fix Coverity ID 506Volker Lendecke2008-03-221-1/+4
| | | | (cherry picked from commit c9add4d59a1615aabc565e323cb19cf7ef4b6b64)
* Fix Coverity ID 507Volker Lendecke2008-03-221-0/+2
| | | | (cherry picked from commit 4ea5798b97497359b09d97c27c2005750a6cbddd)
* Fix Coverity ID 537Volker Lendecke2008-03-221-3/+3
| | | | (cherry picked from commit b19ea3635ccc1f2c7cd6c7f2d179264fbdce13a7)
* Fix Coverity ID 538Volker Lendecke2008-03-221-3/+3
| | | | (cherry picked from commit d69b8b19aeac2266fb5e5ee280ffffe48a690099)
* Fix Coverity ID 547Volker Lendecke2008-03-221-4/+1
| | | | | | | | | | Günther, please check. If r->in.ads==NULL, we can't call ads_leave_realm at all. Thanks, Volker (cherry picked from commit 120d8c889fa9ad61c74f1f936e83537513454648)