I recently upgraded from RedHat 6.2 to 7.3. I had samba running
fine so I could mount space on our windows network. Somehow this
got broken in the upgrade. My linux box is called k466a and my
username there is mcliff. On the windows network I am cliffm.
If I do
~$ smbclient -L MCBRAGG -U cliffm
added interface ip=128.210.132.45 bcast=128.210.132.255
nmask=255.255.255.0
Password:
Domain=[KRANNERT] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
PPOPUP$ Disk SMS Site KRN DP 10/02/01
[more stuff cut]
Server Comment
--------- -------
A221C
AESOP
B11
BORIS
CAN1150C_760
[more stuff cut]
Workgroup Master
--------- -------
AE
KRANNERT MCBRAGG
MSHOME ATK-01
MYGROUP K466A
PURDUE KRAN 361
SUMMIT01 TSTATTS_LAPTOP
WORKGROUP COMPUTER-NAME
I want to mount the directory wwwroot on the server boris.
~$ smbclient //boris/wwwroot -U cliffm
added interface ip=128.210.132.45 bcast=128.210.132.255
nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
I've looked through the various help files, FAQs, and mailing lists,
but can't seem to solve the problem. The smb.conf file is below.
One other thing I noticed has changed since the upgrade is if I do
'smbclient -L k466a'
I used to get a Domain=[KRANNERT] but now I get Domain=[MYGROUP].
Thanks in advance,
Mike
------------------------- smb.conf -------------------------------
[global]
workgroup = KRANNERT
server string = Samba Server
encrypt passwords = Yes
map to guest = Bad Password
log file = /var/log/samba/log.%m
max log size = 0
socket address = 128.210.132.45
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest account = guest
hosts allow = 128.210.132. 127.
security = user
[homes]
comment = Home Directories
writeable = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[lp]
comment = HP4050_465 via Samba
path = /var/spool/samba
writeable = Yes
guest ok = Yes
printable = Yes
printer = lp
# oplocks = No
share modes = Yes
------------------------------------------------------------------
--
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Michael T. Cliff |
| Assistant Professor of Finance |
| Krannert School of Management |
| 1310 Krannert Building |
| Purdue University |
| West Lafayette, IN 47907 |
| e-mail: mcliff@mgmt.purdue.edu |
| web: www.mgmt.purdue.edu/faculty/mcliff |
| phone: (765) 496-7514 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi, I have installed samba 2.2.6. I've tried to connect from the Linux PC with samba to a PC with Window XP with smbclient -L //workgroup_name/PC_Window_XP_name It asks me the password, and then I receive the error as the subject. What to do ? The FAQ and the doc do not report this situation perhaps quite common. Please help ! Thank you, -- Giuseppe Torelli LCDN - Il portale al servizio del tuo PC http://www.lcdn.it
Mittwoch den 20.11.2002 um 16:14 CET +0100, schrieb Giuseppe Torelli:> Alle 13:46, mercoled? 20 novembre 2002, Frank Matthie? ha scritto: > > > You must use a Window XP local username and password, or if it is a running > > XP Prof inside a windows domain a domain username and password. > > > > Could you please write me the syntax of the smbclient command ?man smbclient? Is it easier to ask than to read? Should i say "rtfm"? ok: smbclient -L hostname -U username -W DomainNameOrWorkgroupName to list the shares of the smb server smbclient //hostname/sharename -U username -W DomainNameOrWorkgroupName -- Frank Matthie? fm+samba@Microdata-pos.de
Alle 14:23, mercoled? 20 novembre 2002, hai scritto:> ok: smbclient -L hostname -U username -W DomainNameOrWorkgroupName > to list the shares of the smb server > smbclient //hostname/sharename -U username -W DomainNameOrWorkgroupNameThank you so much for the disturb ! [root@Nancy gt]# smbclient -L rxzsue -U giuseppe -W IRT added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx nmask=255.255.255.0 Got a positive name query response from xxx.xxx.xxx.xxx ( xxx.xxx.xxx.xxx ) Password: session setup failed: NT_STATUS_LOGON_FAILURE "giuseppe" is the account on the windows XP, right ? Please help Frank, thank you Giuseppe Torelli LCDN - Il portale al servizio del tuo PC http://www.lcdn.it
Maybe Matching Threads
- question about combining data in two frames
- functions, `...' and .Rprofile
- [BUG] ocfs2/dlm: possible data races in dlm_drop_lockres_ref_done() and dlm_get_lock_resource()
- How to extract a specific substring from a string (regular expressions) ? See details inside
- [BUG] ocfs2/dlm: possible data races in dlm_drop_lockres_ref_done() and dlm_get_lock_resource()