summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * passwords where not checked (you cannot check if the same buffer differs ↵Simo Sorce2002-08-041-6/+18
| | | | | | | | | | | | | | | | from itself). they where alo not clean after use! Simo.
| * commented out strupper before key check against internal db, it's no goodSimo Sorce2002-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | to check for uppercased strings when we store them not uppercased. jerry, this fix is needed to make usrmgr.exe work again. meanwhile we found out that NT_STATUS code may not be appropriate there. In particular it seem that an NT PDC will send back 02 as error (ERRbadfile) not 0xc000000f (NT_STATUS_NO_SUCH_FILE NT) I think further investigation is need to understand which are aprropriate return codes here.
| * Now that I got the function arguments sane, remove the silly (void **) castsAndrew Bartlett2002-08-041-9/+9
| | | | | | | | | | | | from some of the callers. Andrew Bartlett
| * fixed a bug where we were truncating the returned names in a netbiosAndrew Tridgell2002-08-031-1/+1
| | | | | | | | | | name status query to 14 bytes, so we could not join a DC who had a netbios name of 15 bytes in length.
| * updates the log level parameter man sectionSimo Sorce2002-08-031-3/+6
| | | | | | | | | | can someone regenerate and commit the other formats? thanks
| * fix log level, set a default, and also copy the value set in smb.conf into ↵Simo Sorce2002-08-032-10/+13
| | | | | | | | | | | | | | parm_struct.ptr this one also fixes log level not shown in swat fix swat help system
| * Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.Jim McDonough2002-08-021-1/+1
| |
| * Escape ampersand(&) to better comply to SGML syntaxJelmer Vernooij2002-08-021-1/+1
| |
| * Moved rpc client routines from libsmb back to rpc_client where they belong.Tim Potter2002-08-0216-7671/+3635
| |
| * Added connect, session_request, session_setup and tconx methods.Tim Potter2002-08-021-21/+138
| |
| * Broke out unpacking of a username/password stored in a PythonTim Potter2002-08-022-28/+74
| | | | | | | | dictionary into a separate function.
| * Merge of print notify fixes from APPLIANCE_HEAD.Tim Potter2002-08-023-6/+27
| |
| * Fixed compiler warning.Tim Potter2002-08-011-1/+1
| |
| * make sure we null terminate plaintext passwordsAndrew Tridgell2002-08-011-1/+1
| |
| * merge from SAMBA_2_2Gerald Carter2002-07-311-0/+154
| |
| * forgot to change the makefile system, sorrySimo Sorce2002-07-312-12/+10
| |
| * Add the current working document on the interface to the tree that we haveAndrew Bartlett2002-07-311-0/+123
| | | | | | | | | | | | | | | | | | *somthing* in the directory. (Stops cvs update -P eating it). This is the combined effort of many from #samba-technical, kai, metze, ctrlsoft, idra and abartlet in particular. It will no doubt change :-) Andrew Bartlett
| * Let everybody enjoy my new toy - make it the default!Andrew Bartlett2002-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | Authenticaions will now attempt to use winbind, and only fall back to 'ntdomain' (the old security=domain) code if that fails (for any reason, including wrong password). I'll fix up the authenticaion code to better handle the different types of failures in the near future. Andrew Bartlett
| * Winbind updates!Andrew Bartlett2002-07-319-51/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the 'winbind' authentication module and winbind's 'PAM' (actually netlogon) code to allow smbd to cache connections to the DC. This is particulary relevent when we need mutex locks already - there is no parallelism to be gained anyway. The winbind code authenticates the user, and if successful, passes back the 'info3' struct describing the user. smbd then interprets that in exactly the same way as an 'ntdomain' logon. Also, add parinoia to winbind about null termination. Andrew Bartlett
| * Rework parinioa to ensure we never get passwords longer than MAX_PASS_LEN, norAndrew Bartlett2002-07-311-18/+11
| | | | | | | | | | | | | | | | longer than the buffer they claim to be in. Many thanks to tridge for explaining the macros. Andrew Bartlett
| * fixed the length checking for plaintext passwords (thanks to andrewbAndrew Tridgell2002-07-311-2/+11
| | | | | | | | for spotting this)
| * Don't accidenity mess with the wrong domain's sids.Andrew Bartlett2002-07-311-2/+2
| |
| * fix debug, at idra's suggestion.Andrew Bartlett2002-07-311-1/+1
| | | | | | | | Andrew Bartlett
| * Only allow 'security=ads' when we HAVE_ADS.Andrew Bartlett2002-07-311-0/+2
| | | | | | | | Andrew Bartlett
| * support netbiosless search for the DC using ADS in the winbindd AUTHAndrew Tridgell2002-07-311-58/+110
| | | | | | | | code.
| * fixed multi-line strings for portabilityAndrew Tridgell2002-07-311-2/+2
| |
| * make sure we zero the unusued elements in a SID when parsingAndrew Tridgell2002-07-311-0/+3
| |
| * added 'disable netbios = yes/no' option, default is noAndrew Tridgell2002-07-312-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | When this option is disabled we should not do *any* netbios operations. You should also not start nmbd at all. I have put initial checks in at the major points we do netbios operations in smbd but there are bound to be more needed. Right now I've disabled all netbios name queries, all WINS lookups and node status queries in smbd and winbindd. I've been testing this option and the most noticable thing is how much more responsive things are! wthout those damn netbios timeouts things certainly are much slicker.
| * fixed a net crash bug if we can't find a DC in a 'net rpc' commandAndrew Tridgell2002-07-311-0/+4
| |
| * added support for smbd listening on port 445 and 139. It now listensAndrew Tridgell2002-07-314-47/+88
| | | | | | | | | | | | | | on both by default, and you can specify a list of ports to listen on either with "smb ports = " in smb.conf or using the -p option to smbd. this is needed for proper netbiosless operation.
| * the ads_connect() here doesn't need to actually succeed, as its onlyAndrew Tridgell2002-07-311-3/+1
| | | | | | | | needed to find the DC IP. Just don't check its return value!
| * make sure that 'net ads info' gives info on the server we specify, notAndrew Tridgell2002-07-311-0/+4
| | | | | | | | our smb.conf setup.
| * Remove VFS module build so RPMs can build for now.John Terpstra2002-07-311-13/+13
| |
| * Fix the build for now..Jim McDonough2002-07-301-1/+1
| | | | | | | | Tridge, please look at this. Did you mean to take out the last parm?
| * Add LSA RPC 0x2E, lsa_query_info2. Only level implemented is 0x0c, whichJim McDonough2002-07-306-5/+313
| | | | | | | | | | is netbios and dns domain info. Also add code to set/fetch the domain GUID from secrets.tdb (although set is not yet called by anyone).
| * net ads info now reports the IP of the LDAP server as well as its name - ↵Andrew Tridgell2002-07-304-4/+14
| | | | | | | | very useful in scripts
| * this fixes plaintext passwords with win2000Andrew Tridgell2002-07-303-8/+10
| | | | | | | | | | | | | | | | | | | | there were 2 bugs: 1) we were sending a null challenge when we should have sent an empty challenge 2) the password can be in unicode if unicode is negotiated. This means our client code was wrong too :(
| * always include the (void) for void fns ...Andrew Tridgell2002-07-301-1/+1
| |
| * a couple more minor tweaks. This now allows us to operate in ADS modeAndrew Tridgell2002-07-302-4/+9
| | | | | | | | | | without any 'realm =' or 'ads server =' options at all, as long as DNS is working right.
| * 2nd try at a fix for netbiosless connections to a ADS DC. This alsoAndrew Tridgell2002-07-301-31/+90
| | | | | | | | | | make the code a fair bit cleaner as it splits up the ADS and RPC cases, which really are very different.
| * removed a gratuitous standard_sub_basic() on the 'password server'Andrew Tridgell2002-07-301-2/+0
| | | | | | | | field. This has got to be pointless.
| * - if we are in ADS mode then avoid an expensive netbios lookup to findAndrew Tridgell2002-07-301-7/+16
| | | | | | | | | | | | | | | | the servers netbios name when we don't need it. This also fixes ADS mode when the DC has netbios disabled. - if the password server is specified as an IP then actually use that IP, don't do a lookup for the servers name :)
| * OK!Simo Sorce2002-07-3013-560/+622
| | | | | | | | | | | | | | | | Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo.
| * Update a pile of Samba's SID lookup code to ensure:Andrew Bartlett2002-07-302-75/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - That we never call winbind recursivly - That we never use an 'algorithmic' RID when we have a fixed uid or gid mapping in either the passdb or the group mapping db. Also, remove restrictions that say 'this domain only'. If we have a mapping configured, allow it to be returned. If we later decide certian mappings are invalid, then we sould put that in the code that actually does the map. Allow 'sid->name' transtations on the fixed 'well known' groups for NT, even if they are not represented by Unix groups yet. Andrew Bartlett
| * Make some of the charconv code a bit easier to read and work with - when weAndrew Bartlett2002-07-301-8/+8
| | | | | | | | | | | | | | are dealing with utf8 we may as well specify char** for the pointer, save otherwise casting in the caller. Andrew Bartlett
| * Some crash fixes for netshareenum returning zero shares.Tim Potter2002-07-302-1/+4
| |
| * These pointers should be for the service we just cloned, not the new serviceAndrew Bartlett2002-07-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | as it might actually not be a clone, but a 'found' service. Previously this meant that a second session setup on the same TCP/IP connection for a user would write '' as the home directory. Instead, I want it to update the share to be there current home directory (so that this can be updated without the need to reboot the client for example). Andrew Bartlett
| * These are not critical errors, they should not be a level 0.Andrew Bartlett2002-07-301-3/+3
| | | | | | | | Andrew Bartlett
| * Add quotes so we can see 0 length strings.Andrew Bartlett2002-07-301-1/+1
| |
| * Reran configure.Tim Potter2002-07-301-691/+694
| |