Volker Lendecke
9b369ffcf0
s3:winbind: Convert WINBINDD_UID_TO_SID the new API
2009-08-05 03:21:22 -04:00
Volker Lendecke
3eff8e93e2
s3:winbind: Add async wb_uid2sid
2009-08-05 03:21:21 -04:00
Volker Lendecke
5db561a608
s3:winbind: Convert WINBINDD_SID_TO_GID the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
153ae58d7d
s3:winbind: Add async wb_sid2gid
2009-08-05 03:21:21 -04:00
Volker Lendecke
fb7150f23b
s3:winbind: Convert WINBINDD_SID_TO_UID to the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
ea286fed7a
s3:winbind: Add async wb_sid2uid
2009-08-05 03:21:21 -04:00
Volker Lendecke
9c6f4cd12a
s3:winbind: Convert WINBINDD_LOOKUPNAME to the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
a541677077
s3:winbind: Add async wb_lookupname
2009-08-05 03:21:20 -04:00
Volker Lendecke
fa59f9720d
s3:winbind: Convert WINBINDD_LOOKUPSID to the new API
2009-08-05 03:21:20 -04:00
Volker Lendecke
bb359c780a
s3:winbind: Add async wb_lookupsid
2009-08-05 03:21:20 -04:00
Volker Lendecke
6cf3db9149
s3:winbind: Add NDR-based parent-child communication to winbind
2009-08-05 03:21:19 -04:00
Kai Blin
d2eb7f8853
s3 net: Initial top level support.
2009-07-29 23:46:09 +02:00
Jeremy Allison
9297b975f5
Fix the build breakage by #including modules/vfs_acl_common.c
...
into acl_tdb and acl_xattr. Duplicates the code size, but keeps
the code in common so I don't have to do bug fixes in two places
(which is what I really cared about).
Jeremy.
2009-07-27 12:09:40 -07:00
Jeremy Allison
ff547a23ae
Factor out common code into vfs_acl_common.c.
...
Jeremy.
2009-07-24 17:06:41 -07:00
Tim Prouty
841efce8b5
s3: Separate out a new file: filename_utils.c
...
This is to ease the linking pain of everything that links LOCKING_OBJ
2009-07-20 17:26:57 -07:00
Björn Jacke
5236b3699d
s3: make linking of rpcclient --as-needed safe
2009-07-15 17:38:40 +02:00
Peter Volkov
2df4550aae
s3: make linking of cifs.upcall --as-needed safe
...
See http://www.gentoo.org/proj/en/qa/asneeded.xml for details.
2009-07-15 17:38:34 +02:00
Günther Deschner
05fbe0c7f7
libds: merge the UF<->ACB flag mapping functions.
...
Guenther
2009-07-13 15:36:07 +02:00
Jim McDonough
7fd42d51c8
Fix make test_shlibs for libnss_wins and libnetapi (zlib)
2009-07-08 13:12:26 -04:00
Jim McDonough
6f64937ab8
Fix cifs.upcall builds on some platforms (zlib)
2009-07-08 08:02:04 -04:00
Björn Jacke
077808f916
s3/s4:build: honor library path from environment
...
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain
important information. Some of the build farm machines for example have the
python lib path in there - we can't run make test when we suddenly forget how
to use python
2009-07-04 01:14:24 +02:00
Stefan Metzmacher
909d42278a
s3:smbd: add marshalling layer for SMB2 Lock support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
bc957dc4eb
s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
74860465ac
s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
d37709d38b
s3:smbd: add marshalling layer for SMB2 SetInfo support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
1df9cb6bc9
s3:smbd: add marshalling layer for SMB2 GetInfo support
...
metze
2009-07-02 22:25:48 +02:00
Stefan Metzmacher
d49a0e5f7d
s3:smbd: add support for SMB2 Notify
...
metze
2009-07-02 09:13:56 +02:00
Michael Adam
dd118bf219
s3:build: remove the libgpo objects upon "make clean"
...
Michael
2009-07-01 11:30:35 +02:00
Michael Adam
9d70ef4cac
s3:build: remove ../libcli/nbt/tools/nmblookup.o and friends in make clean
...
Michael
2009-07-01 11:30:35 +02:00
Jeff Layton
f7250144ed
umount.cifs: don't build it by default
...
Now that the sanity checks for mount.cifs default to matching the
behavior of /bin/mount, then there is virtually no need for umount.cifs.
The only exception is when someone enables the loose setuid behavior in
mount.cifs.
If an unprivileged user mounts a share that isn't in /etc/fstab, then
/bin/mount won't allow that user to unmount it. In that situation,
umount.cifs will be necessary to allow unmounting the share.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Acked-by: Steve French <smfrench@us.ibm.com>
2009-06-30 15:03:13 -04:00
Michael Adam
69af9eacb9
s3:build: check for external liblua, link lua statically if using internal lib
...
So liblua is treated the same way as libtalloc and libtdb.
Michael
2009-06-29 23:25:38 +02:00
Volker Lendecke
8e22e38c9c
Move read_ldap_done after read_ldap_send
2009-06-27 23:17:49 +02:00
Volker Lendecke
f5321ffea8
Convert tldap to tstream
2009-06-27 23:17:49 +02:00
Volker Lendecke
cfafe9b9a9
Fix a typo in a comment
2009-06-26 16:51:02 +02:00
Günther Deschner
2579afc897
s3-vlp: drastically shrink size and dependencies of the virtual line printer.
...
This gets vlp from 13M down to 214K on my box.
Guenther
2009-06-26 09:34:02 +02:00
Michael Adam
23c7eccc27
s3:build: build talloctort only when using the internal liballoc
...
Fixes the build with the external libtalloc.
And is the reasonable thing to do anyways.
Michael
2009-06-19 21:13:38 +02:00
Michael Adam
bd70351b94
s3:build: build the tdb tools only when using the internal libtdb
...
This fixes the build when internal libtdb is used.
Michael
2009-06-19 21:13:38 +02:00
Michael Adam
e3c7720bfd
s3:build: remove LIBTDB_OBJ from TDBTORTURE_OBJ collection
...
tdbtorture is linked with LIBTDB_LIBS, which is whatever
configure has determined to be (-ltdb or LIBTDB_OBJ ...).
Michael
2009-06-19 21:13:38 +02:00
Volker Lendecke
756f83796f
Add tiny tldap test
2009-06-19 14:28:22 +02:00
Volker Lendecke
340b55a842
Add async wb_ping
2009-06-14 11:25:47 +02:00
Volker Lendecke
c049d098d1
Convert the main winbind client communication to wb_reqtrans.c
2009-06-14 11:25:46 +02:00
Jelmer Vernooij
43143aa481
Fix Samba 3 selftest to use new selftest formatting functions.
2009-06-11 20:00:00 +02:00
Günther Deschner
b152afeade
s3-libwbclient: fix unresolved symbols in libwbclient.
...
Kai, please check.
Guenther
2009-06-10 21:25:58 +02:00
Günther Deschner
27bb7ac5d1
lib-util: move set_blocking() call into own file.
...
Guenther
2009-06-10 21:25:57 +02:00
Günther Deschner
29b78b33d3
s3-build: Fix make test_shlibs and test_nss_modules.
...
Guenther
2009-06-10 17:26:59 +02:00
Stefan Metzmacher
18c340b924
s3:Makefile.in: use LIBDL as make variable instead of a shell variable
...
metze
2009-06-08 13:20:54 +02:00
Timur I. Bakeyev
ef9773c8e7
Fix make test_pam_modules
...
In Samba3 there is a very handy Makefile target 'test_pam_modules'. It let
quickly veryfy, that obtained PAM module actually is loadable and doesn't
miss any dependency libs. the only problem that on FreeBSD it doesn't work
OOTB, as it unconditionally adds -ldl to the list of libraries when FreeBSD
doesn't have it and doesn't need it.
This small patch fixes the problem for FreeBSD and, I hope, still valid
for othe systems, where -ldl is required. Has to be tested there though.
With regards,
Timur Bakeyev.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:54 +02:00
Günther Deschner
bb6cb7ea12
test: add NSS_WRAPPER_WINBIND_SO_PATH to make test.
...
Guenther
2009-06-08 11:02:59 +02:00
Volker Lendecke
23b501e02a
Add an early prototyp of pdb_ads.c.
...
The purpose of this module is to connect to a locally running samba4 ldap
server for an alternative "Franky" setup. Right now it contains a couple of
gross hacks: For example it just takes the s4-chosed RID directly as uid/gid...
Checking in tldap and pdb_ads now, I think 3777 insertions are enough for a
start...
2009-06-06 13:10:30 +02:00
Volker Lendecke
1769c8d81b
Add some samba-style tldap utility functions
2009-06-06 13:10:30 +02:00
Volker Lendecke
7194937eea
Add the early start of an async ldap library
...
There's a lot of things this does not do yet: For example it does not parse the
reply blob in the sasl bind, it does not do anything with controls yet, a lot
of the ldap requests are not covered yet. But it provides a basis for me to
play with a pdb_ads passdb module.
2009-06-06 13:10:30 +02:00
Stefan Metzmacher
fabdebdcf4
s3:smbd: add support for SMB2 Ioctl
...
We don't implement any level yet.
metze
2009-06-05 17:50:48 +02:00
Stefan Metzmacher
bfd1f5ddc6
s3:smbd: implement SMB2 Write
...
This only works on file shares.
metze
2009-06-03 17:54:40 +02:00
Stefan Metzmacher
4101f539bf
s3:smbd: implement SMB2 Read
...
This only works works on file shares.
metze
2009-06-03 17:54:40 +02:00
Stefan Metzmacher
0ccef51cbe
s3:smbd: implement SMB2 Flush
...
This works only on file shares yet.
metze
2009-06-03 17:54:40 +02:00
Stefan Metzmacher
ec0553bb6e
s3:smbd: implement SMB2 Close
...
metze
2009-06-03 17:54:40 +02:00
Stefan Metzmacher
261c59e3a1
s3:smbd: implement a simple version of SMB2 Create
...
It only work on file shares and
just ignores any additional Create Context Values.
metze
2009-06-03 17:54:39 +02:00
Stefan Metzmacher
cfc8d4a1f4
s3:smbd: add smbd_smb2_fake_smb_request()
...
metze
2009-06-03 17:54:39 +02:00
Jelmer Vernooij
8d033ec0d1
Move mount.cifs/umount.cifs to the top level and remove the outdated copy
...
in Samba 4.
2009-06-02 23:24:33 +02:00
Volker Lendecke
29d25d5ebf
Move ads flags mapping to lib/
2009-05-30 10:21:38 +02:00
Kai Blin
57ea909b32
libwbclient: Add async call framework.
2009-05-30 09:17:37 +02:00
Günther Deschner
bff54b90c3
util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.
...
Guenther
2009-05-29 13:49:58 +02:00
Tim Prouty
9d373574e4
s3 tdbtorture: Fix linking issue
...
tdbtorture now calls the tdb transaction code and needs to link it appropriately
2009-05-28 15:13:52 -07:00
Stefan Metzmacher
31c6679bf1
s3:smbd: add support for SMB2 signing
...
metze
2009-05-26 09:53:06 +02:00
Kai Blin
a98ba0cbe9
s3 ctags: ignore all proto.h files for tag generation
2009-05-25 23:35:37 +02:00
Volker Lendecke
2d689ad9fc
Attempt to fix a debian build problem
2009-05-25 12:43:22 +02:00
Stefan Metzmacher
7dfbb2835f
s3:smbd: implement SMB2 Tree Connect
...
For now this only checks if the share is present or not.
metze
2009-05-22 14:03:13 +02:00
Günther Deschner
cbcee123b2
s3-build: fix the build of ntlm_auth. Bo Yang, please check.
...
Guenther
2009-05-21 12:50:20 +02:00
Bo Yang
8c7a579bdc
s3: set winbindd request flags in ntlm_auth to make it contact trusted domain when krb5 auth is enabled
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-22 02:03:32 +08:00
Stefan Metzmacher
1ecdc8588d
s3:smbd: implement SMB2 Session Setup with raw NTLMSSP
...
metze
2009-05-20 20:53:34 +02:00
Stefan Metzmacher
4abd5f34d9
s3:smbd: add support for SMB2 Keepalive (SMB2 Echo)
...
metze
2009-05-20 15:43:00 +02:00
Stefan Metzmacher
3ef6a5ae9e
s3:smbd: add support for SMB2 Negotiate
...
This is not complete, but a start that makes the
samba4 smb2 client happy.
metze
2009-05-20 15:42:59 +02:00
Stefan Metzmacher
688945a994
s3:smbd: add infrastructure for SMB2 support
...
This is disabled by default and activated by
"max protocol = SMB2".
metze
2009-05-20 15:42:24 +02:00
Volker Lendecke
31a2347a0a
Fix static linking of vfs_notify_fam
2009-05-16 19:22:03 +02:00
Michael Adam
a62e72b825
s3:build: add install-dbwrap_tool target
...
Michael
2009-05-15 17:00:22 +02:00
Michael Adam
b4131ecf81
s3:build dbwrap_tool with make everything
...
Michael
2009-05-15 17:00:21 +02:00
Michael Adam
ad240e1998
s3:build: rename OBJ collection for dbwrap_tool consistently
...
Michael
2009-05-15 13:07:48 +02:00
Michael Adam
6d82b59755
s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.
...
This tool (in contrast to tdbtool) reads Samba's configuration
and if clustering = yes, it talks to CTDB instead of accessing
the TDB data bases directly. This is done by simply using
the dbwrap mechanim, just like the Samba daemons.
This first version can read and write int32 and uint32 values
and delete records from a (c)tdb database.
More operations will follow.
This tool can already be useful in CTDB environments, e.g. when
"net idmap restore" fails to set the USER and GROUP HWM keys,
because the methods are deliberately not implemented in
idmap_tdb2.c. You can manually set the high water marks
with
"dbwrap_tool store idmap_tdb2.tdb 'USER HWM' int32 12345"
and
"dbwrap_tool store idmap_tdb2.tdb 'GROUP HWM' int32 67890"
Michael
2009-05-15 11:46:53 +02:00
Günther Deschner
8fd3c8902c
s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.
...
Guenther
2009-05-14 14:18:26 +02:00
Derrell Lipman
db69ebcbce
Provide a libsmbclient interface for programs requiring threads
...
- This adds two functions: smbc_thread_posix() which provides access to the
internal threading implementation using pthread; and smbc_thread_impl()
where the user provides each of the functions required by Samba, to give
access to the thread implementation's native capabilities.
Derrell
2009-05-10 22:45:12 -04:00
Stefan Metzmacher
9dbb535aa5
tsocket: remove tsocket_context related stuff
...
It will be replaced by tdgram_context and tstream_context.
metze
2009-05-01 17:38:21 +02:00
Volker Lendecke
8cf75770cf
Add fncall_send/recv
2009-05-01 12:30:59 +02:00
Volker Lendecke
db2cc8c9f2
Add thread pool
...
Included if pthreads are found, can be disabled with --enable-pthreadpool=no
Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)
2009-05-01 12:30:58 +02:00
Günther Deschner
eee446a948
s3-nss_wins: Fix unresolved ldb symbols in libnss_wins.so.
...
The objects for this module should probably be cleaned up once.
Guenther
2009-04-30 14:18:09 +02:00
Günther Deschner
c9ec012e12
s3-build: refactor LIBNET_OBJ.
...
Guenther
2009-04-24 09:53:09 +02:00
Jelmer Vernooij
2eff2de2f8
Move the security_descriptor utility code to the top-level.
2009-04-21 15:14:35 +02:00
Wilco Baan Hofman
171a361375
Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
3e010e3eb8
Adjust samba 3 to the new gpo API. Still untested code.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Jelmer Vernooij
7761850b1f
Move gpo_fetch to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
d2bd5895cf
Move gpo_sec to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
cecd142f2b
Move some libgpo files to root.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:15:43 +02:00
Andrew Bartlett
baf7274fed
Make Samba3 use the new common libcli/auth code
...
This is particuarly in the netlogon client (but not server at this
stage)
2009-04-14 16:23:44 +10:00
Andrew Bartlett
f28f113d8e
Rework Samba3 to use new libcli/auth code (partial)
...
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).
We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server
Andrew Bartlett
2009-04-14 16:23:35 +10:00
Jeremy Allison
2ff80f0d76
Link in the threads functions, not yet used.
...
Jeremy.
2009-04-10 14:45:45 -07:00
Volker Lendecke
ccd293ba0e
Remove async_req
2009-04-08 23:11:59 +02:00
Günther Deschner
98d703a6b7
s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.
...
Guenther
2009-04-08 19:45:57 +02:00
Günther Deschner
621d40332a
s3-build: fix the build after tsocket changes.
...
Metze, please check.
Guenther
2009-04-03 00:30:58 +02:00
Michael Adam
1e92ddd405
s3:build: add targets to show how libraries will be built / linked
...
showlibtalloc, showlibtdb, ... and one overall showlibs target.
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
99b486a056
s3:build: don't build the static libs unconditionally
...
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
b79157f602
s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
...
for completeness
Michael
2009-04-01 10:41:34 +02:00