Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up some compile issues. We can't have C99 comments and add a smattering | Andrew Bartlett | 2001-08-31 | 2 | -3/+3 |
| | | | | of const. | ||||
* | Added samsync binary to list of ignored files. | Tim Potter | 2001-08-31 | 1 | -0/+1 |
| | |||||
* | changed the data format in the tdb, as the time fields were not | Simo Sorce | 2001-08-31 | 1 | -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 Allison | 2001-08-30 | 1 | -134/+119 |
| | | | | Jeremy. | ||||
* | Fixed silly typo. | Jeremy Allison | 2001-08-30 | 2 | -6/+6 |
| | | | | Jeremy. | ||||
* | Fix from Paul Green to set correct lengths. | Jeremy Allison | 2001-08-30 | 2 | -6/+6 |
| | | | | Jeremy. | ||||
* | if no ACL elements then use chmod - fixes ability to set read-only bit | Herb Lewis | 2001-08-30 | 1 | -2/+2 |
| | | | | on files that do not have an ACL | ||||
* | this was a stupid typo, | Simo Sorce | 2001-08-30 | 1 | -1/+1 |
| | | | | thanks to Jochen Dolze (dolze@epcnet.de) for pointing out. | ||||
* | merge from 2.2 | Gerald Carter | 2001-08-30 | 1 | -0/+3 |
| | |||||
* | merge from 2.2 | Gerald Carter | 2001-08-30 | 1 | -1/+1 |
| | |||||
* | merge from APPLIANCE_TNG | Gerald Carter | 2001-08-30 | 1 | -0/+1 |
| | |||||
* | merge from APPLIANCE_TNG | Gerald Carter | 2001-08-30 | 1 | -43/+73 |
| | |||||
* | Renamed rwlock_t type to tdb_rwlock_t to avoid conflict with Solaris 8 | Tim Potter | 2001-08-29 | 2 | -13/+13 |
| | | | | header files. | ||||
* | Fix uninitialised variables. Spotted by "Esh, Andrew" <AEsh@tricord.com> | Tim Potter | 2001-08-29 | 1 | -0/+3 |
| | |||||
* | Fuss, fuss, fuss... | Christopher R. Hertel | 2001-08-29 | 2 | -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 Potter | 2001-08-29 | 1 | -2/+2 |
| | |||||
* | Patched to ensure that it won't break HEAD. | Christopher R. Hertel | 2001-08-29 | 1 | -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. Hertel | 2001-08-29 | 1 | -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 Micouleau | 2001-08-28 | 1 | -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 Potter | 2001-08-28 | 1 | -1/+13 |
| | | | | Added bin/samsync target. | ||||
* | Start of samsync program invoked by smbd to perform sam synchronisation and | Tim Potter | 2001-08-28 | 1 | -0/+270 |
| | | | | sam replication. It doesn't work yet. (-: | ||||
* | Merge of sam sync code from TNG. | Tim Potter | 2001-08-28 | 5 | -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 Potter | 2001-08-28 | 1 | -0/+38 |
| | |||||
* | Added dummy handlers for SAM_SYNC and SAM_REPL messages. | Tim Potter | 2001-08-28 | 1 | -0/+30 |
| | |||||
* | Send a MSG_SMB_SAM_SYNC when a netlogon_ctrl2 message is received. | Tim Potter | 2001-08-28 | 1 | -6/+35 |
| | |||||
* | Merge of SAM delta type constants and BDC replication types from TNG. | Tim Potter | 2001-08-28 | 1 | -0/+282 |
| | |||||
* | Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message is | Tim Potter | 2001-08-28 | 1 | -8/+34 |
| | | | | received. | ||||
* | Added sam sync and sam replication smbd message constants. | Tim Potter | 2001-08-28 | 1 | -0/+2 |
| | |||||
* | Fixed typo in comment. | Tim Potter | 2001-08-28 | 1 | -3/+1 |
| | |||||
* | Merge from TNG - function to initialise NTTIME structure. | Tim Potter | 2001-08-28 | 1 | -0/+9 |
| | |||||
* | Added copyright header (taken from include/doserr.h) | Tim Potter | 2001-08-28 | 1 | -511/+538 |
| | | | | | | Added include file guards. Converted constants to hex - hooray! | ||||
* | Fixed description in file header. | Tim Potter | 2001-08-28 | 1 | -1/+1 |
| | |||||
* | Fix for make proto when srcdir != cwd. | Tim Potter | 2001-08-28 | 1 | -1/+1 |
| | |||||
* | fixed typo | Andrew Tridgell | 2001-08-28 | 2 | -2/+2 |
| | |||||
* | Convert to NTSTATUS. | Tim Potter | 2001-08-27 | 6 | -166/+165 |
| | |||||
* | Fix bug in usage(). | Tim Potter | 2001-08-27 | 1 | -3/+7 |
| | | | | Allow user to invoke with \\ or // in front of server name. | ||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 83 | -1038/+1035 |
| | |||||
* | new logs use abbreviated month names. Add this to date conversion | Herb Lewis | 2001-08-27 | 1 | -1/+17 |
| | |||||
* | forgot to commit the scanner code | Andrew Tridgell | 2001-08-27 | 1 | -0/+435 |
| | |||||
* | started converting NTSTATUS to be a structure on systems with gcc in order ↵ | Andrew Tridgell | 2001-08-27 | 18 | -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 default | Andrew Tridgell | 2001-08-27 | 28 | -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 value | Andrew Bartlett | 2001-08-27 | 1 | -4/+0 |
| | | | | of add user script. | ||||
* | Spaces -> Tabs. | Jeremy Allison | 2001-08-26 | 1 | -6/+7 |
| | | | | Jeremy. | ||||
* | Ignore locks of length zero as they mean different things in Win32 | Jeremy Allison | 2001-08-26 | 1 | -5/+18 |
| | | | | | and POSIX. Jeremy. | ||||
* | Don't use CLEAR_IF_FIRST if opening read-only. | Jeremy Allison | 2001-08-26 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | bzero is not used (deprecated) as it's a BSDism. | Jeremy Allison | 2001-08-26 | 1 | -62/+52 |
| | | | | | | Syscalls must check for -1, not < 0 (POSIX). Formating (tab) fixups. Jeremy. | ||||
* | Change default 'name resolve order' to WINS before DNS. | Volker Lendecke | 2001-08-26 | 2 | -2/+2 |
| | | | | Volker | ||||
* | Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_server | Christopher R. Hertel | 2001-08-26 | 3 | -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. Hertel | 2001-08-26 | 1 | -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. Hertel | 2001-08-26 | 1 | -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 -)----- |