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

7358 Commits

Author SHA1 Message Date
Martin Pool
dd9bdec3aa Log more error messages.
(This used to be commit 8118676f78)
2001-12-10 07:02:58 +00:00
Martin Pool
98d6d8cf9c Log more error messages.
(This used to be commit b50e566ab9)
2001-12-10 07:02:24 +00:00
Martin Pool
43069e5475 Also show LDFLAGS/LDSHFLAGS when starting compilation, because they're
not visible later on.
(This used to be commit 8edd29e099)
2001-12-10 06:23:28 +00:00
Andrew Tridgell
6b36fa3a8a use objectCategory instead of objectClass for faster searching
(This used to be commit 4d3b827e5a)
2001-12-10 06:21:44 +00:00
Tim Potter
31f036b5b3 Merge of memory leak fixes from APPLIANCE_TNG.
(This used to be commit b198de92d2)
2001-12-10 06:21:18 +00:00
Martin Pool
8c31fd48c8 Allocate tdb name up front in case log functions want to use it.
(This used to be commit a228c7efcc)
2001-12-10 06:09:42 +00:00
Andrew Tridgell
2bbc91978b winbindd backends can now be marked "consistent" or "inconsistent"
consistent backends (like ADS) always give correct primary group
info, so we can play cache tricks to speed things up a lot

inconsistent backends (like MSRPC) need to fetch stuff more often
(This used to be commit 217c39f232)
2001-12-10 06:05:21 +00:00
Martin Pool
ddeecec1f8 tdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
up front, rather than working on the stack and then copying across.
(This used to be commit b1d7d80068)
2001-12-10 05:29:47 +00:00
Martin Pool
dddef5d5b2 Refactor code to check whether already open into its own function.
(This used to be commit 52ef112e10)
2001-12-10 05:22:04 +00:00
Andrew Tridgell
a23800be19 shrank the winbindd_cache.tdb somewhat
on my system it now uses 132k for 308 users
(This used to be commit 2b396f9172)
2001-12-10 05:20:55 +00:00
Martin Pool
77d800fb3e tdb_open_ex should always "goto fail" in case of error, rather than
just returning.  I don't think this would leak at the moment, but it's
an accident waiting to happen.
(This used to be commit fe901ec194)
2001-12-10 05:12:52 +00:00
Martin Pool
70f27f1b52 Doc.
(This used to be commit bb6c0df4bc)
2001-12-10 05:08:22 +00:00
Martin Pool
5fea33ab58 tdb_open_ex: Continue previous refactoring so that we consistently
just say "tdb" not "&tdb".
(This used to be commit fac685d30f)
2001-12-10 05:05:21 +00:00
Tim Potter
4f53486d78 Added client and server code for the GetPrintProcessorDirectory SPOOLSS
rpc.  This was supposed to fix a printer driver download bug but it didn't
but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed
out in case someone needs it one day.
(This used to be commit bef4365647)
2001-12-10 05:03:17 +00:00
Martin Pool
ce654f5e55 tdb_open_ex: Refactor to use a pointer to tdb, rather than an auto
tdb, to be consistent with the rest of the code.
(This used to be commit d159415049)
2001-12-10 05:00:36 +00:00
Tim Potter
aeb734a8fa Formatting fixup.
(This used to be commit d902baf709)
2001-12-10 04:59:17 +00:00
Martin Pool
5788615e8d Explain why snprintf has to be overridden in this way.
(This used to be commit a4cc69d945)
2001-12-10 04:35:01 +00:00
Martin Pool
5e22f65d00 (merge 1.130.4.93) Display results of checks for shared libraries.
(This used to be commit d7853d9937)
2001-12-10 04:29:14 +00:00
Tim Potter
ba57d9a136 Typo spotting.
(This used to be commit 62dfda654b)
2001-12-10 04:15:58 +00:00
Andrew Tridgell
216f3ae908 cleanup a little namespace pollution
(This used to be commit e5b484451a)
2001-12-10 03:21:38 +00:00
Andrew Tridgell
287df36a0e switch off level 100 debug for server security
(This used to be commit 75ad6df184)
2001-12-10 03:06:15 +00:00
Andrew Tridgell
7f3373649a added some comments
(This used to be commit 34589d5a47)
2001-12-10 02:30:18 +00:00
Andrew Tridgell
f3918919d2 moved the domain sid lookup and enumeration of trusted domains into
the backends

at startup, loop until we get the domain sid for our primary domain,
trying every 10 seconds. This makes winbindd handle a room-wide power
failure better
(This used to be commit 7c60ae5937)
2001-12-10 02:25:19 +00:00
Andrew Tridgell
dd0b65a91c added some comments
(This used to be commit 5ab2c8b821)
2001-12-10 01:05:50 +00:00
Andrew Tridgell
e051c2c430 make sid_binstring available without HAVE_ADS
(This used to be commit 4a6d297686)
2001-12-10 00:39:01 +00:00
Andrew Tridgell
4ad81e7714 explicitly encode NULL strings in the cache
(This used to be commit 77c1376456)
2001-12-10 00:07:51 +00:00
Andrew Tridgell
cb1195fdef removed a debug line
(This used to be commit ec4c90fd7f)
2001-12-10 00:00:44 +00:00
Andrew Tridgell
31842f5d01 completely new winbindd cache infrastructure
this one looks like just another winbind backend, and has the
following properties:

- does -ve and +ve cacheing of all queries

- can be disabled with -n switch to winbindd

- stores all records packed, so even huge domains are not a problem
for a complete cache

- handles the server being down

- uses sequence numbers for all entries

This fixes a lot of problems with winbindd. Serving from cache is now
*very* fast.
(This used to be commit fddb4f4c04)
2001-12-09 23:59:42 +00:00
Andrew Tridgell
e3d171ff55 add smb_xvasprintf() panic wrapper around vasprintf
(This used to be commit fa1e7a62ac)
2001-12-09 23:56:07 +00:00
Motonobu Takahashi
f13f9940b7 added fr.msg from Fanch
(This used to be commit 3a3b3469e6)
2001-12-09 17:06:45 +00:00
Andrew Tridgell
bd062b1856 added a simple tdbdump utility
(This used to be commit c4f5a6c65d)
2001-12-09 07:49:20 +00:00
Andrew Tridgell
adbd4300fd set return value to total errors
(This used to be commit 4a7e1f6bb1)
2001-12-09 07:18:59 +00:00
Andrew Tridgell
1445184502 better error checking in nsstest
(This used to be commit 3c17c64e31)
2001-12-09 06:51:27 +00:00
Andrew Tridgell
82516cad1b - check for correct error codes
- handle no initgroups fn
(This used to be commit 84a3390eac)
2001-12-09 06:10:40 +00:00
Andrew Tridgell
0b33cb1a7b - use accountype not accountcontrol
- better debug code
(This used to be commit 01f63b9c92)
2001-12-09 06:10:02 +00:00
Andrew Tridgell
b6c618467d fixed type passed to ads_search
(This used to be commit 0ff30848f3)
2001-12-09 00:46:37 +00:00
Andrew Tridgell
bc26ea1e5c fixed used of string after free
(This used to be commit f7ead035eb)
2001-12-09 00:45:51 +00:00
Jean-François Micouleau
6490fbce6b small comment I don't want to loose.
J.F.
(This used to be commit a0b5ae5822)
2001-12-08 23:57:35 +00:00
Jean-François Micouleau
139c46eced Fix domain logon that I broke 3 days ago.
And it's in sync with the docs, %U is really replaced by the name the user
asked. Whereas in 2.2 that's false, %U is replaced by the name the user
was mapped to.

	J.F.
(This used to be commit 39f2b23347)
2001-12-08 23:56:58 +00:00
Andrew Bartlett
a211fde02b By popular demand: a new config.guess and config.sub
(I hope I did this right)

Andrew Bartlett
(This used to be commit 75d0f4cf19)
2001-12-08 17:37:59 +00:00
Andrew Tridgell
09b01cdcbd check for gssapi_generic.h
(This used to be commit 838fbac7a0)
2001-12-08 12:06:08 +00:00
Andrew Tridgell
35eb6be4ea fix a DEBUG() line
(This used to be commit 18da530293)
2001-12-08 12:00:27 +00:00
Andrew Tridgell
5d378a280f added internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm
(This used to be commit 435fdf276a)
2001-12-08 11:18:56 +00:00
Andrew Bartlett
22a76a0632 Fix segfault, and add a comment.
(This used to be commit ff91131ef9)
2001-12-08 02:25:25 +00:00
Andrew Bartlett
3c64bd4c50 Leak less memory.
Now, is there any reason that the prs_init() doesn't use the talloc context
that it is supplied as an argument for the actual data buffer?

It would seem logical to replace the malloc with a talloc, but I'm sure
there is some method to the madness (extrnal use/Reallocing of it I presume)

Andrew Bartlett
(This used to be commit ad18f33bfa)
2001-12-08 02:14:56 +00:00
Andrew Bartlett
9220fd730c Ensure that 'use spnego' restricts, rather than just advises our clients.
This means that if a hole is found in the spnego code, we can tell people
to just set 'use spengo' in their config file while we sort it out.

Other than that, preventing 'unusual' behaviour is always a good thing.

Andrew Bartlett
(This used to be commit a8a53c08f7)
2001-12-08 02:12:17 +00:00
Jean-François Micouleau
70b32ba01d basic howto
(This used to be commit b48d58c768)
2001-12-07 10:20:17 +00:00
Herb Lewis
7218f88e81 include/build_env.h wasn't getting built by default with new rules unless
you did make headers - fixed
(This used to be commit ce84993e8e)
2001-12-07 01:01:28 +00:00
Andrew Tridgell
99c431695c added a "use spnego" option
you need to set "use spnego = no" for w2k to be able to join a samba
domain. Otherwise the w2k box will assume we can do kerberos as a KDC
(This used to be commit b5cb57a367)
2001-12-07 01:01:10 +00:00
Herb Lewis
8d0eb004a0 OK I think this does what everyone wants with the .headers.stamp
it gets removed on a make clean
it gets created on a make headers (if it doesn't already exist)

This makes it so I only rebuild everthing once after a make clean and
also so nothing gets rebuilt after jfm does a make headers (proto)
(This used to be commit bc918bce10)
2001-12-07 00:37:31 +00:00