summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2003-03-31Waider's cosmetic change to print out the database type whenVolker Lendecke1-1/+17
downloading stuff. Volker (This used to be commit 702d368a9af98d59775ebc3ed89774507397b7e3)
2003-03-30This sets the domain for the user in vampire. OtherwiseVolker Lendecke1-0/+2
we end up with an empty domain field, which a workstation does not really like in sam_logon.. Volker (This used to be commit 5a3f89d3c12c5e4ab89fbe220ca34387c1660511)
2003-03-24(merge from HEAD)Andrew Bartlett1-82/+82
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 Lendecke1-6/+0
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 Lendecke1-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)
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-22Thanks to volker, merge passdb changes from HEAD:Andrew Bartlett1-4/+1
- 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-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett4-14/+16
This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18One more on set_local_machine_name() taking a new 'perm' argument.Andrew Bartlett1-1/+1
(This used to be commit 29d909b184e0044f728091f3215eeb58bbeff437)
2003-03-17Merge from HEAD:Andrew Bartlett1-4/+4
signed/unsigned (mostly i counters) a little bit of const. Andrew Bartlett (This used to be commit 50f0ca752e5058c4051f42a9337361373ba1f727)
2003-03-17Merge from HEAD:Andrew Bartlett1-0/+9
net ads password Heimdal compile fixes. Andrew Bartlett (This used to be commit 3aa4f923e99f453310bb4a8d43ce43757591909d)
2003-03-17Merge from HEAD:Andrew Bartlett2-3/+68
new 'net ads dn' doxygen fixes net help fixes. (This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)
2003-02-28Move net ads lookup improvements over from HEADJim McDonough1-61/+142
(This used to be commit 507e5738fb7c50969bee269527be5dc6e450b77f)
2003-02-25Merge: add popt_common_version to command line options table.Tim Potter3-0/+3
(This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)
2003-02-24Missed a couple of files from the client-side kerberos mergeAndrew Bartlett1-2/+14
(This used to be commit 56934f303c0551df858cc6d6ad32d0b37fcd1307)
2003-02-24Merge from HEAD client-side authentication changes:Andrew Bartlett1-7/+1
- new kerberos code, allowing the account to change it's own password without special SD settings required - NTLMSSP client code, now seperated from cliconnect.c - NTLMv2 client code - SMB signing fixes Andrew Bartlett (This used to be commit 837680ca517982f2e5944730581a83012d4181ae)
2003-02-20Added Volkers "print server role" patch.Jeremy Allison1-0/+22
Jeremy. (This used to be commit b14e174c65b399e606f4f740762ff4646b8f9eef)
2003-02-12Merge of smbcontrol debuglevel fixes from HEAD.Tim Potter1-4/+1
(This used to be commit 77ae3360e36e460f9a0f3f3e198951e575a247cf)
2003-02-07Invert flag testingVolker Lendecke1-3/+5
(This used to be commit 05397c526d2fad63faee781cc68934c58ee97500)
2003-02-06merge from HEADVolker Lendecke1-4/+22
(This used to be commit 4ef6de20cb62fc2b22c288b4452c09eaf007ae5e)
2003-02-03Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e96978954b830d83880f03b6825bce6e7b53b5d7)
2003-02-01Merge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and someAndrew Bartlett1-1/+7
misc libads fixes. Andrew Bartlett (This used to be commit 9c3a1710efba9fa4160004a554687d4b85927bb1)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison1-1/+1
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
2003-01-30Sync of Heimdal kerberos stuff with HEAD. If this breaks I'm blamingTim Potter1-1/+1
the dog again. (This used to be commit 6f89ee2c9dc7f03e3dbe7aa734bf67c6a434d135)
2003-01-29Merge tpot's changes to request the correct sizes for user dispinfoJeremy Allison1-2/+9
from HEAD. I had to do this for him as he was *so* tired, the poor chap, plus he has this bad leg, plus the dog ate his homework etc. etc. Jeremy. (This used to be commit 1e752b48a12cdcf2cb6343705be83f304e5ee2b6)
2003-01-29playing janitor for abartlet. :-(Gerald Carter1-22/+15
" Make the vampire code use just pdb calls - allowing better operation on systems that are not configured with an add user script, and have an _nua backend for storage. We really need to get the PDB backends out of the IDMAP game... Andrew Bartlett " (This used to be commit e959a8eb67e78bb90ae017687dca8f8b3b147b09)
2003-01-28This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+550
used to be commit b741abd496621586040081c04674ae53cb5db47c)
2003-01-28Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 1b71786c161cd8ec4c3c0c6b178370ed50feeef4)
2003-01-21Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough1-2/+3
other progs. (This used to be commit c58c84e8066d5d17e1cde99b83d259030f15458b)
2003-01-21Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough1-2/+3
other progs. (This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
2003-01-21Deleted arguments to help output - they didn't work.Tim Potter1-1/+1
(This used to be commit 8b167a45a6ae041cd35dbf2a25d7a300f86440a2)
2003-01-17the 'static' keyword here is useless as we are not declaring aAndrew Tridgell1-1/+1
variable or function (This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)
2003-01-16Merge the fix from head about short variables.Richard Sharpe1-1/+1
(This used to be commit e408bf329163e45e60ebd1aef648f79aaeef1c13)
2003-01-16Fix an error where the SK Offset was truncated to 16 bits. Variables neededRichard Sharpe1-1/+1
to be unsigned int (DWORD) not unsigned int (WORD). (This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)
2003-01-16Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett1-29/+150
of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-15*lots of small merges form HEADGerald Carter1-0/+2
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15merging some rpcclient and net functionality from HEADGerald Carter1-0/+79
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
2003-01-15[merge]Gerald Carter4-8/+11
* removed unused variable from rpcclient code * added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 25a9681ddda47a41fac8fdc97ca50b7f4c579eaf)
2003-01-15* removed unused variable from rpcclient codeGerald Carter4-8/+11
* added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
2003-01-14Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,Andrew Bartlett1-1/+2
and probably SWAT too.. Andrew Bartlett (This used to be commit 1df808ac8931979000d681bd086399ef306873b6)
2003-01-14Merge from HEAD:Andrew Bartlett2-4/+4
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-14add help text for 'net ads lookup'Andrew Tridgell1-0/+2
(This used to be commit 2a642a1169a3c09988daa9623dcb4f21b0a2ad1f)
2003-01-13Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett1-1/+2
name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett (This used to be commit 71f4d8efd36351ddb2180103c160a6d737da62b1)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett2-4/+4
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-08Some fixes to editreg. Clientgen should not be touched, and an update to ↵Richard Sharpe1-3/+0
configure that Herb needs. (This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
2003-01-07Fix memory leak. Thanks, Herb!Volker Lendecke1-0/+1
Volker (This used to be commit 434e496289ac21e516b22d91c4f52c0a6674214f)
2003-01-07Fix memory leak. Thanks, Herb!Volker Lendecke1-0/+1
Volker (This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)
2003-01-07this makes it compile, but I'm not sure if it is correct. Are we reallyHerb Lewis1-1/+1
testing a pointer value to be equal to 0x19 ??? (This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
2003-01-07Merge from HEAD.Volker Lendecke1-4/+14
Volker (This used to be commit 7977a025ae698fb91694e3809985b14e35693e92)
2003-01-07Create a machine account correctly if the unix account exists.Volker Lendecke1-4/+14
With this, my test for W2kSP3 join after pdbedit -a -m works fine. Volker (This used to be commit c9d0c5254c7d4ddb343f405652c609a0128e60f9)