getinfo.cifs man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

GETINFO.CIFS(1)						       GETINFO.CIFS(1)

NAME
       getinfo.cifs  -	collect information useful for troubleshooting HP CIFS
       problems

SYNOPSIS
       getinfo.cifs [-t S|P|C] [-p collectionsfilepath] [-o tarfilename] [-x]
		  [-X] [-lc] [-lh]

DESCRIPTION
       This tool is part of the CIFS WTEC Support Tools suite.

       getinfo.cifs  is a relatively small perl script which collects informa‐
       tion useful for troubleshooting problems on  samba(7), CIFS Client,  or
       PAM_NTLM implementations running on the system.

OPTIONS
       -h     Print a summary of command line options.

       -t <S|C|P>
	      The  parameter  specifies	 what type of data to collect - choose
	      only one of S  (HP  CIFS	Server),  C  (HP  CIFS	Client)	 or  P
	      (pam_ntlm)  depending on the problem you are gathering data for.
	      The choice here determines what configuration files to  collect,
	      how to find the debug logs, etc.

       -p <path>
	      Path  to	collection directory. This is the fully qualified path
	      to an existing directory where you want the getinfo.cifs	script
	      to store the information it collects in preparation for creating
	      the tar file of information you will send to HP to  aid  in  re‐
	      solving  whatever	 issue has generated the need for data collec‐
	      tion. The default collection directory path is /tmp. The tarfile
	      will  be	created	 in  this directory, as well as a subdirectory
	      called CIFSDIAG, where all other collected data will be stored.

       -o <filename>
	      The name to be used for the getinfo.cifs output tarfile. Default
	      is  CIFS.tar.Z  (file  is compressed after tarring to facilitate
	      sending.

       -x     Do NOT collect sensitive data. Setting this option will  inhibit
	      collection  of  smbpasswd, secrets.tdb, etc/passwd and etc/group
	      information.

       -X     Do NOT collect ANY HP-UX files.  This will prevent collection of
	      nsswitch.conf, pam.conf, inetd.conf, etc....

       -lh    Collect	HPUX  log  files.   This  will	enable	collection  of
	      /var/adm/syslog log files.

       -lc    Collect CIFS log files.  This will enable collection of HP  CIFS
	      Server  log files in /var/opt/samba, or HP CIFS Client log files
	      in /var/opt/cifsclient/debug directories. Since these log	 files
	      tend to be LARGE, you would probably at LEAST want to remove any
	      current logs and	reproduct  the	problem	 before	 running  get‐
	      info.cifs,  so  that you only collect logs that are pertinent to
	      the problem.

INFORMATION COLLECTED
       Specific information collected is:

	      uname -a

	      rpcinfo -p|grep nfs

	      what smbd|cifsclientd|libpam_ntlm.1

	      trusted system status

	      HP CIFS Sever running under ServiceGuard?

       HP-UX Files Collected:

	      /etc/nsswitch.conf

	      /etc/pam.conf

	      /etc/inetd.conf

	      /etc/services

	      /etc/krb5.conf

	      if NOT -x:

	      /etc/passwd

	      /etc/group

	      if -lh:

	      /var/adm/syslog/*

       HP CIFS specific Files Collected:
	      if -S:

	      /etc/opt/samba/smb.conf

	      /etc/opt/samba/username.map

	      if -C||-P:

	      /etc/opt/cifsclient/cifsclient.cfg

	      /etc/opt/cifsclient/pam/smb.conf

	      if NOT -x:

	      /var/opt/samba/private/smbpasswd

	      /var/opt/samba/private/secrets.tdb

	      if -lc:

	      /var/opt/samba/log.* (if -S)

	      /var/opt/cifsclient/debug/* (if -C)

EXAMPLES
	      getinfo.cifs -C -lh -lc

	      Would collect info pertinent to a Cifs Client problem, including
	      CIFS Client logfiles, and the syslog files.

	      getinfo.cifs -S

	      Would  collect  info pertinent to a CIFS Server problem, but NOT
	      get CIFS Server debug logs or system logs.

DEPENDENCIES
       This script was developed and tested under perl version 5.005_02	 built
       for  PA-RISC1.1 . While it may run under previous versions it is recom‐
       mended that you install 5.005_02 or higher for best results.  NOTE: you
       may  need  to  modify the first line to point to whatever location YOUR
       environment has perl installed.

SEE ALSO
       nmbd(8) and smbd(8) samba(7).

AUTHOR
       Don McCall, HP WTEC NOS Support Team

							       GETINFO.CIFS(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net