05-07-2014
Error on smbclient login on Red Hat
I have the smbclient installed and I am able to see information from the '-L' option. But when I attempt to login I'm getting the "NT_STATUS_BAD_NETWORK_NAME". I was hoping for help, because I'm not sure what is supposed to go into the smb.conf file. My goal is to transfer files from my Linux host to a windows share.
hldv0153 - name of the linux server
gaalpa1ihsshw11 - name of the windows server
aots\UFO\UFOUserCharts - name of the share
/opt/app/samba/files - linux directory housing files
This is the response from my "smbclient -L gaalpa1ihsshw11" command
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Domain=[ITDOMAIN] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
aots Disk
BMC$ Disk
C$ Disk Default share
D$ Disk Default share
devices Disk
E$ Disk Default share
IPC$ IPC Remote IPC
kforms Disk
LogFiles Disk
omwallpaper Disk
sitelauncher Disk
W3SVC2 Disk
Domain=[ITDOMAIN] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
This is what my smb.conf file consists of. I'm not sure if the netbios name is correct. Any help as to what to place into the smb.conf file is appreciated.
[global]
workgroup = ITTDOMAIN
netbios name = gaalpa1ihsshw11
server string = Samba Server %v
map to guest = Bad User
log file = /opt/app/d1car1m6/samba/var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
dns proxy = No
security = Domain
9 More Discussions You Might Find Interesting
1. Linux
As some users may know, Red Hat 9 uses a graphical login. This works perfectly fine, but one day I had a problem. I logged in as root and changed the resolution of the display. It told me to log out for the changes to take effect.
I did...but was faced with my monitor going down to standby. It... (3 Replies)
Discussion started by: Alux
3 Replies
2. Linux
Hi,
I have got a very simple, but unresolved problem. I am trying to login in Red Hat Linux here. However the login shell is mentioned as csh in /etc/passwd file. I am unable to make out which file is executed on login - .bash_profile ? There is no file like .bash_login or .bash_tshrc.... (3 Replies)
Discussion started by: asutoshch
3 Replies
3. Linux
Hi All,
Where should start checking error on red hat?
I want to check error on system, paging, memory, pci, external storage, etc.
I few advise will do and highly appreciated.
Thanks,
itik (3 Replies)
Discussion started by: itik
3 Replies
4. Red Hat
I get error message when boot up red hat linux
Buffer I/O error on device hdc ,logical block XX
...
/dev/hdc:read failed after 0 of 2048 at 0 : input/output error
.....
I paste the /etc/fstab file in here
/dev/hdc is cdrom
How can I fix it
Please advice
# cat /etc/fstab
# This file... (3 Replies)
Discussion started by: chuikingman
3 Replies
5. Red Hat
Hi There,
I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue.
Any expert have encounter this problem? Thanks.
Regards,
Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies
6. Red Hat
Hello everybody, the reason why im posting this thread is because i've installed an oracle test database on RHEL 5, on a localhost (Since it is for test)... the thing is, after i have installed the DB it works just fine, but after i re start it, i get the following errors when i want to go into the... (5 Replies)
Discussion started by: blacksteel1988
5 Replies
7. UNIX for Dummies Questions & Answers
how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies
8. Red Hat
Hi,
I have two questions,first of all is where can I collect more error logs(the log under /var/log/messages), also give the corresponding explain is grateful.The second one is the log under various versions(such as red hat,suse,etc) is the same or not.
Thanks for answers. (1 Reply)
Discussion started by: zhaoyy
1 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I am getting below error when I try to connect with ssh. Not sure why the error is on.I am able to connect from a different login from the same server
(local: rhe/home/s3>) ssh acces1@91.1.12.102
Connection closed by 91.1.12.102
(local: rhe/home/s3>) ssh redhlinx102
Connection... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
LEARN ABOUT DEBIAN
rhnreg_ks
RHNREG_KS(8) Red Hat, Inc. RHNREG_KS(8)
NAME
rhnreg_ks - A program for non interactively registering systems to RHN Satellite or Red Hat Network Classic.
SYNOPSIS
rhnreg_ks [options]
DESCRIPTION
rhnreg_ks is a utility for registering a system with the RHN Satellite or Red Hat Network Classic. It is designed to be used in a non-
interactive environment (a kickstart style install, for example). All the information can be specified on the command line or stdin.
OPTIONS
--profilename
Specify the profile name that should be used as an identifier for the system in RHN Satellite, Red Hat Network Classic
--username
The username to register the system with under RHN Satellite or Red Hat Network Classic. This can be an existing RHN Satellite or
Red Hat Network Classic username, or a new username.
--password
The password associated with the username specified with the --username option. This is an unencrypted password.
--activationkey
Specify/use a serial number to associate with the system. This is optional, but activation keys can really simplify the registration
process. Learn more about activation keys in the online RHN documentation.
--contactinfo
This option has been deprecated. Please login to the server web user interface and update your contactinfo.
--nohardware
Do not probe or upload any hardware information.
--nopackages
Do not profile or upload any package information.
--novirtinfo
Do not profile or upload any virtualization information.
--norhnsd
Do not start rhnsd after completion.
--force
Register the system even if it has already been registered.
--version
Show the version of rhnreg_ks.
--proxy
Specify a HTTP proxy to use.
--proxyUser
Specify a username to use with an authenticated HTTP proxy.
--proxyPassword
Specify a password to use with an authenticated HTTP proxy.
--sslCACert
Specify a path to a SSL CA certificate to use.
--serverUrl
Specify a URL to as the server.
-h, --help
Show a help message and exit.
FILES
/etc/sysconfig/rhn/systemid
The digital server ID for this machine if the system has been registered onto RHN Satellite or Red Hat Network Classic. This file
does not exist otherwise.
/etc/sysconfig/rhn/up2date
The common configuration file used by RHN client programs.
EXAMPLES
Register a new system to Red Hat Network Classic:
rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar"
Register a new system to Red Hat Network Classic with contact info:
rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar" --contactinfo < contactinfo
where the file "contactinfo" contains data in the format:
first_name: Billy
last_name: Bob
company: SomeCompanyName
city: Springfield
fax: 555-5555
phone: 555-5555
SEE ALSO
rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5).
AUTHORS
See the AUTHORS file included with this software.
This manual page was written by Adrian Likins <alikins@redhat.com> and James Bowes <jbowes@redhat.com>
BUGS
Report bugs to <http://bugzilla.redhat.com>.
COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Linux 2011 February 4 RHNREG_KS(8)