summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-03-17Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam1-0/+2
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 (This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
2008-03-12For convenience reasons, always create cli->srv_name_slash in the rpc_client.Günther Deschner1-0/+1
Guenther (This used to be commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
2008-03-12Remove unused marshalling for SRV_NET_DISK_ENUM.Günther Deschner1-25/+0
Guenther (This used to be commit 4928f1efceb8cb0b0fda813e6f43f668084caa79)
2008-03-10Use a separate tdb for mutexesVolker Lendecke1-0/+1
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC mutex is needed per-node anyway, so it is perfectly fine to use a local mutex only. (This used to be commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)
2008-03-10Add transactions to the dbwrap APIVolker Lendecke1-0/+3
Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to be extended (This used to be commit 0a55e018dd68af06d84332d54148bbfb0b510b22)
2008-03-10Remove unused marshalling for SRV_NET_SESS_DEL.Günther Deschner1-21/+0
Guenther (This used to be commit 3bb9ec441ae9702007a5442c52bb9476f928810f)
2008-03-10Remove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}Günther Deschner1-350/+0
Guenther (This used to be commit e13b9325d251777cd9030f34fa98e22766c0bcfe)
2008-03-08Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and ↵Günther Deschner1-46/+0
SRV_R_NET_FILE_GET_SECDESC. Guenther (This used to be commit 776e21075b31db605e45f91b6ccefd11412d7773)
2008-03-07Remove unused marshalling for SRV_NET_NAME_VALIDATE.Günther Deschner1-14/+0
Guenther (This used to be commit 6ffd6c814fafe4112fe72a96a0893d5be06f4380)
2008-03-07Remove unused marshalling for SRV_NET_SHARE_DEL.Günther Deschner1-17/+0
Guenther (This used to be commit 2afae94936d4fbd3b1e804111bff1960c2b852bd)
2008-03-06Add infrastructure to support async SMB requestsVolker Lendecke3-0/+93
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)
2008-03-06Add basic infrastructure for general async requestsVolker Lendecke2-0/+90
(This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
2008-03-05Remove unused marshalling for SRV_NET_REMOTE_TOD.Günther Deschner1-36/+0
Guenther (This used to be commit 9f0ea1d727046fef4c23bcf1e71d10f33c93b00f)
2008-03-05Remove unused marshalling for SRV_NET_SRV_SET_INFO.Günther Deschner1-85/+0
Guenther (This used to be commit a7aef18797407b1f451191647d4b0225ac838817)
2008-03-05Remove unused marshalling for SRV_NET_SRV_GET_INFO.Günther Deschner1-18/+0
Guenther (This used to be commit 53a7e9b07d07d3e9d21360dee35fee27b46929b3)
2008-03-03use constant name less likely to cause conflictDerrell Lipman1-50/+50
(This used to be commit fd18b01016d1dc4b08983975353e62084fdc323c)
2008-03-03Missed a few 'deprecated' markersDerrell Lipman1-2/+2
(This used to be commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)
2008-03-03Continued revamping of libsmbclient.Derrell Lipman2-225/+122
- James suggested using gcc's "deprecated" attribute to mark the context structure fields to generate warnings. This creates a scenario with the best of all worlds. I'm able to move to an organization that more easily allows future enhancements, while avoiding any mandatory changes by applications. Thanks, James! - Updated WHATSNEW.txt so that it accurately reflects the current state of affairs. Derrell (This used to be commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
2008-03-02fixed missing white spaceDerrell Lipman1-0/+1
(This used to be commit 71e86f13b0ace3841c6712084728c79db74ff803)
2008-03-01change variable name from f to fn for function pointersDerrell Lipman1-37/+37
(This used to be commit 1fd65359f6cd07539cfe43146ac367a48708a678)
2008-03-01Comment was in wrong placeDerrell Lipman1-4/+3
(This used to be commit dec70fa3c0424c148016cc667a3c159e16d8a944)
2008-03-01Mark smbc_option_{get,set} as deprecatedDerrell Lipman1-23/+3
(This used to be commit a8b4b773d4647f28e7b92c5968469721d34eb550)
2008-03-01Additional revamped libsmbclient documentationDerrell Lipman2-102/+347
- Ensured that all public functions have documentation in libsmbclient.h - Reformatted for "proper" indentation - Re-added temporarily-disabled alternate authentication function capability Derrell (This used to be commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99)
2008-03-01Modified 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 (This used to be commit 56429a3d60b2a48963342f6340b3c01469a892c6)
2008-03-01Initial 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 (This used to be commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
2008-03-01Revert "Add basic infrastructure for general async requests"Volker Lendecke2-90/+0
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-03-01Revert "Add infrastructure to support async SMB requests"Volker Lendecke3-93/+0
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
2008-02-29Add Group Policy extension infrastructure.Günther Deschner1-1/+3
Guenther (This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)
2008-02-29Add infrastructure for reading/storing Group Policy state and control data ↵Günther Deschner2-1/+66
in the registry. Guenther (This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)
2008-02-29Eliminate tons of build warnings on non-IPV6 system.Michael Adam1-0/+5
Michael (This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
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)