From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 21:13:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56D2216A4CE for ; Fri, 11 Mar 2005 21:13:10 +0000 (GMT) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC9F43D2F for ; Fri, 11 Mar 2005 21:13:07 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j2BLD0ba076499; Fri, 11 Mar 2005 22:13:00 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j2BLCtwW076495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 Mar 2005 22:12:55 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.1/8.13.1) with ESMTP id j2BLCtnq093532; Fri, 11 Mar 2005 22:12:55 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.1/8.13.1/Submit) id j2BLCtdk093531; Fri, 11 Mar 2005 22:12:55 +0100 (CET) (envelope-from jpulz) Date: Fri, 11 Mar 2005 22:12:53 +0100 (CET) From: Joerg Pulz To: freebsduser@comcast.net In-Reply-To: <031120052021.27086.4231FDB9000579A7000069CE22069984999C0201079B010307020E@comcast.net> Message-ID: <20050311213431.J860@hades.admin.frm2> References: <031120052021.27086.4231FDB9000579A7000069CE22069984999C0201079B010307020E@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: at mailhost.frm2.tum.de cc: freebsd-questions@freebsd.org Subject: Re: Help Samba3 seems broke for me... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 21:13:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 11 Mar 2005 freebsduser@comcast.net wrote: > I am following the How To from this URL: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464512 > Here are some things that I've noticed: > Group names appear all lower-case: > getent missing, I am pretty sure that it can be found in Fedora Core 3 > and also SuSe. The thing has always been missing in FreeBSD and the > Samba3 docs may need updating. > Created a usermap file but it doesn't appear to honor it: > username map = /usr/local/etc/username.map > = > Inside mapped username directory on FreeBSD by way of XP browsing access > is denied in creating anything. > Inside mapped user's directory on FreeBSD via XP and when deleting > something it goes away but then a refresh on XP window and the item > returns. No access denied message is thrown. > I don't know if I did it or Samba did it but in the /etc/passwd there > are user names within the range of idmap uid/gid (This is on Samba > 3.0.5) but on the Samba 3.0.11 no user names have been changed (they > sill have the FreeBSD assigned Ids). > idmap uid = 15000-20000 > idmap gid = 15000-20000 > in passwd; > nagios:*:15035:15030::0:0:Nagios pseudo-user:/var/spool/nagios:/nonexistent > Separator has changed from a '+' to a '\' (Wish somebody would stop doing that, heck on a SuSe Machine, it once was an 'm' that one baffled me.) Unless of course I'm thinking of something else, but still why did it go from TEL+ to TEL\? > Samba 3.0.5 wbinfo -g reports: > TEL+Exchange Domain Servers > Samba 3.0.11 wbinfo -g reports: > TEL\exchange domain servers > Oh, and most importantly... Thanks for helping with that CVS thing. Worked great. My working system allows me to do the things I do while the 3.0.11 just drives me nutso. I'm thinking of trying 3.0.5 on the other system to see if it is behaving. But not just yet. > uname -a reports (holding off upgrading the world for the moment): > FreeBSD oracle.internal.qualmax.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Here's my smb.conf (System is acting as a domain member) for 3.0.11 > [global] > workgroup = INTERNAL > netbios name = ORACLE > server string = %h server (Samba %v) > security = DOMAIN > username map = /usr/local/etc/username.map > load printers = yes > printcap name = cups > printing = cups > show add printer wizard = No > idmap uid = 15000-20000 > idmap gid = 15000-20000 > winbind use default domain = Yes > use sendfile = Yes > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY > dns proxy = no > #============================ Share Definitions ============================== > [homes] > comment = Home Directories > browseable = no > writable = yes > # NOTE: If you have a BSD-style print system there is no need to > # specifically define each individual printer > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > # Set public = yes to allow user 'guest account' to print > guest ok = no > writable = no > printable = yes hi, here are some short notes for the points you mentioned. - - getent missing there is no Fedora or SuSE like getent in FreeBSD! but you can use pw(8) to show all available users - --- prompt> pw usershow -a - --- if you think the samba documentation needs updating in this section, please report it to the samba team. - - winbind separator change from + to \ there is an smb.conf(5) option to change it back to + the smb.conf(5) manpage says: - --- Please note that setting this parameter to + causes problems with group membership at least on glibc systems, as the character + is used as a special character for NIS in /etc/group. - --- if it was sometimes an m on SuSE system, it was due to modifications made by the SuSE people. neither the samba team nor FreeBSD has anything to do with it. - - username map option you should carefully read the smb.conf(5) manpage as there where some changes around samba-3.0.8 in this area. you should also read the Release Notes for samba-3.0.8 for clarification. - - nagios account the account with this uid comes from installing the net-mgmt/nagios port the uid is automatically generated, but you can simply change it and chown(8) all files and diretories belonging to the old uid to the new one. - - file deletion using the WinXP box i will not try to analyze this until you have taken the above comments into account. Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCMgnXSPOsGF+KA+MRAqCOAJ4xWHqPLcVMEyF9lAnNtAbf1PUv5gCglmoZ JEIWU/2t3ZRJCMt67fcF/oc= =npDI -----END PGP SIGNATURE-----