Can't get samba to work!

Reply

Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #11
Jun 13th, 2002
Eek, sorry it took me so long to respond. Your post seemed to have gotten lost in the forums and I didn't realize you responded

My XP box has Norton firewall is already set up to accept all 192.168.0.* connections - plus telnet works and my linux box is pingable. So the pcs can definitely see each other on the network.

I am thinking the problem has something to do with permissions on the linux box. (smbpasswd i guess?)
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Can't get samba to work!

 
0
  #12
Jul 25th, 2002
OMG YES !! Samba works perfectly now and I'm a happy camper. I followed the RedHat Samba Configuration page @ redhat.com and then I made sure to enable the smb service manually. Other than that, I don't know what I did right this time that I did wrong all the other times!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 2
Reputation: hamza is an unknown quantity at this point 
Solved Threads: 0
hamza hamza is offline Offline
Newbie Poster

Re: Can't get samba to work!

 
0
  #13
May 30th, 2003
Originally Posted by cscgal
I'm having a huge problem trying to get samba to work. I want to be able to put my Redhat 7.3 box onto my Windows workgroup. My linux box can see my windows pcs fine, but not the other way around. My linux box appears in Network Neighborhood in windows, but everytime I click on it, I get an error saying The Network Path Was Not Found. If I run smbclient from my linux box, it CAN log in to itself fine. Any ideas where I could get really detailed samba help for a newbie?   Also, if anyone here was able to get it to work, can you please post your smb.conf file? Thanx!
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb
 
0
  #14
Jun 1st, 2003
huh ??
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 2
Reputation: hamza is an unknown quantity at this point 
Solved Threads: 0
hamza hamza is offline Offline
Newbie Poster

Re: Can't get samba to work!

 
0
  #15
Jun 9th, 2003
Originally Posted by cscgal
I'm having a huge problem trying to get samba to work. I want to be able to put my Redhat 7.3 box onto my Windows workgroup. My linux box can see my windows pcs fine, but not the other way around. My linux box appears in Network Neighborhood in windows, but everytime I click on it, I get an error saying The Network Path Was Not Found. If I run smbclient from my linux box, it CAN log in to itself fine. Any ideas where I could get really detailed samba help for a newbie?   Also, if anyone here was able to get it to work, can you please post your smb.conf file? Thanx!
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 19
Reputation: deanpence is an unknown quantity at this point 
Solved Threads: 0
deanpence deanpence is offline Offline
Newbie Poster

Re: Can't get samba to work!

 
0
  #16
Jul 14th, 2003
In interest of future discussion, here?s an example smb.conf file (very similar to my own), even though Dani already has her Samba working: (Note: I use Samba as my PDC, not a Windows box.)

[global]
        # Basic server settings
        netbios name  = MYSERVER
        server string = MyServer Samba Server
        workgroup     = MYDOMAIN

        # Act as domain and local master browser.
        os level         = 99
        preferred master = true
        domain master    = true
        local master     = true
        domain logons    = true

        time server = true

        # Required for PDC.
        security          = user
        encrypt passwords = true
        smb passwd file   = /etc/samba/smbpasswd

        # User profiles
        logon path = \\%N\profiles\%U

        # Home directory
        logon drive = H:
        # For Win9x
        #logon home  = \\%N\%U\.profile
        # For Win2k
        logon home  = \\%N\%U

        # Login script relative to [netlogon]
        ;logon script = logon.cmd
        # I run a .js script; don't do this without
        # the newest Windows Script Host.
        logon script = %U.js

        # For adding machine trust accounts
        add user script = \
                /usr/sbin/useradd \
                        -d /dev/null \
                        -g 1000 \
                        -s /sbin/falselogin \
                        -M %u

        # Hosts
        hosts allow = 192.168.0. 127.
        hosts deny  = ALL

        # Printing
        # I don't using any printers.
        #printcap name = /etc/printcap
        #load printers = true
        #printing      = lprng

        # Logging
        #log file     = /var/log/samba/%m.log
        max log size = 4096
        log level    = 1

        # Password sync stuff
        unix password sync    = true
        passwd program        = /usr/bin/passwd %u
        passwd chat           = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

        pam password change   = true
        obey pam restrictions = false

        # Network
        socket options = \
                TCP_NODELAY \
                IPTOS_LOWDELAY \
                SO_KEEPALIVE \
                SO_RCVBUF=8192 \
                SO_SNDBUF=8192

        # Network & security
        interfaces           = 192.168.0.1/24
        bind interfaces only = true
        allow hosts          = 192.168.0.0/255.255.255.0, localhost
        remote announce      = 192.168.0.255

        # Name resolution
        wins support = true
        dns proxy    = false

        # Case preservation
        preserve case       = true
        short preserve case = true
        ;default case = lower


        # .mdb (Access) and .pst (Outlook) files
        # shouldn't be cached on the client.
        veto oplock files = /*.mdb/*.MDB/*.pst/*.PST

        # Shouldn't see unreadable files.
        hide unreadable = true

        browseable = true

        deadtime = 15

[homes]
        comment        = Home Directories
        # The [homes] share itself is falset browseable.
        # Clones will inherit from [global].
        browseable     = false
        writeable      = true
        valid users    = %S
        create mode    = 0660
        directory mode = 0770
        guest ok       = false

[example]
        comment     = Example Share
        path        = /path/to/example
        writeable   = true
        guest ok    = false
        valid users = root me you otherguy

[netlogon]
        comment     = Network Logon Service
        path        = /path/to/netlogon
        guest ok    = true
        writeable   = false
        write list  = root dean hall
        ;share modes = false

[profiles]
        comment        = Profile Share
        path           = /path/to/profiles
        writeable      = true
        create mask    = 0600
        directory mask = 0700
        ;browseable     = true
        ;guest ok       = true
        ;csc policy     = disable
        ;profile acls   = true
deanpence
Mean sumbitch

http://deanpence.com
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb
 
0
  #17
Jul 14th, 2003
Nice, thanks!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5
Reputation: outlook is an unknown quantity at this point 
Solved Threads: 0
outlook outlook is offline Offline
Newbie Poster

Re: Can't get samba to work!

 
0
  #18
Nov 22nd, 2005
Users are sure to find in pst recovery and outlook express inbox recovery tool, simple yet versatile, to solve potential problems and stay in control of damaged dbx files in the safe folder.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the *nix Software Forum


Views: 12733 | Replies: 17
Thread Tools Search this Thread



Tag cloud for *nix Software
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC