Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Samba

  • 27-05-2003 10:22am
    #1
    Closed Accounts Posts: 34


    any1 setup a samba server on a linux or windows box?


Comments

  • Closed Accounts Posts: 1,163 ✭✭✭Emboss


    ye ?


  • Closed Accounts Posts: 32 oslin


    yes samba/winbind.
    on debian stable.


  • Closed Accounts Posts: 34 GUI_XP


    i have a good understanding of SMB,CIFS so im well interested in SAMBA.. as i studied it for a college project
    thing is im complete linux newbie..

    does redhat come with samba?

    i saw a download for samba for redhat?

    what distro would u recommend for me
    setting up a samba test box on our 2k lan


  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    Samba (http://ie.samba.org/samba/samba.html) should work with every linux distribution.

    All the major Linux distributions will have samba packaged with them. Samba is one of the common packages that is on most Linux install discs. It is also supported on many of the other Unix OSen.

    Since you are new to Linux I'd suggest using one of the more newbie friendly distributions such as RedHat or Mandrake (both of which definitely come with Samba packaged).


  • Closed Accounts Posts: 32 oslin


    I find debian very easy, even for a newbie.


  • Advertisement
  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    I'm a Debian user myself but Redhat and Mandrake are far more newbie friendly.


  • Registered Users, Registered Users 2 Posts: 70 ✭✭BTBB


    I have a bit of experiance. I setup 8 Win98 systems with a Samba server(SuSE 7.0 Prof- It'll be Debian within a month). Full logins, userspace, quotas all that stuff.

    Also two days back I set up a 486 with Samba to serve my Parallel ZIP to my main PC as it used to take 25mins to transfer a full 96MB and you couldn't do anything else while it was copying. Now its just so much nicer - I can use it in both Win98SE and Debian.

    As most home distributions(as contrasted with Professional/Server) don't include any such servers you'll probably need to download it.

    RPM should be on RH website, else just get it off the main samba site. Just watch where it 'make install's.


  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    Originally posted by GUI_XP
    what distro would u recommend for me
    setting up a samba test box on our 2k lan

    I set up Samba yesterday on my brand new Suse 8.2 box. It was disturbingly easy. The biggest problem I had was that I didn't realise you needed four backslashes instead of two (i.e. smbclient \\\\Windows\\C instead of \\windows\c )


  • Closed Accounts Posts: 304 ✭✭Zaltais


    Originally posted by tom dunne
    I set up Samba yesterday on my brand new Suse 8.2 box. It was disturbingly easy. The biggest problem I had was that I didn't realise you needed four backslashes instead of two (i.e. smbclient \\\\Windows\\C instead of \\windows\c )

    You could use mount you know.

    mount -t smbfs //10.0.0.1/sharename /mnt/mountpoint -o username=<username>,password=<password>

    where:
    10.0.0.1 is the IP of the machine you're connecting to
    sharename is the share name - (surprising that)
    <username> is a username to connect as - (no, really ?!?!)
    <password> is the password associated with <username> - (egads man that's bizarre!)

    man 8 mount for more....

    Of course you could also add a line to your fstab to auto mount it...


  • Closed Accounts Posts: 6,601 ✭✭✭Kali


    smbclient '\\server\share' -u username
    works for me.. dunno why you'd need those extra slashes.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 795 ✭✭✭a_ominous


    The double backslash is needed in his case coz he didn't use single quotes as you did. Backslash is a special character and has to be quoted using a backslash
    For example if you want to print a TAB
    echo \thello

    echo '\'
    will give the same result as
    echo \\

    If you had lots of characters to escape, then use single quotes for clarity.

    -ao-


  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    Originally posted by Kali
    smbclient '\\server\share' -u username
    works for me.. dunno why you'd need those extra slashes.

    I can't believe I didn't try that!

    Thanks Zaltais, I also didn't know I could mount the share like that.

    You learn something new everyday.


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Originally posted by a_ominous
    The double backslash is needed in his case coz he didn't use single quotes as you did. Backslash is a special character and has to be quoted using a backslash
    For example if you want to print a TAB
    echo \thello

    echo '\'
    will give the same result as
    echo \\

    If you had lots of characters to escape, then use single quotes for clarity.

    -ao-


    I think its actually got to do with Escaping the backslash, as the shell would moan about it etc. Single quots is a good idea in linux for a lot of reasons, they can save time, hair and energy :-)

    Paul


Advertisement