[LUGOS] Printanje na Win share

Goran Kavrecic gorank at email.si
Fri Apr 2 11:46:36 CEST 2004


Ponovno sem poskusil na drugo mašino z malo povečanim debugom.
(izločil sem zadeve okoli codepage-a)

---
root at muskat goran # smbclient -L \\rianb01 -I192.168.10.100  -d 20
Serverzone is -7200
Adding chars 0x0 0x0 (l->u = False) (u->l = False)
...
Adding chars 0x7e 0x0 (l->u = False) (u->l = False)
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
Processing section "[global]"
doing parameter log file = /var/log/samba/log.%m
doing parameter dns proxy = no
doing parameter netbios name = MUSKAT
handle_netbios_name: set global_myname to: MUSKAT
doing parameter load printers = yes
doing parameter smb passwd file = /etc/samba/private/smbpasswd
doing parameter server string = Samba Server %v
doing parameter printing = cups
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
doing parameter workgroup = WORKGROUP
doing parameter os level = 20
doing parameter printcap name = lpstat
doing parameter encrypt passwords = yes
doing parameter security = share
doing parameter max log size = 50
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: ROLE_STANDALONE
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
...
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_dos_unicode_map: 850
load_unicode_map: loading unicode map for codepage 850.
load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
load_unicode_map: loading unicode map for codepage ISO8859-1.
added interface ip=192.168.10.207 bcast=192.168.10.255
nmask=255.255.255.0
Client started (version 2.2.8a).
Connecting to 192.168.10.100 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 1
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to RIANB01 failed (Called name not present)
Connecting to 192.168.10.100 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 1
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to *SMBSERVER failed (Called name not present)
---
A je sploh kaj poslal na drugo stran?

Na drugem linux serverju, ki share tudi windows-om dobim:
---
...
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok
size=79
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=10010
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12801 (0x3201)
...
---

Na Win mašini sem probal 'telent localhost 139' pa se nihče ni javil???
Potem tudi samba ne pride zraven, a?

Samba je 2.2.8a, če komu kaj pomeni.

LP, Goran

Na 1080645298, 2004-03-30 ob 13:14, je Goran Kavrecic napisal(a):
> Na 1080642395, 2004-03-30 ob 12:26, je David Klasinc napisal(a):
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Tuesday 30 of March 2004 12:02, Goran Kavrecic wrote:
> > > obe mašini sta na istem kablu (samo switch je vmes), normalno jo pingam.
> > > Nikakor pa ne uspem priti do te mašine z 'smbclient'. ime mašine imam
> > > tudi v 'hosts', pa tudi z '-I ip' sem probal, pa vedno javi, da se ne
> > > more povezat.
> > 
> > Kaj pa pravi smbclient -L <ip>
> > 
> smbclient -L 192.168.10.102
> added interface ip=192.168.10.207 bcast=192.168.10.255
> nmask=255.255.255.0
> session request to 192.168.10.102 failed (Called name not present)
> session request to 192 failed (Called name not present)
> session request to *SMBSERVER failed (Called name not present)
> 
> Prej je bila še dodatna težava, ker je Win2k zahteval user/pass.
> User je zdaj nastavljen (trenutno brez pass). Dodal sem tudi '-U user'
> pa ni pomagalo.
> 
> Pa firewall-a tudi ni. (Gasper)
> 
> LP, Goran
> 
> > 
> > - -- 
> > David!
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.4 (GNU/Linux)
> > 
> > iD8DBQFAaUtez0dAgYeWS2wRAqKMAJ9v4mLBc2eboiWiCzOvH2GrFGiT+ACfdDYJ
> > 3CvyFrHUd9VvLne6Z1j6i6I=
> > =oXT6
> > -----END PGP SIGNATURE-----
> 




More information about the lugos-list mailing list