[Samba] printer-access not possible after change of dns-name

Olav Rogall olav.rogall at web.de
Tue Aug 15 17:08:43 GMT 2006


Hi there,

I  ran 2 years a perfect samba 2.2.12 on a suse 8 machine, acting as a
pdc  with w2k-clients. Printing was done with raw-printing over smb to
cups  (client-side  drivers).  The old dns-name was "server.localnet",
the netbios-name "server".

After  changing  my  internal  dns-system  to  "*.example" there is no
access to my printer (hp photosmart 1000) possible. If I try to access
the property-dialoge of my printer, I get an error like this:

    "Error at adress 0x6062c92f (Errorcode 0xc0000005)"

An upgrade to 3.0.22 didn't help me.

What can I do?



server:/etc/samba # cat smb.conf
[global]
    add group script            = /usr/sbin/groupadd %g
    add machine script          = /usr/sbin/useradd -s /bin/false -d /dev/null %u
#    add user script            = /usr/sbin/useradd -d /dev/null -g smbpc -c 'Maschinenkonto' -s /bin/false -M %m$
    add user script             = /usr/sbin/useradd -m %u
    add user to group script    = /usr/sbin/usermod -G %g %u
    delete group script         = /usr/sbin/groupdel %g
    delete user script          = /usr/sbin/userdel -r %u
    domain logons               = Yes
    domain master               = Yes
    encrypt passwords           = yes
    idmap gid                   = 10000-20000
    idmap uid                   = 10000-20000
    interfaces                  = 192.168.10.100/255.255.255.0
    local master                = yes
    logon drive                 = H:
    logon home                  = \\%L\%U
    logon path                  = \\%L\Profiles\%m-%U
#    logon script               = %U.cmd
    logon script                = %m.cmd
    log file                    = /var/log/samba/%m
    log level                   = 2
    map to guest                = Bad User
    os level                    = 255
#    passdb backend             = tdbsam, smbpasswd
    passdb backend              = tdbsam
    preferred master            = Yes
    protocol                    = NT1
    security                    = user
    socket options              = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
#    socket options             = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
    time server                 = yes
    username map                = /etc/samba/smbusers
#    veto files                 = /*.eml/*.nws/riched20.dll/*.{*}/
    veto files                  = /*.eml/*.nws/*.{*}/
    wins support                = yes
    workgroup                   = wuerggrub

#
# Drucker-Ansteuerung
#

    print command               = /usr/bin/lp -d%p -oraw %s; rm %s
    printing                    = cups
    printcap name               = /etc/printcap
    load printers               = yes

#
# Zeichensaetze und Names-Konventionen
#

    case sensitive              = no
    default case                = lower
    display Charset             = CP850
    dos charset                 = CP850
    mangled names               = yes
    preserve case               = yes
    short preserve case         = yes


#
# Share Definitionen
#

[homes]
    browseable                  = Yes
    comment                     = Eigene Dateien (Netzwerk)
    create mask                 = 0600
    directory mask              = 0700
    hide dot files              = yes
    public                      = no
    writeable                   = yes

[netlogon]
    admin users                 = domadmin @domadmin
    comment                     = Network Logon Service
    path                        = /server/netlogon
    read only                   = no
    writeable                   = yes

[Profiles]
    admin users                 = domadmin @domadmin
    browseable                  = No
    comment                     = Network Profiles Service
    create mode                 = 0600
    directory mode              = 0700
    nt acl support              = yes
    path                        = /server/Profiles
    read only                   = no
    writeable                   = yes

[user]
    admin users                 = domadmin @domadmin
    browseable                  = yes
    comment                     = Das User-Volumen
    create mask                 = 0666
    directory mask              = 0777
    nt acl support              = yes
    path                        = /server/freigaben/user
    public                      = no
    read list                   = @smbusrro
    writeable                   = yes

#[printers]
#    comment                    = All Printers
#    path                       = /var/tmp
#    create mask                = 0700
#    printable                  = Yes
#    browseable                 = Yes
#    writeable                  = Yes

[HP]
    browseable                  = yes
    comment                     = HP PhotoSmart P1000
    create mask                 = 0775
    default devmode             = no
    path                        = /tmp
    printable                   = yes
    printer name                = lp
    public                      = yes
    writeable                   = yes


-- 

MfG...
      ...Olav

FidoNet 2:240/5138



More information about the samba mailing list