LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba login problem (https://www.linuxquestions.org/questions/linux-newbie-8/samba-login-problem-679153/)

David9789 10-26-2008 09:46 AM

Samba login problem
 
Iam using Ubuntu 7.10. I would like to share a usb drive connected to my main desktop with other linux boxes on a wired network. I shared it in "system" and can see the drive on other machines, but when i try to connect, it asks for a username and password. Where do I set this? in smb.conf? Please detail how. I have been using linux for a number of years and can use nano etc. so I'm not a total newbie.

Thanks,

David

Yaniv-Fer 10-27-2008 03:51 AM

Hello David9789,


you can use:
Code:

smbpasswd


to add a new user "joe"
Code:

smbpasswd -a joe

i am not sure... but maybe you also need a local user...
if this not work... add first a new user joe... to the system and than
do this steps...


to set a new password for "joe"
Code:

smbpasswd joe


good luck.


Yaniv Ferszt


All times are GMT -5. The time now is 04:43 AM.