1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

6398 Commits

Author SHA1 Message Date
Andrew Tridgell
d20c3717dd reinstated all the rap commands as top level commands until we get the
protocol switch mechanism in place
-
Andrew Tridgell
be254eb13c moved ccache location change into winbindd code -
Andrew Tridgell
24aa09ff3d robustness fixes and moved ccache location into winbindd_ads code -
Jeremy Allison
919b11a787 Treat RAP codes differently.
Jeremy.
-
Jeremy Allison
3c68b94199 RAP error strings take precedence as they are not encoded in the SMB header
(ie. the call can succeed, but still be an encoded error).
Jeremy.
-
Jim McDonough
55d55e311e Delay gssapi header checking until after kerberos has been located. Wasn't working on RedHat systems because of /usr/kerberos install location. -
Jean-François Micouleau
0a727afc66 added info level 3 to samrgetgroupinfo. I don't know what the value is.
It's just to keep usermanager happy ;-)

clean up a bit samr_query_aliasinfo to return the group description

added: samr_del_aliasmem, samr_del_groupmem and samr_del_domuser

with the correct scripts, you can now entirely manage the users from
usermanager ! Closer to full PDC every day ;-)

        J.F.
-
Martin Pool
83ab28a7e5 Make proto -
Martin Pool
6c684c89a4 Doc. -
Martin Pool
caa08bb56e Allow for internal databases which may have no name. -
Martin Pool
8118676f78 Log more error messages. -
Martin Pool
b50e566ab9 Log more error messages. -
Martin Pool
8edd29e099 Also show LDFLAGS/LDSHFLAGS when starting compilation, because they're
not visible later on.
-
Andrew Tridgell
4d3b827e5a use objectCategory instead of objectClass for faster searching -
Tim Potter
b198de92d2 Merge of memory leak fixes from APPLIANCE_TNG. -
Martin Pool
a228c7efcc Allocate tdb name up front in case log functions want to use it. -
Andrew Tridgell
217c39f232 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
-
Martin Pool
b1d7d80068 tdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
up front, rather than working on the stack and then copying across.
-
Martin Pool
52ef112e10 Refactor code to check whether already open into its own function. -
Andrew Tridgell
2b396f9172 shrank the winbindd_cache.tdb somewhat
on my system it now uses 132k for 308 users
-
Martin Pool
fe901ec194 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.
-
Martin Pool
bb6c0df4bc Doc. -
Martin Pool
fac685d30f tdb_open_ex: Continue previous refactoring so that we consistently
just say "tdb" not "&tdb".
-
Tim Potter
bef4365647 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.
-
Martin Pool
d159415049 tdb_open_ex: Refactor to use a pointer to tdb, rather than an auto
tdb, to be consistent with the rest of the code.
-
Tim Potter
d902baf709 Formatting fixup. -
Martin Pool
a4cc69d945 Explain why snprintf has to be overridden in this way. -
Martin Pool
d7853d9937 (merge 1.130.4.93) Display results of checks for shared libraries. -
Tim Potter
62dfda654b Typo spotting. -
Andrew Tridgell
e5b484451a cleanup a little namespace pollution -
Andrew Tridgell
34589d5a47 added some comments -
Andrew Tridgell
7c60ae5937 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
-
Andrew Tridgell
5ab2c8b821 added some comments -
Andrew Tridgell
4a6d297686 make sid_binstring available without HAVE_ADS -
Andrew Tridgell
77c1376456 explicitly encode NULL strings in the cache -
Andrew Tridgell
ec4c90fd7f removed a debug line -
Andrew Tridgell
fddb4f4c04 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.
-
Andrew Tridgell
fa1e7a62ac add smb_xvasprintf() panic wrapper around vasprintf -
Motonobu Takahashi
3a3b3469e6 added fr.msg from Fanch -
Andrew Tridgell
c4f5a6c65d added a simple tdbdump utility -
Andrew Tridgell
4a7e1f6bb1 set return value to total errors -
Andrew Tridgell
3c17c64e31 better error checking in nsstest -
Andrew Tridgell
84a3390eac - check for correct error codes
- handle no initgroups fn
-
Andrew Tridgell
01f63b9c92 - use accountype not accountcontrol
- better debug code
-
Andrew Tridgell
0ff30848f3 fixed type passed to ads_search -
Andrew Tridgell
f7ead035eb fixed used of string after free -
Jean-François Micouleau
a0b5ae5822 small comment I don't want to loose.
J.F.
-
Jean-François Micouleau
39f2b23347 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.
-
Andrew Bartlett
75d0f4cf19 By popular demand: a new config.guess and config.sub
(I hope I did this right)

Andrew Bartlett
-
Andrew Tridgell
838fbac7a0 check for gssapi_generic.h -