1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

21866 Commits

Author SHA1 Message Date
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
Gerald Carter
4a99b89618 r22061: Fix the krb5 user ticket refresh event timeout in winbindd 2007-10-10 12:19:07 -05:00
Jeremy Allison
8d95cdf8c0 r22060: Fix for AIX quotas from Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.
Jeremy.
2007-10-10 12:19:07 -05:00
Volker Lendecke
0eea6b84ce r22059: Over-allocate and NULL out 100 bytes for lanman.c.
Volker
2007-10-10 12:19:06 -05:00
Günther Deschner
21d092f4f9 r22058: Add test_nss_modules to check NSS modules for unresolved symbols.
Guenther
2007-10-10 12:19:06 -05:00
Günther Deschner
04705aa190 r22056: Adding some missing proto_exists calls (for PAM and NSS modules)
Guenther
2007-10-10 12:19:06 -05:00
Jelmer Vernooij
ad98126187 r22055: Port the endpoint mapper (and functions it requires) to Samba 3. 2007-10-10 12:19:06 -05:00
Stefan Metzmacher
9b34cd8d89 r22054: merge from samba4:
remove broken samba3 specific stuff from tdbtool

metze
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
1017ca3eaa r22051: use libreplace headers
metze
2007-10-10 12:19:06 -05:00
Jeremy Allison
728a4cc713 r22050: Fix a couple of off-by-one errors in the rap
call patch. Jerry, this works now for displaying
shares on Win9x (and hopefully everything else
as well :-).
Jeremy.
2007-10-10 12:19:06 -05:00
Jeremy Allison
b70af25e85 r22049: HPUX build fixes from <don.mccall@hp.com>.
Jeremy.
2007-10-10 12:19:05 -05:00
Jeremy Allison
140881cfbb r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it.
Jeremy.
2007-10-10 12:19:05 -05:00
Volker Lendecke
08ea2b83b2 r22044: Remove the only skip_string(...,2) caller 2007-10-10 12:19:05 -05:00
Volker Lendecke
2878c1e93a r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This looks much
easier to review! Damn close to what I had in my tree, just the fn names were
slightly different.

This removes one unnecessary dupe.

Next thing is to get rid of the parameter "n" of skip_string, there is only
one (!) caller that does not pass in 1....

Volker
2007-10-10 12:19:05 -05:00
Jeremy Allison
d47af7c926 r22042: Try and clean up my own mess using the API Volker
suggested. I now use :

BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off)
int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)
int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval)

Volker, please criticize and comment. Thanks,

Jeremy.
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
91402d7a42 r22039: fix compiler warnings
metze
2007-10-10 12:19:04 -05:00
Stefan Metzmacher
cb6d90d796 r22033: remove useless line
metze
2007-10-10 12:19:04 -05:00
Andrew Bartlett
635b83a216 r22026: Missed in my last commit, another case where we need to copy, not reference.
Andrew Bartlett
2007-10-10 12:19:04 -05:00
Andrew Bartlett
46ff4e599e r22024: Don't leak, actually use the provided memory context... 2007-10-10 12:19:03 -05:00
Andrew Bartlett
82667bc75e r22023: I don't like this cache, but I think Jeremy is right, the consequences
of the talloc heirarchy created are too subtle, particularly with
callers picking out individual members.

This might fix the faults on the build farm.

Andrew Bartlett
2007-10-10 12:19:03 -05:00
Andrew Bartlett
5fe3328e66 r22022: - Clarify the comments
- make sure never to free an uninitialised variable

- ensure to free result on getpwnam_alloc failure

Andrew Bartlett
2007-10-10 12:19:03 -05:00
Andrew Bartlett
e3e0ec25e6 r22020: Make it more clear that both the vuser struct and it's contents are
talloc_free()'ed at the end of a session.

Rework the passwd cache code to use talloc_unlink and
talloc_reference, to more carefully manage the cache.

Andrew Bartlett
2007-10-10 12:19:03 -05:00
Volker Lendecke
6138be7e4a r22019: Jeremy, this hopefully fixes the build farm currently. But I think we need
another get_safe_offset call that also includes the required buffer size.

Volker
2007-10-10 12:19:02 -05:00