[Samba] pam authentication failing...

Steve Morley steve at morleys.org
Wed Nov 20 23:52:11 GMT 2002


Hi Again,

Dunno what all I did now, but I turned back on encrypted passwords as stated
as being needed in Samba-HOWTO-Collection.html from the docs section of the
SAMBA site.  (primarily the "Configuring the Samba Domain Controller"
sub-section)

Now I'm getting:

> [2002/11/20 15:41:10, 2] smbd/reply.c:reply_sesssetup_and_X(982)
>   Defaulting to Lanman password for steve
> [2002/11/20 15:41:10, 1] smbd/password.c:pass_check_smb(552)
>   Account for user 'steve' was disabled.
> [2002/11/20 15:41:10, 1] smbd/reply.c:reply_sesssetup_and_X(998)
>   Rejecting user 'steve': authentication failed
> [2002/11/20 15:41:10, 2] smbd/server.c:exit_server(461)
>   Closing connections

All I want is for SAMBA to use the user's password from the main FreeBSD
passwd file...  After it actually works, I'd like the users to either
change their UNIX password, or via windows, the two need to be in sync.

Here's my smb.conf (be gentle):

> [global]
>    netbios name = fileserver
>    workgroup = STAFF
>    server string = fileserver
>    hosts allow = 192.168.2. 127.
>    load printers = yes
>    log level = 2
>    log file = /var/log/log.%m
>    max log size = 500
>    security = user
>    socket options = TCP_NODELAY
>    interfaces = 192.168.2.200/24
>    domain master = yes
>    preferred master = yes
>    local master = yes
>    domain logons = yes
>    logon script = staffconnect.bat
>    dns proxy = no
>    time server = yes
>    os level = 64
>    encrypt passwords = yes
>    logon drive = H:
>    logon home = \\fileserver\%u
> 
> [homes]
>    comment = "Home Directory of %u"
>    guest ok = no
>    read only = no
>    browseable = no
>    writeable = yes
> 
>  [netlogon]
>    comment = Network Logon Service
>    path = /home/logon
>    guest ok = yes
>    writeable = no
>    share modes = no
> 
> [printers]
>    comment = All Printers
>    path = /var/spool/samba
>    browseable = no
>    guest ok = no
>    writeable = no
>    printable = yes
> 
> [public]
>    comment = "Public Share"
>    path = /home/public
>    read only = yes
>    printable = no


TIA
Steve



More information about the samba mailing list