1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

4868 Commits

Author SHA1 Message Date
Andrew Tridgell
e5f60ce0b3 make ascii_to_unistr always use little-endian. This fn is never used
except in my code so I know this is safe.

otherwise unicode client lib doesn't work on big-endian hosts
(This used to be commit 18ede716d10de1ac774cca82b4b8ff5ea1a9650d)
2001-02-21 05:50:29 +00:00
Andrew Tridgell
d689f00026 converted the last couple of functions in libsmb to be unicode
the whole of libsmb should now do unicode where appropriate
(This used to be commit ac7529d2b69826f8214d5632c31778cc87216653)
2001-02-21 04:14:28 +00:00
Andrew Tridgell
7fb8d5a00b fixed a crash bug in smbpasswd
(the user can come from optarg, so we can't free it)
(This used to be commit 56ffb58effe80f7c62a9de6ba4f634d995fbc4e6)
2001-02-21 04:13:47 +00:00
Andrew Tridgell
a8ab984078 the unicode conversion of our client code is complete enough to be
enabled by default

you can disable it by setting the environment variable CLI_FORCE_ASCII
(This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
2001-02-21 03:40:20 +00:00
Andrew Tridgell
518f2fc391 reverted richards cli_NetServerEnum changes - they broke lots of things
(This used to be commit 86adbb0caf26a8c2fc4d3748b965c0ce79360c1a)
2001-02-21 02:52:41 +00:00
Andrew Tridgell
3910d7baca added support for a CLISTR_ASCII flag so we can use a uniform
interface for ascii-only fields
(This used to be commit cdf0316610803e6743936b29f232b32f9ec81422)
2001-02-21 02:51:22 +00:00
Andrew Tridgell
6cb19fbd3a don't need _uni hack now
(This used to be commit f191271986d085cc73b62c8d3de8ab7b326c19c0)
2001-02-20 23:53:06 +00:00
Andrew Tridgell
f76015333a yipee! client unicode now works well with nt
(This used to be commit 5b2ef8a1b914265c6072c968d2dad7d26c2aeffc)
2001-02-20 23:52:27 +00:00
Andrew Tridgell
064898cf8a converted a bunch more fns
(This used to be commit f6b8d6730452522f77852af0917cb48424d4c8a9)
2001-02-20 13:16:01 +00:00
Andrew Tridgell
c28d3f6358 converted nt_create and setatr
(This used to be commit c40a1e4ebdb379482bf6e7d4efcc9b5321a4e7c6)
2001-02-20 12:49:55 +00:00
Andrew Tridgell
8acf5e0448 - neater setting of bcc
- converted cli_rename and cli_unlink
(This used to be commit 0a8992e224b7a3d90d45b13d73fa8a6f155efa79)
2001-02-20 12:45:50 +00:00
Andrew Tridgell
20b037b849 converted cli_open()
(This used to be commit db60c0c26242be0370e6459fe6f1634c97b61176)
2001-02-20 12:30:01 +00:00
Andrew Tridgell
d4b2639c00 converted cli_chkpath()
(This used to be commit 95268f52556e5983004e594002b7e18a8656d1f0)
2001-02-20 12:25:42 +00:00
Andrew Tridgell
c7c3db2f16 converted cli_list()
(This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
2001-02-20 12:22:30 +00:00
Andrew Tridgell
23ded01d93 converted cli_mkdir()
(This used to be commit bce3ed01a9c3c7c89cdc21b60f1122dc6b6db264)
2001-02-20 10:19:02 +00:00
Andrew Tridgell
bbf58942b7 up the debug level of the debug level change msg
(This used to be commit 9b25342f4ac4a250b3a10a3bb048ca6baa2ca41e)
2001-02-20 10:14:17 +00:00
Andrew Tridgell
751ba9d051 setup workgroup when found
(This used to be commit 33aefc76e8594196e09094f65e5aa0bbfe47f357)
2001-02-20 10:13:48 +00:00
Andrew Tridgell
abfb84772c optimise by default
(This used to be commit a5005195440d4805054c488cdc450735883064e5)
2001-02-20 10:13:27 +00:00
Andrew Tridgell
ca677a6d8d playing with CAP_NT_SMBS
(This used to be commit 3eff509a65d164d66eb70f51ef115acd7328266c)
2001-02-20 10:13:04 +00:00
Andrew Tridgell
c565c98723 pipe opening now works with unicode
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-02-20 10:11:40 +00:00
Andrew Tridgell
6492d6b2f6 initial client side unicode support (needed for netapp filer)
I've currently got this code disabled by default as it is
incomplete. You enable it by setting a USE_UNICODE environment
variable. Once the support is complete this check will be removed and
the CAP_UNICODE capability bit will be the sole determination of
whether the client library code uses unicode

right now I have converted session_setup and tconx. I will do more fns
over the next few days.

see clistr.c for the new client side string interface. Luckily it
tends to make the code smaller and neater while adding unicode
support.
(This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
2001-02-20 08:09:06 +00:00
Gerald Carter
d62754e948 save as we go. Probably last check in for tonight.
jerry
(This used to be commit 519010345f1ac11e593597d538c08f95d92afe6b)
2001-02-20 05:31:37 +00:00
Richard Sharpe
b206b16cb3 Fix a small problem where tree.c was using the creation time to display, rather than modification time. Creation time is not returned by the SMB protocol.
(This used to be commit d7f3793a2be56acb4a7bc293912d7dc19b96f511)
2001-02-20 04:40:49 +00:00
Gerald Carter
b5ad6a0a0b more autogen files from the latest SGML/DocBook checkins
(This used to be commit c51efe6a2d88717d2d3186e21285e3dcdc242831)
2001-02-20 03:25:13 +00:00
Gerald Carter
aa9a0c79ba more SGML/DocBook sources
(This used to be commit d98b6f42f562d7dd9fd48d540f9484562be607e6)
2001-02-20 03:24:32 +00:00
Gerald Carter
d443bc40fe autogenated from SGML/DocBook source :-)
We're on our way.
(This used to be commit cea146a7db78924de95fffe7d148f367f5df519e)
2001-02-19 23:00:12 +00:00
Gerald Carter
980e734894 added SGML/DocBook for samba(7) man page
(This used to be commit 9d021a02747736dde2fe7c4d94ac3f81d07ac35f)
2001-02-19 22:57:07 +00:00
Gerald Carter
1ea2d3b01b updated comments on using DocBook.
jerry
(This used to be commit 3171e54ad5c1e618fa24ceaba1c66c8037a09bfa)
2001-02-19 22:49:18 +00:00
Richard Sharpe
2e99f0f8d3 Opps, last one did not commit the correct changes ... Here they are.
This now uses a lookup on <DOMAIN><1D> and then does a name status query to
the IP address returned to find the name of the server. Seems to work well
against Samba, Win9X, WinNT and Win2K.
(This used to be commit debb723194f903c7b3af61f93949df062985e218)
2001-02-19 05:50:09 +00:00
Richard Sharpe
0ea6c2473b Improve the sample GTK+ client program to make it a bit more functional.
(This used to be commit 3e8366c58ccddae24cc117d37899eb7a06a84212)
2001-02-19 02:19:03 +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
Jeremy Allison
62dc55a432 configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero permission W2K profiles.
libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim.
Jeremy.
(This used to be commit 3ded1e6bd5f79948e437ce5b1799705945f36ad2)
2001-02-16 00:24:43 +00:00
Jeremy Allison
ddfac242e3 Patch to add UnixWare ACLs from Michael Davidson <md@sco.COM>. With some
small modifications, this code may also work on Solaris, as they are derived
from the same SVR4 codebase.
When the Samba Solaris box is up and running again I will test this.
Jeremy.
(This used to be commit f8db87b0978be981448eafd57163703e3aeec2cb)
2001-02-15 19:56:10 +00:00
Herb Lewis
a82df9c673 samba/source/nmbd/nmbd.c change remote_machine name to nmbd instead
of nmb so we write to same log file that
				was originally created as log.nmbd
samba/source/smbd/server.c	change remote_machine name to smbd instead
				of smb so we write to same log file that
				was originally created as log.smbd
samba/source/lib/interface.c	allow binding to all interface IP addresses
				even if on same subnet. This allows you to
				specify which IP's you want in interfaces
				line and use bind interfaces only
(This used to be commit 01dfd59712f3730498784d7632da8fe0113d55b6)
2001-02-15 19:50:34 +00:00
Herb Lewis
c237db1c11 DEBUG merge from 2.2 about tdb init failure.
Patch from David Collier-Brown to print permission error on spool file
creation.
(This used to be commit 8907a51743b7b9b9ad4168033fae4d44012cca37)
2001-02-15 19:33:57 +00:00
Tim Potter
7f9fbcd0ef Merge of i18n password fix for smbclient.
(This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)
2001-02-15 05:42:04 +00:00
Jeremy Allison
d1a672b596 Fix from "Jim McDonough" <jmcd@us.ibm.com> for s390 Linux.
Jeremy.
(This used to be commit 493c31729f515bcc5cca99ac4fa5510604518a72)
2001-02-15 00:36:23 +00:00
Tim Potter
09b993ff46 Baltic codepage fixes from Toomas Soome <tsoome@ut.ee>
(This used to be commit 1f1fcea06d658375b234bbfedcabcedd01c66a88)
2001-02-14 21:56:57 +00:00
Tim Potter
e1be2877f5 Update to Baltic codepage support.
(This used to be commit 7f1219df247553bbdb18ab9676a050aea767f40b)
2001-02-14 21:53:07 +00:00
Tim Potter
64172d82fc Merge of i18n fixes from appliance branch. Samba can now talk to a network
with a PDC that has international netbios name and domain name.  There's
still quite a bit of i18n stuff to fix though...
(This used to be commit 79045bd72ace9144e7dd73785b1d10a71b0d15aa)
2001-02-14 05:34:50 +00:00
Jeremy Allison
da20d4e5df It compiles for me now :-). rpc_server/srv_lsa.c - added fix to allow w2k
clients to join a Samba domain - odd or even domain name length. Needs more testing.
Jeremy.
(This used to be commit 408672d38261e34cc3714200617b35464d88f931)
2001-02-13 16:28:48 +00:00
Gerald Carter
3d528fef2f change pstrcpy() in setup_pwret() to fstrcpy() since we are
using fstrings.  Spotted by Elrond.  Thanks :-)




jerry
(This used to be commit a55a4fea9728550c4d28b05910c0b7d5080714b3)
2001-02-13 07:17:07 +00:00
Jeremy Allison
14ac22b4b6 Fixup missing tests on code imported from tng.
Jeremy.
(This used to be commit 41d46a495b9e223d05bfc00e76612149531ec69a)
2001-02-13 00:32:07 +00:00
Jeremy Allison
b94ef4b67c Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.
Jeremy.
(This used to be commit 8fc6bc170fd3dd1fd9437d4acc94bd251c35d544)
2001-02-12 22:37:40 +00:00
Jeremy Allison
94fc44a93c Merge of JohnR's changes to appliance-head, JF's changes to 2.2,
updated the POSIX_ACL code to be in sync.
Jeremy.
(This used to be commit c0517d6f4e3079feca1309fd1ea7b21e83f0de02)
2001-02-12 16:18:02 +00:00
Richard Sharpe
b4b387e31b Fix calls to smbc_init in testsmbc.c and tree.c
(This used to be commit 244edad065a48c110d73617e6c76bdae0ab6885d)
2001-02-12 12:31:05 +00:00
Richard Sharpe
167a7d76d9 Added commented/documented version of libsmbclient.h and fixed up a small
problem in libsmbclient.c where we no longer pass the workgroup.
(This used to be commit 3c6611434601a45ba448f0313397104c7cea616c)
2001-02-12 12:17:54 +00:00
Tim Potter
13577addd7 Updated proto.h
(This used to be commit 0102eea147d45c410842a25705b7be9fc3892cca)
2001-02-11 22:36:20 +00:00