summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* | lib/debug.c: Compiler fixes.Jeremy Allison2001-02-121-0/+1
| | | | | | | | | | | | | | | | libsmb/nmblib.c: dos2unix fix. printing/nt_printing.c: Exit code fixes. printing/printing.c: debug fixes. tdb/tdbtool.c: Updates from JohnR. Jeremy.
* | smbencrypt.c: rewrote decode_pw_buffer() to generate the NT and LM hashes.Jean-François Micouleau2001-02-031-17/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way the NT hash is not converted back and forth between unicode and ascii. srv_reg.c: added checks for the netlogon parameter key. Send a reply like NT4. Should fix the "unknown RPC call" error with a W2K joining a samba domain. srv_samr.c: don't check if smb_create_user() succed ot not. Explanation in the code. nttrans.c: changed checking of W2K in get_filename_transact(). added check on the SD. That fix the incorrect perms set on W2K profiles. J.F.
* | Fixes from appliance-head for pdc searches.Jeremy Allison2001-01-251-18/+1
| | | | | | | | Jeremy.
* | Sync up with appliance-head printer and other changes. Makes merges easier.Jeremy Allison2001-01-121-25/+102
| | | | | | | | Jeremy.
* | Big merge to sync up appliance-head and 2.2.Jeremy Allison2001-01-085-176/+179
| | | | | | | | Jeremy.
* | Fixed bug found by Gerald. If a Samba server joins a domain and is setJeremy Allison2000-12-201-2/+2
| | | | | | | | | | | | | | | | to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
* | lib/util_unistr.c: A couple more uninitialised memory read fixes.Jeremy Allison2000-12-181-24/+113
| | | | | | | | | | libsmb/cli_lsarpc.c: Merge for Tim's fixes from HEAD. Jeremy.
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-12-151-0/+396
|\|
| * Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-154-19/+59
| | | | | | | | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy.
| * Lightweight rpc client library. Uses only routines in libsmb andTim Potter2000-12-131-0/+370
| | | | | | | | | | | | | | rpc_client/cli_pipe.c Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names() and cli_lsa_lookup_sids() implemented so far.
| * exposed the broadcast name resolution routine outside namequery.cAndrew Tridgell2000-12-111-4/+4
| |
| * Removed compiler warning.Tim Potter2000-12-081-1/+2
| |
* | Fixup the lsa_io_r_lookup_names call not to need an external TALLOC_CTX.Jeremy Allison2000-12-142-3/+8
| | | | | | | | | | | | | | | | Sync up lib/time.c from HEAD. Fix error return from cli_initialise(). Allow cli_trans to cope with a smbd "STATUS_BUFFER_OVERFLOW" return as well as the old style ERRmoredata return (now smbcacls can get names from a Samba server too). Fix memory leaks in smbcacls. Jeremy.
* | Raft of fixes - many of these will be merged into HEAD/appliance-head.Jeremy Allison2000-12-141-15/+24
| | | | | | | | | | | | Fixed many memory leaks in new parse_lsa.c code (TIM - ALWAYS USE INSURE !!!!). Fixed smbcacls leaks. Jeremy.
* | Syncup of smbcacls from HEAD. Removal of C++ comments.Jeremy Allison2000-12-043-4/+213
| | | | | | | | Jeremy.
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-12-041-0/+137
|\|
| * pass the desired access into cli_nt_create()Andrew Tridgell2000-12-041-3/+3
| |
| * fixed indentationAndrew Tridgell2000-12-041-1/+1
| |
| * removed SACL support (as it doesn't work with w2k if you ask forAndrew Tridgell2000-12-041-2/+2
| | | | | | | | SACLs)
| * in cli_session_setup() accept usernames of the form DOMAIN/USER orAndrew Tridgell2000-12-041-0/+9
| | | | | | | | | | | | DOMAIN\USER this means all our tools can now put the domain name in the -U option
| * changed an error messageAndrew Tridgell2000-12-031-1/+1
| |
| * getting/setting acls now works. The SIDs are still numeric, the nextAndrew Tridgell2000-12-031-1/+56
| | | | | | | | step is to support usernames etc
| * - added client support for nttrans callsAndrew Tridgell2000-12-032-0/+282
| | | | | | | | - added a cli_ function for querying a security descriptor on a remote file
| * Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-163-3/+15
| | | | | | | | | | | | | | | | | | a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy.
| * Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo ↵Jeremy Allison2000-10-281-4/+2
| | | | | | | | | | | | Research Lab. IBM-Japan. Co. Jp. Jeremy.
| * Rolled back find NetBIOS name of PDC/BDC code as a temp fix. ThisJeremy Allison2000-10-271-1/+60
| | | | | | | | | | code works :-). Jeremy.
| * last part of W2K support.Jean-François Micouleau2000-10-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | the trust domain list reply on netlogon pipe was wrong, interim hack until we have full trust relationships. changed some unistr2 to parse the ending NULL char. added a prs_align_needed() function. much like a prs_align but with a condition. needed for the unistr2 parsing. J.F.
| * Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-131-1/+1
| | | | | | | | | | | | | | | | falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Also changed GETDC to query 1C name rather than 1b name as only the PDC registers 1b. Jeremy.
| * changes to sync with 2.2. treeHerb Lewis2000-10-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .cvsignore remove config.h - not in this directory include/profile.h profile changes lib/messages.c added message to return debug level libsmb/clierror.c cast to get rid of compiler warning libsmb/smbencrypt.c cast to get rid of compiler warning profile/profile.c add flush profile stats changes for profile struct rpc_parse/parse_samr.c fix for compiler warning rpc_server/srv_samr.c cast to get rid of compiler warning smbd/ipc.c profile stats message.c profile stats smbd/negprot.c profile stats smbd/nttrans.c profile stats smbd/trans2.c profile stats utils/smbcontrol.c new flush stats command
| * added samr_set_user_info and info_2.Jean-François Micouleau2000-10-071-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup of create_user cleanup of rid/sid mix in samr. now we only have sid. some prs_align() missing in parse_samr.c a small debug change in srv_pipe.c You still can't change a user's password in this commit. Will be availble in the next one. J.F.
| * Ensure browse.dat is written and read in UNIX character set format.Jeremy Allison2000-10-071-0/+1
| | | | | | | | Jeremy.
| * Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.Jeremy Allison2000-10-061-2/+10
| | | | | | | | Jeremy.
| * added cli_lock64() and cli_unlock64()Andrew Tridgell2000-09-291-0/+96
| |
| * added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton2000-09-261-0/+38
| |
* | Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-163-3/+15
| | | | | | | | | | | | | | | | | | a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy.
* | Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo ↵Jeremy Allison2000-10-281-4/+2
| | | | | | | | | | | | Research Lab. IBM-Japan. Co. Jp. Jeremy.
* | Rolled back find NetBIOS name of PDC/BDC code as a temp fix. ThisJeremy Allison2000-10-271-1/+60
| | | | | | | | | | code works :-). Jeremy.
* | Fixes for extra stat's broght back from HEAD. This cuts down on theJeremy Allison2000-10-251-0/+38
| | | | | | | | | | | | | | number of stats per smb call as we now trust the statcache. There are more optimizations to come.... Also generic merges to keep 2.2.0 and HEAD in sync. Jeremy.
* | JF's fix'es for W2K domain support ! Hurrah !Jeremy Allison2000-10-131-4/+5
| | | | | | | | Jeremy.
* | Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-131-1/+1
| | | | | | | | | | | | | | | | falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Also changed GETDC to query 1C name rather than 1b name as only the PDC registers 1b. Jeremy.
* | get rid of compiler warningsHerb Lewis2000-10-111-1/+1
| |
* | Syncup with HEAD.Jeremy Allison2000-10-101-0/+44
| | | | | | | | | | | | Andrew's tdb changes/printing driving of tdb changes. JF's SAMR changes. More bugfixes to come.. Jeremy.
* | Ensure browse.dat is written and read in UNIX character set format.Jeremy Allison2000-10-071-0/+1
| | | | | | | | Jeremy.
* | Fix from RFritz@lbl.gov for Linux ECONREFUSED async errors on Linux.Jeremy Allison2000-10-061-2/+10
| | | | | | | | Jeremy.
* | cast to get rid of compiler warningHerb Lewis2000-10-041-1/+1
| |
* | Adnrew's 64 bit locking fixes for RedHat 7.0.... (sigh). They don'tJeremy Allison2000-09-291-0/+96
|/ | | | | seem to peturb much. Jeremy.
* Replaced "\\MAILSLOT\\NET\\NETLOGON" with NET_LOGON_MAILSLOT constant.Tim Potter2000-08-251-1/+1
|
* First shot at actually *doing* WINS failover.Christopher R. Hertel2000-08-111-1/+8
| | | | | | | | | | | | | | | | | | If libsmb/namequery.c:name_query() times out while doing a non-broadcast query, I mark that WINS server 'dead'. Note that I don't try the new WINS server. I think I can get that working too. This is only for queries, not registrations. The biggest problem is that I may have to fiddle with the UNICAST SUBNET, but I need to check talk that over with someone (Jeremy?) before I hack at it. I can't actually test the above change, I'm 'fraid. I'm getting: 4 errors detected in the compilation of "rpc_server/srv_spoolss_nt.c". in head branch. Chris -)-----
* In cli_error() return ENOENT when an ERROR_INVALID_NAME is received insteadTim Potter2000-08-041-0/+1
| | | | of the generic EINVAL.
* Tidyup removing many of the 0xC0000000 | NT_STATUS_XXX stuff (only need ↵Jeremy Allison2000-08-012-3/+4
| | | | | | | | NT_STATUS_XXX). Removed IS_BITS_xxx macros as they were just reproducing "C" syntax in a more obscure way. Jeremy.