[Samba] my win2k machine can not share the printer of samba sever

Jianping Zhu zjp at arches.uga.edu
Wed Sep 18 01:33:01 GMT 2002


i have a redhat 7.1 linux server with samba 2.4 server on it.
I have a printer attached to the linux sever. But my windows machines can
not share the printer.

Any suggestions will be greatly appreciated

the samba.conf is list in following:

--------------------------------------------------


#===================Global Settings===============================
[global]

#Basic Sever Settings
   netbios name = Milo
   workgroup = coop_unit
   domain admin group = @admin
   server string = USGS Coop Unit 
   wins support = yes
   name resolve order = wins lmhosts bcast
   dns proxy = no
   time server = yes
   smb passwd file = /etc/samba/private/smbpasswd
   username map = /etc/samba/smbusers
   null passwords = no
#File attributes
   case sensitive = no
   preserve case = yes
   short preserve case = yes

#log file settings
   log file = /var/log/samba/log.%m
   max log size = 50
   log level = 2

#Act as the domain and local master browser
   os level = 64
   preferred master = yes
   domain master = yes
   local master = yes

#Security Settings <DO NOT CHANGE> 
   security = user 
   hosts allow = 128.192.

#Use Encrypted passwords
   encrypt passwords = yes
 
#Performance enhancement
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#Support domain logons
   domain logons = yes

#Unix Password Synching
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *password* %n\n *password* %n\n *successful*
   passwd chat debug = no

#User profile storage location
#   logon home = \\%L\w9xprofile\%U
   logon path = \\%L\profiles\%U  
   browsable = no
   writeable = yes

#Specify a generic logon script for all users
#this is a relative **DOS** path to the [netlogon] share
   logon script = \scripts\%u.bat

#Print Stuff 
   printing = bsd
   printcap file = /etc/printcap 

#Necessary share for domain controller
[netlogon]
   path = /etc/samba/netlogon
   locking = no
   public = no
   browsable = yes
   writeable = no
   write list = @admin

#=====================Share Definitions==================================
[profiles]
   path = /etc/samba/profiles/
   browsable = no 
   writeable = yes

#[w9xprofile]
#  path = /etc/samba/w9xprofile/
#  browsable = no
#  writeable = yes

[homes]
   comment = Home directories
   browsable = no
   writeable = yes
   hide dot files = yes

[blackduck]
   comment = Blackduck project folder
   path = /home/blackduck
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = @blackduck

[home1]
   comment = Extra storage folder in hd1
   path = /home1
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users =@conroy
[arm]
   comment = ARM project folder
   path = /home/arm
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = @arm
[gap]
   comment = GAP project folder
   path = /home/gap
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = @gap

[class]
    path = /home/class
    browsable = yes
    writeable = yes
    create mask = 0777
    valid users = @class

[software]
    path = /home/software
    browsable = yes
    writeable = yes
    create mask = 0777
    valid users = @admin

[budget]
    path = /home/budget
    browsable = yes
    writeable = yes
    create mask = 0777
    valid users =@staff @secretary

[www]
    path = /home/www
    browseable = yes
    writeable = yes
    create mask = 0777
    valid users = @web

[user programs]
    path = /home/usr_programs
    browsable = yes
    writeable = yes
    create mask = 0777

[music$]
    path = /home/music
    browsable = no
    writeable = yes
    valid users = jhowell nzimpfer 

[home]
   comment = for copying files in large batches.
   path = /home
   browsable = yes
   writeable = yes
   valid users = root

[printers]
   comment = All printers
   path = /var/spool/samba
   browseable = yes
   writeable = no
   guest ok=yes
   printable = yes
-----------------------------------------------------





More information about the samba mailing list