summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-12Give up on the idea of avoiding lp_load() in ntlm_auth....Andrew Bartlett1-8/+18
Also, we might be given a 0 length challenge, so don't smb_panic() for smb_xmalloc() of zero size. Andrew Bartlett (This used to be commit 4842de04cf2e1528e726dfad070dfe3a82f46fa2)
2003-05-12Make it possible to actually use --user-SID and --group-SID on a standard ↵Andrew Bartlett1-2/+2
command line. Andrew Bartlett (This used to be commit dd14da756640ba36834a05b9da4759a809c0bb37)
2003-05-11Fix compile.Andrew Bartlett1-1/+1
(This used to be commit ca2e453c7838b6d0ed2d0a45124d162073bbbf99)
2003-05-11Add new files needed for VFS fixes.Alexander Bokovoy3-3/+318
1. idmap.h is used for unid_t only, agreed by Simo 2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit 3. vfs_macros.h provides convenient macros to access VFS API. (This used to be commit 1dd578635913c8340cfc565d7e0c8c5086070084)
2003-05-11Fix VFS layer:Alexander Bokovoy34-1797/+1362
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-05-11Rolling in VL's changes.John Terpstra1-8/+12
(This used to be commit b58e30a4019bad2614833de43f49e460b76459a6)
2003-05-11Rolling in VL's changes.John Terpstra1-8/+12
(This used to be commit 02244dac83623dabe927f79780cf4b7313022495)
2003-05-11Set the password for a newly created trustdom account. Tested againstVolker Lendecke1-3/+34
PDCs running NT4SP1, NT4SP6 and Samba 3.0. Volker (This used to be commit 2143446043b2c29027cf69554caddf41274df709)
2003-05-11When we have a NT4SP0 PDC trust us, we first have to check theVolker Lendecke1-2/+2
password. On NT4, NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT means the password was correct. So the PDC believed that he had his trust account correctly added. Later the auth2 naturally failed. BTW, setting up an interdom trust account is not what I would call well documented and easy to handle... Working on that now :-) Volker (This used to be commit e4e44cf3b18231ec5d7326fb42edec741caa147b)
2003-05-11Ok, this is a hack. On a netsec bind reply I did not see anythingVolker Lendecke1-0/+20
useful in the auth verifier yet. So this patch ignores it. Really checking this would be a lot more intrusive: in rpc_api_pipe we would have to distinguish between binds and normal requests, or have more state in the netsec info of cli_state, which is also somewhat hackish. Volker (This used to be commit 8de04fcf680a9bc5054965577eb500e0541ffe66)
2003-05-11Extending Samba Access Control InfoJohn Terpstra5-451/+556
(This used to be commit d85ffb3e70189648cd2d0c8113dc3d8085ff80bc)
2003-05-11Updating Global definitions.John Terpstra1-1/+1
(This used to be commit 18b62570c4b0b84ebe665395f08ca7c23e4c126a)
2003-05-11Extending Access Control DocsJohn Terpstra4-449/+553
(This used to be commit c0a1069463ea7239ca603deb5c568151439fea3f)
2003-05-11As discussed on samba-technical - move to 'primaryGroupSid' insted ofAndrew Bartlett2-18/+56
primaryGroupID (rid). This is consistant with the move from 'rid' to ntSid for the primary user identifier. Also cope with legacy installations where primaryGroupID might have been stored as 0. Andrew Bartlett (This used to be commit 0e432817cb927b41af7b49fb0b5081ffdb46f85e)
2003-05-11Using /dev/urandom for determining an ldap server backoff is a waste of systemAndrew Bartlett1-2/+6
entropy - use sys_random() instead. Andrew Bartlett (This used to be commit 640462a365235aa7ce6f817778f022530a25d909)
2003-05-10Completion of Stand-Alone server docs.John Terpstra1-6/+107
(This used to be commit e2eb7f128ef802bde742acfd13bc093a05d31200)
2003-05-10Completion of Stand-Alone server docs.John Terpstra1-6/+107
(This used to be commit 44dbed231743b5caea319c448b2700bb02cc8303)
2003-05-10Fix typos in StandAloneServerJohn Terpstra2-18/+10
Remove admonition in ServerType - Until someone gives me a replacement for it I consider it a non-issue. (This used to be commit 147676b44a4b393276497419f0bc80bff8fe425a)
2003-05-10Forgot one file.Jelmer Vernooij1-3/+0
(This used to be commit 71f6fb16ba9c75b96aea9b0b18f4b73b0d11a5ac)
2003-05-10Remove latest module_dummy patch from metze and me.Jelmer Vernooij1-53/+0
(This used to be commit 32c8796f2a2b598daa17835394d143bd266aa7bf)
2003-05-10Reverse latest module_dummy patch from metze and me.Jelmer Vernooij1-53/+0
(This used to be commit 9dc8f7b4d46b3d1adf4b22cec2b62600dcb3c899)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij34-84/+2
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij34-82/+3
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij35-2/+137
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij35-2/+137
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-10Fixes for typos and other stuff resulting from VL's feedback.John Terpstra3-42/+120
(This used to be commit 59d17982b7062e6a34e9382fb0056a913b28e23e)
2003-05-10Typos and fixes resulting from VL feedback.John Terpstra3-42/+120
(This used to be commit ab1ff35187924c31a8fa503c0d02c6b54605da4f)
2003-05-10Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison1-1/+9
on the security entries sent. Jeremy. (This used to be commit 748ae44d55f54291da3fe6ba2d60285d6da3d415)
2003-05-10Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison1-1/+9
on the security entries sent. Jeremy. (This used to be commit 45953d59f707b58e66b980512afc7f929d360ad5)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 4cd8b276715f7e019fcee8fc3ebb2855610c4751)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 98729bc9a60f77dbc107c42f4f7a60ed96e2102f)
2003-05-10Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.Jeremy Allison1-1/+2
Jeremy. (This used to be commit ec36cb4f6f59dac2f459d831f960152603e12633)
2003-05-10Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 151b7d0d88e14dd17c28e522a3e1e8f64a4a2a87)
2003-05-10Fix typo.John Terpstra1-1/+1
(This used to be commit 7bec28f23c5bef8516e798a0808585ed1a30517e)
2003-05-09syncing README to go along with scriptsGerald Carter1-24/+7
(This used to be commit 94780f0947f7ad7d5bc83e61681148637b59d7ab)
2003-05-09syncing import/export smbpasswd file scripts from 2.2Gerald Carter4-231/+114
(This used to be commit ee1374cabf38c3d99e66a45316e232d1c2cfbe6a)
2003-05-09removing total print jobs since it is not used anymoreGerald Carter2-24/+0
(This used to be commit 6138093aa0ded3719f73ed3efbd7172131ca0fa3)
2003-05-09removing total print jobs since it is not used anymoreGerald Carter1-2/+0
(This used to be commit b87be0dddfcace95527b9a05f8f81cd6d2e86d39)
2003-05-09Makefile changes to allow new NTLMv2 patch to work.Andrew Bartlett1-10/+7
(This used to be commit 0c1946e51c7cd18907eb65c93042758196fe74c9)
2003-05-09Cleanups. My NTLMv2 changes also changed the preference from using an implicitAndrew Bartlett1-42/+42
structure-memcpy for DATA_BLOB parameters to using a pointer to that DATA_BLOB. auth_sam calls some of these functions, so I've cleaned it all up to use this format now. Also clean up some debug statements to make them easier to read. Andrew Bartlett (This used to be commit 0c355c274a6ac084e4bf15a15613dfc007d6c5fc)
2003-05-09Finally get NTLMv2 working on the client!Andrew Bartlett4-119/+131
With big thanks to tpot for the ethereal disector, and for the base code behind this, we now fully support NTLMv2 as a client. In particular, we support it with direct domain logons (tested with ntlm_auth --diagnostics), with 'old style' session setups, and with NTLMSSP. In fact, for NTLMSSP we recycle one of the parts of the server's reply directly... (we might need to parse for unicode issues later). In particular, a Win2k domain controller now supplies us with a session key for this password, which means that doman joins, and non-spnego SMB signing are now supported with NTLMv2! Andrew Bartlett (This used to be commit 9f6a26769d345d319ec167cd0e82a45e1207ed81)
2003-05-09Fix bug #4 for net rap. Allow more than 50 chars for long form listings of ↵Jim McDonough1-2/+2
users and groups. (This used to be commit 27ca9bde6ba1a21326d89ab1dab52f7053fff9a4)
2003-05-09Fix bug #4 for net rap. Allow more than 50 chars for long form listings of ↵Jim McDonough1-2/+2
users and groups. (This used to be commit dcc6d9e76c737400aaffdd4f261fd0f191aaeea8)
2003-05-09Fix comment - we now have 5 types of error...Andrew Bartlett1-1/+1
(This used to be commit 372a574a73b86855cf6efc18349e5ba24067d690)
2003-05-09Make sure we always have some client data, not just the hash. An NTLMv2 orAndrew Bartlett1-2/+3
LMv2 response less than 24 bytes is just silly. Andrew Bartlett (This used to be commit b4ecdb2e582376d2713f81e8e32a668014905d70)
2003-05-09Elsewhere, we use a #define for this environment variable name, so do theAndrew Bartlett1-2/+2
same here. Andrew Bartlett (This used to be commit a4556786d28724309321a02afbf5005158440258)
2003-05-09When checking if a SID is in a domain, make sure that indeed the user RID isAndrew Bartlett1-0/+3
one element longer than the domain sid. Andrew Bartlett (This used to be commit c61e5e38776d2de53d120b592a6685158e79ebb8)
2003-05-09Sync up to head ...Richard Sharpe1-34/+100
(This used to be commit 045210e129e6e0aef8f847e7ed8714d0d9974e7f)
2003-05-09Some more static definitions ...Richard Sharpe1-0/+16
(This used to be commit 05d7850302d4369c4f8001c923217f8912261e7d)
2003-05-09Add some static ...Richard Sharpe1-34/+84
(This used to be commit 5368f10eabbca09eee1e2777e8cb2fcb7f92fc1d)