| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to open_socket_in() from within the open_sockets() function. This has some
effect on the way port numbers are assigned. Basically, if we use the -r
switch we are saying 'use port 137'. If we can't do that, there should
be an error message and a failure. If we don't use -r then we simply select
the first available port. The way it was working, if we selected -r and
port 137 was in use, wierd things would happen as open_socket_in() tried to
find another port.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
when looking up the WINS server address.
Please *don't* use lp_wins_server() any more!
The wins_srv_ip() function has the following features:
- If the WINS server was entered as a DNS name then the translation to an
IP address will already have taken place. We used to do this every time
a call to the WINS server was made. Ick.
- The return value of wins_srv_ip() is a struct in_addr. Ready to go.
- When WINS failover is fully implemented, you'll be able to enter a colon-
separated list of WINS servers via the WINS SERVER parameter. Using
lp_wins_server() directly will fail if this syntax is used.
Chris -)-----
|
| |
| |
| |
| |
| |
| |
| |
| | |
the list of groups a user is in succeeds via winbind, we must allow the
lookup of the group name -> gid we are checking if the user is a member
of to go via winbind or /etc/group - as it may be a group on the local
box we are checking against. This is a subtle one.....
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
instead of strtok - this fixes a bug with NT users with spaces in their
names when using winbindd. Needs to be added to the other parse_lpXX functions
(currently only added to lprng parsing code).
Jeremy.
|
| |
| |
| |
| |
| | |
printer_access_check to break in a domain environment.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
CVS commit access :-) has written a simple routine that peeks inside the
MS PE printer driver file format and can tell if a driver is W2K or NT4.x.
So we can now correctly return the driver version number. Hurrah !
JF - this is the code you always wanted ..... :-) :-).
Jeremy.
|
| |
| |
| |
| | |
jerry
|
| |
| |
| |
| | |
functions in the \\lsarpc pipe.
|
| |
| |
| |
| |
| |
| |
| | |
number of stats per smb call as we now trust the statcache. There
are more optimizations to come....
Also generic merges to keep 2.2.0 and HEAD in sync.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
performance hit..... :-) :-).
Jeremy.
PS. Yes this was my fault for everyone who wants to throw rotten fruit...
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Bug report that on some systems extended characters are being returned as
negative values from the mygetc() function. I've modified the return
line so that it should return values in the 0..255 range for legitimate
characters.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Also changed GETDC to query 1C name rather than 1b name as only the PDC
registers 1b.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
to it's PID.
Jeremy or Andrew - please check this out for other possible side effects
|
| | |
|
| |
| |
| |
| |
| |
| | |
REQ_DEBUGLEVEL messages
utils/smbcontrol.c allow "q" to exit interactive mode. Exit on error
from message_init.
|
| | |
|
| |
| |
| |
| | |
message to go to any dest. Put timeout for commands that expect a reply.
|
| |
| |
| |
| |
| | |
primary group is not listed in the groups file...
Jeremy.
|
| |
| |
| |
| |
| | |
Samba to never call getgrgid/getgrnam when winbindd is running....
Jeremy.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
.cvsignore remove config.h - not in this directory
include/profile.h profile changes
lib/messages.c added message to return debug level
libsmb/clierror.c cast to get rid of compiler warning
libsmb/smbencrypt.c cast to get rid of compiler warning
profile/profile.c add flush profile stats changes for profile struct
rpc_parse/parse_samr.c fix for compiler warning
rpc_server/srv_samr.c cast to get rid of compiler warning
smbd/ipc.c profile stats
message.c profile stats
smbd/negprot.c profile stats
smbd/nttrans.c profile stats
smbd/trans2.c profile stats
utils/smbcontrol.c new flush stats command
|
| |
| |
| |
| |
| |
| | |
functionality. This is much faster than inverting the group database.
Added client side command for this to wbinfo.
|
| | |
|
| |
| |
| |
| | |
Don't initialise groups twice.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
This also updates the printing.tdb db version to 2.
Jeremy.
|
| |
| |
| |
| |
| | |
as part of print queue length processing.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being
driven by smbclient clients that never ask for status... (effective
DOS attack :-).
Jeremy.
|
| |
| |
| |
| |
| | |
confused. check_printer_ok was causing SETPRINTER calls to fail.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
JF :-).
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|