1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

18842 Commits

Author SHA1 Message Date
Jeremy Allison
abc21cc732 r11945: Make us follow the newly documented pathname processing rules:
"As a special case for directories with large numbers of files, if the
case options are set as follows, "case sensitive = yes", "case
preserve = no", "short preserve case = no" then the "default case"
option will be applied and will modify all filenames sent from the client
when accessing this share."
This is needed as fixing the case preserve rules to only apply to
new filenames broke the large directory fix. Glad we caught this
before release. Thanks to jht for this one.
Jeremy.
2007-10-10 11:05:38 -05:00
Jeremy Allison
8ee569626b r11943: Don't reset attrs to zero in EA get - we are adding
to the attr list not resetting it.
Jeremy.
2007-10-10 11:05:38 -05:00
Gerald Carter
3e05e88bb6 r11942: patch from Marcin to fix the mkdir() in perfcount daemon 2007-10-10 11:05:38 -05:00
Steve French
0981552dea r11938: Fix cifs to handle non-numeric uid and gid parameters and merge trunk and SAMBA_3 versions of mount.cifs and cleanup cifs vfs help.
Modified version of patch from Olaf Kirch <okir at SuSE dot de> for
Novell Bug 120601
2007-10-10 11:05:37 -05:00
Jeremy Allison
68d03a7a74 r11936: Fix bug in returning remote time found by Thomas Bork <tombork@web.de>.
get_time_zone() was overwriting static buffer returned by
gmtime(). Lars - this is a mandatory fix for the next patch...
Jeremy.
2007-10-10 11:05:37 -05:00
Jeremy Allison
908e671c75 r11927: No users or groups to return in BUILTIN domain.
Jeremy.
2007-10-10 11:05:36 -05:00
Jeremy Allison
b53d5cd565 r11924: Added Volkers's (C) to srv_samr_nt.c, removed separate "builtin"
search enumeration, fixed count of groups and users to return
zero if we're getting domain info on the builtin domain (need
to fix the enumgroup and enumuser calls also). Added count_sam_aliases
to return the correct alias count. Need to push the SID arg
down into the group mapping interface so we only return the
correct aliases. Upped passdb version numer for Volkers
changes. SAM-MYSQL guys - you will need to fix your backend
now. More tests needed.
Jeremy.
2007-10-10 11:05:36 -05:00
Volker Lendecke
c917cfc320 r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels a bit
wrong, but so far we don't have proper multi-domain support in passdb yet...

Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
57f0cf8cdd r11922: Looks bigger than it is: There's no point in allocating arrays in
samr_lookup_rids twice. It was done in the srv_samr_nt.c code as well as in
the pdb module. Remove the latter, this might happen more often.

Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
049920ce4f r11921: samr_open_domain can only open "our" domain and BUILTIN.
Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
bc8836d5d7 r11920: Rename local_lookup_rid to lookup_global_sam_rid, add lookup_builtin_rid.
Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
35ba5e083c r11919: The generic mappings in srv_samr_nt.c are only used there -- make them
static.

One long overdue simplification: Change local_lookup_sid to local_lookup_rid
its responsible for "our" domain only, in fact it checked for it.

Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
5524d66295 r11918: Remove two unused variables 2007-10-10 11:05:35 -05:00
Volker Lendecke
ae4ffc1cfb r11917: Move nt_token_to_group_list to srv_netlog_nt.c. srv_util.c is empty now.
Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
8e5bea3f84 r11916: auth_get_sam_account is only used in auth_rhosts.c -- move it there 2007-10-10 11:05:35 -05:00
Volker Lendecke
3c35fb642a r11915: Remove unused extern declarations 2007-10-10 11:05:35 -05:00
Volker Lendecke
6622db97bb r11914: After talking to Jeremy, implement passdb:expand_explicit with a default of
no. This changes our default behaviour.

Sorry, Ingo, this *is* a bug that needs fixing.

Jerry, you might want to put a marker into the WHATSNEW.txt when this is due.

Volker
2007-10-10 11:05:34 -05:00
Volker Lendecke
5629ca1623 r11909: Implement 'reset on zero vc'. This kills other connections when a session
setup comes in with the vc (virtual connection) field set to zero. This is
done by Windows, probably you can tweak that by some registry key.

	This boolean option controls whether an incoming session setup
	should kill other connections coming from the same IP. This matches
        the default Windows 2003 behaviour.

	Setting this parameter to yes becomes necessary when you have a flaky
	network and windows decides to reconnect while the old connection
	still has files with share modes open. These files become inaccessible
	over the new connection.

	The client sends a zero VC on the new connection, and Windows 2003
	kills all other connections coming from the same IP. This way the
	locked files are accessible again.

	Please be aware that enabling this option will kill connections behind
	a masquerading router.

Volker
2007-10-10 11:05:34 -05:00
Volker Lendecke
efb7576d4e r11898: Add a missing become_root().
Volker
2007-10-10 11:05:33 -05:00
Jim McDonough
9b34f2d0f4 r11886: Fix 3187: logon hours restrictions were off corresponding to our offset from
GMT.  Use gmtime() instead of localtime() in the calc, but still use
localtime() in displaying it.
2007-10-10 11:05:33 -05:00
Günther Deschner
3ccea032cb r11876: When we are using START_TLS to secure the LDAP connection, we *have* to
call START_TLS again after rebinding to another LDAP server. (ldaps://
uri's are handled at by recent versions of OpenLDAP).

Guenther
2007-10-10 11:05:33 -05:00
Günther Deschner
95543fab0f r11875: Allow to use START_TLS (by manually setting "ldap ssl = start_tls") for
LDAP connections to ADS (Windows 2003).

Guenther
2007-10-10 11:05:33 -05:00
Günther Deschner
04a3ac5e50 r11874: Merge LDAP connection setup in lib/smbldap.c and pdb_nds.c.
Also allow to use START_TLS in the pdb_nds_update_login_attempts
function when doing simple binds to eDir.

Guenther
2007-10-10 11:05:33 -05:00
Gerald Carter
b823bcbc91 r11867: attempt at fixing the compile issue with nss_winbind.so on HP-UX caused by Solaris specific return codes 2007-10-10 11:05:33 -05:00
Jeremy Allison
c9a0720f55 r11865: The only way to stop multiple LDAP searches is to agressively cache
results. We now cache them for 10 seconds, down from 30 seconds
(however each re-use will refresh the idle timeout). Any set calls
will flush the cache.
Jeremy.
2007-10-10 11:05:32 -05:00
Gerald Carter
7ac6afe4dc r11864: fix build breakage with solaris LDAP patch (my fault) 2007-10-10 11:05:32 -05:00
Gerald Carter
a33e78aced r11863: BUG 3196: patch from Alex Deiter <tiamat@komi.mts.ru> to compile against the Sun LDAP client libs. But not for AD support; just ldap support 2007-10-10 11:05:31 -05:00
Jeremy Allison
ba931a0151 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.
2007-10-10 11:05:31 -05:00
Gerald Carter
46bf28c81c r11860: BUG 3156: don't use find_service() when explicitly looking for a printer as the username map might get in the way 2007-10-10 11:05:31 -05:00
Günther Deschner
4c4b209645 r11859: Another place where the SE_GROUP constants read better then "7".
Guenther
2007-10-10 11:05:31 -05:00
Günther Deschner
02f13dee6d r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
Guenther
2007-10-10 11:05:31 -05:00
Günther Deschner
6508cb1c80 r11857: Fix the build.
Guenther
2007-10-10 11:05:31 -05:00
Günther Deschner
3282c7c458 r11856: Replace unknown1 with group_attr.
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?

Guenther
2007-10-10 11:05:30 -05:00
Gerald Carter
017775f287 r11855: patch from Aruna Prabakar for checking that the spooler si running on HP-UX 2007-10-10 11:05:30 -05:00
Günther Deschner
8609484ff6 r11854: Remove unused DOM_SID.
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
c54430a7b5 r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
a8bc4bc902 r11852: Fill in samr_get_dom_pwinfo based on Samba4.
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
4d681f560e r11851: Display correct error string.
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
6aefb3aebb r11847: Fix typo.
Guenther
2007-10-10 11:05:29 -05:00
Günther Deschner
43b57715e9 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
2007-10-10 11:05:29 -05:00
Jeremy Allison
bea6fa293e r11845: Removed error code list as it isn't correct for Linux.
Jeremy.
2007-10-10 11:05:29 -05:00
Jeremy Allison
8f2e472fa3 r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
attribute errors.
Jeremy.
2007-10-10 11:05:29 -05:00
Jeremy Allison
e4b3b70ef1 r11839: Info level 0x101 is really a protocol NT level.
Fix bug #3274 from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.
2007-10-10 11:05:29 -05:00
Gerald Carter
d381c125b0 r11833: fix build issues in smbget with the Sun compiler. Reported by Richard Bollinger 2007-10-10 11:05:29 -05:00
Gerald Carter
69e168197e r11830: patch from Rashid N. Achilov <shelton@granch.ru> to add descriptions for some common services 2007-10-10 11:05:29 -05:00
Jeremy Allison
b7dee71f26 r11799: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.
2007-10-10 11:05:28 -05:00
Jeremy Allison
8ce705d9cc 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.
2007-10-10 11:05:28 -05:00
Günther Deschner
7b6195b421 r11790: Avoid infinite retry to gather a connection.
Guenther
2007-10-10 11:05:28 -05:00
Volker Lendecke
1128d054dd r11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> -- Thanks 2007-10-10 11:05:28 -05:00
Gerald Carter
be31c2a105 r11770: BUG 2718: don't use qpathinfo_basic() call when remote server is Win9x or the do_cd() call will fail 2007-10-10 11:05:28 -05:00