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

13 Commits

Author SHA1 Message Date
Tim Potter
cb4658d419 Removed fprintf(stderr, ...); calls which should not be present in library
functions.
(This used to be commit e69a22290e5c923f31223906461df4874e3b2aac)
2002-01-14 02:22:31 +00:00
Jeremy Allison
d6823366b8 Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
Jeremy.
(This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
2002-01-11 19:10:25 +00:00
Jeremy Allison
30be58a857 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.
(This used to be commit b1930abb35dee74f858a3f7190276c418af2322b)
2001-11-04 00:14:08 +00:00
Andrew Tridgell
b95a294a08 fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef instead of a define
(This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-25 02:53:13 +00:00
Richard Sharpe
2378ba1c21 Further recasts to sockaddr * rather than sockaddr_in *
(This used to be commit b0ba25e22d101acbe4079bc81759a4e0c8a7e6d8)
2001-05-17 02:44:10 +00:00
Richard Sharpe
00e4feec00 Fix some errors uncovered in libsmbclient by the test suite
Fix some problems with unused variables and reaching the end of a
  nonvoid function
(This used to be commit 44986f397ae647aa790422737a839443efb99920)
2001-02-26 11:53:22 +00:00
Richard Sharpe
8a3d6ee07e Change code around and add retry to deal with the occassional loss of NetBIOS datagrams responses, either via TDB or direct receive ...
(This used to be commit 54b0fbe98b1cbb1d9d62606c16921dbffc3a3c6d)
2001-02-19 02:17:27 +00:00
Richard Sharpe
0293869b1f 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.
(This used to be commit 620cc34015ab16d25f7ef7e13cbc3d0f669da11e)
2001-02-18 10:36:03 +00:00
Jeremy Allison
fd46817f0b 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.
(This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
2001-02-16 19:21:18 +00:00
Richard Sharpe
4f7b2b7083 Remove an inet_aton so that this code will compile on Solaris ...
Ahhh, the sweet smell of portability.
(This used to be commit 09902d2d4a51b134190861fbb3ddaabcae5bc1bb)
2001-01-25 13:47:13 +00:00
Jeremy Allison
adb91565b5 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.
(This used to be commit 7ba0a2192b89954604dd793c537b4a17c2d1ac07)
2001-01-11 18:38:55 +00:00
Richard Sharpe
24bf82f306 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
(This used to be commit 4c540393b33a5c49adafcc9320f591490b97192a)
2001-01-07 13:38:24 +00:00
Richard Sharpe
b6cb83d0d1 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.
(This used to be commit f7466ba67cb6f863ee495e6de884e9b7a2e49430)
2001-01-03 05:19:21 +00:00