Re: Samba Configuration-Urgent Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 --- Alexander Dalloz <ad+lists@xxxxxxxxx> skrev: 
> Am Mo, den 20.12.2004 schrieb Helena Carlsson um
> 1:03:
> 
> > I have installed Fedora Core 3 on a computer as
> server
> > on a small LAN. I have also installed Samba and
> Swat
> > on it to be configured as a print server. I have
> > created all Windows users (which exists on
> clients) on
> > this system too as unix users and also added them
> to
> > as Samba user too. Now, the server is visible on
> all
> > clients but when I click on it to open it, an
> error
> > message appears which says: Path not found. Maybe
> you
> > do not have permission.... I can also connect to
> samba
> > locally by samba users which I have ceated on
> command
> > line by using 
> > 
> > smbclint xxx -U xxx
> 
> So on the server itself you can use the samba shares
> with the specified
> user?
> 
> > Can anybody help ? Please ask me if any question
> about
> > configuration you need to know.
> 
> What does tell:
> 
> 1) testparm
> 2) iptables -nvL
>     (ports 137/udp, 138/udp, 139/tcp, 445/tcp should
> be open for the
> internal net) 
> 
> > Helena
> 
> Alexander
> 
> 
> -- 
> Alexander Dalloz | Enger, Germany | new address -
> new key: 0xB366A773
> legal statement: http://www.uni-x.org/legal.html
> Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel
> 2.6.9-1.6_FC2smp 
> Serendipity 01:10:58 up 9 days, 19:51, load average:
> 0.54, 0.36, 0.29 
> 

> ATTACHMENT part 1.2 application/pgp-signature
name=signature.asc
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
http://www.redhat.com/mailman/listinfo/fedora-list 


I can connect to samba from the server be using

smbclient xxx -U xxx

where xxx is the samba user which is supposed to be
used for windows user and it is the same username too.
When I am connected and I type dir all shared are
listed. I think it shows that samba user has been
created successfully. 

I opened those ports and now the error message has
been
changed. When I try to connect from a windows client
it says: The account is not authorized to log in from
this station. I think I am one step closer now, what
do you think ? :D I hope so. 

When I run Testparm the result was:

[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = HOME
        netbios name = FC3
        server string = Samba Server
        encrypt passwords = No
        password server = None
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        dns proxy = No
        ldap ssl = no
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        cups options = raw

[homes]
        comment = Home Directories
        read only = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No



and when I run iptable -nvL the result was:

[root@localhost ~]# iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source 
             destination
  258 20678 RH-Firewall-1-INPUT  all  --  *      *    
  0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source 
             destination
    0     0 RH-Firewall-1-INPUT  all  --  *      *    
  0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 243 packets, 18063 bytes)
 pkts bytes target     prot opt in     out     source 
             destination

Chain RH-Firewall-1-INPUT (2 references)
 pkts bytes target     prot opt in     out     source 
             destination
  182 12638 ACCEPT     all  --  lo     *      
0.0.0.0/0            0.0.0.0/0
   76  8040 ACCEPT     all  --  eth0   *      
0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  sit0   *      
0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     icmp --  *      *      
0.0.0.0/0            0.0.0.0/0           icmp type 255
    0     0 ACCEPT     esp  --  *      *      
0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     ah   --  *      *      
0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     udp  --  *      *      
0.0.0.0/0            224.0.0.251         udp dpt:5353
    0     0 ACCEPT     udp  --  *      *      
0.0.0.0/0            0.0.0.0/0           udp dpt:631
    0     0 ACCEPT     all  --  *      *      
0.0.0.0/0            0.0.0.0/0           state
RELATED,ESTABLISHED
    0     0 ACCEPT     udp  --  *      *      
0.0.0.0/0            0.0.0.0/0           state NEW udp
dpt:137
    0     0 ACCEPT     udp  --  *      *      
0.0.0.0/0            0.0.0.0/0           state NEW udp
dpt:138
    0     0 ACCEPT     tcp  --  *      *      
0.0.0.0/0            0.0.0.0/0           state NEW tcp
dpt:139
    0     0 ACCEPT     tcp  --  *      *      
0.0.0.0/0            0.0.0.0/0           state NEW tcp
dpt:445
    0     0 REJECT     all  --  *      *      
0.0.0.0/0            0.0.0.0/0           reject-with
icmp-host-prohibited


Make sense ?


Helena





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux