1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

504 Commits

Author SHA1 Message Date
Andrew Bartlett
3346a76674 As per rsharpe's request, require only a Masters in Astrophysics to
correctly configure winbind.

(Next job:  Fill in the 'error_msg' field with somthing useful)
(This used to be commit 49ee2a25c131641887cbc438a6336652f042cfb0)
2002-05-18 06:42:50 +00:00
Andrew Bartlett
3fe27b7f9d A few more trusted domains updates from mimir.
I think we may still need to look at our server enumeration code, but
other than that, its much better in the tree than out.

Andrew Bartlett
(This used to be commit d57a1b4629d12a0374cc6d74dfc6f5d4793fcef8)
2002-05-17 13:49:01 +00:00
Richard Sharpe
6ee4366093 Changes to allow head to translate NMB flags ...
(This used to be commit c986a19cde0dfa96b512eb24d873203981e68c48)
2002-05-17 03:37:37 +00:00
Tim Potter
0c9e6bb88f Don't store domain with username in secrets.tdb
(This used to be commit 5c58b4290dbc364f3b2d6593fd0425fd50160993)
2002-05-13 23:28:11 +00:00
Tim Potter
b35c18072a Merge of --set-auth-user updates from 2.2
(This used to be commit 0420ae846cc93d4598b16dd21a4b8f61ae270fa2)
2002-05-13 00:44:46 +00:00
Tim Potter
52a832b3fa Merge of secrets_init() paranoia fix from 2.2
(This used to be commit 1c3c0d7cb64caa6be7ee6d786fe400a1d6944a72)
2002-05-13 00:23:06 +00:00
Tim Potter
fc26f277ca Fix for Solaris nscd issue pointed out by Mike Gerdts
<Michael.Gerdts@alcatel.com>.  The struct passwd in Solaris contains some
extra fields which must be initialised otherwise nscd crashes.
(This used to be commit a67323d07177ebc8e46dc14476efaf7e95944504)
2002-05-10 03:02:22 +00:00
Gerald Carter
f1554f0847 merge freom SAMBA_2_2
(This used to be commit 833fea47106444a4bcc0547c8bbb7d6d148fa1e7)
2002-05-09 14:20:05 +00:00
Gerald Carter
12ad4d8580 HP-UX 10.20 compiles fixes from SAMBA_2_2
(This used to be commit ddc0f556305fc12fc27ce89e01e00f98feb7d6c8)
2002-05-09 04:11:18 +00:00
Jeremy Allison
6337369a90 Merge in Jerry's called name fix.
Jeremy.
(This used to be commit 6d957924579d64407bdd94d7e78088fb1ea5c9ce)
2002-05-08 23:15:42 +00:00
Jeremy Allison
dec3433303 Merge Herb's idmap endian fix.
Jeremy.
(This used to be commit 7ddad4061a1b7ed25e4d6471c7a1f8f97a98ed37)
2002-04-27 18:56:47 +00:00
Jeremy Allison
1d79e6b90e Another attempt at fixing the endian problem when upgrading from 2.2.3a.
Herb please check.
Jeremy.
(This used to be commit a312b5b2de117797ddfdc79316378aac93034718)
2002-04-27 01:18:31 +00:00
Jeremy Allison
9199721eba Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).
Jeremy.
(This used to be commit 54261460b35cc531e033a99596d5596e94bebe24)
2002-04-26 23:11:26 +00:00
Jeremy Allison
52c7c149c5 Fix from Herb for upgrading from big-endian earlier databases.
Jeremy.
(This used to be commit e65563fc9eb454988c11c12e3e979dd07e3032a3)
2002-04-25 00:56:43 +00:00
Andrew Tridgell
a87a63a958 damn! I forgot to commit winbindd_dual.c
(This used to be commit f3764ab2c602d6af9dce15f0d525a9f11c1723f1)
2002-04-24 09:59:48 +00:00
Andrew Tridgell
6e1c478082 main() needs to be indented to make sure it doesn't generate a
prototype
(This used to be commit fdfde9b84cf825d84316344fea5af43a9b8ebcc9)
2002-04-24 09:51:14 +00:00
Andrew Tridgell
a67b5ac62f a new "dual daemon" operating mode for winbindd
this mode improves the response time of winbindd by having a
background process update the cache while the forground process
responds to queries from cache.

You can enable this mode using the -B command line option. It is quite
experimental, which is why it is not the default.
(This used to be commit c0feff97eefdf5a70e5973e247b395dbdf5d2ef2)
2002-04-24 04:11:27 +00:00
Andrew Tridgell
fc78c773f8 fixed trust relationships in ADS winbindd after breaking them with my BDC changes ...
(This used to be commit 8096032663690eafb6bb8b4f405d6231389d4f80)
2002-04-19 03:00:29 +00:00
Andrew Tridgell
c0a9919430 fixed the fallback to a BDC for ADS connections
(This used to be commit 3e58a1ee83ea0b4347ce24e566445cc6cb67bb3a)
2002-04-18 06:56:44 +00:00
Tim Potter
d0386372b2 The cli_lsa_lookup_{names,sids} functions were returning useless
information when one or more of the names/sids being queried were not
resolvable.  We now return a list the same length as the parameters passed
instead of an array of just the resolvable names/sids.
(This used to be commit 245468dbabb7c849ce423cc3cb586fa913d0adfe)
2002-04-14 11:21:25 +00:00
Andrew Tridgell
a83a0ac9c5 pull_username() is a local function
(This used to be commit fbf154bcfb68b90eb43ada9de317c93f43711608)
2002-04-14 05:51:13 +00:00
Andrew Tridgell
58c7f38368 hanle the case where the win2000 username is completely different from
the pre-win2000 username
(This used to be commit aa139ba507e4b898377fdfc9b27f7febf029d5a4)
2002-04-14 05:46:23 +00:00
Andrew Tridgell
35bc06d35c modified the ADS backend to accept either the long or short versions
of long usernames (win2000 usernames can be longer than 20 characters)
(This used to be commit 0719e756f60950b9ec04450fda5cc3776752e9a9)
2002-04-14 05:14:50 +00:00
Jeremy Allison
5c2dfd959c Tidy up winbindd debug. Added Bill Moran's hide unreadable fix.
Jeremy.
(This used to be commit a9895fcb30cdcb572cd254b0d370d79f95c7214d)
2002-04-13 02:24:07 +00:00
Andrew Tridgell
560a51f46b possibly fix the 15000 user problem
I think its caused by a rpc operation failing and us giving invalid
data back to the cache layer. Using talloc_zero() should solve this.
(This used to be commit dfa990170bb9a665ba48443258e2a87f50baa75c)
2002-04-11 14:30:31 +00:00
Tim Potter
9195f34e4a Moved definition of winbind username/password secrets into secrets.h
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
2002-04-10 00:35:00 +00:00
Tim Potter
b10b3be01c Spelling.
(This used to be commit 423985ed569ac9692f3cb5872a15c74f983121b6)
2002-04-07 23:41:55 +00:00
Tim Potter
f98b2faf99 Spelling.
(This used to be commit b43256df5367fd16a0f6dcdf94fdbe8932cb77c9)
2002-04-04 06:47:20 +00:00
Tim Potter
4b925288ef Call poptFreeContext() as appropriate.
Clean up exit path code.
(This used to be commit 41157400e3f55879fd2f20d22beeed07f1c817f5)
2002-04-04 06:40:17 +00:00
Jeremy Allison
464c120197 Fix up conversion code from old winbindd versions (some testing needed).
Added time based cache size check (#ifdef'ed out by default, just didn't
want to lose the code).
Jeremy.
(This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)
2002-04-04 03:03:39 +00:00
Jeremy Allison
adc57a79d9 Fixed the handle leak in the connection management code (this code is crap
and should be rewritten, just not now... :-).
Jeremy.
(This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)
2002-04-04 02:39:57 +00:00
Andrew Bartlett
6a0def7559 More winbind for HPUX updates from Don Mccall. I think JRA has already
applied these to 2.2.

Andrew Bartlett
(This used to be commit 51fe3324dda6b1f9a9a45deda7a76b1fff35399a)
2002-04-03 21:39:01 +00:00
Herb Lewis
93af72fe45 merge winbindd WINS changes from 2.2
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)
2002-03-29 15:37:39 +00:00
Tim Potter
57b81e1a36 Unblock sigusr1 on startup.
(This used to be commit f1cb5ff6c41cabc02da84d56c1a6d95fa434d484)
2002-03-26 23:04:06 +00:00
Tim Potter
42cfc17700 Added code for smb messaging. winbindd now responds to the smbcontrol
ping, debug and pool-usage messages.
(This used to be commit 144f0481c8b05956bdc96461a82d530fa85e3c72)
2002-03-26 22:33:06 +00:00
Jeremy Allison
25057f7fee Don't do a zero-length malloc (caught with dmalloc library).
Jeremy.
(This used to be commit 05f214202c02c0d585787cd21652edbbf338e50c)
2002-03-26 19:45:28 +00:00
Tim Potter
1d582af3c0 Spelling fixes.
(This used to be commit a5ac2ac4ada48ee3be061a32ba40bd8c4b3b3865)
2002-03-24 23:25:05 +00:00
Andrew Bartlett
657a24f476 Various winbind updates:
- pam_winbind updates from vance, fixing a typo and making some the options
  work properly.

- Extra parinoia in the winbind connection loop

- Allow pam_winbind to compile on HP-UX (Don Mcall, more work to do).

- Fix up configure.in to use the same method for building the test .so
  as the Makefile uses.

Andrew Bartlett
(This used to be commit 8e705dd9215b1cb3f44d6348094679d7dc6a7fbd)
2002-03-23 08:28:19 +00:00
Tim Potter
15bc8b1471 Make debug statment less confusing.
(This used to be commit 301a7f56dd3e7160147da656ff521671d04fe291)
2002-03-22 05:43:08 +00:00
Jeremy Allison
cd94f6cb63 Missed a couple of fetch/store_ints.
Jeremy.
(This used to be commit 51189e62a7f20db1835a54c7af1e39f4712c0b95)
2002-03-21 23:41:28 +00:00
Jeremy Allison
67d21b5a4b Make winbindd_idmap tdb endian independent. This is very important for
sharing between machines with rsync.
Finally removed tdb_store_int/tdb_fetch_int.
Now only tdb_store_int32/tdb_fetch_int32 which are endian independent
are allowed.
Jeremy.
(This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e)
2002-03-21 23:39:17 +00:00
Jeremy Allison
42955a4d81 When upgrading from an old idmap tdb, remember to overwrite the reverse
mapping as well as the forward one. Found this in doing the backport to
2.2.x. This is *essential* to upgrade an old idmap file to a new one.
Jeremy.
(This used to be commit 980355de0c9d0d1116b29b0a5be98d0b277f24dc)
2002-03-21 23:19:17 +00:00
Andrew Tridgell
e76d514f57 fixed the secondary group mappings for ADS users
(This used to be commit be399f5823bb8dfe6cc28d58aaeceb51f1b7382b)
2002-03-21 02:28:23 +00:00
Tim Potter
97ec0686f1 Cache call to winbind separator.
Some random reformatting and cleanup.

Display output of wbinfo -s using actual winbind separator.
(This used to be commit 099f8c5dfdb150b025e29d5c8ca060f1ee1c0145)
2002-03-20 03:54:47 +00:00
Tim Potter
9776d11ad4 Merge of Richard's lookupsid fix.
(This used to be commit 3c587384cbe5e10f7fa46f6996581b088dead7f5)
2002-03-20 00:56:36 +00:00
Andrew Tridgell
7b50eef89e updated winbindd to used paged ldap searches for all ldap queries
(This used to be commit 41e1560798b7eb19575b0d97a5e489eb170bcfd5)
2002-03-19 22:15:32 +00:00
Andrew Bartlett
462402fc09 Fix a double-free bug in wbinfo -t's call in winbindd.
I forgot to clean this up when netlogon move across to the connection cache
arrangement.

Also add some smb_panics to the connection_ok() code to try to catch this kind
of thing better in future.

Andrew Bartlett
(This used to be commit f4f23fad6099143ec26550afc67655390070ceb8)
2002-03-19 06:36:37 +00:00
Andrew Bartlett
4e6400f1ed Allow us to see the difference between these two errors. (We need to chase
down some bugs with it...).

Andrew Bartlett
(This used to be commit ef68b28fa0e89345f817ca8fd8f04138a009c21e)
2002-03-18 10:53:02 +00:00
Tim Potter
ab13654dc9 Renamed get_nt_error_msg() to nt_errstr().
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-17 04:36:35 +00:00
Andrew Tridgell
0800ce3269 enable locking on the winbindd cache tdb so it can be backed up and
manipulated externally
(This used to be commit 1ad1a025b3fe5aeff5adf685f47c9cc05ef80e40)
2002-03-15 09:21:28 +00:00