summaryrefslogtreecommitdiff
path: root/source3/libads
AgeCommit message (Collapse)AuthorFilesLines
2002-02-02Update for function name changes, plus do some of the optional attributes on ↵Jim McDonough1-6/+17
printer modify, now that the ldap control is working. (This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)
2002-02-02merge in some changes from Alexey Kotovich. Return ADS_STATUS instead of ↵Jim McDonough1-33/+88
BOOLs. Add support for bervals in mod lists. Also put undocumented AD ldap control in to allow modifications when an attribute does not yet exist. (This used to be commit 1a2d27b21e61be5a314f7d6c4ea0dff06a5307be)
2002-02-02Minor bug fixes, plus support to remove a printer. Commented out optional ↵Jim McDonough2-16/+91
attributes until a method for checking for their existence is done. (This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)
2002-02-01Fix build errors on non-ldap systems...change function parms from LDAPMod ** ↵Jim McDonough2-25/+28
to void ** (This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)
2002-02-01Fix file header description and copyright (from cut-and-paste laziness)Jim McDonough1-3/+1
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)
2002-02-01Module for ADS operations on a printer object in the directory. Initially ↵Jim McDonough1-0/+133
it creates and modifies a printQueue object in the directory (This used to be commit b14e638aeb80bad80cfd12ed60f5e77f24addfd5)
2002-02-01Add functions for modifying an entry in ADS. Needed for printer publishing.Jim McDonough1-1/+118
(This used to be commit 3d8d8cef64c674f9f1240759a05766db95bfde4e)
2002-01-30Removed version number from file header.Tim Potter7-14/+7
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-25Enable net ads commands to use existing tickets if the user doesn't specify ↵Jim McDonough1-1/+3
a username on the commandline. Also don't continue past the kinit if a password is entered and fails because existing tickets would be used, which may not be desired if the username was specified. (This used to be commit 7e5d7dfa834c0161460bde8a2f0d4824c0a0d1fe)
2002-01-16much better support for organisational units in ADS joinAndrew Tridgell2-12/+46
(This used to be commit 7e876057d5e392f85e6fdb0f2c233b0fe76df688)
2002-01-14Move local variable to avoid warning when compiled without GSSAPI.Martin Pool1-1/+2
(This used to be commit 312c6d906e64d231ff3c2f37e61d752cc948ee7b)
2002-01-11Fix up 'net ads join' to delete and rejoin if the account already exists.Andrew Bartlett1-2/+7
This fixes up a problem where a machine would join (or downgrade by trust password change) to NT4 membership and not be able to regain full ADS membership until a 'net ads leave'. Andrew Bartlett (This used to be commit ab8ff85f03b25a0dfe4ab63886a10da81207393c)
2002-01-03added nTSecurityDescriptor field to host acct dumpAndrew Tridgell1-1/+3
(This used to be commit f383e19e095eab975bf3d4e622a5c1d1f823171b)
2002-01-01Fix up C99 comment.Andrew Bartlett1-1/+1
// -> /* */ (This used to be commit a308abbab717df56b982adf1717da96603d2045f)
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell1-0/+2
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-31Allow this to build without LDAP, as per the example below it.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit f60e4450018fc06c9f8ce18e62c29fd968d55daa)
2001-12-30Fix the compile on systems without a full kerberos kit.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett2-59/+91
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-20added ads_domain_sid() functionAndrew Tridgell1-0/+18
(This used to be commit ff002a458afa6ca378f0c6d2ec9fb74233c839a7)
2001-12-20forgot to commit this file from remusAndrew Tridgell1-0/+59
(This used to be commit 7984ae0121ba327309ca5c52674e03fc1ad7e923)
2001-12-20net ads password and net ads chostpass commands from Remus KoosAndrew Tridgell3-23/+147
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)
2001-12-19much better ADS error handling systemAndrew Tridgell4-162/+196
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)
2001-12-19we only have gss_ fns on a krb5 capable boxAndrew Tridgell1-3/+6
(This used to be commit 344b786efe00f72ed81f0eeb4d422c655d866557)
2001-12-19- added initial support for trusted domains in winbindd_adsAndrew Tridgell3-25/+131
- 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-17allow selection of the organisational unit when joining a realmAndrew Tridgell1-4/+4
(This used to be commit f1231c2b54cac9d4fda7fa9d45fd329f1fd7b779)
2001-12-13better error handlingAndrew Tridgell1-2/+7
(This used to be commit ed6279481bfcb21212e9c22009969c19ea4f1646)
2001-12-13try the PDC for our workgroup if we can't find the ldap serverAndrew Tridgell1-3/+8
(This used to be commit fc9fd2ca19899e757a6d3ccbba3d4a10f27d7a3f)
2001-12-11allow overriding the local time in kerberos_kinit_password()Andrew Tridgell1-2/+8
(This used to be commit cb9dbcef7cba9eb42f7b30b81c35142dc945d84f)
2001-12-10moved ccache location change into winbindd codeAndrew Tridgell1-8/+0
(This used to be commit be254eb13c4bf316823ed43db3ef9407f45ca23b)
2001-12-10make sid_binstring available without HAVE_ADSAndrew Tridgell1-39/+0
(This used to be commit 4a6d29768665f71b72cf48ee34ee9a9c451232f6)
2001-12-09fixed used of string after freeAndrew Tridgell1-1/+1
(This used to be commit f7ead035ebe55e94cdd5807b173bd4612866b06f)
2001-12-08fix a DEBUG() lineAndrew Tridgell1-2/+3
(This used to be commit 18da530293b11d895c62d08895ee1f77d8f97a12)
2001-12-08added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell4-118/+279
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-06put the winbindd krb5 credentials cache in the lock directoryAndrew Tridgell1-0/+4
this prevents it clobbering the users cache (This used to be commit 3de552f365373de85298dbe911143e036805f9ea)
2001-12-06added a propoer kerberos_kinit_password callAndrew Tridgell2-12/+66
contribution from remus@snapserver.com thanks! (This used to be commit 3ace8f1fcc27492d26f5ad0c3cdfc63235ca0609)
2001-12-05fixed a minor password memory leakAndrew Tridgell1-0/+1
(This used to be commit 5985d7e6eec1eb80d8d7470ee2ceda8981c7410c)
2001-12-05fix link errorAndrew Tridgell1-0/+2
(This used to be commit 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5)
2001-12-05handle ldap server down betterAndrew Tridgell1-1/+3
(This used to be commit 0d85815c992c6ca77ba64dfb2d7538be4684654d)
2001-12-05added a REALLY gross hack into kerberos_kinit_password so thatAndrew Tridgell3-1/+29
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-05added timeouts and retries to ldap operationsAndrew Tridgell1-9/+53
(This used to be commit 4f004eb54d66b6f811cb2f4791da6c70d77f87c2)
2001-12-05moved the sequence number fetch into the backend, and fetch theAndrew Tridgell1-1/+1
sequence number via ldap when using ads (This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)
2001-12-05paranoia fixes in based ldap routines for potential memory leaksAndrew Tridgell1-10/+16
(This used to be commit 13b933104e1389608e4831ca47dd8106ea0c60a5)
2001-12-05more memory leak fixesAndrew Tridgell2-4/+12
(This used to be commit eb6f0e91ddd2a97a907a569bc60beca99b494884)
2001-12-05added functions that convert a ads binary blob to a string (forAndrew Tridgell1-0/+39
searching on SID) (This used to be commit 31d6d049b30e364e062f108d6f9221bbdc2ebec5)
2001-12-04added ads_search_dn() and ads_pull_sids()Andrew Tridgell1-1/+42
(This used to be commit bc83d55f4400cdcdfed44622954f11580b6d2f87)
2001-12-03added a basic ADS backend to winbind. More work needed, but atAndrew Tridgell1-8/+80
least basic operations work (This used to be commit 88241cab983b2c7db7d477c6c4654694a7a56cd3)
2001-11-29ads->realm must not be NULLAndrew Tridgell1-0/+3
perhaps we should just fail ads_init() in this case? (This used to be commit 2a4ce3de6ae8fb833370d1f9d6e5e7193fafa979)
2001-11-29define LDAP_PORT when not availableAndrew Tridgell1-0/+3
(This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64)
2001-11-29Make better use of the ads_init() function to get the kerberos relam etc.Andrew Bartlett3-104/+186
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-28fixed some krb5 ifdefsAndrew Tridgell1-1/+1
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)