From owner-freebsd-questions@FreeBSD.ORG Sun May 6 14:10:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1990106566B for ; Sun, 6 May 2012 14:10:21 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 75CCD8FC17 for ; Sun, 6 May 2012 14:10:21 +0000 (UTC) Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.1]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120506141013.PECG10053.mtaout03-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net> for ; Sun, 6 May 2012 15:10:13 +0100 Received: from [94.168.171.147] (helo=Mercury.universe.galaxy.lcl) by know-smtpout-1.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1SR29i-000189-2V for freebsd-questions@freebsd.org; Sun, 06 May 2012 15:09:46 +0100 Received: from Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced]) by Mercury.universe.galaxy.lcl ([fe80::b0b0:8497:b56e:9ced%11]) with mapi; Sun, 6 May 2012 15:08:47 +0100 From: Graeme Dargie To: "'freebsd-questions@freebsd.org'" Thread-Topic: Samba acting oddly. Thread-Index: Ac0rjjkWkkxQE/WrRiyeWAoKebsPkQ== Date: Sun, 6 May 2012 14:08:46 +0000 Message-ID: <4C0F7421AA759346AF17299922AD57EBAEB382@Mercury.universe.galaxy.lcl> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=OMdUhd4NiskA:10 a=xqWC_Br6kY4A:10 a=E9lV9iPmvFwIqWF-6zMA:9 a=u9LwRcq49sIIrBqtmkEA:7 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=bBRVXSeDwcgJH_-pAocA:7 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Samba acting oddly. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2012 14:10:22 -0000 I have a problem with Samba, well I "think" it is samba as one machine I ha= ve access to when I try to perform an action like create a new folder in my= home folder windows spouts that I need permission and would I like to try = again. I guess some background would be useful at this point, I have 3 FreeBSD mac= hines that were running 8.2 AMD 64, some kind souls on this list were able = to help me get Samba working using Active Directory, I upgraded to 9.0 when= it became available and everything seemed to be fine. I happened to be needing to create a perl script that would allow two users= to chat over a network, so rather than fiddling about with Linux and VM`s = .. I just used two of my FreeBSD machines, this is when I noticed the issue= . Only one machine shows this problem, the others let me happily create / del= ete stuff in the home folder other shares on the problematic machine are fi= ne. The configuration files for all 3 machines is included below, but I just ca= nnot seen to see why 2 work and 1 does as all three are running Samba35-3.5= .6.2 so any help or pointers would be welcome. Regards Graeme Machine Eris - samba works perfectly Smb.conf looks like this [global] workgroup =3D UNIVERSE realm =3D UNIVERSE.GALAXY.LCL netbiosname =3D ERIS interfaces =3D re0 security =3D ads allow trusted domains =3D yes idmap uid =3D 5000-10000 #idmap gid =3D 15000-20000 winbind gid =3D 5000-10000 template homedir =3D /usr/home/%U template shell =3D /bin/csh winbind cache time =3D 3600 winbind nested groups =3D yes winbind use default domain =3D yes winbind separator =3D | winbind enum users =3D yes winbind enum groups =3D yes winbind offline logon =3D yes syslog only =3D Yes socket options =3D SO_RCVBUF=3D131072 SO_SNDBUF=3D131072 TCP_NODELAY use sendfile =3D yes read raw =3D yes use sendfile =3D yes local master =3D no use sendfile =3D yes dns proxy =3D no username map =3D /usr/local/samba/usermap # ACL Support map acl inherit =3D yes #acl group inherit =3D yes acl group control =3D yes # LOGGING log file =3D /var/log/samba/%m log level =3D 1 max log size =3D 1000 syslog =3D 2 ### recycle bin code # bin vfs object =3D recycle recycle:repository =3D .RecycleBin/%U recycle:keeptree =3D Yes recycle:touch =3D Yes recycle:versions =3D Yes recycle:maxsize =3D 0 recycle:exclude =3D *.tmp recycle:exclude_dir =3D /tmp recycle:noversions =3D *.ppt [homes] readonly=3Dno Machine Proteus - samba working a charm ... [global] workgroup =3D UNIVERSE realm =3D UNIVERSE.GALAXY.LCL netbiosname =3D PROTEUS interfaces =3D re0 security =3D ads allow trusted domains =3D yes idmap uid =3D 5000-10000 #idmap gid =3D 15000-20000 winbind gid =3D 5000-10000 template homedir =3D /usr/home/%U template shell =3D /bin/csh winbind cache time =3D 3600 winbind nested groups =3D yes winbind use default domain =3D yes winbind separator =3D | winbind enum users =3D yes winbind enum groups =3D yes winbind offline logon =3D yes syslog only =3D Yes socket options =3D TCP_NODELAY SO_RCVBUF=3D65536 SO_SNDBUF=3D65536 use sendfile =3D yes read raw =3D yes use sendfile =3D yes local master =3D no use sendfile =3D yes dns proxy =3D no username map =3D /usr/local/samba/usermap # ACL Support map acl inherit =3D yes #acl group inherit =3D yes acl group control =3D yes # LOGGING log file =3D /var/log/samba/%m log level =3D 1 max log size =3D 1000 syslog =3D 2 [homes] read only =3D No Both of these work with no issues. However Amalthea which is the machine showing the problem, the smb.conf is = the following [global] workgroup =3D UNIVERSE realm =3D UNIVERSE.GALAXY.LCL netbiosname =3D amalthea interfaces =3D nfe0 security =3D ads allow trusted domains =3D yes idmap uid =3D 5000-10000 #idmap gid =3D 15000-20000 winbind gid =3D 5000-10000 template homedir =3D /usr/home/%U template shell =3D /bin/csh winbind cache time =3D 3600 winbind nested groups =3D yes winbind use default domain =3D yes winbind separator =3D | winbind enum users =3D yes winbind enum groups =3D yes winbind offline logon =3D yes syslog only =3D Yes socket options =3D TCP_NODELAY SO_RCVBUF=3D65536 SO_SNDBUF=3D65536 use sendfile =3D yes read raw =3D yes use sendfile =3D yes local master =3D no use sendfile =3D yes dns proxy =3D no username map =3D /usr/local/samba/usermap # ACL Support map acl inherit =3D yes #acl group inherit =3D yes acl group control =3D yes # LOGGING log file =3D /var/log/samba/%m log level =3D 1 max log size =3D 1000syslog =3D 2 ### recycle bin code # bin vfs object =3D recycle recycle:repository =3D .RecycleBin/%U recycle:keeptree =3D Yes recycle:touch =3D Yes recycle:versions =3D Yes recycle:maxsize =3D 0 recycle:exclude =3D *.tmp recycle:exclude_dir =3D /tmp recycle:noversions =3D *.ppt [homes] readonly=3Dno