Thanks for your reply

I tried both of these to no avail - nothing is recorded in the logs either.

William Jojo wrote:


try:


smbpasswd -a -m SHUTTLE$ shuttle$

to add the machine acount

also did you add a user to smbpasswd with

smbpasswd -a userid userpassword


after you created their unix acount?



Bill


On Fri, 2 Jan 2004, Ian Colley wrote:



Okay - I've tried adding machine account as suggested but still no joy -
same symptoms as before.  Also tried changing security to 'share' - this
time I can see the share in windows explorer but it asks for a password
under the username of 'Guest' (greyed out) when i try to access it - no
passwords work (including null).

*/etc/passwd*
*<snip>*
SHUTTLE$:x:10000:100:Machine Account:/dev/null:/bin/false

*smb.conf*
[global]
workgroup = WORKGROUP
netbios name = SAMBA
server string = Samba server in user level
security = user
encrypt passwords = yes

[Logs]
path= /var/log
valid user = ian

Jason Balicki wrote:



Make sure the XP box has a machine account on the samba server.

do this by adding a user (however you do it on your host OS) of machine$
(make sure the dollar sign is there)

then you can add this account to samba by doing:

smbpasswd -a -m machine

(note the _lack_ of a dollar sign.  you know this, but replace "machine"
with the actual name of the machine.)

HTH,

--J(K)





-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
a.org] On Behalf Of Ian Colley
Sent: Friday, January 02, 2004 12:50 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro client cannot access stand-alone linux
samba server


Hi, I am trying to set up my internet connection sharing linux box as a stand-alone samba server. When i try to access the server from a Windows XP Pro client using \\192.168.0.1 i get a dialog box asking for a username and password. I duly enter this and the dialog box immediately re-appears without connecting me to the share. There exists both a samba and linux account with the same password which is also the same as the XP Pro logon.

The XP Pro box is not set up to logon to a domain, both of the
boxes are
on the same workgroup.  I can get samba to work using share-level
security but only for a guest account.

Would appreciate any suggestions

*smb.conf*
[global]
workgroup = WORKGROUP
netbios name = SAMBA
server string = Samba server in user level
security = users
encrypt passwords = yes

[Logs]
path= /var/log
valid user = ian



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba









--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba








--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to