## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
Chloes PC
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
I am told by a friend that the version of Win7 can impact on the way it interfaces with other computers what version are you using?
is it a wired or wi-fi system?
Can you remember what the XP box was called?
Did I miss something which computer is the printer connected to?
Ok sorted or at least I think it is I did what you suggested and it all went perfectly and I was able to a test print, but I get this message in the Printer status "
Idle - Session setup failed: NT_STATUS_LOGON_FAILURE" it didn’t stop it printing so I can live with that.
Also the Win7 PC has a habit of logging off and sitting on the login screen and I can’t connect until I log in which is a bit unhandy for connecting with a laptop but I should be able to change something to stop the Win 7 PC logging off
Hi tramlink thanks for your input, It looks like we’ve got it working, but to answer your questions the printer is connected to a Windows 7 PC (ultimate version) and i was trying to connect to it via wIfI
There’s something mighty odd going on here … that “NT_STATUS_LOGON_FAILURE” is usually caused by the workgroup of the Linux box being different to the Windows box … that would also be why you’re being asked to log in to print.
Here’s the odd bit … workgroup = WORKGROUP is the same on the laptop and Chloe’s PC
[EDIT]
add to that, I’d have expected nsswitch.conf to have already contained the mdns stuff on the host line ???
Maybe not so odd, I just checked there and Chloe’s PC is asking for a password as well it never done that when the printer was attached to Win XP machine
I’ve just spotted another difference between Chloes nsswitch.conf and the laptops …
This is Chloes:-
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
The laptops is missing the
nis
from the “netgroup:” line
can you run:
sudo gedit /etc/nsswitch.conf
and add that.
Then reboot, and see if it still prompts for a password.
If I’m right, we may be able to remove winbind and the wins from nsswitch.conf too.
I take it you meant on the laptop, if so that line is there.
/etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4