1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

6281 Commits

Author SHA1 Message Date
Andrew Tridgell
ed3fbafdd3 cope with pam being off
(This used to be commit 5f6e7bbce76c85571ee10a3f8b5bbbd0beadb632)
2001-09-04 11:39:57 +00:00
Andrew Tridgell
b04933dfbb a fix for fussy compilers
(This used to be commit 78f437b5073207606b23be42960e2b10f785a148)
2001-09-04 11:18:50 +00:00
Andrew Tridgell
c76dd14040 it now all compiles - so try enabling it by default and see what explodes on the build farm
(This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04 10:57:29 +00:00
Tim Potter
b5b9c46c0f Don't overwrite an existing /etc/xinetd.d/swat on install file since we
don't overwrite it on upgrade.

Does this make sense?
(This used to be commit 90b3dccfd421bac6516c298f85fcccc857c57989)
2001-09-04 07:43:50 +00:00
Tim Potter
8c569f70ee Welcome to tpot's exploit world!
- put in checks for return values in rpc parsing routines

- replace a bunch of stupid &(foo->bar) with &foo->bar

- fixed bug in net_io_sam_alias_mem_info where there are zero members in
the alias
(This used to be commit eecdba2b015ed48d7dd88daea2af466f28cd2ff7)
2001-09-04 07:24:13 +00:00
Andrew Tridgell
19fea3242c the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work
(This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-04 07:13:01 +00:00
Tim Potter
55cf37488f Fixed some compiler warnings.
(This used to be commit 06608971ed95c02188a1b2bf7b1f9a2845e04022)
2001-09-04 06:16:01 +00:00
Andrew Tridgell
fbc1f326f4 more NTSTATUS/WERROR conversion
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03 10:38:13 +00:00
Andrew Tridgell
2771d77c60 tidied up some unused vars in JFs new fns
(This used to be commit e26502b1f840cd0fafd700c9756b610b38709ce2)
2001-09-03 08:54:24 +00:00
Andrew Tridgell
fd6ea43161 the next step in our error code handling change
- added WERROR for win32 error codes
- added a configure test for immediate structures

still lots to do, so its not enabled by default, but the main
structure is there
(This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-09-03 08:50:59 +00:00
Andrew Tridgell
95739423d0 updated copyright for Michael Sweet
(This used to be commit 9d53473f302f172c10854b8df3000552918d0637)
2001-09-02 22:39:03 +00:00
Andrew Tridgell
819f5ea0d5 use a name not a number for ERRinsufficientbuffer
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-09-01 23:08:08 +00:00
Andrew Tridgell
bd7ba65dda more NTSTATUS changes
(This used to be commit 8a49b2f7df46b2c990a980758fe1f3871e8b578e)
2001-09-01 23:06:57 +00:00
Tim Potter
d01c23680a Set acb_info to ACB_SVRTRUST if we are joining the domain as a BDC without
going through the server manager.
(This used to be commit 52f5abae4667d841be7ca8f5ff0f25ba6d027067)
2001-08-31 05:48:37 +00:00
Andrew Bartlett
b4ed8c8365 Fix up some compile issues. We can't have C99 comments and add a smattering
of const.
(This used to be commit af53e774d754d72b01d9840e8b45d27bc394e33d)
2001-08-31 03:38:48 +00:00
Tim Potter
80f853772a Added samsync binary to list of ignored files.
(This used to be commit 604468c6eedfa7a8ac62800cf7cf73cbd969ae45)
2001-08-31 02:32:57 +00:00
Simo Sorce
137fb61490 changed the data format in the tdb, as the time fields were not
managed correctly.
this mean you need to rebuild your passdb.tdb file.
(This used to be commit 57b8d3bb84e261e55febdde88e45684455f0a294)
2001-08-31 01:29:53 +00:00
Jeremy Allison
4bd774f458 Fix crash bug with indirecting through null pointer on recursive delete.
Jeremy.
(This used to be commit a6f04d16613a06c1aafa89d7373d1e4b4a5fb45b)
2001-08-30 22:20:02 +00:00
Jeremy Allison
58ed70f378 Fixed silly typo.
Jeremy.
(This used to be commit 6ee2b41429e43f6a9a58eba3cb01b952be3d5ca5)
2001-08-30 20:09:49 +00:00
Jeremy Allison
8debe5b629 Fix from Paul Green to set correct lengths.
Jeremy.
(This used to be commit 52b9b6d519c38b2a3e524d098a09fb996e8a2047)
2001-08-30 19:16:56 +00:00
Herb Lewis
e555b969b2 if no ACL elements then use chmod - fixes ability to set read-only bit
on files that do not have an ACL
(This used to be commit 65ea13420c78cf0a8c01f14c08815e4b44ca4abc)
2001-08-30 18:56:35 +00:00
Simo Sorce
3bd7e65cac this was a stupid typo,
thanks to Jochen Dolze (dolze@epcnet.de) for pointing out.
(This used to be commit a554d5a99a03e6e8df7e946e5636f5ee80b21969)
2001-08-30 08:14:16 +00:00
Gerald Carter
aca0710066 merge from 2.2
(This used to be commit d31e1b63b5a13ec585da18971e85c9eaa941ed33)
2001-08-30 05:54:41 +00:00
Gerald Carter
4f168fd114 merge from 2.2
(This used to be commit 3e8ccb420260591f362fa8a9d1221481449f8ef7)
2001-08-30 00:47:21 +00:00
Gerald Carter
e660acf648 merge from APPLIANCE_TNG
(This used to be commit 2af0a65e4c56e9361ee03286edcf26b5926b39e4)
2001-08-30 00:41:51 +00:00
Gerald Carter
dfe2d64676 merge from APPLIANCE_TNG
(This used to be commit aff66993e47dc14371c15e75de11ff2c15d226f3)
2001-08-30 00:13:55 +00:00
Tim Potter
74bee75f10 Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8
header files.
(This used to be commit 888c852f01cec89b380fdf2564444b86d396c442)
2001-08-29 23:49:26 +00:00
Tim Potter
b3e43e047b Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>
(This used to be commit 9081af4fe584d222c00587d6d3c81e12d6611222)
2001-08-29 22:47:59 +00:00
Christopher R. Hertel
6c38114f57 Fuss, fuss, fuss...
Function name_status_query() performs a node status query, so it really
should be called "node_status_query()" just to be consistent.

Yeah, minor... but it's looking as though an overhaul of namequery.c is in
order and I am trying to do the tiny changes that impact other stuff first.

Chris -)-----
(This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)
2001-08-29 04:26:27 +00:00
Tim Potter
60519d046b Should be dbgtext, not dbg_text.
(This used to be commit 7a68236c42acc72e500e120906230a637305f418)
2001-08-29 04:11:11 +00:00
Christopher R. Hertel
7f0b3ec809 Patched to ensure that it won't break HEAD.
This isn't the final version, of course, I still need to get WINS failover
working.  This is just patched so it won't need lp_wins_server() (which I
renamed to lp_wins_server_list()).

I can't compile just now as something else is broken in HEAD.  Let me know
if this version of namequery.c causes trouble down the line.  Shouldn't,
as the changes are very small, but I've been known to rock the boat
before.

Chris -)-----
(This used to be commit 29c6efc9564e51dc28e8434bdc86079c6502d73d)
2001-08-29 03:30:52 +00:00
Christopher R. Hertel
10d1c6a35f lp_wins_server() is now lp_wins_server_list().
This should make it clear that the meaning of the parameter value has
changed.  It no longer represents *the* WINS server, but a list of WINS
servers.

I have made other changes in the code such that the lp_wins_server()
function is no longer necessary.  Whenever smb.conf is reloaded the list
managed by lib/wins_srv.c is refreshed.  The wins_srv_count() function
returns the number of entries in the list so, if the list is empty, it
will return 0 (which can be interpreted as "false" in an if() statement).

Chris -)-----
(This used to be commit 968c947e8bb35cf2441f3ebbb234429f5c1733c6)
2001-08-29 02:49:14 +00:00
Jean-François Micouleau
b03a2011bb Ouch ! I didn't think I would have to do that: add 2 new rap calls !
It's a quick and ugly hack as a proof of concept: the dell powervault 705
works with a samba PDC.

I'll do a correct user enumeration later.

	J.F.
(This used to be commit 9ec6a8735682c7dfe9f8573f063da7625d425d8a)
2001-08-28 16:05:55 +00:00
Tim Potter
c22ecf6cfc Added additional objects to rpcclient for sam sync/repl support.
Added bin/samsync target.
(This used to be commit 9c8276dfec2872ed4250a84f48dbb60907aefc4b)
2001-08-28 06:46:28 +00:00
Tim Potter
fab372f657 Start of samsync program invoked by smbd to perform sam synchronisation and
sam replication.  It doesn't work yet.  (-:
(This used to be commit c96aae613dfe97808dedffc836c5d4cc9ae52185)
2001-08-28 06:44:54 +00:00
Tim Potter
d5c9172ada Merge of sam sync code from TNG.
Reverse-engineered the sam replication protocol from staring at hex dumps
for a while.  It's pretty similar to the sam sync protocol with a couple of
different delta header types.

I wasn't able to figure out the format of the privilege stuff - needs more
time and a whiteboard.  (-:

The impressive bit is that the sam sync stuff from tng basically just
worked thanks mainly to Luke Leighton's efforts in this area.
(This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-28 06:43:43 +00:00
Tim Potter
49dff249fc Added samsync and samrepl (untested) message types to smbcontrol.
(This used to be commit b0c8090396ca02d06669d6e20a1c715fc83ff887)
2001-08-28 06:38:11 +00:00
Tim Potter
cb9b39dd82 Added dummy handlers for SAM_SYNC and SAM_REPL messages.
(This used to be commit 08e05f1b3c2d5767e8f8f0343fc0ea90c786eac0)
2001-08-28 06:34:53 +00:00
Tim Potter
cd0a9f6fcc Send a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received.
(This used to be commit 73e1b708d0ab7a6e612f8910c5815a6ab6de66cd)
2001-08-28 06:34:08 +00:00
Tim Potter
174541b404 Merge of SAM delta type constants and BDC replication types from TNG.
(This used to be commit 73eeaadbe212989b5c1b2e494500e9618c3f3a5e)
2001-08-28 06:09:31 +00:00
Tim Potter
259d59084d Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message is
received.
(This used to be commit b7cf14bf84a19da8a5b8fe9895ce78f138b5379c)
2001-08-28 06:08:31 +00:00
Tim Potter
38483139bf Added sam sync and sam replication smbd message constants.
(This used to be commit 406cafc0efebc9f331e810d651888b551725af1a)
2001-08-28 06:03:38 +00:00
Tim Potter
5021be2f24 Fixed typo in comment.
(This used to be commit b10ad789d6d412ef1d2e0d8b47fc233225861bf9)
2001-08-28 06:02:51 +00:00
Tim Potter
82901df5e3 Merge from TNG - function to initialise NTTIME structure.
(This used to be commit 14bc8283f26fb80633575e471de4a15a492113c6)
2001-08-28 06:02:18 +00:00
Tim Potter
e766812ee0 Added copyright header (taken from include/doserr.h)
Added include file guards.

Converted constants to hex - hooray!
(This used to be commit 21a394c749d0282cb6403ee6239efa1a6310abb0)
2001-08-28 05:56:00 +00:00
Tim Potter
3aa6006056 Fixed description in file header.
(This used to be commit ed42dcf7846d487b73fc41c7b3f2feef8fd392e3)
2001-08-28 05:35:05 +00:00
Tim Potter
504cebabdd Fix for make proto when srcdir != cwd.
(This used to be commit e6c0fb75755240e0d14452e421d965617d761507)
2001-08-28 04:16:56 +00:00
Andrew Tridgell
1f07993900 fixed typo
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
2001-08-28 01:28:01 +00:00
Tim Potter
316c3fb510 Convert to NTSTATUS.
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
2001-08-27 21:32:54 +00:00
Tim Potter
8b6b1b2e82 Fix bug in usage().
Allow user to invoke with \\ or // in front of server name.
(This used to be commit c292b63ff60ca80c0f1804fbfb28d582c3308014)
2001-08-27 21:32:06 +00:00