LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba loginless share in domain environment (https://www.linuxquestions.org/questions/linux-server-73/samba-loginless-share-in-domain-environment-772498/)

ACiD GRiM 11-30-2009 01:51 PM

Samba loginless share in domain environment
 
I'm trying to get a simple samba share to allow just one computer to get files off this server. We're in a Active Directory environment and I'm wondering if this is causing me problems.

I can see the computer in the workgroup, but If I connect and open the share, I get a login window. I'd prefer if this didn't happen and it let me in, but what's worse is that the user name is weathermon2\Guest, and It's greyed out. Could this be an effect of not being bound to the AD domain?

manicanet 11-30-2009 07:20 PM

When Windows gives you the grayed out Guest username, you have 2 choices:


1. You need to create a stored network password on the windows computer.
To manage stored user names and passwords, follow these steps:
a. Open Control Panel
b. User Accounts
c. Stored User Names and Passwords
d. Add
e. Enter the share path, username, and password

It will now auto use those credentials when connecting to that share path.


2. You can add the following to the share section of your smb.conf file
Code:

guest ok = yes
This method is not as secure as it will allow all the computers in your domain to access it without a password.


All times are GMT -5. The time now is 10:43 PM.