summaryrefslogtreecommitdiff
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* 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)
* 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)
* s3-libnet: fix DEBUG statement in libnet_keytab.Günther Deschner2008-12-121-1/+1
| | | | | Guenther (cherry picked from commit 2dfeb2d5970f52e4948e22a2a4e4f47479a550dc)
* s3-libnet: fix build warning (missing prototype).Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit 60222a78c00ad9d1d09789024184c430bff0f68b)
* s3-libnet_samsync: print new line in display output.Günther Deschner2008-12-121-3/+3
| | | | | Guenther (cherry picked from commit 650077c22b2e67815c9a2fd8a1cc56986c0aaced)
* s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.Günther Deschner2008-12-121-78/+15
| | | | | Guenther (cherry picked from commit 704b0d35707483a8fbf89da55a2d161375e56b3a)
* Use strtoul since id types are unsignedDan Sledz2008-12-121-2/+2
| | | | (cherry picked from commit 7eea7edfd02778599771edd3356888c848578766)
* s3-samr: fix rpcclient after idl change.Günther Deschner2008-12-121-3/+2
| | | | | Guenther (cherry picked from commit 7a3091a48b844bbad93c61a0570fd23bd87f76e1)
* s3-samr: modify logging in _samr_Connect2 so that it can be called from ↵Günther Deschner2008-12-121-4/+16
| | | | | | | other calls as well. Guenther (cherry picked from commit 332456f09bfea29e5a6558b5bd3b8c585892a3f5)
* s3-samr: a level 18 password set needs to set the pwdlastset as well.Günther Deschner2008-12-121-0/+4
| | | | | Guenther (cherry picked from commit 4260aadc2e00b6856d5cc2365ab751f3458472d5)
* s3-samr: fix samr_SetUserInfo level 18 server-side.Günther Deschner2008-12-121-16/+46
| | | | | Guenther (cherry picked from commit e22e9c09d1cb9102180b2a5401d21f391894f1ac)
* s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner2008-12-123-4/+4
| | | | | Guenther (cherry picked from commit 2edf2cef9cb43a65ce8ee8e8a782d248856030dd)
* samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit c94cd674409f01d71bd9174829b1f05b95c50703)
* samr: fill in two unknowns in samr_UserInfo21.Günther Deschner2008-12-121-2/+2
| | | | | Guenther (cherry picked from commit e00a25dbba3daf06c744f998967c27c8a539e558)
* samr: fill in two unknowns in samr_DomInfo13.Günther Deschner2008-12-121-2/+1
| | | | | Guenther (cherry picked from commit b5e5124439b0215c2a82bf816f364661b4ba7785)