cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS and network configuration

omegerard
Champ in-the-making
Champ in-the-making
Hi,

I've got the v1 enterprise version installed on my laptop (W2k box).

When running in the LAN at home, CIFS is working fine.

At the office, I cannot even map the Alfresco repository onto a local drive. If I try to mount it on a Linux (Redhat) machine, I get this:

bash-2.05b$ smbclient -L //Alcatraz/Alfresco -U admin -d5
<lots of debugging info left out>
Received a packet of len 62 from (146.103.31.101) port 137
nmb packet from 146.103.31.101(137) header: id=15027 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=ALCATRAZ<20> rr_type=32 rr_class=1 ttl=300000
    answers   0 char `..g.e   hex 600092671F65
Got a positive name query response from 146.103.31.101 ( 146.103.31.101 )
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
Opening cache file at /var/cache/samba/gencache.tdb
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
Attempt to open gencache.tdb has failed.
Connecting to 146.103.31.101 at port 445
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
session request ok
<lots of debugging info left out>
Serverzone is -3600
Password: <PASSWD KEPT SECRET>
Doing spnego session setup (blob length=103)
<lots of debugging info left out>
Domain=[IMEC] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
session setup ok
size=35
smb_com=0x75
smb_rcls=189
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=18019
smb_uid=2048
smb_mid=4
smt_wct=0
smb_bcc=0
tree connect failed: NT_STATUS_DUPLICATE_NAME
bash-2.05b$


I asked Google to collect some info on the error message, but she didn't come up with a suitable suggestion.

Could anyone help me out?
Could this have something to do with firewall restrictions? If so, what do I tell the network admins?

Kind regards

Ludo
3 REPLIES 3

omegerard
Champ in-the-making
Champ in-the-making
Hi,

To give a short update on my tests, let me inform you that I managed to map the Alfresco repository onto a drive of my W2K laptop. And, surprise, surprise: I can  smbmount the repository onto a directory on my linux box.

Now, how did I do that?

I don't know.

I executed exactly the same commands in exactly the same sequence today. The only difference may have been that when I logged on to my account and started the Alfresco server, my laptop had not received an IP address. Could this have fooled the network implementation into the (un)expected behaviour?

W2K really behaves rather strange as a networked machine. When the system is not connected, you cannot map a network drive that is available on the local machine. On the other hand, you can browse pages that are served by a webserver on the local machine.  Isn't that contradictory behaviour?

Ludo

sushilvegad
Champ in-the-making
Champ in-the-making
Ludo,

Could you finally get around it?. I have the same problem. I cannot map to the alfresco server when I am in a network different than the one where the server is installed.

Please help me if you could.

Thanks,
Sushil

omegerard
Champ in-the-making
Champ in-the-making
Hi Sushil


Well, as my company IT department upgraded my laptop to WXP, the problem was solved. It seems that the W2K's TCP/IP stack is shaky at times. I'd suggest you move to WXP as well, as it will solve most of the network related issues.

Regards

Ludo