summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WHATSNEW: Update changes since 3.3.0rc1.samba-3.3.0rc2Karolin Seeger2008-12-151-0/+4
| | | | | Karolin (cherry picked from commit 34f96b0cdcee3a8ab6612313e70b682f2aa29538)
* VERSION: Change version to 3.3.0rc2.Karolin Seeger2008-12-151-1/+1
| | | | Karolin
* don't return 0 on error - bad for scriptsHerb Lewis2008-12-151-0/+2
| | | | (cherry picked from commit 79d68083411e9119933dbf5c850cb78f47e6f553)
* s3:dsgetdcname: retry with the clients siteStefan Metzmacher2008-12-151-6/+43
| | | | | | metze (cherry picked from commit 1b7b0e924f3064a9774fd5d46bedc3d342b39ddb) (cherry picked from commit f7a811f2ae3572791035014b6e20410b07ea011e)
* s3:libnet_join: use DS_FORCE_REDISCOVERYStefan Metzmacher2008-12-151-0/+1
| | | | | | metze (cherry picked from commit 2bb91392b46e347fe3b6803d10b10d8b40e4a4a6) (cherry picked from commit 134893ef2b12b4b039c717588a8172613f6d1955)
* s3:libnet_join: call saf_join_store() after a the join.Stefan Metzmacher2008-12-151-1/+4
| | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b) (cherry picked from commit 6a993cb333675f4079d439fa334edee2df604933) (cherry picked from commit 8314ce63ff77f0472d4249adcea87123b3b3f5c2)
* s3:libads/ldap.c: store the dc name in the saf cache as in all other placesStefan Metzmacher2008-12-151-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) (cherry picked from commit 17efebde11eafd065c2cac39cdbe55b8d40d40be) (cherry picked from commit 9e78bfdbe107519f2ddfa4d532771945a7691b46)
* s3:libads/ldap.c: if the client belongs to no site at all any dc is the closestStefan Metzmacher2008-12-151-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) (cherry picked from commit a8040d59659e58c5cb92c1107a7ff012eff12729) (cherry picked from commit 7baceea20252dec6b64e86ec8b5a73b62b373758)
* s3:libads/ldap.c: pass the real workgroup name to get_dc_name()Stefan Metzmacher2008-12-151-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) (cherry picked from commit 2f27ffc4a2ba745341a5961b8f04e62da3fb089a) (cherry picked from commit 132911954715bfa6df8566c0fb382ef07a7da96e)
* s3:libsmb/namequery.c: add saf_join_store() functionStefan Metzmacher2008-12-152-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) (cherry picked from commit 895c40d03a07182c054a6fd857e7dd6838e698f4) (cherry picked from commit 7b56268b3c9652e3089bd75e4e51dd626fa742a6)
* s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵Stefan Metzmacher2008-12-151-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) (cherry picked from commit 0c43f96330f2935805ba4f0f8f858a027a90bc4c) (cherry picked from commit caaf59383ceabdc555f7db098dae0455dea65023)
* s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP caseStefan Metzmacher2008-12-151-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) (cherry picked from commit 7f779450cb0b0d9f36665c56c4acd0950daaeab2) (cherry picked from commit 95c9a0272a72c029d75c3ffd1b5fad360b30f139)
* s3: correctly detect if the current dc is the closest oneStefan Metzmacher2008-12-153-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) (cherry picked from commit 588f5aae669910fee6da7f807f330163496b4170) (cherry picked from commit b609f41baa035a15dafb18b2ec569a2b96968b17)
* winbindd: vars for signals must be volatile sig_atomic_tSATOH Fumiyasu2008-12-121-12/+12
| | | | (cherry picked from commit 6ffff93aa3d6e2ecf8716ad44db614cb746d1b56)
* Fix error code when smbclient puts a file over an existing directoryVolker Lendecke2008-12-121-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 (cherry picked from commit fc4366ca11cac97819eb06a744cf8e35b4524bcc)
* Fix the buildVolker Lendecke2008-12-121-0/+3
| | | | | | | Crap, too many trees and no instant, infinitely fast rebuild Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 6459f00d1cad1d5e9e14851610ca7a92406ad54a)
* Also search for -lgpfs which is available as GPL in GPFS PTF8 (cherry picked ↵Volker Lendecke2008-12-121-0/+14
| | | | | | | from commit 3c93c96fd0fe362c35fe8127058f94868abc9342) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 011bcdec1960f4e62538046814d381938956644c)
* Make use of smbd_gpfs_get_realfilename_path in unix_convert (cherry picked ↵Volker Lendecke2008-12-123-0/+88
| | | | | | | from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 25e2ff536b2eeffa18b91ab2141d8350d2130824)
* Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke2008-12-121-55/+50
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit ca5ee1861f0aa170eb862efdb27256a62f20e2b0)
* s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke2008-12-121-2/+2
| | | | (cherry picked from commit efa578bbfe49fdcb14ae6e390a0d54810174dfbc)
* Pass the get_real_filename operation through the VFSVolker Lendecke2008-12-124-4/+24
| | | | | | | | | | | | | | | 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 (cherry picked from commit bddb6a770f036a21f5485e4f1167628f70d56079)
* Change get_real_filename() to unix syscall conventions, make it non-staticVolker Lendecke2008-12-121-13/+14
| | | | | It sets errno, so it might as well return 0/-1. (cherry picked from commit 95050a708c145e99f3c317a5e6834352cbdf5a8c)
* Apply some constVolker Lendecke2008-12-121-2/+2
| | | | (cherry picked from commit 915b6fbf269a542603da289d8f67b6ca5226e1a0)
* Rename "scan_directory" to "get_real_filename"Volker Lendecke2008-12-121-12/+12
| | | | (cherry picked from commit 9ce0855c11ed437e7e0776dbf725751ea7b84959)
* s3 sesssetup.c: Add missing line break to debug message.root2008-12-121-1/+1
| | | | | Karolin (cherry picked from commit eef7ee5f31dc94639580b01283bc0dbe9a90dbde)
* WHATSNEW: Prepare WHATSNEW for 3.3.0rc2.Karolin Seeger2008-12-121-176/+43
| | | | | Karolin (cherry picked from commit b1875b8e543abfc836309bc6371039e590c6d523)
* docs: Add hint that "socket address" usually don't need to be set.Karolin Seeger2008-12-121-5/+7
| | | | | | | | | | This fixes bug #5950. Thanks to the Debian Samba package maintainers for reporting! Karolin (cherry picked from commit 19beef0dd9354296ae79d32077c58fbacf570c85) (cherry picked from commit 0d035d36bd3707ccb9f77f0b2730869dc78719d4) (cherry picked from commit 6be19f94802d545cc43286aa242b0ca2e5b79721)
* mount.cifs: allow mounts to ipv6 capable serversJeff Layton2008-12-121-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> (cherry picked from commit 4f19e0850bb457b41ea2953ca0d4e9aeaf3bc09a)
* packaging(RHEL-CTDB): don't show failure messages in check for ccacheMichael Adam2008-12-121-1/+1
| | | | | | | | by fixing the order of "> /dev/null 2>&1" Michael (cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382) (cherry picked from commit 6e51f250c5d38e973948aa1d53222bcccdcca365)
* packaging(RHEL-CTDB): fix the build when ccache is not found.Michael Adam2008-12-121-2/+1
| | | | | | Michael (cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e) (cherry picked from commit 7d929d9fa363a1f1c67926678524f338e84b3535)
* packaging(RHEL-CTDB): explicitly build the gpfs moduleMichael Adam2008-12-122-2/+2
| | | | | | | | | to prevent potetential problems on PTF8 systems where there is no valid autodetecting configure check yet. Michael (cherry picked from commit 37039d345e9a25654bef038f2b8bb4b891cfa6f0) (cherry picked from commit b486890eb0883508c5ade3e1e4e99ac728b6bf71)
* packaging(RHEL-CTDB): use ccache if availableMichael Adam2008-12-121-5/+5
| | | | | | Michael (cherry picked from commit 36ca917a63f23126536e786bed845dee48fbf61c) (cherry picked from commit 05b51bc176f87e7dc1b65adf3d866e797159d953)
* packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec fileMichael Adam2008-12-121-22/+44
| | | | | | Michael (cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d) (cherry picked from commit 402ac73f436e1b1b71199bbef44be775dc67801c)
* packaging(RHEL-CTDB): move the cifs.upcall manpage to the client packageMichael Adam2008-12-121-1/+1
| | | | | | Michael (cherry picked from commit 16f23eb27467ace9751ef2d1fbb6c4d3a5ae9550) (cherry picked from commit 9538e3130f33ffde1d68eaea303b2b2dd9ddd71d)
* packaging(RHEL-CTDB): add the cifs.upcall binary to the client package.Michael Adam2008-12-121-0/+2
| | | | | | Michael (cherry picked from commit 1875b373a319ac9494fdc907793e59804c577a4d) (cherry picked from commit e1dca5f1870975b7d9a57869357c971d559afdfe)
* packaging(RHEL-CTDB): fix typo in makerpms.shMichael Adam2008-12-121-2/+2
| | | | | | Michael (cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853) (cherry picked from commit 0e35ff0b46be2f9deab6e539c34970c85c3b58ce)
* packaging(RHEL-CTDB): refactor creation of spec file from template outMichael Adam2008-12-122-19/+42
| | | | | | | | into new script makespec.sh Michael (cherry picked from commit d49a9d1c67e4d98017ce5f7d1351bca1366e1a8d) (cherry picked from commit 086873f00de96ca48717b05dddb71e776c74ca7d)
* packaging(RHEL-CTDB): fix installation of pam modulesMichael Adam2008-12-121-4/+2
| | | | | | | use configure parameter to specify the pam modules dir. Michael (cherry picked from commit 24282daa5e293ef9362a69f7f70a684587d6763a)
* netapi: fix access bits in netapi.Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit a42b38b34d4e97d2c196e67aef3b01d4f043b646)
* s3-samr-server: remove unused historic code.Günther Deschner2008-12-121-60/+0
| | | | | Guenther (cherry picked from commit 273edcb97c19e6318002aa9af950da22018a64dd)
* s3-netlogon: kill an fstring in rpc_server.Günther Deschner2008-12-121-6/+3
| | | | | Guenther (cherry picked from commit b39c3b6445a80cb04e131947408da6af689c5ac7)
* Remove unused CLI_DO_RPC macros (This used to be commit ↵Volker Lendecke2008-12-121-48/+0
| | | | | | f5212c64d23a28fa40a14b45a8d1c0181f01a6da) (cherry picked from commit a9b2522b6c400c5594073ff4b2a40983b5c492e7)
* s3-passdb: remove unused (now samr.idl) ACCT_NT/LM_PWD_SET flags.Günther Deschner2008-12-121-10/+0
| | | | | Guenther (cherry picked from commit 210e4cb42833fc6e4f934bd5f4406f37ee0a347d)
* make installmo.sh executeable.Günther Deschner2008-12-121-0/+0
| | | | | Guenther (cherry picked from commit c1b0bfeefa57cdb0e2234474027003257a521ab8)
* Fix an uninitialized variable warningVolker Lendecke2008-12-121-1/+1
| | | | | Andreas Schneider, please check! (cherry picked from commit 3673581e02baa1c65d8d08df041f2ebf9ee1780c)
* samr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit 9e8aa924f34c1db89151e83f3b561c043da0c994)
* s3-build: re-run make samba3-idl.Günther Deschner2008-12-125-29/+84
| | | | | Guenther (cherry picked from commit c38e067dffea512ff67384e6e2850ab682c27f46)
* s3-samr-idl: fix samr_ValidatePassword.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit 7b2b810d30bf58df83ec3f2ec7505c43187d62f9)
* s3-samr-idl: fix samr_QueryUserInfo2.Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit a8484c418afb5bb611e3b126e09e90d375f40b22)
* messaging: move types to IDL.Günther Deschner2008-12-126-90/+280
| | | | | | Guenther (This used to be commit 6c346d0eb20af5ba9b09f30319420f7c91480da6) (cherry picked from commit f97468bfecd3d227c7e942cb56f32c6aecf0887b)