summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-03-04Modified revamp of the libsmbclient interface.Derrell Lipman2-4/+294
Given the tacit (if that) approval by some people, and clear disapproval by others for my proposed clean-up and reorganization of libsmbclient, I've come up with a slightly different approach. This commit changes back to the original libsmbclient.h SMBCCTX structure which will maintain ABI compatibility. I retain, here, the setter and getter functions which all new code should use. Older programs already compiled should continue to work fine. Older programs being recompiled will encounter compile-time errors (intentionally!) so that the code can be corrected to use the setter/getter interfaces. Although this doesn't clean up the interface in the way I had wanted, the code reorganization and requirement for new programs to use the setters and getters allows future progress to be made on libsmbclient without further muddying up the interface, while retaining the ABI compatibility that was the big issue causing disapproval. I hope that this compromise is adequate. Derrell (cherry picked from commit 56429a3d60b2a48963342f6340b3c01469a892c6) (This used to be commit 7bc53f57dcb1c3bb80cb20796ebfc743c22a76e3)
2008-03-04Initial revamp of the libsmbclient interface.Derrell Lipman2-223/+810
The libsmbclient interface has suffered from difficulty of improvement and feature enrichment without causing ABI breakage. Although there were a number of issues, the primary ones were: (a) the user of the library would manually manipulate the context structure members, meaning that nothing in the context structure could change other than adding stuff at the end; (b) there were three methods of setting options: setting bits in a flags field within the context structure, setting explicit options variables within an options structure in the context structure, and by calling the smbc_option_set() function; (c) the authentication callback did not traditionally provide enough information to the callee which required adding an option for a callback with a different signature, and now there are requests for even more information at the callback, requiring yet a third signature and option to set it (if we implement that feature). This commit provides a reorganization of the code which fixes (a) and (b). The context structure is now entirely opaque, and there are setter and getter functions for manipulating it. This makes maintaining ABI consistency much, much easier. Additionally, the options setting/getting has been unified into a single mechanism using smbc_option_set() and smbc_option_get(). Yet to be completed is a refactoring of the authentication callback (c). The test programs in examples/libsmbclient have been modified (if necessary; some applications require no changes at all) for the new API and a few have been minimally tested. Derrell (cherry picked from commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771) (This used to be commit 59292c0da8880afd7bac82f6a5bba009f3827ea0)
2008-03-03Revert "Add basic infrastructure for general async requests"Volker Lendecke2-90/+0
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (cherry picked from commit 030bef7f22f7a73466204b7860f397dbca9f2ab0) (This used to be commit 575b829b390f7f07138305adc2988918eda95ce1)
2008-03-03Revert "Add infrastructure to support async SMB requests"Volker Lendecke3-93/+0
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (cherry picked from commit 5f53a62be8a21b8d92ac44b18d202882500356e8) (This used to be commit 8beead9c936038365f28467e527b2c066e3a5440)
2008-02-28Remove DomainControllerAddressType which we now have in IDL.Günther Deschner1-5/+0
Guenther (This used to be commit 0a012c12d643e627ea1bad2a2ad6214f78918fa7)
2008-02-28Remove smbmount.Karolin Seeger1-3/+2
Karolin (This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-28Add infrastructure to support async SMB requestsVolker Lendecke3-0/+93
(This used to be commit f5356825698a02df2d400b51dd95d1f857c83e81)
2008-02-28Add basic infrastructure for general async requestsVolker Lendecke2-0/+90
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
2008-02-28Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 6f2b33f6072629be393f88d4450fa6631ef672f6)
2008-02-28Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.Günther Deschner1-15/+0
Guenther (This used to be commit 9ac2606d5214f1bf4a8ec2ac46bcaeba62e56992)
2008-02-28Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.Günther Deschner1-14/+0
Guenther (This used to be commit a69c6422bb7b1ab64236cbab193d54fd90c106f0)
2008-02-27Remove unused BRS marshalling headers.Günther Deschner1-79/+0
Guenther (This used to be commit 9e17e94c8ee6e555ca3322745faaeb946650bb15)
2008-02-27Remove unneeded rpc_samr.h.Günther Deschner2-82/+0
Guenther (This used to be commit e6701352dc2cd4ff9cc7d04db6f1975594477cdb)
2008-02-27Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.Günther Deschner1-5/+0
Guenther (This used to be commit 6c6455157317049d65a9012f4e339b7e86fb0af6)
2008-02-27Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.Günther Deschner1-3/+0
Guenther (This used to be commit 618eae4c0cd6a68349a76cdf36f281733fb472ae)
2008-02-27Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.Günther Deschner1-4/+0
Guenther (This used to be commit 9e7d32e28ce40ff158f3705354e8673f99b462bc)
2008-02-27Move MAX_LOOKUP_SIDS to lsa.idl.Günther Deschner1-3/+0
Guenther (This used to be commit 61da5b8c003f9c8785a901fadb06f0dbb8139c5f)
2008-02-27Move MAX_REF_DOMAINS to lsa.idl.Günther Deschner1-3/+0
Guenther (This used to be commit 8f54ba22d21eb014624670d8fdba7a63d1af684d)
2008-02-27Use new LSA_POLICY defines in lsa rpc server code and other places.Günther Deschner1-41/+28
Guenther (This used to be commit 58cca9faf9db506bd2f6eab4a99ef85153797ab2)
2008-02-26add smbc_ftruncate() to emulate POSIX ftruncate()Derrell Lipman1-0/+31
(This used to be commit 6f5051b9c1405ab1dc3e697419ceedb3acac46d8)
2008-02-26add 64-bit macros from samba4Derrell Lipman1-0/+6
(This used to be commit a19e5fd5846685d5264e92bedf5cb57d99271f28)
2008-02-19Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.Günther Deschner1-11/+0
Guenther (This used to be commit eeb598a19a3d09f2175032e013857fe743da3eec)
2008-02-19Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.Günther Deschner1-12/+0
Guenther (This used to be commit 23d37a9aed145d38e2bd98b170b65096ab69b0d9)
2008-02-19Remove unused marshalling for SVCCTL_QUERY_STATUS.Günther Deschner1-11/+0
Guenther (This used to be commit 8a621f517fe38ce91f10e12fccc2963af6afc33d)
2008-02-19Remove unused marshalling for SVCCTL_CONTROL_SERVICE.Günther Deschner1-12/+0
Guenther (This used to be commit 84112a24f5292b8d2e4d446e39462e0402453b4a)
2008-02-19Remove unused marshalling for SVCCTL_START_SERVICE.Günther Deschner1-12/+0
Guenther (This used to be commit 57e03a7fd56062bbff19c88c3b6928e8a0481794)
2008-02-19wGünther Deschner1-62/+0
(This used to be commit c22ec556b1df777b3b99669403dd1f9094a37a7a)
2008-02-19Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.Günther Deschner1-164/+0
This also removes parse_lsa.c entirely. Guenther (This used to be commit f802ba035c95e63c5a6ff9f2fb484d62341cd1a7)
2008-02-18Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4Günther Deschner1-141/+0
Guenther (This used to be commit 6458ef3977b60f24b87eb88cf870a9f23929ca85)
2008-02-18Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.Günther Deschner1-14/+0
Guenther (This used to be commit 144f41e7c3c97afede71ed771acd130f9018f0df)
2008-02-18Remove unused marshalling for SVCCTL_OPEN_SERVICE.Günther Deschner1-13/+0
Guenther (This used to be commit e0a8818af0e3e82e9b70ff6c485090986b435fed)
2008-02-18Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.Günther Deschner1-13/+0
Guenther (This used to be commit 1162b8a02d365b79f5a3e86c936bae80092f1869)
2008-02-18Remove unused marshalling for NTSVCS_GET_HW_PROFILE_INFO.Günther Deschner1-17/+0
Guenther (This used to be commit 2ec2eefc703df882599b6eac9147350c4df33006)
2008-02-18Remove unused marshalling for NTSVCS_HW_PROFILE_FLAGS.Günther Deschner1-21/+0
Guenther (This used to be commit ddb3838be1ab5080add4db060432dfd007b1fd73)
2008-02-18Remove unused marshalling for NTSVCS_GET_DEVICE_LIST_SIZE.Günther Deschner1-13/+0
Guenther (This used to be commit bc1df536fa04e004ccf177e0f3ba56f3c47709aa)
2008-02-17Remove unused marshalling for NTSVCS_VALIDATE_DEVICE_INSTANCE.Günther Deschner1-11/+0
Guenther (This used to be commit 8971afaf744e5124d4b82cad76e368ccd05be394)
2008-02-17Remove unused marshalling for NTSVCS_GET_VERSION.Günther Deschner1-13/+0
Guenther (This used to be commit 58970cc6a8761c30bc4b772b28bb25a112cb684f)
2008-02-17Use pidl for NTSVCS.Günther Deschner2-0/+2
Guenther (This used to be commit 84a9bf0b7372bd7b7d4a1490c45e68b69889af8a)
2008-02-17Remove rpc_parse/parse_net.c and some last unused netlogon headers.Günther Deschner1-30/+0
Guenther (This used to be commit b9cc5cfaf9a87d342c23fa0f68f29050947b5102)
2008-02-17Remove unused marshalling for NET_AUTH3.Günther Deschner1-21/+0
Guenther (This used to be commit ccf3ba0f5ce30d45a3d644552d1245391bf01754)
2008-02-17Remove unused marshalling for NET_SAM_LOGON_EX and finally NET_USER_INFO_3.Günther Deschner2-379/+1
Guenther (This used to be commit ead1f11dd21b1df9a595295b3513c5f6088397c9)
2008-02-17Remove unused marshalling for NET_AUTH. This must have been forgotten.Günther Deschner1-12/+0
Guenther (This used to be commit 7bbd64c16f8dda85275ddca0fd00849f890c6e4f)
2008-02-17Remove unused marshalling for NET_SAM_LOGON.Günther Deschner1-28/+0
Guenther (This used to be commit eefc6bb86fb9196818da9d5c6384c85355794981)
2008-02-17Use new IDL based PAC structures in clikrb5.cGünther Deschner1-5/+4
Guenther (This used to be commit 3b0135d57e1e70175a5eec49b603a2e5f700c770)
2008-02-17Add krb5pac IDL from samba4.Günther Deschner1-0/+1
Guenther (This used to be commit dc2e563e1fe5a18dc799e195d89199a59e3e05a7)
2008-02-16Remove unused netlogon delta defines.Günther Deschner1-18/+0
Guenther (This used to be commit 2c235d2f37522e3a836524a6a165a930bff099a4)
2008-02-16Remove unused marshalling for NET_SRV_PWSET.Günther Deschner1-13/+0
Guenther (This used to be commit e48737f04d2324b604f3290904ec6163a6242ae5)
2008-02-16Remove unused marshalling for NET_REQ_CHAL and NET_AUTH2.Günther Deschner1-32/+0
Guenther (This used to be commit 2123aff75c8db431cb37d132058902287e740a85)
2008-02-15Replace DOM_CHAL with "struct netr_Credential" where we can right now.Günther Deschner1-3/+3
This allows to remove some more old netlogon client calls. Guenther (This used to be commit c0b1a876583230a5130f5df1965d6c742961bcdc)
2008-02-15Remove unused marshalling for NET_SAM_LOGOFF.Günther Deschner1-13/+0
Guenther (This used to be commit b419e7fa32ce34ee1ddde562223fe08f5d07a012)