summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add popt build dependencyAndrew Tridgell2001-11-251-1/+1
| | | | (This used to be commit 0c1f90402bf6aa403719cef59afd127ae42b0865)
* move popt out of proto objsAndrew Tridgell2001-11-251-2/+2
| | | | (This used to be commit db0bee1c68d8d9af3febb841c86cd3d4ade87c7b)
* added HAVE_LDAP_H checkAndrew Tridgell2001-11-251-2/+2
| | | | (This used to be commit a1304be045d9cfd7bb793bb55ff49e158440a90e)
* check for liblber separatelyAndrew Tridgell2001-11-253-74/+116
| | | | (This used to be commit d7216424d94ee89e1760596c8f87d1883f369771)
* #ifdefed DMF fix so not compiled by default. We need to look at this...Jeremy Allison2001-11-251-22/+39
| | | | | Jeremy. (This used to be commit 97dca242a91c68048e510f42be53421b533183be)
* Use "password server" for searching for BDC's also as Tim suggested.Jeremy Allison2001-11-251-6/+8
| | | | | Jeremy. (This used to be commit 4aca67761fbe601e27f8f768c28a11241f088bba)
* Add the PDC end of the smbtorture test for creating an NT_STATUS -> DOS errorAndrew Bartlett2001-11-254-0/+72
| | | | | | | | | | | | | | | | | map. This little authentication module is #ifdef DEVELOPER, becouse it really is of no use execept as a development tool invoke by setting: auth methods = guest sam name_to_ntstatus in the smb.conf file (the SAM and guest elements are required for the member server to authenticate itself). Andrew Bartlett (This used to be commit 9807e66f34c1088399657060977e384c5a7f0664)
* oops, I forgot to include the header fileAndrew Bartlett2001-11-251-0/+2
| | | | (This used to be commit c28956d8601c103c3f8dab4253de80e6a00a02d7)
* Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett2001-11-255-5/+148
| | | | | | | | | | samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett (This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
* Unless the error is exactly NT_STATUS_OK, we might not have a server info, soAndrew Bartlett2001-11-251-1/+1
| | | | | we need to bail here. (This used to be commit ea0331354e5968aa0a25c0b12379a56c72d7946b)
* I think this is a fix for the "out of space" errors with oplocks=no.Jeremy Allison2001-11-251-49/+58
| | | | | Jeremy. (This used to be commit 84b62d3c8ebd78cd578ac36168631b3bbcafdd8c)
* Fix ./configure --enable-developer warnings (shadow of global)Andrew Bartlett2001-11-251-2/+2
| | | | (This used to be commit 3f1cfb62e85343a45817651f111f01051fc66b18)
* better helpAndrew Tridgell2001-11-251-1/+7
| | | | (This used to be commit b390d6eef95ee6094eb193006bc2f23c40291026)
* use generate_random_str()Andrew Tridgell2001-11-251-47/+4
| | | | (This used to be commit 720c50a7514febdd7cfd6ce40b7b5a0c5cc0abf8)
* added "net ads user" and "net ads group" commandsAndrew Tridgell2001-11-252-29/+80
| | | | (This used to be commit f482583139eedb75a23c7a720dca4e8fb7070fd5)
* added "net ads status" commandAndrew Tridgell2001-11-252-29/+115
| | | | (This used to be commit ae0eabd04c97320c2cf3c4575263c53cf61d03ea)
* made a "net ads" command, currently with "net ads join" and "net ads leave"Andrew Tridgell2001-11-253-5/+192
| | | | (This used to be commit 2f8fa175b189c2d11676245b01d3201c0a4f0826)
* stop popt from doing its own intl stuffAndrew Tridgell2001-11-251-16/+0
| | | | (This used to be commit 1a5ef2425747c2e0c7cf28fc7712563039086100)
* better auto-selection of realm and ldap serverAndrew Tridgell2001-11-251-3/+4
| | | | (This used to be commit 69d256af4612f5c1277202eb8a7ef37eb6bb55f4)
* added "net join" commandAndrew Tridgell2001-11-2419-251/+902
| | | | | this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
* removed unused functionAndrew Tridgell2001-11-241-18/+0
| | | | (This used to be commit ad7afbfdea600a62fa1550bd354996ad38807533)
* rewrote net.cAndrew Tridgell2001-11-241-1260/+1071
| | | | | | | | | | | The rewrite fixes a number of things: - much better command line parsing - fixed usage of static and const - better finding of hosts - clean internal separation of sub-functions - expandable design (This used to be commit 0f88d9c50e419504b9ceca5eadbe30ee04fa42dc)
* And add the winbind module I missed in the last run.Andrew Bartlett2001-11-242-0/+222
| | | | | | | (large change to modularise the auth subsystem) Andrew Bartlett (This used to be commit 324c4676280641fee0647221dba1e826e03ba9ab)
* This is another rather major change to the samba authenticaionAndrew Bartlett2001-11-2433-743/+1842
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subystem. The particular aim is to modularized the interface - so that we can have arbitrary password back-ends. This code adds one such back-end, a 'winbind' module to authenticate against the winbind_auth_crap functionality. While fully-functional this code is mainly useful as a demonstration, because we don't get back the info3 as we would for direct ntdomain authentication. This commit introduced the new 'auth methods' parameter, in the spirit of the 'auth order' discussed on the lists. It is renamed because not all the methods may be consulted, even if previous methods fail - they may not have a suitable challenge for example. Also, we have a 'local' authentication method, for old-style 'unix if plaintext, sam if encrypted' authentication and a 'guest' module to handle guest logins in a single place. While this current design is not ideal, I feel that it does provide a better infrastructure than the current design, and can be built upon. The following parameters have changed: - use rhosts = This has been replaced by the 'rhosts' authentication method, and can be specified like 'auth methods = guest rhosts' - hosts equiv = This needs both this parameter and an 'auth methods' entry to be effective. (auth methods = guest hostsequiv ....) - plaintext to smbpasswd = This is replaced by specifying 'sam' rather than 'local' in the auth methods. The security = parameter is unchanged, and now provides defaults for the 'auth methods' parameter. The available auth methods are: guest rhosts hostsequiv sam (passdb direct hash access) unix (PAM, crypt() etc) local (the combination of the above, based on encryption) smbserver (old security=server) ntdomain (old security=domain) winbind (use winbind to cache DC connections) Assistance in testing, or the production of new and interesting authentication modules is always appreciated. Andrew Bartlett (This used to be commit 8d31eae52a9757739711dbb82035a4dfe6b40c99)
* Kill off that crazy copy_sam_passwd(). You simply can't do that if theAndrew Bartlett2001-11-242-36/+11
| | | | | | | | | | | structre contains pointers (well not if you intend of free those pointers at some stage) There is no reason (given the new passdb interface) that you can't modify a SAM_ACCOUNT in any case. Andrew Bartlett (This used to be commit e8e73f7f0fcd86c8c2bfe3fc0b44ea2fd6570cc5)
* added lsaenumprivsaccount and lsalookupprivvalue to rpcclientJean-François Micouleau2001-11-245-8/+370
| | | | | | | and more to come ... J.F. (This used to be commit 1748d5a2af1f2dcf718d6f162ed483b001542494)
* Sorry. I broke the build, missed on open_directory call.Jeremy Allison2001-11-231-2/+2
| | | | | Jeremy. (This used to be commit fe288b14cc7f2bc6b8427438da672e7dd7812027)
* return NO_MORE_ENTRIES in lsa_enum_trust_dom. UserManager is happier :-)Jean-François Micouleau2001-11-231-1/+1
| | | | | J.F. (This used to be commit 75ee50bbef531a1487c1f8b76b8e70627fbdbdf1)
* Changed how the privileges are stored in the group mapping code. It's nowJean-François Micouleau2001-11-238-95/+266
| | | | | | | | | | | | | | | | | | | | | an array of uint32. That's not perfect but that's better. Added more privileges too. Changed the local_lookup_rid/name functions in passdb.c to check if the group is mapped. Makes the LSA rpc calls return correct groups Corrected the return code in the LSA server code enum_sids. Only enumerate well known aliases if they are mapped to real unix groups. Won't confuse user seeing groups not available. Added a short/long view to smbgroupedit. now decoding rpc calls to add/remove privileges to sid. J.F. (This used to be commit f29774e58973f421bfa163c45bfae201a140f28c)
* Fixed delete on close bug. Added core dump code to winbindd.Jeremy Allison2001-11-235-83/+184
| | | | | Jeremy. (This used to be commit a58d0f91f9ee7354c01a9c20cfe178d5dc02142d)
* Set type to NOTUSED if lookup fail.Jeremy Allison2001-11-231-0/+1
| | | | | Jeremy. (This used to be commit 20a4167599ce211f239d0f324e7e73a1c2d8a5a6)
* Update some of the error mapping, based on on-the-wire observations of an ↵Andrew Bartlett2001-11-231-7/+7
| | | | | | | | | | NT4 server. This lets our Win9X clients give sane error messages when you get passwords wrong and the like. Andrew Bartlett (This used to be commit f199e9518226ed57a011113bdf06c85265e49674)
* Finally worked out why a enumerate trusted domains was returning aTim Potter2001-11-233-12/+35
| | | | | | | | | | | NT_STATUS_UNABLE_TO_FREE_VM error. This error code was mis-defined as 0x8000001a instead of 0xc000001a. The former is actually a NT_STATUS_NO_MORE_ENTRIES warning which is what we see in the status code. Removed the & 0xffffff from the loop in get_nt_error_msg() as all the error constants now have the correct high bits set. (This used to be commit 80dca2c9e46753d87e673d712c96c76ffde0b276)
* Added constants and error message for dos error code 1326 (logon failure).Tim Potter2001-11-233-1/+14
| | | | (This used to be commit 6ce1eec09de64f19d969a67fc236abd4ae277926)
* Reference about SIDs from tpot.Martin Pool2001-11-231-7/+13
| | | | (This used to be commit 53963eae7d5930246c6c0c0b947f425d50d382c3)
* More better now.Martin Pool2001-11-231-4/+4
| | | | (This used to be commit a875b3a6e7a9501a31fe15fb9b04394a95484e77)
* Got rid of that stupid parse_domain_user() warning when compilingTim Potter2001-11-231-22/+0
| | | | | winbindd. (This used to be commit 72060a6f5af505d597f372d550d7f3fe559e5550)
* Quieten gcc const warning.Martin Pool2001-11-231-17/+21
| | | | | doxyfy. (This used to be commit 6ddd8e7bf69d8aee4148cbcf72de55c903d5f0a1)
* Finish 1.45 by removing redundant sid->string conversion inMartin Pool2001-11-231-14/+44
| | | | | | | | | winbindd_lookup_sid_by_name. Also if the lookup fails then clobber the output parameters rather than leaving them looking potentially valid. Add doxygen. (This used to be commit 61dba52a549039255e46393be1618d3eb54b79dd)
* I think you were passing the name of the SID, rather than the DOM_SIDMartin Pool2001-11-231-1/+1
| | | | | pointer itself. (Whatever that is.... ;-) (This used to be commit 1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f)
* Fixed bug in canned results list for checking the error code of wbinfo.Tim Potter2001-11-231-14/+14
| | | | | Made test names more verbose. (This used to be commit 87955fcf303d82d38ae543e7986c59fd086dc2db)
* Don't initialise static pointers to NULL.Tim Potter2001-11-231-1/+1
| | | | (This used to be commit 039ea0a0b94be2d70164616f448c0e29fed071cf)
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-2327-60/+26
| | | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
* Fixed check machine account function.Tim Potter2001-11-234-74/+63
| | | | (This used to be commit 8f01a8b07883d18f44da665cbc8e5fba04d3bc91)
* Ignore *.po files.Tim Potter2001-11-231-0/+1
| | | | (This used to be commit 5d343b40650464ae70037fd6e3fd96a9865fa611)
* Rename $pwd to $test_root to avoid future confusion.Martin Pool2001-11-221-4/+3
| | | | (This used to be commit fa7367a9731bc139ff4611f2781f3ca9bc7f89a7)
* added lsa_enum_sids to rpcclientJean-François Micouleau2001-11-226-17/+164
| | | | | | | | fixed lsa_enum_rpivs server code. This time it works as W2K. fixed smbgroupedit to compile and work. J.F. (This used to be commit 646651018a2736833e49e76f6ca735a4647d9746)
* Removed unused variable.Tim Potter2001-11-221-1/+0
| | | | (This used to be commit d1dee2d0323fe6fc498e50201535b1718a88abaf)
* Oops - opening wrong pipe name in cli_lsa_initialise() helper function.Tim Potter2001-11-221-1/+1
| | | | (This used to be commit d2034bc5f7dc9b5b9d5e4f17ee8e468307dcb2d5)
* fixing enum_privs and get_dispname server code.Jean-François Micouleau2001-11-221-20/+20
| | | | | | | That works as expected now. J.F. (This used to be commit f2766932d693fc601b2c3e7853e61f751435ec3c)