Do you add the option "encrypt passwords = true" to the global section?
2007/4/19, motoole at tegral.com <motoole at tegral.com>:
> Hey,
>> I'm trying to set up shares through Samba whereby a user can access a
> folder and have read/write permissions to that folder.
> I've added the user into samba using
> sudo smbpasswd -a system_username
>> I've edited the smb.conf file so it looks something like
>> #### Networking ####
>> # The specific set of interfaces / networks to bind to
> # This can be either the interface name or an IP address/netmask;
> # interface names are normally preferred
> ; interfaces = 127.0.0.0/8 eth0
>> # Only bind to the named interfaces and/or networks; you must use the
> # 'interfaces' option above to use this.
> # It is recommended that you enable this feature if your Samba machine is
> # not protected by a firewall or is a firewall itself. However, this
> # option cannot handle dynamic or non-broadcast interfaces correctly.
> ; bind interfaces only = true
>> ;[Intranet]
> ;comment = Intranet Files
> ;path = /var/www/apache2-default
> ;read only = No
> ;valid users = root
>> ;[sharing]
> ; comment = Intranet Files
> ; path = /var/www/apache2-default
> ; valid users = admin
> ; public = no
> ; writable = yes
>> [Sap Training]
> comment = Sap Intranet files
> path = /var/www/apache2-default/Joomla/Sap\ Training/
> read only = No
> ;valid users = $S
> ;public = no
> ;writable = yes
>>>> However everytime I tryt to access the folder I'm prompted for a username
> and password which will not work regardless of usernames and passwords I
> enter.
>> Can anyone help me out with this as I've been around the whole internet
> twice trying to get this sorted.
>> I'm sure it's something small that I'm overlooking but I'm being driven
> demented!
>> Thanks,
>> Mick
>> ****** DISCLAIMER ******
> This e-mail, and any attachments thereto, is intended only for use by the
> addressee(s) named herein and may contain legally privileged and/or
> confidential information. If you are not the intended recipient, please
> note that any review, dissemination, disclosure, alteration, printing,
> copying or transmission of this e-mail and/or any file transmitted with it,
> is strictly prohibited and may be unlawful. If you have received this
> e-mail by mistake, please immediately notify the sender and permanently
> delete the original as well as any copy of any e-mail and any printout
> thereof. Email transmission cannot be guaranteed to be secure or error free
> as information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or contain viruses. The sender therefore is in no
> way liable for any errors or omissions in the content of this message,
> which may arise as a result of email transmission. If verification is
> required, please request a hard copy.
> **
>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!