|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Samba permissions
Hello all, I am having an issue with Samba (3.6.15) and OpenBSD 5.6. I can see the files from my Windows 7 box but they all appear as 0 bytes and cannot be opened. Here is my smb.conf
Code:
#============= Global Settings =======================# [global] host msdfs = no mangled names = no bind interfaces only = yes deadtime = 15 default case = lower disable netbios = yes dns proxy = no domain master = no encrypt passwords = true guest ok = yes guest only = no interfaces = em0 invalid users = nobody root load printers = no max connections = 10 netbios name = openbsd preferred master = yes preserve case = no printable = no security = user server string = Samba Share socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 strict sync = no sync always = no syslog = 1 syslog only = yes workgroup = WORKGROUP #============ Share Definitions =======================# [Video] path = /home/video read-only = no public = yes |
|
|||
The option "mangled names = no" causes this problem. Commenting that out gives me random gibberish in 8.3 filename format but they CAN be opened. Changing to yes fixes the filenames but they become inaccessible.
OK it has something to do with this Code:
vfs objects = catia catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1 Last edited by ocicat; 1st March 2015 at 05:06 AM. Reason: Removed profanity |
|
||||
Quote:
Replacing the colon in the filename with an underscore might be done with something like: mangled map = (: _) |
|
||||
Wait, this approach is old and doesn't seem to exist in Samba version 3.6.15. Ignore me.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
uscanner0 permissions | shep | OpenBSD Installation and Upgrading | 4 | 31st August 2010 05:27 AM |
Permissions error | J05HYYY | NetBSD Package System (pkgsrc) | 1 | 7th October 2009 11:05 PM |
Permissions for zzz / acpiconf | Mantazz | FreeBSD General | 0 | 15th September 2009 10:43 PM |
permissions and FTP/HTTP | Yuka | FreeBSD General | 0 | 20th October 2008 10:32 PM |