1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

17963 Commits

Author SHA1 Message Date
Gerald Carter
129b461673 r7440: * merge registry server changes from trunk (so far) for more
printmig.exe work
* merge the sys_select_signal(char c) change from trunk
  in order to keeo the winbind code in sync
(This used to be commit a112c5570a)
2007-10-10 10:57:09 -05:00
Volker Lendecke
d197ddd4c3 r7423: Fix the build on sol10
(This used to be commit e8fde1bd92)
2007-10-10 10:57:09 -05:00
Gerald Carter
fed660877c r7415: * big change -- volker's new async winbindd from trunk
(This used to be commit a0ac9a8ffd)
2007-10-10 10:57:08 -05:00
Jeremy Allison
66bb4f03c3 r7412: Now we're not memset'ing ensure we're valgrind clean.
Jeremy.
(This used to be commit 0d303ab2f3)
2007-10-10 10:57:08 -05:00
Gerald Carter
dacdfbc98c r7398: commiting abartlet's patch for kerberos authentication when using a keytab and security != ads
(This used to be commit 3faaa5c3eb)
2007-10-10 10:57:08 -05:00
Gerald Carter
0da9b4b336 r7396: cleaning up vestiges of winbind local accounts code
(This used to be commit c57c23cf52)
2007-10-10 10:57:08 -05:00
Gerald Carter
377f947930 r7395: * new feature 'map to guest = bad uid' (based on patch from
aruna.prabakar@hp.com).

This re-enables the Samba 2.2 behavior where a user that was
successfully authenticated by a remote DC would be mapped
to the guest account if there was not existing UNIX account
for that user and we could not create one.
(This used to be commit b7455fbf81)
2007-10-10 10:57:08 -05:00
Günther Deschner
4bc39f05b7 r7391: - Added client-support for various lsa_query_trust_dom_info-calls and a
rpcclient-tester for some info-levels.

  Jerry, I tried to adopt to prs_pointer() where possible and to not
  interfere with your work for usrmgr.

- Add "net rpc trustdom vampire"-tool.

  This allows to retrieve Interdomain Trust(ed)-Relationships from
  NT4-Servers including cleartext-passwords (still stored in the local
  secrets.tdb).

  The net-hook was done in cooperation with Lars Mueller
  <lmuelle@suse.de>.

  To vampire trusted domains simply call:

        net rpc trustdom vampire -S nt4dc -Uadmin%pass

Guenther
(This used to be commit 5125852939)
2007-10-10 10:57:07 -05:00
Volker Lendecke
eeca550731 r7390: Revision 7371 did not help :-(
(This used to be commit a405e7f479)
2007-10-10 10:57:07 -05:00
Jeremy Allison
04e07e8cc9 r7385: Rewrite the RPC bind parsing functions to follow the spec. I haven't yet
tested this so I may have screwed this up - however it now follows the
DCE spec. valgrinded tests to follow....
Jeremy.
(This used to be commit 877e0a61f5)
2007-10-10 10:57:07 -05:00
Gerald Carter
804415b542 r7374: BUG 1261: remove unusable libbiconv after discussion with Timur (FreeBSD Samba maintainer)
(This used to be commit 2ead684635)
2007-10-10 10:57:07 -05:00
Gerald Carter
b279ee16e9 r7372: abartet's patch for BUG 2391 (segv caused by free a static pointer)
(This used to be commit 4cda2bd035)
2007-10-10 10:57:06 -05:00
Volker Lendecke
5c286aab36 r7371: On one build farm box dirtest1 does not return, I think this might be due to
it being too slow. The build farm re-runs that with debuglevel 10, and this
ends up with a 400MB logfile which is not synced. Lets see if with this change
the machine pops up on build.samba.org....

Volker
(This used to be commit b4a6ace00d)
2007-10-10 10:57:06 -05:00
Volker Lendecke
b6fb046249 r7344: Correctly return if malloc fails.
Jeremy, you might want to check this.

Thanks,

Volker
(This used to be commit 560f9d3735)
2007-10-10 10:57:06 -05:00
Gerald Carter
7344cc3ba4 r7339: only check for dfs proxy referrals when the server supports dfs
(This used to be commit 9e93244fa5)
2007-10-10 10:57:06 -05:00
Gerald Carter
74a98c6072 r7335: patch from Joerg Sonnenberger <joerg@britannica.bec.de> to fix dragonfly detection
(This used to be commit d80ae98d9e)
2007-10-10 10:57:06 -05:00
Jeremy Allison
06ae1e805e r7318: Unify HEAD and 3.0 socket functions. Add HEAD functions here #ifdef'ed out.
Correct branch this time !
Jeremy.
(This used to be commit 052b4f8e28)
2007-10-10 10:57:06 -05:00
Derrell Lipman
bf484a8f8e r7245: bug fixes in libsmbclient, setting time attributes
(This used to be commit bf33902c05)
2007-10-10 10:57:05 -05:00
Volker Lendecke
5084d49052 r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.
Volker
(This used to be commit 94acb93f57)
2007-10-10 10:57:05 -05:00
Volker Lendecke
a01de91394 r7217: Only allow schannel connections if a successful Auth2 has been done
before. Things tested: Domain join and subsequent interactive and network
logon to NT4, W2kSP and XPSP2 workstations and a NT4 domain trusting us. Right
now I've got problems with my W2k3 domain trusts. So this needs testing,
although I'm really confident that this does not break.

Volker
(This used to be commit c25b4afda2)
2007-10-10 10:57:05 -05:00
Jeremy Allison
0deab47cc6 r7210: Fix my own mistakes up, sorry.
Jeremy.
(This used to be commit 53c3a954ee)
2007-10-10 10:57:05 -05:00
Steve French
97a2087c14 r7202: lock mtab when updating it during umount.cifs, also delete only one matching entry at a time
(This used to be commit 200db0790a)
2007-10-10 10:57:05 -05:00
Jeremy Allison
ed5e7ff9f1 r7200: Don't use memset, use SET_STAT_INVALID (has the same effect).
Jeremy.
(This used to be commit 0b6f87d5e1)
2007-10-10 10:57:05 -05:00
Gerald Carter
503914b2c5 r7197: fix build failure when running 'make torture' without
first running 'make all' first
(This used to be commit 8a8408a340)
2007-10-10 10:57:05 -05:00
Jeremy Allison
c7bc8c52ca r7191: Squeezing out more unnecessary memset's gets us up 20% over older code :-).
Getting medieval on our ass about memset....
Jeremy.
(This used to be commit d0c804bc35)
2007-10-10 10:57:04 -05:00
Jeremy Allison
6b036a8ad7 r7190: I *love* valgrind/cachegrind.....
By removing unneeded memsets in qfilepathinfo I just improved our netbench performance
by *********15%**********. Check it out :-).
Jeremy.
(This used to be commit c20a7b10b6)
2007-10-10 10:57:04 -05:00
Derrell Lipman
2efe68918d r7175: fix incorrect comment
(This used to be commit 6f951c863e)
2007-10-10 10:57:04 -05:00
Derrell Lipman
f3ad9323c6 r7172: This is the proper fix for setting file times from libsmbclient. We now
try setpathinfo, and if that doesn't work (e.g. on win98), revert to the
previous slower method.
(This used to be commit 6c05812bd9)
2007-10-10 10:57:04 -05:00
Derrell Lipman
e317034997 r7168: Updating file times from libsmbclient was not working for win98. Although
the function that was being used to set attributes is a core protocol
function (SMBsetatr = 0x09), it does not appear to work on win98.  As a
temporary measure, when file times are to be set, this version opens the
file and uses SMBsetattrE = 0x22 instead.  (The other advantage of this
function over the original one is that it supports setting access time as
well as modification time.)

The next step, the proper solution if it can be made to work, is to write
functions that use TRANS2_SET_PATH_INFO instead.
(This used to be commit bab0bf7f4f)
2007-10-10 10:57:04 -05:00
Jeremy Allison
0100bb0eb6 r7157: Ensure we abort a directory listing if we see the same
name twice between packets.
Jeremy.
(This used to be commit f9063b383e)
2007-10-10 10:57:04 -05:00
Derrell Lipman
38c5136ce1 r7156: file was missing; svn isn't smart enough to even notify me. sigh.
(This used to be commit fce48fa1b4)
2007-10-10 10:57:03 -05:00
Derrell Lipman
432878c80e r7153: add better test facilities to testutime
(This used to be commit d763c739a6)
2007-10-10 10:57:03 -05:00
Jeremy Allison
57fa7e1547 r7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due to buggy iconv?) we can
be left with a filename that doesn't exist on the remote machine. If we then do a findnext
with this file the server gets confused and restarts from the beginning of the directory,
causing directory listing loops. Fix this by keeping a copy of the "raw" filename data and
length and using this as the argument to findnext. This won't fix the incorrect iconv
conversion into the finfo struct but at least it ensures that directory listings always
terminate. Tested against NTFS and FAT directories.
Jeremy.
(This used to be commit 848940d5a9)
2007-10-10 10:57:03 -05:00
Jim McDonough
583b7ed659 r7148: Fix #2736: winbind race condition with detecting idle clients
winbind idle connection closing logic is getting invoked under high loads for
clients which may already have commands in the pipe.  This race condition
causes clients to fail with NSS_STATUS_UNAVAIL sometimes.  We now retry several
times hoping (still not guaranteed, though) it will work.
(This used to be commit 05c04cfd25)
2007-10-10 10:57:03 -05:00
Günther Deschner
9f38c321d0 r7145: reuse the WINBIND_REQUIRED_MEMBERSHIP constant.
This is just cosmetic but prevents people from thinking that the
pam_winbind "require_membership_of"-option is not yet implemented :)

Guenther
(This used to be commit ef80a49a85)
2007-10-10 10:57:03 -05:00
Gerald Carter
ea688e96d7 r7143: removing unused file
(This used to be commit 8c38865156)
2007-10-10 10:57:03 -05:00
Gerald Carter
27ccf6ba6a r7142: removing 'ldap filter' smb.conf option
(This used to be commit e2f8eeb4e2)
2007-10-10 10:57:03 -05:00
Gerald Carter
049d6714cb r7140: removing aparser directory since it is obselete in light of pidl
(This used to be commit 38cad678b8)
2007-10-10 10:57:02 -05:00
Gerald Carter
f24d88cf9d r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241)
2007-10-10 10:57:02 -05:00
Gerald Carter
450e8d5749 r7130: remove 'winbind enable local accounts' code from the 3.0 tree
(This used to be commit 318c3db4cb)
2007-10-10 10:57:01 -05:00
Gerald Carter
a3f4c36517 r7126: fixing paranoid malloc checker failures
(This used to be commit b01026674f)
2007-10-10 10:57:01 -05:00
Gerald Carter
eb8b02104e r7041: compile fixes....long day I guess
(This used to be commit ec3ef5ddbe)
2007-10-10 10:57:01 -05:00
Jeremy Allison
96f179752d r7039: Ensure we always call read_socket_with_timeout() when
timeout > 0. Better solution after much helpful input
from derrell@samba.org. We may eventually change the
read_socket_with_timeout() interface to count down the
timeout value.
Jeremy.
(This used to be commit 09c9a62aa5)
2007-10-10 10:57:01 -05:00
Gerald Carter
4b417655f7 r7038: * upgrade version of nt*tdb files. Have to fix
some issues in the printer security descriptors.
  Ensure that each printer sd has an oaner and group SID
  (BUILTIN\Administrators) and that we utilize more than
  the generic bits assigned in <= 3.0.14a.
(This used to be commit c72182c1e2)
2007-10-10 10:57:01 -05:00
Jeremy Allison
c3df3e3a08 r7034: Revert change in util_sock.c from derrell until this is
discussed more on samba-technical.
Jeremy.
(This used to be commit 7ad6fdc1ef)
2007-10-10 10:57:01 -05:00
Jeremy Allison
e9b511a32d r7033: Call a spade a spade :-).
Jeremy.
(This used to be commit f5027f6370)
2007-10-10 10:57:00 -05:00
Jeremy Allison
26e12ebd07 r7031: Added encrypt/decrypt function for LSA secrets and trusted
domain passwords on the wire.
Jeremy.
(This used to be commit f82dcac25f)
2007-10-10 10:57:00 -05:00
Derrell Lipman
54aee75980 r7025: 1 if not all data is available at the time we go to read a packet, retry
the read using a timeout to ensure that all data for the packet is received.
2 some minor changes to meet coding standards
3 eliminate some compiler warnings
(This used to be commit 7b4d4f6109)
2007-10-10 10:57:00 -05:00
Gerald Carter
cc6df2e9cf r7024: reverting mistaken commit
(This used to be commit c70c5c4ee9)
2007-10-10 10:57:00 -05:00
Gerald Carter
af52df2f1f r7020: fixing printer ace values and getting rid of false compiler warning about unitialized variable
(This used to be commit 3a91b20e4b)
2007-10-10 10:57:00 -05:00