summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a debug message to lookup_rids() printing the domain SID.Michael Adam2008-01-251-0/+3
| | | | | | | | This is to ease debugging. I sporadically get panics that are apparently due to NULL domain sid passed to lookup_rids somewhere. Michael (This used to be commit 723e877c241dd5a0c8addb89507c9eda75b88ea4)
* Add a debug message winbindd_can_contact_domain()Michael Adam2008-01-251-0/+2
| | | | | | | explaining the reason for failure. Michael (This used to be commit ba5373ed7f74d560a9de8620039b596b8938d1dc)
* Fix assignment to request->data.init_conn.is_primary in init_child_connection().Michael Adam2008-01-251-1/+1
| | | | | | | | | | | | | | | | The present assignment "request->data.init_conn.is_primary = domain->internal ? False : True" simply feels wrong. This seems to be the thing right to do: "request->data.init_conn.is_primary = domain->primary ? true : false". The question is: Does this have any purpose at all? data.init_conn.is_primary seems to be used nowhere in the whole code at all. Is it (still) needed? Michael (This used to be commit 8bb21b8b3802e7b093a3c4fb41b8550033388878)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-01-2422-192/+321
|\ | | | | | | | | | | v3-2-test (This used to be commit ef2913a66c3888d4813d8b778ddd63b2c7e48f3e)
| * Trying to avoid defining new SAMR acct creation flags when we already have ↵Günther Deschner2008-01-256-50/+35
| | | | | | | | | | | | | | | | | | them with different names. Matt, Jeremy, please check. Guenther (This used to be commit d4a9e46edf7336f673c001c559af96eb0ecf9f6f)
| * Re-run make idl.Günther Deschner2008-01-254-76/+64
| | | | | | | | | | Guenther (This used to be commit c0bf3af692bee5bc5a3405feb405e67d35d77a16)
| * Rename samr_*AccessMask bitfields to start with SAMR_.Günther Deschner2008-01-251-32/+32
| | | | | | | | | | Guenther (This used to be commit 6226f2294e83501d01d18a954bb36efec37aea75)
| * Add WERR_INVALID_COMPUTER_NAME.Günther Deschner2008-01-242-0/+2
| | | | | | | | | | Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd)
| * Add cmd_netlogon_gettrustrid() to rpcclient.Günther Deschner2008-01-241-0/+42
| | | | | | | | | | Guenther (This used to be commit 231a4d051f24af7cf5bf13d7dd613f33dc06f21a)
| * make idl.Günther Deschner2008-01-247-33/+141
| | | | | | | | | | Guenther (This used to be commit 212f6fc000d093bad9f78307743639b391db3fe5)
| * Add IDL for netr_LogonGetTrustRid.Günther Deschner2008-01-241-1/+5
| | | | | | | | | | Guenther (This used to be commit 6f38c2f06080943bb64ce24115ec2164b6c21b95)
* | Make explicit in debug we're ignoring flags from the parent SD.Jeremy Allison2008-01-241-6/+10
|/ | | | | Jeremy (This used to be commit 58cfa4b1bdc1ce30cc3befb342cc98ac0e283585)
* Add debug messages to trace this if needed.Jeremy Allison2008-01-241-0/+14
| | | | | Jeremy. (This used to be commit b628269b3260661cb4eeeab8c533b3129827ba62)
* The checks for OI and CI were just wrong.... Fix them. Thanks toJeremy Allison2008-01-241-9/+4
| | | | | | Jim for testing this. Jeremy. (This used to be commit e898789e0d819df05b14bcedfa1d230c7a983440)
* First part of fix for bug #4929 - worked out by jmcd.Jeremy Allison2008-01-241-80/+29
| | | | | | Cope with protected ACL set correctly. Jeremy. (This used to be commit f5e50f42e7c79b4f8857602457db5b97886bd19e)
* Fix winbindd build w/o ADS.Günther Deschner2008-01-241-3/+7
| | | | | Guenther (This used to be commit 40daef4c3d822a28467ff521efca6a55a0370050)
* Fix Coverity ID 454Volker Lendecke2008-01-241-1/+8
| | | | (This used to be commit 902d1d6709e47fbc8b538f28cb4364b006c431f8)
* Fix Coverity ID 463Volker Lendecke2008-01-241-1/+3
| | | | (This used to be commit 21d126c56a633d2d72ffad08db7331ecc0ee3c0c)
* Fix Coverity ID 465Volker Lendecke2008-01-241-0/+2
| | | | (This used to be commit 8629a0e1c3da7c2d2b0c1d99224177c54bbae930)
* Add winbind_msg_dump_domain_list to winbindd.Günther Deschner2008-01-242-0/+88
| | | | | Guenther (This used to be commit 54ad97bd8364c393de2c9471a4c14ca5b880b318)
* Add winbindd debugging ndr_print helpers.Günther Deschner2008-01-242-0/+150
| | | | | Guenther (This used to be commit 4389e4dadbf07c176d9102b74c06e62ecfc242be)
* Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner2008-01-242-0/+58
| | | | | Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
* rerun 'make idl'Stefan Metzmacher2008-01-2411-113/+45
| | | | | metze (This used to be commit 37b95450518419e2153e9930b63f894b68096d3d)
* netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32Stefan Metzmacher2008-01-242-5/+10
| | | | | | metze (cherry picked from commit 7222edb9cde5cdeb9d065e890775a7254b26648f) (This used to be commit 503082e15e03def33434d3e5ff4fbe750873aab0)
* Re-run make idl and use generated ndr based on samba4 security.idl (except ↵Günther Deschner2008-01-2410-1157/+1410
| | | | | | | for DOM_SID). Guenther (This used to be commit 1781a57b18f681f1bc03873330147a813f10eba2)
* Merge over security.idl from samba4.Günther Deschner2008-01-241-2/+19
| | | | | Guenther (This used to be commit 57f2b8d0a8d8987a62419e9852ac9a9cf39c3109)
* Fix samr_EnumDomainUsers in samba3, must not be a ref pointer here.Günther Deschner2008-01-244-14/+22
| | | | | Guenther (This used to be commit 3b87c5ce4f74f8dd01bfdf8859c6c832da15cd24)
* netlogon.idl: make use of bitmap samr_GroupAttrsStefan Metzmacher2008-01-241-1/+2
| | | | | | | metze (from v4-0-test 6d68161e676d381600c77c3f862bd7e013968724) (This used to be commit 9b5f69cb1f7d22174b2cd67ebf02a271d4bf6e2f)
* netlogon.idl: remove unused netr_GroupsMembership structureStefan Metzmacher2008-01-241-5/+0
| | | | | | | | We have samr_RidWithAttribute and use that in all cases. metze (cherry picked from commit 3c5bae2249d01213ff4bd7df2b4e3ac04da4a52d) (This used to be commit 6ed640fadea6355dd6808db156228e6876d9f064)
* More read_data -> read_socket_with_timeoutVolker Lendecke2008-01-241-16/+3
| | | | (This used to be commit f1d7de462cf0f64648a3a1fc6f0c64a7bbdb3c2a)
* Merge branch 'setxattr-dos-mode' into v3-2-testDerrell Lipman2008-01-231-1/+9
|\ | | | | | | (This used to be commit 4c08725a42a8babf0f078fb4b221a96f58deeb50)
| * Allow clearing all settable DOS mode bits. A mode value of zero is ignored byDerrell Lipman2008-01-231-1/+9
| | | | | | | | | | | | | | | | | | | | Windows. If the requested mode is zero, we instead send the appropriate one of 0x80 (NORMAL) or 0x10 (DIRECTORY). Thanks Jeremy! Derrell (This used to be commit 54abf7d0e595e9cbeea115a40d4f7b995252a150)
* | Don't leak memory in error path.Jeremy Allison2008-01-231-0/+1
| | | | | | | | | | Jeremy. (This used to be commit 2df0cdaafdced798f81e30d34371aa1d8e963208)
* | Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.Jeremy Allison2008-01-231-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 090061b73a1c086ff8a7797e1a63532eacd91148)
* | Fix Windows 2008 (Longhorn) join.Andreas Schneider2008-01-231-1/+15
| | | | | | | | | | | | | | During 'net ads join' the cli->desthost is a hostname (e.g. rupert.galaxy.site). Check if we have a hostname and use only the first part, the machine name, of the string. (This used to be commit 5f60ed4af680ba2811db8d9f8267348ce05f26d2)
* | Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider2008-01-238-9/+11
| | | | | | | | | | Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
* | Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison2008-01-238-20/+71
| | | | | | | | | | | | | | patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
* | read_socket_with_timeout has timeout=0 handlingVolker Lendecke2008-01-233-67/+9
| | | | | | | | (This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
* | strtok -> strtok_rVolker Lendecke2008-01-2318-47/+75
| | | | | | | | (This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
* | Fix panic: Don't free the logfilename in winbind_child_died().Michael Adam2008-01-231-1/+0
| | | | | | | | | | | | | | | | The child struct is immediately reused, and this results in a panic when child->logfilename == NULL. Michael (This used to be commit da131d089db98017632103aa9bbe38c98f7a3fc1)
* | Initialize _domain_list to NULL.Michael Adam2008-01-231-1/+1
| | | | | | | | | | | | | | Just to be sure the "if (!_domain_list)" in domain_list() test always works. Michael (This used to be commit 1f49065d44dd7570d5a9928359751bd36f287952)
* | Fix get_trust_creds() to return always an upper-cased krb5 principal (thisGünther Deschner2008-01-231-4/+8
| | | | | | | | | | | | | | fixes winbind krb5 session at least with heimdal). Guenther (This used to be commit 9cf3a98eacea2dd07f89245f147e002b3f49482e)
* | Remove two unused variablesVolker Lendecke2008-01-232-2/+0
| | | | | | | | (This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
* | Fix tab_depth: it should not create an extra debug header.Michael Adam2008-01-232-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | In pstring removal 4ae4b23586, the behaviour of tab_depth was changed to create an extra debug header (by using the DEBUGLVL macro). This extracts the debug level check from DEBUGLVL into a macro CHECK_DEBUGLVL without the debug header creation and uses this instead of DEBUGLVL in tab_depth. Michael (This used to be commit cbc7d921fa696e6c3c5197ad9f87442ba679df82)
* | Get Samba version or capability information from WindowsCorinna Vinschen2008-01-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Jan 22 13:31, Volker Lendecke wrote: > On Tue, Jan 22, 2008 at 11:33:17AM +0100, Corinna Vinschen wrote: > > Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened > > samba_version_string to 28 bytes. New patch below. > > Ok, pushed with some modifications. You might want to review > that. Reviewed and tested. Looks good, thank you! Below you'll find a tiny patch to add the git commit date. It seems I simply missed its existence in version.h :( Tested on Windows XP. Thanks, Corinna * source/smbd/trans2.c (samba_extended_info_version): Fill out samba_gitcommitdate member with GIT commit timestamp. (This used to be commit a33d0797585b5cdd304ac1eb6966b9c7c799bab6)
* | Move samba_extended_info_version to smbd/trans2.cVolker Lendecke2008-01-223-33/+32
| | | | | | | | | | | | This is right now only used there, and in version.c it gave linker errors because some binaries (e.g. smbmnt) don't link in time.o (This used to be commit 1f0eaaa5911f893c822465a26fe49ab65afb0730)
* | Avoid use of uninitialized memoryVolker Lendecke2008-01-221-1/+4
| | | | | | | | (This used to be commit 85123aacdb13e97c3f44aeded1c80e13af53d83d)
* | Get Samba version or capability information from WindowsCorinna Vinschen2008-01-223-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Jan 21 16:18, Danilo Almeida wrote: > Corina wrote: > > > + time_t samba_gitcommitdate; > > And: > > > + SIVAL(pdata,28,extended_info.samba_gitcommitdate); > > + memcpy(pdata+32,extended_info.samba_version_string,32); > > Note that you are dropping bits on a system w/64-bit time_t, and that this has the 2038 problem. Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened samba_version_string to 28 bytes. New patch below. Thanks, Corinna (This used to be commit 28aa1c199d3a22cda34afcaab49c0561eeb0abcb)
* | Hide streams from the EA APIVolker Lendecke2008-01-223-10/+14
| | | | | | | | (This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
* | libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher2008-01-221-0/+25
| | | | | | | | | | metze (This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)