1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-12 21:58:10 +03:00

3112 Commits

Author SHA1 Message Date
Andrew Tridgell
a0a556a36b fixed error code for buffer_too_large in trans reply -
Andrew Tridgell
acf9286e82 fixed a problem with appliance operation -
Andrew Tridgell
e20ef3c082 use gcc not insure by default in tdb build -
Andrew Tridgell
db90a4b960 use our primary domain trust account for trusted domain authentication -
Andrew Tridgell
491ab24189 an imcompatible tdb format change (sorry!)
this will give us a much nicer migration path for the proposed
semaphore code
-
Jeremy Allison
c54e77b1f9 Check fstat return for error.
Jeremy.
-
Jeremy Allison
1ed146467e lib/util_unistr.c:
libsmb/clilist.c:
rpc_server/srv_spoolss_nt.c:
smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion.
msdfs/msdfs.c: Removed stub unistr_to_dos.
libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and
					don't add any security.
Jeremy.
-
Jeremy Allison
597ecd724e Ho hum - forgot timeout case.
Jeremy.
-
Jeremy Allison
a9c4371a2d Fix from David Collier-Brown - sys_select return was not being checked.
Jeremy.
-
Andrew Tridgell
ada483cb56 - changed smb_getpwnam() to use winbind style usernames
- finished ntdom -> winbind rename in head
-
Andrew Tridgell
80f85b5359 in head as well ...
renamed ntdom to winbind
I think that using winbind in /etc/nsswitch.conf is better than ntdom
-
Andrew Tridgell
5a617c013c treat a blank "password server =" line as a "*" if in domain security -
Andrew Tridgell
a5ca60f62b when creating the database zero the reserved space -
Andrew Tridgell
b396dbb1a7 proto rebuild -
Andrew Tridgell
0fb4ba4e03 check for sighup on each packet - otherwise it can take a _long_ time
to reload services
-
Andrew Tridgell
f1f92bf4da fail a print start on a deleted auto printer -
Andrew Tridgell
f838707820 I found a better way of handling deleted auto printers -
Andrew Tridgell
3e710f6602 formatting fix -
Andrew Tridgell
23f16c5ce6 remove autoloaded printers that are no longer in /etc/printcap when we
get a HUP
-
Andrew Tridgell
9c598e571d patch from Dominik Kubla <dominik.kubla@uni-mainz.de> -
Andrew Tridgell
92109d7b3c more merging voodoo
this adds "#define OLD_NTDOMAIN 1" in lots of places. Don't panic -
this isn't permanent, it should go after another few merge steps have
been done
-
Andrew Tridgell
d178c00aae more merging
it is now at the stage that winbindd can compile in the head branch,
but not link
-
Andrew Tridgell
5e04885b86 - add some reserved space to every tdb, this will be
used for semaphores and future expansion
- update tdb version number to 2
-
Herb Lewis
400906e642 Use a prime for default tdb hash size - this makes a difference !
Jeremy.
-
Herb Lewis
f9a52cadbf Fix for misunderstanding of fsync added when vfs layer
was done. Samba was doing fsync's (bleagh).
Jeremy.
-
Herb Lewis
f2a5ba3f09 Using a structure for a tdb key can lead to insideous, hard
to find bugs. On 64 bit IRIX, structure packing means that
a
struct {
SMB_DEV_T dev /* 4 bytes */
SMB_INO_T ino /* 8 bytes */
}

has 4 bytes of padding between the two members. If you
don't null the memory before using it as a tdb key,
you randomly can't find keys depending on what is in
the padding. This caused me immense pain and was hard
to track down.... :-)

Jeremy.
-
Herb Lewis
6bf74da8b8 Fix for check_kernel_oplocks looking for the var directory
before it may need to be created.
Jeremy.
-
Herb Lewis
ebb4f76550 This is reall Jeremy commiting as Herb at SGI labs. Fix
for "socket operation on non-socket" error in log.smb
on HEAD branch startup (server_fd not initialized to -1).
Jeremy.
-
Andrew Tridgell
43860215d4 - use smb_gwtpwnam() in another couple of places
- don't call add/del user if the scripts are empty
-
Andrew Tridgell
3cac3ccf04 fixed some winbind cache bugs -
Andrew Tridgell
f76c037255 the beginnings of a new scheme I've working on to allow an easier
head/tng merge.

It goes something like this:

- headers from tng get copied over one at a time

- the old headers get renamed to *_old.h

- server side code that used the old headers gets a
  #define OLD_NTDOMAIN 1
  #undef OLD_NTDOMAIN
  at the start and end of the code

- mkproto.awk recognises these special defines and does magic stuff so
  that each .c file sees the right headers

- we start moving the rpc client libraries from tng to head.

if this goes OK then, in theory, we should be able to move the client
side rpc code from tng to head without disturbing the existing head
server side code. Then when that works we can consider merging the
server side.

it remains to be seen if this scheme will work. So far I've moved
rpc_samr.h and don't seem to have broken anything.

Note this this is still a very delicate operation, as at every step of
the way I want to keep head fully functional. Please don't take part
unless you discuss it with me first.
-
Andrew Tridgell
1b6d01e115 don't attempt to build rpcclient in the head branch -
Andrew Tridgell
db241a0b09 brought across some rpc header files from tng -
Andrew Tridgell
3fb862531a brought the winbindd code into head
this does not yet compile, but I'm working on that.
-
Andrew Tridgell
6c5d139844 added some rules for winbindd and pam_winbind -
Tim Potter
d58146321b Added tdb_store_by_string() and tdb_fetch_by_string() functions to store
data with null terminated string keys.
-
Jeremy Allison
eb281324fa Fix for VMS platforms from "John E. Malmberg" <wb8tyw@qsl.net>
Jeremy.
-
Jeremy Allison
ac40971f30 Someone :-) forgot to add secrets.c to HEAD.
Jeremy.
-
Andrew Tridgell
88ad00b82a added secrets.tdb and changed storage of trust account password to use
it
-
Andrew Tridgell
cd5e249427 added winbindd options in head branch, so it is possible to combine
branches
-
Andrew Tridgell
76da586396 fixed a vfs crash bug -
Andrew Tridgell
0ce2ca5ccd signed/unsigned fixes so we can handle a lock base close to 2^32 -
Jeremy Allison
df87259a35 Fix for uninitialized memory read in brlock code. brl_locktest now needs
to correctly set the fnum, as the brl_conflict code looks at it.
Jeremy.
-
Jeremy Allison
1152f2ed00 Fix for dual unix_to_dos conversion in readdir from A.V.Shutko <AVShutko@mail.khstu.ru>
Jeremy.
-
Tim Potter
b531ddb265 Fix for crash bug in OpenConfFile() if no smb.conf exists. -
Jeremy Allison
b899943658 Fix for read_file() returning -1.
Jeremy.
-
Jeremy Allison
82681edda1 Two fixes. Added missong logic & case in lock split code.
Fixed range split into two, as DLIST_ADD has the wrong semantics...
Jeremy.
-
Andrew Tridgell
c14a261644 make debug easier to read -
Andrew Tridgell
d64bb07f0a make debug easier to read -
Andrew Tridgell
efc9752f1e nasty hack to print posix locks -