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

21888 Commits

Author SHA1 Message Date
Jeremy Allison
512542c90a r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h.
Jeremy.
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
34a5badbde r22153: fix LDAP SASL "GSSAPI" bind against w2k3, this isn't critical
because we try "GSS-SPNEGO" first and all windows version support
that.

metze
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
7f61b3f009 r22151: remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
2007-10-10 12:19:17 -05:00
Gerald Carter
22d550d62b r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
to fix compile bug ni quotas.c (typo calling unbecome_root()).
2007-10-10 12:19:16 -05:00
Jim McDonough
859269c949 r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file).  Thanks to Gomati Mohanan.
2007-10-10 12:19:16 -05:00
Volker Lendecke
42f4232155 r22147: Next try 2007-10-10 12:19:16 -05:00
Volker Lendecke
825255c760 r22146: Attempt to fix the build 2007-10-10 12:19:16 -05:00
Jeremy Allison
38404c990d r22145: Fix bug #4494 - reported by Kevin Jamieson <bugzilla@kevinjamieson.com>.
If returning a mapped UNIX error from sendfile, don't call chain_reply.
Jeremy.
2007-10-10 12:19:16 -05:00
Volker Lendecke
9de16f25c1 r22135: Check in most of Michael Adam's net conf utility. A good share of this patch
is moving functions around to fix some linker dependencies for the registry.

Michael, I've renamed your auth_utils2.c to token_utils.c.

Thanks!

Volker
2007-10-10 12:19:16 -05:00
Jeremy Allison
85df3fca68 r22132: I hate inefficiency. Don't call conv_str_size()
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.
2007-10-10 12:19:15 -05:00
Derrell Lipman
c65621e0b7 r22130: - Ensure that the libsmbclient example programs link with the libsmbclient
library that's part of the current tree, not with whatever happens to have
  been previously installed.
2007-10-10 12:19:15 -05:00
Jeremy Allison
40a86a5666 r22129: Fix the nttrans create extended response for pipes
and files (tested with Win32 code). Bug #4404 should
now be dead :-).
Jeremy.
2007-10-10 12:19:15 -05:00
Jeremy Allison
7856db9fce r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIRED
set. Only the NTTrans create left to fix for csc.
Jeremy.
2007-10-10 12:19:15 -05:00
James Peach
f9fb07d2f9 r22127: Wrap the AC_TRY_RUN detection for Linux getgrouplist in an
AC_CACHE_CHECK, so it can be cross-compiled.
2007-10-10 12:19:15 -05:00
Volker Lendecke
3be234effa r22126: Fix a bogus uninitialized variable warning 2007-10-10 12:19:15 -05:00
Volker Lendecke
1c0ceb5fe2 r22125: Fix a warning 2007-10-10 12:19:14 -05:00
Jeremy Allison
57e46f2f80 r22124: Wow - NTCreateX sets the word count to 42, but returns 50 on
the wire. Strange.... But now we're returning Windows compatible
extended info. Next to fix the pipe returns and NTTrans Creates.
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
be742f2481 r22123: Try and fix the csc (#4404) bug by supporting the extended
response to NTCreateX - need to fix this also for
pipe open and NTTransCreate as well so this isn't
finished.
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
137953226a r22122: Start to fix csc issue with Vista. Make smbd support
the extended 7 word response for tconX rather than the
3 word one we supported previously.
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
572c418b04 r22113: Fix core dump when configfile in same directory.
From Steven Danneman <steven.danneman@isilon.com>.
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
7c45bd3a47 r22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>.
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
e296f07e1d r22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy.
2007-10-10 12:19:13 -05:00
Gerald Carter
adfc2d3165 r22110: don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in idmap_cache 2007-10-10 12:19:13 -05:00
Simo Sorce
f127803734 r22109: Readonly is automatically set in the generic init code, let's just log the fact there
and remove the specific, but redundant, code in idmap_ad.c
2007-10-10 12:19:13 -05:00
Jeremy Allison
4de297112b r22108: Fix from <don.mccall@hp.com> to try and fix the HPUX builds.
Jeremy.
2007-10-10 12:19:13 -05:00
James Peach
fd056b2426 r22107: Fix typo. 2007-10-10 12:19:13 -05:00
Jeremy Allison
bc2b6e3f32 r22106: Fix the module name - it's vfs_readahead not vfs_linux_readahead.
Jeremy.
2007-10-10 12:19:13 -05:00
Jeremy Allison
97fdd67e83 r22105: Added vfs_readahead module that appears to do wonderful things
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.
2007-10-10 12:19:13 -05:00
Gerald Carter
eab9ca7e7d r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
Enable the DsRoleGetPrimaryDomainInfo() server code.
Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64)
2007-10-10 12:19:12 -05:00
Lars Müller
3ae99e5924 r22103: No code change. This is a spring time end of line clesnup checkin. 2007-10-10 12:19:12 -05:00
Lars Müller
3bebb5f4c1 r22102: Remove obsoleted SHLIBS_PROGS from {Makefile,configure}.in.
As NSS_MODULES is added to the all rule the resulting set of binaries
are the same.
2007-10-10 12:19:12 -05:00
Gerald Carter
8849524355 r22101: remove RedHat 9 packaging files after annoncement on the samba ml 2007-10-10 12:19:12 -05:00
Lars Müller
641edac6ec r22099: Revert parts of revision 22056 as proto_exists is not required by
@WINBIND_NSS@, bin/pam_winbind.@SHLIBEXT@, and bin/pam_smbpass.@SHLIBEXT@.
2007-10-10 12:19:12 -05:00
Jeremy Allison
4e3232aad4 r22097: Add detection for linux readahead() syscall.
Jeremy.
2007-10-10 12:19:12 -05:00
Jeremy Allison
f3ffb3f984 r22096: become_root_uid_only() is unneeded - it's only used in
messages.c. Refactor to use become_root() instead and
make it local to messages.c
Jeremy.
2007-10-10 12:19:11 -05:00
Gerald Carter
e5c9fc937d r22095: BUG 4484: Add more checks to set %a for Vista clients (based on absence of native OS and Lanman strings in the session setup request) 2007-10-10 12:19:11 -05:00
James Peach
395fd99edb r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status. 2007-10-10 12:19:10 -05:00
Stefan Metzmacher
294c69334f r22093: send also the correct OID_KERBEROS5 not only the broken
OID_KERBEROS_OLD one.

metze
2007-10-10 12:19:10 -05:00
Stefan Metzmacher
e9f2aa22f9 r22092: - make spnego_parse_auth_response() more generic and
not specific for NTLMSSP
- it's possible that the server sends a mechOID and authdata
  if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still
  force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE

metze
2007-10-10 12:19:10 -05:00
Volker Lendecke
a6e1e39f1d r22091: Fix an uninitialized variable warning 2007-10-10 12:19:10 -05:00
Jeremy Allison
17b1d11bbb r22080: Fix directory recycle module bug #4486.
Jeremy.
2007-10-10 12:19:10 -05:00
Jeremy Allison
ab3150fe4e r22079: Tsk, tsk, Metze didn't compile before check-in :-).
Merge the memory leak fix (with fix :-) to 3.0.25.
Jeremy.
2007-10-10 12:19:09 -05:00
Stefan Metzmacher
8c6930b701 r22078: fix memory leak in not often used code, we only use it if the server
doesn't support GSS-SPNEGO in SASL

can someone please review this, maybe it's also for 3.0.25

metze
2007-10-10 12:19:09 -05:00
Andrew Bartlett
721375e14c r22071: Make the error message for incorrect use of '-c' show the parameter as used.
This means that smbpasswd -c user (which in htpasswd creates a new file)
and smbpasswd -c /not/my/smb.conf should give errors an admin will
think to chase down.

Andrew Bartlett
2007-10-10 12:19:09 -05:00
Gerald Carter
c1cb6d059b r22069: BUG 4447: Fix compile failure on AIX 5.2 (patch from William Jojo <jojowil@hvcc.edu>) 2007-10-10 12:19:09 -05:00
Stefan Metzmacher
a70af6d457 r22067: - fix --with-fhs, where confdir is set to \${sysconfdir}
but sysconfdir wasn't defined in our Makefile
- add localstatedir for completeness

metze
2007-10-10 12:19:09 -05:00
Gerald Carter
fc1aeee52d r22066: Ensure that winbind can resolve SIDs in the S-1-22-{1,2}
domain to a uid.gid using the idmap_passdb backend.
2007-10-10 12:19:09 -05:00
Jeremy Allison
70875f92a2 r22065: First logic change I've found :-(. We were being too
restrictive about strings being NULL. If an info level
doesn't use a subformat the subformat string may be
missing (null). Add debug statements to help track
this.
Jeremy
2007-10-10 12:19:08 -05:00
Jeremy Allison
1a0f69bb21 r22064: Fix the DFS code to work better with Vista clients. Allow
"host msdfs = true" to be set in the [global] section
and allow Vista to see shares with "msdfs root = yes"
and "msdfs root = no" off the same server. Down
to an error message really :-).
Jeremy.
2007-10-10 12:19:08 -05:00
Jeremy Allison
0c8949ff5d r22062: Fix the parsing of info level 3. Flags is not a flags
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
2007-10-10 12:19:07 -05:00