using samba
Collin O'Neill
coneill at pobox.com
Sun Dec 4 09:35:34 MST 2005
Can you tell us what security method you are using? It would help if
you listed the steps you used to add users and configure your shares.
SMB is cool but it's pretty complex. Most likely you will be using
user-level security (default), but if you are in a Windows NT4 or Active
Domain environment you'll be trying to use domain or ADS security. I'm
going to assume you are using user-level security and that you've added
the user using the smbpasswd command.
First, try connecting with any valid user name in your smbpasswd
file using the -U switch instead of just connecting through the secure
shell:
smbclient -L localhost -U [username]
If the user is in the smbpasswd file you should get the listing of
shares along with private directories for the user. Also check that the
shares are world-readable as specified in smb.conf (i.e. read only = no
or writeable = yes) and permissions for the share are 0777 or 0766.
Restrict access after you've got authorization working.
From your Mac, open the terminal and connect through the command line:
smbclient //[host]/[share]
Here's the corresponding page in the official HOWTO:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2520661
-Collin
Taylan Pince wrote:
>
> hello again,
>
> thanks! apparently it wasn't installed, so i installed it, and
> managed to start samba. however, when i try to connect from my
> powerbook on mac os x 10.4.3, i get a "username or password" error.
>
> when i run smbclient -L localhost through ssh, if i am connected with
> one of the usernames that i configured in the smb.conf, it gives me
> the active shares. so it must be working, but i am unable to connect.
>
> any ideas?
>
> cheers,
> taylan
>
>
> On Dec 03, 2005, at 22:33, Collin O'Neill wrote:
>
>> Perhaps it wasn't installed. First, verify it's installed using YUM:
>>
>> yum search samba
>>
>> If not, install it:
>>
>> yum install samba
>>
>> Go from there.
>>
>> -Collin
>
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>
More information about the yellowdog-newbie
mailing list