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

1476 Commits

Author SHA1 Message Date
Jeremy Allison
6f6b4c61e0 r4020: Fix for crash reported by Bård Kalbakk <baard@inett.biz>.
Don't go fishing for the authorisation data unless we
know it's there.
Jeremy.
2007-10-10 10:53:28 -05:00
Jeremy Allison
b926480d05 r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
Use correct enum type for comparisons.
Jeremy.
2007-10-10 10:53:27 -05:00
Jeremy Allison
8e979772a6 r3931: Fix all "may be used uninitialized" and "shadow" warnings.
Jeremy.
2007-10-10 10:53:25 -05:00
Jeremy Allison
eead77919b r3892: Fix "might be used uninitialized" error.
Jeremy.
2007-10-10 10:53:24 -05:00
Volker Lendecke
84ac54aef2 r3843: If a connection to a DC is requested, open connections simultaeneously to all
DCs found. The first one to reply wins.

Volker
2007-10-10 10:53:20 -05:00
Jeremy Allison
4d52bf7c8b r3714: Getfacl now seems to work on files and directories. Next do setfacl
and port to Samba4.
Jeremy.
2007-10-10 10:53:16 -05:00
Jeremy Allison
1bd3f13344 r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.
Need to add printout functions in client and set posix acl in server.
SteveF - take a look at this for the cifsfs client !
Once this is working and tested the next step is to write this up for
the UNIX extensions spec. documents.
Jeremy.
2007-10-10 10:53:16 -05:00
Jeremy Allison
34275bae78 r3538: Fix the build with the latest Heimdal code.
Jeremy.
2007-10-10 10:53:09 -05:00
Jeremy Allison
b08e3bf6fb r3535: Tidy up error reporting. Memory leak with MIT krb5 1.3.5 turns
out to be in the kerberos libraries, not in Samba. Now to test
with Heimdal.
Jeremy
2007-10-10 10:53:08 -05:00
Volker Lendecke
4c4da26aa1 r3525: Fix a memleak
Volker
2007-10-10 10:53:08 -05:00
Günther Deschner
05619cfdbf r3439: Finally fix build for platforms without kerberos.
Guenther
2007-10-10 10:53:07 -05:00
Volker Lendecke
b144ce557f r3407: Fix the build 2007-10-10 10:53:06 -05:00
Jeremy Allison
30b8807cf6 r3379: More merging of kerberos keytab and salting fixes from Nalin Dahyabhai <nalin@redhat.com>
(bugid #1717).
Jeremy.
2007-10-10 10:53:05 -05:00
Jeremy Allison
7565019286 r3377: Merge in first part of modified patch from Nalin Dahyabhai <nalin@redhat.com>
for bug #1717.The rest of the code needed to call this patch has not yet been
checked in (that's my next task). This has not yet been tested - I'll do this
once the rest of the patch is integrated.
Jeremy.
2007-10-10 10:53:05 -05:00
Jeremy Allison
eefb911d0c r3345: More MIT/Heimdal tests for comparing enctypes now.
Jeremy.
2007-10-10 10:53:05 -05:00
Jeremy Allison
c9b8049012 r3342: More MIT/Heimdal fixes to allow an enctype to be explicitly set in a krb5_creds
struct.
Jeremy.
2007-10-10 10:53:05 -05:00
Jeremy Allison
55d23cb253 r3294: Fix for SMB signing with 56-bit DES session keys. From Nalin Dahyabhai <nalin@redhat.com>.
Jeremy.
2007-10-10 10:53:04 -05:00
Gerald Carter
c7036f8246 r3264: fix lmhosts lookup so that we don't say we found something when we really didn't 2007-10-10 10:53:03 -05:00
Volker Lendecke
2af98ec054 r3143: Allow for multiple DC's to be named as #1c names in lmhosts.
Volker
2007-10-10 10:53:02 -05:00
Jeremy Allison
b35f48ad8e r3138: Fix from Sorin Manolache <sorinm@gmail.com> for memory leak.
Jeremy.
2007-10-10 10:53:01 -05:00
Richard Sharpe
3eb33fbc64 r2959: If we want to support writes >= 65536 with cli_write, then it had better
return a size_t, not an ssize_t, and we had better left shift the upper
part of the write count, not right shift it.
2007-10-10 10:52:57 -05:00
Günther Deschner
69b745fb98 r2942: Add client-side support of triggering ads printer publishing over msrpc
setprinter calls inside the net-tool.

This is usefull to mimic the same queries a windows-client does. At
least win2k returns WERR_IO_PENDING when printer is published via
setprinter, samba returns WERR_OK but this does not hurt.

Guenther
2007-10-10 10:52:57 -05:00
Tim Potter
1327d83d90 r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD.
Bugzilla #1903.
2007-10-10 10:52:56 -05:00
Tim Potter
7f161702fa r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of
'..' from all #include preprocessor commands.   This fixes bugzilla #1880
where OpenVMS gets confused about the '.' characters.
2007-10-10 10:52:55 -05:00
Tim Potter
588de0d4a8 r2834: Netapps can return NT_STATUS_ACCESS_DENIED when trying to return the
security descriptor for a file.  Return an error in this case instead
of panicing trying to unpack a zero length buffer.  Found by Brett
Funderburg.
2007-10-10 10:52:54 -05:00
Gerald Carter
316302ca4a r2770: oops; internal_resolve_name() should stay static in 3.0 2007-10-10 10:52:52 -05:00
Gerald Carter
57db8ca91f r2768: BUG 1519: save the hostname used in the open_printer_ex() for later reuse when filling in the spolss replies (also gets rid of get_called_name() 2007-10-10 10:52:52 -05:00
Jeremy Allison
8a7741dddf r2665: Ensure the UNIX info level returned enough data.
Jeremy.
2007-10-10 10:52:49 -05:00
Jeremy Allison
b25cc59641 r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASIC
info level. Outputs data on the file in the same format the the
stat command in Linux. Should be useful to people wanting to learn
how to parse the UNIX extension output.
Yes I will add the docs later :-).
Jeremy.
2007-10-10 10:52:48 -05:00
Jeremy Allison
fc51c97ea8 r2575: Return correct error codes on old SEARCH call (from Samba4 torture tester).
Jeremy.
2007-10-10 10:52:47 -05:00
Günther Deschner
6239a5bec9 r2474: (re-)fix memleak (initially found by jra).
heimdal 0.6.1rc3 had a bug causing winbindd to die, heimdal version
0.6.1 and higher have that fixed (thanks to Love from Heimdal).

SuSE has been informed about this possible pitfall, any other vendors
that ship with heimdal-0.6.1rc3 to be notified ?

Guenther
2007-10-10 10:52:44 -05:00
Günther Deschner
4bd9d8240b r2472: Fixed krb5_krbhost_get_addrinfo()-parameters and make failure
of this call non-critical.

Thanks to Love for the patch and explaining the inner workings of
heimdal.

Guenther
2007-10-10 10:52:44 -05:00
Volker Lendecke
587d863ae8 r2466: Fix memleak found by sean.chandler@verizon.net.
Thanks!

Volker
2007-10-10 10:52:44 -05:00
Stefan Metzmacher
54fd28f5e7 r2388: fix client quota support
for the client we need the windows path and for server we need unix path

metze
2007-10-10 10:52:42 -05:00
Jeremy Allison
b1033fc77c r2373: Fix typo.
Jeremy.
2007-10-10 10:52:41 -05:00
Jeremy Allison
330025d1a6 r2371: Fix for talking to OS/2 clients (max_mux ignored) by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>.
Bugid #1590.
Jeremy.
2007-10-10 10:52:41 -05:00
Jeremy Allison
d6b26f9db7 r2355: Now we've shipped 3.0.7, add in the DOS fix.
Jeremy.
2007-10-10 10:52:40 -05:00
Jeremy Allison
dd9b17abd6 r2224: Make nmbd more robust against bad netbios packets.
Jeremy.
2007-10-10 10:52:36 -05:00
Gerald Carter
4703a71fa8 r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3 2007-10-10 10:52:31 -05:00
Günther Deschner
cca660e109 r2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
using our own implementation of krb5_lookup_kdc with heimdal. Also,
heimdals krb5_krbhst_next() obviously does not retrieve the struct
addrinfo in the krb5_krbhst_info-struct, using
krb5_krbhst_get_addrinfo() instead.

Guenther
2007-10-10 10:52:29 -05:00
Günther Deschner
27302905e8 r1965: add cli_setattrE (inspired by samba4-code). needed for further
migration-work. could someone possibly double-check the byte-count?

Guenther
2007-10-10 10:52:25 -05:00
Jeremy Allison
82e4036aaa r1661: Changed the password history format so that each history entry
consists of a 16 byte salt, followed by the 16 byte MD5 hash of
the concatination of the salt plus the NThash of the historical
password. Allows these to be exposed in LDAP without security issues.
Jeremy.
2007-10-10 10:52:17 -05:00
Andrew Bartlett
3baa4ef6c5 r1612: Fix bug #1571 found by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
(Botched LANMAN2 session setup code)

Andrew Bartlett
2007-10-10 10:52:16 -05:00
Andrew Bartlett
554a913287 r1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterly
pointless.  With a well-known session key, we may as well put the
password change directly on the wire, with it's own 'crypted with old
password' as the protection.

This should fix some 'long password change' issues, against Samba in
particular.

Andrew Bartlett
2007-10-10 10:52:15 -05:00
Volker Lendecke
530e7f09ae r1560: Not that anybody uses this stuff (yet...), but at least get it correct :-)
When sending a mailslot datagram, get the packet length correction correct.

Volker
2007-10-10 10:52:14 -05:00
Andrew Bartlett
36741d3cf5 r1492: Rework our random number generation system.
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork().

For other systems, we now only re-seed after a fork, and on startup.
No need to do it per-operation.  This removes the 'need_reseed'
parameter from generate_random_buffer().

Andrew Bartlett
2007-10-10 10:52:13 -05:00
Andrew Bartlett
6d594d5bb1 r1487: Remove unused parameter for the client-side signing functions.
Andrew Bartlett
2007-10-10 10:52:12 -05:00
Andrew Bartlett
54248a405c r1428: Remove *completly bogus* memset. (No doubt my bug, too...).
This memset could well have clobbered bits of the stack, because
session_key changed from

char session_key[16];

to

DATA_BLOB session_key

Andrew Bartlett
2007-10-10 10:52:11 -05:00
Gerald Carter
89a11b5d7c r1407: revert change that broke the build on systems w/o krb5 files 2007-10-10 10:52:10 -05:00
Gerald Carter
837f56ec8b r1399: applying heimdal krb5 fixes from Guenther and fixing compile warnings in libadskerberos_keyatb.c 2007-10-10 10:52:10 -05:00