summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix build errors and move pdb_guest.so -> guest.soJelmer Vernooij2003-03-191-1/+1
| |
| * replace pstrcpyJim McDonough2003-03-191-1/+1
| |
| * Fix module namesJelmer Vernooij2003-03-191-3/+4
| |
* | cleanup the IPC/LPT:/A: mess I startedGerald Carter2003-03-271-16/+19
| |
* | pdb_ldap may require ROOT privilages to access the group mapping. (yes, it's ↵Andrew Bartlett2003-03-271-0/+2
| | | | | | | | | | | | ugly :-) Andrew Bartlett
* | 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
* | The definition of pstrcpy_base(), and the preceeding comments, were givenChristopher R. Hertel2003-03-271-9/+3
| | | | | | | | twice (probably a cut/paste error).
* | Fix DOS del command with widelinks = False.Jeremy Allison2003-03-261-1/+2
| | | | | | | | Jeremy.
* | Add defines for platforms that need them.Jeremy Allison2003-03-261-0/+6
| | | | | | | | Jeremy.
* | Fix extra NULL arg added during app-head merge.Jeremy Allison2003-03-261-3/+3
| | | | | | | | Jeremy.
* | A fixed type TRUE -> True, reported by Paul Green.John Terpstra2003-03-261-1/+1
| |
* | Must have been somewhere else last sunday...Volker Lendecke2003-03-251-3/+4
| | | | | | | | | | | | Apply metzes patch (hopefully) correctly this time Volker
* | 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.
* | (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
* | 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 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
* | 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
* | 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
* | 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
* | 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
* | (merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett2003-03-223-2/+15
| |
* | Merge from HEAD - Detect missing -lroken properly on machines without ↵Jelmer Vernooij2003-03-221-2/+3
| | | | | | | | krb5-config
* | 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 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
* | (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
* | 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 caused problems on the build farm.Andrew Bartlett2003-03-221-1/+1
| |
* | Merge fixes to libsmbclient (fstring/pstring) from HEAD.Andrew Bartlett2003-03-222-20/+20
| | | | | | | | Andrew Bartlett
* | 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
* | 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
* | Merge of new appliance-head scalable printing fixes.Jeremy Allison2003-03-211-142/+287
| | | | | | | | Jeremy.
* | (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
* | Merge from HEADVolker Lendecke2003-03-201-1/+1
| |
* | Patch from Samuel Thibault to convert messages from dos to unix charsetJelmer Vernooij2003-03-203-13/+33
| | | | | | | | when sending(and vice versa when receiving).
* | use pstrcpy_base()Jim McDonough2003-03-201-1/+1
| |
* | Merge from HEADVolker Lendecke2003-03-201-8/+8
| |
* | Make swat use poptJelmer Vernooij2003-03-202-18/+20
| |
* | Merge of compiler warning fixups.Tim Potter2003-03-2010-328/+316
| |
* | Merge of removal of py_samba.cTim Potter2003-03-202-68/+1
| |
* | 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.
* | void function cannot return a value (besides the function called wasHerb Lewis2003-03-191-1/+1
| | | | | | | | a void)
* | use strnlen to prevent coredumpsJim McDonough2003-03-191-3/+3
| |
* | replace pstrcpyJim McDonough2003-03-191-1/+1
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-03-194-0/+233
|\|
| * Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij2003-03-1923-331/+116
| | | | | | | | put a doc about it in dev-doc later today.
| * Add paramter 'ldap del only sam attr'.Volker Lendecke2003-03-192-59/+101
| | | | | | | | | | | | | | This patch is heavily based on a patch by SuSE. Thanks to Guenther Deschner <gd@suse.de> for providing it. Volker
| * Fix some comment typosJelmer Vernooij2003-03-191-2/+2
| |
| * Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)Volker Lendecke2003-03-191-1/+1
| |
| * If we fail, return an error code :-)Volker Lendecke2003-03-191-0/+1
| | | | | | | | Volker
| * GCC 3.x has deprecated multi-line string constants.Tim Potter2003-03-195-307/+304
| |