1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

345 Commits

Author SHA1 Message Date
Jeremy Allison
6d95792457 Merge in Jerry's called name fix.
Jeremy.
-
Jeremy Allison
7ddad4061a Merge Herb's idmap endian fix.
Jeremy.
-
Jeremy Allison
a312b5b2de Another attempt at fixing the endian problem when upgrading from 2.2.3a.
Herb please check.
Jeremy.
-
Jeremy Allison
54261460b3 Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).
Jeremy.
-
Jeremy Allison
e65563fc9e Fix from Herb for upgrading from big-endian earlier databases.
Jeremy.
-
Andrew Tridgell
f3764ab2c6 damn! I forgot to commit winbindd_dual.c -
Andrew Tridgell
fdfde9b84c main() needs to be indented to make sure it doesn't generate a
prototype
-
Andrew Tridgell
c0feff97ee 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.
-
Andrew Tridgell
8096032663 fixed trust relationships in ADS winbindd after breaking them with my BDC changes ... -
Andrew Tridgell
3e58a1ee83 fixed the fallback to a BDC for ADS connections -
Tim Potter
245468dbab 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.
-
Andrew Tridgell
fbf154bcfb pull_username() is a local function -
Andrew Tridgell
aa139ba507 hanle the case where the win2000 username is completely different from
the pre-win2000 username
-
Andrew Tridgell
0719e756f6 modified the ADS backend to accept either the long or short versions
of long usernames (win2000 usernames can be longer than 20 characters)
-
Jeremy Allison
a9895fcb30 Tidy up winbindd debug. Added Bill Moran's hide unreadable fix.
Jeremy.
-
Andrew Tridgell
dfa990170b 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.
-
Tim Potter
b618b5943d Moved definition of winbind username/password secrets into secrets.h -
Tim Potter
423985ed56 Spelling. -
Tim Potter
b43256df53 Spelling. -
Tim Potter
41157400e3 Call poptFreeContext() as appropriate.
Clean up exit path code.
-
Jeremy Allison
b2350ed36c 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.
-
Jeremy Allison
5de792e7e9 Fixed the handle leak in the connection management code (this code is crap
and should be rewritten, just not now... :-).
Jeremy.
-
Andrew Bartlett
51fe3324dd More winbind for HPUX updates from Don Mccall. I think JRA has already
applied these to 2.2.

Andrew Bartlett
-
Herb Lewis
205399dc17 merge winbindd WINS changes from 2.2 -
Tim Potter
f1cb5ff6c4 Unblock sigusr1 on startup. -
Tim Potter
144f0481c8 Added code for smb messaging. winbindd now responds to the smbcontrol
ping, debug and pool-usage messages.
-
Jeremy Allison
05f214202c Don't do a zero-length malloc (caught with dmalloc library).
Jeremy.
-
Tim Potter
a5ac2ac4ad Spelling fixes. -
Andrew Bartlett
8e705dd921 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
-
Tim Potter
301a7f56dd Make debug statment less confusing. -
Jeremy Allison
51189e62a7 Missed a couple of fetch/store_ints.
Jeremy.
-
Jeremy Allison
1c4a00dcc1 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.
-
Jeremy Allison
980355de0c 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.
-
Andrew Tridgell
be399f5823 fixed the secondary group mappings for ADS users -
Tim Potter
099f8c5dfd Cache call to winbind separator.
Some random reformatting and cleanup.

Display output of wbinfo -s using actual winbind separator.
-
Tim Potter
3c587384cb Merge of Richard's lookupsid fix. -
Andrew Tridgell
41e1560798 updated winbindd to used paged ldap searches for all ldap queries -
Andrew Bartlett
f4f23fad60 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
-
Andrew Bartlett
ef68b28fa0 Allow us to see the difference between these two errors. (We need to chase
down some bugs with it...).

Andrew Bartlett
-
Tim Potter
1f007d3ed4 Renamed get_nt_error_msg() to nt_errstr(). -
Andrew Tridgell
1ad1a025b3 enable locking on the winbindd cache tdb so it can be backed up and
manipulated externally
-
Andrew Tridgell
d6a4a10f58 added a -h usage option to winbindd -
Jeremy Allison
cad82926a8 Now we have reliable signals take SIGTERM inband.
Jeremy.
-
Andrew Bartlett
54e69ed20a Fix typo in copyright -
Andrew Tridgell
1aaa2091d5 fixed 2 reconnection bugs in the ADS backend support -
Andrew Tridgell
ed80311b41 get the test for disconnection the right way around! -
Tim Potter
33dd07d1fc Removed bogus calles to D() debugging function. Perhaps these should
be replaced by DEBUG() calls?
-
Andrew Tridgell
967cb3ed0c always make winbindd try for the PDC first before trying for a BDC
this prevents propogation delays in the SAM between the PDC and BDCs
-
Andrew Tridgell
0f75b6bd5b removed bogus prepend_domain() call which was screwing up getpwuid()
with the new default domain code
-
Andrew Tridgell
d5b5d3f840 prevent a segv when a trusted domain is unavailable at startup -