Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

All,

I am having a winbind module load error on aix 7.1 trying to load winbind module for 3.6.0.

methods.cfg:

WINBIND:

   program_64 = /usr/lib/security/WINBIND_64

    (have tried authonly here)

NIS:

    program = /usr/lib/security/NIS

    program_64 = /usr/lib/security/NIS_64

DCE:

    program = /usr/lib/security/DCE

Module Exists:

ls /usr/lib/security | grep WINBIND   

 lrwxrwxrwx    1 root     staff            33 Feb 19 14:34 WINBIND_64 ->      /opt/pware64/lib/security/WINBIND

lsuser -R WINBIND ALL lists nothing

smb.conf

cat /opt/pware64/lib/smb.conf

Samba config file created using SWAT

from UNKNOWN (192.168.4.22)

Date: 2014/02/10 15:13:18

[global]

    workgroup = NRFDIST

    realm = nrfdist.local

    netbios name = BARROW

    server string = Barrow Samba Server

    interfaces = en0, en1, lo0

    security = domain

    map to guest = Bad User

    log level = 10

    log file = /opt/pware64/var/samba.log.%m

    max log size = 50

    read raw = No

    write raw = No

    name resolve order = wins lmhosts hosts bcast

    server signing = auto

    socket options = TCP_NODELAY SO_SNDBUF=16384 IPTOS_LOWDELAY

    load printers = No

    os level = 0

    local master = No

    dns proxy = No

    bind interfaces only = yes

    interfaces = 10.10.10.122/255.255.0.0 127.0.0.1

    template homedir = /home/%U

    template shell = /usr/bin/ksh

    # winbind separator = "\"

    winbind cache time = 30

    winbind enum users = Yes

    winbind enum groups = Yes

    winbind use default domain = No

    winbind refresh tickets = Yes

    winbind offline logon = Yes

    encrypt passwords = Yes

    password server = NRFDC1

    idmap config *:backend = tdb

    idmap config *:range = 11000-20000

/etc/security/user default:

default:

   admin = false

   login = true

   su = true
    daemon = true

    rlogin = true

    sugroups = ALL

    admgroups =

    ttys = ALL

    auth1 = SYSTEM

    auth2 = NONE

    tpath = nosak

    umask = 022

    expires = 0

    registry = WINBIND or compat

    SYSTEM = "WINBIND or compat"

    logintimes =

    pwdwarntime = 0

    account_locked = false

    loginretries = 0

    histexpire = 0

    histsize = 0

    minage = 0

    maxage = 0

    maxexpired = -1

    minalpha = 0

    minother = 0

    minlen = 0

    mindiff = 0

    maxrepeats = 8

    dictionlist =

    pwdchecks =

Daemon.log in /var/log shows that it is missing a shared object. I could not compile 3.6.0 manually to get this shared object

Feb 24 16:42:38 bonnie daemon:err|error telnetd[7995602]: dlopen of user option: winbind failed: 0509-022 Cannot load module /usr/lib/netsvc/dynload/winbind.so. 0509-026 System error: A file or directory in the path name does not exist.

I managed to compile 4.14 but the smbd daemon dies without errors in the samba logs..... it did generate a so... which i did try and place in that directory.

If i try and make 3.6.0 using gcc or python it will fail miserably.. this is the logs from 3.6.0 build with make

[root] on [barrow] on [/rehash/samba-3.6.0/source3] {948} make

WAF_MAKE=1 ../buildtools/bin/waf build

/rehash/samba-3.6.0/buildtools/bin/.waf-1.5.19

d825ca58092f19b61518932e7b93eaa3/wafadmin/Utils.py:89: DeprecationWarning: the md5 module is deprecated; use hashlib instead

from md5 import md5

../buildtools/wafsamba/samba_utils.py:392: DeprecationWarning: the md5 module is deprecated; use hashlib instead

import md5

Waf: Entering directory `/rehash/samba-3.6.0/source3/bin'

[ 8/1242] Generating VERSION

[ 12/1242] Compiling IDL ../librpc/idl/atsvc.idl

sem_trywait: Permission denied

sem_post: Permission denied

sem_destroy: Permission denied

[ 13/1242] Compiling IDL ../librpc/idl/auth.idl

sem_trywait: Permission denied

sem_post: Permission denied

sem_destroy: Permission denied

/rehash/samba-3.6.0/librpc/idl/atsvc.idl:5: error: expected identifier or '(' before '[' token

/rehash/samba-3.6.0/librpc/idl/auth.idl:7: error: expected '=', ',', ';', 'asm' or 'attribute' before string constant

/rehash/samba-3.6.0/librpc/idl/auth.idl:9: error: expected '=', ',', ';', 'asm' or 'attribute' before 'auth'

Failed to parse /rehash/samba-3.6.0/librpc/idl/atsvc.idl at /rehash/samba-3.6.0/pidl/pidl line 608.

Failed to parse /rehash/samba-3.6.0/librpc/idl/auth.idl at /rehash/samba-3.6.0/pidl/pidl line 608.

Waf: Leaving directory `/rehash/samba-3.6.0/source3/bin'

Build failed:

task failed (err 1):

task: PIDL_ATSVC atsvc.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> atsvc.h,ndr_atsvc.c,ndr_atsvc.h,srv_atsvc.c,srv_atsvc.h,ndr_atsvc_s.c,ndr_atsvc_c.c,ndr_atsvc_c.h,py_atsvc.c} task failed (err #1): {task: PIDL_AUTH

 auth.idl,CUtil.pm,Compat.pm,Dump.pm,Expr.pm,IDL.pm,NDR.pm,ODL.pm,ClientNDR.pm,ServerNDR.pm,Header.pm,Proxy.pm,Stub.pm,Header.pm,Client.pm,Parser.pm,Server.pm,Python.pm,TDR.pm,Template.pm,Samba4.pm,Typelist.pm,Util.pm,Conformance.pm,NDR.pm,Pidl.pm,Driver.pm -> auth.h,ndr_auth.c,ndr_auth.h,srv_auth.c,srv_auth.h,ndr_auth_s.c,ndr_auth_c.c,ndr_auth_c.h,py_auth.c}

make: 1254-004 The error code from the last command is 1.

Any help would be appreciated.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.