[Samba] Samba and CUPS

Peter Nyberg Peter.Nyberg at dbb.su.se
Thu Apr 27 14:03:06 GMT 2006


Please HELP!!

I'm trying to use CUPS as a printer server but when I try to add the drivers for
windows I get the following error.

cupsaddsmb -H WM1 -h localhost -U root -v lwcorr5

session setup failed: NT_STATUS_LOGON_FAILURE
Anonymous login successful
NT_STATUS_NETWORK_ACCESS_DENIED making remote directory \W32X86
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/lwcorr5.ppd
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/ps5ui.dll
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/pscript.hlp
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/pscript.ntf
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/pscript5.dll



In log.smbd I see the following erros:
.
.
  check_ntlm_password:  Authentication for user [peter] -> [peter] FAILED with
error NT_STATUS_NO_SUCH_USER
.
.
.

I've made the NT user root with a different password through:
smbpasswd -a root

My smb.conf:

[global]
        workgroup = win-dbb
        netbios name = wm1
        server string = For Prining at DBB
        interfaces = 130.237.190.126
        load printers = yes
        show add printer wizard = Yes
        auth methods = guest
        security = user
        null passwords = Yes
        hosts allow = 130.237.190.0/255.255.255.0,
130.237.163.128/255.255.255.128
        hosts deny = ALL
        printing = cups
        printcap name = cups
        log level = 10

[Printers]
        comment = All Printers at DBB
        path = /var/spool/cups
        printer admin = root
        guest ok = yes
        read only = yes
        printable = yes
        public = yes
        writeable = no
        browseable = no
        printer admin = peter
        create mask = 0664
        directory mask = 0775

[print$]
        comment = Printer Driver at DBB
        path = /home/samba/printers
        guest ok = yes
        browseable = yes
        read only = yes
        write list = yes
        create mask = 0664
        directory mask = 0775


I've tried for about 6 hours now to set it up so please help anyone.



Peter Nyberg
Institutionen för Biokemi och Biofysik (DBB)
Sv.Arrhenius vägen 12
106 91 Stockholm
Tel: 08-16 24 69



More information about the samba mailing list