Samba 2.1 Prealpha and NT
Rajeev Agrawala
rajeeva at research.bell-labs.com
Mon Oct 25 15:06:56 GMT 1999
Hi,
I was runnning samba2.0.5a and from an Nt client I could run
\\servername and could see the shares on samba server. I would see a
printer named 'dup' a folder called printers (thta wused to be empty).
Using the same smb.conf, I upgraded to samba 2.1Prealpha. Now when I run
\\servername from NT client, I get access denied. I cannot figure out
why?
My smb.conf
[global]
comment = Samba %v
workgroup = workgroup
printing = lprng
printer driver file = /usr/samba/lib/printers.def
debug level = 3
printcap name = /LPRng/lpd_printcap
print command = /LPRng/current/bin/lpr -P%p -U%U -Zhost=%m -r %s
lpq command = /LPRng/current/bin/lpq -P%p
lprm command = /LPRng/current/bin/lprm -P%p -U%U %j
load printers = yes
guest account = nobody
browseable = yes
log file = /usr/samba/var/log.%m
max log size = 50 lock directory = /usr/samba/var/locks
share modes = yes
security = share
socket options = TCP_NODELAY
preferred master = no
domain master = no
local master = no
wins support = no
short preserve case = yes
wins server =
passwd program = /usr/bin/passwd %u
passwd chat = *ew*password:* %n\n *e-enter*new*password:* %n\n
[printer$]
comment = printer driver directory
path=/usr/samba/printer
public=yes
writable=no
browseable=yes
case sensitive=no
[printers]
comment = All Printers
path = /var/spool/lpd/%p
guest ok = yes
print ok = yes
printing = lprng
load printers = yes
printcap name = /LPRng/lpd_printcap
print command = /LPRng/current/bin/lpr -U%U -P%p -Zhost=%m -r %s
lpq command = /LPRng/current/bin/lpq -P%p
lprm command = /LPRng/current/bin/lprm -P%p -U%U %j
lppause command = /LPRng/current/bin/lpc -U%U hold %p %j
lpresume command = /LPRng/current/bin/lpc -U%U release %p %j
queuepause command = /LPRng/current/bin/lpc -U%U -P%p stop
queueresume command = /LPRng/current/bin/lpc -U%U -P%p start
browseable = no
printable = yes
public = yes
writable = no
create mask = 0700
include = /usr/samba/lib/printers.lst
And the printers.lst is
[dup]
browsable = yes
printable = yes
public = yes
writable = no
create mode = 0700
printer driver = HP LaserJet 5Si/5Si MX PS
printer driver location=\\135.104.54.43\printer$\%a
I upgraded to try the add printer option for NT clients which is there
in 2.1 Prealpha release.
TIA,
rajeev
More information about the samba-ntdom
mailing list