| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
managed correctly.
this mean you need to rebuild your passdb.tdb file.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
on files that do not have an ACL
|
|
|
|
| |
thanks to Jochen Dolze (dolze@epcnet.de) for pointing out.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
header files.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 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 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 -)-----
|
|
|
|
|
|
|
|
|
| |
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 bin/samsync target.
|
|
|
|
| |
sam replication. It doesn't work yet. (-:
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
received.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Added include file guards.
Converted constants to hex - hooray!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Allow user to invoke with \\ or // in front of server name.
|
| |
|
| |
|
| |
|
|
|
|
| |
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
of add user script.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
and POSIX.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
Syscalls must check for -1, not < 0 (POSIX).
Formating (tab) fixups.
Jeremy.
|
|
|
|
| |
Volker
|
|
|
|
| |
to determine whether the 'wins server' parameter is set.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 -)-----
|
| |
|
|
|
|
|
|
|
|
| |
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.
|