sfrench/samba-autobuild/.git
22 years agopreparing for release of 3.0alpha2
Samba Release Account [Mon, 10 Dec 2001 07:19:21 +0000 (07:19 +0000)]
preparing for release of 3.0alpha2
(This used to be commit c5e45a4bc8362cfbac1d3204f8aa69b2ac78ddba)

22 years agoLog more error messages.
Martin Pool [Mon, 10 Dec 2001 07:02:58 +0000 (07:02 +0000)]
Log more error messages.
(This used to be commit 8118676f780a80662f28c3cc1a74cc12d0e1ef51)

22 years agoLog more error messages.
Martin Pool [Mon, 10 Dec 2001 07:02:24 +0000 (07:02 +0000)]
Log more error messages.
(This used to be commit b50e566ab93e9a8068e26c9c902db81311cb394c)

22 years agoAlso show LDFLAGS/LDSHFLAGS when starting compilation, because they're
Martin Pool [Mon, 10 Dec 2001 06:23:28 +0000 (06:23 +0000)]
Also show LDFLAGS/LDSHFLAGS when starting compilation, because they're
not visible later on.
(This used to be commit 8edd29e09959a14a2b87c65930df7df2c2d88b03)

22 years agouse objectCategory instead of objectClass for faster searching
Andrew Tridgell [Mon, 10 Dec 2001 06:21:44 +0000 (06:21 +0000)]
use objectCategory instead of objectClass for faster searching
(This used to be commit 4d3b827e5ac1ac20ec31acdc1e2a0264f1c18e43)

22 years agoMerge of memory leak fixes from APPLIANCE_TNG.
Tim Potter [Mon, 10 Dec 2001 06:21:18 +0000 (06:21 +0000)]
Merge of memory leak fixes from APPLIANCE_TNG.
(This used to be commit b198de92d2149ba2f5010c76e715d274b8f29c2a)

22 years agoAllocate tdb name up front in case log functions want to use it.
Martin Pool [Mon, 10 Dec 2001 06:09:42 +0000 (06:09 +0000)]
Allocate tdb name up front in case log functions want to use it.
(This used to be commit a228c7efcc06b901ca51a6da77f8a52b77912f55)

22 years agowinbindd backends can now be marked "consistent" or "inconsistent"
Andrew Tridgell [Mon, 10 Dec 2001 06:05:21 +0000 (06:05 +0000)]
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 217c39f23282e20f96a61a0d5a2434b3f5f66a86)

22 years agotdb_open_ex: More cleanups: just dynamically allocate the TDB_CONTEXT
Martin Pool [Mon, 10 Dec 2001 05:29:47 +0000 (05:29 +0000)]
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 b1d7d800680f77e02185bb237982b284414aac1e)

22 years agoRefactor code to check whether already open into its own function.
Martin Pool [Mon, 10 Dec 2001 05:22:04 +0000 (05:22 +0000)]
Refactor code to check whether already open into its own function.
(This used to be commit 52ef112e10dbe273b6e66c4a5081f468e4630b7d)

22 years agoshrank the winbindd_cache.tdb somewhat
Andrew Tridgell [Mon, 10 Dec 2001 05:20:55 +0000 (05:20 +0000)]
shrank the winbindd_cache.tdb somewhat
on my system it now uses 132k for 308 users
(This used to be commit 2b396f9172bb4c2d1d9216d724a1aaab8bb22ba8)

22 years agotdb_open_ex should always "goto fail" in case of error, rather than
Martin Pool [Mon, 10 Dec 2001 05:12:52 +0000 (05:12 +0000)]
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 fe901ec194d1b8ef94386b097e72508075eb8a54)

22 years agoDoc.
Martin Pool [Mon, 10 Dec 2001 05:08:22 +0000 (05:08 +0000)]
Doc.
(This used to be commit bb6c0df4bc4eb8ce789886ec17e434dc27bb34b0)

22 years agotdb_open_ex: Continue previous refactoring so that we consistently
Martin Pool [Mon, 10 Dec 2001 05:05:21 +0000 (05:05 +0000)]
tdb_open_ex: Continue previous refactoring so that we consistently
just say "tdb" not "&tdb".
(This used to be commit fac685d30f58c25d73d1690ed008c797291558e4)

22 years agoAdded client and server code for the GetPrintProcessorDirectory SPOOLSS
Tim Potter [Mon, 10 Dec 2001 05:03:17 +0000 (05:03 +0000)]
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 bef43656471741c6c10b12e7516c15de9ae76394)

22 years agotdb_open_ex: Refactor to use a pointer to tdb, rather than an auto
Martin Pool [Mon, 10 Dec 2001 05:00:36 +0000 (05:00 +0000)]
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 d159415049c25caeaf01b6bc947da3472c54d1f8)

22 years agoFormatting fixup.
Tim Potter [Mon, 10 Dec 2001 04:59:17 +0000 (04:59 +0000)]
Formatting fixup.
(This used to be commit d902baf70970f0358e825cd520b1794fd46465f0)

22 years agoExplain why snprintf has to be overridden in this way.
Martin Pool [Mon, 10 Dec 2001 04:35:01 +0000 (04:35 +0000)]
Explain why snprintf has to be overridden in this way.
(This used to be commit a4cc69d9459879c3fa5e782efd643d4e8cd334ba)

22 years ago(merge 1.130.4.93) Display results of checks for shared libraries.
Martin Pool [Mon, 10 Dec 2001 04:29:14 +0000 (04:29 +0000)]
(merge 1.130.4.93) Display results of checks for shared libraries.
(This used to be commit d7853d993796a3f5baea26933cb0e65651c2e605)

22 years agoTypo spotting.
Tim Potter [Mon, 10 Dec 2001 04:15:58 +0000 (04:15 +0000)]
Typo spotting.
(This used to be commit 62dfda654ba9a80aa4875ff73fd9170199c745ea)

22 years agocleanup a little namespace pollution
Andrew Tridgell [Mon, 10 Dec 2001 03:21:38 +0000 (03:21 +0000)]
cleanup a little namespace pollution
(This used to be commit e5b484451a37a9ac940b342d70791b09362070ee)

22 years agoswitch off level 100 debug for server security
Andrew Tridgell [Mon, 10 Dec 2001 03:06:15 +0000 (03:06 +0000)]
switch off level 100 debug for server security
(This used to be commit 75ad6df18454022372526332dcde51bcb4285b97)

22 years agoadded some comments
Andrew Tridgell [Mon, 10 Dec 2001 02:30:18 +0000 (02:30 +0000)]
added some comments
(This used to be commit 34589d5a4786b7e441efecaef0575f9eaa0d7edf)

22 years agomoved the domain sid lookup and enumeration of trusted domains into
Andrew Tridgell [Mon, 10 Dec 2001 02:25:19 +0000 (02:25 +0000)]
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 7c60ae59378be1b2af2e57ee3927966a29a797a5)

22 years agoadded some comments
Andrew Tridgell [Mon, 10 Dec 2001 01:05:50 +0000 (01:05 +0000)]
added some comments
(This used to be commit 5ab2c8b8214236b4cd028f791e9ddb76a9973d74)

22 years agomake sid_binstring available without HAVE_ADS
Andrew Tridgell [Mon, 10 Dec 2001 00:39:01 +0000 (00:39 +0000)]
make sid_binstring available without HAVE_ADS
(This used to be commit 4a6d29768665f71b72cf48ee34ee9a9c451232f6)

22 years agoexplicitly encode NULL strings in the cache
Andrew Tridgell [Mon, 10 Dec 2001 00:07:51 +0000 (00:07 +0000)]
explicitly encode NULL strings in the cache
(This used to be commit 77c1376456765a7afe90afad96fab819fdcf8af3)

22 years agoremoved a debug line
Andrew Tridgell [Mon, 10 Dec 2001 00:00:44 +0000 (00:00 +0000)]
removed a debug line
(This used to be commit ec4c90fd7f56f8870884e5a27622cae71d154eca)

22 years agocompletely new winbindd cache infrastructure
Andrew Tridgell [Sun, 9 Dec 2001 23:59:42 +0000 (23:59 +0000)]
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 fddb4f4c04473a60a97212c0c8e143d6a4d68380)

22 years agoadd smb_xvasprintf() panic wrapper around vasprintf
Andrew Tridgell [Sun, 9 Dec 2001 23:56:07 +0000 (23:56 +0000)]
add smb_xvasprintf() panic wrapper around vasprintf
(This used to be commit fa1e7a62acdbcc550e6b29dc69454dcf7472210d)

22 years agoadded fr.msg from Fanch
Motonobu Takahashi [Sun, 9 Dec 2001 17:06:45 +0000 (17:06 +0000)]
added fr.msg from Fanch
(This used to be commit 3a3b3469e66e25531f4531dce8a1d7bc9c17896e)

22 years agoadded a simple tdbdump utility
Andrew Tridgell [Sun, 9 Dec 2001 07:49:20 +0000 (07:49 +0000)]
added a simple tdbdump utility
(This used to be commit c4f5a6c65d7dd933e9d6faf14ebf6afcf5232a1e)

22 years agoset return value to total errors
Andrew Tridgell [Sun, 9 Dec 2001 07:18:59 +0000 (07:18 +0000)]
set return value to total errors
(This used to be commit 4a7e1f6bb12e74effad83410c4b07683eaaa4617)

22 years agobetter error checking in nsstest
Andrew Tridgell [Sun, 9 Dec 2001 06:51:27 +0000 (06:51 +0000)]
better error checking in nsstest
(This used to be commit 3c17c64e31cbd56ada4e4bc0d371cef81e2e42cf)

22 years ago- check for correct error codes
Andrew Tridgell [Sun, 9 Dec 2001 06:10:40 +0000 (06:10 +0000)]
- check for correct error codes
- handle no initgroups fn
(This used to be commit 84a3390eace7f6cf1f5fb867fc58a982f24fd0b6)

22 years ago- use accountype not accountcontrol
Andrew Tridgell [Sun, 9 Dec 2001 06:10:02 +0000 (06:10 +0000)]
- use accountype not accountcontrol
- better debug code
(This used to be commit 01f63b9c92137e6de906412952c7a2c8da21dfbe)

22 years agofixed type passed to ads_search
Andrew Tridgell [Sun, 9 Dec 2001 00:46:37 +0000 (00:46 +0000)]
fixed type passed to ads_search
(This used to be commit 0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e)

22 years agofixed used of string after free
Andrew Tridgell [Sun, 9 Dec 2001 00:45:51 +0000 (00:45 +0000)]
fixed used of string after free
(This used to be commit f7ead035ebe55e94cdd5807b173bd4612866b06f)

22 years agosmall comment I don't want to loose.
Jean-François Micouleau [Sat, 8 Dec 2001 23:57:35 +0000 (23:57 +0000)]
small comment I don't want to loose.

J.F.
(This used to be commit a0b5ae58228d01ff5099180f16ffba4353bd28a7)

22 years agoFix domain logon that I broke 3 days ago.
Jean-François Micouleau [Sat, 8 Dec 2001 23:56:58 +0000 (23:56 +0000)]
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 39f2b23347011acabe9dd3ab15025022da352b74)

22 years agoBy popular demand: a new config.guess and config.sub
Andrew Bartlett [Sat, 8 Dec 2001 17:37:59 +0000 (17:37 +0000)]
By popular demand: a new config.guess and config.sub

(I hope I did this right)

Andrew Bartlett
(This used to be commit 75d0f4cf198534680dd2b50227b230bf5d5aa777)

22 years agocheck for gssapi_generic.h
Andrew Tridgell [Sat, 8 Dec 2001 12:06:08 +0000 (12:06 +0000)]
check for gssapi_generic.h
(This used to be commit 838fbac7a086ff82498c3f0ba95b714123a7428c)

22 years agofix a DEBUG() line
Andrew Tridgell [Sat, 8 Dec 2001 12:00:27 +0000 (12:00 +0000)]
fix a DEBUG() line
(This used to be commit 18da530293b11d895c62d08895ee1f77d8f97a12)

22 years agoadded internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl...
Andrew Tridgell [Sat, 8 Dec 2001 11:18:56 +0000 (11:18 +0000)]
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 435fdf276a79c2a517adcd7726933aeef3fa924b)

22 years agoFix segfault, and add a comment.
Andrew Bartlett [Sat, 8 Dec 2001 02:25:25 +0000 (02:25 +0000)]
Fix segfault, and add a comment.
(This used to be commit ff91131ef9b384765de3e4f22202d1e493f02efc)

22 years agoLeak less memory.
Andrew Bartlett [Sat, 8 Dec 2001 02:14:56 +0000 (02:14 +0000)]
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 ad18f33bfa79ce93024f3cb3a334cff622fe82a4)

22 years agoEnsure that 'use spnego' restricts, rather than just advises our clients.
Andrew Bartlett [Sat, 8 Dec 2001 02:12:17 +0000 (02:12 +0000)]
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 a8a53c08f7d607268a3959486a850a2df50ca7a2)

22 years agobasic howto
Jean-François Micouleau [Fri, 7 Dec 2001 10:20:17 +0000 (10:20 +0000)]
basic howto
(This used to be commit b48d58c768999abf4f044e474880e47c5a7bb144)

22 years agoinclude/build_env.h wasn't getting built by default with new rules unless
Herb Lewis [Fri, 7 Dec 2001 01:01:28 +0000 (01:01 +0000)]
include/build_env.h wasn't getting built by default with new rules unless
you did make headers - fixed
(This used to be commit ce84993e8e66a151fcb7d5709763b0bf2d513a7c)

22 years agoadded a "use spnego" option
Andrew Tridgell [Fri, 7 Dec 2001 01:01:10 +0000 (01:01 +0000)]
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 b5cb57a367a6d9a82e082e2838e83e0997eb4930)

22 years agoOK I think this does what everyone wants with the .headers.stamp
Herb Lewis [Fri, 7 Dec 2001 00:37:31 +0000 (00:37 +0000)]
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 bc918bce104954b39bd54cab3149a0f4573feb5f)

22 years agoallow nsstest to test any nss module
Andrew Tridgell [Thu, 6 Dec 2001 22:42:27 +0000 (22:42 +0000)]
allow nsstest to test any nss module
(This used to be commit c531f4773e33cce4b4eb97c8f9147eed02edc2d5)

22 years agoadd smbgroupedit
Herb Lewis [Thu, 6 Dec 2001 19:04:01 +0000 (19:04 +0000)]
add smbgroupedit
(This used to be commit ba2dd34407aa51cdbfe6fe7fe8730af2b2cd00ed)

22 years agoagain an intrusive patch:
Jean-François Micouleau [Thu, 6 Dec 2001 13:09:15 +0000 (13:09 +0000)]
again an intrusive patch:

- removed the ugly as hell sam_logon_in_ssb variable, I changed a bit the
definition of standard_sub_basic() to cope with that.

- removed the smb.conf: 'domain admin group' and 'domain guest group'
parameters ! We're not playing anymore with the user's group RIDs !

- in get_domain_user_groups(), if the user's gid is a group, put it first
in the group RID list.

I just have to write an HOWTO now ;-)

        J.F.
(This used to be commit fef52c4b96c987115fb1818c00c2352c67790e50)

22 years agoremove .headers.stamp from the delheaders definition
Jean-François Micouleau [Thu, 6 Dec 2001 12:57:50 +0000 (12:57 +0000)]
remove .headers.stamp from the delheaders definition
It forced a complete build to occur each time the proto are rebuild !

J.F.
(This used to be commit 9866c18193226ec4dc69ccc459f4f9b36610b945)

22 years agomerge from 2.2
Gerald Carter [Thu, 6 Dec 2001 07:44:12 +0000 (07:44 +0000)]
merge from 2.2
(This used to be commit f1ead192c668abf20f328a691caafd76874c6e47)

22 years agomerge from 2.2
Gerald Carter [Thu, 6 Dec 2001 07:37:58 +0000 (07:37 +0000)]
merge from 2.2
(This used to be commit c5ee06b7c8fc9f1fec679acc7d7f47f333707456)

22 years agocommit from 2.2
Gerald Carter [Thu, 6 Dec 2001 07:33:48 +0000 (07:33 +0000)]
commit from 2.2
(This used to be commit 54a453478a087073a51822086bd9f985a5d8cf6a)

22 years agoput the winbindd krb5 credentials cache in the lock directory
Andrew Tridgell [Thu, 6 Dec 2001 07:33:35 +0000 (07:33 +0000)]
put the winbindd krb5 credentials cache in the lock directory
this prevents it clobbering the users cache
(This used to be commit 3de552f365373de85298dbe911143e036805f9ea)

22 years agoallow a MAX_DEBUG_LEVEL setting in local.h (or the Makefile)
Andrew Tridgell [Thu, 6 Dec 2001 07:17:25 +0000 (07:17 +0000)]
allow a MAX_DEBUG_LEVEL setting in local.h (or the Makefile)

This allows embedded systems to compile out the higher debug
levels. It should gain speed as well as reducing the code
size. Setting it to 1 saves about 300k of code on my system.
(This used to be commit f34cac3b312f273a2363919655ddd1e25cb91305)

22 years agoadded a propoer kerberos_kinit_password call
Andrew Tridgell [Thu, 6 Dec 2001 05:41:53 +0000 (05:41 +0000)]
added a propoer kerberos_kinit_password call
contribution from remus@snapserver.com

thanks!
(This used to be commit 3ace8f1fcc27492d26f5ad0c3cdfc63235ca0609)

22 years agoFixed typo in fix for typo in debug. (-:
Tim Potter [Thu, 6 Dec 2001 04:23:06 +0000 (04:23 +0000)]
Fixed typo in fix for typo in debug. (-:
(This used to be commit 7c64e5f1481e832767ae07e63d7d9d116131b331)

22 years agofix up packaging stuff
Herb Lewis [Wed, 5 Dec 2001 21:49:51 +0000 (21:49 +0000)]
fix up packaging stuff
(This used to be commit 8f3093fbd092c0ddf38b49c0735308f4f5ba4492)

22 years agomerge from 2.2
Herb Lewis [Wed, 5 Dec 2001 21:08:17 +0000 (21:08 +0000)]
merge from 2.2

don't set WINBIND variables unless configure was run --with-winbind
(This used to be commit 83ec4c0f4dbfa43c893f18af1c6bb58c55043c9b)

22 years agodont add -I./popt to CFLAGS it really belongs in FLAGS1 with other include
Herb Lewis [Wed, 5 Dec 2001 19:45:30 +0000 (19:45 +0000)]
dont add -I./popt to CFLAGS it really belongs in FLAGS1 with other include
paths. This make it hard to use a script that overrides CFLAGS options.
(This used to be commit 646b5ae752f7cd00e057d0d7cc6001161125fd3f)

22 years agoAdded fetch_domain_sid. Not used in current code, but a nice example
Jeremy Allison [Wed, 5 Dec 2001 19:33:35 +0000 (19:33 +0000)]
Added fetch_domain_sid. Not used in current code, but a nice example
of how to use this interface.
Jeremy.
(This used to be commit 291985123515f99bb3fd86605d5b8a08301070a2)

22 years agochanged the DEBUG level of tdb_pack and tdb_unpack. Instead of 8, it's now
Jean-François Micouleau [Wed, 5 Dec 2001 15:45:36 +0000 (15:45 +0000)]
changed the DEBUG level of tdb_pack and tdb_unpack. Instead of 8, it's now
18.

when you're looking at a level 10, and it's all clutered with
tdb_pack/unpack, it's getting .... And anyway most of our code using
tdb_pack/unpack have DEBUG around the call if there is a problem.

J.F.
(This used to be commit 7e20fad5ed00be4594bfc45603db89d600f46c55)

22 years agoadded samr_queryuseralias(). instead of returning BUILTIN_ALIAS_RID_USERS,
Jean-François Micouleau [Wed, 5 Dec 2001 15:41:44 +0000 (15:41 +0000)]
added samr_queryuseralias(). instead of returning BUILTIN_ALIAS_RID_USERS,
now return the alias correctly.

time to look at the netlogon case.

J.F.
(This used to be commit 72ee1791084d09e73d8057e37ced4a79cecffb35)

22 years agopreparing for release of 3.0alpha1
Samba Release Account [Wed, 5 Dec 2001 12:28:21 +0000 (12:28 +0000)]
preparing for release of 3.0alpha1
(This used to be commit b56e8e72d6ae5602be0e3ec36643263f64b6178a)

22 years agofixed a return value
Andrew Tridgell [Wed, 5 Dec 2001 11:32:25 +0000 (11:32 +0000)]
fixed a return value
(This used to be commit 56bdb152d8617c0a36c0bc25c677a2d98bcb1328)

22 years agoOK. Smbpasswd -j is DEAD.
Andrew Bartlett [Wed, 5 Dec 2001 11:00:26 +0000 (11:00 +0000)]
OK.  Smbpasswd -j is DEAD.

This moves the rest of the functionality into the 'net rpc join' code.

Futhermore, this moves that entire area over to the libsmb codebase, rather
than the crufty old rpc_client stuff.

I have also fixed up the smbpasswd -a -m bug in the process.

We also have a new 'net rpc changetrustpw' that can be called from a
cron-job to regularly change the trust account password, for sites
that run winbind but not smbd.

With a little more work, we can kill rpc_client from smbd entirly!
(It is mostly the domain auth stuff - which I can rework - and the
spoolss stuff that sombody else will need to look over).

Andrew Bartlett
(This used to be commit 575897e879fc175ba702adf245384033342c903d)

22 years agoAdd a couple of extra debugs for the secrets.tdb stuff
Andrew Bartlett [Wed, 5 Dec 2001 10:52:13 +0000 (10:52 +0000)]
Add a couple of extra debugs for the secrets.tdb stuff
(This used to be commit c76c1f6904510d6ecca3453f91433420f22b7bd6)

22 years agoEnsure we fill in the %U for NTLMSSP connections
Andrew Bartlett [Wed, 5 Dec 2001 10:50:26 +0000 (10:50 +0000)]
Ensure we fill in the %U for NTLMSSP connections
(This used to be commit d15ea4fa8e23469f104405c197206e2779461323)

22 years agofixed a minor password memory leak
Andrew Tridgell [Wed, 5 Dec 2001 10:44:30 +0000 (10:44 +0000)]
fixed a minor password memory leak
(This used to be commit 5985d7e6eec1eb80d8d7470ee2ceda8981c7410c)

22 years agofixed a memory leak
Andrew Tridgell [Wed, 5 Dec 2001 10:43:43 +0000 (10:43 +0000)]
fixed a memory leak
(This used to be commit 45c328800e42ba01c8d6113c0691546804137677)

22 years agofix link error
Andrew Tridgell [Wed, 5 Dec 2001 10:35:25 +0000 (10:35 +0000)]
fix link error
(This used to be commit 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5)

22 years agohandle ldap server down better
Andrew Tridgell [Wed, 5 Dec 2001 10:14:22 +0000 (10:14 +0000)]
handle ldap server down better
(This used to be commit 0d85815c992c6ca77ba64dfb2d7538be4684654d)

22 years agoadded a REALLY gross hack into kerberos_kinit_password so that
Andrew Tridgell [Wed, 5 Dec 2001 09:46:53 +0000 (09:46 +0000)]
added a REALLY gross hack into kerberos_kinit_password so that
winbindd can do a kinit
this will be removed once we have code that gets a tgt
and puts it in a place where cyrus-sasl can see it
(This used to be commit 7d94f1b7365215a020d3678d03d820a7d086174f)

22 years agoauto-init secrets.tdb
Andrew Tridgell [Wed, 5 Dec 2001 09:45:00 +0000 (09:45 +0000)]
auto-init secrets.tdb
(This used to be commit aff916e543f1c70aa5fe0fc07dda21e772625097)

22 years agoadded timeouts and retries to ldap operations
Andrew Tridgell [Wed, 5 Dec 2001 09:19:25 +0000 (09:19 +0000)]
added timeouts and retries to ldap operations
(This used to be commit 4f004eb54d66b6f811cb2f4791da6c70d77f87c2)

22 years agomoved the sequence number fetch into the backend, and fetch the
Andrew Tridgell [Wed, 5 Dec 2001 07:52:44 +0000 (07:52 +0000)]
moved the sequence number fetch into the backend, and fetch the
sequence number via ldap when using ads
(This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)

22 years agodon't double free ldap message lists
Andrew Tridgell [Wed, 5 Dec 2001 07:36:35 +0000 (07:36 +0000)]
don't double free ldap message lists
(This used to be commit f64612b89bae1148d73555cac00f6019a01f9304)

22 years agoparanoia fixes in based ldap routines for potential memory leaks
Andrew Tridgell [Wed, 5 Dec 2001 07:35:57 +0000 (07:35 +0000)]
paranoia fixes in based ldap routines for potential memory leaks
(This used to be commit 13b933104e1389608e4831ca47dd8106ea0c60a5)

22 years agofixed another leak - memory usage now seems to be quite small
Andrew Tridgell [Wed, 5 Dec 2001 07:11:26 +0000 (07:11 +0000)]
fixed another leak - memory usage now seems to be quite small
(This used to be commit a45e3968590a021c1b464db5265a09ba48cb5797)

22 years agoadded very basic ads connection cacheing
Andrew Tridgell [Wed, 5 Dec 2001 07:05:53 +0000 (07:05 +0000)]
added very basic ads connection cacheing
(This used to be commit 7de670cd15c1a87dd01ab22d74a7e6cbf5ae6673)

22 years agomore memory leak fixes
Andrew Tridgell [Wed, 5 Dec 2001 06:26:56 +0000 (06:26 +0000)]
more memory leak fixes
(This used to be commit eb6f0e91ddd2a97a907a569bc60beca99b494884)

22 years agoplugged most of the memory leaks
Andrew Tridgell [Wed, 5 Dec 2001 06:16:33 +0000 (06:16 +0000)]
plugged most of the memory leaks
(This used to be commit 60b5d4432abd905ee61fe381487ed87139134685)

22 years agoadded the last winbindd/ads backend function
Andrew Tridgell [Wed, 5 Dec 2001 05:35:45 +0000 (05:35 +0000)]
added the last winbindd/ads backend function

winbindd is now fully functional with a native mode w2k server

now for the memory leaks and speed ...
(This used to be commit fad564c177049eb47e5bf48c98b62281c6348ffc)

22 years agofinally worked out how to do ldap lookups by binary blobs, so I can
Andrew Tridgell [Wed, 5 Dec 2001 04:48:51 +0000 (04:48 +0000)]
finally worked out how to do ldap lookups by binary blobs, so I can
now do searches on SID. This allows me to do a true ldap sid_to_name()
function

one one function to go!
(This used to be commit 7d44aa3915bc88fd2b2f8454f190b11677cbb848)

22 years agoadded functions that convert a ads binary blob to a string (for
Andrew Tridgell [Wed, 5 Dec 2001 04:44:34 +0000 (04:44 +0000)]
added functions that convert a ads binary blob to a string (for
searching on SID)
(This used to be commit 31d6d049b30e364e062f108d6f9221bbdc2ebec5)

22 years agofixed an off by 1 bug in talloc_asprintf()
Andrew Tridgell [Wed, 5 Dec 2001 04:43:53 +0000 (04:43 +0000)]
fixed an off by 1 bug in talloc_asprintf()
(This used to be commit 2b2155beaef17a13c0e867c3dcfe8c323e84a9a3)

22 years agoFixed parse_domain_user to be bool.
Jeremy Allison [Wed, 5 Dec 2001 04:17:39 +0000 (04:17 +0000)]
Fixed parse_domain_user to be bool.
Jeremy.
(This used to be commit 9563de2ef8c1197f4941671d2fdade7d933c32d0)

22 years agoAdd a new flag for anonymous connections
Andrew Bartlett [Wed, 5 Dec 2001 03:14:35 +0000 (03:14 +0000)]
Add a new flag for anonymous connections
(This used to be commit 5a96391c75fd13b2fc385aa571244b82bc4736d0)

22 years agoMake it easier to construct anonymous connections with a new flag and helper
Andrew Bartlett [Wed, 5 Dec 2001 03:14:21 +0000 (03:14 +0000)]
Make it easier to construct anonymous connections with a new flag and helper
function.
(This used to be commit 61b0f5f4f9788784b0806a9a15cbc6bf1005aa68)

22 years agoSplit out the name resolution code into a seperate function
Andrew Bartlett [Wed, 5 Dec 2001 02:58:40 +0000 (02:58 +0000)]
Split out the name resolution code into a seperate function
(This used to be commit b2443f6fca5840584926b7481acf1975507c445e)

22 years agoUse print_queue_length() by preference if we don't need a queue
Jeremy Allison [Wed, 5 Dec 2001 02:11:03 +0000 (02:11 +0000)]
Use print_queue_length() by preference if we don't need a queue
as it doesn't do a traversal.
Jeremy.
(This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)

22 years agoFollow herb's suggestion and don't strdup a string to itself
Andrew Bartlett [Wed, 5 Dec 2001 01:59:32 +0000 (01:59 +0000)]
Follow herb's suggestion and don't strdup a string to itself
(This used to be commit d00f461f43558c8ef942df305bcc2c89060b4800)

22 years agoFollow herb's suggestion and don't strdup a string to itself.
Andrew Bartlett [Wed, 5 Dec 2001 01:58:33 +0000 (01:58 +0000)]
Follow herb's suggestion and don't strdup a string to itself.
(This used to be commit ea76a687fc2614912fd6b0458622495f9920749e)

22 years agomerge from 2.2 branch
Herb Lewis [Wed, 5 Dec 2001 01:04:47 +0000 (01:04 +0000)]
merge from 2.2 branch
(This used to be commit 692c23fe86391204161adeb6cf9b8061d0121175)

22 years agoImproved efficiency of enumerating print queue's under a particular
Jeremy Allison [Wed, 5 Dec 2001 00:54:33 +0000 (00:54 +0000)]
Improved efficiency of enumerating print queue's under a particular
extreme condition...
Jeremy.
(This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)