1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1294 Commits

Author SHA1 Message Date
Michael Adam
a521f39c89 Build: Add an rpath of $(LIBDIR) to binary targets.
This removes the need of setting LD_LIBRARY_PATH.

Michael
(This used to be commit 3a0f781352)
2008-03-06 14:56:24 +01:00
Volker Lendecke
1ea0a5d0cd Add infrastructure to support async SMB requests
(This used to be commit e215330135)
2008-03-06 13:28:23 +01:00
Volker Lendecke
f05bc40389 Add basic infrastructure for general async requests
(This used to be commit 9f8b2a87ee)
2008-03-06 13:28:23 +01:00
Michael Adam
26537251a3 Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael
(This used to be commit 21a527569b)
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 3398403c22)
2008-03-05 23:47:59 +01:00
Günther Deschner
9f133a602f Fix build targets for bin/net.
Guenther
(This used to be commit 5159e3dafa)
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 f6762f9cd0)
2008-03-05 19:56:00 +01:00
Michael Adam
0a15d8a3bd Makefile: reformat - break long target lines.
Michael
(This used to be commit e261338084)
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 237ea62a49)
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 7dbc251e1c)
2008-03-05 12:20:25 +01:00
Günther Deschner
3bda36d637 Fix build of pam_smbpass.
Guenther
(This used to be commit cd582b7705)
2008-03-05 11:31:26 +01:00
Günther Deschner
2c3dc9baa5 Use pidl for _srvsvc_NetSrvGetInfo().
Guenther
(This used to be commit 34caa41fa6)
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 a67f96fbe9)
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 d4b4bae8de)
2008-03-01 20:47:22 -05:00
Volker Lendecke
c3cb59ae2b Revert "Add basic infrastructure for general async requests"
This reverts commit ae254cb61f.
(This used to be commit 030bef7f22)
2008-03-01 09:38:14 +01:00
Volker Lendecke
45a877f392 Revert "Add infrastructure to support async SMB requests"
This reverts commit f535682569.
(This used to be commit 5f53a62be8)
2008-03-01 09:38:14 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a)
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 f673bbd300)
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 9b47a73290.

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 2967b29f23)
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 78bc496ecf)
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 b0e52cecf2)
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 7cf645cdae)
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 a5c6347644)
2008-02-28 19:54:35 +01:00
Karolin Seeger
e1b32594c7 Remove smbmount.
Karolin
(This used to be commit 5fbd98f706)
2008-02-28 15:53:43 +01:00
Volker Lendecke
1d41b5bd2a Add infrastructure to support async SMB requests
(This used to be commit f535682569)
2008-02-28 15:27:55 +01:00
Volker Lendecke
93e06129ab Add basic infrastructure for general async requests
(This used to be commit ae254cb61f)
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 24a5098b1c)
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 5dd83aaff3)
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 9b47a73290)
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 011f24c6c9)
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 39eef8e86c)
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 1f3bfa024d)
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 58626eb602)
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 d08a3a1957)
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 f802ba035c)
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 aa7023b88d)
2008-02-19 01:23:05 +01:00
Michael Adam
5f215d2d94 Create missing link for libnetapi.so.0
Michael
(This used to be commit 1cb2d980d3)
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 0358ad7e93)
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 acce1092d9)
2008-02-17 23:03:22 +01:00
Günther Deschner
082392d975 Use pidl for NTSVCS.
Guenther
(This used to be commit 84a9bf0b73)
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 b9cc5cfaf9)
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 9e5b732d45)
2008-02-17 02:12:01 +01:00
Günther Deschner
f47d642ca7 Add krb5pac IDL from samba4.
Guenther
(This used to be commit dc2e563e1f)
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 05e6399318)
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 7845a0d9a8)
2008-02-16 14:53:45 +01:00
Günther Deschner
c164f1dd80 Add init_netr_SamInfo3 routine.
Guenther
(This used to be commit bf598744c5)
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 2222acbac9)
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 94d9d5023e)
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 47b952b9a5)
2008-02-15 13:40:28 +01:00