Quote:
Code:
smbclient -U envy -L localhost I would backup this file first and remove every line but the one for the user 'envy' from the original, just to keep it clean for the time being. Once you've determined that your share is working the way it is supposed to be, you would want to try JRandom's directions to logon 'properly' to the win box and then try accessing the share. |
Ah my windows user (the only user on this box) is simplex however when i am prompted for a password and login, I the username feild is grayed out
|
Kith,
The "simplex" username on the windows box would seem to be the problem. Edit your smb.conf file and uncomment the following line (or add it): username map = /etc/samba/smbusers and create the /etc/samba/smbusers file with the following line: envy = simplex Restart Samba.... Hope this helps! --Eric |
My previous post assumes you have a Unix user account called "envy"
--Eric |
Under which parameter? Shares? Also, what if i change the user name on the windows box to envy? I acutally tryed this and still doesn't seem to work..
|
Kith,
I'd put the username map declaration under [global]. If you want to change the Windows box username to envy...that would a great way to test this. --Eric |
Kith,
Looked over your smb.conf. You also need to uncomment the line: encrypt passwords = yes But if you had an encrypted password in the smbusers file, you must have already done this, right? --Eric |
It wouldn't matter that I don't have a password for user envy/simplex on the xp box would it?
|
Ok let me explain something. The Freebsd server thats running samaba is called Envy, that is the hostname of the box. the primary user of the box is also called envy. Now, the win XP box hostname is mistakenly called envy also. and the user is Simplex. Client for Microsoft windows is running, there is no password for this box. Now I can see the shares, I have tryed adding the envy = simplex to my smbconfig and it still did not work.
|
Ah, XP. Home or professional? As far as network shares go..it shouldn't care at all. XP will give the option to enter a username and password. Odd that your's is grayed out.
Next step. In XP, go to Start->Control Panel->User Accounts. Click on your username (simplex) In the upper left, go to manage my network passwords. Delete any relating to the samba share. Reboot XP. Try again! --Eric |
Oh!
You can't have both boxes called 'envy'. Add this to your smb.conf. netbios name = envybsd (or something besides envy) restart Samba. On the XP box connect to \\envybsd\envy and give it a whirl... I think when you type \\envy your logging on to your XP box! --Eric |
Nothing was in the network passwords box...
- Note, not that this matters, but I don't have a /etc/samba dir, most of my samba files are elseware, like my smb.conf is in /usr/local/etc/smb.conf -- I don't think that matters tho |
Yeah, sorry, I use FreeBSD too. when I say smb.conf, edit you main in /usr/local/etc/smb.conf
--Eric |
I forgot to mention, I did change the netbios name.. its Envy Samba serv
|
Jran, Do you have Aim, think it would be easier hehe -- eam404 is my sn
|
All times are GMT -5. The time now is 04:47 PM. |