summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Added new doserror code from HEAD.Jeremy Allison2001-08-221-29/+32
| | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | Realloc fix.Jeremy Allison2001-08-191-130/+139
| | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | Added JF's fix for null data & param. Added Realloc fix.Jeremy Allison2001-08-171-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | Merged DOS errorcode returns from HEAD.Jeremy Allison2001-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2001-08-091-0/+80
| |\ \ \ \ \
| * | | | | | Fix - change last malloc() to talloc().Jeremy Allison2001-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Added "use mmap" (defaults to true) so this can be turned off in HPUX.Jeremy Allison2001-07-302-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged in the "create account in domain" feature of smbpasswd from HEAD. Jeremy.
| * | | | | | Mega-winbind merge into 2.2.Tim Potter2001-07-241-7/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cut across all the winbind stuff from head. Needed to undo some of the character set stuff and merge a bunch of rpc client files. This passes the winbind test suite - I'll run a 10000 user test on my vmware session at home. Still need to get the pam winbind stuff working though.
| * | | | | | Insure caught the fact that PTRDIFFs were being done between two unrelatedJeremy Allison2001-07-022-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointers. Jeremy.
| * | | | | | cli_read() was reading too many bytes.Andrew Tridgell2001-07-011-2/+1
| | | | | | |
| * | | | | | Fixed clistr_align merge that broke the build. Sorry.Jeremy Allison2001-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Merge client libsmb code over from HEAD to allow build tests.Jeremy Allison2001-06-292-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Merged cli_pipe large read fix over pipes from HEAD. Fixed cli_read().Jeremy Allison2001-06-291-82/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | get rid of compile warning about unused variableHerb Lewis2001-06-271-2/+2
| | | | | | |
| * | | | | | Add in socklen_t fix and SIG_ATOMIC_T change.Jeremy Allison2001-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | fix compiler warning - unsigned char should be just charHerb Lewis2001-06-251-1/+1
| | | | | | |
| * | | | | | Merge client lsa fixes from HEAD (fix potential crashes).Jeremy Allison2001-06-221-21/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,Jeremy Allison2001-06-212-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy.
| * | | | | | Fixed W2K SP2 joining a Samba PDC.Jeremy Allison2001-06-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | New info level tester.Jeremy Allison2001-06-181-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Fixes backported from HEAD to get rid of gethostbyname stuff.Jeremy Allison2001-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added "Jim McDonough" <jmcd@us.ibm.com> fixes for directory ACL get/set from Win9x. Jeremy.
| * | | | | | Fixed a small damn syntax error in libsmbclient.cRichard Sharpe2001-06-121-1/+1
| | | | | | |
| * | | | | | Changed all tdb_open()'s to tdb_open_log()'s. As HEAD.Jeremy Allison2001-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison2001-06-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added smbtorture test for this. Jeremy.
| * | | | | | couple of minor typos.Gerald Carter2001-05-311-2/+0
| | | | | | |
* | | | | | | Sync for release.Jeremy Allison2002-02-017-11/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
* | | | | | | Move over to RELEASE branch.Jeremy Allison2002-02-0128-2991/+4243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
* | | | | | | This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-01-306-0/+2609
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | 'SAMBA_2_2_RELEASE'.
| * | | | | | Removed version number from file header.Tim Potter2002-01-3040-77/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
| * | | | | | Name another talloc.Andrew Bartlett2002-01-281-1/+1
| | | | | | |
| * | | | | | Back out some of the less well thought out ideas from last weeks work onAndrew Bartlett2002-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | winbind default domains, particulary now I understand whats going on a lot better. This ensures that the RPC client code does as little 'magic' as possible - this is up to the application/user. (Where - for to name->sid code - it was all along). This leaves the change that allows the sid->name code to return domains and usernames in seperate paramaters. Andrew Bartlett
| * | | | | | Fix up a security issue with the way we handle domain groups retuned on theAndrew Bartlett2002-01-261-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | info3. These are RIDs, and it only makes sense to combine them with the domain SID returned with them. This is important for trusted domains, where that sid might be other than the one we currently reterive from the secrets.tdb. Also remove the become_root()/unbecome_root() wrapper from around both remaining TDB users: Both are now initialised at smbd startup. Andrew Bartlett
| * | | | | | Removed unused static variable.Tim Potter2002-01-251-1/+0
| | | | | | |
| * | | | | | Add more string explanations of RAP errors that are already documentedMartin Pool2002-01-221-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in clirap2.
| * | | | | | Spelling fixes.Tim Potter2002-01-201-0/+2
| | | | | | |
| * | | | | | Fix a couple of memory leaks in the cli_establish_connection() code's failureAndrew Bartlett2002-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case. Thanks to Nigel Williams <nigel@wednesday.demon.co.uk> for spotting these! Andrew Bartlett
| * | | | | | This patch makes the 'winbind use default domain' code interact better withAndrew Bartlett2002-01-201-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smbd, and also makes it much cleaner inside winbindd. It is mostly my code, with a few changes and testing performed by Alexander Bokovoy <a.bokovoy@sam-solutions.net>. ab has tested it in security=domain and security=ads, but more testing is always appricatiated. The idea is that we no longer cart around a 'domain\user' string, we keep them seperate until the last moment - when we push that string into a pwent on onto the socket. This removes the need to be constantly parsing that string - the domain prefix is almost always already provided, (only a couple of functions actually changed arguments in all this). Some consequential changes to the RPC client code, to stop it concatonating the two strings (it now passes them both back as params). I havn't changed the cache code, however the usernames will no longer have a double domain prefix in the key string. The actual structures are unchanged - but the meaning of 'username' in the 'rid' will have changed. (The cache is invalidated at startup, so on-disk formats are not an issue here). Andrew Bartlett
| * | | | | | This is the 'winbind default domain' patch from Alexander BokovoyAndrew Bartlett2002-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <a.bokovoy@sam-solutions.net>. The idea is the domain\username is rather harsh for unix systems - people don't expect to have to FTP, SSH and (in particular) e-mail with a username like that. This 'corrects' that - but is not without its own problems. As you can see from the changes to files like username.c and wb_client.c (smbd's winbind client code) a lot of assumptions are made in a lot of places about lp_winbind_seperator determining a users's status as a domain or local user. The main change I will shortly be making is to investigate and kill off winbind_initgroups() - as far as I know it was a workaround for an old bug in winbind itself (and a bug in RH 5.2) and should no longer be relevent. I am also going to move to using the 'winbind uid' and 'winbind gid' paramaters to determine a user/groups's 'local' status, rather than the presence of the seperator. As such, this functionality is recommended for servers providing unix services, but is currently less than optimal for windows clients. (TODO: remove all references to lp_winbind_seperator() and lp_winbind_use_default_domain() from smbd) Andrew Bartlett
| * | | | | | Made a debug look nicer.Tim Potter2002-01-171-1/+2
| | | | | | |
| * | | | | | fixed a typo in the error map for WRONG_PASSWORDAndrew Tridgell2002-01-171-1/+1
| | | | | | |
| * | | | | | Merged in %S fixes and XX_NOT_CHANGED fixes from 2.2.Jeremy Allison2002-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Fixup error mapping so we have only one table containing errno -> dos error ↵Jeremy Allison2002-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> NT STATUS maps. Fixes problem with disk full returning incorrect error. Jeremy.
| * | | | | | Added CIFS UNIX extension code to client.Jeremy Allison2002-01-161-0/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | Merge of name_status_find() debugs.Tim Potter2002-01-161-5/+18
| | | | | | |
| * | | | | | Removed fprintf(stderr, ...); calls which should not be present in libraryTim Potter2002-01-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | functions.
| * | | | | | Many thanks to Alexander Bokovoy <a.bokovoy@sam-solutions.net>.Andrew Bartlett2002-01-121-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work was sponsored by Optifacio Software Services, Inc. Andrew Bartlett (various e-mails announcements merged into some form of commit message below:) This patch which adds basics of universal groups support into Samba 3. Currently, only Winbind with RPC calls supports this, ADS support requires additional (possibly huge) work on KRB5 PAC. However, basic infrastructure is here. This patch adds: 1. Storing of universal groups for particular user logged into Samba software (smbd/ two winbind-pam methods) into netlogon_unigrp.tdb as array of uint32 supplemental group rids keyed as DOMAIN_SID/USER_RID in tdb. 2. Fetching of unversal groups for given user rid and domain sid from netlogon_unigrp.tdb. Since this is used in both smbd and winbindd, main code is in source/lib/netlogon_uingrp.c. Dependencies are added to AUTH_OBJ as UNIGRP_OBJ and WINBINDD_OBJ as UNIGRP_OBJ. This patch has had a few versions, the final version in particular: Many thanks to Andrew Bartlett for critics and comments, and partly rewritten code. New: - updated fetching code to changed byte order macros - moved functions to proper namespace - optimized memory usage by reusing caller's memory context - enhanced code to more follow Samba coding rules Todo: - proper universal group expiration after timeout
| * | | | | | Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-119-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy.
| * | | | | | fixed a crash bug in domain auth caused by an uninitialised nt_statusAndrew Tridgell2002-01-111-0/+2
| | | | | | |
| * | | | | | cope with direct IP addresses in resolve_name()Andrew Tridgell2002-01-111-0/+5
| | | | | | |
| * | | | | | Fix up 'net ads join' to delete and rejoin if the account already exists.Andrew Bartlett2002-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes up a problem where a machine would join (or downgrade by trust password change) to NT4 membership and not be able to regain full ADS membership until a 'net ads leave'. Andrew Bartlett