summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some compile issues. We can't have C99 comments and add a smatteringAndrew Bartlett2001-08-312-3/+3
| | | | of const.
* Added samsync binary to list of ignored files.Tim Potter2001-08-311-0/+1
|
* changed the data format in the tdb, as the time fields were notSimo Sorce2001-08-311-24/+29
| | | | | managed correctly. this mean you need to rebuild your passdb.tdb file.
* Fix crash bug with indirecting through null pointer on recursive delete.Jeremy Allison2001-08-301-134/+119
| | | | Jeremy.
* Fixed silly typo.Jeremy Allison2001-08-302-6/+6
| | | | Jeremy.
* Fix from Paul Green to set correct lengths.Jeremy Allison2001-08-302-6/+6
| | | | Jeremy.
* if no ACL elements then use chmod - fixes ability to set read-only bitHerb Lewis2001-08-301-2/+2
| | | | on files that do not have an ACL
* this was a stupid typo,Simo Sorce2001-08-301-1/+1
| | | | thanks to Jochen Dolze (dolze@epcnet.de) for pointing out.
* merge from 2.2Gerald Carter2001-08-301-0/+3
|
* merge from 2.2Gerald Carter2001-08-301-1/+1
|
* merge from APPLIANCE_TNGGerald Carter2001-08-301-0/+1
|
* merge from APPLIANCE_TNGGerald Carter2001-08-301-43/+73
|
* Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8Tim Potter2001-08-292-13/+13
| | | | header files.
* Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com>Tim Potter2001-08-291-0/+3
|
* 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 -)-----