Roland_Lepper@Liteonit.com
2007-Jan-05 09:11 UTC
[Samba] permission problem samba share 2nd suse server
Dear all, I'm running a fileserver on Suse10. The purpose of this fileserver is to store only mailbackups. I also have backupserver running Suse10 with Dar&Sarab installed. backups will be done on HDD. This runs perfect. because I need to mount the samba share of the fileserver to the backupserver i did: mount -t smbfs -o username=root,password=xxx,debug=4 //ipaddress/mailbackup /mnt/servers/mailbackup This will mount the samba share on the backupserver. if I want to access the mounted share on the backupserver I can 'browse' to the first folder. After that I get a permission denied error. The permissions settings: fileserver: drwxrwx--- user.root user-mailbackup-folder -rwxrw-r-- user.root user-mailbackup-files backupserver: drwxr-xr-x-- root.root user-mailbackup-folder ? ? user-mailbackup-files (permission denied error) Because root ID is always '0' I thought this will be no problem to run Dar&Sarab and access the users-mailbackup-files on the backupserver. Apparently this is not the case, and I'm a bit stuck now. Why root can't access the user-mailbackup-files on the backupserver but CAN 'browse' user-mailbackup-folder on the backupserver? ps. Backup server is running Samba, Samba-client, Libsmbclient Any help is appreciated. Best Regards, Roland de Lepper ------------------------------
Roland_Lepper@Liteonit.com
2007-Jan-08 08:02 UTC
[Samba] permission problem samba share 2nd suse server
Hi there, Nobody has any idea? Best Regards, Roland de Lepper ------------------------------ ----- Forwarded by Roland de Lepper/HOL/LITEONIT on 08/01/2007 08:58 ----- Roland_Lepper@Liteonit.com Sent by: To: samba@lists.samba.org samba-bounces+roland_lepper=liteonit.com@list cc: s.samba.org Subject: [Samba] permission problem samba share 2nd suse server 05/01/2007 09:51 Dear all, I'm running a fileserver on Suse10. The purpose of this fileserver is to store only mailbackups. I also have backupserver running Suse10 with Dar&Sarab installed. backups will be done on HDD. This runs perfect. because I need to mount the samba share of the fileserver to the backupserver i did: mount -t smbfs -o username=root,password=xxx,debug=4 //ipaddress/mailbackup /mnt/servers/mailbackup This will mount the samba share on the backupserver. if I want to access the mounted share on the backupserver I can 'browse' to the first folder. After that I get a permission denied error. The permissions settings: fileserver: drwxrwx--- user.root user-mailbackup-folder -rwxrw-r-- user.root user-mailbackup-files backupserver: drwxr-xr-x-- root.root user-mailbackup-folder ? ? user-mailbackup-files (permission denied error) Because root ID is always '0' I thought this will be no problem to run Dar&Sarab and access the users-mailbackup-files on the backupserver. Apparently this is not the case, and I'm a bit stuck now. Why root can't access the user-mailbackup-files on the backupserver but CAN 'browse' user-mailbackup-folder on the backupserver? ps. Backup server is running Samba, Samba-client, Libsmbclient Any help is appreciated. Best Regards, Roland de Lepper ------------------------------ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Roland_Lepper@Liteonit.com
2007-Jan-08 09:24 UTC
[Samba] permission problem samba share 2nd suse server
Sorry if my question was not compleet. I have to use Samba because I have an AD on Windows 2003. I'm creating a mailbackup server to store mailbackups. Because we have to keep them a long time (sales, logistics, finance) I'm running out of diskspace on my Windows fileserver. We're talking about 150GB of mailbackup. That why I've created a backupserver on Suse10 using Samba. The goal is to create one single share which holds the mailbackups per user and per 'public' mailbox like logistics_eu@example.com. That share is accessible to everybody, but access to the mailboxes is restricted to the users privileges. Like user steve don't have access to user george's mailbackup folder, but will have access to his own mailbackup folder. This is why I can't use nsf, i think. So I've set the permissions on the mailbackup server. Please see mail below. I've mounted the mailbackup directory on the backupserver. But when I want to access the mounted mailbackup dir on the backup server as root, I don't have access to it (Permission denied). This sounds strange because I gave root permissions on the mailbackupserver to the mailbackup dir. I can access the mailbackup dir if I mount it under Windows with the permissions I want. Best Regards, Roland de Lepper ------------------------------ Kaustubh Chaudhari To: Roland_Lepper@Liteonit.com <c_kitu@yahoo.co. cc: samba@lists.samba.org in> Subject: Re: [Samba] permission problem samba share 2nd suse server 08/01/2007 10:05 Please respond to c_kitu Hi Roland, Tell me first both the system that you are using are on linux than why you are using samba there, use nfs :D further seems strange to me, Mount the same share on local system and than see if you face the same error. KK On Mon, 2007-01-08 at 08:58 +0100, Roland_Lepper@Liteonit.com wrote:> > > > Hi there, > > Nobody has any idea? > > Best Regards, > Roland de Lepper > ------------------------------ > > ----- Forwarded by Roland de Lepper/HOL/LITEONIT on 08/01/2007 08:58 ----- >> Roland_Lepper@Liteonit.com> Sent by: To:samba@lists.samba.org> samba-bounces+roland_lepper=liteonit.com@list cc:> s.samba.org Subject: [Samba]permission problem samba share 2nd suse server>>> 05/01/2007 09:51>>> > > > > > > > > Dear all, > > I'm running a fileserver on Suse10. The purpose of this fileserver is to store only mailbackups. > I also have backupserver running Suse10 with Dar&Sarab installed. backups will be done on HDD.This> runs perfect. > > because I need to mount the samba share of the fileserver to the backupserver i did: > > mount -t smbfs -o username=root,password=xxx,debug=4 //ipaddress/mailbackup/mnt/servers/mailbackup> > This will mount the samba share on the backupserver. > > if I want to access the mounted share on the backupserver I can 'browse' to the first folder.After> that I get a permission denied error. > > The permissions settings: > > fileserver: > drwxrwx--- user.root user-mailbackup-folder > -rwxrw-r-- user.root user-mailbackup-files > > backupserver: > drwxr-xr-x-- root.root user-mailbackup-folder > ? ? user-mailbackup-files (permission denied error) > > Because root ID is always '0' I thought this will be no problem to run Dar&Sarab and access the > users-mailbackup-files on the backupserver. Apparently this is not the case, and I'm a bit stuck > now. > > Why root can't access the user-mailbackup-files on the backupserver but CAN 'browse' > user-mailbackup-folder on the backupserver? > > ps. Backup server is running Samba, Samba-client, Libsmbclient > > Any help is appreciated. > > Best Regards, > Roland de Lepper > ------------------------------ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
Felipe Augusto van de Wiel
2007-Jan-09 23:01 UTC
[Samba] permission problem samba share 2nd suse server
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/05/2007 06:51 AM, Roland_Lepper@Liteonit.com escreveu:> Dear all, > > I'm running a fileserver on Suse10. The purpose of this > fileserver is to store only mailbackups. I also have > backupserver running Suse10 with Dar&Sarab installed. > backups will be done on HDD. This runs perfect. > > because I need to mount the samba share of the fileserver > to the backupserver i did: > > mount -t smbfs -o username=root,password=xxx,debug=4 //ipaddress/mailbackup /mnt/servers/mailbackup > > This will mount the samba share on the backupserver. > > if I want to access the mounted share on the backupserver > I can 'browse' to the first folder. After that I get a > permission denied error.What testparm -v tells you about invalid users?> The permissions settings: > > fileserver: > drwxrwx--- user.root user-mailbackup-folder > -rwxrw-r-- user.root user-mailbackup-files > > backupserver: > drwxr-xr-x-- root.root user-mailbackup-folder > ? ? user-mailbackup-files (permission denied error) > > Because root ID is always '0' I thought this will be > no problem to run Dar&Sarab and access the > users-mailbackup-files on the backupserver. Apparently > this is not the case, and I'm a bit stuck now. > > Why root can't access the user-mailbackup-files on the > backupserver but CAN 'browse' user-mailbackup-folder > on the backupserver?Because 'browse' and 'access' are different concepts with different permission restriction.> ps. Backup server is running Samba, Samba-client, Libsmbclient > > Any help is appreciated. > > Best Regards, > Roland de Lepper > ------------------------------Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFpB7yCj65ZxU4gPQRAiigAKCLx3uYRpphx4KXDU/Y0RGrzyMi4QCcCRAK 1UGBfhdtN7FbTQovwOMDZF8=tYFw -----END PGP SIGNATURE-----