1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

1898 Commits

Author SHA1 Message Date
Jeremy Allison
98db88e00b Change to beta1.
(This used to be commit 26c3ff2bcb225f65002620fec07aa6423477e6d9)
1998-11-13 21:49:19 +00:00
Jeremy Allison
8fc1504ff8 Makefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
(This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
1998-11-13 21:41:01 +00:00
Andrew Tridgell
e623b71750 reverted includes change for FreeBSD as it breaks IRIX
(This used to be commit 24b2bf1741366045eca02cbd09e3283531d28422)
1998-11-13 21:26:58 +00:00
Luke Leighton
8336dbd901 need 32 bit status codes to be negotiated because of STUPID dos "error more
data needed" message gets treated as a serious error code (which it isn't)
so the client code terminates.
(This used to be commit d9b59580dcd5076d3027e364964dcd624300fe45)
1998-11-13 20:39:25 +00:00
Michael Warfield
9c3cbb8012 Fixed timing window created by daemonize function. Smbmount was going daemon
before the mount was actually completed.  This caused weird problems when
used with autofs such as empty directories on first listing or files which
would appear in "ls" but would return "no such file or directory" under
"ls -l".  Note to Volker:  Initial attempt from CIFS conference didn't work.
Had to move daemonize function inside of loop after ioctl.
(This used to be commit 2f456be660b4bbf22c618b506062f812f35e368a)
1998-11-13 20:32:22 +00:00
Luke Leighton
3a31d509a8 LOCAL_GRP and DOMAIN_GRP are return types
(This used to be commit 887063e421d476fe2c2f6809750af3bfb020a85c)
1998-11-13 20:19:06 +00:00
Luke Leighton
d3e6aa666d ZERO_STRUCTP not PN
(This used to be commit ff8667c8801a59c80c33b43f033d23f3a0fd8313)
1998-11-13 19:07:28 +00:00
Luke Leighton
43a3692e83 oops - ZERO_STRUCTP() issues again...
(This used to be commit 2908ccd14d1aa4ffb7d09714bae78cebb7eee755)
1998-11-13 19:03:07 +00:00
Luke Leighton
d90063493c use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)
(This used to be commit 70ac9dbcecdf4be92638a24f096e4a8807997498)
1998-11-13 17:36:42 +00:00
Luke Leighton
5e4d4deeca ZERO_STRUCTP does not check argument for NULL.
ZERO_STRUCTPN _does_ check argument for NULL.
(This used to be commit 0be34ca1402f95506680caa3461e94d4ae54bb7d)
1998-11-13 17:26:44 +00:00
Andrew Tridgell
2db96e3047 fixes for OSF1 compilation
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-13 03:37:01 +00:00
Jeremy Allison
2164685b9f include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.
lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment).
rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection.
smbd/quotas.c: Fixed typo.
Jeremy.
(This used to be commit b62f008974c96e0302d6c146cf49bc2045bef005)
1998-11-13 02:07:07 +00:00
Luke Leighton
cb265dbb8b security descriptors
(This used to be commit 9412edfd4c11a26e4ef290839375e3959cf70a7e)
1998-11-13 01:38:41 +00:00
Luke Leighton
31c4953088 sids in rpctorture changed from fstrings to DOM_SID
(This used to be commit bd09e00112fd371aa070b5b47f1d4e27137a7f2e)
1998-11-13 01:08:28 +00:00
Andrew Tridgell
0cbb7560a3 fixed compile for FreeBSD
(This used to be commit 78e63e17c59de68200308641dce7c413520a2980)
1998-11-13 01:05:25 +00:00
Andrew Tridgell
e5d9a4f4e3 %\ is an interesting printf argument, but I prefer %s
(This used to be commit b93f686655e871d7bfec9c7601cf3c175008041a)
1998-11-12 23:59:59 +00:00
Andrew Tridgell
dfac41840a we don't have any jpeg images any more
(This used to be commit ae5f174ef163734c61c0d30b32f5564cfba02666)
1998-11-12 23:57:18 +00:00
Herb Lewis
ea2fa33f65 Removed code that used printf/fprintf in password changin libraries.
Now passes strings instead.
(This used to be commit 48af29bcc9e8094de6ba057a52dbae3c80ea7a05)
1998-11-12 23:49:32 +00:00
Luke Leighton
2c7f6da1fa security descriptors.
kanji const char* warnings.
(This used to be commit 06abdfd68e1d7fa8741afc3f56ec7a13b5fa4ccc)
1998-11-12 23:35:05 +00:00
Andrew Tridgell
c1bf51bd2c please remember to check that code compiles before checkin!
(This used to be commit 88c90ec65c1a764dd7b13d9fb5ce700027f40cfd)
1998-11-12 23:10:48 +00:00
Herb Lewis
d30b6ab548 .cvsignore: Removed old entries.
client/client.c:
include/client.h: Added some debug messages that the old client used to
		  generate. These are needed to make scripts such as
		  'findsmb' work - there may be other changes to keep
		  backwards output compatibility. Do we need a -old-client-compat
		  argument ?
libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being
		    cleared - corrupted malloc chains.
web/swat.c: John's changes to get rid of "ghost" table entries.
(This used to be commit 3c45a3503ea57d17e98eb3e57514161a5c82e45e)
1998-11-12 22:17:51 +00:00
Jeremy Allison
3a334e3e6c Fixed smbpasswd so that enabling a user who already has a password
doesn't require a new password entry. Sets the 'enable/disable' code
back to being symmetrical.
Jeremy.
(This used to be commit fa068a6db8da154903fb97a843f261592fcb684a)
1998-11-12 20:22:11 +00:00
Jeremy Allison
609f348217 include/kanji.h include/proto.h lib/kanji.c: Added const parameters in string wrappers.
printing/printing.c: Added OSF1 fix.
Jeremy.
(This used to be commit 9d05d80f811426f83a975d28e64c5d6b10574c25)
1998-11-12 19:40:33 +00:00
Luke Leighton
597c5a6caa jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.
security descriptor testing.  hey wow, you can get a SD then send it back!
(This used to be commit 7466c3113ef8f8a89b8496efadfeb611c9f3e069)
1998-11-12 19:21:20 +00:00
Herb Lewis
7e71258563 changes from John Sygulla for changing remote passwords
(This used to be commit e3fc90d0b5b21d49615c951a475d85f15fa01271)
1998-11-12 18:44:16 +00:00
Luke Leighton
5b863af4c0 cleaning up conflicts between group code not yet committed and
changes from yesterday by me, jeremy and andrew.

jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user
didn't exist (first check should be for smb_pass != NULL)
(This used to be commit cbac0f165d351ba9497c222e55e453d781376e58)
1998-11-12 16:07:00 +00:00
Luke Leighton
1ab463a795 security descriptors and registry.
(This used to be commit 9814ac8a65f4d8333527976f1d227e8cd3c2c8ce)
1998-11-12 16:03:35 +00:00
Andrew Tridgell
6bf01d58ca handle null usernames
(This used to be commit ee60d9a289f8d94f8e4d8405f7b41690b891bbb1)
1998-11-12 07:32:33 +00:00
Andrew Tridgell
27d96564ce show all buttons in demo mode
(This used to be commit d076daaaf8690ae0b1ff9c8782619e518f868109)
1998-11-12 07:28:29 +00:00
Andrew Tridgell
c287a82057 fixed demo mode
(This used to be commit 530a98022e5207772980fc7d286547686713927a)
1998-11-12 07:13:06 +00:00
Andrew Tridgell
29e36b7134 extracted the password change code from smbpasswd and used it in swat
instead of opening pipes and other horrible stuff.
(This used to be commit 49bf19710345a59a2d17cd449be1a132885ed821)
1998-11-12 07:06:48 +00:00
Andrew Tridgell
4f368d8b92 char -> uchar fix
(This used to be commit badc0f229a2940560b56aafde9824f1b4bd0f7c7)
1998-11-12 06:24:18 +00:00
Andrew Tridgell
d85dcf86d5 largely rewrote smbpasswd so that the code is understandable. This
should allow us to call a function in swat rather than piping to
smbpasswd.

while doing this I also fixed quite a few "const char *" versus "char *" issues
that cropped up while using const to track down bugs in the code. This
led to changes in several generic functions.

The smbpasswd changes should be correct but they have not been
extensively tested. At least if I have introduced bugs then we should
be able to fix them more easily than before.
(This used to be commit 713864dd0322ae2ae2d83e333d85be35a7eed4ec)
1998-11-12 06:12:19 +00:00
Jeremy Allison
10a9addc22 Moved some code (NTLMSSPcalc) out of smbdes and inline for paranioa
resons and my own piece of mind...
Jeremy.
(This used to be commit 45131501f23ce1eec2f23fe2c1060cd5a2736ec9)
1998-11-12 04:17:54 +00:00
Jeremy Allison
aba85cb152 Fix fd leak in error condition in grantpt code case.
Jeremy.
(This used to be commit 22df2dae30b815f1c86bd21ac0ccf02da5b85eba)
1998-11-12 03:50:29 +00:00
Jeremy Allison
b0a2e2e778 Added the security changes suggested by Andrew - become the
user that authenticated to swat permanently (if not root).
Jeremy.
(This used to be commit 7d55bf379177a4a448e39577ae0af603d5e958f6)
1998-11-12 03:06:00 +00:00
Jeremy Allison
85dde8c7cb Added enable user button. Fixed bug where log was always printed.
Jeremy.
(This used to be commit 43ddc857793ffe507017fc989d60403e33e2ada3)
1998-11-12 01:22:07 +00:00
Andrew Tridgell
01ceb5e2d7 changed is_root() to am_root() to prevent clash with variable names.
(This used to be commit 52f47b8d2ef5ee64e2f8dcfeb6840071e57904d1)
1998-11-11 23:47:03 +00:00
Jeremy Allison
f9584f93be J.F.'s latest printer fixes plus his gcc -picky fix for web/cgi.c
Jeremy.
(This used to be commit bd4e2972f50cafd932a5c915cdeeef7eedda07cc)
1998-11-11 23:31:37 +00:00
Jeremy Allison
f49b994aeb rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.
script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs.
web/cgi.c web/swat.c: SGI compiler warnings fixed.
Jeremy.
(This used to be commit 80e0f7e1071f032c5004aecb01a91d1397e6a161)
1998-11-11 23:25:51 +00:00
Luke Leighton
86a62c423e oops!
(This used to be commit 22ef5160bf79b968f5bdd3393535177b9d30e178)
1998-11-11 23:00:52 +00:00
Luke Leighton
e35207f28d security descriptor info, provided by jean-francois
(This used to be commit 719382a5579e8798812bbccd14a4c1ffd9003f7a)
1998-11-11 21:44:02 +00:00
Herb Lewis
4dd4f1798e Added needed flag for swat password changing
I forgot to mention that the changes to swat were contributed by
John Sygulla
(This used to be commit aa0cec0470235d2508a179b3d631a9a37c9aebda)
1998-11-11 21:41:44 +00:00
Herb Lewis
6559aa10d5 added password change functionality to swat
(This used to be commit 06d4026cf1521766b52766193774f1fd8dd70c81)
1998-11-11 21:37:44 +00:00
Jeremy Allison
49d5a679a7 Fix from richard.kettlewell@kewill.com for leapyear bugs.
Jeremy.
(This used to be commit 751856a09d4fa112ce2fedd963b42ae5f63c89c1)
1998-11-11 20:03:19 +00:00
Luke Leighton
60a91a1dca clearing up security descriptor
(This used to be commit abdc9d790b7d27b70aaf88451f5c82c99c94ca6e)
1998-11-11 19:22:08 +00:00
Jeremy Allison
16a243ec5e Fixed two debug prints.
Jeremy.
(This used to be commit 74530677d5301abd2da5bcdcb1fde6e6f903ad70)
1998-11-11 17:42:36 +00:00
Luke Leighton
9f14f281ff changed syntax of registry commands so keys can start with HKLM or HKU.
sorted lookupsids command
(This used to be commit 13a0ee851fe0ce9acddfe57f9aba19fc78085c39)
1998-11-11 14:23:55 +00:00
Jean-François Micouleau
0e09fba835 makeyodldocs.sh now works with the bash shell
(This used to be commit a41defc36756eef0054f66dcbd46890453ad5ae3)
1998-11-11 11:30:30 +00:00
Jeremy Allison
51acfa91c1 Added code to copy smb.conf.5.html to the swat help directory.
Jeremy.
(This used to be commit 3b2a32293b9da7bc6acd4dea3e54d98270495853)
1998-11-11 02:10:20 +00:00