summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-10-03Added ASCII art to make this clearer.Jeremy Allison1-1/+73
Jeremy. (This used to be commit 31c0dd7e213509c3bed1061f140f2ea9c6e95a9d)
2002-10-03Write cache bugfix from Rasmus Borup Hansen, system adm. Email: ↵Jeremy Allison1-0/+13
rbh@math.ku.dk Jeremy. (This used to be commit d40a14dbb0ec233f7a2190df1845b039072c4b84)
2002-10-03make the default printed values for boolean the same for all parameters.Herb Lewis1-2/+2
(This used to be commit 5f1dff89be5dca013baed062e631144bacb2067b)
2002-10-03Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 upJeremy Allison1-2/+2
to date :-). Jeremy. (This used to be commit 5959f35db6b4b23c591799dad7587e6616e5a998)
2002-10-02Missing break meant getprintprocessordirectory always returned UNKNOWN_LEVEL.Jeremy Allison1-0/+1
Jeremy. (This used to be commit a9a959b85d110c4a6b9ac8988d35aee9a4d6b9f1)
2002-10-02Added const. Anal formatting fixup.Jeremy Allison1-175/+222
Jeremy. (This used to be commit 66531969dfe0935be2c9c4d89f5bba80d862a52f)
2002-10-01Doh ! Lookup name before checking negative cache (the way Tim originallyJeremy Allison1-10/+10
had it...). Jeremy. (This used to be commit 151f0c1c526a04ea14ae054e977c76c8617bb113)
2002-10-01syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter19-311/+291
(i ignored the new SAMBA stuff, but the rest of this looks like it should have been merged already). (This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
2002-10-01Updates from Samba HEAD:Andrew Bartlett15-873/+970
- Fix segfaults in the 'net ads' commands when no password is provided - Readd --with-ldapsam for 2.2 compatability. This conditionally compiles the old options, but the actual code is available on all ldap systems. - Fix shadow passwords (as per work with vl) - Fix sending plaintext passwords to unicode servers (again vl) - Add a bit of const to secrets.c functions - Fix some spelling and grammer by vance. - Document the -r option in smbgroupedit. There are more changes in HEAD, I'm only merging the changes I've been involved with. Andrew Bartlett (This used to be commit 83973c389355a5cc9ca74af467dfd8b5dabd2c8f)
2002-10-01Cope with rw errors and timeout to peer.Jeremy Allison4-8/+31
Jeremy. (This used to be commit d8d351eb01ea7c84828dbc96224d7b13d643b558)
2002-10-01Fix Solaris sendfile detection. Add small fixes to sendfile code.Jeremy Allison3-46/+53
Jeremy. (This used to be commit 7ba5636897ea57669c62d22bb399bcfe5e3a9907)
2002-10-01Tidy up client error processing.Jeremy Allison1-16/+15
Jeremy. (This used to be commit aea64f1c300b1ec5ec1c5d637f456f025ec12821)
2002-10-01Added error string for server timeout on client call.Jeremy Allison3-0/+11
Jeremy. (This used to be commit 28d2eb934318818a3b0527e391987ea139dbf4a3)
2002-10-01This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User3-0/+268
used to be commit eb5ce70e2f0e3ebf6bab168108b410174e42818b)
2002-09-30Fix memory leak in getting DC list. Remember to exclude failed lookups.Jeremy Allison1-5/+21
Jeremy. (This used to be commit 80ee515d7a45965271be0274b0b3815032f27aa1)
2002-09-30Fix memory leak in getting DC list. Remember to exclude failed lookups.Jeremy Allison1-5/+21
Jeremy. (This used to be commit c4fcbb2948beb3b6594d53a7ffdc8b94fd0d94e0)
2002-09-30Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison5-17/+300
<belanger@yahoo.com>. Jeremy. (This used to be commit 9c17faefa5cb0ed450578ae5bbcca44e3058bc9b)
2002-09-30Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison5-17/+300
<belanger@yahoo.com>. Jeremy. (This used to be commit 8db4d46dc983ce37814fb375d61951b6220a4c61)
2002-09-30logic error in checking wins servers--merged from HEADGerald Carter1-2/+2
(This used to be commit a1c4a16267653375fbbc73de9234ddadbe92a396)
2002-09-30fix logic error in testparm with wins serversGerald Carter1-2/+2
(This used to be commit b9942092cf3d0a9fbf94b51b576836a86059551b)
2002-09-30Second part of my fix -- incorrect merge.Volker Lendecke1-1/+1
(This used to be commit 2613d3a48a8d60c3db38406a1abd943dbe0b7d09)
2002-09-30Don't zero out numwritten before using.... Found by Pierre Belanger ↵Jeremy Allison1-2/+2
belanger@pobox.com Jeremy. (This used to be commit 495e6e3287152a7ec218a38b3133f7ae16d5a8d1)
2002-09-30Don't zero out numwritten before using.... Found by Pierre Belanger ↵Jeremy Allison1-2/+2
belanger@pobox.com Jeremy. (This used to be commit a7009ad5c8aaae350b2521b8c0cd2538e561618a)
2002-09-30Fix the compile issue in bin/samtest, and make the 'system' token just have theAndrew Bartlett2-7/+4
System sid. This avoids comparing with ACEs that we don't yet support in the ADS Domain security descriptor. (This used to be commit ace7738e123b28f69c290f9f1de50011d230e14b)
2002-09-29Some more work on vampire.Volker Lendecke1-26/+18
Volker (This used to be commit f68825e93371e3d3403167f608d1da0d7ada1a04)
2002-09-29We have to hand out info on Builtin here as well. They are stored inVolker Lendecke1-1/+1
group mapping not as local, but as WKN_GRP. Volker (This used to be commit cb05dcab2de117ea4db54af313a05905cd5a0d0a)
2002-09-29Make sure that variable does not shadow a parameter.Richard Sharpe1-6/+6
(This used to be commit d83cae2bbd1625aeb3b7c73ba8dde2d1371e7f89)
2002-09-29Remove sam/api.c.Andrew Bartlett7-833/+588
In order to reduce complexity, this patch removes the upper layer of the SAM API. Also, we remove the function pointers on the sam context - there really is no point making these replaceable - that's for the modules. Move a number of functions in include/interface.c around to allow for use of 'static' and to keep the external API in one chunk, at the bottem. All these functions were renamed to remove the context_sam -> sam Consequential changes in the samtest module, and back out metze's change for ACB filtering, becouse I think it belongs in the SAM backeds. (But I will take debate on this one). Changes to the lib/util_sid.c code to create a 'system' token, and make it a SAM_ASSERT() enforced requirement to have a token on those calls that specify it. samtest now uses this. We should have a samtest call to set your own token. We also need to extend our se_access code to cover the things that Win2k is returning in it's access tokens. Currently our system token doesn't pass, due to unexpected flags. (When running sam_ads against Win2k) Andrew Bartlett (This used to be commit b9036900d0bb227ec16c6a5792c18ef943dcf015)
2002-09-29Updates for sam_ads by metze - add the start of domain policy searching, and aAndrew Bartlett1-25/+150
small fix for the previous merge. Andrew Bartlett (This used to be commit 85122800fce7a6f9eeee0651f6d9eb9218e35bb6)
2002-09-28Fix 'plugin' commandJelmer Vernooij1-2/+2
(This used to be commit b01c55ed5bbf4903a87fd17d70ae9acd832d60fe)
2002-09-28Fix typos + report FIXMEJelmer Vernooij1-5/+5
(This used to be commit 470a1316324821984745bcf7321bafd8d0fd0a77)
2002-09-28Change libsmbclient.h -> ../include/libsmbclient.h in 3.0 as wellJelmer Vernooij2-2/+2
(This used to be commit 5b451ce6f096d699a80c10f48bde5ee224e29ccf)
2002-09-28Patch from metze to fix enum_accountsJelmer Vernooij1-13/+56
(This used to be commit 9d529256c55e5a5099f69471ed1357cff06003fe)
2002-09-28Fixing path to libsmbclient.h so it never gets crossed with a system ↵John Terpstra2-2/+2
installed one. (This used to be commit cc878f43b9a91385ca3671f17a08253b8464c039)
2002-09-28Include ../include/libsmbclient.h instead of just libsmbclient.h - we don't ↵Jelmer Vernooij1-1/+1
want to include the globally installed libsmbclient.h - found by jht (This used to be commit e35a5da3a75c74ab066bff5e0f60d30deb008451)
2002-09-28Include ../include/libsmbclient.h instead of just libsmbclient.h - we don't ↵Jelmer Vernooij1-1/+1
want to include the globally installed libsmbclient.h - found by jht (This used to be commit a7a54fc2c8b26c92ab0e3499531919debca3fe64)
2002-09-28Ok, hopefully final fix for this one. abartlet told a bit about theVolker Lendecke1-7/+1
history. Volker (This used to be commit d47aff38db23815a48e64718ecb6c957101ecdac)
2002-09-28Try to compile as much as possible with only ldap, but not kerberos.Andrew Bartlett4-36/+35
(This used to be commit 9615ab10c006d8027f6a8b7dd3770eb77304dbdc)
2002-09-28Forgot to commit this in the patch changing back the create_user API.Andrew Bartlett1-2/+2
(This used to be commit cf249f5b222312bb05fb8ab53413d160149f7477)
2002-09-28Back out one of the API changes, now I recall how it was meant to work.Andrew Bartlett4-6/+258
(New accounts are created on thier internal talloc context, not a supplied one and not the one beloning to the SAM) Also actaully add the sam_skel to the tree. I need to work out with Jelmer an appropriate way to ensure we still have an example external build, and if this should move back out again. Andrew Bartlett (This used to be commit dc8b0d23e088d1e7f7fbc6ab0423eaa82f14e258)
2002-09-28Second stab at Volker's 'make shadow passwords work' patch.Andrew Bartlett1-4/+4
Basicly, the password and the salt must be taken from the same place in both passwd and shadow based systems. Taking salt from one, and password from the other just doesn't work. So pull them from passwd, then overwrite them if need be. When modifying this file, watch the #ifdef hell - as vl found out, some variables are globals - but only with #ifndef WITH_PAM, and the code jumps all over the place with the password cracker. Getting double-reviews of any change to this file highly advised, it is one of our most system-specifc areas of code. (So now I get to take the blame for this one... :-) Andrew Bartlett (This used to be commit f39f167900db3f06ec3c52c3ddf61e8bf3d57f56)
2002-09-28Add the beginings of sam_ads to the tree.Andrew Bartlett11-32/+1161
This module, primarilly the work of "Stefan (metze) Metzmacher" <metze@metzemix.de>, uses the Active Directory schema to store the user/group/other information. I've been testing it against a real AD server, and it is intended to work with OpenLDAP as well. I've moved a few functions around in our other libads code, which has made it easier to tap into that existing code. Also, I've made some changes to the SAM interface, I hope there are not too many objections... To ensure we don't get silly bugs in the skel module, it is now in the default compile. This way you should not forget to update it :-) Andrew Bartlett (This used to be commit 24fb0cde2f0b657df1c99474cd694438c94a566e)
2002-09-28Thanks to abartlet I looked at that function a bit closer. What didVolker Lendecke1-5/+0
the first cli_push_string do? I suspect that it's a leftover from times when the password length was needed at some point. Volker (This used to be commit df906c156aea46524dedc28ee54f4e87711c7160)
2002-09-28Add const.Andrew Bartlett2-2/+2
(This used to be commit f7dd66e88dba947a167d9a14c96810854dfc5c9d)
2002-09-28Commit a fix to smbclient so that it will connect to EMCs and NetApp's machines.Richard Sharpe1-3/+18
(This used to be commit 1e4ac9615d26bfbf90e3a45f088564f448f689ce)
2002-09-28This needs to be #ifdef HAVE_LDAP.Andrew Bartlett1-0/+3
(This used to be commit 2b54a2fc2c85ea139e2acdbbc2f14b969c0c6315)
2002-09-28Add const.Andrew Bartlett1-4/+4
(This used to be commit 0f5d18626bebaa0621ee703ea2cc8bf47e14ea3e)
2002-09-27Back our volker's patch as was breaking the build.Andrew Bartlett1-7/+2
Volker, I would like to understand what you are trying to do here... I'll trust that it's broken (this code is certainly not well tested) but I do want to keep a close eye on the fixes... Andrew Bartlett (This used to be commit 4b72f84cf9bc3f7583318d5dff97257f9dc5b87f)
2002-09-27It turns out that Windows allows delete printer on a handleJeremy Allison1-0/+14
opened by an admin user, then used on a pipe handle created by an anonymous user..... but they're working on security.... riiight ! Jeremy. (This used to be commit 322d8b4c83439261cfd2ff79b557bddb1e784660)
2002-09-27It turns out that Windows allows delete printer on a handleJeremy Allison1-0/+14
opened by an admin user, then used on a pipe handle created by an anonymous user..... but they're working on security.... riiight ! Jeremy. (This used to be commit e96e6a60b82b71714120ce7636fa8402007d4b03)