summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-01regdb: let regdb_fetch_keys() handle NULL and failure cases in the same way ↵Stefan Metzmacher1-1/+0
and return -1 metze (This used to be commit 983fd58805a429792fc8eaa816e2dd908643414e)
2008-04-01regdb: get the seqnum before the record, to not miss somethingStefan Metzmacher1-4/+4
metze (This used to be commit c214107bd9bbf9b17936757437ec211d7de3048e)
2008-04-01regdb: use dbwrap->fetch() instead of fetch_locked() for readonly access"Stefan Metzmacher1-10/+12
This is the fixed version of commit 5c28c74aa06a82559f498373b3d6e9892d5c2cbe. metze (This used to be commit 924acd7f695d7514b1a4628468137cf632c8f1f0)
2008-04-01test: make registry tests more portable: protect some grep patterns in ' '.Michael Adam1-4/+4
Michael (This used to be commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
2008-04-01test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'Michael Adam1-12/+12
Michael (This used to be commit 5c1b7ee5c17489da90192309853aa1ecacc15512)
2008-03-31Ok, final move of this code :-). I think I've found the correctJeremy Allison1-9/+9
place for it now where it will cause minimal disruption (only call the extra message_dispatch just before reading the next smb off the wire). Jeremy. (This used to be commit da2c19c481d0041872b4ce2f5105052077f3d3b8)
2008-03-31Move the message_dispatch() call after the check for errno onJeremy Allison1-11/+11
the select return. We don't want the call to message_dispatch to mess up the errno value. Jeremy. (This used to be commit 26a74d01bb2b53ffa5d296ff1c7d8b2b0d17831a)
2008-03-31Reduce the race condition in Samba4 in RAW-RENAME test. We rename a fileJeremy Allison1-0/+9
using trans2 setfileinfo on one connection, and then check the file name has changed on the other. In Samba we achieve this by sending a local message to the other process. This change causes us to re-scan for incoming messages after we've woken up from the select (which is cheap if there are no pending messages). This reduces the race significantly. Volker please review. Jeremy. (This used to be commit a7499e994aef743ea9c443f9a1618b262f6eda93)
2008-04-01Fix build of rpcclient.Günther Deschner1-2/+2
Guenther (This used to be commit 3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
2008-04-01Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
2008-04-01Fix SRVSVC NetShareInfo level 502 client-side.Günther Deschner1-2/+2
Guenther (This used to be commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
2008-04-01Fix SRVSVC ShareInfo level 502 server side handling.Günther Deschner2-8/+8
Guenther (This used to be commit 776facabf6f09f643d6dc526aa83f8db517465f9)
2008-04-01Re-run make idl.Günther Deschner2-39/+6
Guenther (This used to be commit 3adf82554a6f54878aed99c3e894aef1b7ecfd84)
2008-04-01Fix IDL for srvsvc_NetShareInfo502. It does indeed contain a sec_desc_buf.Günther Deschner1-3/+1
Guenther (This used to be commit da7f006539219f8ccd525ef1fcd131d5f9558bf1)
2008-04-01Fix SRVSVC ShareInfo max_users handling server side.Günther Deschner2-8/+8
Guenther (This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
2008-04-01Re-run make idl.Günther Deschner2-8/+8
Guenther (This used to be commit 1b6083449fbc2a252c046a0757c411be64e6b6c0)
2008-04-01Use uint32 in max_users field in SRVSVC ShareInfo levels consistently.Günther Deschner1-2/+2
Guenther (This used to be commit 29c42792567870f3dc23363f4357fecbec862937)
2008-04-01Fix _srvsvc_NetShareSetInfo.Günther Deschner1-3/+5
Guenther (This used to be commit 2fd90b62d7e61fa0c23f8f41e9f12fc16f29a8b1)
2008-04-01test: add test script for testing "net registry".Michael Adam2-0/+385
Michael (This used to be commit fa5968a26b552d7f13574a826e506ed2d6630feb)
2008-03-31mount.cifs: fix several problems when mounting subdirectories of shares (try 2)Jeff Layton1-24/+66
This patch is the second patch to attempt to fix up some of the problems with mounting subdirectories of shares. The earlier patch didn't handle this correctly when POSIX extensions were enabled. This one does. This is a bit of a confusing area since the different components of a service string have different rules: 1) hostname: no '/' (slash) or '\' (backslash) is allowed to be embedded within the string 2) sharename: same rules as hostname 3) prefixpath: '\' *is* allowed to be embedded in a path component, iff POSIX extensions are enabled. Otherwise, neither character is allowed. The idea here is to allow either character to act as a delimiter when we know that the character can't be anything but a delimiter (namely everywhere up to the start of the prefixpath). The patch will convert any '\' unconditionally to '/' in the UNC portion of the string. However, inside the prefixpath, we can't make assumptions about what constitutes a delimiter because POSIX allows for embedded '\' characters. So there we don't attempt to do any conversion, and pass the prefixpath to the kernel as is. Once the kernel determines whether POSIX extensions are enabled, it can then convert the path if needed and it's able to do so. A patch to handle this has already been committed to the cifs-2.6 git tree. This patch also fixes an annoyance. When you mount a subdir of a share, mount.cifs munges the device string so that you can't tell what the prefixpath is. So if I mount: //server/share/p1/p2/p3 ..then /proc/mounts and mtab will show only: //server/share Finally, it also tries to apply some consistent rules to the uppercasing of strings. Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit e03d1dfdb80333c071b600245eb749ef5664aa22)
2008-03-31Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP ↵Gerald W. Carter2-2/+5
and WinXP64. Defines a new value for the %a variable when detecting a Windows XP 64-bit client. (This used to be commit 0c94918fb52c5345ce30490046b79f81712c30bf)
2008-03-31Re-add support for the samr parameters string.Günther Deschner4-44/+50
(dialin settings, terminal server settings, etc.) Guenther (This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-31Re-run make idl.Günther Deschner2-12/+12
Guenther (This used to be commit 35a70c65beed1c4a1fab4113af7a5b232f23063b)
2008-03-31The parameters string (aka munged dial string) in samr is not a normal ↵Günther Deschner1-2/+2
lsa_String. Guenther (This used to be commit 98606c667a425113d87b2756ee7df34f67445539)
2008-03-31Add init_samr_parameters_string().Günther Deschner1-0/+35
Guenther (This used to be commit 8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
2008-03-31Fix enumeration of forest trusts from our root domain.Gerald W. Carter1-1/+1
Do not overwrite the domain->domain_flags when setting infomation in set_dc_type_and_flags_connect(). (This used to be commit 3414eac439b731ad7204b821ddc4fec54fe4435d)
2008-03-31DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter1-10/+16
This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output. (This used to be commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
2008-03-31Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman2-28/+169
direction, and transitivty of trusts. * added several helper functions to convert the trust_flags field in the winbindd_tdc_domain to more useful administrator ideas of trust type, trust direction, and trust transitivity. * converted winbindd_list_trusted_domains() to enumerate the trusted domain cache, instead of the domain list, and return additional trust information to the calling process * modified wbinfo to pretty print this additional trust information when a new --verbose switch is given with -m. Thus "wbinfo -m" and "wbinfo -all-domains" output as before, but "wbinfo --verbose -m" prints extra trust info. * updated some comments and fixed typos (This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
2008-03-31Forest root trust flags won't overwrite child trust flagsSteven Danneman2-33/+54
* changed the behavior of winbind_ads.c:trusted_domains() to not overwrite existing trust information if we're joined to a child domain, and querying the forest root domain. Previously if we were joined to a child domain, we'd request all known trust information from this child domain (our primary domain) and store it in the tdc. We'd then request all trust information from our tree root (to get the forests we transitively trust) and overwrite the existing trust information we already had from the perspective of the tree root. * updated several comments and fixed typos (This used to be commit 6aac972d790ad5ca65096cb2e85e6819b60a5413)
2008-03-31test: add (and unify) sectioning output of subtests in tests_all.shMichael Adam1-2/+8
Michael (This used to be commit d775194e9c7b75182c485fba427b20ec2bfcf16c)
2008-03-31test: add possibility to select tests to run via tests_all.sh (make test)Michael Adam1-8/+14
This allows to select the tests to run with tests_all.sh by setting the environment variable "RUNTESTS". Example: RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test Michael (This used to be commit bf4af79f050cceb6611a8aa3d893b59b816a41ce)
2008-03-31test: in tests_all.sh, wrap calls to test scripts into shell functions.Michael Adam1-20/+63
This is in preparation for enabling running only selected test scripts through "make test". Michael (This used to be commit ad1fbadf81c915425301ec495744c11f3103169f)
2008-03-31registry: reg_deletevalue should return error, when the value does not exist.Michael Adam1-0/+18
Michael (This used to be commit 04b48984bbf84c55bb41a74a11cbcc7358377fed)
2008-03-31wbinfo: use wbcAllocateGid()Stefan Metzmacher1-1/+8
metze (This used to be commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
2008-03-31wbinfo: use wbcAllocateUid()Stefan Metzmacher1-1/+8
metze (This used to be commit a7d735df292cee7dd6e23c7d2328481d57162904)
2008-03-31wbinfo: use wbcSidToGid()Stefan Metzmacher1-10/+12
metze (This used to be commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
2008-03-31wbinfo: use wbcSidToUid()Stefan Metzmacher1-10/+12
metze (This used to be commit a25b39cac1716323154dd30acb30180d3273587b)
2008-03-31wbinfo: use wbcGitToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
2008-03-31wbinfo: use wbcUidToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
2008-03-31wbinfo: use wbcPing()Stefan Metzmacher1-7/+5
metze (This used to be commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
2008-03-31build: fix configure option --with-static-libs=libXYZMichael Adam1-1/+1
This should not prevent building but linking of shared lib for subsystem XYZ (example --with-static-libs=libtdb). m4 quotation is tricky... Michael (This used to be commit 4d0a5d5c93ddab444a0097e1c56e4363574cb2b6)
2008-03-30Revert "regdb: use dbwrap->fetch() instead of fetch_locked() for readonly ↵Michael Adam1-11/+10
access" This reverts commit 4e2be189e97f653b75bd88135a631ce0f42db267. Metze, this broke the registry (reg_api layer), but I don't yet know exactly how and why. By the way, the locks there had the purpose of fetching the seqnum that really matches the data. This needs some more thought / debugging. But I wanted to have the tree in a working state again. Michael (This used to be commit 5c28c74aa06a82559f498373b3d6e9892d5c2cbe)
2008-03-29Fix a segfault (an uninitialized variable)Volker Lendecke1-3/+3
(This used to be commit 75eb30884a83266fd7331d8f1e3905a0245bb3d8)
2008-03-29winbindd_cache: add missing validation function for pwinfo cache entryMichael Adam1-0/+24
Michael (This used to be commit 6d3fc63bfab06346fa57719e8747397873a3c46d)
2008-03-28Fix missing '&&'.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 251df53811e4272b629575a4b50c29a99715ccf9)
2008-03-28Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison7-28/+145
v3-2-test (This used to be commit 985bd1e642b6e54f1bc95cd4cfcceb96107e383d)
2008-03-28Only allow sendfile on non-stream fsp's. Should fix make test for streamsJeremy Allison1-2/+2
as sendfile isn't implemented in the streams vfs modules yet. Jeremy. (This used to be commit eef53e9603d4f3d892ffe00b061def5d717ca481)
2008-03-29Zero initial return_authenticator in net rpc samdump.Günther Deschner1-0/+2
Guenther (This used to be commit 73ead752c5ec7104ea0eed7d963dc36467c81981)
2008-03-29Don't let winbind getgroups crash when we have no gids in the token.Günther Deschner1-3/+5
Guenther (This used to be commit 6a576cfe9b87e69af6acbe9abc04124b8b743fd3)
2008-03-28Re-run make idl.Günther Deschner3-15/+84
Guenther (This used to be commit 58018ad7f65409d971e5db7165f1b32b572cc275)