You should probably  try "swat" to set the configuration.

Before using it, make sure that samba is already running.

Yuhanes

David Pastern schrieb:

>David,
>
>You will need to add a user account to your linux system (ie adduser
><username>).  You will then need to ensure that password encryption in
>smb.conf file has been turned on (or similarly the windows registry has been
>hacked to avoid this).  Then set up a smbpasswd for this new user account.
>Under global settings in smb.conf change this (if not already changed):
>
>encrypt passwords = yes
>
>Then add this line (strangely it wasn't in my smb.conf file and I had to
>manually add it):
>
>smb passwd file = /etc/samba/smpasswd
>
>I was quite confused by all of this (and still am to be totally honest).
>Note that this will allow the Windows XP machine to see the home dir created
>when you did the adduser.  I'm not sure how to set it up so that that
>Windows user can see the home dir and any other dirs that you might want
>them to.  I'm only newish to samba, so I hope i've told you the right stuff,
>if I haven't I apologise.  I'm sure someone will correct my faux pais.  Good
>luck, hope I helped.
>
>Dave
>
>-----Original Message-----
>From: David Sanders
>To: Debian Users; David Pastern
>Sent: 26/09/2002 6:30
>Subject: smb.conf on Debian
>
> 
>I set up a SMB share on a Debian 3.0 machine with this config:
>/etc/samba/smb.conf
>[global]
>       workgroup = SANDERS
>[test]
>       comment = For testing only
>       path = /data/test
>       browseable = yes
>       read only = no
>       guest ok = yes
>
>When I try to access the share from Windows XP, I get this error:  "The
>account is not authorized to log in from this station."
>What do I need to do?  It doesn't ask for a password or anything.
>
>David
>
>
>  
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to