summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-01-24Add debug messages to trace this if needed.Jeremy Allison1-0/+14
Jeremy. (This used to be commit b628269b3260661cb4eeeab8c533b3129827ba62)
2008-01-24The checks for OI and CI were just wrong.... Fix them. Thanks toJeremy Allison1-9/+4
Jim for testing this. Jeremy. (This used to be commit e898789e0d819df05b14bcedfa1d230c7a983440)
2008-01-24First part of fix for bug #4929 - worked out by jmcd.Jeremy Allison1-80/+29
Cope with protected ACL set correctly. Jeremy. (This used to be commit f5e50f42e7c79b4f8857602457db5b97886bd19e)
2008-01-24Fix winbindd build w/o ADS.Günther Deschner1-3/+7
Guenther (This used to be commit 40daef4c3d822a28467ff521efca6a55a0370050)
2008-01-24Fix Coverity ID 454Volker Lendecke1-1/+8
(This used to be commit 902d1d6709e47fbc8b538f28cb4364b006c431f8)
2008-01-24Fix Coverity ID 463Volker Lendecke1-1/+3
(This used to be commit 21d126c56a633d2d72ffad08db7331ecc0ee3c0c)
2008-01-24Fix Coverity ID 465Volker Lendecke1-0/+2
(This used to be commit 8629a0e1c3da7c2d2b0c1d99224177c54bbae930)
2008-01-24Add winbind_msg_dump_domain_list to winbindd.Günther Deschner2-0/+88
Guenther (This used to be commit 54ad97bd8364c393de2c9471a4c14ca5b880b318)
2008-01-24Add winbindd debugging ndr_print helpers.Günther Deschner2-0/+150
Guenther (This used to be commit 4389e4dadbf07c176d9102b74c06e62ecfc242be)
2008-01-24Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner2-0/+58
Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
2008-01-24rerun 'make idl'Stefan Metzmacher11-113/+45
metze (This used to be commit 37b95450518419e2153e9930b63f894b68096d3d)
2008-01-24netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32Stefan Metzmacher2-5/+10
metze (cherry picked from commit 7222edb9cde5cdeb9d065e890775a7254b26648f) (This used to be commit 503082e15e03def33434d3e5ff4fbe750873aab0)
2008-01-24Re-run make idl and use generated ndr based on samba4 security.idl (except ↵Günther Deschner10-1157/+1410
for DOM_SID). Guenther (This used to be commit 1781a57b18f681f1bc03873330147a813f10eba2)
2008-01-24Merge over security.idl from samba4.Günther Deschner1-2/+19
Guenther (This used to be commit 57f2b8d0a8d8987a62419e9852ac9a9cf39c3109)
2008-01-24Fix samr_EnumDomainUsers in samba3, must not be a ref pointer here.Günther Deschner4-14/+22
Guenther (This used to be commit 3b87c5ce4f74f8dd01bfdf8859c6c832da15cd24)
2008-01-24netlogon.idl: make use of bitmap samr_GroupAttrsStefan Metzmacher1-1/+2
metze (from v4-0-test 6d68161e676d381600c77c3f862bd7e013968724) (This used to be commit 9b5f69cb1f7d22174b2cd67ebf02a271d4bf6e2f)
2008-01-24netlogon.idl: remove unused netr_GroupsMembership structureStefan Metzmacher1-5/+0
We have samr_RidWithAttribute and use that in all cases. metze (cherry picked from commit 3c5bae2249d01213ff4bd7df2b4e3ac04da4a52d) (This used to be commit 6ed640fadea6355dd6808db156228e6876d9f064)
2008-01-24More read_data -> read_socket_with_timeoutVolker Lendecke1-16/+3
(This used to be commit f1d7de462cf0f64648a3a1fc6f0c64a7bbdb3c2a)
2008-01-23Merge branch 'setxattr-dos-mode' into v3-2-testDerrell Lipman1-1/+9
(This used to be commit 4c08725a42a8babf0f078fb4b221a96f58deeb50)
2008-01-23Allow clearing all settable DOS mode bits. A mode value of zero is ignored byDerrell Lipman1-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)
2008-01-23Don't leak memory in error path.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 2df0cdaafdced798f81e30d34371aa1d8e963208)
2008-01-23Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 090061b73a1c086ff8a7797e1a63532eacd91148)
2008-01-23Fix Windows 2008 (Longhorn) join.Andreas Schneider1-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)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider8-9/+11
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison8-20/+71
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-23read_socket_with_timeout has timeout=0 handlingVolker Lendecke3-67/+9
(This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
2008-01-23strtok -> strtok_rVolker Lendecke18-47/+75
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-23Fix panic: Don't free the logfilename in winbind_child_died().Michael Adam1-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)
2008-01-23Initialize _domain_list to NULL.Michael Adam1-1/+1
Just to be sure the "if (!_domain_list)" in domain_list() test always works. Michael (This used to be commit 1f49065d44dd7570d5a9928359751bd36f287952)
2008-01-23Fix get_trust_creds() to return always an upper-cased krb5 principal (thisGünther Deschner1-4/+8
fixes winbind krb5 session at least with heimdal). Guenther (This used to be commit 9cf3a98eacea2dd07f89245f147e002b3f49482e)
2008-01-23Remove two unused variablesVolker Lendecke2-2/+0
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
2008-01-23Fix tab_depth: it should not create an extra debug header.Michael Adam2-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)
2008-01-22Get Samba version or capability information from WindowsCorinna Vinschen1-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)
2008-01-22Move samba_extended_info_version to smbd/trans2.cVolker Lendecke3-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)
2008-01-22Avoid use of uninitialized memoryVolker Lendecke1-1/+4
(This used to be commit 85123aacdb13e97c3f44aeded1c80e13af53d83d)
2008-01-22Get Samba version or capability information from WindowsCorinna Vinschen3-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)
2008-01-22Hide streams from the EA APIVolker Lendecke3-10/+14
(This used to be commit e9bb3d5067b74a29beb778f85687829778e42b5b)
2008-01-22libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher1-0/+25
metze (This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)
2008-01-22Fix a ton of IBM checker uninitialized variable warningsVolker Lendecke1-2/+1
SET_STAT_INVALID only sets nlink, not the other fields We might consider to change SET_STAT_INVALID to always do ZERO_STRUCT (This used to be commit 8cf8c5b2034fe093b5db7f069bc6be8d328399bf)
2008-01-22Fix get_ea_names_from_file for many EAsVolker Lendecke1-1/+1
Found by the IBM checker (This used to be commit 8741a9b37496e78b28d59d844aaba12f269171e0)
2008-01-22Fix a segfaultVolker Lendecke1-1/+1
Found by the IBM checker. Jeremy, you changed this from 'dirname == 0' which does not make sense at all in the old code to '!dirname == 0' which from my point of view makes even less sense, because the precedence of ! is according to Harbison/Steele higher than the precedence of ==. Please check that the code now actually does what it's supposed to do. Thanks! (This used to be commit c8def5564739c4c754001f84fcfb77f1093b96c3)
2008-01-21Add another check for talloc failure to libnet_confMichael Adam1-0/+4
Michael (This used to be commit 196e4ce8c5dd5aab518aaa7d170eb1fb5d66bcd1)
2008-01-21Fix formatting of multi_sz registry values.Michael Adam1-1/+5
Don't print only the last component. Michael (This used to be commit 654e96208ec847e32797cbd2442ef9e73c014567)
2008-01-21Use talloc_stackframe() for temporary contexts throughout libnet_conf.cMichael Adam1-4/+4
Michael (This used to be commit 4d734106b70b9b6029b537fe11f8b3c1aebd42cf)
2008-01-21Add a check for talloc failure. - Pointed out by Volker.Michael Adam1-0/+4
Michael (This used to be commit bdc49b07cc6de36c9319254a131858c9a7f9dd53)
2008-01-21Fix two debug messages.Michael Adam1-2/+2
Michael (This used to be commit 35e23368dd4240a3c907b4cee882f51119032527)
2008-01-21Attempt to fix the darwin buildVolker Lendecke1-4/+4
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
2008-01-21util_sock: Don't return a pointer to freed memory.Kai Blin1-1/+2
Fix a bug in my bugfix. Thanks to vl for spotting that one. (This used to be commit 24f68b90cca111256a7b03f7062cb57c2b08a0d6)
2008-01-21Add SMB_VFS_FS_CAPABILITIESVolker Lendecke6-29/+26
It turns out that this is a necessary operation, separate from statvfs. statvfs can fail during tcon, so conn->fs_capabilities would never see that we support streams on a particular share. James, can you check that I got the darwin variant right? Thanks! (This used to be commit 3ad798d803b3b023533bb48e6993885f22b96095)
2008-01-21Link smbd on AIX with -bexpfull instead of -bexpallVolker Lendecke1-1/+1
-bexpall only exports the names without leading _, so we don't get _talloc_reallo_array for example. Thanks a lot to Heinrich Mislik for the hint! (This used to be commit 74a71f198866ba0a0217e58a6a47bdc858d5df68)