08-23-2009 12:40 PM
08-24-2009 04:25 PM
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface eth0 ip=fe80::20c:29ff:fe96:87b9%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth1 ip=fe80::20c:29ff:fe96:87c3%eth1 bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff::
added interface eth1 ip=172.16.193.132 bcast=172.16.193.255 netmask=255.255.255.0
added interface eth0 ip=192.168.1.100 bcast=192.168.1.255 netmask=255.255.255.0
Client started (version 3.2.5).
Connecting to 127.0.0.1 at port 445
error connecting to 127.0.0.1:445 (Verbindungsaufbau abgelehnt)
Connecting to 127.0.0.1 at port 139
error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt)
Error connecting to 127.0.0.1 (Verbindungsaufbau abgelehnt)
Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)
querying localhost on 172.16.193.255
querying localhost on 192.168.1.255
name_query failed to find name localhost
INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
INFO [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
08-26-2009 07:56 AM
dirk@debian1:~$ smbclient -L 192.168.1.100
Enter dirk's password:
Anonymous login successful
Domain=[meine-Workgroup] OS=[Unix] Server=[Samba 3.2.5]
Sharename Type Comment
——— —- ——-
print$ Disk Printer Drivers
alfresco-import Disk
IPC$ IPC IPC Service (Samba 3.2.5)
PDF Printer PDF
Anonymous login successful
Domain=[meine-Workgroup] OS=[Unix] Server=[Samba 3.2.5]
Server Comment
——— ——-
ALFRESCO Samba 3.2.5
DIRK-PC Samba 3.2.5
Workgroup Master
——— ——-
meine-Workgroup ALFRESCO
Von Alfresco sieht man erwartungsgemäß also erst einmal nichts.cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.sessionPort=1139
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
file-servers.xml folgende Zeilen hinzufügen (Ich habe nicht den ähnlich aussehenden block auskommentiert). <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445
iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139
iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137
iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138
dirk@debian1:~$ smbclient -L 192.168.1.100
Enter dirk's password:
Anonymous login successful
Domain=[meine-Workgroup] OS=[Java] Server=[Alfresco CIFS Server 5.0.0]
Sharename Type Comment
——— —- ——-
cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe \srvsvc failed with error NT_STATUS_BUFFER_TOO_SMALL
Alfresco Disk
IPC$ IPC
AVM Disk
Anonymous login successful
Domain=[meine-Workgroup] OS=[Java] Server=[Alfresco CIFS Server 5.0.0]
Server Comment
——— ——-
Workgroup Master
——— ——-
alfresco:~# iptables -F
alfresco:~# iptables -t nat -F
08-27-2009 02:02 PM
cifs.bindto=192.168.1.80
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.79
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0:1
allow-hotplug eth0
iface eth0:1 inet static
address 192.168.1.80
netmask 255.255.255.0
gateway 192.168.1.1
[global]
interfaces = eth0
bind interfaces only = Yes
…
mount -o username=hansi -o password=hinterseer -t smbfs //192.168.1.80/Alfresco /mnt/archiv
08-27-2009 02:16 PM
08-29-2009 02:58 PM
08-30-2009 04:36 AM
[global]
interfaces = eth0
bind interfaces only = Yes
08-30-2009 02:47 PM
09-01-2009 01:47 PM
09-05-2009 12:39 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.