Here's a strange issue: I'm running winnt4 with Samba 2.2.2 on Solaris 2.8. Basically, a windows app. has been installed onto a Samba share. The windows app has difficulties accessing text files on the share. I notice that in log.smbd, I get an error message (that corresponds to the file the app can't open). Here's a snippet from the file: [2001/12/19 12:32:23, 3] smbd/dosmode.c:unix_mode(113) unix_mode(common/config/.root.passwords) returning 0644 [2001/12/19 12:32:23, 3] lib/util.c:unix_clean_name(391) unix_clean_name [common/config/.root.passwords] [2001/12/19 12:32:23, 2] smbd/open.c:open_file(217) kplus opened file common/config/.root.passwords read=Yes write=No (numopen=11) [2001/12/19 12:32:23, 3] smbd/posix_acls.c:unpack_nt_owners(442) unpack_nt_owners: unable to validate owner sid. [2001/12/19 12:32:23, 2] smbd/close.c:close_normal_file(208) kplus closed file common/config/.root.passwords (numopen=10) [2001/12/19 12:32:23, 3] smbd/error.c:error_packet(99) error string = No such file or directory Interestingly enough, I can open this file through file manager or "type" it from a command line. Thanks in advance Anthony -- _______________________________________________ 1 cent a minute calls anywhere in the U.S.! http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com
On Thu, Dec 20, 2001 at 02:10:53AM +0800, anthony loupos wrote:> Here's a strange issue: > > I'm running winnt4 with Samba 2.2.2 on Solaris 2.8. Basically, a windows app. has been installed onto a Samba share. The windows app has difficulties accessing text files on the share. I notice that in log.smbd, I get an error message (that corresponds to the file the app can't open). Here's a snippet from the file: > > [2001/12/19 12:32:23, 3] smbd/posix_acls.c:unpack_nt_owners(442) > unpack_nt_owners: unable to validate owner sid.This is a bug I fixed in 2.2 CVS, it should be fixed in 2.2.3. Check out the CVS to be sure. Jeremy.
Hi guys, This is one of my first post here. New to Samba. Anyway, I have one question. Why is the Samba running on my machine using /usr/local/samba/lib/smb.conf instead of the one is /etc/samba/smb.conf ? When I do a testparm, it is reading the one in /etc/samba/smb.conf But when it runs, it is actually using the one in /usr/local/samba/lib/smb.conf Just want to know why. Thanks guys. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/2001
Most distros, to maintain consistency, put all their configuration files in /etc, all their binaries in /usr/bin (or something similar), all their lock files in /var/locks, and so on. When you install samba from source (tar file), all of the samba files go into: /usr/local/samba So, it sounds like someone installed samba from sources on a computer which had a samba installation from the distro. This is the usual situation, when you upgrade. If that is the case with you, I would spend some time to remove all the old files. Maybe rpm -e (package as returned by lsmod) might be helpful, but that will likely not remove the old smb.conf file. You could learn about rpm, and try to get it to list all the files your previously installed package put on your computer, make sure they are all removed. Of course, you will have to redo the startup scripts, since the distro scripts are likely starting the old version of samba,anyway, but they will likely be removed with rpm. This is an annoying feature of upgrading. However, this problem will not recur if you keep upgrading from samba.org with tar files Joel On Fri, Dec 21, 2001 at 01:11:22PM +0800, Peter Lee wrote:> Hi guys, > > This is one of my first post here. > New to Samba. > > Anyway, I have one question. > > Why is the Samba running on my machine using /usr/local/samba/lib/smb.conf > instead of the one is /etc/samba/smb.conf ? > > When I do a testparm, it is reading the one in /etc/samba/smb.conf > But when it runs, it is actually using the one in > /usr/local/samba/lib/smb.conf > > Just want to know why. > > Thanks guys. > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/2001 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba