Mark A. Corley
1998-Feb-11 21:47 UTC
Accessing a share that requires entire different authenication...
Hi, On the project that I work on, we are using Samba here to allow Win95/NT PCs to map directories on our Sun Solaris machines to gain access to available disk space and run PC applications whose databases or data files reside on those Suns. Essentially, our project is using this in a manner similar to the way in which we had been using NFS for this task previously. So far, that has gone pretty well. However, I now have the need to map another drive; but I would like to have this connection authenticated under a different username/password pair other than the one normally associated with the other drive mappings on a Win 95/NT PC. In other words, a username/password pair different from my Unix userid/password pair. The usernames on our Win95/NT PCs typically match what is on the Unix machines (in fact it's a company standard for all the machines at our site). Is there a convenient method for doing this? Or possibly a setting for the smb.conf that I am overlooking?? I have been struggling with this one for days now; however, I can't ascertain what to do. I have read through the FAQs and most of the documents in the docs subdirectory of the samba distribution. I have tried experimenting with various combinations of parameters like (security = user, valid users = <new Unix username>, force user, revalidate). Nothing seems to work correctly for doing this. I guess I am just trying to do something similar to what our PC NFS packages will allow us to do. Here is hopefully the relevant information about the samba server: Version: Samba 1.19.8p2 Os that Samba is running under: Sun Solaris 2.3 Our Win95 PCs are a mixture of OSR 1 and 2, if that makes a difference. Any information, assistance, etc. would be greatly appreciated. thanks, mark ----------------------------------------------------------------------------- Mark A.Corley email (work) => mark.corley@lmco.com email (work) => corleyma@vs.lmco.com email (home) => macorley@flash.net
Gerald W. Carter
1998-Feb-12 14:35 UTC
Accessing a share that requires entire different authenication...
> However, I now have the need to map another drive; but I would like to > have this connection authenticated under a different username/password > pair other than the one normally associated with the other drive > mappings on a Win 95/NT PC. In other words, a username/password pair > different from my Unix userid/password pair. The usernames on our > Win95/NT PCs typically match what is on the Unix machines (in fact it's > a company standard for all the machines at our site). Is there a > convenient method for doing this? Or possibly a setting for the smb.conf > that I am overlooking??Are you trying to connect as a different UNIX account or a non-existent unix account? If you are trying too do the latter, you can accomplish this by enabling encrypted passwords but then you have the entire issue of password synchronization, etc... A possible solution would be to setup a second samaba server ( possibly on the same machine ) which uses encrypted passwords while you main one does not. The second server could offer only the neccessary shares which you needed. If you are trying to connect as a different UNIX account, then you will need to something like this which works from NT. I don't think it will work from 95....maybe try using the \\server\share%username syntax? I don't know never tried it from 95 :-} server1's IP address 192.0.0.2 net use i: \\server1\share1 /user:user1 net use j: \\192.0.0.2\share2 /user:user2 j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )