I am having trouble with getting a machine running NTrigue (based on Windows/NT 3.51) to connect to Samba printers - the NTrigue box just gives the error "Access Denied". I have analysed the log files on the Samba server and the conversation between the NTrigue box and Samba never seems to get as far as checking for a username/password so the message from NTrigue seems to be misleading. The conversation seems to go as follows: 1. NTrigue opens the connection and sends a netbios_connect request. 2. Samba replys to the netbios_connect. 3. NTrigue sends a SMBnegprot request. 4. Samba replies to the SMBnetprog request. 5. NTrigue closes the connection and tells the user "Access Denied".>From what I have read elsewhere I suspect that what is happenninghere is that as soon as NTrigue finds that samba is not supporting encrypted passwords is gives up because it doesn't think it has any way to prompt the user for a password, and won;t connect to a machine using unencrypted password without doing so. Can anyone confirm is this is indeed correct? Does anyone know of a registry entry or similar on NT that can be changed to say that, in the event that the server doesn't support encrypted passwords and there is no opportunity to prompt the user for a username/password then to just set up the connection as guest? Alternatively, if we have to enable password encryption has anyone come up with a neat way of keeping the UNIX and SMB passwords syncronised? The reason we don't have password encryption on at the moment is that many of our Samba users are also UNIX users and the accounts are intended to be equivalent and so it is nice to have the same password automatically. -- Steve Fosdick Internet: fosdicsj@aom.bt.co.uk Voice: +44 1473 642987 MSMAIL: BTEA/BTLIP23/FOSDICSJ Fax: +44 1473 646656 BOAT: FOSDICSJ Snail: B29/G34, BT Labs, Martlesham Heath, Ipswich, IP5 7RE, England.
On Wed, 04 Mar 1998 14:00:39 GMT Steve Fosdick <fosdicsj@aom.bt.co.uk> wrote:> I am having trouble with getting a machine running NTrigue (based > on Windows/NT 3.51) to connect to Samba printers - the NTrigue > box just gives the error "Access Denied".We are using NTrigue (in fact we selected it over the competition in part because Insignia recommended Samba whereas Tektronix recommended installing NFS at the NT end). We use the NTrigue NIS option so that the Ntrigue box keeps its NT passwords in sync with our Unix server (this may not be an option for you). In our smb.conf (Version 1.9.16p11) we have encrypt passwords = yes password server = %m security = SERVER to point Samba back to the NTrigue box. It seems to hang together nicely, including printing. Jonathan. -- Me: Jonathan Crompton <J.Crompton@cs.ucl.ac.uk> Systems Architect, Computer Science, UCL. Views: My own, and not UCL's unless otherwise indicated
> I am having trouble with getting a machine running NTrigue (based > on Windows/NT 3.51) to connect to Samba printers - the NTrigue > box just gives the error "Access Denied". > > I have analysed the log files on the Samba server and the conversation > between the NTrigue box and Samba never seems to get as far as checking > for a username/password so the message from NTrigue seems to be > misleading. The conversation seems to go as follows: > > 1. NTrigue opens the connection and sends a netbios_connect request. > 2. Samba replys to the netbios_connect. > 3. NTrigue sends a SMBnegprot request. > 4. Samba replies to the SMBnetprog request. > 5. NTrigue closes the connection and tells the user "Access Denied". >Connect to a share on the samba server first and then try to access the printer. Works like this on NCD WinCenter as well. Hope this helps, 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 )
Steve Fosdick:>I am having trouble with getting a machine running NTrigue (based >on Windows/NT 3.51) to connect to Samba printers - the NTrigue >box just gives the error "Access Denied".I am having the same problem with NTrigue and samba(1.9.17p1). I also tried changing the registry entry for encrypted passwords as documented in docs/WinNT.txt EnablePlainTextPasswork:D_WORD=1 I can easily connect from NT4.0 server machine and Win95s under same user account and password. Every time I try to map the network drive it gives ACCESS DENIED box. Please share with me if you find any solution. ---------- Sunny Singh ssingh@centurydie.com