1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-07 20:23:50 +03:00
Commit Graph

2486 Commits

Author SHA1 Message Date
Volker Lendecke
209e4f8793 r12169: Remove an unused function 2007-10-10 11:05:47 -05:00
Volker Lendecke
9f99d04a54 r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
2007-10-10 11:05:43 -05:00
Jeremy Allison
c65b752604 r12043: It's amazing the warnings you find when compiling on a 64-bit
box with gcc4 and -O6...
Fix a bunch of C99 dereferencing type-punned pointer will break
strict-aliasing rules errors. Also added prs_int32 (not uint32...)
as it's needed in one place. Find places where prs_uint32 was being
used to marshall/unmarshall a time_t (a big no no on 64-bits).
More warning fixes to come.
Thanks to Volker for nudging me to compile like this.
Jeremy.
2007-10-10 11:05:42 -05:00
Jeremy Allison
6ec0312090 r12038: This file is no longer used, and no one noticed....
Jeremy.
2007-10-10 11:05:42 -05:00
Jeremy Allison
3804c4ca39 r11985: Move to LGPL as per tridge's Samba4 change.
Jeremy.
2007-10-10 11:05:41 -05:00
Jeremy Allison
2e262a75cc r11962: Bring talloc up to date with Samba4, re-add the
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage
as we desparately need it working in the field to track down
memory leaks. Seriously, when new functionality like the
Samba4 talloc is added, don't just disable working functionality
like "pool-usage", fix the damn thing first !
Jeremy.
2007-10-10 11:05:40 -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
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
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
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
95665dfd77 r11764: Doesn't need to be exported from here.
Jeremy.
2007-10-10 11:05:26 -05:00
Jeremy Allison
081e458801 r11732: Remember to return early if -1 returned from *BSD EA call.
Pointed out by timur@com.bat.ru.
Jeremy.
2007-10-10 11:05:25 -05:00
Volker Lendecke
62d01ce7e6 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
2007-10-10 11:05:24 -05:00
Gerald Carter
b0a2d43b60 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().
2007-10-10 11:05:23 -05:00
Jeremy Allison
11c6b8ecd6 r11614: Replace old crc32 code with one from the FreeBSD tree.
*  COPYRIGHT (C) 1986 Gary S. Brown.  You may use this program, or
 *  code or tables extracted from it, as desired without restriction.
Jeremy.
2007-10-10 11:05:22 -05:00
Jeremy Allison
e8136ae746 r11560: Fix core dump if setmntent returns NULL.
Pointed out by Jay Fanlason @ Red Hat.
Jeremy.
2007-10-10 11:05:20 -05:00
Jeremy Allison
b745114423 r11530: Add the "time offset" parameter back in for people who
might use it.
Jeremy.
2007-10-10 11:05:19 -05:00
Jeremy Allison
414303bc02 r11511: A classic "friday night check-in" :-). This moves much
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.
2007-10-10 11:05:19 -05:00
Jeremy Allison
d202aae3c8 r11446: Remove unused fn. Remove unneeded strncpy use.
Jeremy.
2007-10-10 11:05:16 -05:00
Jeremy Allison
3d8faf42e8 r11383: Patch from Alex Masterov <alex@infobit.ru> to fix
XATTR calls on *BSD systems (bug #3218).
Jeremy.
2007-10-10 11:05:14 -05:00
Jim McDonough
cda5a81bbe r11230: Remove the '//' i was using to test something...oops 2007-10-10 11:05:08 -05:00
Jim McDonough
de3d0094b7 r11229: an even bigger speedup spotted by Volker. string_to_sid() is now taking 1/5th
the time it used to.  Replace strcasecmp with invididual char checks for
"S-" sid prefix.
2007-10-10 11:05:07 -05:00
Jim McDonough
e5cc94f13f r11228: Speed up string_to_sid by removing next_token calls, thus eliminating
the need for allocating memory to duplicate the string.
2007-10-10 11:05:07 -05:00
Jeremy Allison
de27b0eef2 r11159: Added some const to fix warnings.
Jeremy.
2007-10-10 11:05:04 -05:00
Jeremy Allison
fc9eca51e0 r11156: Remove valgrind disabling ifdef that got added by mistake.
Jeremy.
2007-10-10 11:05:03 -05:00
Jeremy Allison
d720867a78 r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
x86_64 box.
Jeremy.
2007-10-10 11:05:02 -05:00
Günther Deschner
081409a724 r10976: Fix the build with openssl-0.9.8a.
Guenther
2007-10-10 11:04:58 -05:00
Stefan Metzmacher
1eafe33c88 r10962: fix setting of quotas on linux kernel with the
struct if_dqblk interface

metze
2007-10-10 11:04:58 -05:00
Jeremy Allison
2f3750d95b r10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".
Jeremy.
2007-10-10 11:04:51 -05:00
Volker Lendecke
c80e5ce110 r10674: We no do define timeval_current 2007-10-10 11:04:50 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Gerald Carter
8bf124adaf r10606: pdb_*sql patches from
Uli Meis <a.sporto@gmail.com>
Peter Rindfuss <rindfuss@wz-berlin.de>
2007-10-10 11:04:48 -05:00
Gerald Carter
356334264f r10454: * prevent privilege code from storing an empty SID
(and filter it out if one is already there)
* Fix LUID value match in privilege_set_to_se_priv()
  (fix jmcd's bug report).
2007-10-10 11:03:42 -05:00
Jeremy Allison
67be4ee41c r10234: Add new auth module "auth_script" to allow valid users to
be provisioned on demand - calls script with domain,
username, challenge and LM and NT responses - passing
the info through a pipe.
Jeremy.
2007-10-10 11:03:38 -05:00
Stefan Metzmacher
ff82c247c5 r10163: try to fix the build on fedora 4, when --with-quota is not used
(to actually fix the quotas, more work is needed)

metze
2007-10-10 11:03:35 -05:00
Gerald Carter
554c22faee r9998: starting content for maintainers file 2007-10-10 11:03:30 -05:00
Günther Deschner
d4698acd50 r9953: get rid of compiler warning.
Guenther
2007-10-10 11:03:29 -05:00
Günther Deschner
1ef7a192ee r9952: Adapt better to the Windows way of taking and assigning ownership:
* Users with SeRestorePrivilege may chown files to anyone (be it as a
backup software or directly using the ownership-tab in the security
acl editor on xp), while

* Users with SeTakeOwnershipPrivilege only can chown to themselves.

Simo, Jeremy. I think this is correct now.

Guenther
2007-10-10 11:03:29 -05:00
James Peach
623d2e6931 r9780: Clean up a bunch of compiler warnings. 2007-10-10 11:03:26 -05:00
Volker Lendecke
b5e82bb512 r9619: Fix messages_pending_for_pid actually do what it's meant to do. This might be
a big relief on messages.tdb contention as ignoring processes with >1000
messages in printing/notify.c should work correctly now.

Jeremy, Jerry told me to ask you about printer scalability torture tests, this
might be a reason why you implemented the message_send_pid_with_timeout
using the signal (shudder) in the first place. :-)

While looking at that... Wouldn't it be better to not use the signal but have
an overall timeout for print_notify_send_messages using GetTimeOfDay & friends
and not use the alarm signal deep inside tdb.c?

Volker
2007-10-10 11:03:23 -05:00
Jeremy Allison
b242f27860 r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy.
2007-10-10 11:01:12 -05:00
Jeremy Allison
c5b79a6709 r9536: Fix one more DIR -> SMB_STRUCT_DIR typo.
Jeremy.
2007-10-10 11:01:12 -05:00
Jeremy Allison
be5b4e2fa3 r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
2007-10-10 11:01:11 -05:00
John Terpstra
7744de8ead r9353: Updating troublshooting error message. 2007-10-10 11:00:33 -05:00
Jeremy Allison
f00d41a9dc r9325: Remember to ignore FILE_SHARE_DELETE when mapping to old share
modes for display.
Jeremy.
2007-10-10 11:00:33 -05:00
Jeremy Allison
183a470511 r9282: Whitespace.
Jeremy.
2007-10-10 11:00:31 -05:00
Jeremy Allison
816e2fbb39 r9271: Fix problems with german umlauts - strcmp_w was broken (needs to always re-call macro
on termination). Fix all other cases where this was also occurring.
Jeremy.
2007-10-10 11:00:29 -05:00
James Peach
ec4ea17ce6 r9203: Bugzilla bug #2314. Cast away the const of the dev argument to quotactl to
remove the compiler warning. This is safe since quotactl doesn't modify the dev
argument.
2007-10-10 11:00:28 -05:00
Volker Lendecke
c78760d71e r9201: Ouch.... :-( 2007-10-10 11:00:28 -05:00