Hi Josep,
the SMB/CIFS protocol has two modes of operation:
(1) User level security
(2) Share level security.
In the first case, each user is authenticated to the server (not the
share!). Once the user is authenticated, he or she will have access
to all shares an all resources according the usual Windows access
permissions for the user. Since each user can only have one login at
the server, you can use "sharity login" only once for a given Unix
user ID.
In the second case, the share itself has the password. Everybody who
knows the share's password has access to it. This mode is very old
(it was very popular with Windows 3.11) and is rarely used today
since individual access permissions on a per-user basis give much
better control.
If you need to access shares under different identities, you must use
different Unix users to access them and authenticate each Unix user
as a different Windows user.
Regards, Christian.
On Oct 30, 2006, at 11:27, [EMAIL PROTECTED] wrote:
Hi all.
I'm using sharity to connect to different shared directories in the
same
machine. I'd like to log to each share with a different user, but
when I
log the first time:
# sharity login smb://cpdsf.LIG.local/TRINSURE/TIsisImp/TMediadores -U
CSCPDTRISIS -P....
The login sharity shows is for the machine, not for the share:
# sharity login
Server or Share Remote Name
Authentication
----------------------------------------------------------------------
--------
smb://cpdsf.lig.local CSCPDTRISIS NTLM v2
So, when I try to log to another share with a different user, sharity
doesn't seem to do anything:
# sharity login smb://cpdsf.LIG.local/TRINSURE/TSAS -U CSCPDTSAS
# sharity login
Server or Share Remote Name
Authentication
----------------------------------------------------------------------
--------
smb://cpdsf.lig.local CSCPDTRISIS NTLM v2
It doesn't ask for a password for the user, nor makes a second login.
Is there some way to make this work, or you can just have a login to a
machine?
Thanks,
Josep Abenza Martí
Arquitectura WEB, Liberty Seguros
Tlf. 93 489 05 00 - Ext. 2352
[EMAIL PROTECTED]
=============================
Este mensaje se dirige exclusivamente a su destinatario. Puede
contener
información confidencial sometida a secreto profesional o cuya
divulgación
esté prohibida, en virtud de la legislación vigente. No esta permitida
su divulgación, copia o distribución a terceros sin la autorización
previa
y por escrito de Liberty Seguros. Si ha recibido este mensaje por
error,
le rogamos nos lo comunique inmediatamente por esta misma vía y
proceda a
su destrucción.
This e-mail is intended exclusively for the individual or entity to
which
it is addressed and may contain confidential or legally privileged
information,
which may not be disclosed under current legislation. Any form of
disclosure,
copying or distribution of this e-mail is strictly prohibited, save
with
written authorisation from Liberty Seguros. If you have received
this message
in error, please notify the sender immediately by e-mail and delete
all copies
of the message.
=============================
_______________________________________________
Sharity-talk mailing list
[email protected]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk
--
Sharity Support, OBJECTIVE DEVELOPMENT Software GmbH
http://www.obdev.at/products/sharity/support.html
_______________________________________________
Sharity-talk mailing list
[email protected]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk