1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

4058 Commits

Author SHA1 Message Date
Tim Potter
b3ccabeece Fix for no master browser present.
(This used to be commit 24c78fdf5f)
2001-01-16 17:48:39 +00:00
Tim Potter
4673a99187 Some ugly mucking around to get the new rpcclient compiling and linking
with the new samr code and have prototypes working and smbd linking.
(This used to be commit 6d61f11788)
2001-01-15 23:53:33 +00:00
Tim Potter
31f42d9fab New proto and some small changes to rpc_samr.h
(This used to be commit 7f31d4ab1d)
2001-01-15 23:39:20 +00:00
Tim Potter
19a8acda64 rpcclient functions for remaining samr and lsa functions. All functions
now pass through insure except for some of the dodgy spoolss prs
weirdness.
(This used to be commit 76f08426a0)
2001-01-15 23:35:59 +00:00
Tim Potter
5a0e2f1957 Added remaining samr functions needed by winbindd.
Added #define/#undef NEW_NTDOMAIN symbols.
(This used to be commit 13e4fd1d84)
2001-01-15 23:34:32 +00:00
Jeremy Allison
7786e07735 Fixes for POSIX ACLS. ACL merge code.
Jeremy.
(This used to be commit 180e4a9cd0)
2001-01-15 22:46:22 +00:00
Jeremy Allison
e870dd2988 Updated from 2.2.
Jeremy.
(This used to be commit 6fb5eb8b1e)
2001-01-15 19:02:57 +00:00
David O'Neill
27922c0430 Changes from APPLIANCE_HEAD:
source/rpc_parse/parse_lsa.c
        - off by one unistr length bug in init_lsa_trans_name()

    source/lib/util_sid.c
        - resolve more BUILTIN sid values to names.

    source/nsswitch/wb_client.c
        - fix typo in debug message
        - set errno on error so we don't get bogus value from last failure.

    source/rpc_server/srv_spoolss_nt.c
        - add debug to track number of open printer handles for ease of
          tracking handle leaks in the future.

    source/rpc_server/srv_lsa.c
        - fix off-by-one string bug.  This was preventing NT from
          displaying names for well-know SIDs in printer permissions
          dialog.
(This used to be commit 59229b9025)
2001-01-15 18:36:50 +00:00
Tim Potter
99f3694436 Compile fix for smbw_dir_add function.
(This used to be commit d7920a670b)
2001-01-15 17:46:02 +00:00
Andrew Tridgell
fc06a034e8 removed unnecessary process_exists() call in message_send_pid()
it slows us down and doesn't gain anything
(This used to be commit 30fb31a3ab)
2001-01-15 01:47:00 +00:00
Richard Sharpe
552d6bce08 Fixed bugs relating to Win2K and the need for a codepage so that unicode
strings can be handled correctly.
(This used to be commit 5629b097d4)
2001-01-14 00:11:29 +00:00
Herb Lewis
93261949f5 merge from 2.0 branch for installing Using Samba book files
(This used to be commit b04bd9ea24)
2001-01-12 21:47:01 +00:00
Tim Potter
7237fd3c85 Pass correctly formatted args to cli_spoolss_open_printer_ex()
(This used to be commit 635db9b601)
2001-01-12 19:47:08 +00:00
Tim Potter
ee49ddbd8f Printer name unistr is null terminated in make_spoolss_q_open_printer_ex()
(This used to be commit a125eba0aa)
2001-01-12 19:45:50 +00:00
Tim Potter
44a9dc1ba8 Memory leak fixes and uninitialised variables spotted by insure.
(This used to be commit 079f46aca4)
2001-01-12 18:19:57 +00:00
Tim Potter
eb1e855f4e Memory leak fixes spotted by insure.
(This used to be commit 8072ee62b0)
2001-01-12 17:53:47 +00:00
Richard Sharpe
338fd23290 Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,
both tested ...

More later.
(This used to be commit 66bb40153a)
2001-01-12 12:48:55 +00:00
Richard Sharpe
fb40134446 Many bug fixes to the libsmbclient.c code plus
- an implementation of smbc_readdir
  - extensions to tree.c to show files in a second window
  - changes to auth_fn to provide buffers for username, password, etc
    from caller rather than callee
(This used to be commit 7f559c1a73)
2001-01-12 05:10:45 +00:00
Tim Potter
78b2616049 Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()
(This used to be commit 42674cc616)
2001-01-12 02:58:29 +00:00
David O'Neill
da08b5374e Changes from APPLIANCE_HEAD:
source/tests/crypttest.c
        - another one missed from a while ago: Add back tests/crypttest.c
          so that we can check for truncated crypt on those systems that it
          is relevant for and we avoid setting if for those systems that it
          is not true for.  (Originally from SAMBA_2_2, Nov 13th 2000)
(This used to be commit 5358f8abc1)
2001-01-12 00:10:24 +00:00
Tim Potter
13d99e3ea9 RPC server fixes for RPC client changes merged from TNG.
(This used to be commit 793153ebde)
2001-01-11 23:49:51 +00:00
Tim Potter
cd7d339e17 Removed link errors between rpcclient and smbd.
(This used to be commit e5b078ee7c)
2001-01-11 23:49:21 +00:00
Jeremy Allison
cffc311b8a Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected.
Jeremy
(This used to be commit 523c919356)
2001-01-11 23:41:33 +00:00
David O'Neill
ea1e6f9e7b Changes from APPLIANCE_HEAD:
source/lib/smbpasswd.c
        - Only call load_interfaces() when doing a network related
          operation.  This means you can add, remove, enable or disable
          smbpasswd entries without a network.  Changing passwords always
          requires a network.
(This used to be commit e2193c3a36)
2001-01-11 23:21:17 +00:00
Tim Potter
bd72966aaa New makefile and proto for rpcclient.
(This used to be commit fdf044c351)
2001-01-11 23:11:16 +00:00
Tim Potter
7bf2d9864e make proto
(This used to be commit fc16106e94)
2001-01-11 23:00:07 +00:00
Tim Potter
6b4dcfff3a General clean up. Merge of access_mask fixes for some unknown fields from
tng.
(This used to be commit c292f4aa31)
2001-01-11 22:55:13 +00:00
Tim Potter
e29c028a44 General clean up. Merged routines for parsing enum_trust_dom rpc call.
(This used to be commit 54b34517ce)
2001-01-11 22:54:12 +00:00
Tim Potter
e882d144a0 Merge of various fixes from the tng headers.
(This used to be commit a6d4aad391)
2001-01-11 22:51:54 +00:00
Tim Potter
fc659e07d0 Start of a rewrite of rpcclient based on the libsmb rpc client routines.
Currently there are a small selection of lsa, samr and spoolss functions
implemented.  More to follow...
(This used to be commit 9a953514f2)
2001-01-11 22:49:30 +00:00
Jeremy Allison
d7c7283463 First compiling version of code that sets NT ACLs as POSIX ACLs.
Now the debugging starts.... :-).
Jeremy.
(This used to be commit 2300ac79f5)
2001-01-11 22:37:59 +00:00
David O'Neill
5c56731490 Changes from APPLIANCE_HEAD:
source/nsswitch/winbindd_idmap.c
		- convert tdb key to unix code-page when generating
(This used to be commit 3b9e68d680)
2001-01-11 21:22:43 +00:00
David O'Neill
3380ffae9c Changes from APPLIANCE_HEAD:
testsuite/printing/psec.c
        - Use lock directory from smb.conf parameter when peeking at the
          ntdrivers.tdb file.
    source/rpc_parse/parse_sec.c
        - fix typo in debug message
    source/script/installbin.sh
        - create private directory as part of 'make install'.
    source/nsswitch/winbindd_cache.c
    source/nsswitch/winbindd_idmap.c
    source/passdb/secrets.c
    source/smbd/connection.c
        - always convert tdb key to unix code-page when generating.
    source/printing/nt_printing.c
        - always convert tdb key to unix code-page when generating.
        - don't prepend path to a filename that is NULL in
          add_a_printer_driver_3().
    source/rpc_server/srv_spoolss_nt.c
        - always convert tdb key to unix code-page when generating.
        - don't prepend server name to a path/filename that is NULL in the
          fill_printer_driver_info functions.
    source/printing/printing.c
        - always convert tdb key to unix code-page when generating.
        - move access check for print_queue_purge() outside of job delete
          loop.
    source/smbd/unix_acls.c
        - fix for setting ACLs (this got missed earlier)
    source/lib/messages.c
        - trivial sync with appliance_head
(This used to be commit 376601d17d)
2001-01-11 20:41:19 +00:00
Jeremy Allison
a4763f5938 Fix from John for growing messages.tdb.
Jeremy.
(This used to be commit 6dc83a8c66)
2001-01-11 19:22:08 +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 7ba0a2192b)
2001-01-11 18:38:55 +00:00
Tim Potter
3ab2ea5406 Added init functions, cli_spoolss_open_printer_ex(),
cli_spoolss_closeprinter(), cli_spoolss_enum_printers(),
cli_spoolss_enum_ports() and cli_spoolss_getprinter()
(This used to be commit 84247ba7d7)
2001-01-10 18:48:02 +00:00
Tim Potter
5688f5292a Added init functions, cli_samr_connect(), cli_samr_close(),
cli_samr_open_{domain,user}() and cli_samr_query_userinfo()
(This used to be commit 3858601073)
2001-01-10 18:46:24 +00:00
Tim Potter
51a37d1960 Fixed authenticated pipe access.
Added cli_lsa_enum_trust_dom().

Misc other cosmetic changes.
(This used to be commit 751483a155)
2001-01-10 18:44:39 +00:00
David O'Neill
17ab0c2acc Changes from APPLIANCE_HEAD:
source/include/proto.h
    source/param/loadparm.c
    source/passdb/passdb.c
    source/rpc_server/srv_samr.c
        - add support for "hide local users" option to HEAD.
(This used to be commit 44dc339fe7)
2001-01-10 16:05:41 +00:00
Jeremy Allison
615af12cf2 Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameter
to allow a chmod to be done if the user has write access to a file, just
like Windows allows. Off by default (compare with "dos filetimes" parameter).
Jeremy.
(This used to be commit 8abdf0e29f)
2001-01-09 20:34:37 +00:00
Jeremy Allison
e76fe221b8 Patch from Richard Bollinger for dead entries being left in connections tdb.
Jeremy.
(This used to be commit 48a3afcd47)
2001-01-08 21:19:15 +00:00
David O'Neill
ab60974082 Changes merged from APPLIANCE_HEAD:
source/printing/printing.c
    source/rpc_server/srv_spoolss_nt.c
        - convert args for print command to unix codepage.
(This used to be commit 1c0ae957f8)
2001-01-08 19:58:30 +00:00
Richard Sharpe
8788aea643 Add support for logging to wherever smb.conf specifies.
(This used to be commit cc5a2db8a0)
2001-01-08 02:47:30 +00:00
Tim Potter
6b51372c2e Codepages and stuff for Turkish language support. Contributed by
Deniz Akkus <akkus@alum.mit.edu>
(This used to be commit 5650c143a7)
2001-01-07 23:00:49 +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 4c540393b3)
2001-01-07 13:38:24 +00:00
Richard Sharpe
bdb2c12d2e More bug fixen ...
(This used to be commit a13b5ef7bb)
2001-01-07 13:07:26 +00:00
Richard Sharpe
e646dddfde Update the tree.c GTK+ App so it can walk down directories etc ...
(This used to be commit 0490a0ed10)
2001-01-07 12:54:03 +00:00
Richard Sharpe
c6d5280a54 More fixes and implementation bits and pieces for libsmbclient
(This used to be commit 991f6907ac)
2001-01-07 07:10:50 +00:00
Richard Sharpe
de00f5e677 Fix proto.h ...
(This used to be commit 0219767c93)
2001-01-06 21:42:22 +00:00
Richard Sharpe
34fea75f35 Fix some more bugs in libsmbclient.c and add functionality to tree.c
(This used to be commit d6cef8877a)
2001-01-06 14:48:55 +00:00