1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

1048 Commits

Author SHA1 Message Date
Andrew Tridgell
7c9a5c2a3f r23323: merged ldb changes from 3.0.26 2007-10-10 12:23:06 -05:00
Gerald Carter
1b68302e34 r23321: remove unused variable (due to mad merge from Centeris patches) 2007-10-10 12:23:06 -05:00
Michael Adam
114a80dd2e r23317: Fix the build: r23315 was a little overeager in removing the
INIPARSER_OBJ from the bin/net target altogether. I re-add it
in the guise of @BUILD_INIPARSER@ (to NET_OBJ). This also
eliminates the need to have @BUILD_INIPARSER@ in the deps for
the bin/net target.
Same procedure for the pam_winbindd module.

Michael
2007-10-10 12:23:06 -05:00
Stefan Metzmacher
1f30ac2905 r23315: - don't use the builtin and -liniparser together in bin/net
- unify handling on @BUILD_INIPARSER@

btw: nsswitch/pam_winbind.c doesn't compile anymore on SuSE 10.2!
     I think we should build pam modules by default to notice things
     like this in the build-farm...

metze
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
43d390d186 r23314: For some systems it's needed to inject replace.h into
the iniparser source code, I do it in a way we can still have
a unmodified copy of iniparser in source/iniparser/
and have the wrapper stuff in source/iniparser_build/.

If the build-farm is happy with this I'll merge it to 3_0_26
tomorrow...

metze
2007-10-10 12:23:05 -05:00
James Peach
07fa76c6c7 r23295: Apply proto_exists and bin/.dummy dependencies consistently for all
binaries.  Fix vfs_zfsacl build rule in SAMBA_3_0.
2007-10-10 12:23:03 -05:00
Gerald Carter
ebcae48ec1 r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init call renames for svcctl in the previous commit 2007-10-10 12:23:02 -05:00
Gerald Carter
0b1bc3521f r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26 2007-10-10 12:23:01 -05:00
Gerald Carter
592e73dc31 r23242: BUG 4671: Fix Makefile syntax error when SMBMOUNT_PROGS is not defined 2007-10-10 12:22:58 -05:00
Volker Lendecke
52545d1192 r23224: Move map_nt_error_from_unix to lib/errmap_unix.c. This function is
useful even in binaries that don't link in libsmb
2007-10-10 12:22:56 -05:00
Volker Lendecke
9b10dbbd5d r23183: Check in a change made by Tridge:
This replaces the internal explicit dev/ino file id representation by a
"struct file_id". This is necessary as cluster file systems and NFS
don't necessarily assign the same device number to the shared file
system. With this structure in place we can now easily add different
schemes to map a file to a unique 64-bit device node.

Jeremy, you might note that I did not change the external interface of
smb_share_modes.c.

Volker
2007-10-10 12:22:52 -05:00
Lars Müller
e03a67ebc6 r23156: Install the smb_share_modes.h header file. 2007-10-10 12:22:50 -05:00
Lars Müller
7a9ea106ff r23155: Rename INSTALLPERMS to INSTALLPERMS_BIN to differenciate clearer from
INSTALLPERMS_DATA.
2007-10-10 12:22:50 -05:00
Lars Müller
1db52993ed r23154: Add INSTALLPERMS_DATA set to 0644 to install the header files with this
permission set instead of 0755.
2007-10-10 12:22:49 -05:00
Günther Deschner
ba956ab8e4 r23121: Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly again.
Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>.

Guenther
2007-10-10 12:22:47 -05:00
Volker Lendecke
a925e0991f r23117: Factor out local messaging.
This removes message_block / message_unblock. I've talked to Jeremy and
Günther, giving them my reasons why I believe they have no effect.
Neither could come up with a counter-argument, so they go :-)
2007-10-10 12:22:47 -05:00
Volker Lendecke
3f5eb8a960 r23112: Trim down the message.c API slightly: The messages_pending_for_pid is now
replaced by MSG_FLAG_LOWPRIORITY or'ed into the msg_type. To enable this,
changed the msg_type definitions to hexadecimal.

This way we could theoretically add the MSG_FLAG_NODUPLICATES again, but I
would rather not do this, because that one is racy and can't be guaranteed at
all.
2007-10-10 12:22:47 -05:00
James Peach
910d498a0e r23097: Add a new configure option to disable building SWAT (it is still built by
default).
2007-10-10 12:22:45 -05:00
Volker Lendecke
eaefd00563 r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'm
doing this because for the clustering the marshalling is needed in more
than one place, so I wanted a decent routine to marshall a message_rec
struct which was not there before.

Tridge, this seems about the same speed as it used to be before, the
librpc/ndr overhead in my tests was under the noise.

Volker
2007-10-10 12:22:17 -05:00
James Peach
c16ad8d58c r22879: Tidy the build rules for targets that need the installation paths. 2007-10-10 12:22:05 -05:00
Jeremy Allison
bd80db71e7 r22872: Add vfs_zfsacl module from Jiri Sasek <Jiri.Sasek@Sun.COM>.
Jeremy.
2007-10-10 12:22:04 -05:00
Lars Müller
1c06148010 r22870: Don't create shared objects of nss and tdb modules. 2007-10-10 12:22:04 -05:00
Lars Müller
6f19e5853d r22869: Add bin/{ldap,nss,tdb}.@SHLIBEXT@ rules.
Not tested for SAMBA_3_0 as I didn't get autogen.sh or autoreconf to
build a configure.
2007-10-10 12:22:04 -05:00
James Peach
9d9950a6d1 r22820: Move FAM libraries from smbd to vfs_fam_notify. Should fix bugzilla #4426. 2007-10-10 12:22:00 -05:00
Günther Deschner
61982d8422 r22802: Add dummy gpo_apply_security_filtering() call.
Guenther
2007-10-10 12:21:59 -05:00
Volker Lendecke
e9d7484ca2 r22775: For the cluster code I've developed a wrapper around tdb to put different
database backends in place dynamically.

The main abstractions are db_context and db_record, it should be mainly
self-describing, see include/dbwrap.h.  You open the db just as you would open
a tdb, this time with db_open(). If you want to fetch a record, just do the
db->fetch() call, if you want to do operations on it, you need to get it with
fetch_locked().

I added dbwrap_file.c (not heavily tested lately) as an example for what can
be done with that abstraction, uses a file per key. So if anybody is willing
to shape that up, we might have a chance on reiserfs again.... :-)

This abstraction works fine for brlock.tdb, locking.tdb, connections.tdb and
sessionid.tdb. It should work fine for the others as well, I just did not yet
get around to convert them.

If nobody loudly screams NO, then I will import the code that uses this soon.

Volker
2007-10-10 12:21:56 -05:00
Volker Lendecke
e43e94cda1 r22761: This introduces lib/conn_tdb.c with two main functions: connections_traverse
and connections_forall. This centralizes all the routines that did individual
tdb_open("connections.tdb") and direct tdb_traverse.

Volker
2007-10-10 12:21:55 -05:00
Volker Lendecke
a99ab3a2ed r22745: Add local groups to the --required-membership-sid test. This needs
merging to 3_0_26 once Michael's net conf changes have been merged. It
depends on token_utils.c.
2007-10-10 12:21:54 -05:00
Jelmer Vernooij
f46492a4db r22578: Remove python build directory and generated smbadduser.
Patch originally by the Debian packaging team for Samba.
2007-10-10 12:19:46 -05:00
James Peach
e027322b76 r22507: Wrap the method of obtaining sockets to listen on. 2007-10-10 12:19:40 -05:00
James Peach
29a16b2acb r22495: Create wrapper to hide the details of obtaining a set of sockets
to listen on.
2007-10-10 12:19:39 -05:00
James Peach
aa14900f82 r22441: Add automatic dependency tracking. The dependency generation is
toolchain independent, but since there's no portable method for
doing makefile includes, we can actually use the dependencies with
GNU make. It's easy to add this for other makes, but I don't have
any to test.

This also moves as much m4 as possible into the m4 directory where
no-one has to look at it. AFAICT, there's no way to hide depcomp
in there too, which is unfortunate.
2007-10-10 12:19:34 -05:00
James Peach
fc8589a337 r22418: Support running under launchd. We abstract the method of obtaining
sockets to listen on a little, because in the launchd case these
are provided for us. We also add an idle timeout so that a daemon
can exit after a period of inactivity.
2007-10-10 12:19:33 -05:00
James Peach
250028ef03 r22416: Remove precompiled headers on clean. 2007-10-10 12:19:33 -05:00
James Peach
b04dee02d1 r22413: Simplify the build rules for plugin modules. Add support for per-platform
exports files. Fix the shared library build pf pdb_ldap.
2007-10-10 12:19:32 -05:00
Gerald Carter
086316d62e r22321: BUG 4509: Makefile fix linking the sfu.so and rfc2307.so
plugins in $libdir/nss_info to idmap/ad.so
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
1ca12b1c9e r22315: move tdbback.c content into tdbbackup.c
and make the functions static.

also use libreplace headers in tdbbackup.c

metze
2007-10-10 12:19:26 -05:00
Stefan Metzmacher
4d53100e3c r22304: remove unused stuff completely to fix the build, sorry
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
9ad4098910 r22302: fix the build when no shared-library support is detected
metze
2007-10-10 12:19:25 -05:00
Stefan Metzmacher
c7def92a9c r22249: move tdb code to lib/tdb/ as in samba4
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
057c1c04d0 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
2007-10-10 12:19:21 -05:00
Volker Lendecke
9de16f25c1 r22135: Check in most of Michael Adam's net conf utility. A good share of this patch
is moving functions around to fix some linker dependencies for the registry.

Michael, I've renamed your auth_utils2.c to token_utils.c.

Thanks!

Volker
2007-10-10 12:19:16 -05:00
Jeremy Allison
bc2b6e3f32 r22106: Fix the module name - it's vfs_readahead not vfs_linux_readahead.
Jeremy.
2007-10-10 12:19:13 -05:00
Jeremy Allison
97fdd67e83 r22105: Added vfs_readahead module that appears to do wonderful things
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.
2007-10-10 12:19:13 -05:00
Lars Müller
3ae99e5924 r22103: No code change. This is a spring time end of line clesnup checkin. 2007-10-10 12:19:12 -05:00
Lars Müller
3bebb5f4c1 r22102: Remove obsoleted SHLIBS_PROGS from {Makefile,configure}.in.
As NSS_MODULES is added to the all rule the resulting set of binaries
are the same.
2007-10-10 12:19:12 -05:00
Lars Müller
641edac6ec r22099: Revert parts of revision 22056 as proto_exists is not required by
@WINBIND_NSS@, bin/pam_winbind.@SHLIBEXT@, and bin/pam_smbpass.@SHLIBEXT@.
2007-10-10 12:19:12 -05:00
Stefan Metzmacher
a70af6d457 r22067: - fix --with-fhs, where confdir is set to \${sysconfdir}
but sysconfdir wasn't defined in our Makefile
- add localstatedir for completeness

metze
2007-10-10 12:19:09 -05:00
Günther Deschner
21d092f4f9 r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
Guenther
2007-10-10 12:19:06 -05:00
Günther Deschner
04705aa190 r22056: Adding some missing proto_exists calls (for PAM and NSS modules)
Guenther
2007-10-10 12:19:06 -05:00