PDA

View Full Version : Problem with samba on wl500gx



tekmic
05-07-2005, 19:27
My knowledge of Linix is rather low. It seems as if, I cannot find the right answer on the net, so please help me out here. :)

I configured the 500gx with samba as described on macsat.com. I can see the share on my workstations, but I can not create a new folder or upload files to the share.

The log files says:

[2005/07/05 19:51:02, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was No such file or directory
[2005/07/05 19:51:02, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
unable to open smb password database.
[2005/07/05 20:07:39, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was No such file or directory
[2005/07/05 20:07:39, 0] passdb/passdb.c:iterate_getsmbpwnam(149)
unable to open smb password database.

The config file is:

[admin@wl500g root]$ cat /opt/etc/samba/smb.conf

[global]
workgroup = Hjemme
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = yes
dns proxy =no

[USBshare]
path=/opt/USBdisk/
writable = yes
browsable = yes

How to get on with this? :confused:

Michael

Oleg
06-07-2005, 10:56
Perhaps guide should be updated. Works fine with built-in config:


[global]
interfaces = br0
bind interfaces only = yes
workgroup = WORKGROUP
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = no
preserve case = yes
short preserve case = yes

[share]
path = /tmp/harddisk

[share$]
path = /tmp/harddisk
writable = yes
force user = root
browseable = no


P.S. Why don't you use default config?

sophana
06-07-2005, 15:26
it seems that the error message is clear.
Why don't you create the smbpasswd file?
this file contains the account encrypted passwords
the linux instruction is
smbpasswd [user]