1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

18565 Commits

Author SHA1 Message Date
Jeremy Allison
056f06915e r11861: Fix inspired by Thomas Neumann <t.neumann@iku-ag.de> to ensure that
default case applies only to new files and correctly examines 8.3
and long names.
Jeremy.
(This used to be commit ba931a0151)
2007-10-10 11:05:31 -05:00
Gerald Carter
f2ecd4fed0 r11860: BUG 3156: don't use find_service() when explicitly looking for a printer as the username map might get in the way
(This used to be commit 46bf28c81c)
2007-10-10 11:05:31 -05:00
Günther Deschner
4826f9d413 r11859: Another place where the SE_GROUP constants read better then "7".
Guenther
(This used to be commit 4c4b209645)
2007-10-10 11:05:31 -05:00
Günther Deschner
1b624b69bd r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
Guenther
(This used to be commit 02f13dee6d)
2007-10-10 11:05:31 -05:00
Günther Deschner
4c34e1b7e2 r11857: Fix the build.
Guenther
(This used to be commit 6508cb1c80)
2007-10-10 11:05:31 -05:00
Günther Deschner
2770e98aec r11856: Replace unknown1 with group_attr.
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?

Guenther
(This used to be commit 3282c7c458)
2007-10-10 11:05:30 -05:00
Gerald Carter
b1e8785070 r11855: patch from Aruna Prabakar for checking that the spooler si running on HP-UX
(This used to be commit 017775f287)
2007-10-10 11:05:30 -05:00
Günther Deschner
d93c2b1046 r11854: Remove unused DOM_SID.
Guenther
(This used to be commit 8609484ff6)
2007-10-10 11:05:30 -05:00
Günther Deschner
63addcb4d7 r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).
Guenther
(This used to be commit c54430a7b5)
2007-10-10 11:05:30 -05:00
Günther Deschner
e09cc27d3b r11852: Fill in samr_get_dom_pwinfo based on Samba4.
Guenther
(This used to be commit a8bc4bc902)
2007-10-10 11:05:30 -05:00
Günther Deschner
cf974b8d60 r11851: Display correct error string.
Guenther
(This used to be commit 4d681f560e)
2007-10-10 11:05:30 -05:00
Günther Deschner
0e8b90e45d r11847: Fix typo.
Guenther
(This used to be commit 6aefb3aebb)
2007-10-10 11:05:29 -05:00
Günther Deschner
90603cb3cd r11846: Destroy the TALLOC_CTX on error in the Kerberos session setup and give a
more precise inline comment why PAC verification may fail.

Guenther
(This used to be commit 43b57715e9)
2007-10-10 11:05:29 -05:00
Jeremy Allison
e98a396b76 r11845: Removed error code list as it isn't correct for Linux.
Jeremy.
(This used to be commit bea6fa293e)
2007-10-10 11:05:29 -05:00
Jeremy Allison
ac66d7cf69 r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
attribute errors.
Jeremy.
(This used to be commit 8f2e472fa3)
2007-10-10 11:05:29 -05:00
Jeremy Allison
8e178d8dce r11839: Info level 0x101 is really a protocol NT level.
Fix bug #3274 from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.
(This used to be commit e4b3b70ef1)
2007-10-10 11:05:29 -05:00
Gerald Carter
aef9a5fdc1 r11833: fix build issues in smbget with the Sun compiler. Reported by Richard Bollinger
(This used to be commit d381c125b0)
2007-10-10 11:05:29 -05:00
Gerald Carter
65540512df r11830: patch from Rashid N. Achilov <shelton@granch.ru> to add descriptions for some common services
(This used to be commit 69e168197e)
2007-10-10 11:05:29 -05:00
Jeremy Allison
572e6dd578 r11799: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.
(This used to be commit b7dee71f26)
2007-10-10 11:05:28 -05:00
Jeremy Allison
9be0ce4422 r11793: Fix the SAMR cache so it works across completely insane
client behaviour (ie.:
open pipe/open SAMR handle/enumerate 0 - 1024
close SAMR handle, close pipe.
open pipe/open SAMR handle/enumerate 1024 - 2048...
close SAMR handle, close pipe.
And on ad-nausium. Amazing.... probably object-oriented
client side programming in action yet again.
This change should *massively* improve performance when
enumerating users from an LDAP database.
Jeremy.
(This used to be commit 8ce705d9cc)
2007-10-10 11:05:28 -05:00
Günther Deschner
4ba65300ec r11790: Avoid infinite retry to gather a connection.
Guenther
(This used to be commit 7b6195b421)
2007-10-10 11:05:28 -05:00
Volker Lendecke
d75de28c9e r11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> -- Thanks
(This used to be commit 1128d054dd)
2007-10-10 11:05:28 -05:00
Gerald Carter
04b6c1303c r11770: BUG 2718: don't use qpathinfo_basic() call when remote server is Win9x or the do_cd() call will fail
(This used to be commit be31c2a105)
2007-10-10 11:05:28 -05:00
Jeremy Allison
d09beee040 r11769: Looking at a performance problem enumerating accounts, wondered
if changing to support samr_connect5 might help so quickly coded
it up. No it doesn't :-(. Don't merge this for 3.0.21 please.
Jeremy.
(This used to be commit bff1df678a)
2007-10-10 11:05:27 -05:00
Jeremy Allison
394f87b914 r11767: Doesn't need to be exported.
Jeremy.
(This used to be commit 52b6f0db2e)
2007-10-10 11:05:27 -05:00
Jeremy Allison
0ad770a626 r11764: Doesn't need to be exported from here.
Jeremy.
(This used to be commit 95665dfd77)
2007-10-10 11:05:26 -05:00
Gerald Carter
7c5d5ddb6d r11763: fix more build breakage
(This used to be commit 5ab76ec8f8)
2007-10-10 11:05:26 -05:00
Gerald Carter
1ce2883865 r11762: fix my build breakage
(This used to be commit 9ee851630e)
2007-10-10 11:05:26 -05:00
Gerald Carter
5251618c7f r11761: * fix clearing of event logs by truncating the tdb.
This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.
(This used to be commit 2df34c9403)
2007-10-10 11:05:26 -05:00
Gerald Carter
70cac98b6e r11760: fix sequential reads in the eventlog; event viewer is behaving better now as well but needs more testing
(This used to be commit ba2f94aeae)
2007-10-10 11:05:26 -05:00
Volker Lendecke
05f7bec525 r11739: As per Jeremy's request, add a panic action for developers. Now configure.in
needs something along the lines of

if [ $LOGNAME == "jht" ]
then
   CFLAGS="$CFLAGS -DDEVELOPER"
fi

But that goes a bit far I think.... :-)))

Volker
(This used to be commit 99d76042e9)
2007-10-10 11:05:26 -05:00
Volker Lendecke
88eb98275e r11734: Remove unused variable
(This used to be commit 5b882acafb)
2007-10-10 11:05:26 -05:00
Jeremy Allison
d35ca87bc2 r11732: Remember to return early if -1 returned from *BSD EA call.
Pointed out by timur@com.bat.ru.
Jeremy.
(This used to be commit 081e458801)
2007-10-10 11:05:25 -05:00
Tim Potter
bc5921d40e r11729: Remove space from DYNEXP flags declaration for HPUX. Fixes bugzilla
#3260.
(This used to be commit 78ddbb1dd4)
2007-10-10 11:05:25 -05:00
Lars Müller
ba2edc38aa r11728: Ensure to check for the config.log in ${SRCDIR}.
Revert jerry's revert from 11685. :)

At the moment I don't see a way to check if there is an empty
${SMBWRAPPER} or none.  If there is a way to check if ${SMBWRAPPER}
isn't set at all we could make the installman script even work if
config.log does not exist.
(This used to be commit 3e3113a1fa)
2007-10-10 11:05:25 -05:00
Gerald Carter
56f6b5d8d1 r11725: build smbget by default
(This used to be commit 715bd97708)
2007-10-10 11:05:25 -05:00
Jeremy Allison
5cc61b3825 r11719: Remove silly #define of close -> close_fn as this borks
any code that includes libsmbclient.h that also calls the
system close() fn. Doh ! Thanks to John Terpstra for
reporting this.
Jeremy.
(This used to be commit 6e1cb7047a)
2007-10-10 11:05:25 -05:00
Jeremy Allison
4c8fc93905 r11718: Filter stored DOS attributes by SAMBA_ATTRIBUTES_MASK (0x7f).
Jeremy.
(This used to be commit 61444049e1)
2007-10-10 11:05:25 -05:00
Volker Lendecke
3994f38226 r11707: alt_names[i] might be NULL for i>0 also...
Volker
(This used to be commit c8b67c2448)
2007-10-10 11:05:24 -05:00
Volker Lendecke
32cf16f3cf r11706: Implement dsr_getdcname client code. It's handy: It not only gives you the IP
address but also the fqdn of the remote dc and site info.

Volker
(This used to be commit 62d01ce7e6)
2007-10-10 11:05:24 -05:00
Volker Lendecke
789bed878a r11704: methods->alternate_name is not used anymore -- remove it
(This used to be commit 4a4f85f0ef)
2007-10-10 11:05:24 -05:00
Gerald Carter
f8cb37ab19 r11685: reverting Lar's change to nistallman from r11224 since it breaks 'make installman' outside the source tree; will fix up after the rc1 release
(This used to be commit 61e7366e0f)
2007-10-10 11:05:24 -05:00
Volker Lendecke
e6296083c2 r11667: Fix a debug message
(This used to be commit d1f506fa13)
2007-10-10 11:05:24 -05:00
Gerald Carter
a4d729bdfa r11661: Store the INFO3 in the PAC data into the netsamlogon_cache.
Also remove the mem_ctx from the netsamlogon_cache_store() API.

Guenther, what should we be doing with the other fields in
the PAC_LOGON_INFO?
(This used to be commit 8bead2d282)
2007-10-10 11:05:23 -05:00
Jeremy Allison
2a7ce639eb r11658: Someone broke the initialization of the static modules by adding a 'NTSTATUS'
declaration before their call.
The compiler sees : { NTSTATUS fn_foo(); NT_STATUS fn_bar(); }
as *definitions: They need to be : { fn_foo(); fn_bar(); }
Jeremy.
(This used to be commit 1c5a3c51e3)
2007-10-10 11:05:23 -05:00
Paul Green
5a06869da7 r11657: Tiny improvement to debug error message in dir_check_ftype.
(This used to be commit 46674ca21d)
2007-10-10 11:05:23 -05:00
Gerald Carter
9d9fe2d58d r11655: Two small fixes
* remove redundant call to sub_set_smb_name() in session setup code.
* Fix lockup when running 'wbinfo -t' on a Samba PDC.  Cause
  was new authenticated session setup from winbindd which
  resulted in a mangled username (machine_) that was not found
  in the local files and so was queiued up to nss_winbindd.
  Deadlock....
  So now make sure to keep the trailing '$' for machine account
  names when calling sub_set_smb_name().
(This used to be commit b0a2d43b60)
2007-10-10 11:05:23 -05:00
Paul Green
6fdfa210de r11653: Declare the correct return value for the static initialization functions.
Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.
(This used to be commit 6bf4d88ab5)
2007-10-10 11:05:23 -05:00
Gerald Carter
ce0a1fa159 r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls.  This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.

As per comments on samba-technical, I still need to add

(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away

Both Jeremy and Guenther have signed off on the idea.
(This used to be commit 0c2bb5ba7b)
2007-10-10 11:05:23 -05:00
Gerald Carter
438d0ad451 r11651: After talking to Jeremy, commit my winbindd "Do the Right Thing" patch.
Still needs some more testing ni domains with multiple DCs. Coming next....
(This used to be commit aaed605206)
2007-10-10 11:05:22 -05:00