[Samba] printing w2k and suse 9.1 pro

Peter Buhl pbuhl at gmx.de
Mon May 31 09:23:08 GMT 2004


hi,
i have a problem when i try to print from my w2k client to samba
3.0.2a-suse (cups is running). Samba is running and I´m able to share
the home-directories from the w2k - client. But if I try to connect to
the printers on my Samba server with smbclient //linux/canon_s750 -U
root -P I get the message:
Failed to open /secrets.tdb
As root the message is:
ERROR: Unable to fetch machine password
my smb.conf ist:
[global]
	workgroup = PRIVAT
	netbios name = TROTTEL1
	server string = Samba Server
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	map to guest = Bad User
	os level = 65
	local master = No
	domain master = No
	ldap suffix = dc=example,dc=com
	printer admin = root
	load printers = yes
	printing = cups
	printcap name = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No[global]
	workgroup = PRIVAT
	netbios name = TROTTEL1
	server string = Samba Server
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	map to guest = Bad User
	os level = 65
	local master = No
	domain master = No
	ldap suffix = dc=example,dc=com
	printer admin = root
	load printers = yes
	printing = cups
	printcap name = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No

[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes
	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[print$]
	comment = Printer Drivers
#	path = /var/lib/samba/drivers
	path = /etc/samba/drivers
	write list = root
#	force group = ntadmin
#	create mask = 0664
#	directory mask = 0775
	browseable = yes
	guest ok = yes
	read only = yes



[printers]
	comment = All Printers
#	valid users = %S
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root
[global]
	workgroup = PRIVAT
	netbios name = TROTTEL1
	server string = Samba Server
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	map to guest = Bad User
	os level = 65
	local master = No
	domain master = No
	ldap suffix = dc=example,dc=com
	printer admin = root
	load printers = yes
	printing = cups
	printcap name = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No

[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes
	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[print$]
	comment = Printer Drivers
#	path = /var/lib/samba/drivers
	path = /etc/samba/drivers
	write list = root[global]
	workgroup = PRIVAT
	netbios name = TROTTEL1
	server string = Samba Server
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	map to guest = Bad User
	os level = 65
	local master = No
	domain master = No
	ldap suffix = dc=example,dc=com
	printer admin = root
	load printers = yes
	printing = cups
	printcap name = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No

[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes
	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[print$]
	comment = Printer Drivers
#	path = /var/lib/samba/drivers
	path = /etc/samba/drivers
	write list = root
#	force group = ntadmin
#	create mask = 0664
#	directory mask = 0775
	browseable = yes
	guest ok = yes
	read only = yes



[printers]
	comment = All Printers
#	valid users = %S
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root
#	force group = ntadmin
#	create mask = 0664
#	directory mask = 0775
	browseable = yes
	guest ok = yes
	read only = yes



[printers]
	comment = All Printers
#	valid users = %S
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root
[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes
	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[print$]
	comment = Printer Drivers
#	path = /var/lib/samba/drivers
	path = /etc/samba/drivers
	write list = root
#	force group = ntadmin[global]
	workgroup = PRIVAT
	netbios name = TROTTEL1
	server string = Samba Server
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	map to guest = Bad User
	os level = 65
	local master = No
	domain master = No
	ldap suffix = dc=example,dc=com
	printer admin = root
	load printers = yes
	printing = cups
	printcap name = cups

[homes]
	comment = Home Directories
	valid users = %S
	read only = No

[users]
	comment = All users
	path = /home
	read only = No
	inherit permissions = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit permissions = Yes

[pdf]
	comment = PDF creator
	path = /var/tmp
	create mask = 0600
	printable = Yes
	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[print$]
	comment = Printer Drivers
#	path = /var/lib/samba/drivers
	path = /etc/samba/drivers
	write list = root
#	force group = ntadmin
#	create mask = 0664
#	directory mask = 0775
	browseable = yes
	guest ok = yes
	read only = yes



[printers]
	comment = All Printers
#	valid users = %S
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root
#	create mask = 0664
#	directory mask = 0775
	browseable = yes
	guest ok = yes
	read only = yes



[printers]
	comment = All Printers
#	valid users = %S
	path = /var/spool/samba
	browseable = yes
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root

:





More information about the samba mailing list