1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-24 15:17:06 +03:00

18 Commits

Author SHA1 Message Date
Jeremy Allison
29413db303 Fix coredump in cli_get_backup_list.
Jeremy.
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Jeremy Allison
f7c980d614 Fixed dumb typo caught by Herb.
Jeremy.
-
Jeremy Allison
330b0df960 bcopy must DIE ! Stop people creeping use of bcopy back into the code
(and yes I know who you are..... :-).
Jeremy.
-
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Tim Potter
e69a22290e Removed fprintf(stderr, ...); calls which should not be present in library
functions.
-
Jeremy Allison
01ff6ce496 Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
Jeremy.
-
Jeremy Allison
b1930abb35 Got serious about const again.
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.
-
Andrew Tridgell
e2ecff419f fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef instead of a define -
Richard Sharpe
b0ba25e22d Further recasts to sockaddr * rather than sockaddr_in * -
Richard Sharpe
44986f397a Fix some errors uncovered in libsmbclient by the test suite
Fix some problems with unused variables and reaching the end of a
  nonvoid function
-
Richard Sharpe
54b0fbe98b Change code around and add retry to deal with the occassional loss of NetBIOS datagrams responses, either via TDB or direct receive ... -
Richard Sharpe
620cc34015 Fixes to libsmbclient so it will work when browsing real Windows systems which
only respond to port 138 when dealing with NetBIOS datagrams.

We use the unexpected packed database.
-
Jeremy Allison
d938ad6963 Excise snprintf -> slprintf.
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.
-
Richard Sharpe
09902d2d4a Remove an inet_aton so that this code will compile on Solaris ...
Ahhh, the sweet smell of portability.
-
Jeremy Allison
7ba0a2192b rpc_server/srv_samr.c:
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.
-
Richard Sharpe
4c540393b3 Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior to
sending datagrams in clidgram.c
-
Richard Sharpe
f7466ba67c Add a new file clidgram with routines that are used by the libsmbclient code.
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.
-