summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-21Remove remaining old srvsvc client and server rpc code entirely.Günther Deschner7-347/+6
Guenther (This used to be commit a5f0186f70abe8dba650265219e69ce5ca2fb642)
2008-03-21Remove double RPC_PARSE_OBJ2 from Makefile.Günther Deschner1-1/+0
Guenther (This used to be commit 0244734cc5c682a73f84e2fe0a52a15090063d93)
2008-03-21Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.Günther Deschner2-14/+15
Guenther (This used to be commit 4e36657275caa77bc9712fe627aeb6fe4aefc151)
2008-03-21Remove unused marshalling for SRV_NET_SESS_ENUM.Günther Deschner2-359/+0
Guenther (This used to be commit 54554683d63575cfdfa24f89952737ccf7ae5bc0)
2008-03-21Use pidl for _srvsvc_NetSessEnum().Günther Deschner2-153/+96
Guenther (This used to be commit 5d14938b14f8e59608771b1899fd473d63f3bde1)
2008-03-21Add support for setting resume handle in netsessenum rpcclient command.Günther Deschner1-3/+9
Guenther (This used to be commit a01588d65f67ac23a5a2a741bb0419830e42868c)
2008-03-21Remove unused marshalling for SRV_NET_CONN_ENUM.Günther Deschner2-464/+0
Guenther (This used to be commit 51467443f70a53c3290f26f94cdaf8a64f58c2af)
2008-03-21Use pidl for _srvsvc_NetConnEnum().Günther Deschner2-154/+97
Guenther (This used to be commit b8714e03e70070b5dfb1a0b15b191dfac0634c44)
2008-03-21Allow to set or unset resume_handle in netconnenum in rpcclient.Günther Deschner1-1/+3
Guenther (This used to be commit f1b93c24fea0441deb5319f6fc4df0373d0dc939)
2008-03-21libsmbconf: reformaat - fix some whispacing/tabsMichael Adam1-7/+7
Michael (This used to be commit 1a5e5bf38f409b10c8b1da6227722c7d3976b175)
2008-03-21libsmbconf: add backend specific init function.Michael Adam7-9/+18
Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21libsmbconf: add shutdown handler to smbconf_ops.Michael Adam2-1/+8
Michael (This used to be commit acbd1f40e0cb4cb5b2ba826c4825edda7ee4937b)
2008-03-21libsmbconf: fix commentsMichael Adam1-2/+1
Michael (This used to be commit 24f32d9bd9aa837d777ea4187bebf3146a67ce59)
2008-03-21libsmbconf: rename smbconf_close() to smbconf_shutdown().Michael Adam5-7/+7
Michael (This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
2008-03-21libsmbconf: rename smbconf_open() to smbconf_init().Michael Adam6-9/+9
That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
2008-03-21libsmbconf: add open and close operations to the smbconf_ops.Michael Adam2-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 (This used to be commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
2008-03-21libsmbconf: introduce a smbconf_ops layer to allow interchangeable backends.Michael Adam2-14/+64
Michael (This used to be commit a857f643d1558c0fdab4b647695d75223b730b96)
2008-03-21libsmbconf: move smbconf_reg_initialize() down to the smbconf operations.Michael Adam1-20/+20
Michael (This used to be commit f2d605006cd1187f70a044c3356d436e91093d5f)
2008-03-21libsmbconf: add existence check for service to smbconf_delete_share().Michael Adam1-0/+4
Michael (This used to be commit d44c2ef0b7d7bddb4115b596872748132ebd6ddc)
2008-03-21libsmbconf: add existence check for service to smbconf_get_share().Michael Adam1-0/+4
Michael (This used to be commit 26208d3e96a1e257628366709a1d71ac36f0788b)
2008-03-21libsmbconf: add check for NULL servicename to smbconf_share_exists().Michael Adam1-0/+3
Michael (This used to be commit 5dac66c82af8c87df723092a9309304846684418)
2008-03-21libsmbconf: fix a commentMichael Adam1-1/+1
(This used to be commit 103a37ac8e85e9a7b8c2f4eb33e6f1cdbe01d31c)
2008-03-21libsmbconf: refactor out registry implementation of smbconf operations.Michael Adam1-229/+326
This leaves most of the api functions mere wrappers except for some common initial checks. Michael (This used to be commit 9448a7a298e9ed035aa6b86df18f2d41081731cc)
2008-03-21libsmbconf: refactor autocreation of [global] into a helper function.Michael Adam1-21/+18
Michael (This used to be commit aeaf66c064de58c6f19d5a9d226843dedb552011)
2008-03-21libsmbconf: put the smbconf context struct into a private header.Michael Adam3-3/+29
Michael (This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)
2008-03-21libsmbconf: change the API to always take the smbconf_ctx parameter first.Michael Adam4-26/+30
..for consistency. Exception: the open/init function, where the smbconf_ctx is created from the given talloc context. Michael (This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)
2008-03-21libsmbconf: fix indentation.Michael Adam1-3/+3
Michael (This used to be commit 7460697ea42764f5f658a4f7f70872a56aeb160d)
2008-03-21libsmbconf: change smbconf_get_seqnum() to smbconf_changed().Michael Adam3-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 (This used to be commit 5b6b90900a1a3eab24cb5612d78f9678a363cf73)
2008-03-21libsmbconf: fix a commentMichael Adam1-2/+1
Michael (This used to be commit e6b60f6cad32ce8bb78abb070889dde3eca2d268)
2008-03-20A level 25 setuserinfo does change the pwdlastsetVolker Lendecke1-6/+22
(This used to be commit f65cb5d4b51e2e7b9b16b73e47cd2a8d55d5d4b0)
2008-03-20smbd: fix session setup with security = share.Michael Adam1-1/+1
Broken by pstring removal in 9ed12bfc48fe7f9b1863a9dd88e881974083053c. Jeremy, please check. Thanks to Yannick Bergeron <yaberger@ca.ibm.com> for noting this. Michael (This used to be commit 008c4bdbe5de064b4469fc1f7c7173290f35b3ef)
2008-03-20Fix an uninitialized variable warningVolker Lendecke1-0/+1
(This used to be commit 4cc09ec40609484c973361a0cc0f05bfaef1738e)
2008-03-20Port 3c1f1f0797e from 3-0-ctdbroot1-3/+57
We need to inform ctdb about the client's TCP connection so that after a fail over ctdbd can trigger the client to reconnect very quickly (This used to be commit ddc989886deff173b8a2a2a753a896770efe7545)