openpam_check_error_code(): pam_sm_acct_mgmt(): unexpected return value 12

Status
Not open for further replies.

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
In the little window at the bottom of the gui interface, I see the below errors. My smb share works just fine as far as I know. I don't like seeing errors, no matter if it affects me or not. I have looked at other threads that had this message, but non of them fixed it for me. wbinfo -u and wbinfo -g works just fine.

Any ideas?

Code:
Feb  3 08:56:21 G1PPFreeNas01 smbd: in openpam_check_error_code(): pam_sm_acct_mgmt(): unexpected return value 12
Feb  3 08:56:28 G1PPFreeNas01 smbd: in openpam_check_error_code(): pam_sm_acct_mgmt(): unexpected return value 12
Feb  3 08:58:35 G1PPFreeNas01 smbd: in openpam_check_error_code(): pam_sm_setcred(): unexpected return value 12
Feb  3 08:58:35 G1PPFreeNas01 smbd: in openpam_check_error_code(): pam_sm_setcred(): unexpected return value 12


Code:
[root@G1PPFreeNas01] /var/log/samba4# testparm
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[Share]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER

[global]
        dos charset = CP437
        realm = FIREMOUNTAIN.LOCAL
        server string = FreeNAS Server
        workgroup = FIREMOUNTAIN
        domain master = No
        lm announce = Yes
        local master = No
        preferred master = No
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        client ldap sasl wrapping = plain
        logging = file
        max log size = 51200
        cache directory = /var/tmp/.cache/.samba
        kernel change notify = No
        panic action = /usr/local/libexec/samba/samba-backtrace
        pid directory = /var/run/samba
        disable spoolss = Yes
        load printers = No
        printcap name = /dev/null
        server min protocol = SMB2
        allow trusted domains = No
        map to guest = Bad User
        obey pam restrictions = Yes
        security = ADS
        server role = member server
        deadtime = 15
        hostname lookups = Yes
        max open files = 1883288
        template homedir = /home/%U
        template shell = /bin/sh
        winbind cache time = 7200
        winbind enum groups = Yes
        winbind enum users = Yes
        winbind offline logon = Yes
        winbind refresh tickets = Yes
        winbind use default domain = Yes
        dns proxy = No
        idmap config firemountain: range = 20000-90000000
        idmap config firemountain: backend = rid
        idmap config *: range = 90000001-100000000
        idmap config * : backend = tdb
        store dos attributes = Yes
        strict locking = No
        directory name cache size = 0
        dos filemode = Yes
        acl allow execute always = Yes
        ea support = Yes
        create mask = 0666
        directory mask = 0777


[Share]
        path = /mnt/Share/Share
        veto files = /.snapshot/.windows/.mac/.zfs/
        read only = No
        vfs objects = zfs_space zfsacl aio_pthread
        zfsacl:acesort = dontcare
        nfs4:chown = true
        nfs4:acedup = merge
        nfs4:mode = special
[root@G1PPFreeNas01] /var/log/samba4#
 

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
No ideas?? :(:(
 

MrAkai

Dabbler
Joined
Jun 30, 2014
Messages
23
I've had this since updating to 9.10.2-U1 as well.

For my installation, it does not (so far) appear to be affecting end user usage. Have you filed a bug yet? Even if it's just cosmetic, it does spam the logs and create confusion.
 

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
I haven't as I don't know if it is anything I need to really worry about it or not. Perhaps I will.
 

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
Status
Not open for further replies.
Top