[Samba] problem applying printer drivers

Wisu bigsu at bigwisu.com
Tue Aug 8 02:39:11 GMT 2006


Hi all,

I setting up a new BDC (192.168.2.200 -> ubuntu dapper) assisting a
PDC(192.168.1.195 -> debian sarge) to manage MYDOMAIN a separate
Building.

The problem I come up with is trying to apply printer drivers, I can
upload the driver to \\BDC\print$ but when I apply the driver it returns
"Printer setting could not be saved. Access is denied"

Any Ideas?

Wisu

smb.conf -->

[global]
	unix charset = LOCALE
	workgroup = MYDOMAIN
	server string = BDC Saharjo PO - Samba %v
	passdb backend = "ldapsam:ldap://192.168.2.200 ldap://192.168.1.195"
	enable privileges = Yes
	username map = /etc/samba/smbusers
	log level = 1
	syslog = 0
	log file = /var/log/samba/%m
	max log size = 50
	smb ports = 139 445
	name resolve order = wins bcast hosts
	printcap name = cups
	add user script = /usr/sbin/smbldap-useradd -m "%u"
	add group script = /usr/sbin/smbldap-groupadd -p "%g"
	add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
	delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
	set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
	add machine script = /usr/sbin/smbldap-useradd -w '%u'
	logon drive = H:
	domain logons = Yes
	preferred master = No
	domain master = No
	wins server = 192.168.1.195
	ldap admin dn = cn=Manager,dc=mydomain,dc=co,dc=id
	ldap group suffix = ou=Groups
	ldap idmap suffix = ou=Idmap
	ldap machine suffix = ou=Computers
	ldap suffix = dc=mydomain,dc=co,dc=id
	ldap ssl = no
	ldap user suffix = ou=Users
	idmap backend = ldap:ldap://192.168.2.200
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	map acl inherit = Yes
	printing = cups
	cups options = raw
	print command = 
	lpq command = %p
	lprm command = 
	use client driver = Yes
	hide unreadable = Yes

[homes]
	comment = %u's Home Directories at Saharjo PO
	valid users = %S
	read only = No
	inherit permissions = Yes
	browseable = No

[printers]
	comment = All Printers
	path = /srv/samba/spool
	guest ok = Yes
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /srv/samba/drivers
	write list = administrator, wisu
	read only = No
	create mask = 0600
	directory mask = 0700




More information about the samba mailing list