1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

76 Commits

Author SHA1 Message Date
Tim Potter
6ef6cc65d6 Fixed typo in #ifndef at head of file.
(This used to be commit 6bd1ba9a04)
2001-06-07 07:14:17 +00:00
Tim Potter
24dd11dd69 Added comment about possible optimisation to winbindd_pam_auth()
(This used to be commit bb01d2151c)
2001-06-07 04:35:01 +00:00
Tim Potter
b1b5dcaf05 Fixed bug in winbind_sid_to_gid() function.
(This used to be commit 9a77f8530f)
2001-06-07 00:38:16 +00:00
Tim Potter
3e808f0af4 Fix for cli_samr_connect() arg change.
(This used to be commit 15efbbd2fe)
2001-06-06 07:43:47 +00:00
Tim Potter
75f281a1ef Indent dodgy function prototype to avoid make proto picking it up and
causing mayhem throughout the tree.
(This used to be commit 369c911b44)
2001-06-06 07:27:44 +00:00
Andrew Tridgell
0326421a67 don't use c++ style comments
(This used to be commit dbb770ecc6)
2001-06-05 02:28:47 +00:00
Andrew Tridgell
466b1d7573 fixed solaris compilation error (don't add to a void*)
(This used to be commit f3c70e4248)
2001-06-05 02:00:47 +00:00
Andrew Tridgell
05fc3e578c use LDSHFLAGS not -shared in several places
(This used to be commit 8ec9c87b5d)
2001-06-04 05:13:59 +00:00
Tim Potter
da3943ed35 More compile fixups for winbind portability.
(This used to be commit 086f332bb1)
2001-06-04 04:12:38 +00:00
Tim Potter
a5f7cd89e1 Compile fix for solaris.
Fixed some compiler warnings.
(This used to be commit b44d3f912c)
2001-06-04 03:14:56 +00:00
Jeremy Allison
d222a3f28d Try to fix build by adding autoconf tests for pam headers.
Jeremy.
(This used to be commit d52bc4d219)
2001-05-22 21:47:11 +00:00
Tim Potter
2d27d8c720 Fixes to get pam_auth() functionality working again.
(This used to be commit 083b74c743)
2001-05-17 06:08:49 +00:00
Jeremy Allison
109851ae5c Zero-fill struct hostent.
Jeremy.
(This used to be commit 86557d6336)
2001-05-15 22:01:48 +00:00
Jeremy Allison
199bb03916 Fixed glibc crash problems with libnss_wins.so
Jeremy.
(This used to be commit c38a465bef)
2001-05-15 21:53:19 +00:00
Tim Potter
b343f082e4 Memory leak fixes from insure.
(This used to be commit 03b1cab9a8)
2001-05-15 01:55:29 +00:00
Tim Potter
5bcd434e6e Compile fixes for dynamic samr_query_userinfo() stuff.
(This used to be commit a92a0d061b)
2001-05-14 03:58:49 +00:00
Tim Potter
a17c702a70 Use sid_peek_rid() instead of sid_split_rid().
(This used to be commit 0e03209af6)
2001-05-10 05:19:47 +00:00
Tim Potter
bc77683283 Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:
(This used to be commit 014859b62b)
2001-05-09 05:06:35 +00:00
Tim Potter
55567e5ee9 The substitution of %U and %D in the 'template homedir' is nowdone
by lp_string() calling standard_sub_basic().
(This used to be commit 011d459435)
2001-05-08 05:58:03 +00:00
Tim Potter
0b14ab0144 Added S_ISSOCK macros for systems which treat UNIX domain sockets as FIFOs
(SCO).
(This used to be commit d761a7deb3)
2001-05-08 05:56:10 +00:00
Tim Potter
3475c25714 Misc fixes to get winbindd working. We can now do a 'getent passwd'
and 'getent group' and have most things working.
(This used to be commit a7728bfa52)
2001-05-08 03:52:07 +00:00
Tim Potter
c504e240a8 OK so I couldn't be as clever as I wanted to be with winbindd_glue.c
so all the glue functions are prefixed with wb_ to avoid conflicts with
the old rpc_client stuff which is still a dependency of smbd/nmbd.
(This used to be commit 873e672b90)
2001-05-07 06:04:22 +00:00
Tim Potter
34417b19f8 Ignore *.po files.
(This used to be commit f8c83ce28b)
2001-05-07 05:04:53 +00:00
Tim Potter
ebb900cf3e iAdditional files for winbind merge.
(This used to be commit 38ab3b31b5)
2001-05-07 05:03:40 +00:00
Tim Potter
a36f9250e7 Preliminary merge of winbind into HEAD. Note that this compiles and links
but I haven't actually run it yet so it probably doesn't work.  (-:
(This used to be commit 59f95416b6)
2001-05-07 04:32:40 +00:00
Tim Potter
401b3cc7a7 Merge from TNG branch.
(This used to be commit 1e7b1c71b9)
2001-05-04 00:43:20 +00:00
Andrew Tridgell
5472466bef added solaris wrapper from tng
(This used to be commit d854d01d11)
2001-04-25 06:45:27 +00:00
Andrew Tridgell
5f9dca64da merge some of the nsswitch code from tng to head
the libnss_winbind.so from head now works with
the winbindd from tng
(This used to be commit 67ccfd2826)
2001-04-25 05:47:50 +00:00
Andrew Tridgell
77076b01d2 merge from 2_2
(This used to be commit b9137b613d)
2001-04-25 01:52:54 +00:00
Jeremy Allison
2ef68c7e92 Merge of Andrew's changes in 2.2.
Jeremy.
(This used to be commit fc76681812)
2001-04-13 19:12:06 +00:00
Jeremy Allison
f9a15ce1a6 Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
(This used to be commit 94747b4639)
2001-04-08 20:22:39 +00:00
Jeremy Allison
dcc01ec5fb Fix for broken RelientUNIX.
Jeremy.
(This used to be commit 6808ec0d47)
2001-04-04 17:20:57 +00:00
Jeremy Allison
beec1ea829 Fix for crash when doing name lookup with a quoted string. Part of
lookup_name was expecting to be able to write to the string. Changed
lookup_name to use const.
Jeremy.
(This used to be commit 80c18d8849)
2001-03-20 23:07:36 +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
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
David O'Neill
23807f2b30 Changes from APPLIANCE_HEAD:
source/Makefile.in
        - changes to ctags and etags rules that somehow got lost along the way.

    source/include/proto.h
        - make proto

    source/smbd/sec_ctx.c
    source/smbd/password.c
        - merge debugs for debugging user groups and NT token stuff.

    source/lib/util_str.c
        - capitalise domain name returned from parse_domain_user()

    source/nsswitch/wb_client.c
        - fix broken conditional in debug statement.

    source/include/rpc_secdes.h
    source/include/rpc_spoolss.h
    source/printing/nt_printing.c
    source/lib/util_seaccess.c
        - fix printer permission bugs related to ACE masks for printers.
          This adds mapping of generic access rights to object specific
          rights for NT printers.  Still need to work out whether or not to
          ignore ACEs with certain flags set, though. See comments in
          util_seaccess.c:check_ace() for details.

    source/printing/nt_printing.c
    source/printing/printing.c
        - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER
          until we sort out printer/printjob permission stuff.
(This used to be commit 1dba9c5cd1)
2001-01-04 19:27:08 +00:00
Jeremy Allison
7b1cf88670 Fix for uidtoname not returning DOMAIN\name but just name. This caused
printer_access_check to break in a domain environment.
Jeremy.
(This used to be commit 0fc1a46150)
2000-10-25 20:02:25 +00:00
Tim Potter
8c7f2fbab2 Fixed merging mess.
(This used to be commit 7b8c03de1f)
2000-10-13 05:19:57 +00:00
Jeremy Allison
330d678fba Fix to allow smbd to call winbindd if it is running for all group enumeration,
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Also changed GETDC to query 1C name rather than 1b name as only the PDC
registers 1b.
Jeremy.
(This used to be commit 5b0038a2af)
2000-10-13 01:59:14 +00:00
Jeremy Allison
cd6a6bd2cb Use sys_setgroups - systems with broken getgroups need this.
Jeremy.
(This used to be commit c7c90c8337)
2000-10-11 17:20:18 +00:00
Christopher R. Hertel
9a872fb616 Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()
when looking up the WINS server address.

Please *don't* use lp_wins_server() any more!

The wins_srv_ip() function has the following features:

- If the WINS server was entered as a DNS name then the translation to an
  IP address will already have taken place.  We used to do this every time
  a call to the WINS server was made.  Ick.

- The return value of wins_srv_ip() is a struct in_addr.  Ready to go.

- When WINS failover is fully implemented, you'll be able to enter a colon-
  separated list of WINS servers via the WINS SERVER parameter.  Using
  lp_wins_server() directly will fail if this syntax is used.

Chris -)-----
(This used to be commit 56be7c2a49)
2000-10-11 15:54:17 +00:00
Tim Potter
76aab4ad56 Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.
(This used to be commit 5f3cf2eb78)
2000-10-11 05:45:06 +00:00
Tim Potter
c72f94dad9 Modified initgroups to provide a get groups a user is a member of
functionality.  This is much faster than inverting the group database.

Added client side command for this to wbinfo.
(This used to be commit e87b2d3d1f)
2000-10-11 05:25:32 +00:00
Jeremy Allison
afe321b7c9 Added debug so we can see how winbindd converts SIDS.
Jeremy.
(This used to be commit 6696bf203c)
2000-10-10 18:22:50 +00:00
John Terpstra
96e27b10bf Fixes to allow wins.c to compile to allow building of libnss_wins.so.
(This used to be commit 3fb2e94c44)
2000-10-09 21:44:00 +00:00
Tim Potter
f0873c2465 Spelling flames. (-:
(This used to be commit 178e697100)
2000-10-05 03:35:37 +00:00
Tim Potter
46fa3590a8 Fixed compiler warnings.
(This used to be commit ec7f7e350d)
2000-10-05 03:14:28 +00:00
Jeremy Allison
23f78fd7b9 Adding Herb's compile warning fixes to HEAD.
Jeremy.
(This used to be commit d131ad1ce3)
2000-10-04 01:03:23 +00:00
Andrew Tridgell
3689e4ffc1 the first cut of the internal messaging system.
The motivation for this system is to replace the UDP message for
oplocks, but this commit only does the "set debug level" message.
(This used to be commit 2a34ee95f3)
2000-09-11 07:02:43 +00:00