summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-13s3:dsgetdcname: retry with the clients siteStefan Metzmacher1-6/+43
metze
2008-12-13s3:libnet_join: use DS_FORCE_REDISCOVERYStefan Metzmacher1-0/+1
metze
2008-12-13s3:libnet_join: call saf_join_store() after a the join.Stefan Metzmacher1-1/+4
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)
2008-12-13s3:libads/ldap.c: store the dc name in the saf cache as in all other placesStefan Metzmacher1-3/+2
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59)
2008-12-13s3:libads/ldap.c: if the client belongs to no site at all any dc is the closestStefan Metzmacher1-0/+5
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit f86ef9b53a903485deba94febf90dd4e657cc02b)
2008-12-13s3:libads/ldap.c: pass the real workgroup name to get_dc_name()Stefan Metzmacher1-1/+10
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc)
2008-12-13s3:libsmb/namequery.c: add saf_join_store() functionStefan Metzmacher2-3/+66
saf_join_store() should be called after a successful domain join, the affinity to the dc used at join time has a larger ttl, to avoid problems with delayed replication. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c)
2008-12-13s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵Stefan Metzmacher1-0/+9
in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)
2008-12-13s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP caseStefan Metzmacher1-1/+25
We use get_dc_name() for LDAP because it generates the selfwritten krb5.conf with the correct kdc addresses and sets KRB5_CONFIG. For CLDAP we need to use get_sorted_dc_list() to avoid recursion. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f)
2008-12-13s3: correctly detect if the current dc is the closest oneStefan Metzmacher3-3/+1
ads->config.tried_closest_dc was never set. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
2008-12-13Fix a valgrind error in get_relative_fid_filenameVolker Lendecke1-1/+1
It doesn't really make sense to check the length of a not-yet-allocated string :-) Volker
2008-12-13For read&x replies, check the offsetVolker Lendecke1-0/+19
2008-12-13s3: fix netlogon rpc_server build after idl change.Günther Deschner1-3/+3
Guenther
2008-12-13s3: re-run make samba3-idl.Günther Deschner5-14/+8
Guenther
2008-12-13s3: remove duplicate prototypes in proto.h.Günther Deschner1-778/+0
Guenther
2008-12-12winbindd: vars for signals must be volatile sig_atomic_tSATOH Fumiyasu1-12/+12
2008-12-12Fix error code when smbclient puts a file over an existing directoryVolker Lendecke1-1/+1
Windows returns NT_STATUS_FILE_IS_A_DIRECTORY, as does Samba 3.0. 3.2 and following returned NT_STATUS_INVALID_PARAMETER which is wrong. Before I converted reply_open_and_X to create_file() we called open_file_ntcreate directly. Passing through open&X for a filename that exists as a directory ends up in open_directory after having tried open_file_ntcreate. Some check in there returns NT_STATUS_INVALID_PARAMETER. With this additional FILE_NON_DIRECTORY_FILE flag we get the correct error message back from create_file_unixpath before trying open_directory(). Survives make test, but as this also touches the other open variants I would like others to review this. Volker
2008-12-12s3 sesssetup.c: Add missing line break to debug message.root1-1/+1
Karolin
2008-12-12docs: Add hint that "socket address" usually don't need to be set.Karolin Seeger1-5/+7
This fixes bug #5950. Thanks to the Debian Samba package maintainers for reporting! Karolin
2008-12-12mount.cifs: allow mounts to ipv6 capable serversJeff Layton1-101/+120
The current name resolution scheme in mount.cifs is IPv4 only. Expand it to be protocol-independent. Also take advantage of the fact that getaddrinfo() returns a list of addresses and have mount.cifs try each in turn until it hits one that's reachable and allows the socket to connect. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-12-12Remove noejs property, which is no longer used.Jelmer Vernooij7-10/+8
2008-12-12Add convenience function for determining if an array should be allocated ↵Jelmer Vernooij3-7/+16
with talloc.
2008-12-12Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-1/+1
2008-12-12Remove EJS backend for PIDL, as we don't have EJS anymore.Jelmer Vernooij2-911/+0
2008-12-12s4:fix segfault in rpc-server, when client binds to unsupported service.Stefan Metzmacher1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-11s3: Use strtoul since id types are unsignedDan Sledz1-2/+2
2008-12-11Install symlink for convenience for the samba4 setup directory.Jelmer Vernooij1-1/+3
2008-12-11Add interactive flag to setup/provision (also the default when no arguments ↵Jelmer Vernooij1-2/+27
are given).
2008-12-11Build python modules by default in merged build (required for provision).Jelmer Vernooij1-1/+1
2008-12-11Samba3-HOWTO: Fix usage of 'net idmap restore'.Karolin Seeger1-1/+1
This fixes bug #5883. Karolin
2008-12-11s4:selftest: samba4 fails the changed delete testStefan Metzmacher1-0/+2
metze
2008-12-11s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵Stefan Metzmacher7-49/+115
only the first one metze
2008-12-11packaging(RHEL-CTDB): don't show failure messages in check for ccacheMichael Adam1-1/+1
by fixing the order of "> /dev/null 2>&1" Michael (cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382) (cherry picked from commit 6e51f250c5d38e973948aa1d53222bcccdcca365)
2008-12-11packaging(RHEL-CTDB): fix the build when ccache is not found.Michael Adam1-2/+1
Michael (cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e) (cherry picked from commit 7d929d9fa363a1f1c67926678524f338e84b3535)
2008-12-11packaging(RHEL-CTDB): use ccache if availableMichael Adam1-5/+5
Michael (cherry picked from commit 36ca917a63f23126536e786bed845dee48fbf61c) (cherry picked from commit 05b51bc176f87e7dc1b65adf3d866e797159d953)
2008-12-11packaging(RHEL-CTDB): move the cifs.upcall manpage to the client packageMichael Adam1-1/+1
Michael (cherry picked from commit 16f23eb27467ace9751ef2d1fbb6c4d3a5ae9550) (cherry picked from commit 9538e3130f33ffde1d68eaea303b2b2dd9ddd71d)
2008-12-11packaging(RHEL-CTDB): add the cifs.upcall binary to the client package.Michael Adam1-0/+2
Michael (cherry picked from commit 1875b373a319ac9494fdc907793e59804c577a4d) (cherry picked from commit e1dca5f1870975b7d9a57869357c971d559afdfe)
2008-12-11packaging(RHEL-CTDB): fix typo in makerpms.shMichael Adam1-2/+2
Michael (cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853) (cherry picked from commit 0e35ff0b46be2f9deab6e539c34970c85c3b58ce)
2008-12-11packaging(RHEL-CTDB): refactor creation of spec file from template outMichael Adam2-19/+42
into new script makespec.sh Michael (cherry picked from commit d49a9d1c67e4d98017ce5f7d1351bca1366e1a8d) (cherry picked from commit 086873f00de96ca48717b05dddb71e776c74ca7d)
2008-12-11packaging(RHEL-CTDB): fix installation of pam modulesMichael Adam1-4/+2
use configure parameter to specify the pam modules dir. Michael (cherry picked from commit 24282daa5e293ef9362a69f7f70a684587d6763a)
2008-12-11s3-libnet: fix DEBUG statement in libnet_keytab.Günther Deschner1-1/+1
Guenther
2008-12-10Make the LookupRid access check match LookupName untilJeremy Allison1-1/+1
we know the correct bits to use here. Jeremy.
2008-12-10Fix usrmgr opening a user object as non-root.Jeremy Allison1-1/+1
Jeremy.
2008-12-11Fix the buildVolker Lendecke1-0/+3
Crap, too many trees and no instant, infinitely fast rebuild Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10Also search for -lgpfs which is available as GPL in GPFS PTF8Volker Lendecke1-0/+14
(cherry picked from commit 3c93c96fd0fe362c35fe8127058f94868abc9342) Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2-0/+86
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke1-55/+50
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke1-2/+2
2008-12-10packaging(RHEL-CTDB): explicitly build the gpfs moduleMichael Adam2-2/+2
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-10packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec fileMichael Adam1-22/+44
Michael (cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d) Signed-off-by: Michael Adam <obnox@samba.org>