Welcome, Guest. Please login or register.

Author Topic: OS4.1 and Samba configuration question.  (Read 2015 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mchaggisTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2008
  • Posts: 85
    • Show all replies
OS4.1 and Samba configuration question.
« on: August 31, 2009, 01:37:11 AM »
Hi all,

Looking for some help with syntax please.

I have set up SAMBA on my SAM440 with OS4.1. And from a CLI I can type the following:

smbclient //MyDomain/MyShare MyPassword -U MyUser

This gets me a connection to the shared resource and I can use it from within that CLI.

However what I want to do is, and this is where my Amiga Syntax skills are lacking. Is add this sort of entry into the s:user-startup such that the share is mounted and available like any other device on start up.

Is anyone able to give me some pointers on the syntax I would need to use?

Thanks in advance,
Derek.
 

Offline mchaggisTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2008
  • Posts: 85
    • Show all replies
Re: OS4.1 and Samba configuration question.
« Reply #1 on: August 31, 2009, 12:26:21 PM »
Thanks for your help, although if I could lean on you a bit further...

I receive this error message:
Device "SMB0:" not found in the file "DEVS:MountList:".

I also need to use smbclient, not smbfs but the syntax is very much the same.

If i change the user-startup entry, "Mount SMB0", ie dropping the colon, nothing appears to happen at all.
 

Offline mchaggisTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2008
  • Posts: 85
    • Show all replies
Re: OS4.1 and Samba configuration question.
« Reply #2 on: August 31, 2009, 11:42:18 PM »
OK, thanks for this help. I'll get smbfs from os4depot tonight. As for why I'm not already using smbfs it is because sbmclient is all that came with the samba download and I was unaware (although Karlos's post should have prompted me to think harder and find it -my mistake) that smbfs was available.

I have another go with the right tools tonight.

Thanks.
« Last Edit: September 01, 2009, 11:47:25 AM by mchaggis »
 

Offline mchaggisTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2008
  • Posts: 85
    • Show all replies
Re: OS4.1 and Samba configuration question.
« Reply #3 on: September 01, 2009, 11:55:09 AM »
Thanks Karlos and Golem!dk; smbfs is now happily allowing my OS4 machine to browse server resources.