summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge Herb's change.Volker Lendecke2003-03-201-1/+1
| | | | | | | | | | Volker (This used to be commit e8725913f9f174c03683a35bbce16ee33ab4c707)
| * If CFLAGS is set when running configure, then just use that.Martin Pool2003-03-201-3/+7
| | | | | | | | | | | | | | | | Otherwise add -O. (We used to always set -O, which is sometimes annoying when debugging and anyhow clashes with normal autoconf behaviour.) (This used to be commit aee2ad9c3444d59dd6f53dda5379a6c391e00002)
| * lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison2003-03-203-7/+8
| | | | | | | | | | | | Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
| * Cleanup bogus initialisation in SID_NAME_USE enum.Tim Potter2003-03-202-9/+10
| | | | | | | | | | Added new sid type = 9 for "computer" from MSDN. (This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)
| * Add make rules for passdb/*.soJelmer Vernooij2003-03-191-0/+25
| | | | | | | | (This used to be commit ea85f8ff21bfad378eb8464a94bb182cb3e4f988)
| * Fix corrupt memory reading in smb_register_passdbJelmer Vernooij2003-03-191-1/+1
| | | | | | | | (This used to be commit 6acbb37e4e32de635ace8420a5182b04b6527e34)
| * use strnlen to prevent coredumpsJim McDonough2003-03-191-3/+3
| | | | | | | | (This used to be commit 1960a650c1546323708ed6bea615dc7215a97b4f)
| * Fix pdb_unix usage - noticed by jmcdJelmer Vernooij2003-03-191-1/+1
| | | | | | | | (This used to be commit dd03aec26dc39a4e56f18d547132768204a500db)
| * Fix build errors and move pdb_guest.so -> guest.soJelmer Vernooij2003-03-191-1/+1
| | | | | | | | (This used to be commit 25412880251839de3dd17882fab30c873c886454)
| * replace pstrcpyJim McDonough2003-03-191-1/+1
| | | | | | | | (This used to be commit c6eb950b6879d7566ded33dd6a3853cf2d5310db)
| * Fix module namesJelmer Vernooij2003-03-191-3/+4
| | | | | | | | (This used to be commit fa1c8eee1fdd2452f9e3595b2b3957ea8c0ea46a)
* | cleanup the IPC/LPT:/A: mess I startedGerald Carter2003-03-271-16/+19
| | | | | | | | (This used to be commit e6034a03d543d8672303f2b24982cfc03b124391)
* | pdb_ldap may require ROOT privilages to access the group mapping. (yes, it's ↵Andrew Bartlett2003-03-271-0/+2
| | | | | | | | | | | | | | ugly :-) Andrew Bartlett (This used to be commit 12579a62945d0d475b53c4ab49761a01be9e8394)
* | This is no functional change. It just makes pdb_ldap.c a bitVolker Lendecke2003-03-271-24/+50
| | | | | | | | | | | | | | | | easier to understand by moving the logic for init_ldap_from_sam and friends around. Volker (This used to be commit 09a92984baaee94521d0cacf16daaf0291242b42)
* | The definition of pstrcpy_base(), and the preceeding comments, were givenChristopher R. Hertel2003-03-271-9/+3
| | | | | | | | | | twice (probably a cut/paste error). (This used to be commit d9b799d8c35a7453e6ccb92b3fc4ec2ec510449a)
* | Fix DOS del command with widelinks = False.Jeremy Allison2003-03-261-1/+2
| | | | | | | | | | Jeremy. (This used to be commit ef1782121bc4ebcdd2731fd6863209352f815dbe)
* | Add defines for platforms that need them.Jeremy Allison2003-03-261-0/+6
| | | | | | | | | | Jeremy. (This used to be commit 7787815da498382a380230912e0573f41347d0d8)
* | Fix extra NULL arg added during app-head merge.Jeremy Allison2003-03-261-3/+3
| | | | | | | | | | Jeremy. (This used to be commit b2ef052adad01c37f0fd4b9b82a16a9989d57082)
* | A fixed type TRUE -> True, reported by Paul Green.John Terpstra2003-03-261-1/+1
| | | | | | | | (This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)
* | Must have been somewhere else last sunday...Volker Lendecke2003-03-251-3/+4
| | | | | | | | | | | | | | Apply metzes patch (hopefully) correctly this time Volker (This used to be commit e52a2d5d49e3c784d5db06bade2c866422258fcc)
* | win9x was suffered a case of the blues during a domain logon.Gerald Carter2003-03-251-1/+10
| | | | | | | | | | | | For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit 4dd81caeff96d2b7f08b4846a524f917a85407a4)
* | (merge from HEAD)Andrew Bartlett2003-03-2414-144/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NTLM Authentication: - Add a 'privileged' mode to Winbindd. This is achieved by means of a directory under lockdir, that the admin can change the group access for. - This mode is now required to access with 'CRAP' authentication feature. - This *will* break the current SQUID helper, so I've fixed up our ntlm_auth replacement: - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a challenge. - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5 servers. - Tested - works for Win2k clients, but not Win9X at present. NTLMSSP updates are needed. - Now uses fgets(), not x_fgets() to cope with Squid environment (I think somthing to do with non-blocking stdin). - Add much more robust connection code to wb_common.c - it will not connect to a server of a different protocol version, and it will automatically try and reconnect to the 'privileged' pipe if possible. - This could help with 'privileged' idmap operations etc in future. - Add a generic HEX encode routine to util_str.c, - fix a small line of dodgy C in StrnCpy_fn() - Correctly pull our 'session key' out of the info3 from th the DC. This is used in both the auth code, and in for export over the winbind pipe to ntlm_auth. - Given the user's challenge/response and access to the privileged pipe, allow external access to the 'session key'. To be used for MSCHAPv2 integration. Andrew Bartlett (This used to be commit ec071ca3dcbd3881dc08e6a8d7ac2ff0bcd57664)
* | Implement abartlet's suggestion to add attribs to ldap if theyVolker Lendecke2003-03-232-30/+30
| | | | | | | | | | | | | | | | | | | | are 'SET' when adding the account. I really don't like passing flags down to inner routines and complicated if/else conditions, but this time he might be right. ;-) Volker (This used to be commit 339c14906802db6ddb59f07a0c71dcc3c73cc3d6)
* | This does two things:Volker Lendecke2003-03-231-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pdbedit -i -e sets all SAM_ACCOUNT elements to CHANGED to satisfy the new pdb_ldap.c handling * pdbedit -g transfers group mappings. I made this separate from the user database, as current installations have to live with a split backend. So, if you are running 3_0 alphas with LDAP as a backend and upgrade to the next 3_0 alpha, you should call pdbedit -i tdbsam -e ldapsam -g to transfer your group mapping database to LDAP. You certainly have to have all your groups as posixGroup objects in LDAP and adapt the LDAP schema before this call. Volker (This used to be commit 09a3db0ffcbbe578788d3dd5ee7540d27cc7c09a)
* | The group mapping functions are not calledVolker Lendecke2003-03-231-6/+6
| | | | | | | | | | | | | | | | directly anymore, but instead through the passdb interface. So we can make them static. Volker (This used to be commit 99da1119a7a7fc0879e63f7e11cb4500419359e8)
* | Merge from HEAD:Volker Lendecke2003-03-232-6/+7
| | | | | | | | | | | | | | | | | | | | This adds 'ldap delete dn' as the recommended parameter for the 'ldap del only sam attr' functionality. So we are compatiple to the current SuSE patches as well as to TNG... ;-) Volker (This used to be commit 53b5704ff21de6fce097d74dd7f235d3ceccec66)
* | Metzes change:Volker Lendecke2003-03-231-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | > Hi Volker, > > if 'displayName' is not available we should fallback to 'cn' for map->nt_name > 'cn' is used as unix group name by nss_ldap. > > and if nt_name is not available we should fail (so does this patch) Volker (This used to be commit 7ae9c2500e3ac5f671d41077327156f1f3767fff)
* | Merge of patch by waider to our samsync code.Andrew Bartlett2003-03-231-35/+155
| | | | | | | | | | | | | | | | (Decode all database names, and set only changes, not all info from the samsync record). Andrew Bartlett (This used to be commit c7b8405bdebb9241ec335ccbbef630d90e61a419)
* | (merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett2003-03-223-2/+15
| | | | | | | | (This used to be commit 8315b9c3119dde62aeb72ad5e20f63aee89abd0b)
* | Merge from HEAD - Detect missing -lroken properly on machines without ↵Jelmer Vernooij2003-03-221-2/+3
| | | | | | | | | | | | krb5-config (This used to be commit 70634d248e74395c05d9980b07d53a20327a30a8)
* | Never touch complicated if/else/elsif structures :-)Volker Lendecke2003-03-221-23/+27
| | | | | | | | | | | | | | | | This repairs domain join with fully existing wks-account which I broke with my last patch... Volker (This used to be commit bc59912aa10e5000225110e48ad548f19756bed5)
* | This changes the way we do LDAP updates. We don't use LDAP_MOD_MODIFYVolker Lendecke2003-03-221-121/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anymore, but instead look at what is currently stored in the database. Then we explicitly delete the existing attribute and add the new value if it is not NULL or "". This way we can handle appearing and disappearing attributes quite nicely. This currently breaks pdbedit -o, as this does not set the CHANGED flag on the SAM_ACCOUNT. Jelmer suggested that we set all the fields on CHANGED in context_add_sam_account. This sounds not too unreasonable. Volker (This used to be commit a75015c9ce8246670ee7c7d73df585390696fe95)
* | (merge from HEAD)Andrew Bartlett2003-03-2210-41/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett (This used to be commit c91e76bddbe1244ddc8d12b092eba875834029ac)
* | Fix compile on IA64 by noting that this should be the integer, not a pointerAndrew Bartlett2003-03-221-1/+1
| | | | | | | | | | to the integer for SIVAL(). (This used to be commit 5e20868fadc4e01ea09639bc57c51d1eb687f78c)
* | This caused problems on the build farm.Andrew Bartlett2003-03-221-1/+1
| | | | | | | | (This used to be commit f16a70a405a702945ada42be638c3d17c59517c0)
* | Merge fixes to libsmbclient (fstring/pstring) from HEAD.Andrew Bartlett2003-03-222-20/+20
| | | | | | | | | | Andrew Bartlett (This used to be commit 6bf04c41ed88528345f6bb19d48f5909753a8322)
* | Thanks to volker, merge passdb changes from HEAD:Andrew Bartlett2003-03-229-229/+137
| | | | | | | | | | | | | | | | | | | | - pdb_guest (including change defaults) - 'default' passdb actions (instead of 'not implemented' stubs in each module) - net_rpc_samsync no longer assumes pdb_unix Andrew Bartlett (This used to be commit 4bec53c8c81019f0f06a93c4df0800bbf7281dd6)
* | Merge from HEAD - patch from Jianliang Lu <j.lu@tiesse.com> to set theAndrew Bartlett2003-03-221-0/+11
| | | | | | | | | | | | | | 'minimum password age' during a password SET. Andrew Bartlett (This used to be commit dd6516e2e87cbe6bcbc371756d99ebb3b5617c2b)
* | Merge of new appliance-head scalable printing fixes.Jeremy Allison2003-03-211-142/+287
| | | | | | | | | | Jeremy. (This used to be commit 331e621b580f997592892be0226fb452c67ae9e1)
* | (merge from HEAD)Andrew Bartlett2003-03-211-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give volker a hand, and let domain joins with existing user accounts work a bit better. This just sets the minimum possible attributes - if we are 'upgrading' an LDAP based user account, the attributes will be there anyway. This matches NT pretty well to. This also fixes some use of unitialised values in the desired_access checking. (found by valgrind). Andrew Bartlett (This used to be commit 536e24ee5b83eaa77be81dd50e3e1a5010b5abf4)
* | Merge from HEADVolker Lendecke2003-03-201-1/+1
| | | | | | | | (This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
* | Patch from Samuel Thibault to convert messages from dos to unix charsetJelmer Vernooij2003-03-203-13/+33
| | | | | | | | | | when sending(and vice versa when receiving). (This used to be commit 5310447ec6e0df1c000e3ee14572f5b7fee31f28)
* | use pstrcpy_base()Jim McDonough2003-03-201-1/+1
| | | | | | | | (This used to be commit 2e3710f67293b01084026549246d494103b2d536)
* | Merge from HEADVolker Lendecke2003-03-201-8/+8
| | | | | | | | (This used to be commit 62d5a78b024898485f610b5d9db1a6d9a5c68c21)
* | Make swat use poptJelmer Vernooij2003-03-202-18/+20
| | | | | | | | (This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
* | Merge of compiler warning fixups.Tim Potter2003-03-2010-328/+316
| | | | | | | | (This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
* | Merge of removal of py_samba.cTim Potter2003-03-202-68/+1
| | | | | | | | (This used to be commit 68b4052281d22dace2ae9e48d022fa288c0a6425)
* | lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison2003-03-203-7/+8
| | | | | | | | | | | | Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit bf795b684e608f82db822e0759e7b69afd451b65)
* | void function cannot return a value (besides the function called wasHerb Lewis2003-03-191-1/+1
| | | | | | | | | | a void) (This used to be commit 55681422e97ede0ff9446925c7678d6254b13878)
* | use strnlen to prevent coredumpsJim McDonough2003-03-191-3/+3
| | | | | | | | (This used to be commit 5078436d83f0fdc568d6687809c7c70dea5fd382)