Re: Samba issue - Newbie looking for some advice

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

 



You have to set security level in samba or if you want
simple sharing without authentication then ....backup
original smb.conf. Create new smb.conf with minimal
configuration just for sharing... with the following
contents...

##server configuration for peer to peer file sharing##
[global]
   workgroup = MYGROUP
   server string = Samba Server
                                                      
                                                      
                  printcap name = /etc/printcap
   load printers = yes
                                                      
                                                      
                  cups options = raw
                                                      
                                                      
                  log file = /var/log/samba/%m.log
                                                      
                                                      
                  max log size = 50
                                                      
                                                      
                  security = share
                                                      
                                                      
                    socket options = TCP_NODELAY
SO_RCVBUF=8192 SO_SNDBUF=8192
                                                      
                                                      
                  dns proxy = no
                                                      
                                                      
               
                                                      
                                                      
               
##==== Share Definitions ==================##
[homes]
   PATH = /home
   comment = Home Directories
   browseable = yes
   writable = no

                                                      
                                                      
               
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
                                                      
                                                      
               
                                                      
                                                      
               [new_share]
        PATH = /tmp/share
        public = yes
        browseable = yes
        writeable = yes

# if you want writeable permissions.

# service smb restart

regards
IAK


--- "Boyd, Ronnie" <Ronnie.Boyd@xxxxxxxxxx> wrote:

> Hi folks
>  
> Wonder if anyone could advise me on a red
> hat/windows 2000 network issue? I have a single red
> hat 9 box, which has a directory I would like shared
> to 6 windows 2000 pro workstations.
>  
> >    Samba has been installed already.
>  
> >    When I testparm the smb.conf file, it passes
> ok.
>  
> >    If I search for the linux box via windows
> network neighborhood, it finds it quickly enough,
> and states that it is a samba server.
>  
> But I cannot access anything on the red hat box,
> nothing at all, the usual message is No network path
> found
>  
> When I try to map to a share i.e. net use l:
> \\LinuxServer\Share I also get this error message:
> No service is operating at the destination network
> endpoint on the remote system
>  
> I can't even net view redhat box
>  
> I know there are loads of samba trouble-shooting
> sites, as I've been to a whole bunch of them,. but
> none have helped so far.
>  
> On the linux box, if I run smbclient
> /root/files/alias it comes up with something like
> this:
>  
> Password:
> session setup failed: NT_STATUS_LOGON_FAILURE
>  
> Which I think means that samba is working ok on the
> box, but there is a user account issue somewhere.
> That doesn't bother me too much, I can search out a
> resolution for that.
>  
> But when I do this from a command line on my windows
> box: telnet redhatbox 139 it says that connection
> was refused. That means I think that samba is NOT
> working ok.
>  
> The smb.conf file is fairly simple, nothing fancy in
> it. There is an encrypt passwords = yes entry to
> suit the windows boxes
>  
> I have the necessary samba users, copied over from
> the existing linux user accounts using this: cat
> /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
>  
> All I want to do is make a single folder on red hat
> box accesible by the windows 2000 boxes.
>  
> The samba service is started using service smb start
>  
> Any advice? 
>  
> Much appreciated
>  
> RB
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
>
________________________________________________________________________
> This email and any files transmitted with it are
> confidential and intended solely for the use of the
> individual or entity to which they are addressed. 
> If you have received this email in error please
> notify the Diageo Servicedesk on +44 (0) 131 319
> 6000
> 
> This footnote also confirms that this email has been
> scanned for all viruses by the Messagelabs SkyScan
> service.
> 
> http://www.diageo.com
> 
>
________________________________________________________________________
> --
> redhat-list mailing list
> unsubscribe
>
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


=====
--

________________
Imtiaz Ahmed Khan
Sr. System Consultant
ANTS Consultiing


Org:            ANTS Consulting
URL:           http://ants.com.pk/
Eml:            sendtoimtiaz@xxxxxxxxx
Mob:           +92300-2128278 
___________________________________


		
__________________________________ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux