Hi all - I have the latest samba up and running fine except for one small problem. The username I use to log into the NT domain is different than the username I log into samba with. I have no control over the former, and would *really* rather not change the latter. I've searched the net, and the archives, and got only saw bits and pieces of this issue, never quite fully answered. Is it possible to specify a different username under Win95? If someone has gotten this to work, please let me know how you did it. Thanks! (Please reply to me directly, I'm not sure I'll get the list -- I'm in a limbo land :) -philip -- Philip Hallstrom philip.hallstrom@cendantsoft.com Cendant Software Online Services 425.649.9800 x5738 Cendant Software
> Hi all - > I have the latest samba up and running fine except for one small > problem. The username I use to log into the NT domain is different than > the username I log into samba with. I have no control over the former, > and would *really* rather not change the latter.Please, cc or drop me a note if you get any answers concerning this since I face exactly the same problem. I read something about a % hack but never got it working under '95. Maybe it's only supported by the samba stuff... Thanks a lot in advance, -Andre
Take a look at your /etc/smbusers file. I think this is what it's for. Sorry I can't be more positive, but it's been a long time since I set up Samba and since it's running smoothly I've had no reason to fiddle. :) I've added: jbenson = "Jonathan Benson" tech1 jbenson is my Linux log in, "Jonathan Benson" is my username under Win95 and tech1 is my machine name under 95. Regards, Jonathan Philip Hallstrom wrote:> Hi all - > I have the latest samba up and running fine except for one small > problem. The username I use to log into the NT domain is different than > the username I log into samba with. I have no control over the former, > and would *really* rather not change the latter. > > I've searched the net, and the archives, and got only saw bits and pieces > of this issue, never quite fully answered. > > Is it possible to specify a different username under Win95? > > If someone has gotten this to work, please let me know how you did it. > > Thanks! > > (Please reply to me directly, I'm not sure I'll get the list -- I'm in a > limbo land :) > > -philip > > -- > Philip Hallstrom > philip.hallstrom@cendantsoft.com Cendant Software Online Services > 425.649.9800 x5738 Cendant Software-------------- next part -------------- A non-text attachment was scrubbed... Name: vcard.vcf Type: text/x-vcard Size: 456 bytes Desc: Card for Jonathan Benson Url : http://lists.samba.org/archive/samba/attachments/19980720/f18211e0/vcard.vcf
I login to my Win98 desktop as 99991 (Employee #) and login to Linux/Solaris/HP/SGI as ccurley. What you need is a "username map" entry in your smb.conf file global section, like the following: username map = /usr/local/samba/etc/usermap and then the username map file looks something like the following: ccurley = 99991 which is described in smb.conf man page. -- Charles Curley, Staff Engineer Lockheed Martin Ocala Operations
> I login to my Win98 desktop as 99991 (Employee #) and login to > Linux/Solaris/HP/SGI as ccurley. What you need is a "username map" entry > in your smb.conf file global section, like the following: > > username map = /usr/local/samba/etc/usermap > > and then the username map file looks something like the following: > > ccurley = 99991 > > which is described in smb.conf man page.Yes, but this works only for samba servers. I have to find a possibility which works for samba and NT servers in the same way. It would be okay to get an additional username/password prompt as NT does it when mounting a share. -Andre