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

1601 Commits

Author SHA1 Message Date
Andrew Tridgell
27ff18a184 these dummy files are needed for autoconf processing
(This used to be commit be762dc3de6c1ef768790522dfe93007a61ce5d7)
1998-08-09 11:24:15 +00:00
Andrew Tridgell
426de6f97f the autoconf scripts are now converted to the new directory structure
now the Makefile .....
(This used to be commit 4fae7f129e46930960831af0da28496f9766f6ae)
1998-08-09 11:23:13 +00:00
Andrew Tridgell
e63bae9b44 new directory structure in configure.in
(This used to be commit 7067261760516c01c2dd4fa7f0a717e9c48e1554)
1998-08-09 11:14:23 +00:00
Andrew Tridgell
04c6cba5c2 we have to have the test for -lsocket before the test for some
functions (notably innetgr) to ensure we don't replace them if they
are in -lsocket
(This used to be commit d1212048903fff8725e501001ac84b019c21b939)
1998-08-08 05:25:04 +00:00
Andrew Tridgell
963e96f3a9 added --with-nisplus-home option
(This used to be commit 70000c21909a154344b489e8aa18a5868ff52865)
1998-08-08 01:15:14 +00:00
Herb Lewis
c0e709417f forgot to remove -nostrip option for packaging. Makes inst package too big.
(This used to be commit 8bf365a54a5aedbd1b2aa373aa6b26a9708d7156)
1998-08-07 19:01:59 +00:00
Herb Lewis
05e6d0bcc1 add startswat.sh to automate starting swat with inetd
update make scripts to use new autoconfigure setup
(This used to be commit 737a58c1568fd76afe32a78895ee09b1543a595d)
1998-08-07 18:56:12 +00:00
Jeremy Allison
a4b872451e Fixed memory leak when freeing ChangeNotify structures.
Jeremy.
(This used to be commit 996c5ac97a8d1443bc8abc59b9a10ff3aeb77389)
1998-08-05 22:17:51 +00:00
Jeremy Allison
3aeadef40b nttrans.c: Fix change_notify. Queue processing code wasn't changing to
the correct directory before doing the stat. Doh !
uid.c: Fix for performance in security=share mode. Invalid vuid meant
       that in security=share mode Samba was always doing the become_user/
       undebome_user pairs for *every* smb. This code fixes it, but tridge
       should review for security implications.
Jeremy.
(This used to be commit c3663379fdcec487feea2e5d848ee012ee6c6baf)
1998-08-04 23:45:34 +00:00
Jeremy Allison
c0c057c0df loadparm.c: Added "debug timestamp" synonym for Chris.
nttrans.c: Moved common code into function in server.c
           Removed left over debug level 0.
server.c: Moved common code into function in server.c
Jeremy.
(This used to be commit 34ef55b7228155cef40cbdfcdc1fe623c1037bd6)
1998-08-04 01:01:26 +00:00
Christopher R. Hertel
31c09de03c More formatting changes. Mostly converted some DEBUG() calls to DEBUGADD()
so that we wouldn't get too many timestamps.

Chris -)-----
(This used to be commit 3e7e5fad378cf144927d9f2ffc82f80e150d44ab)
1998-08-03 22:10:53 +00:00
Jeremy Allison
7448091da6 First implementation of ChangeNotify - this version only checks
for changes in the directory modify timestamps. A better version
will look at the requested client flags, and create a hash that
represents the current state of the directory, and check against
this instead.
debug.c: Added lp_timestamp_logs() function.
loadparm.c: Added "change notify timeout" in seconds (default 60)
- this is the scan rate for a directory.
            Added ""timestamp logs" boolean - default True. Turns
off log timestamps (so I can read them :-).
nttrans.c: ChangeNotify implementation.
server.c: ChangeNotify implementation.
shmem_sysv.c: Added exits on shmem errors (without them smbd can
              core dump if some calls fail).
smb.h: Added ChangeNotify flags for future use.
util.c: Tidied up typedef.
Jeremy.
(This used to be commit a0748c3f53974483680ebe2ea4f556ece8d7fa43)
1998-08-03 19:07:55 +00:00
Christopher R. Hertel
103857e8e3 One more minor change to the format of a DEBUG message. I broke up a
very long output line in become_domain_master_query_success().
Chris -)-----
(This used to be commit 9b5d431661c55056c31bedf9ef3900f27e1c5292)
1998-08-03 18:33:49 +00:00
Christopher R. Hertel
f1abfacd4d I finished removing timestring() calls from DEBUG() messages. Also went
through and changed some DEBUG() calls to DEBUGADD() to combine output
under a single timestamp.  There were too many timestamps.

Note that Jeremy has told me that he's working on adding a config parameter
to turn timestamps off.  Cool.

Chris -)-----
(This used to be commit 247dbc9a24987035a47f1ba4fa143b1e2c050e92)
1998-08-03 18:13:13 +00:00
Richard Sharpe
4fa20ebdc0 Fixing clitar.c so that tar to stdout works correctly.
Replaced printfs with DEBUG(0. Tested ... Works.

Hope I didn't disturb the autoconf code ... It feels
great to be able to run configure for Samba at long last!

Regards
Richard Sharpe
(This used to be commit b968aa31ba15742a9eadc010e03781583feb6455)
1998-08-03 10:35:00 +00:00
Christopher R. Hertel
8c372cf5e0 This is the remaining set of changes needed to replace the changes lost
when Andrew and I were both working with util.c.  I really don't know
how I lost the autoconfigure changes (honest, I *did* run frequent
updates).

Chris -)-----
(This used to be commit bedefc2066ac86199b29ccd7f65ad5f1d8a899c4)
1998-08-03 03:50:07 +00:00
Christopher R. Hertel
feb16291aa I have fixed some of the autoconfigure problems. I'm studying the diffs
for the rest.  I've found that only debug.h seems to be out of sync (i.e.,
util.c itself appears to be okay).

Chris -)-----
(This used to be commit b41cdbffb7233f73ac15526f7b5499658256cd82)
1998-08-03 03:22:42 +00:00
Christopher R. Hertel
28900ea26f As per a Andrew's message, I went through and removed the timestring()
timestamps from several DEBUG messages.  The timestamps are redundant now
that DEBUG() provides them automatically.

There are still a few more files to do, but I've got to get home for dinner.

Chris -)-----
(This used to be commit 60286ccecaa6028d687e6406755016455e3b3a26)
1998-07-31 22:39:15 +00:00
Christopher R. Hertel
e6b8685091 Debugging functions are now in their own module.
Chris -)-----
(This used to be commit 2c6dc2779647bbc0c27a102632882e617ef7643e)
1998-07-31 20:17:36 +00:00
Christopher R. Hertel
ebd415c03f This is the checkin of the debug changes.
Makefile.in:  I've added debug.o.
  proto.h    :  Rebuilt, as is standard for these sorts of things.
  smb.h      :  New macros, etc.
  util.c     :  Debug code removed.

I'll check in debug.c in the next step.

Chris -)-----
(This used to be commit 653c17c1b8e34bfbd05ea35ada9436a50d5a7ba4)
1998-07-31 20:16:35 +00:00
Andrew Tridgell
3a1fdf05dd added test for getpwanam().
(This used to be commit 4eb28f7148f61a215ca644cbe704a4e8dbd83a77)
1998-07-31 03:33:25 +00:00
Jeremy Allison
7284bb5ca0 Makefile.in: Moved UBIQX stuff into UTILOBJ.
loadparm.c: Added "ole locking compatibility" option (default "true").
locking.c: Changes to implement union in files_struct.
locking_shm.c: Changes to implement union in files_struct.
nttrans.c: Made opening a directory explicit (we have to).
           Added create directory code for nttrans.
reply.c: Changes to implement union in files_struct.
server.c: Changes to implement union in files_struct. Added create directory code.
trans2.c: Changes to implement union in files_struct.
smb.h: Changes to implement union in files_struct.
util.c: Changed linked list code to UNIQX linked list. This will make
        the other lists I need to implement for ChangeNotify and blocking
        locks easier.
Jeremy.
(This used to be commit 3a5eea850bb256b39cff8ace1e4fb4e0c1f5472b)
1998-07-30 21:18:57 +00:00
Christopher R. Hertel
7d5d83ecec In addition to the HAVE_FUNCTION_MACRO test that Andrew used as an example,
I also need to know if the __FILE__ macro exists.  I followed the example,
but ran into two problems:

1) I don't have the autoconf tools installed.
2) The instructions did not say which files should be checked in after
   running autoheader and autoconf.

So I'm checking in the modified acconfig.h and configure.in on the
assumption that the next time someone runs autoheader and autoconf my
new tests will be included.

Hope that's not a problem (and I'll try to grab a copy of autoconf from
somewhere).

Chris -)-----
(This used to be commit 0637a49d5d6c03f10d462be4e92c4e4bbf7ff6c2)
1998-07-30 20:39:30 +00:00
Andrew Tridgell
555616b85e added HAVE_FUNCTION_MACRO test
(This used to be commit cae580ccc397ea33fdb24a777bdedef6e8271244)
1998-07-30 07:05:15 +00:00
Andrew Tridgell
5371a80557 fixed sin_len test for FreeBSD
(This used to be commit 15b666a0cebb994b6ed96c75716946afdbfa2861)
1998-07-30 04:54:14 +00:00
Andrew Tridgell
b08931b552 fixed a make proto bug pointed out by Chris.
(This used to be commit fc1947b52a37bf2c0739091f3dbd84c4a9781d93)
1998-07-30 01:49:58 +00:00
Andrew Tridgell
184cf564e6 updated prototypes
(This used to be commit 0bdb51af3199eb32cd3da4c4b8d31fbed5d2ae85)
1998-07-29 07:11:33 +00:00
Andrew Tridgell
87325d9c6c fixed a bug in the replacement inet_ntoa
(This used to be commit 32bd7137122eedf44dbb092da5ae3106d8fe994e)
1998-07-29 07:07:08 +00:00
Andrew Tridgell
a957abd1fd test for a broken inet_ntoa and replace it if necessary (for
IRIX+gcc-2.8.1)
(This used to be commit ddffbcbcb1284b6ead5f7f7b6665ba2456c0071a)
1998-07-29 07:02:06 +00:00
Andrew Tridgell
13e351d123 ignore the auto-generated dummy file
(This used to be commit f4c629bde2bbcb0cfa4d6f5cb1aa7edddf569fac)
1998-07-29 05:09:10 +00:00
Andrew Tridgell
310a1b650c added Makefile to .cvsignore in the hope that this will prevent people
from committing changes to it.
(This used to be commit a7d4e6697fb724def740b8bbfc3e88ae651cc20e)
1998-07-29 05:07:29 +00:00
Andrew Tridgell
fb08c34cf3 get rid of the runtime test for broken getgroups() and add a compile
time test instead. This also allows us to get rid of the igroups
element of a couple of structures.
(This used to be commit 8b25fe734166b76ceebf8d9543c706ebe0fddc96)
1998-07-29 05:05:36 +00:00
Andrew Tridgell
73dc9870af removed some feedback request comments - we get enough email :)
(This used to be commit 19aa9a1c95d357e1041e9a3ece89d7bb3cc6f6ac)
1998-07-29 03:34:43 +00:00
Andrew Tridgell
fb1e22bb71 updated the UNIX install instructions to include ./configure
(This used to be commit 8d916f3fdb8eeea179f25028adc2a60f2e4e9b24)
1998-07-29 03:34:08 +00:00
Andrew Tridgell
c49c0c7c63 hopefully permissions are right now
(This used to be commit e7b6e8ef618029e6b2c372afcbf3f158217b04bd)
1998-07-29 03:20:19 +00:00
Andrew Tridgell
62b5ea0986 still trying to get permissions right - CVS doesn't commit permissions changes it seems
(This used to be commit 0cf6529341aa8023137222c94b0895ff555b8791)
1998-07-29 03:19:10 +00:00
Andrew Tridgell
ca26280e60 checkin configure again in order to get permissions right
(This used to be commit e16c467303884277c8e6acb6bffe01a27c5e853f)
1998-07-29 03:16:09 +00:00
Andrew Tridgell
8d42ee0f2c some merge cleanups
(This used to be commit 1d655b7c64231b0aec0548bb90fc3dcc3f37791c)
1998-07-29 03:15:02 +00:00
Andrew Tridgell
64578c0589 merge from the autoconf2 branch to the main branch
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)
1998-07-29 03:08:05 +00:00
Jeremy Allison
c48b3fce6b locking.c: Print messages when we downgrade a lock.
reply.c: Do the same mask expansion we do in trans2.c - needed for Win98.
trans2.c: Make the mask expansion into a function call now we have to
          do it twice.
Jeremy.
(This used to be commit 7b3a9d6285cc0d1967155a68845e28c6296ecc67)
1998-07-29 00:27:23 +00:00
Jeremy Allison
83951dd376 locking.c: Don't need to do map_lock_type on *testing* a lock, just on setting.
Jeremy.
(This used to be commit 17f68cc86cafbb04dbd9cc6ecc0aac7b911c9b70)
1998-07-28 18:26:47 +00:00
Jeremy Allison
7abcd0521e loadparm.c: Added strict sync parameter.
locking.c: Added code to deal with real open mode of file.
reply.c: Added strict sync parameter.
server.c: Added strict sync parameter. Fixed open modes.
Jeremy.
(This used to be commit ed57b603b5c9333d588e62d774ad2be67e43ffd9)
1998-07-28 18:15:31 +00:00
Jeremy Allison
1aa138922e chgpasswd.c: Fixed up debug calls to stop crashes if ptsname failed.
local.h: Kept FSTYPE_STRING as Samba for now.
nmbd_browsesync.c: Added bugfix from Matt Chapman mattyc@cyberdude.com
                   - lmb_browserlist is now a struct ubi_dlList not a
                   struct browse_cache_record *.
server.c:
smb.h:
uid.c:
password.c: Removed attrs code - it is not used anywhere.
Jeremy
(This used to be commit ef1af7fe6d5c58ae57b8e4efff0729e1a315da43)
1998-07-27 18:50:45 +00:00
Christopher R. Hertel
85474e0780 Cleaned up some testing code and made it more "permanent" looking. The
NetBIOS name lists attached to the subnet records are now managed by
the splay tree code.  I am still working on the WINS database as a
separate issue.  Code is written, it's just a matter of incorporating it.
CRH
(This used to be commit 5ba96ddde4a4b2da2cc09190f5c6f0e633852f12)
1998-07-25 15:45:42 +00:00
Christopher R. Hertel
0fa2fde675 Noticed that I was using the strlen() of a string that I had strdup()'d
before testing that the strdup() worked.  Fixed.
(This used to be commit 899d0d5de5dd9d080d5c4cb94874d4f939427d1b)
1998-07-25 15:18:07 +00:00
Christopher R. Hertel
e6608b5279 Converted the browser database to a ubi_dLinkList. This should reduce code
size, etc.  Also did a bit of work to add comments.
Chris -)-----
(This used to be commit d8b0a2104c05df957f0eb49c21388ec5a4858d98)
1998-07-24 19:03:11 +00:00
Christopher R. Hertel
48a378f067 Changed the definition of the linked list header used in the directory
cache so that it uses the new ubi_dlNewList() macro in ubi_dLinkList.h.
(This used to be commit 16f0ad0c913e2d5b0198409485c56ad4809ca077)
1998-07-24 07:43:13 +00:00
Christopher R. Hertel
5a9f14bca9 To each list type, I added a macro that makes it easier to define and
initialize a list header.
(This used to be commit 3c133778f13f690e70b8b5b923e10b5fe561c812)
1998-07-24 07:39:14 +00:00
Richard Sharpe
981e1b0f7e Updates smbstatus to have a -S and -L flag.
Also updated the documentation :-)

The code is ugly, we need to rewrite smbstatus someday.
(This used to be commit a2a9f55a76fc16ef1d4656332ef6b1b455bb6259)
1998-07-24 01:08:31 +00:00
Jeremy Allison
06c0349c44 locking.c: Added lock type to is_locked() and do_lock()
as the code in reply_lockingX wasn't taking account of
           the difference between read and write locks ! How did this
           ever work :-) !
reply.c:
server.c: Add lock type to is_locked() and do_lock().
util.c: Also added code from klausr@ITAP.Physik.Uni-Stuttgart.De
        to fix problem with log files growing too large if an
        smbd writes less than 100 debug messages.
Jeremy.
(This used to be commit 80080abf772a470d5f0f4dcd4a75fb2a09a9fb2a)
1998-07-23 00:10:26 +00:00