| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
(and yes I know who you are..... :-).
Jeremy.
|
|
|
|
| |
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
|
|
|
|
| |
functions.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
REMOVED BZERO CALLS YET AGAIN !!! Why do these keep creeping back in....
They are *NOT* POSIX. I'm also thinking of removing strncpy as I'm sure
it's not being used correctly....
Jeremy.
|
|
|
|
| |
instead of a define
|
| |
|
|
|
|
|
| |
Fix some problems with unused variables and reaching the end of a
nonvoid function
|
|
|
|
| |
NetBIOS datagrams responses, either via TDB or direct receive ...
|
|
|
|
|
|
| |
only respond to port 138 when dealing with NetBIOS datagrams.
We use the unexpected packed database.
|
|
|
|
|
|
|
| |
srv_samr.c: duplicate gid fix.
srv_spoolss_nt.c: Merge of JF's work.
uid.c: Fix for returning names when a PDC.
Jeremy.
|
|
|
|
| |
Ahhh, the sweet smell of portability.
|
|
|
|
|
|
|
|
|
|
|
|
| |
smbd/reply.c:
Added fix needed for appliances. When using winbindd - a new user may
exist (from winbind) but have no home directory. Extend add user script
so it is called with a %H substitution when a user exists but their home
directory does not. Thanks to Alex Win at VA Linux for finding this one
and testing the fix.
libsmb/clidgram.c: Fixed missing return statements.
smbd/uid.c: Fixed typo in debug.
Jeremy.
|
|
|
|
| |
sending datagrams in clidgram.c
|
|
These routines handle the sending of dgrams in ways that don't bind us to
the nmbd code, but we may merge the two routines at some stage.
Also fix Makefile.in so the new code is compiled ...
Let's see whether or not it compiles on other architectures ...
Seems OK under Linux.
|