Jelmer Vernooij
cd25b6245f
Move dom_sid to the Samba 3 IDL file, remove the old definition.
2008-12-12 20:20:01 +01:00
Jelmer Vernooij
c4fc0b49f0
Manually marshall dom_sid, so we can use a fixed size array for
...
dom_sid.sub_auths rather than a dynamically allocated one.
This makes it possible to use the same DCE/RPC object code for Samba 3
and Samba 4's DCE/RPC parsers and allows copying sids more easily
(since they no longer contain any pointers). The cost of having additional
manual marshalling code is limited (~35 additional lines of C code).
2008-12-12 19:52:06 +01:00
Jelmer Vernooij
0727fbe87d
Don't allow specifying arguments to pidl object constructors, as they'll
...
be ignored anyway atm.
2008-12-12 19:01:40 +01:00
Jelmer Vernooij
3e2c070395
Allow overriding repr function for pidl-defined types.
2008-12-12 13:31:42 +01:00
Jelmer Vernooij
850abaffbe
Support pyhelper property to allow additional methods to be tucked onto a
...
pidl-generated type.
2008-12-12 12:40:11 +01:00
Jelmer Vernooij
d1101dba79
Remove noejs property, which is no longer used.
2008-12-12 11:48:42 +01:00
Jelmer Vernooij
0f8d749144
Add convenience function for determining if an array should be allocated with talloc.
2008-12-12 11:16:36 +01:00
Jelmer Vernooij
306e9f1425
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-12 10:31:02 +01:00
Jelmer Vernooij
076479aac3
Remove EJS backend for PIDL, as we don't have EJS anymore.
2008-12-12 10:30:13 +01:00
Stefan Metzmacher
370cc9c776
s4:fix segfault in rpc-server, when client binds to unsupported service.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-12 09:56:51 +01:00
Dan Sledz
3a45779f54
s3: Use strtoul since id types are unsigned
2008-12-11 15:52:00 -08:00
Jelmer Vernooij
9f69a13de7
Install symlink for convenience for the samba4 setup directory.
2008-12-11 19:07:50 +01:00
Jelmer Vernooij
52571a0333
Add interactive flag to setup/provision (also the default when no arguments are given).
2008-12-11 18:51:28 +01:00
Jelmer Vernooij
792f769e96
Build python modules by default in merged build (required for provision).
2008-12-11 18:20:18 +01:00
Karolin Seeger
b4a4e63524
Samba3-HOWTO: Fix usage of 'net idmap restore'.
...
This fixes bug #5883 .
Karolin
2008-12-11 18:09:48 +01:00
Stefan Metzmacher
2026b34ebf
s4:selftest: samba4 fails the changed delete test
...
metze
2008-12-11 17:58:31 +01:00
Stefan Metzmacher
4a3ae3831d
s4:libcli/resolve: add resolve_name_all*() which return all addresses not only the first one
...
metze
2008-12-11 17:58:31 +01:00
Michael Adam
dfff610b46
packaging(RHEL-CTDB): don't show failure messages in check for ccache
...
by fixing the order of "> /dev/null 2>&1"
Michael
(cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382)
(cherry picked from commit 6e51f250c5d38e973948aa1d53222bcccdcca365)
2008-12-11 17:53:47 +01:00
Michael Adam
2ef0fc467a
packaging(RHEL-CTDB): fix the build when ccache is not found.
...
Michael
(cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e)
(cherry picked from commit 7d929d9fa363a1f1c67926678524f338e84b3535)
2008-12-11 17:53:46 +01:00
Michael Adam
05c9766cef
packaging(RHEL-CTDB): use ccache if available
...
Michael
(cherry picked from commit 36ca917a63f23126536e786bed845dee48fbf61c)
(cherry picked from commit 05b51bc176f87e7dc1b65adf3d866e797159d953)
2008-12-11 17:53:46 +01:00
Michael Adam
9e4a95c928
packaging(RHEL-CTDB): move the cifs.upcall manpage to the client package
...
Michael
(cherry picked from commit 16f23eb27467ace9751ef2d1fbb6c4d3a5ae9550)
(cherry picked from commit 9538e3130f33ffde1d68eaea303b2b2dd9ddd71d)
2008-12-11 17:53:45 +01:00
Michael Adam
0acddd96d9
packaging(RHEL-CTDB): add the cifs.upcall binary to the client package.
...
Michael
(cherry picked from commit 1875b373a319ac9494fdc907793e59804c577a4d)
(cherry picked from commit e1dca5f1870975b7d9a57869357c971d559afdfe)
2008-12-11 17:53:45 +01:00
Michael Adam
0c9d433f9e
packaging(RHEL-CTDB): fix typo in makerpms.sh
...
Michael
(cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853)
(cherry picked from commit 0e35ff0b46be2f9deab6e539c34970c85c3b58ce)
2008-12-11 17:53:45 +01:00
Michael Adam
9ecb169deb
packaging(RHEL-CTDB): refactor creation of spec file from template out
...
into new script makespec.sh
Michael
(cherry picked from commit d49a9d1c67e4d98017ce5f7d1351bca1366e1a8d)
(cherry picked from commit 086873f00de96ca48717b05dddb71e776c74ca7d)
2008-12-11 17:53:44 +01:00
Michael Adam
1ad04b0319
packaging(RHEL-CTDB): fix installation of pam modules
...
use configure parameter to specify the pam modules dir.
Michael
(cherry picked from commit 24282daa5e293ef9362a69f7f70a684587d6763a)
2008-12-11 17:53:44 +01:00
Günther Deschner
138283c7c1
s3-libnet: fix DEBUG statement in libnet_keytab.
...
Guenther
2008-12-11 15:21:54 +01:00
Jeremy Allison
d7d525bc9d
Make the LookupRid access check match LookupName until
...
we know the correct bits to use here.
Jeremy.
2008-12-10 17:03:53 -08:00
Jeremy Allison
c4c6e1e463
Fix usrmgr opening a user object as non-root.
...
Jeremy.
2008-12-10 15:29:14 -08:00
Volker Lendecke
1c6a87604f
Fix the build
...
Crap, too many trees and no instant, infinitely fast rebuild
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-11 00:00:50 +01:00
Volker Lendecke
57a9380f7b
Also search for -lgpfs which is available as GPL in GPFS PTF8
...
(cherry picked from commit 3c93c96fd0fe362c35fe8127058f94868abc9342)
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:58:25 +01:00
Volker Lendecke
110bb22449
Make use of smbd_gpfs_get_realfilename_path in unix_convert
...
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58)
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:57:23 +01:00
Volker Lendecke
de8bb17255
Fix nonempty blank lines in vfs_gpfs.c
...
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:56:17 +01:00
Volker Lendecke
8e0cce5b38
s3:modules/gpfs: Fix nonempty blank lines
2008-12-10 23:33:02 +01:00
Michael Adam
f4f477f432
packaging(RHEL-CTDB): explicitly build the gpfs module
...
to prevent potetential problems on PTF8 systems where there
is no valid autodetecting configure check yet.
Michael
(cherry picked from commit 37039d345e9a25654bef038f2b8bb4b891cfa6f0)
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:28:55 +01:00
Michael Adam
e0a0b0a0cb
packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec file
...
Michael
(cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d)
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:27:57 +01:00
Andreas Schneider
94c44fcb6b
Move the doxygen comments of wbclient to the header file.
...
So that a developer who wants to use the wbclient api can read
the documentation in the header file.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10 23:23:36 +01:00
Volker Lendecke
7c2bdead9e
Revert "Fix some merge omissions for GPFS"
...
This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f.
This one should have been done with careful cherry-picks, sorry.
Volker
2008-12-10 23:14:46 +01:00
Volker Lendecke
8d64182659
Revert "Fix nonempty blank lines in vfs_gpfs.c"
...
This reverts commit a4b52118d44906882677ed1234428d8025134036.
2008-12-10 23:14:16 +01:00
Volker Lendecke
1896ccb247
Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"
...
This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
2008-12-10 23:14:01 +01:00
Volker Lendecke
0114cb52ca
Revert "Also search for -lgpfs which is available as GPL in GPFS PTF8"
...
This reverts commit 3c93c96fd0fe362c35fe8127058f94868abc9342.
2008-12-10 23:13:48 +01:00
Volker Lendecke
7ad9676864
Revert "Fix the build"
...
This reverts commit c044b09572631cbdd686e5dbbdfbcc731145533a.
2008-12-10 23:13:34 +01:00
Volker Lendecke
c044b09572
Fix the build
...
Crap, too many trees and no instant, infinitely fast rebuild
2008-12-10 19:02:11 +01:00
Volker Lendecke
3c93c96fd0
Also search for -lgpfs which is available as GPL in GPFS PTF8
2008-12-10 18:30:28 +01:00
Volker Lendecke
b37684ffce
Make use of smbd_gpfs_get_realfilename_path in unix_convert
2008-12-10 18:30:23 +01:00
Volker Lendecke
a4b52118d4
Fix nonempty blank lines in vfs_gpfs.c
2008-12-10 18:28:43 +01:00
Volker Lendecke
a0efc4cffb
Fix some merge omissions for GPFS
2008-12-10 18:27:10 +01:00
Volker Lendecke
21b9dec990
Pass the get_real_filename operation through the VFS
...
This is done to help file systems that can tell us about the real upper/lower
case combination given a case-insensitive file name. The sample I will soon
push is the gpfs module (recent gpfs has a get_real_filename function), others
might have a similar function to help alleviate the 1million files in a single
directory problem.
Jeremy, please comment!
Thanks,
Volker
2008-12-10 18:05:26 +01:00
Volker Lendecke
31543640e6
Change get_real_filename() to unix syscall conventions, make it non-static
...
It sets errno, so it might as well return 0/-1.
2008-12-10 17:45:43 +01:00
Volker Lendecke
c7521b25e9
Apply some const
2008-12-10 17:45:43 +01:00
Volker Lendecke
6bb2fff0c1
Rename "scan_directory" to "get_real_filename"
2008-12-10 17:45:43 +01:00