Himanshu Mehta wrote:
>
> On changing security = share from user, I m able to access the linux system
> it does not ask any password / login name as it use to.
> But can U explain me what was happing when I was setting it up as user. In
> the smb.conf file it shows that it shud be set as user for windows nt type
> of security. Is it because of that it is asking for user name etc.. for any
> resource I m trying to access from this system. & if it is yes than which
> user name shud be used for accesing in this setup ( IE. by keeping security
> = user ). I tried administrator of windows NT & root of linux but none of
> these worked.
> Also how do I share the folders on my linux system to access it from windows
> nt systems.
When security=share, anybody who accesses the share must have an account
on the Linux box. The local username must match his machine's name.
Use useradd to add the account locally, then smbadduser to add it to
Samba's user list, and finally smbpasswd to set the user's password.
Samba can't use the system defined password because Linux stores
passwords with one-way encryption, and the SMB encrypted-password system
requires the server to know the unencrypted password.
Access to any share is determined by whether the local user has access
rights to the particular share.
To actually share any directory, check the sample provided in the
smb.conf file. Look for the one marked "public".
--
Kiran Jonnalagadda
http://lunateks.com
baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/'; sync;
sync; sleep 15; done
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener