summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix type for tag in proto fileHerb Lewis2004-03-101-1/+1
| | | | | | | | (This used to be commit cd1ed1a23b15002aab3387c6f6316f85574c11e8)
| * Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison2004-03-092-16/+10
| | | | | | | | | | | | dfs code. Jeremy. (This used to be commit 70670841028aaeb72267ac41ca30af8dba412998)
| * Yet another '\n' termination of debug message.Rafal Szczesniak2004-03-091-1/+1
| | | | | | | | | | rafal (This used to be commit 6c8e39b7ccc1ad8e7f39c2a51fa13423e5d6e227)
| * Forgot to put some more comments.Rafal Szczesniak2004-03-091-0/+34
| | | | | | | | | | rafal (This used to be commit b3efdcf0aeec5a115c53de8bbedaa9ca8225b689)
| * 1) Two new functions to trust passwords interface in passdb:Rafal Szczesniak2004-03-094-22/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | settrustpwent, gettrustpwnam 2) Implementation of another couple of these functions in tdbsam: settrustpwent, gettrustpwnam, gettrustpwsid 3) Testing (mostly for now) usage of the interface in pdbedit which is soon to be offline tool back again. This is quite a new code, so many changes will be put in soon. rafal (This used to be commit 2ed23fbce846f9710747d72aa98c20d54894d61e)
| * Fix to debug message lacking termination with '\n'.Rafal Szczesniak2004-03-091-14/+14
| | | | | | | | | | rafal (This used to be commit 6fdb20f5a7657556a3e4ceb4cab8c1d67e29ea21)
| * fix build with gcc 2.96 and --with-developerGerald Carter2004-03-091-1/+1
| | | | | | | | (This used to be commit 45b2efd60a3c3c9f01b1ccaa828904a70d70d67d)
| * Commit to HEAD the updates to smb signing code that I was propsing for 3.0.Andrew Bartlett2004-03-097-62/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code implements 'opportunistic signing' in our client (when the server supports it, we will use it), and correct downgrading on both the client and server for the 'enabled' (rather than required) signing level. This means that we can actually set 'server signing = yes' and not have the world fall apart. We had a number of bugs in that code, and it certainly looks like most of the testing was with the 'requried' setting. While the changes are reasonable, I'm putting this into HEAD rather than 3.0 for the timebeing. SMB signing, like NTLMSSP, tends to have gotchas in it :-) (I also need to give it a workout with more than smbclient before I move it across). Andrew Bartlett (This used to be commit 6bad895462cf076a7e917c909e2a461d1b360bf1)
| * Merge fixes and tests for jra's broken strstr_m() function from 3.0Andrew Bartlett2004-03-094-8/+102
| | | | | | | | | | | | | | STF rules! (Pity we don't use it for more stuff) Andrew Bartlett (This used to be commit a9363b45b0ef652a5fd621915fafb97ada0c7d5e)
| * Added strstr_m() function. Use in all places where we might run into mbJeremy Allison2004-03-096-12/+82
| | | | | | | | | | | | (should fix the mb service name problem, can't remember the bugid). Jeremy. (This used to be commit 93c2d50f1adbf257c0c0185b420a1d73d56be2f9)
| * Fix assumption about following directory sep in check_path_syntax(). WeJeremy Allison2004-03-081-5/+11
| | | | | | | | | | | | | | need to try and convert 1 byte, then 2 bytes if that fails. Fixes bug reported by Simo. Jeremy. (This used to be commit 0f84801ff3ed5acfcf8e0c4a825f90b9b4823da5)
| * Do some checks about data passed to this functionSimo Sorce2004-03-081-0/+3
| | | | | | | | (This used to be commit 77142a1ca6853fcae3b806830d077f6f84bebd6d)
| * 2 fixes to enhance readability of source code and debug messagesSimo Sorce2004-03-083-4/+6
| | | | | | | | | | 1 fix for a memleak (This used to be commit 9f3b0295fe7bd6c0c3a6061e5d00e7b88f702b21)
| * Get us a little closer to Windows LSA semantics.Volker Lendecke2004-03-071-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | A windows DC does not reply to DCNAME\\Administrator, only to DOMAIN\\Administrator. Fix that. Without winbind we are wrong as domain members, we should forward the request DOMAIN\\Username to the DC on behalf of the asking client. Winbind fixes that nicely. Volker (This used to be commit c39f698dde98de9b6be40a6c81e669dcd7696b3a)
| * This might not be used a lot and might not survive for long, but at least itVolker Lendecke2004-03-072-7/+11
| | | | | | | | | | | | | | | | | | should work as expected :-) Fix wb_delgrpmember. Volker (This used to be commit 2a2b4a159a973678b7279a8d91060c7c27aa22e8)
| * Fix typo.Tim Potter2004-03-071-1/+1
| | | | | | | | (This used to be commit 7798a52d82c46759635e90a7e48ddad4ce48b763)
| * Enclose use of fchown() with guards. Bugzilla #1155.Tim Potter2004-03-071-0/+4
| | | | | | | | (This used to be commit 92f6895dd11189ce966b8b5a3f9ace54f478a375)
| * tdbdump doesn't need to #include <sys/mman.h>Tim Potter2004-03-061-1/+0
| | | | | | | | | | Bugzilla #1154. (This used to be commit 311bbf41ec50d5caf4388cb4745173739744a049)
| * Several mb tidyups - getting ready to address the XXX_sub function.Jeremy Allison2004-03-054-108/+105
| | | | | | | | | | Jeremy. (This used to be commit 13edba472a0a5eb56586458a2432d53f495d0129)
| * BUG 488: fix the 'show client in col 1' button and corrctely enumerate ↵Gerald Carter2004-03-051-1/+1
| | | | | | | | | | | | active connections (This used to be commit f0e454f6eb3ed25c3210f288d48044b3eed9d129)
| * fix compiler warningGerald Carter2004-03-051-1/+1
| | | | | | | | (This used to be commit 7153cbf8cbb07d4e7a9dc9adc9e0a40c57a6e305)
| * Add -O (write downloaded files to stdout), based on patch fromJelmer Vernooij2004-03-051-65/+80
| | | | | | | | | | Bas van Sisseren <bas@dnd.utwente.nl> (This used to be commit a90df1c170a168092e0c90f684ea968bd1f6f768)
| * all_string_sub() is broken as it doesn't handle mb chars correctly (andJeremy Allison2004-03-052-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | so breaks when substitution '/' and '\'). It's used by unix_clean_name(), which is used by reduce_name, which is used by check_name() (phew!). Now that we know all filenames passed to check_name() are in a "good" format (no double slashes, all '\\' chars translated to '/' etc.) due to the new check_path_syntax() we can avoid calling reduce_name unless widelinks are denied. After this check-in I can fix all_string_sub() to handle mb chars correctly as it won't be in the direct path in the main path handling code. Jeremy. (This used to be commit bce0678331aa4746181389e0f91f11fb2a6dadcb)
| * Fix my breakage of NT pipes from the previous patch (sorry). Use theJeremy Allison2004-03-041-4/+1
| | | | | | | | | | | | original srvstr_pull_buf() function to get the pipename not srvstr_get_path(). Jeremy. (This used to be commit ac5e0c4bb686e2aaccc9b70f240f79747fd48cd8)
| * BUG 1015: patch from jmcd to fix statfs redeclaration of statfs struct on ppcGerald Carter2004-03-041-1/+3
| | | | | | | | (This used to be commit d9a9e214a8dd3b79284f4cff6052210b758bbf72)
| * BUG 1080: fix declaration of SMB_BIG_UINTGerald Carter2004-03-041-12/+12
| | | | | | | | (This used to be commit 0b17a4105ecbad26b6bb79ed8148495c02518430)
| * There's a specific error message NT_STATUS_ALIAS_EXISTS.Volker Lendecke2004-03-041-1/+1
| | | | | | | | (This used to be commit 0ad00bce0752373a1ac471f6629a5e64ee5af280)
| * Another typo, sorry for samba-cvs spam :-)Volker Lendecke2004-03-041-1/+1
| | | | | | | | (This used to be commit da59bab769dac3702dbddd6ad718f918befee6db)
| * Fix typo.Volker Lendecke2004-03-041-1/+1
| | | | | | | | | | Volker (This used to be commit 6287141f10e6c774990b4fdf65bfd2a55afca35a)
| * Fix build farm, older compilers won't let you declare variablesJim McDonough2004-03-041-1/+1
| | | | | | | | | | | | | | | | right in the middle of the code. I just love catching jra on stuff like this, after all the crap I've done. :-) (This used to be commit 217791cab21b79fdbe2ddb96079fb9abb8545dd7)
| * BUG 848: don't create winbind local users/groups that already exist in the tdbGerald Carter2004-03-041-3/+16
| | | | | | | | (This used to be commit 00c998c5030560d096d7f3c0f9d89ce18e2d006b)
| * another fix for bug 761; don't default to bsd printing on linuxGerald Carter2004-03-041-9/+0
| | | | | | | | (This used to be commit 29bc83080f47b2f945686e706f2cfef221ac3795)
| * Added client "hardlink" commant to test doing NT rename with hard links.Jeremy Allison2004-03-034-30/+136
| | | | | | | | | | | | Added hardlink_internals() code - UNIX extensions now use this too. Jeremy. (This used to be commit 3f2b9f10dec58d3e3ae463e3804d96052fb27a4d)
| * Use a common function to parse all pathnames from the wire. This allowsJeremy Allison2004-03-039-136/+383
| | | | | | | | | | | | much closer emulation of Win2k3 error return codes. Jeremy. (This used to be commit 883f89a0184e37bff4f5877a25d31b994996ab08)
| * more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2eJim McDonough2004-03-031-2/+2
| | | | | | | | (This used to be commit 95e7cfdb19bab4a5aac59e10afb3b1416e6079c5)
| * quick for for usrmgr. unknown_6 is really max dimension of logon hours ↵Jim McDonough2004-03-031-30/+12
| | | | | | | | | | | | array. need to update passdb for this. (This used to be commit 1d3079bf4c661939e291cca5e96157b5fa492340)
| * BUG 1129: patch from shiro@miraclelinux.com (Shiro Yamada) to install image ↵Gerald Carter2004-03-021-0/+16
| | | | | | | | | | | | files for SWAT (This used to be commit 42d8455a02fa89d37864d32c49d598ba9cdc1552)
| * fix typo for callback bitJim McDonough2004-03-021-1/+1
| | | | | | | | (This used to be commit c1b1a1961f19e2fba680d48e41d0b29cdfd6d39c)
| * Let's be polite with poorer backends ;-)Simo Sorce2004-03-021-1/+3
| | | | | | | | (This used to be commit 90640a523e9898157a361f3fbf5923b1ef2a6651)
| * This adds winbind-generated groups showing up in 'getent group'. It is notVolker Lendecke2004-03-023-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | very efficient though, it only does one group at a time. Needs improving, but the structures are not particularly easy to set up, so check in the basically working part for others to review. I'm close to saying that I would like to remove aliases from general group mapping. These can not be reflected correctly in /etc/group, winbind could do a better job here. And having aliases only on machines with nss_winbind at least for me is not a too severe limitation. Comments? Volker (This used to be commit 6cad5bcc280c2964473346cc467423a44cc6a5c2)
| * allow the 'printing' parameter to be set on a per share basis.Gerald Carter2004-03-021-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that the current_printif struct was set during print_backend_init() based on the 'printcap name'. So you could not use cups and then override the setting for a specific printer by setting 'printing = bsd' (a common setup for pdf generation print services. There is a subtle change in behavior in that the print interface functions are selecting on the basis of lp_printing() and not lp_printcap_name(), but the new behavior seems more intuitive IMHO. (This used to be commit e721255e8f7d719dbcc2cad94c9b11f6124676e6)
| * Idra, your privileges patch allowed login only with tdbsam. The problem isVolker Lendecke2004-03-021-1/+1
| | | | | | | | | | | | | | | | | | that pdb_default_get_privilege_set returns NOT_IMPLEMENTED and not a privilege set that does not grant anything. I don't really understand privileges yet, so work around that by not failing if pdb_get_privilege_set fails. Volker (This used to be commit b790753f443092a65eeef7b146a18d4c5ffcb323)
| * Sorry, forgot to commit an essential piece.Simo Sorce2004-03-021-0/+363
| | | | | | | | (This used to be commit fa6500fe773ae1f0aa70f370600b6f7aa7f65f3d)
| * Expand aliases for winbind-generated groups.Volker Lendecke2004-03-021-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do: wbinfo -C alias net groupmap set alias alias -L net rpc group addmem alias DOMAIN\\group -S localhost -Uroot%secret getent group alias And hopefully the members of domain\\group show up :-) Still have to get them to show up in 'getent group'. Volker (This used to be commit 18e48190838907a29347d471e81945257f540aa7)
| * merging from 3.0Gerald Carter2004-03-022-50/+54
| | | | | | | | (This used to be commit fae17e0f9d228bab9992287507babd6a8fd53f97)
| * BUG 1147; bad pointer case in get_stored_queue_info() causing seg faultGerald Carter2004-03-011-1/+1
| | | | | | | | (This used to be commit eb8a8c290f893b6ffa3d16e282829230be56b212)
| * Ok here it is my latest work on privilegesSimo Sorce2004-03-0124-140/+838
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add privilege support for samba Currently it is implemented only for tdbsam backend but estending it to other sam backends is straightforward. I must make a big thank to JFM for his teachings on the matter and the functions at the base of this work. At thye moment only samr_create_user honours SeAddUsersPrivilege and SeMachineAccountPrivilege to permit any user to add machines and/or users to the server. The command "net priv" has been provided to manipulate the privileges database. There are still many things to do (like support in "net rpc vampire") but the working core is here. Feel free to comment/extend on this work. Of course I will deny that any bug may affect this code :-) Simo. This patch adds also my patch about add share command enhancements. (This used to be commit 7a78c3605e203bd8e0d7ae244605f076a5d0b0bc)
| * Fix Tim's fix for #1144. Tim, could you look at that again?Volker Lendecke2004-03-011-7/+12
| | | | | | | | | | | | | | | | | | With only your fix in for example smb.conf was expected in /smb.conf... Thanks, Volker (This used to be commit eb18cb83d13d664896468d200d9dc353da13c561)
| * When asked to delete an alias member, don't add it ...Volker Lendecke2004-03-011-1/+1
| | | | | | | | | | Volker (This used to be commit f95a5d81479b467c837b727831c2224832c8205c)
| * Add aliases to winbindd_getgroups().Volker Lendecke2004-03-014-86/+109
| | | | | | | | | | | | | | | | | | | | | | su - WINDOWS\\vl now includes the locally defined aliases I'm member of. Next will be getent group. Volker (This used to be commit 52dae45684317ac8ac529017607bb5787dda7c50)