1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

4369 Commits

Author SHA1 Message Date
Jeremy Allison
33170cc6fb sys_popen got damaged when converted from FILE * to int fd I think.
Patrick Powell kindly pointed out the bug.
Jeremy.
(This used to be commit 1f156b2420b7ecf1266e650efc3cee55362e29dd)
2000-10-08 21:21:27 +00:00
Jean-François Micouleau
5ad18c79ad more cleanup of samr
J.F.
(This used to be commit c49cc884458d6efa0f7f4b1e40f7d98d84836e77)
2000-10-07 17:32:40 +00:00
Jean-François Micouleau
75c346e70c added samr_set_user_info and info_2.
cleanup of create_user
cleanup of rid/sid mix in samr. now we only have sid.

some prs_align() missing in parse_samr.c

a small debug change in srv_pipe.c

You still can't change a user's password in this commit.
Will be availble in the next one.

	J.F.
(This used to be commit b655bc281fa183b1827a946ada1fcf500fb93aea)
2000-10-07 15:56:36 +00:00
Jeremy Allison
8582d42646 Ensure browse.dat is written and read in UNIX character set format.
Jeremy.
(This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)
2000-10-07 01:15:07 +00:00
Jeremy Allison
5d4f5cdddc Integrated support for NT and OS/2 lpq parsing. Code from
Jim McDonough
Infoprint Manager Development
Linux Technology Center
IBM Boulder

Jeremy.
(This used to be commit d9eedd5db1728be8e23d73c954db13bbbcadf3fb)
2000-10-07 00:48:27 +00:00
Jeremy Allison
f601ecdda2 Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
(This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
2000-10-07 00:26:04 +00:00
Jeremy Allison
077c41cc60 Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
(This used to be commit e49566c2e21fcd16980e5110495645c5ae5a36da)
2000-10-06 23:35:55 +00:00
Jeremy Allison
74d4a3b741 Added Herb's fixes to HEAD.
Jeremy.
(This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
2000-10-06 23:01:47 +00:00
Jeremy Allison
9c6acf4595 Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.
Jeremy.
(This used to be commit dd804fdb96ff49645647787c197a61a6515a474d)
2000-10-06 22:37:42 +00:00
Jeremy Allison
81275cbcf7 Print socket options - patch from Dave Collier-Brown @ Sun.
Jeremy.
(This used to be commit c18d6f8701c8e6ca03f9fff79cf28c842b3b5ff9)
2000-10-06 21:12:25 +00:00
Jeremy Allison
1929bcb89a Fixed error return messages needed for NTTrans CreateDirectory.
This patch allows the standard W2k recursive mkdir to work against
Samba.
Jeremy.
(This used to be commit 947102784360c65d51441457bb54aa28d2b4452d)
2000-10-06 20:34:14 +00:00
Jeremy Allison
1126775808 Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.
Jeremy.
(This used to be commit 698288cb9de316527c0c2a271e18c920578f9930)
2000-10-06 20:03:17 +00:00
Jeremy Allison
ba00796e6d Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!).
Jeremy.
(This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
2000-10-06 18:13:52 +00:00
Tim Potter
08657e539e global_myname is actually a pstring.
(This used to be commit e451fd346105d5d34354ff9141d445b5f1a82e0a)
2000-10-06 04:36:05 +00:00
Jeremy Allison
14a8906e8c Inlined many of the vfs_XXX calls as macros for speed.
Jeremy.
(This used to be commit 0811d080abd374f47c7c3c8a1ef007e443e5b79c)
2000-10-06 03:41:48 +00:00
Jeremy Allison
636f146abf Restructuring of vfs layer to include a "this" pointer - can be an fsp or
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
Andrew gets credit for this one :-) :-).

In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
(This used to be commit b07611f8159b0b3f42e7e02611be9f4d56de96f5)
2000-10-06 03:21:49 +00:00
Jeremy Allison
56d514235e Fix for null passwords being allowed bug.
Jeremy.
(This used to be commit d4d55488397832df35b558564c263a307b0bb629)
2000-10-05 22:51:57 +00:00
Jeremy Allison
a6f31d6877 Fixes from Damian at Cisco to tidy up some tdbtool issues.
Jeremy.
(This used to be commit 623bfa6c935e2e3acb3145bfbd490758b34d2c70)
2000-10-05 22:19:34 +00:00
Jeremy Allison
94c63f6ca4 Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be added
above this layer.
Jeremy.
(This used to be commit b90af886a951b7b049ed7a42e6d99c332e43897b)
2000-10-05 19:04:41 +00:00
Jeremy Allison
bbd7f7bf0f Herb's fixes for profiling & compiler warnings.
Jeremy.
(This used to be commit 7914e9351abb5271ebb4990c3b1fe495d15a4eda)
2000-10-05 18:50:18 +00:00
Jean-François Micouleau
fde7328900 someone forgot to update proto.h :-)
J.F.
(This used to be commit 3664e80fcd292ee8ba20861b01945d7db59858a9)
2000-10-05 12:43:37 +00:00
Jean-François Micouleau
a4cd5013f5 fixing prs_unistr2(). For the special case of an empty (but existing)
string.

	J.F.
(This used to be commit 83bfe94771e0afbffbb4a1a741cd9983ef612362)
2000-10-05 12:41:31 +00:00
Tim Potter
f0873c2465 Spelling flames. (-:
(This used to be commit 178e6971005505d2debd74b761ecfaa982336a53)
2000-10-05 03:35:37 +00:00
Tim Potter
f0af8acc9d Added uid and gid to push_sec_ctx() debug.
(This used to be commit 2817b6cc8af3edbaa63b5db67689ab94cb240d4f)
2000-10-05 03:28:58 +00:00
Tim Potter
46fa3590a8 Fixed compiler warnings.
(This used to be commit ec7f7e350dc1dfa757436cb0efe777c3e0719877)
2000-10-05 03:14:28 +00:00
Jeremy Allison
4248374c84 Made re-init of stat cache explicit rather than being hidden.
Jeremy.
(This used to be commit b0c40236bb4381fec0e812c20e5f8c09ebf005f9)
2000-10-04 22:37:33 +00:00
Jeremy Allison
23f78fd7b9 Adding Herb's compile warning fixes to HEAD.
Jeremy.
(This used to be commit d131ad1ce3f6e72e295f865a463f8dcbfa6f8d42)
2000-10-04 01:03:23 +00:00
Jeremy Allison
6692d0905e Fixes for the fact that UNICODE sizes are no always 2*no of chars when
in multibyte codepages. Fix from Hiroshi MIURA, Samba User Group Japan staff.
Jeremy.
(This used to be commit f2f373df67a3c6b0bd431c19e3494d45ef0a263c)
2000-10-03 19:15:05 +00:00
Jeremy Allison
c5ca95aeb1 Fixes from Herb - compiler warnings.
Jeremy.
(This used to be commit d9d3668fa322cbed36ca3393d8268bf0e5255e8d)
2000-10-03 18:29:12 +00:00
Jeremy Allison
3ad2ee22bb utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.
mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>.
jeremy.
(This used to be commit b40191d27180ab1e59935086073c4d312552f717)
2000-10-03 02:12:14 +00:00
Jeremy Allison
2679fa315d Memleak fix for cache code.
Jeremy.
(This used to be commit 1ebe54666b0fc6f224f17036063dfe0ef7ec9147)
2000-10-02 21:03:46 +00:00
Jeremy Allison
e26d09685c Added debug so if zero length messages get sent we successfully remove
them (this can happen if smbd processes are shut down at the wrong time).
Jeremy.
(This used to be commit c1de97f96b8c5ad8e5f01a0d17c6387733769442)
2000-10-02 19:28:26 +00:00
Jeremy Allison
7de0b5588e Missing null termination on printer changenotify message caused insure
error.
Jeremy.
(This used to be commit 3733d29ce678c71ef2ee8b600e547765d8d8ea9e)
2000-09-29 21:15:45 +00:00
Jeremy Allison
641d9223d2 utils/smbcontrol.c: Fixes from Herb for interactive use.
printing/nt_printing.c: No C++ comments please :-).
Jeremy.
(This used to be commit dd9f668108215f18240458fc33bf872a6fc9e6be)
2000-09-29 20:08:00 +00:00
Herb Lewis
2c01353475 new man pages
(This used to be commit 8a7d6c8e91ecd57f2693be7d697d8231c8d339a4)
2000-09-29 19:50:57 +00:00
Andrew Tridgell
910e8a5c9c new prototypes
(This used to be commit 3e77bf2117c43d3202774df24debc91f61d88733)
2000-09-29 04:47:18 +00:00
Andrew Tridgell
3edcc8c407 added a hack to get 64 bit locking working with the broken fcntl()
call in glibc 2.1.95. This hack only gets enabled if you define
GLIBC_HACK_FCNTL64
(This used to be commit d8b9ec741cc57b5f3dd1b3ef782a7baed402beaa)
2000-09-29 04:45:00 +00:00
Andrew Tridgell
e600c12b6b use the 64 bit locking interface in locktest
(This used to be commit 1ece7f1ffd7d0b61d6acea03819fb857ea556b4b)
2000-09-29 04:43:07 +00:00
Andrew Tridgell
941d82bf80 fixed a harmess mixup of bitops and a boolean
(This used to be commit 0e0f3dc577ceab540be6505a86697b14a2136b9f)
2000-09-29 04:42:29 +00:00
Andrew Tridgell
3f35a785b1 added cli_lock64() and cli_unlock64()
(This used to be commit 91f0a3cc2f59a49f6ce8550e7d07b9b01e0b285f)
2000-09-29 04:41:52 +00:00
Jeremy Allison
6f1fe1f44c Missing from HEAD and 2.2 - terminal server reg config.
Jeremy.
(This used to be commit f5b5b9f287de343d9eb61817ef99499408f1a019)
2000-09-28 22:17:41 +00:00
Jeremy Allison
9e039698c1 Fix from John Reilly for forms ordering problems.
Jeremy.
(This used to be commit 837839eb3d0fae7fef5d61593862a2c1b00d6a07)
2000-09-28 21:33:08 +00:00
Jeremy Allison
dbaeb8438b Removed a line by mistake...
Jeremy.
(This used to be commit dcbdff7a4d6442ca8f9e1aa6fcf65c196c2f22bf)
2000-09-28 20:58:15 +00:00
Jeremy Allison
d6a73c3aae Added comment on JF's new code. Removed ifdef in passdb/smbpass.c as this
was not correct.
Jeremy.
(This used to be commit 1a3f7ecde2ca031b2f93a079f75822354fe241a0)
2000-09-28 20:36:28 +00:00
Jean-François Micouleau
b06d83c909 fixed samr_create_user(). we now correctly parse the query and the reply.
And we create the disabled account. That means we can create user and
trust accounts remotely !

ifdef out a return in passdb/smbpass.c. I think I didn't break any
security. Jeremy could you check if I didn't make any mistakes ???

	J.F.
(This used to be commit 416be1b64f366c8b859f25856fce2467ec0446d9)
2000-09-28 17:35:03 +00:00
Tim Potter
1ef79dbcab Removed annoying unecessary debug message.
(This used to be commit b1a893b74114ee4ab6a295ac0cb0e8fdccda3f53)
2000-09-28 00:07:19 +00:00
Jeremy Allison
efe9922b43 Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" <jmcd@us.ibm.com>.
Jeremy.
(This used to be commit 563f8b09a810446c658bf58303b5fe998d27bec9)
2000-09-27 21:57:38 +00:00
Jeremy Allison
b43b2e4f8a Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
(This used to be commit f96625ec124adb6e110dc54632e006b3620a962b)
2000-09-27 19:09:59 +00:00
Jean-François Micouleau
8c93ddf3e0 samr unknown 0x32 is in fact samr create user.
so renamed and tidy up of the server function.

	J.F.
(This used to be commit 0f707ac1fb5685b800d6599b9074ec1d4e65b1c1)
2000-09-27 13:02:57 +00:00
Jean-François Micouleau
e8fbf2cbad ignore smbcontrol in bin directory
J.F.
(This used to be commit d56cc6ebe7fe546c1fe28f6f75d1cc0702694972)
2000-09-27 11:25:16 +00:00