Hi
I finally succeded in installing my rootfs on a HD.
I have white russian rc2.
Now samba package from florian repo seems not to work.
Here's what I did. Can someone check if I missed something?
I added a configuration file in /usr/lib/smb.conf
added smbuser in /etc/passwd and smbgroup in /etc/group
then I launched smbd -i
and gives me the following error when I connect:
Failed to set gid privileges to (-1,5000) now set to (0,0) uid=(0,0)
smb_panic(): calling panic action [/usr/share/samba/panic-action 1220]
sh: /usr/share/samba/panic-action: not found
smb_panic(): action returned status 127
PANIC: failed to set gid
here is my /etc/group:
root:x:0:
smbgroup::5000:
nogroup:X:65534:
my /etc/passwd
root::0:0:root:/tmp:/bin/ash
smbguest:*:5000:5000:samba guest:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
I googled a bit and found that this is a compilation time misconfiguration.
Is this an incompatibility with previous versions of openwrt?
Thanks for your help
[global]
workgroup = WORKGROUP
server string = %h server (Samba %v)
wins support = no
wins server = w.x.y.z
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = share
encrypt passwords = true
obey pam restrictions = yes
guest account = smbguest
invalid users = root
passwd program = /usr/bin/passwd %u
load printers = yes
printing = cups
printcap name = cups
preserve case = yes
short preserve case = yes
interfaces = 192.168.0.10/24
[printers]
comment = Imprimantes
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
guest ok = yes
[print$]
comment = Printer Drivers
path = /samba/drivers
browseable = yes
read only = yes
guest ok = no
[stockage]
comment = Déposez ici petits fichiers et documents
path = /samba/dossiers
browseable = yes
guest ok = yes
writeable = yes