943,712 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jun 13th, 2002
0

Re:Can't get samba to work!

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?)
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jul 25th, 2002
0

Re:Can't get samba to work!

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!
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
May 30th, 2003
0

Re: Can't get samba to work!

Quote 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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hamza is offline Offline
2 posts
since May 2003
Jun 1st, 2003
0
Re: Can't get samba to work!
huh ??
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Jun 9th, 2003
0

Re: Can't get samba to work!

Quote 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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hamza is offline Offline
2 posts
since May 2003
Jul 14th, 2003
0

Re: Can't get samba to work!

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
Reputation Points: 14
Solved Threads: 0
Newbie Poster
deanpence is offline Offline
19 posts
since Jul 2003
Jul 14th, 2003
0
Re: Can't get samba to work!
Nice, thanks!
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 22nd, 2005
0

Re: Can't get samba to work!

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
outlook is offline Offline
5 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Ubuntu not installing on my Imac?!
Next Thread in Linux Applications and Software Forum Timeline: smb/// no host "null"





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC