1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

132 Commits

Author SHA1 Message Date
Jeremy Allison
ed94aa9d61 Fixes from John Trostel (modified somewhat by me) to ensure that all lookup_XX
functions correctly deal with the SID_NAME_TYPE. One fix for connection user
lookup in LSA.
Jeremy.
(This used to be commit 29730027d8118ec7d207c89d0fd7fb24ac173fde)
2001-10-09 20:54:56 +00:00
Simo Sorce
a42efb4971 fix some possible memleaks and not tested reallocs spotted by Andreas Moroder
(This used to be commit d30939a091b48f4d77f7618c75668ae151a5592e)
2001-10-03 21:10:29 +00:00
Tim Potter
dc1fc3ee8e Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-10-02 04:29:50 +00:00
Simo Sorce
87945989c0 move to SAFE_FREE()
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-17 10:26:23 +00:00
Andrew Tridgell
b031af348c converted another bunch of stuff to NTSTATUS
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27 19:46:22 +00:00
Andrew Tridgell
ee5f7237de started converting NTSTATUS to be a structure on systems with gcc in order to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
(This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27 17:52:23 +00:00
Jeremy Allison
659774bffd Fixed malloc -> talloc problems pointed out by Simo.
Jeremy
(This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)
2001-08-24 07:32:51 +00:00
Tim Potter
648528196c Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.
According to the incorruptible judges find and grep, the latter won.

Mmm - procrastination.  (-:
(This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-25 06:42:05 +00:00
Tim Potter
5f4a1aa3c3 Removed unused variable.
(This used to be commit 914e78f05356c66665ede6948ec18814c2c2c503)
2001-07-12 22:19:39 +00:00
Jean-François Micouleau
0a33cb45c1 implement:
LSA_ENUM_PRIVS
	LSA_PRIV_GET_DISPNAME
	LSA_ENUM_ACCOUNTS
	LSA_OPENACCOUNT
	LSA_ENUMPRIVSACCOUNT
	LSA_GETSYSTEMACCOUNT

It's a work in progress. nobody should expect it to work

	J.F.
(This used to be commit 3056357cd8d4b2460f73ba8a8931a143f07fa2a6)
2001-07-09 18:32:54 +00:00
Andrew Tridgell
87fbb7092b The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
(This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-04 07:15:53 +00:00
Jeremy Allison
8d0b9cf534 Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.
Jeremy.
(This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29 23:12:55 +00:00
Tim Potter
5d83242a9e Merge of lsa_lookup_names() i18n bugfix from appliance.
(This used to be commit 84a22d5f0a74f440a5288fedf07055ddc8da208e)
2001-06-05 01:26:06 +00:00
Tim Potter
94186f645d Merge of i18n domain name fix for lsa_query_info_policy() from appliance
branch.
(This used to be commit e7a4dd7612d79bb24be68c601eccc987aba6b497)
2001-06-02 06:14:42 +00:00
Jeremy Allison
ee8821f2f3 Fix for insure missmatched parameter error.
Jeremy.
(This used to be commit b32b1afe25bc8f7a9c43e0d5fd6703a76caa51f8)
2001-05-08 01:26:28 +00:00
Jeremy Allison
dea501bc5f Fix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy.
(This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)
2001-05-02 20:32:17 +00:00
Jeremy Allison
130f31f571 Finally got name & SID returns correct.
Jeremy.
(This used to be commit 2a5b513c4459782fa95756f1483235c186ba4a08)
2001-04-22 06:13:14 +00:00
Jeremy Allison
a626bb3a23 JF pointed out we were returning the wrong info for Domain member with info
levels 3 and 5. I *hate* LSAQueryInfoPolicy() :-).
Jeremy.
(This used to be commit 37581bdf1e1f24dabe67befdc27f54f516d3f08e)
2001-04-21 23:06:59 +00:00
Jeremy Allison
a8d396f25e Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone).
Jeremy.
(This used to be commit 0d6c7dedd261c15697a7781678fe6bed877b61f6)
2001-03-15 04:34:53 +00:00
Jeremy Allison
ae728ea761 Last tweak (I promise :-). Fallback to returning our SID if we're a domain
member but can't get the domain sid.
Jeremy.
(This used to be commit 45e96777d0eeafbbf40759f02cd3f5e15b12c288)
2001-03-15 03:19:01 +00:00
Jeremy Allison
eb9e2882d2 Final ! Fix.
Jeremy.
(This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd)
2001-03-15 03:08:22 +00:00
Jeremy Allison
f4b702cd5e Last attempt at fix...
Jeremy.
(This used to be commit f2680842d755aa77bc70e1c4329fd513c00fece6)
2001-03-15 03:03:48 +00:00
Jeremy Allison
41cb452b73 Return correct error message if we can't get the SID secret.
Jeremy.
(This used to be commit c202ebe3b6aa413fa7b00ec6d1b3f123f1e1a55b)
2001-03-15 02:49:06 +00:00
Jeremy Allison
3257008e0d Fixed a Dr. Watson when viewing permissions - we were missing the "standalone
server" case.
Jeremy.
(This used to be commit b318a754e7d8504072e8d968ee5fe581d105392f)
2001-03-15 02:01:58 +00:00
Jeremy Allison
4ab6182a0f AS/U on a sparc now joins and authenticates against a Samba PDC !
Jeremy.
(This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-15 00:49:13 +00:00
Jeremy Allison
0ef2179d23 Fixed reading of strings from big-endian RPC clients.
Jeremy.
(This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13 01:44:05 +00:00
Jeremy Allison
9b690629ee Ensure we return the correct names/sids on query info. AS/U showed us what
we should return here.
Jeremy.
(This used to be commit d22c6067032e167d4558f4954c58d87404de6d9d)
2001-03-13 00:31:53 +00:00
Jeremy Allison
da3053048c Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-11 00:32:10 +00:00
Jeremy Allison
393bede7db Sync up handle creation with 2.2 branch. We can now join AS/U domains and
authenticate against them. Big/little endian issues fixed.
Jeremy.
(This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-03-07 23:59:13 +00:00
Jeremy Allison
865e8a3910 Don't return stack structures...
Jeremy.
(This used to be commit 94b72c19fe435d31e14e69a3fc9808e75638726a)
2001-03-01 04:01:23 +00:00
Jeremy Allison
d757d61abf Separated lsa code into interface and implementation.
Jeremy.
(This used to be commit 1cc96e0340b9e3ac343d6a28211bf0cc5bc6573b)
2001-02-26 19:45:00 +00:00
Jeremy Allison
e1951d75fc Added implementation file for lsa.
Jeremy.
(This used to be commit 72e7c261e85b9cad19b93fb160168531290a5404)
2001-02-26 19:31:07 +00:00