summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fuss, fuss, fuss...Christopher R. Hertel2001-08-292-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 -)-----
* Should be dbgtext, not dbg_text.Tim Potter2001-08-291-2/+2
|
* Patched to ensure that it won't break HEAD.Christopher R. Hertel2001-08-291-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 -)-----
* lp_wins_server() is now lp_wins_server_list().Christopher R. Hertel2001-08-291-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 -)-----
* Ouch ! I didn't think I would have to do that: add 2 new rap calls !Jean-François Micouleau2001-08-281-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.
* Added additional objects to rpcclient for sam sync/repl support.Tim Potter2001-08-281-1/+13
| | | | Added bin/samsync target.
* Start of samsync program invoked by smbd to perform sam synchronisation andTim Potter2001-08-281-0/+270
| | | | sam replication. It doesn't work yet. (-:
* Merge of sam sync code from TNG.Tim Potter2001-08-285-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.
* Added samsync and samrepl (untested) message types to smbcontrol.Tim Potter2001-08-281-0/+38
|
* Added dummy handlers for SAM_SYNC and SAM_REPL messages.Tim Potter2001-08-281-0/+30
|
* Send a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received.Tim Potter2001-08-281-6/+35
|
* Merge of SAM delta type constants and BDC replication types from TNG.Tim Potter2001-08-281-0/+282
|
* Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message isTim Potter2001-08-281-8/+34
| | | | received.
* Added sam sync and sam replication smbd message constants.Tim Potter2001-08-281-0/+2
|
* Fixed typo in comment.Tim Potter2001-08-281-3/+1
|
* Merge from TNG - function to initialise NTTIME structure.Tim Potter2001-08-281-0/+9
|
* Added copyright header (taken from include/doserr.h)Tim Potter2001-08-281-511/+538
| | | | | | Added include file guards. Converted constants to hex - hooray!
* Fixed description in file header.Tim Potter2001-08-281-1/+1
|
* Fix for make proto when srcdir != cwd.Tim Potter2001-08-281-1/+1
|
* fixed typoAndrew Tridgell2001-08-282-2/+2
|
* Convert to NTSTATUS.Tim Potter2001-08-276-166/+165
|
* Fix bug in usage().Tim Potter2001-08-271-3/+7
| | | | Allow user to invoke with \\ or // in front of server name.
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-2783-1038/+1035
|
* new logs use abbreviated month names. Add this to date conversionHerb Lewis2001-08-271-1/+17
|
* forgot to commit the scanner codeAndrew Tridgell2001-08-271-0/+435
|
* started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell2001-08-2718-635/+1505
| | | | to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-2728-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
* As per plug-fest discussions this paramater no longer defaults to the valueAndrew Bartlett2001-08-271-4/+0
| | | | of add user script.
* Spaces -> Tabs.Jeremy Allison2001-08-261-6/+7
| | | | Jeremy.
* Ignore locks of length zero as they mean different things in Win32Jeremy Allison2001-08-261-5/+18
| | | | | and POSIX. Jeremy.
* Don't use CLEAR_IF_FIRST if opening read-only.Jeremy Allison2001-08-261-1/+1
| | | | Jeremy.
* bzero is not used (deprecated) as it's a BSDism.Jeremy Allison2001-08-261-62/+52
| | | | | | Syscalls must check for -1, not < 0 (POSIX). Formating (tab) fixups. Jeremy.
* Change default 'name resolve order' to WINS before DNS.Volker Lendecke2001-08-262-2/+2
| | | | Volker
* Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel2001-08-263-3/+3
| | | | to determine whether the 'wins server' parameter is set.
* Instead of checking lp_wins_server() to see if a WINS server was specified,Christopher R. Hertel2001-08-261-5/+8
| | | | | | | | nmbd now calls wins_srv_count(). This returns the number of WINS servers specified in the 'wins server' parameter. The return value will be zero if 'wins server' is not specified. Quick change to make room for WINS failover.
* Small changes to get ready for adding WINS failover to smbd and clients.Christopher R. Hertel2001-08-261-5/+76
| | | | | | | | | | | | My plan is to change the lp_wins_server() function to lp_wins_server_list(). My reason being: With WINS failover the 'wins server' parameter may take a list of WINS server names/IPs instead of just one. If it's a list, then calling lp_wins_server() won't give you what you expect (that is, a single WINS server name or IP). Instead, the functions in wins_srv.c should be used. You can get either the name or IP of the 'current' working WINS server in the list. Chris -)-----
* fixed typoGerald Carter2001-08-262-2/+2
|
* Fussing with debug lines in open_socket_in(). I cleaned up some slightlyChristopher R. Hertel2001-08-261-32/+56
| | | | | | | | funky code that was simply setting a local int to 0 or 1 and also added calls to strerror() in some of the debug lines. The use of the dlevel parameter in this function is a little awkward. There should probably be some comments about it in the source.
* we now have all but the dreaded 0/0 lock workingAndrew Tridgell2001-08-241-30/+67
|
* typoGerald Carter2001-08-242-731/+733
|
* get rid of compiler warningsHerb Lewis2001-08-2416-41/+42
|
* More status32 conversions.Tim Potter2001-08-242-15/+14
|
* Re-added readbraw call to test with smbtorture. This code not yetJeremy Allison2001-08-241-1/+88
| | | | | tested... Jeremy.
* fixed level2 find first for unisys clientsAndrew Tridgell2001-08-241-0/+1
|
* fixed handling of 139/445 in clientsAndrew Tridgell2001-08-249-24/+12
|
* /tmp/cvsVTEaY5Gerald Carter2001-08-242-919/+815
|
* Fixed debug in cli_establish_connection() - print out the called name onTim Potter2001-08-241-1/+1
| | | | connection failure rather than the calling name.
* tests for 0 length locksAndrew Tridgell2001-08-241-15/+28
|
* Process the SAM/UAS change notification message.Tim Potter2001-08-242-1/+74
|
* Only register the #1b name if we are ROLE_DOMAIN_PDC rather thanTim Potter2001-08-241-1/+1
| | | | lp_domain_master()