I have changed from using samba version 2.0.3 running on SCO OpenServer 5 to samba version 3.0.11 running on RedHat 8.0 My client computer is Windows XP. The problem also exists on Windows NT. The Windows XP computer has MKS Toolkit 8.7 The Windows NT computer has NuTCRACKER 4.2 These products provide Unix APIs to aid in porting applications from Unix to Windows.>From my command shell, I can issue a cat command to list the contents of afile, which exists on my server just fine. If however I try to open that same file programatically, then, I get a permission denied error. I have included a copy of the smb.conf file at then end of this email. Any suggestions as to what could be wrong, and how to correct it. It seems that this is a problem with the samba software, unless of course the MKS or NuTCRACKER software exploited some previous bug that has now been fixed. My hope is that I can change some setting in the samba to correct this. Thank you for any assistance. Mark ############## smb.conf ################### # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2005/02/25 09:25:14 # Global parameters [global] workgroup = IMMNET server string = Samba Server encrypt passwords = No log file = /usr/local/samba/var/log.%m max log size = 50 printcap name = lpstat os level = 0 preferred master = No local master = No domain master = No dns proxy = No wins server = srvtrn01 create mask = 0775 case sensitive = Yes [homes] comment = Home Directories read only = No browseable = No [hdrive] comment = /h on enfs03 path = /h write list = @D504_kgs, @D506_beh, kmp read only = No force create mode = 0444 force directory mode = 0555 hide dot files = No delete readonly = Yes fake directory create times = Yes [printers] comment = All Printers path = /usr/spool/samba printable = Yes browseable = No [tmp] comment = Temporary file space path = /tmp read only = No guest ok = Yes [backup] path = /backup write list = @D504_kgs, @D506_beh, kmp read only = No force create mode = 0444 force directory mode = 0555 hide dot files = No delete readonly = Yes fake directory create times = Yes
Ryan Novosielski
2005-Mar-02 01:24 UTC
[Samba] Permission Denied with updated version of Samba
I would suggest you first look at your logfiles. This should give you SOME kind of clue. Turn up the log level if need be. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Tue, 1 Mar 2005, Mark Kunkel wrote:> I have changed from using samba version 2.0.3 running on SCO OpenServer 5 to > samba version 3.0.11 running on RedHat 8.0 > > My client computer is Windows XP. The problem also exists on Windows NT. The > Windows XP computer has MKS Toolkit 8.7 The Windows NT computer has > NuTCRACKER 4.2 These products provide Unix APIs to aid in porting > applications from Unix to Windows. > >> From my command shell, I can issue a cat command to list the contents of a > file, which exists on my server just fine. If however I try to open that > same file programatically, then, I get a permission denied error. > > I have included a copy of the smb.conf file at then end of this email. > > Any suggestions as to what could be wrong, and how to correct it. It seems > that this is a problem with the samba software, unless of course the MKS or > NuTCRACKER software exploited some previous bug that has now been fixed. > > My hope is that I can change some setting in the samba to correct this. > > Thank you for any assistance. > > Mark > > ############## smb.conf ################### > > # Samba config file created using SWAT > # from 0.0.0.0 (0.0.0.0) > # Date: 2005/02/25 09:25:14 > > # Global parameters > [global] > workgroup = IMMNET > server string = Samba Server > encrypt passwords = No > log file = /usr/local/samba/var/log.%m > max log size = 50 > printcap name = lpstat > os level = 0 > preferred master = No > local master = No > domain master = No > dns proxy = No > wins server = srvtrn01 > create mask = 0775 > case sensitive = Yes > > [homes] > comment = Home Directories > read only = No > browseable = No > > [hdrive] > comment = /h on enfs03 > path = /h > write list = @D504_kgs, @D506_beh, kmp > read only = No > force create mode = 0444 > force directory mode = 0555 > hide dot files = No > delete readonly = Yes > fake directory create times = Yes > > [printers] > comment = All Printers > path = /usr/spool/samba > printable = Yes > browseable = No > > [tmp] > comment = Temporary file space > path = /tmp > read only = No > guest ok = Yes > > [backup] > path = /backup > write list = @D504_kgs, @D506_beh, kmp > read only = No > force create mode = 0444 > force directory mode = 0555 > hide dot files = No > delete readonly = Yes > fake directory create times = Yes > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >