Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Samba Woes
Results 1 to 2 of 2

Thread: Samba Woes

  1. #1

    Samba Woes

    Hi guys & gals

    Ok, i hope i can make this as short & sweet as possible;

    RH 8.0
    Samba installed
    edited smb.conf file
    useradd "fred"
    smbpasswd -a fred
    Samba services restarted

    My problem is that i cannot browse my linux machine from another M$ machine although i can see the machine in Network Neighbourhood.
    I also would like to access M$ shared folders on other machines from my linux box , and use the command:" mount -t smb -o username=fred,password=fred //192.1.1.1/sharedfolder " but no luck there either. What am i doing wrong?

    All i would like to do is browse shared folders on my network, and let certain machines browse my linux box. *sigh*

    Have a great day.

  2. #2

    Re:Samba Woes

    hello,
    to let the linux machine browse MS windows machines i use this in my /etc/fstab
    //sparches/c /net/sparches smbfs username=pbharris,password=thisisabadpassword,noau to 0 0

    to enable MSwindows machines to access my linux computer i sue this, i am guessing that you don't have any directories that anyone can access.


    Code:
    # Global parameters
            workgroup = HARRIS
            server string = Samba Server
            security = USER
            log file = /var/log/samba/log.%m
            max log size = 50
            socket options = TCP_NODELAY
            dns proxy = No
            guest account = guest
            print command = lpr -r -P%p %s
            lpq command = lpq -P%p
            lprm command = lprm -P%p %j
            encrypt passwords = yes
            #printcap name = lpstat
            #printing = cups
    
    [homes]
            comment = Home Directories
            path = /home
            writeable = yes
    
    [printers]
            comment = All Printers
            path = /var/spool/samba
            print ok = Yes
            browseable = No
    
    [tmp]
            comment = Temporary stuff
            path = /tmp
            guest ok = Yes
    
    [lp]
            comment = Printer
            path = /var/spool/samba
            read only = No
            guest ok = Yes
            print ok = Yes
            printer name = lp
            oplocks = No
            share modes = No
    
    
    [music]
            path = /oggs
            guest ok = Yes
            read only = Yes
    
    [cdrom]
            path = /mnt/cdrom
            guest ok = Yes
            read only = Yes
    another thing i did was add a user that also has an acocunt on the linux box, e.g.
    smbadder pbharrisb

    samba will prompt for a password and then the person logging in on the mswindows machine will be mapped to the linux user, in this example pb is the ms windows user mapped to the linux user pbharris. so, when pb logs onto the network he will be mapped to the user pbharris on the linux machine.



Similar Threads

  1. Xmodmap Woes
    By Kernel_Killer in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 11-21-2006, 01:39 PM
  2. RPM woes
    By mrkeef in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 01-01-2004, 01:21 AM
  3. XP / 2k woes
    By kornp in forum Windows - General Topics
    Replies: 19
    Last Post: 01-18-2003, 07:46 PM
  4. DSL WOES HELP!
    By DMAN in forum Mandriva
    Replies: 13
    Last Post: 09-12-2002, 09:02 PM
  5. Samba Server woes
    By Funky Data in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 08-19-2002, 05:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •