[Samba] AIX 7.1 Winbind Module Problems

Peter Waeckerle peter.waeckerle at ch.ibm.com
Fri Feb 28 08:06:02 MST 2014

Hi Greg

> I managed to compile 4.14 but the smbd daemon dies without errors in the
samba logs....

If there are any printers defined on your system you could check

Our last successful builds with gcc were 3.6.5 and 4.0.3 on AIX 5.3 about
one year ago.

On AIX 7.1 I spent a lot of time trying to build with gcc, but was not
successful. But I'm mainly a sysadmin, not a programmer (yet ;- ).

If you don't need AD support I suggest you try with xlc. You can download a
3-month trial for free. You probably will get better results with it. Be
sure to apply patches for bugs 9557 and 9911.


From:	Greg Cushing <Greg_Cushing at nrfdist.com>
To:	samba at lists.samba.org
Date:	28.02.2014 01:12
Subject:	[Samba] AIX 7.1 Winbind Module Problems
Sent by:	samba-bounces at lists.samba.org


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

         program_64 = /usr/lib/security/WINBIND_64
         (have tried authonly here)
         program = /usr/lib/security/NIS
         program_64 = /usr/lib/security/NIS_64

         program = /usr/lib/security/DCE

[root] on [barrow] on [/rehash/samba-3.6.0] {932} /security | grep
lrwxrwxrwx    1 root     staff            33 Feb 19 14:34 WINBIND_64 ->

lsuser -R WINBIND ALL  lists nothing


[root] on [barrow] on [/opt/pware64/lib/security] {938} cat
# Samba config file created using SWAT
# from UNKNOWN (
# Date: 2014/02/10 15:13:18

         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 =
         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
         idmap config NRFDIST:backend = rid
         idmap config NRFDIST:range=10000000-19000000

/etc/security/user 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

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


  -> task failed (err #1):
         {task: PIDL_AUTH


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

Any help would be appreciated.

Greg Cushing
Web Administrator
NRF Distributors Inc.
Phone: (800) 673-3478 ext. 2185
Our website can be found at

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list