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

49460 Commits

Author SHA1 Message Date
Jelmer Vernooij
58db2befbd Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00
Jelmer Vernooij
8e9c5f8c00 Don't filter out any variables for config.pm, only for config.mk. 2008-11-26 16:55:32 +01:00
Andreas Schneider
b39611c36b Fix circular dependency error with autoconf 2.6.3.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-26 16:44:50 +01:00
Jelmer Vernooij
f1d887251d Use a simple shell loop instead of _AC_SUBST_VARS.
Autoconf has removed _AC_SUBST_VARS in newer versions.
2008-11-26 16:22:11 +01:00
Jeremy Allison
d3fa3c080f Fix bug #5914 - Build failure: redefinition of struct name_list
Jeremy.
2008-11-25 15:53:56 -08:00
Jelmer Vernooij
fc0985dbc5 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-11-25 15:42:47 +01:00
Sam Liddicott
f5a87e35d2 Make sure dom_sid.h is installed. 2008-11-25 15:41:07 +01:00
Günther Deschner
948218643a s3-samr: fix _samr_LookupNames return code.
Guenther
2008-11-25 15:39:51 +01:00
Michael Adam
03304c5152 Revert "UNFINISHED - s3:idmap_ad: multi-domain"
This reverts commit 6a4957d35d.

Sorry - this got accidentially pushed.

Michael
2008-11-25 15:24:43 +01:00
Michael Adam
6a4957d35d UNFINISHED - s3:idmap_ad: multi-domain
Michael
2008-11-25 11:29:42 +01:00
Michael Adam
afbfbd7f4c [s3]zfsacl: "return" is not a function.
Michael
2008-11-25 11:29:41 +01:00
Nils Goroll
bf04324592 [s3]zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.
This is a proposed fix for Bugs #5135 and #5446.

Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-25 11:29:40 +01:00
Kai Blin
9d2c2a7a0e libwbclient: Implement wbcGetgrent and wbcGetgrlist 2008-11-25 09:28:25 +01:00
Kai Blin
5856364af6 libwbclient: Implement wbcGetpwent 2008-11-25 09:28:25 +01:00
Kai Blin
6485c99074 libwbclient: Add placeholder function for WINBINDD_CCACHE_NTLMAUTH 2008-11-25 09:28:25 +01:00
Kai Blin
1fac144703 libwbclient: Fix typo in wbcGetgrent docstring. 2008-11-25 09:28:24 +01:00
Kai Blin
ddf8216854 libwbclient: Add placeholder function for WINBINDD_GETGRLST 2008-11-25 09:28:24 +01:00
Kai Blin
d1d9c06294 libwbclient: Add placeholder functions for wbcQuery[GSU]idTo[GSU]id 2008-11-25 09:28:24 +01:00
Dan Sledz
417f187645 Allow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog-facility 2008-11-24 15:34:33 -08:00
Jeremy Allison
2c45893593 Fix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but that will have to
be fixed another way.
Jeremy.
2008-11-24 15:28:11 -08:00
Mathias Dietz
51b840a07e Search for gpfs functions in both libgpfs_gpl.so an libgpfs.so
As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the
special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS
installations, still look there.
2008-11-24 16:22:05 +01:00
Stefan Metzmacher
26461a72da s3:libads/ldap.c: return an error instead of crashing when no realm is given
The bug was triggered by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't ex
and "disable netbios = yes".

metze

Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-24 15:23:50 +01:00
Volker Lendecke
f340ed1348 Fix nonempty blank lines 2008-11-24 11:39:03 +01:00
Volker Lendecke
907f126d3e Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS! 2008-11-24 11:39:03 +01:00
Volker Lendecke
6f840dd678 Remove unused make_connection_with_chdir() 2008-11-24 11:39:03 +01:00
Volker Lendecke
c25f5c778a Convert delete_driver_files to use create_conn_struct
Jerry, please check!
2008-11-24 11:39:03 +01:00
Volker Lendecke
cb4f8573ba Convert get_correct_cversion to use create_conn_struct
Jerry, please check!
2008-11-24 11:39:03 +01:00
Volker Lendecke
783ab0480b Convert move_driver_to_download_area to use create_conn_struct
This removes a use of struct current_user and the vuid

The become_user() here is unnecessary, within the spoolss handling code we have
switched to the authenticated pipe user anyway.

Jerry, please check!
2008-11-24 11:39:03 +01:00
Steven Danneman
798b9e1ad6 Fix to allow setting of NULL DACL/SACL
This is a modification of Jeremy's 7522ef15ac
commit.

If no DACL/SACL is present in the packet, the SEC_INFO field should still be
passed down as is to the VFS layer to signal the creation of a NULL DACL/SACL.

As seen in metze RAW-ACL test_nttrans_create_null_dacl(), a NULL DACL is set
regardless of the SEC_DESC_DACL_PRESENT bit being set.
2008-11-23 18:30:56 -08:00
Kai Blin
a36415a565 s3-rpcclient; Really fix compile warning.
Screwed up in 526c609d, now the real fix.
2008-11-23 23:54:27 +01:00
Michael Adam
b416135f6b libcli/nbt: fix some extrasemi compile warnings.
Michael
2008-11-23 23:01:04 +01:00
Volker Lendecke
ed27d91068 Add auth_serversupplied_info to create_conn_struct
srvsvc needs it, as will printing
2008-11-23 22:41:59 +01:00
Kai Blin
526c609d5f s3-rpcclient: Fix a compile warning. 2008-11-23 22:21:31 +01:00
Kai Blin
671d68d573 ctags: Ignore source3/includes/proto.h for tags. 2008-11-23 22:21:31 +01:00
Volker Lendecke
9c3173142d Fix an uninitialized variable warning
Andreas Schneider, please check!
2008-11-23 19:38:21 +01:00
Volker Lendecke
34fc529d95 fix the build 2008-11-23 12:13:48 +01:00
Stefan Metzmacher
3080fd6624 RPC sessions on np connections need the real session key transferred 2008-11-23 11:48:20 +01:00
Michael Adam
09bc3a2f9c s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS
This should fix a build error on our Tru64 build farm box where a zlib.h is
found in an include path handed in via external CFLAGS, but that zlib.h belongs
to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong
header for the internal zlib.

Michael
2008-11-23 02:02:26 +01:00
Michael Adam
71c782c72a s3-build: do not auto-genereate ndr tables but use checked-in tables.
This removes the build-dependency on perl that was introduced in
commit e0905c3090.

The tables can now be re-built with "make ndr-tables".
This is also called by make samba3-idl to ensure that the tables
are updated after idl changes.

This hopefully fixes the build on some build farm hosts (e.g. gwen).

Michael
2008-11-23 01:16:20 +01:00
Michael Adam
84e37eb5f5 s3 build: don't specify ZLIB_LIBS (i.e. "-lz") in object collections.
This causes make to fail on at least HP-UX and MacOS X with message
"no rule to make target -lz" or similar, when these object collections
are specified in dependencies.

Michael
2008-11-22 23:28:45 +01:00
Volker Lendecke
a6aa72001e Add "net machinepw"
Provide a C-based alternative to the python script "mymachinepw"
2008-11-22 19:30:10 +01:00
Jeremy Allison
d205766e60 Fix a C90 error.
Jeremy.
2008-11-21 22:51:20 -08:00
Jeremy Allison
338303eb37 Rever 83ff6979f5 - "Fix the logic bug that caused us to
run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On
opening the base_fsp we must break existing oplocks." as it broke make test.
Jeremy.
2008-11-21 22:48:37 -08:00
Jeremy Allison
83ff6979f5 Fix the logic bug that caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks.
Jeremy.
2008-11-21 18:20:38 -08:00
Jeremy Allison
dcc4661d4a Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-11-21 18:20:33 -08:00
Michael Adam
3d30d5945c [s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()
Add the const from nfs4_acls.c to nfs4_acls.h
This fixes my build of the zfsacl module on solaris.

Michael
2008-11-22 01:53:37 +01:00
Dan Sledz
c23a6dc3ec FreeBSD configure check for backtrace_symbols
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1.  Look for it
there as well.
2008-11-21 16:37:43 -08:00
Jeremy Allison
ecd8c5d307 Use fxattr calls whenever possible (trying to work around the strange Linux kernel oplock bug).
Jeremy.
2008-11-21 16:02:31 -08:00
Jeremy Allison
8d674e351a Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of the file
(also fix a bad merge of the previous patch from 3.3).
Jeremy.
2008-11-21 15:42:03 -08:00
Michael Adam
dd54e68014 s3-winbindd: make all winbind rpc-methods static.
Now that the methods are no longer needed in winbindd_ads,
we can make them static again.

Michael
2008-11-21 23:32:30 +01:00