Hi, I'm trying to join to our company AD and I'm getting errors.

This is a clean Debian 8 install:
~# cat /etc/debian_version
8.11

Used recommended install using inverse sources, had to fix permissions in
logs directory (https://github.com/inverse-inc/packetfence/issues/3469)
After initial install, first thing is to add active directory service this
is the error I'm getting:

Lookin in /chroots/<DOMAIN>/var/log/samba<DOMAIN>/log.winbindd  :

[2018/10/04 09:12:14,  0] ../source3/winbindd/winbindd.c:1549(main)
  winbindd version 4.2.14-Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2014
[2018/10/04 09:12:14.116915,  0]
../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache)
  initialize_winbindd_cache: clearing cache and re-creating with version
number 2
[2018/10/04 09:12:14.128405,  0]
../source3/winbindd/winbindd_util.c:736(init_domain_list)
  Could not fetch our SID - did we join?
[2018/10/04 09:12:14.128492,  0]
../source3/winbindd/winbindd.c:1294(winbindd_register_handlers)
  unable to initialize domain list

After looking online I performed this troubleshooting steps :

#  chroot /chroots/<DOMAIN> wbinfo -u
could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
could not obtain winbind domain name!
Error looking up domain users

# chroot /chroots/<DOMAIN> ntlm_auth --username=pfence
Password:
could not obtain winbind separator!
Reading winbind reply failed! (0x01)
:  (0x0)

I googled WBC_ERR_WINBIND_NOT_AVAILABLE with no much help, I found a post
on this mailing list suggesting it could be samba was not stared

I did a ps aux and smbd was not there,

# ps aux | grep smb
root      5381  0.0  0.0  12732  2240 pts/0    S+   08:36   0:00 grep smb
root@lnx-nac:~# ps aux | grep samba
root      5422  0.0  0.0  67732  4752 ?        S    08:36   0:00 sudo
chroot /chroots/<DOMAIN> /usr/sbin/winbindd -s /etc/samba/<DOMAIN>.conf -l
/var/log/samba<DOMAIN> --foreground
root      5424  0.0  0.0  12732  2284 pts/0    S+   08:36   0:00 grep samba
root     26879  0.2  0.0   5848   748 pts/1    S+   08:29   0:01 tail -f
/chroots/<DOMAIN>/var/log/samba<DOMAIN>/log.winbindd

so I did a :

# /etc/init.d/samba start
[ ok ] Starting nmbd (via systemctl): nmbd.service.
[ ok ] Starting smbd (via systemctl): smbd.service.
[ ok ] Starting samba-ad-dc (via systemctl): samba-ad-dc.service.
root@lnx-nac:~# /etc/init.d/winbind start
[ ok ] Starting winbind (via systemctl): winbind.service.

And :

# systemctl start packetfence-winbindd

And:

# /etc/init.d/winbind restart

And I still get the same error .

Any idea what could be the problem?

Thanks!

This is my domain.conf:


# cat /usr/local/pf/conf/domain.conf
[DOMAIN]
ntlm_cache_batch=disabled
server_name=server_hostname
ntlm_cache_filter=(&(samAccountName=*)(!(|(lockoutTime=>0)(userAccountControl:1.2.840.113556.1.4.803:=2))))
sticky_dc=*
ntlm_cache_batch_one_at_a_time=disabled
registration=0
ntlm_cache_expiry=3600
ntlm_cache=disabled
ad_server=X.X.X.X
bind_dn=
ou=Computers
dns_name=TEST.DOMAIN.COM
ntlm_cache_on_connection=disabled
bind_pass=
dns_servers=X.X.X.X
workgroup=DOMAIN
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to