*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[ ] LDAP With LDAP support
[ ] ADS With Active Directory support
[ ] CUPS With CUPS printing support
[X] WINBIND With WinBIND support
[ ] SWAT With SWAT
[ ] ACL_SUPPORT With ACL support
[ ] AIO_SUPPORT With Asyncronous IO support
[ ] FAM_SUPPORT With File Alteration Monitor
[X] SYSLOG With Syslog support
[ ] QUOTAS With Disk quota support
[X] UTMP With UTMP accounting support
[ ] PAM_SMBPASS With PAM authentication vs passdb backends
[ ] DNSUPDATE With dynamic DNS update(require ADS)
[ ] DNSSD With DNS service discovery support
[ ] EXP_MODULES With experimental modules
Code:
[root@medved ~]# cat /usr/local/etc/smb.conf
[global]
workgroup = OVERLORDW
server string = FreeBSD Server
encrypt passwords = yes
security = user
load printers = no
; max log size = 100
interfaces = 192.168.2.1 192.168.1.3
local master = yes
os level = 99
domain master = no
preferred master = no
dns proxy = no
; disable netbios = yes
[Unix]
comment = Unix Share Folder
path = /home/paleksic/samba
valid users = paleksic
public = no
guest ok = no
browseable = yes
writable = yes
printable = no
Code:
[root@medved /var/log/samba]# tail -n 7 log.smbd
[2009/03/10 12:17:46, 1] smbd/service.c:make_connection_snum(1103)
192.168.2.250 (192.168.2.250) connect to service Unix initially as user paleksic (uid=1002, gid=1002) (pid 59611)
[2009/03/10 12:17:46, 1] smbd/service.c:close_cnum(1315)
192.168.2.250 (192.168.2.250) closed connection to service Unix
[2009/03/10 12:18:30, 1] smbd/service.c:make_connection_snum(1103)
192.168.2.250 (192.168.2.250) connect to service Unix initially as user paleksic (uid=1002, gid=1002) (pid 59612)
Last edited by Peter Aleksic; 03-10-2009 at 11:26 AM.
The UID and GID of the users do not match on the server and client, so user have no proper rights to files in mounted shares on his local machine. I changed UID/GID's in the Linux box to bring them in sync with FreeBSD and as a result I can write to the share.
I was having the same "Permission Denied" trying to connect via Windows or Linux to Samba box. Tried multiple things for days, but the following worked for me, so I hope it helps someone else out there!
I am running SLES 9, SP4.
AppArmor is the problem on SLES 10. On SLES 9, it's called subdomain.
Stop the service and disable on boot if you don't need the app.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.