summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-26Add defines for platforms that need them.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 7787815da498382a380230912e0573f41347d0d8)
2003-03-26Fix extra NULL arg added during app-head merge.Jeremy Allison1-3/+3
Jeremy. (This used to be commit b2ef052adad01c37f0fd4b9b82a16a9989d57082)
2003-03-26A fixed type TRUE -> True, reported by Paul Green.John Terpstra1-1/+1
(This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)
2003-03-25Must have been somewhere else last sunday...Volker Lendecke1-3/+4
Apply metzes patch (hopefully) correctly this time Volker (This used to be commit e52a2d5d49e3c784d5db06bade2c866422258fcc)
2003-03-25win9x was suffered a case of the blues during a domain logon.Gerald Carter1-1/+10
For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit 4dd81caeff96d2b7f08b4846a524f917a85407a4)
2003-03-24(merge from HEAD)Andrew Bartlett14-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)
2003-03-23Implement abartlet's suggestion to add attribs to ldap if theyVolker Lendecke2-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)
2003-03-23This does two things:Volker Lendecke2-1/+50
* 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)
2003-03-23The group mapping functions are not calledVolker Lendecke1-6/+6
directly anymore, but instead through the passdb interface. So we can make them static. Volker (This used to be commit 99da1119a7a7fc0879e63f7e11cb4500419359e8)
2003-03-23Merge from HEAD:Volker Lendecke3-10/+20
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)
2003-03-23Metzes change:Volker Lendecke1-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)
2003-03-23Merge of patch by waider to our samsync code.Andrew Bartlett1-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)
2003-03-22(merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett3-2/+15
(This used to be commit 8315b9c3119dde62aeb72ad5e20f63aee89abd0b)
2003-03-22Merge from HEAD - Detect missing -lroken properly on machines without ↵Jelmer Vernooij1-2/+3
krb5-config (This used to be commit 70634d248e74395c05d9980b07d53a20327a30a8)
2003-03-22Never touch complicated if/else/elsif structures :-)Volker Lendecke1-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)
2003-03-22This changes the way we do LDAP updates. We don't use LDAP_MOD_MODIFYVolker Lendecke1-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)
2003-03-22(merge from HEAD)Andrew Bartlett10-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)
2003-03-22Fix compile on IA64 by noting that this should be the integer, not a pointerAndrew Bartlett1-1/+1
to the integer for SIVAL(). (This used to be commit 5e20868fadc4e01ea09639bc57c51d1eb687f78c)
2003-03-22This caused problems on the build farm.Andrew Bartlett1-1/+1
(This used to be commit f16a70a405a702945ada42be638c3d17c59517c0)
2003-03-22Merge fixes to libsmbclient (fstring/pstring) from HEAD.Andrew Bartlett2-20/+20
Andrew Bartlett (This used to be commit 6bf04c41ed88528345f6bb19d48f5909753a8322)
2003-03-22Thanks to volker, merge passdb changes from HEAD:Andrew Bartlett9-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)
2003-03-22Merge from HEAD - patch from Jianliang Lu <j.lu@tiesse.com> to set theAndrew Bartlett1-0/+11
'minimum password age' during a password SET. Andrew Bartlett (This used to be commit dd6516e2e87cbe6bcbc371756d99ebb3b5617c2b)
2003-03-21Merge of new appliance-head scalable printing fixes.Jeremy Allison1-142/+287
Jeremy. (This used to be commit 331e621b580f997592892be0226fb452c67ae9e1)
2003-03-21(merge from HEAD)Andrew Bartlett1-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)
2003-03-20Merge from HEADVolker Lendecke1-1/+1
(This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
2003-03-20Patch from Samuel Thibault to convert messages from dos to unix charsetJelmer Vernooij3-13/+33
when sending(and vice versa when receiving). (This used to be commit 5310447ec6e0df1c000e3ee14572f5b7fee31f28)
2003-03-20use pstrcpy_base()Jim McDonough1-1/+1
(This used to be commit 2e3710f67293b01084026549246d494103b2d536)
2003-03-20Merge from HEADVolker Lendecke1-8/+8
(This used to be commit 62d5a78b024898485f610b5d9db1a6d9a5c68c21)
2003-03-20Make swat use poptJelmer Vernooij2-18/+20
(This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
2003-03-20Merge of compiler warning fixups.Tim Potter10-328/+316
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
2003-03-20Merge of removal of py_samba.cTim Potter2-68/+1
(This used to be commit 68b4052281d22dace2ae9e48d022fa288c0a6425)
2003-03-20Merge new .cvsignore files.Tim Potter0-0/+0
(This used to be commit f0ab1b6147bc0a0e028e67b598bfc0cb9944c8cc)
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison3-7/+8
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit bf795b684e608f82db822e0759e7b69afd451b65)
2003-03-19void function cannot return a value (besides the function called wasHerb Lewis1-1/+1
a void) (This used to be commit 55681422e97ede0ff9446925c7678d6254b13878)
2003-03-19use strnlen to prevent coredumpsJim McDonough1-3/+3
(This used to be commit 5078436d83f0fdc568d6687809c7c70dea5fd382)
2003-03-19replace pstrcpyJim McDonough1-1/+1
(This used to be commit c5876f9f07bfff4e03f3a70136515c9daab20afd)
2003-03-19This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User6-0/+843
used to be commit 6f94672d3da070aae0b17f4dcdc6cd119b68d84c)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij23-331/+116
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-19Merge from HEAD.Volker Lendecke3-61/+110
Volker (This used to be commit f42032060812e9bf409042c790e71fefb40ff17a)
2003-03-19Add paramter 'ldap del only sam attr'.Volker Lendecke3-61/+110
This patch is heavily based on a patch by SuSE. Thanks to Guenther Deschner <gd@suse.de> for providing it. Volker (This used to be commit 5eaf9195eefda5ababba85cc0f6d581ff6f0f454)
2003-03-19Fix typo.Volker Lendecke1-1/+1
Thanks to Guenther Deschner <gd@suse.de> Volker (This used to be commit 52250e42a99390deb58478305410b93b877aa015)
2003-03-19Fix typo.Volker Lendecke1-1/+1
Thanks to Guenther Deschner <gd@suse.de> Volker (This used to be commit 70bf31e1b0850c257e893e8850b7d5c53ba5af48)
2003-03-19Update alpha informationJelmer Vernooij1-103/+32
(This used to be commit 52c2b2418d3ba0d64dcaa2e1d0be3b240cd6c636)
2003-03-19Update alpha informationJelmer Vernooij1-103/+32
(This used to be commit 65dbd07b3012b0de4d8db0bb01c1d77ae3dc0fa8)
2003-03-19Update to current situation - should we add SAM/GUMS/idmap?Jelmer Vernooij1-4/+4
(This used to be commit 3247b6be7a284c10c2885854a0da0501fb2f506e)
2003-03-19Update to current situation - there's nothing about SAM/GUMS/IDMAP in hereJelmer Vernooij1-4/+4
currently, should there be? (This used to be commit 0038a31819ad13dcfaff381ab2bb9f9fef62c1e8)
2003-03-19Fix some comment typosJelmer Vernooij1-2/+2
(This used to be commit 051b33e98f94ad09b4d8816a88e78715e7dc2a5e)
2003-03-19Fix some comment typosJelmer Vernooij1-2/+2
(This used to be commit 41ea416adbc074f3a34b66c18ed63c7d44ea28fc)
2003-03-19RegenerateJelmer Vernooij7-103/+994
(This used to be commit a4057885405a2dd5f78592f9a6da7f071b486fd0)
2003-03-19merge from HEADVolker Lendecke1-0/+1
(This used to be commit 12110a263b5ac65d6b965ccbe19b7be3025f0373)