Andrew Bartlett
b5666e2874
Fix up C99 comment.
...
// -> /* */
(This used to be commit a308abbab717df56b982adf1717da96603d2045f)
2002-01-01 02:31:32 +00:00
Andrew Tridgell
162a6606bd
cope with systems that don't have full gssapi libs
...
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-31 14:31:13 +00:00
Andrew Bartlett
8536aa5ef3
Allow this to build without LDAP, as per the example below it.
...
Andrew Bartlett
(This used to be commit f60e4450018fc06c9f8ce18e62c29fd968d55daa)
2001-12-31 11:14:38 +00:00
Andrew Bartlett
436595a386
Fix the compile on systems without a full kerberos kit.
...
Andrew Bartlett
(This used to be commit 33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)
2001-12-30 06:20:23 +00:00
Andrew Bartlett
34037e2479
Make Samba compile on RH 6.2 again.
...
We now include the libber.h file if required, but currently we just don't use
ldap. (I'll chase this up).
In the meantime, I've moved the ads_status code about, its now in its own file,
and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP
caused HAVE_ADS to be undefined. (I hope its not too ugly).
Andrew Bartlett
(This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
2001-12-30 05:59:43 +00:00
Andrew Tridgell
401c7495ea
added ads_domain_sid() function
...
(This used to be commit ff002a458afa6ca378f0c6d2ec9fb74233c839a7)
2001-12-20 23:35:14 +00:00
Andrew Tridgell
db54a8c041
forgot to commit this file from remus
...
(This used to be commit 7984ae0121ba327309ca5c52674e03fc1ad7e923)
2001-12-20 07:46:24 +00:00
Andrew Tridgell
6c7e9dfb29
net ads password and net ads chostpass commands from Remus Koos
...
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)
2001-12-20 03:54:52 +00:00
Andrew Tridgell
1f31ace6cb
much better ADS error handling system
...
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
105fe2a32e
we only have gss_ fns on a krb5 capable box
...
(This used to be commit 344b786efe00f72ed81f0eeb4d422c655d866557)
2001-12-19 09:58:52 +00:00
Andrew Tridgell
a062e58d9e
- added initial support for trusted domains in winbindd_ads
...
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
48c45486e3
allow selection of the organisational unit when joining a realm
...
(This used to be commit f1231c2b54cac9d4fda7fa9d45fd329f1fd7b779)
2001-12-17 11:16:22 +00:00
Andrew Tridgell
d58b1b5981
better error handling
...
(This used to be commit ed6279481bfcb21212e9c22009969c19ea4f1646)
2001-12-13 11:30:13 +00:00
Andrew Tridgell
75a6ac48a0
try the PDC for our workgroup if we can't find the ldap server
...
(This used to be commit fc9fd2ca19899e757a6d3ccbba3d4a10f27d7a3f)
2001-12-13 11:29:49 +00:00
Andrew Tridgell
66d964c9fc
allow overriding the local time in kerberos_kinit_password()
...
(This used to be commit cb9dbcef7cba9eb42f7b30b81c35142dc945d84f)
2001-12-11 05:15:52 +00:00
Andrew Tridgell
3d27d7b9f7
moved ccache location change into winbindd code
...
(This used to be commit be254eb13c4bf316823ed43db3ef9407f45ca23b)
2001-12-10 22:10:31 +00:00
Andrew Tridgell
e051c2c430
make sid_binstring available without HAVE_ADS
...
(This used to be commit 4a6d29768665f71b72cf48ee34ee9a9c451232f6)
2001-12-10 00:39:01 +00:00
Andrew Tridgell
bc26ea1e5c
fixed used of string after free
...
(This used to be commit f7ead035ebe55e94cdd5807b173bd4612866b06f)
2001-12-09 00:45:51 +00:00
Andrew Tridgell
35eb6be4ea
fix a DEBUG() line
...
(This used to be commit 18da530293b11d895c62d08895ee1f77d8f97a12)
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 435fdf276a79c2a517adcd7726933aeef3fa924b)
2001-12-08 11:18:56 +00:00
Andrew Tridgell
44384354d8
put the winbindd krb5 credentials cache in the lock directory
...
this prevents it clobbering the users cache
(This used to be commit 3de552f365373de85298dbe911143e036805f9ea)
2001-12-06 07:33:35 +00:00
Andrew Tridgell
d412f66cd8
added a propoer kerberos_kinit_password call
...
contribution from remus@snapserver.com
thanks!
(This used to be commit 3ace8f1fcc27492d26f5ad0c3cdfc63235ca0609)
2001-12-06 05:41:53 +00:00
Andrew Tridgell
410dfc917f
fixed a minor password memory leak
...
(This used to be commit 5985d7e6eec1eb80d8d7470ee2ceda8981c7410c)
2001-12-05 10:44:30 +00:00
Andrew Tridgell
6194d6a541
fix link error
...
(This used to be commit 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5)
2001-12-05 10:35:25 +00:00
Andrew Tridgell
8aa0a817c1
handle ldap server down better
...
(This used to be commit 0d85815c992c6ca77ba64dfb2d7538be4684654d)
2001-12-05 10:14:22 +00:00
Andrew Tridgell
9421ad4a7a
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)
2001-12-05 09:46:53 +00:00
Andrew Tridgell
5d41807f4d
added timeouts and retries to ldap operations
...
(This used to be commit 4f004eb54d66b6f811cb2f4791da6c70d77f87c2)
2001-12-05 09:19:25 +00:00
Andrew Tridgell
addea9645d
moved the sequence number fetch into the backend, and fetch the
...
sequence number via ldap when using ads
(This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)
2001-12-05 07:52:44 +00:00
Andrew Tridgell
0799c44680
paranoia fixes in based ldap routines for potential memory leaks
...
(This used to be commit 13b933104e1389608e4831ca47dd8106ea0c60a5)
2001-12-05 07:35:57 +00:00
Andrew Tridgell
5f76385e70
more memory leak fixes
...
(This used to be commit eb6f0e91ddd2a97a907a569bc60beca99b494884)
2001-12-05 06:26:56 +00:00
Andrew Tridgell
19c0459153
added functions that convert a ads binary blob to a string (for
...
searching on SID)
(This used to be commit 31d6d049b30e364e062f108d6f9221bbdc2ebec5)
2001-12-05 04:44:34 +00:00
Andrew Tridgell
3ec4a4def3
added ads_search_dn() and ads_pull_sids()
...
(This used to be commit bc83d55f4400cdcdfed44622954f11580b6d2f87)
2001-12-04 12:08:16 +00:00
Andrew Tridgell
2285b99cb1
added a basic ADS backend to winbind. More work needed, but at
...
least basic operations work
(This used to be commit 88241cab983b2c7db7d477c6c4654694a7a56cd3)
2001-12-03 06:04:18 +00:00
Andrew Tridgell
3a921f37b7
ads->realm must not be NULL
...
perhaps we should just fail ads_init() in this case?
(This used to be commit 2a4ce3de6ae8fb833370d1f9d6e5e7193fafa979)
2001-11-29 08:22:45 +00:00
Andrew Tridgell
090acb27c3
define LDAP_PORT when not available
...
(This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64)
2001-11-29 06:38:54 +00:00
Andrew Bartlett
fe64484824
Make better use of the ads_init() function to get the kerberos relam etc.
...
This allows us to use automagically obtained values in future, and the value
from krb5.conf now.
Also fix mem leaks etc.
Andrew Bartlett
(This used to be commit 8f9ce717819235d98a1463f20ac659cb4b4ebbd2)
2001-11-29 06:21:56 +00:00
Andrew Tridgell
f6b962fba3
fixed some krb5 ifdefs
...
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)
2001-11-28 23:54:07 +00:00
Herb Lewis
3a193f1597
add .po32 files to ignore list
...
(This used to be commit 5f625f2877fc5132be3030fc6ea9df4d59ecff05)
2001-11-28 19:49:43 +00:00
Andrew Tridgell
eec9e8a052
fix a bunch of places where we can double-free a cli structure
...
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-28 03:56:30 +00:00
Andrew Tridgell
cb697dd72a
added "net ads user" and "net ads group" commands
...
(This used to be commit f482583139eedb75a23c7a720dca4e8fb7070fd5)
2001-11-25 01:31:07 +00:00
Andrew Tridgell
3906f9dff6
added "net ads status" command
...
(This used to be commit ae0eabd04c97320c2cf3c4575263c53cf61d03ea)
2001-11-25 01:06:56 +00:00
Andrew Tridgell
f2e969268d
better auto-selection of realm and ldap server
...
(This used to be commit 69d256af4612f5c1277202eb8a7ef37eb6bb55f4)
2001-11-25 00:08:48 +00:00
Andrew Tridgell
ad2974cd05
added "net join" command
...
this completes the first stage of the smbd ADS support
(This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
2001-11-24 14:16:41 +00:00
Tim Potter
2025ef4c18
Ignore *.po files.
...
(This used to be commit 5d343b40650464ae70037fd6e3fd96a9865fa611)
2001-11-23 00:08:12 +00:00
Andrew Tridgell
6464bb0ae5
added the beginnings of ADS support in smbd
...
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
2001-11-20 08:54:15 +00:00