1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

1491 Commits

Author SHA1 Message Date
Michael Adam
26537251a3 Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael
(This used to be commit 21a527569bccff8e8cb6e751c9f3fce6ff598204)
2008-03-06 10:26:37 +01:00
Michael Adam
04afd3d5ac Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.

Michael
(This used to be commit 3398403c22c0f39b0d91621d81e31004fc8d28bc)
2008-03-05 23:47:59 +01:00
Günther Deschner
9f133a602f Fix build targets for bin/net.
Guenther
(This used to be commit 5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e)
2008-03-05 22:21:10 +01:00
Günther Deschner
2b0281a847 Another build fix for pam_smbpass: make sure libwbclient is there.
Guenther
(This used to be commit f6762f9cd0b2ace46e16d246adf2e386749650f9)
2008-03-05 19:56:00 +01:00
Michael Adam
0a15d8a3bd Makefile: reformat - break long target lines.
Michael
(This used to be commit e26133808469cb7e9acc41cb15219d7b736d228a)
2008-03-05 15:04:36 +01:00
Michael Adam
b428ccdf26 Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.
Michael
(This used to be commit 237ea62a49fbf47634b55795c1065250d5148600)
2008-03-05 15:04:36 +01:00
Michael Adam
6543c5928c Makefile: Add explicit dependecies to libtalloc.so.
So as to fix building of isolated targets.

Michael
(This used to be commit 7dbc251e1cd28abf28342529607fa4b5f579a9c4)
2008-03-05 12:20:25 +01:00
Günther Deschner
3bda36d637 Fix build of pam_smbpass.
Guenther
(This used to be commit cd582b7705dca40b3c688c9e23d8375dab43b4d0)
2008-03-05 11:31:26 +01:00
Günther Deschner
2c3dc9baa5 Use pidl for _srvsvc_NetSrvGetInfo().
Guenther
(This used to be commit 34caa41fa6d44165b470508261c2bde124fc4955)
2008-03-05 09:49:15 +01:00
Derrell Lipman
1363ee9d65 Continued revamping of libsmbclient.
- 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-03 18:13:33 -05:00
Derrell Lipman
257b7b0929 Initial revamp of the libsmbclient interface.
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-01 20:47:22 -05:00
Volker Lendecke
c3cb59ae2b Revert "Add basic infrastructure for general async requests"
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
(This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-03-01 09:38:14 +01:00
Volker Lendecke
45a877f392 Revert "Add infrastructure to support async SMB requests"
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81.
(This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
2008-03-01 09:38:14 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)
2008-02-29 17:07:57 +01:00
Günther Deschner
c613bd5d4e Add infrastructure for reading/storing Group Policy state and control data in the registry.
Guenther
(This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)
2008-02-29 15:48:14 +01:00
Michael Adam
d40b891eb0 Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."
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
(This used to be commit 2967b29f23e04f24a62ea576b0b6c948055689d0)
2008-02-29 13:17:28 +01:00
Michael Adam
4688f2600b Fix linking of smbget when there is no shared library support.
smbget needs libwbclient.

Michael
(This used to be commit 78bc496ecf72b5c2474911302e81a90c488e3070)
2008-02-29 12:38:29 +01:00
Volker Lendecke
18206a4cb5 Add vfs_aio_fork
This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)
2008-02-29 09:47:53 +01:00
Michael Adam
bab27a2ff2 Fix creation of replacetort.
Forgot to git add Makefile.in before doing git commit --amend
in previous commit...

Michael
(This used to be commit 7cf645cdae8ce17705036951538991b0a9dbefaf)
2008-02-29 09:40:09 +01:00
Günther Deschner
27310f0768 Remove original copy of now redundant join code.
Jerry, I checked this very carefully that nothing got lost. The only thing I need to
re-add still is the normalized DN handling for account precreation in "net ads join".

Guenther
(This used to be commit a5c6347644f2aa138a8e67ffe6c167847df941d0)
2008-02-28 19:54:35 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-28 15:53:43 +01:00
Volker Lendecke
1d41b5bd2a Add infrastructure to support async SMB requests
(This used to be commit f5356825698a02df2d400b51dd95d1f857c83e81)
2008-02-28 15:27:55 +01:00
Volker Lendecke
93e06129ab Add basic infrastructure for general async requests
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
2008-02-28 15:27:55 +01:00
Günther Deschner
261671dc95 Remove unused display_ds_domain_controller_info() function.
Guenther
(This used to be commit 24a5098b1c3452b2d7088cab6ecdd1d75810e403)
2008-02-28 12:47:07 +01:00
Stefan Metzmacher
8c2b6a126c remove unused unixinfo.idl and generated files
The idl in this version uses pidl specific non NDR types...

metze
(This used to be commit 5dd83aaff325a1d15a0c786cbab42b8fcd6dd5ee)
2008-02-27 20:13:45 +01:00
Michael Adam
75f56b1ad2 Add libnet_join.idl to the IDL files to be processed by "make idl".
Michael
(This used to be commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60)
2008-02-26 16:06:07 +01:00
Michael Adam
e823c9f237 Fix the build on irix: Prevent empty line in TDB_OBJ
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!

Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)
2008-02-21 10:27:56 +01:00
Michael Adam
ec1576e346 Fix build with static libs: place tdb static lib after tdb-util objects.
Michael
(This used to be commit 39eef8e86cfab60c1328d2335a737b41d8fd6db0)
2008-02-20 23:44:17 +01:00
Michael Adam
07f4f95b14 build: change selftest_prefix from ./ to ./st .
It was used as ${selftest_prefix}/st anyways...

Michael
(This used to be commit 1f3bfa024d61ccb87655db2c616b28adb50d6783)
2008-02-19 17:39:40 +01:00
Michael Adam
ebdc59ca39 Makefile.in: Rework registry-related object collections.
Group and name objects more sanely.

Michael
(This used to be commit 58626eb6027f43495a030d856232a81225d0ca77)
2008-02-19 11:01:00 +01:00
Michael Adam
6d963a807d Use linbet_conf code in loadparm's registry handling.
This replaces the original hand-written tdb code, now that the
linking dependencies have been significantly reduced.

Michael
(This used to be commit d08a3a195718725228bbafa61fd4f0be8aafb43f)
2008-02-19 09:09:05 +01:00
Günther Deschner
d48f36819f Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
(This used to be commit f802ba035c95e63c5a6ff9f2fb484d62341cd1a7)
2008-02-19 01:29:14 +01:00
Günther Deschner
8db780ac8f Yippie! LSARPC server-side migration to pidl finished.
Guenther
(This used to be commit aa7023b88d3161897b9616d950c2a99624d81931)
2008-02-19 01:23:05 +01:00
Michael Adam
5f215d2d94 Create missing link for libnetapi.so.0
Michael
(This used to be commit 1cb2d980d3b2759d73314b112c904f5e20052135)
2008-02-18 17:40:36 +01:00
Günther Deschner
e99f740b0a Add very basic ntsvcs client to rpcclient.
Guenther
(This used to be commit 0358ad7e933f6a0859000ba56e4bb88506d70610)
2008-02-17 23:29:56 +01:00
Günther Deschner
d8fcfb1615 Build the generated ntsvcs server (not at all useable yet).
Guenther
(This used to be commit acce1092d90db1f90265de44fd340d7df73e4e0e)
2008-02-17 23:03:22 +01:00
Günther Deschner
082392d975 Use pidl for NTSVCS.
Guenther
(This used to be commit 84a9bf0b7372bd7b7d4a1490c45e68b69889af8a)
2008-02-17 22:32:30 +01:00
Günther Deschner
f68ddb1a1a Remove rpc_parse/parse_net.c and some last unused netlogon headers.
Guenther
(This used to be commit b9cc5cfaf9a87d342c23fa0f68f29050947b5102)
2008-02-17 03:00:31 +01:00
Günther Deschner
9f8f9c1483 Finally let our samlogon routines call rpccli_netr_LogonSamLogon internally and
return netr_SamInfo3.

Guenther
(This used to be commit 9e5b732d451f6a2f09d2a71e5a3aec59c771db01)
2008-02-17 02:12:01 +01:00
Günther Deschner
f47d642ca7 Add krb5pac IDL from samba4.
Guenther
(This used to be commit dc2e563e1fe5a18dc799e195d89199a59e3e05a7)
2008-02-17 01:13:05 +01:00
Michael Adam
c013ff7902 Add missing dependency to libtdb to libnss_wins.so
Michael
(This used to be commit 05e63993184f084139cd9536ae1a6445b601fa1f)
2008-02-17 01:09:15 +01:00
Günther Deschner
b4989afbab YES! NETLOGON rpc server side migration to pidl finished.
Guenther
(This used to be commit 7845a0d9a8f938c1be888ab2d9aa6c35d6f1dbad)
2008-02-16 14:53:45 +01:00
Günther Deschner
c164f1dd80 Add init_netr_SamInfo3 routine.
Guenther
(This used to be commit bf598744c5af1a14abd25c316c243d00b94cbbe0)
2008-02-16 13:44:33 +01:00
Michael Adam
355faf2e3d Move the implementation of _winreg_RestoreKey to reg_api.c
This removes the internals of reg_api from srv_winreg_nt.c entirely,
only reg_api is used there, now. This enlarges the dependencies of
reg_api somewhat now since it adds regfio. But this can be separated
out later. The current goal is to achieve a complete use of reg_api.

Michael
(This used to be commit 2222acbac955cd6d5bd48d1ce5cf4b4c7c067093)
2008-02-15 16:23:10 +01:00
Michael Adam
6fe7ed0b12 Add libtdb dependency to libsmbclient, libsmbsharemodes and libnetapi.
Michael
(This used to be commit 94d9d5023eee1bdfd8a06581683829cf265f2f0a)
2008-02-15 15:59:55 +01:00
Michael Adam
71c34ad4e0 Use -ltdb instead of bin/libtdb.so for linking.
Michael
(This used to be commit 47b952b9a5bfeac248be393d2459fb67137644e4)
2008-02-15 13:40:28 +01:00
Michael Adam
66ad7e82dc Fix the build on IRIX by placing the object files before the shared libs in linking.
Michael
(This used to be commit f2c6585329ddd71acf5921c58435e53febb57b43)
2008-02-15 13:39:24 +01:00
Michael Adam
6b88ba1761 Remove libwbclient.a from standard (static) libsmbclient object list.
Michael
(This used to be commit 8e57df28861a11b8bf60d30e33120a286bfad7be)
2008-02-15 12:20:02 +01:00
Michael Adam
f4c8b85532 Add orphaned target smbiconv to "make everything" targets.
Michael
(This used to be commit 92cc5d88bbc63edac3e7c4b483c1a75f91263827)
2008-02-15 11:52:15 +01:00