summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell8-182/+779
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03tidied up some unused vars in JFs new fnsAndrew Tridgell1-12/+0
(This used to be commit e26502b1f840cd0fafd700c9756b610b38709ce2)
2001-09-03the next step in our error code handling changeAndrew Tridgell12-1027/+1091
- 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-02updated copyright for Michael SweetAndrew Tridgell1-1/+1
(This used to be commit 9d53473f302f172c10854b8df3000552918d0637)
2001-09-01use a name not a number for ERRinsufficientbufferAndrew Tridgell1-1/+1
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-09-01more NTSTATUS changesAndrew Tridgell1-17/+4
(This used to be commit 8a49b2f7df46b2c990a980758fe1f3871e8b578e)
2001-08-31Set acb_info to ACB_SVRTRUST if we are joining the domain as a BDC withoutTim Potter1-2/+6
going through the server manager. (This used to be commit 52f5abae4667d841be7ca8f5ff0f25ba6d027067)
2001-08-31Fix up some compile issues. We can't have C99 comments and add a smatteringAndrew Bartlett2-3/+3
of const. (This used to be commit af53e774d754d72b01d9840e8b45d27bc394e33d)
2001-08-31Added samsync binary to list of ignored files.Tim Potter1-0/+1
(This used to be commit 604468c6eedfa7a8ac62800cf7cf73cbd969ae45)
2001-08-31changed the data format in the tdb, as the time fields were notSimo Sorce1-24/+29
managed correctly. this mean you need to rebuild your passdb.tdb file. (This used to be commit 57b8d3bb84e261e55febdde88e45684455f0a294)
2001-08-30Fix crash bug with indirecting through null pointer on recursive delete.Jeremy Allison1-134/+119
Jeremy. (This used to be commit a6f04d16613a06c1aafa89d7373d1e4b4a5fb45b)
2001-08-30Fixed silly typo.Jeremy Allison2-6/+6
Jeremy. (This used to be commit 6ee2b41429e43f6a9a58eba3cb01b952be3d5ca5)
2001-08-30Fix from Paul Green to set correct lengths.Jeremy Allison2-6/+6
Jeremy. (This used to be commit 52b9b6d519c38b2a3e524d098a09fb996e8a2047)
2001-08-30if no ACL elements then use chmod - fixes ability to set read-only bitHerb Lewis1-2/+2
on files that do not have an ACL (This used to be commit 65ea13420c78cf0a8c01f14c08815e4b44ca4abc)
2001-08-30this was a stupid typo,Simo Sorce1-1/+1
thanks to Jochen Dolze (dolze@epcnet.de) for pointing out. (This used to be commit a554d5a99a03e6e8df7e946e5636f5ee80b21969)
2001-08-30merge from 2.2Gerald Carter1-0/+3
(This used to be commit d31e1b63b5a13ec585da18971e85c9eaa941ed33)
2001-08-30merge from 2.2Gerald Carter1-1/+1
(This used to be commit 3e8ccb420260591f362fa8a9d1221481449f8ef7)
2001-08-30merge from APPLIANCE_TNGGerald Carter1-0/+1
(This used to be commit 2af0a65e4c56e9361ee03286edcf26b5926b39e4)
2001-08-30merge from APPLIANCE_TNGGerald Carter1-43/+73
(This used to be commit aff66993e47dc14371c15e75de11ff2c15d226f3)
2001-08-29Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8Tim Potter2-13/+13
header files. (This used to be commit 888c852f01cec89b380fdf2564444b86d396c442)
2001-08-29Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>Tim Potter1-0/+3
(This used to be commit 9081af4fe584d222c00587d6d3c81e12d6611222)
2001-08-29Fuss, fuss, fuss...Christopher R. Hertel2-3/+3
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-29Should be dbgtext, not dbg_text.Tim Potter1-2/+2
(This used to be commit 7a68236c42acc72e500e120906230a637305f418)
2001-08-29Patched to ensure that it won't break HEAD.Christopher R. Hertel1-6/+10
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-29lp_wins_server() is now lp_wins_server_list().Christopher R. Hertel1-1/+1
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-28Ouch ! I didn't think I would have to do that: add 2 new rap calls !Jean-François Micouleau1-0/+127
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-28Added additional objects to rpcclient for sam sync/repl support.Tim Potter1-1/+13
Added bin/samsync target. (This used to be commit 9c8276dfec2872ed4250a84f48dbb60907aefc4b)
2001-08-28Start of samsync program invoked by smbd to perform sam synchronisation andTim Potter1-0/+270
sam replication. It doesn't work yet. (-: (This used to be commit c96aae613dfe97808dedffc836c5d4cc9ae52185)
2001-08-28Merge of sam sync code from TNG.Tim Potter5-6/+1276
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-28Added samsync and samrepl (untested) message types to smbcontrol.Tim Potter1-0/+38
(This used to be commit b0c8090396ca02d06669d6e20a1c715fc83ff887)
2001-08-28Added dummy handlers for SAM_SYNC and SAM_REPL messages.Tim Potter1-0/+30
(This used to be commit 08e05f1b3c2d5767e8f8f0343fc0ea90c786eac0)
2001-08-28Send a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received.Tim Potter1-6/+35
(This used to be commit 73e1b708d0ab7a6e612f8910c5815a6ab6de66cd)
2001-08-28Merge of SAM delta type constants and BDC replication types from TNG.Tim Potter1-0/+282
(This used to be commit 73eeaadbe212989b5c1b2e494500e9618c3f3a5e)
2001-08-28Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message isTim Potter1-8/+34
received. (This used to be commit b7cf14bf84a19da8a5b8fe9895ce78f138b5379c)
2001-08-28Added sam sync and sam replication smbd message constants.Tim Potter1-0/+2
(This used to be commit 406cafc0efebc9f331e810d651888b551725af1a)
2001-08-28Fixed typo in comment.Tim Potter1-3/+1
(This used to be commit b10ad789d6d412ef1d2e0d8b47fc233225861bf9)
2001-08-28Merge from TNG - function to initialise NTTIME structure.Tim Potter1-0/+9
(This used to be commit 14bc8283f26fb80633575e471de4a15a492113c6)
2001-08-28Added copyright header (taken from include/doserr.h)Tim Potter1-511/+538
Added include file guards. Converted constants to hex - hooray! (This used to be commit 21a394c749d0282cb6403ee6239efa1a6310abb0)
2001-08-28Fixed description in file header.Tim Potter1-1/+1
(This used to be commit ed42dcf7846d487b73fc41c7b3f2feef8fd392e3)
2001-08-28Fix for make proto when srcdir != cwd.Tim Potter1-1/+1
(This used to be commit e6c0fb75755240e0d14452e421d965617d761507)
2001-08-28fixed typoAndrew Tridgell2-2/+2
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
2001-08-27Convert to NTSTATUS.Tim Potter6-166/+165
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
2001-08-27Fix bug in usage().Tim Potter1-3/+7
Allow user to invoke with \\ or // in front of server name. (This used to be commit c292b63ff60ca80c0f1804fbfb28d582c3308014)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell83-1038/+1035
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27new logs use abbreviated month names. Add this to date conversionHerb Lewis1-1/+17
(This used to be commit 8021669b167053b5500f035c9c50d1327d73c232)
2001-08-27forgot to commit the scanner codeAndrew Tridgell1-0/+435
(This used to be commit 591308f3881e44750b48602fd05362f1f5c6477a)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell18-635/+1505
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell28-1605/+1260
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-27As per plug-fest discussions this paramater no longer defaults to the valueAndrew Bartlett1-4/+0
of add user script. (This used to be commit 9e0c9a99f6ca01cd6a0ee3084f85e1c36b11d7c3)
2001-08-26Spaces -> Tabs.Jeremy Allison1-6/+7
Jeremy. (This used to be commit 5b665122f5a785f858f75c0a3c181ae193e2c503)