I've been experimenting with Samba a bit. I won't claim to know a whole lot about it, because I don't, and I'm even somewhat of a newbie when it comes to Linux/UNIX. But I've been working with the worked examples that the HOW TO docs describe on the website, configuring my smb.conf file as is stated. I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit of a problem. When I work with the example of a simple Anonymous Read-Only File Server, I am able to access those files from my WinXP system just fine. However, when I get to the example of a Secure Office Server, I am able to log in using any of the users I specified in my config, but none of the users are able to view any files I've placed in that share -- not even the owner of the files. This is the case when I try to access the files from both my WinXP system and locally by logging into the Samba server from command line. I can post my smb.conf file if needed, but I was wondering if there's something common that I'm missing... TIA, ~Myles
On Tue, 2005-12-13 at 10:45 -0500, Donald Musser wrote:> I've been experimenting with Samba a bit. I won't claim to know a whole lot > about it, because I don't, and I'm even somewhat of a newbie when it comes > to Linux/UNIX. But I've been working with the worked examples that the HOW > TO docs describe on the website, configuring my smb.conf file as is stated. > I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit of > a problem. When I work with the example of a simple Anonymous Read-Only File > Server, I am able to access those files from my WinXP system just fine. > However, when I get to the example of a Secure Office Server, I am able to > log in using any of the users I specified in my config, but none of the > users are able to view any files I've placed in that share -- not even the > owner of the files. This is the case when I try to access the files from > both my WinXP system and locally by logging into the Samba server from > command line. I can post my smb.conf file if needed, but I was wondering if > there's something common that I'm missing...---- why not just figure out 1 share and the rest of the shares should be obvious? for example...one of my shares... [files] valid users = @dom_users writable = yes comment = Home Directories path = /home/samba/files create mode = 775 writable = yes directory mode = 775 and to check the permissions on that directory... # ls -ld /home/samba/files/ drwxrwsr-x 6 root dom_users 4096 Mar 10 2005 /home/samba/files/ # getent group |grep cami dom_users:x:503:cami,carley,craig,tom,teri thus cami, who is a member of dom_users group has read/write access Why not post something similar about one of your shares and perhaps it will be obvious to use. I am presuming that you are using 'security = user' in smb.conf. Craig
Post your Config file, let's take a look! -----Original Message----- From: samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org [mailto:samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org] On Behalf Of Donald Musser Sent: Tuesday, December 13, 2005 7:46 AM To: samba@lists.samba.org Subject: [Samba] Worked examples? I've been experimenting with Samba a bit. I won't claim to know a whole lot about it, because I don't, and I'm even somewhat of a newbie when it comes to Linux/UNIX. But I've been working with the worked examples that the HOW TO docs describe on the website, configuring my smb.conf file as is stated. I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit of a problem. When I work with the example of a simple Anonymous Read-Only File Server, I am able to access those files from my WinXP system just fine. However, when I get to the example of a Secure Office Server, I am able to log in using any of the users I specified in my config, but none of the users are able to view any files I've placed in that share -- not even the owner of the files. This is the case when I try to access the files from both my WinXP system and locally by logging into the Samba server from command line. I can post my smb.conf file if needed, but I was wondering if there's something common that I'm missing... TIA, ~Myles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Alright, here it is... [global] workgroup = swtest netbios name = nagios-02 printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No [public] comment = Data paht = /export1 force user = maryo force group = users guest ok = Yes read only = No [printers] comment = All Printers path /var/spool/samba printer admin - root, maryo create mask = 0600 guest ok = Yes printable = Yes use client driver = Yes browseable = No #EOF [root@nagios-02 /]# ls -al export1 total 24 drwxr-x--- 2 maryo users 4096 Dec 12 13:49 . drwxr-xr-x 25 root root 4096 Dec 13 14:03 .. -rw-r--r-- 1 root root 644 Dec 12 13:49 hi Notice anything? Anymore info you need? I've been logging in mainly as maryo in this setup. -Myles On 12/13/05, Mark Sarria <mes4294@lausd.k12.ca.us> wrote:> > Post your Config file, let's take a look! > > > -----Original Message----- > From: samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org > [mailto:samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org] On Behalf > Of > Donald Musser > Sent: Tuesday, December 13, 2005 7:46 AM > To: samba@lists.samba.org > Subject: [Samba] Worked examples? > > I've been experimenting with Samba a bit. I won't claim to know a whole > lot > about it, because I don't, and I'm even somewhat of a newbie when it comes > to Linux/UNIX. But I've been working with the worked examples that the HOW > TO docs describe on the website, configuring my smb.conf file as is > stated. > I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit > of > a problem. When I work with the example of a simple Anonymous Read-Only > File > Server, I am able to access those files from my WinXP system just fine. > However, when I get to the example of a Secure Office Server, I am able to > log in using any of the users I specified in my config, but none of the > users are able to view any files I've placed in that share -- not even the > owner of the files. This is the case when I try to access the files from > both my WinXP system and locally by logging into the Samba server from > command line. I can post my smb.conf file if needed, but I was wondering > if > there's something common that I'm missing... > > TIA, > > ~Myles > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
[This email is either empty or too large to be displayed at this time]
Okay, that worked to allow me to see the files, but now I'm not prompted for any login and access to the share is denied when I open the file and try to save directly back to the share. The only thing I changed were the transposition errors you pointed out. With that same config, is there something else I'm missing? Before I made that change I was prompted for a password. Or did the password get saved? I guess that's possible, but then why can't the owner of the file (which is who I'm logged in under), save directly back to the file? -Myles On 12/14/05, Philip Washington <phwashington@comcast.net> wrote:> > Donald Musser wrote: > > >Alright, here it is... > > > >[global] > >workgroup = swtest > >netbios name = nagios-02 > >printcap name = cups > >disable spoolss = Yes > >show add printer wizard = No > >printing = cups > > > >[homes] > >comment = Home Directories > >valid users = %S > > > > > I believe you need a path here. > > >read only = No > >browseable = No > > > >[public] > >comment = Data > >paht = /export1 > > > > > This should be path > > >force user = maryo > >force group = users > >guest ok = Yes > >read only = No > > > >[printers] > >comment = All Printers > >path /var/spool/samba > >printer admin - root, maryo > > > > > This should be printer admin > run 'testparm' from your prompt and see if anything else shows up > > >create mask = 0600 > >guest ok = Yes > >printable = Yes > >use client driver = Yes > >browseable = No > > > >#EOF > > > > > > > I don't know whether you did this or not, but you might try running > testparm > outputtestparm.txt > That way if some of these errors are typos from translation to email you > can avoid this by just copying or editing the file outputtestparm.txt. > > >[root@nagios-02 /]# ls -al export1 > >total 24 > >drwxr-x--- 2 maryo users 4096 Dec 12 13:49 . > >drwxr-xr-x 25 root root 4096 Dec 13 14:03 .. > >-rw-r--r-- 1 root root 644 Dec 12 13:49 hi > > > >Notice anything? Anymore info you need? I've been logging in mainly as > maryo > >in this setup. > > > >-Myles > > > > > > > >On 12/13/05, Mark Sarria <mes4294@lausd.k12.ca.us> wrote: > > > > > >>Post your Config file, let's take a look! > >> > >> > >>-----Original Message----- > >>From: samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org > >>[mailto:samba-bounces+mes4294=lausd.k12.ca.us@lists.samba.org] On Behalf > >>Of > >>Donald Musser > >>Sent: Tuesday, December 13, 2005 7:46 AM > >>To: samba@lists.samba.org > >>Subject: [Samba] Worked examples? > >> > >>I've been experimenting with Samba a bit. I won't claim to know a whole > >>lot > >>about it, because I don't, and I'm even somewhat of a newbie when it > comes > >>to Linux/UNIX. But I've been working with the worked examples that the > HOW > >>TO docs describe on the website, configuring my smb.conf file as is > >>stated. > >>I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit > >>of > >>a problem. When I work with the example of a simple Anonymous Read-Only > >>File > >>Server, I am able to access those files from my WinXP system just fine. > >>However, when I get to the example of a Secure Office Server, I am able > to > >>log in using any of the users I specified in my config, but none of the > >>users are able to view any files I've placed in that share -- not even > the > >>owner of the files. This is the case when I try to access the files from > >>both my WinXP system and locally by logging into the Samba server from > >>command line. I can post my smb.conf file if needed, but I was wondering > >>if > >>there's something common that I'm missing... > >> > >>TIA, > >> > >>~Myles > >>-- > >>To unsubscribe from this list go to the following URL and read the > >>instructions: https://lists.samba.org/mailman/listinfo/samba > >> > >> > >> > >> > >