[Samba] Samba as a Print Server : passthrough login problem

Paul Gienger pgienger at ae-solutions.com
Thu Feb 10 15:26:30 GMT 2005


> My problem is that I can't make it work, all I get is an 
> NT_STATUS_LOGON_FAILURE.
> Please, given my smb.conf, can any guru help me with this ?
>
> [global]
>    workgroup = ATEMPO
>    netbios name = myprintserver
>    server string = samba (%U)
>    smb passwd file = /etc/samba/private/smbpasswd
>    passdb backend = tdbsam
>    log file = /var/log/samba3/log.%m
>    printer admin = @adm, root
>    load printers = yes
>    printing = cups
>    printcap = cups
>    security = server
>    password server = mypdcserver
>    os level = 15
>    local master = no
>    domain master = no
>    encrypt passwords = yes

I didn't notice at first, hence me posting to the parent again... you've 
got a few conflicting entries here:
security = server
passdb = tdbsam
smb passwd file = /etc/samba/private/smbpasswd

You don't 'need' a passwd file when running in server security, although 
it apparently will fall back.  I'm presuming that your smb passwd file 
parameter is the default anyway, but it's not used in tdbsam, which is 
another red herring to the setup.  I'd drop all but your security mode.

Also, you may want to get rid of it all and run with
security = domain
since you've got a (presumably) good PDC server running.  This will mean 
that you'll have to join your samba box to the domain however, but that 
will help you to validate your setup.

> [print$]
>    comment = Printer drivers
>    path = /etc/samba/printer
>    write list = @adm, root
>    guest ok = no
>    browseable = yes
>    read only = yes
>
> [mis1700]
>    comment = Dell 1700n - MIS
>    path = /var/spool/samba
>    guest ok = Yes
>    printable = Yes
>    public = yes
>    valid users = joris
>
> [printers]
>    comment = Toutes les imprimantes
>    path = /var/spool/samba
>    guest ok = yes
>    printable = yes
>    browseable = No
>    printer admin = root, @adm
>    public = yes
>    writable = no
>
>
>
>

-- 
--
Paul Gienger                    Office: 701-281-1884
Applied Engineering Inc.
Systems Architect               Fax:    701-281-1322
URL: www.ae-solutions.com       mailto: pgienger at ae-solutions.com





More information about the samba mailing list