[Samba] centos 6.4 SELinux and connecting to homes

2013-10-11 Thread Marc Fromm
I setup of centos 6.4 box. The smb.conf file under SELinux notes said to run 
this command to share home directories.
setsebool -P samba_enable_home_dirs on

On the windows machine when I make a connection to 
\\server.name\homesfile:///\\server.name\homes
I get the usual login prompt, but I cannot login. I provide my samba username 
and password but it fails to log me in.

My ipaddress is in the hosts allow = line.

Is there something else needed to use samba in SELinux? I can connect fine to 
my fedora and redhat boxes, which are not SELinux.

Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] windows 7 cannot connect

2011-08-10 Thread Marc Fromm
My googling seems to point at upgrading samba to 3.4. Currently installed on my 
RHEL 5.2 32 bit server is as listed below for smb and samba.

If I was running RHEL 64 bit I would be supported by red hat and updating the 
OS to the latest 5.x would provide this for me. For some reason red hat feels 
they do not need to support their 32 bit users, which my server is running, and 
updating the OS does not update certain packages like samba and php. Even 
though I have paid support with red hat they will not provide support to update 
the needed packages.

Thus, is there a detailed set of procedures on how to manually upgrade samba on 
a RHEL 5.2 server? I do not want to try this by trial and error and cripple the 
server.

Thanks

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Tuesday, August 09, 2011 12:00 PM
To: Marc Fromm; samba
Subject: Re: [Samba] windows 7 cannot connect

On Tue, Aug 9, 2011 at 2:42 PM, Marc Fromm marc.fr...@wwu.edu wrote:
 I just set up my first windows 7 desktop. When I try to map a drive to the 
 red hat linux samba share it complains that the server cannot perform the 
 requested operation. Windows XP machines work with no problem.

 The linux samba information:
 [root@finaid45 samba]$ rpm -qa | grep smb
 pam_smb-1.1.7-7.2.1
 libsmbclient-3.0.33-3.29.el5_6.2
 gnome-vfs2-smb-2.16.2-8.el5

 [root@finaid45 samba]$ rpm -qa | grep samba
 samba-client-3.0.33-3.29.el5_6.2
 samba-common-3.0.33-3.29.el5_6.2
 samba-3.0.33-3.29.el5_6.2
 system-config-samba-1.2.41-5.el5


Is the samba machine a pdc?

John

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] windows 7 cannot connect

2011-08-10 Thread Marc Fromm
The server currently has 3.0.33 on it, but it needs at least 3.4 to work with 
windows 7 computers. Red hat will not be upgrading samba beyond 3.0.33 for 
their 32bit RH5 users. Thus I am stuck and cannot use yum and the red hat repos 
to do the upgrade. 

On site directed me to this page to download the rpms, but I am not experienced 
enough with manually updating a package.
http://ftp.sernet.de/pub/samba/ . I downloaded all the files listed under the 
3.6/rhel/5/i386 directory.

Thus I was hoping to find to step by step on how to do the upgrade.

-Original Message-
From: Chris Weiss [mailto:cwe...@gmail.com] 
Sent: Wednesday, August 10, 2011 2:17 PM
To: Marc Fromm
Cc: John Drescher; samba@lists.samba.org
Subject: Re: [Samba] windows 7 cannot connect

On Wed, Aug 10, 2011 at 3:13 PM, Marc Fromm marc.fr...@wwu.edu wrote:
 My googling seems to point at upgrading samba to 3.4. Currently installed on 
 my RHEL 5.2 32 bit server is as listed below for smb and samba.

 If I was running RHEL 64 bit I would be supported by red hat and updating the 
 OS to the latest 5.x would provide this for me. For some reason red hat feels 
 they do not need to support their 32 bit users, which my server is running, 
 and updating the OS does not update certain packages like samba and php. Even 
 though I have paid support with red hat they will not provide support to 
 update the needed packages.

 Thus, is there a detailed set of procedures on how to manually upgrade samba 
 on a RHEL 5.2 server? I do not want to try this by trial and error and 
 cripple the server.


I think RH 5 has a samba 3.x package, or was that only Centos?  I don't recall 
what version it was intro'd

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] windows 7 cannot connect

2011-08-09 Thread Marc Fromm
I just set up my first windows 7 desktop. When I try to map a drive to the red 
hat linux samba share it complains that the server cannot perform the 
requested operation. Windows XP machines work with no problem.

The linux samba information:
[root@finaid45 samba]$ rpm -qa | grep smb
pam_smb-1.1.7-7.2.1
libsmbclient-3.0.33-3.29.el5_6.2
gnome-vfs2-smb-2.16.2-8.el5

[root@finaid45 samba]$ rpm -qa | grep samba
samba-client-3.0.33-3.29.el5_6.2
samba-common-3.0.33-3.29.el5_6.2
samba-3.0.33-3.29.el5_6.2
system-config-samba-1.2.41-5.el5


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] multiple samba accounts

2011-02-03 Thread Marc Fromm
Is it possible on a windows computer to connect to a linux server with two 
samba accounts, simultaneous?
My scenario is, I want to create two mapped network drives on a windows 
computer to two separate home directories on a linux server, but I want to 
require one samba user name and password to connect to home directory A and a 
second samba user name and password to connect to home directory B.

As it stands right now, as soon as I connect to the first mapped network drive 
with the first samba account, when I go to create the second mapped network 
drive the windows computer tries to use the first samba account, instead of 
prompting for the second samba account.

Thanks

Marc
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] group write permission

2010-04-15 Thread Marc Fromm
Is there a setting in the smb.conf file so that if a user creates a directory 
or a file, the group permissions retain write permissions to the new directory 
or file?
Currently when logged on to  the linux server itself, if a user creates a 
directory the group permissions are set to  RWX, but with a samba connection 
the permissions are set to R-X only.

Thanks

Marc

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] disconnect a user

2009-05-27 Thread Marc Fromm
I need to disconnect some samba connections to my linux redhat server.
I searched online and found these two tips but neither work:

1. Set the deadtime parameter to specific time in the smb.conf file
my smb.conf file does not have the parameter deadtime listed

2. Use kill command to kill the smbd PID.
Kill -15 PID
I tried that and after killing my own connection I could still open and save 
files to the samba share that I had connected to.

Is there a command that I can use to disconnect a user's samba connection?

Thanks

Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] changing owner and group

2009-01-23 Thread Marc Fromm
Is there a way to prevent a samba connection from changing the file owner and 
group?
Users connect to the website on a linux box from windows desktops with 
Dreamweaver.
Each time a user edits a file that file's owner and group is changed from 
apache and developers to username and username, thus preventing other users 
from editing the file.
Can I set an option in samba to leave the owner and groups alone?

Thanks

Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] mac still wont follow symbolic link

2008-11-03 Thread Marc Fromm
I have received a few responses to the problem I am facing with some Mac OS 
10.5.5 computers not being able to follow the symbolic link to the /var/www 
directory on a red hat 5.2 el server. The Mac computers can follow any other 
symbolic link, even to directories inside the /var/www directory. The Mac 
computers just can't seem to follow a symbolic link to /var/www directory. 
PC/windows computers can follow the symbolic link to the /vaw/www directory.

These same Mac computers can follow a symbolic link to the /var/www on our 
fedora core 5 server. On both servers, the red hat and fedora core 5, the 
smb.conf file has no entry for unix extensions = no thus both are using the 
default unix extensions = yes

Why can't these Mac OS 10.5.5 computers follow the symbolic link to the 
/var/www directory when windows machines can, and why CAN these Mac computers 
follow symbolic links to directories inside the /var/www/ directory?

Thanks

Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-30 Thread Marc Fromm
The old server that allows the Mac to use the symbolic link to the /var/www 
directory does not have the unix extensions = no in its smb.conf file, thus I 
must assume it is using the default yes setting as well.

Any idea as to how the old server is letting the Mac use the symbolic link, 
with the unix extensions = yes setting?
Why do other symbolic links work on the Mac that is connecting to the new 
server that cannot follow the www symbolic link?

-Original Message-
From: James Peach [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 8:42 AM
To: Marc Fromm
Cc: samba@lists.samba.org
Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www

2008/10/29 Marc Fromm [EMAIL PROTECTED]:
(unix extensions = no)
 My smb.conf does not contain unix extensions option.

unix extensions = yes is the default that will be used if smb.conf
does not specify otherwise

 Is this a setting on the mac that I need to change?

you need to change it on the server

 If you want the server to follow the symlink instead, you have to turn off 
 unix extension support
 I'm not sure about the above comment. On the server I can follow the symbolic 
 link to the
 www directory, it only does not work when a Mac makes a samba connection and 
 on the
 Mac I try to go to the www directory.

Because the target of the symlink is a location on the server. When
the Mac client tries to resolve the symlink, it will try to access the
corresponding location on the client.

If you turn the unix extensions support off, then the server will
follow the symlink and the Mac will behave just like the Windows
clients



 -Original Message-
 From: James Peach [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 28, 2008 3:40 PM
 To: Marc Fromm
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www

 2008/10/28 Marc Fromm [EMAIL PROTECTED]:
 We have a new server running Red Hat 5.2EL.
 Windows machines can samba to the linux server with no problems, including 
 symbolic links to the www directory.
 Our Mac OS 10.5.5 machines have a problem with symbolic links to the www 
 directory.
 On the Mac computers, the symbolic links show up as an alias that cannot be 
 followed.
 These same MAC computers can samba to the www directory via a symbolic link 
 on our Fedora Core 5 server.

 The Mac is almost certainly using the unix extensions to follow the
 symlink on the client side. If you want the server to follow the
 symlink instead, you have to turn off unix extension support (unix
 extensions = no).


 Since the www symbolic link works on a PC that sambas to the Red Hat server, 
 is this strictly a problem on the macs or is there a setting I need to 
 change in a conf file on the Red Hat server, since the same Macs can use the 
 symbolic link to the www directory on the Fedora server?

 Thanks

 Marc

 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba




 --
 James Peach | [EMAIL PROTECTED]




--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-29 Thread Marc Fromm
(unix extensions = no)
My smb.conf does not contain unix extensions option.
Is this a setting on the mac that I need to change?

 If you want the server to follow the symlink instead, you have to turn off 
 unix extension support
I'm not sure about the above comment. On the server I can follow the symbolic 
link to the www directory, it only does not work when a Mac makes a samba 
connection and on the Mac I try to go to the www directory.

-Original Message-
From: James Peach [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 3:40 PM
To: Marc Fromm
Cc: samba@lists.samba.org
Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www

2008/10/28 Marc Fromm [EMAIL PROTECTED]:
 We have a new server running Red Hat 5.2EL.
 Windows machines can samba to the linux server with no problems, including 
 symbolic links to the www directory.
 Our Mac OS 10.5.5 machines have a problem with symbolic links to the www 
 directory.
 On the Mac computers, the symbolic links show up as an alias that cannot be 
 followed.
 These same MAC computers can samba to the www directory via a symbolic link 
 on our Fedora Core 5 server.

The Mac is almost certainly using the unix extensions to follow the
symlink on the client side. If you want the server to follow the
symlink instead, you have to turn off unix extension support (unix
extensions = no).


 Since the www symbolic link works on a PC that sambas to the Red Hat server, 
 is this strictly a problem on the macs or is there a setting I need to change 
 in a conf file on the Red Hat server, since the same Macs can use the 
 symbolic link to the www directory on the Fedora server?

 Thanks

 Marc

 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba




--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] mac os 10.5.5 and symbolic link to www

2008-10-28 Thread Marc Fromm
We have a new server running Red Hat 5.2EL.
Windows machines can samba to the linux server with no problems, including 
symbolic links to the www directory.
Our Mac OS 10.5.5 machines have a problem with symbolic links to the www 
directory.
On the Mac computers, the symbolic links show up as an alias that cannot be 
followed.
These same MAC computers can samba to the www directory via a symbolic link on 
our Fedora Core 5 server.

Since the www symbolic link works on a PC that sambas to the Red Hat server, is 
this strictly a problem on the macs or is there a setting I need to change in a 
conf file on the Red Hat server, since the same Macs can use the symbolic link 
to the www directory on the Fedora server?

Thanks

Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba user file Red hat 5 EL

2008-09-18 Thread Marc Fromm

(This is a resend to my question, due to an error between the keyboard and 
chair.)

I installed red hat 5EL. I created samba users in command line using
pdbedit -a username and then supplied a password at the prompt.

On our fedora core 5 server the users are listed in a file called smbpasswd, 
much like /etc/shadow

Where in red hat 5EL is the smbpasswd file or what file stores the users and 
passwords? Does creating a samba user still require first creating a red hat 
user by the same name?

Thanks

Marc
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] red hat 5 EL

2008-09-17 Thread Marc Fromm
I installed red hat 5EL. I created samba users in command line using
pdbedit -a username and then supplied a password at the prompt.

On our fedora core 5 server the users were listed in a file called smbpasswd, 
much like /etc/shadow

Where in red hat 5EL is the smbpasswd file? Does creating a samba user still 
require first creating a red hat user by the same name?

Thanks

Marc

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smb from PC but not from MAC

2008-04-22 Thread Marc Fromm
I have a user who can connect to a SMB share on the Linux server from
his PC but he cannot connect to the SMB share from a MAC. Both the PC
and the MAC are in the same IP range, which is set in the smb.conf file.

Is there a setting on the MAC OS X software that needs to be enabled to
allow SMB connections?

The error code is . . . could not be written or read -36

Thanks

Marc 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba.conf share settings

2008-04-08 Thread Marc Fromm

Is there a resource on how to configure a samba share on a Fedora core
linux box so that anyone can save and edit documents, but the documents
that can be seen and edited are limited to only the documents that the
logged in user created or saved in the samba share?


Marc 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] user account status

2008-04-02 Thread Marc Fromm
I used smbpasswd -d username to disable an account.
How can I see the status of the account as being disabled?
Is there something similar to the passwd -S username command which
tells me the account status?

When I view the smbpasswd file the user I disabled appears unchanged,
not like the /etc/shadow file that replaces the password with two !!
when an account is disabled.

Thanks

Marc 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] user accounts

2008-03-26 Thread Marc Fromm

I am confused on the various account creation methods in samba. I am
running Fedora Core 8 and Samba 3.0.26a-6.

1.)
I can create a user with pdbedit -a
I can create a user with smbpasswd -a
I can list the users with the pdbedit -L command 
Where is the file with the users that the above commands create and
pdbedit -L lists?

2.)
In SWAT under server password management I created a use root with a
password. This created a smbpasswd file in /etc/samba/ directory. This
user is not listed when I run pdbedit -L. When do you use the user that
is created in SWAT?

3.)
When I run smbclient -L localhost to list the shares I am prompted for a
password, but my root password does not work. What account and password
is smbclient looking for?

Thanks

Marc Fromm
Information Technology Specialist II
Financial Aid Department
Western Washington University
Phone: 360-650-3351
Fax:   360-788-0251

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] permission puzzle

2008-03-26 Thread Marc Fromm
I created a share on windows with a windows user marc having access to
the share.

On the Linux machine I created two samba users marc and jim with
associated Linux accounts marc and jim.

On Linux I connect to the share on windows with the windows user marc
mount -t cifs //140.160.42.58/shareonwindows /cddrive -o username=marc

I made cddrive a samba share on the Linux box by entering it into the
smb.conf file

On a second windows computer I map a network drive to the cddrive samba
share on Linux using the samba user marc. User marc can create and
delete files.

Here is the puzzle:
On the second windows computer I can map a network drive to the cddrive
samba share on Linux using the samba user jim and create and delete
files.
There is not a jim account on the windows computer where the windows
share is located. If I adjust the share settings on the windows share
for the windows user marc, both samba users marc and jim are affected
equally. Example: on the windows share I only allow marc to read, then
neither samba marc nor jim on the second windows computer can create a
file.

Marc




Marc Fromm
Information Technology Specialist II
Financial Aid Department
Western Washington University
Phone: 360-650-3351
Fax:   360-788-0251

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba