[Samba] Newbie question Samba/Win XP/printing

Robert Dow robert-list-ac at music.ed.ac.uk
Tue Nov 12 14:00:01 GMT 2002


Hi -

I am trying to set up a samba server on our solaris 2.8 box, which is to
be used primarily for printing in the first instance. 

My smb.conf file is as follows:

[global]
   comment = Music Samba %v
   server string = Music Samba %v (%h)
   workgroup = MUSIC
   netbios name = VIXEN

   log level = 2
   log file = /usr/localhost/samba/var/samba.log.%m
   max log size = 2000
   debug timestamp = yes

   load printers = yes
   printcap name = /usr/localhost/samba/printcap
   printing = sysv
   print command = lp -c -d%p -s %s ; rm %s
   printer admin = root

   guest account = nobody
   invalid users = root @root @sys
   guest ok = yes
   browseable = yes

   hosts allow = 129.215.200.
   interfaces = 129.215.200.69/255.255.255.0
   bind interfaces only = yes
   socket options = TCP_NODELAY

   domain logons = no
   domain master = no 
   local master = yes
   preferred master = yes
   os level = 34 
   wins support = no

   encrypt passwords = yes
   password level = 7

   time server = true

   locking = yes
   lock directory = /usr/localhost/samba/var/locks

   share modes = yes
   security = user
   logon path = \\%L\logon\%U

   preserve case = yes
   short preserve case = yes

[printers]
   comment = All Printers
   printable = yes
   path = /var/spool/samba
   guest ok = yes
   read only = yes
   create mask = 0700
   browseable = yes


The printcap file looks like this:

ml2
lp
lw1



If I print from vixen using smbclient, eveything works fine. For example:

vixen% smbclient //vixen/ml2
added interface ip=129.215.200.69 bcast=129.215.200.255
nmask=255.255.255.0
Password: 
Anonymous login successful
Domain=[MUSIC] OS=[Unix] Server=[Samba 2.2.6]


However, if I try to add the printer from my windows XP box on the
network:

a) I can see the server (vixen) but no printers attached if I browse
b) If I try to use the printer name I get "Windows cannot connect to
   printer"

In the samba log file it talks about NT Password did not match for user

I shouldn't need a password, though, should I if guest ok = yes?

Any help would be appreciated!!

Robert




More information about the samba mailing list