samba problems
Karl Auer
kauer at biplane.com.au
Sun Aug 3 12:52:48 UTC 2008
On Sun, 2008-08-03 at 07:59 -0400, Paul wrote:
> I'm trying to set up a simple LAN with a samba server on the linux box.
> [...]
> I've sometimes gotten the shares to display, but I always get met
> by user/password dialog, that I can't get past.
I assume you don't want to give access without a password.
> Ultimately, I want to allow access from the windows side to samba by a single
> windows user and deny access to others.
Make sure security is set to "user" in smb.conf:
security = user
Make sure that encrypted passwords are turned on in smb.conf:
encrypt passwords = true
Restart Samba (makes certain the changes are picked up).
Run smbpasswd as root on the samba machine to set up their password. In
this example, the user is "freddy":
sudo smbpassd -a freddy
You'll be prompted for the password. Note that "freddy" is the username
on the Samba machine, not on the Windows machine. It's marginally easier
on the user if the usernames are the same though. The password does not
have to be (and should not be) the user's password on their Windows
machine.
Basically that's all there is to it.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
Public key at : random.sks.keyserver.penguin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080803/eecdfbbf/attachment.sig>
More information about the ubuntu-users
mailing list