summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-20mount.cifs: clean up preprocessor macrosJeff Layton1-17/+0
...remove some unneeded junk. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-20Update the READMEJeff Layton1-2/+9
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-20cifs-utils: switch to using autoconf package versionJeff Layton3-12/+5
Rather than using a hardcoded version string, use the VERSION macro that autoconf provides. This will help make it clear what version is actually being used in bug reports when someone runs "mount.cifs -V" or "cifs.upcall --version". Also, clean up AC_INIT and AM_INIT_AUTOMAKE macros. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-08autotools: make cifs.upcall dependent on an enable optionJeff Layton2-5/+48
Make it so that cifs.upcall is built by default, but autodisable it if the needed headers aren't present. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-07mount.cifs: check for NULL addr pointer before handling scopeidJeff Layton1-1/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-03docs: these tools are no longer part of SambaMichael Wood4-12/+6
Remove references to samba(7). There's no cifs-utils(7) man page, so don't refer to one. Signed-off-by: Michael Wood <esiotrot@gmail.com>
2010-03-03docs: change source from Samba 3.6Michael Wood4-6/+6
These tools are no longer part of the Samba suite, so change the source to cifs-utils 4.0. Signed-off-by: Michael Wood <esiotrot@gmail.com>
2010-02-26autotools: check for keyutils.hcifs-utils-4.0Jeff Layton1-0/+1
...and throw a (hopefully) helpful error message if it's not present. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-26cifs.upcall: use non-legacy krb5.h locationJeff Layton2-3/+4
<krb5.h> is deprecated in favor of <krb5/krb5.h>. Also, make autoconf throw a more helpful error message if it's not present. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-20autotools: remove autogenerated files from git repocifs-utils-4.0rc1Jeff Layton2-990/+0
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-20autoconf: make sure C files include config.hJeff Layton5-25/+18
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-19autoconf: now it works with autoconf 2.59 (RHEL5)Igor Mammedov1-7/+3
suggest to install libtalloc-devel if talloc.h is missing
2010-02-16spnego.c: make sure to free talloc contextsJeff Layton1-2/+6
We're using talloc_init to get a context in these functions but they aren't freeing them. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-14automake: make sure to link cifs.upcall to keyutils Jeff Layton1-1/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-14Don't make "configure" part of the repoJeff Layton1-7949/+0
2010-02-09autoconf: reshuffle header and function checkingJeff Layton1-3/+7
Make sure we bail out if necessary functions and headers aren't present. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-09cifs-utils: make sure -Wall is always set for buildsJeff Layton2-0/+2
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-09autoconf: bail out if talloc.h or krb5.h aren't presentJeff Layton2-12/+167
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-09autoconf: fix "quoting" around macro args in configure.acJeff Layton1-2/+2
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-09autoconf: add some missing files for the releaserelease-4-0a1cifs-utils-4.0a1Jeff Layton4-3/+1008
...we don't want people to have to run autoreconf on their own, so add them to the tree. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08silence some build warningsJeff Layton2-4/+4
mount.cifs.c: In function 'main': mount.cifs.c:1201: warning: 'dev_name' may be used uninitialized in this function mount.cifs.c:1217: warning: 'addr6' may be used uninitialized in this function asn1.c: In function 'ber_read_OID_String': asn1.c:591: warning: 'bytes_eaten' may be used uninitialized in this function Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08cifs.upcall: include util.hJeff Layton4-4/+6
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08Clean up ChangeLog and fix versioningJeff Layton0-0/+0
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08Add manpages to makefileJeff Layton1-0/+2
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08add autoconf check for talloc.hJeff Layton1-1/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08Add checks for specific krb5 functionsJeff Layton1-1/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08Add check for krb5.h.Jeff Layton1-3/+3
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08Add more docs...Jeff Layton3-0/+856
The client guide and manpage XML sources ...eventually we should add a way to build the manpages from XML Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08add manpages for mount.cifs and cifs.upcallJeff Layton2-0/+576
...for now we just add them as regular troff manpages. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08cifs.upcall: add proper licenses to filesJeff Layton4-0/+89
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-08cifs.upcall: remove strncasecmp redefinitionJeff Layton3-12/+22
...no need for that now. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07util.c: move strlcat and strlcpy into a separate "util.c" objectJeff Layton4-46/+58
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07replace.h: pare down some unneeded replacementsJeff Layton1-52/+0
A lot of this stuff is for other platforms, which we don't need to really worry about much with cifs-utils. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07spnego.c: add new spnego.c file with SPNEGO/GSSAPI routines we needJeff Layton3-2/+95
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07asn1.c: remove a couple of unneeded functionsJeff Layton2-102/+0
These depends on some utility functions that we don't have and we aren't planning to use them anyway. Just remove them. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07add asn.1 files from samba treeJeff Layton2-0/+1052
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07spnego.h: add some needed OID'sJeff Layton3-1/+11
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: include arpa/inet.hJeff Layton3-2/+4
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: include netdb.hJeff Layton1-0/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: replace SMB_XMALLOC_ARRAY with callocJeff Layton1-4/+4
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: include time.hJeff Layton1-0/+1
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07replace.h: add SAFE_FREEJeff Layton1-0/+4
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: add a spnego.h fileJeff Layton2-0/+12
...to hold SPNEGO definitions. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: fix up the includesJeff Layton1-4/+11
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: replace SMB_STRNDUP with strndupJeff Layton3-3/+4
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07Initial autotools additionJeff Layton12-0/+10415
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: borrow some of the samba headersJeff Layton3-0/+1097
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: replace cli_krb5_get_ticketJeff Layton1-3/+84
We need to replace the function that we use to fetch krb5 creds since that's currently provided by a libsmbclient object. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: don't use smb_krb5_unparse_nameJeff Layton1-4/+18
...we don't really need a talloc-ified version here. Just use the normal one. Also don't use strnequal. Use strncasecmp instead. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-02-07cifs.upcall: don't use smb_krb5_principal_get_realmJeff Layton1-1/+26
...we need our own version. Signed-off-by: Jeff Layton <jlayton@redhat.com>