Bind to AD failed

Status
Not open for further replies.

ApolloDS

Dabbler
Joined
Jan 6, 2012
Messages
13
Hi,
I try to bind my FreeNAS to my Windows Domain Controller but it always failed.
I already tried to create a Kerberos Keytab File with ktpass on the AD Controller and imported it into the Kerberos Keytabs but it also failed.

When I save the Directory Credentials I get the message "The service failed to restart".

I don't see AD Users with wbinfo -u.

How can I do more troubleshooting to get this to work?
I have the following Log:

Nov 1 00:07:26 filer32 ActiveDirectory: /usr/sbin/service ix-kerberos quietstart
Nov 1 00:07:28 filer32 ActiveDirectory: /usr/sbin/service ix-nsswitch quietstart
Nov 1 00:07:30 filer32 ActiveDirectory: /usr/sbin/service ix-kinit quietstart
Nov 1 00:07:34 filer32 ActiveDirectory: /usr/sbin/service ix-kinit status
Nov 1 00:07:37 filer32 ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py start cifs
Nov 1 00:07:41 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Nov 1 00:07:41 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpGuYmmR -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Nov 1 00:07:41 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -L
Nov 1 00:07:42 filer32 notifier: Performing sanity check on Samba configuration: OK
Nov 1 00:07:42 filer32 notifier: Starting nmbd.
Nov 1 00:07:42 filer32 notifier: Starting smbd.
Nov 1 00:07:42 filer32 nmbd[5402]: [2014/11/01 00:07:42.375673, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Nov 1 00:07:42 filer32 notifier: Starting winbindd.
Nov 1 00:07:42 filer32 winbindd[5410]: [2014/11/01 00:07:42.561224, 0] ../source3/winbindd/winbindd_util.c:634(init_domain_list)
Nov 1 00:07:42 filer32 winbindd[5410]: Could not fetch our SID - did we join?
Nov 1 00:07:42 filer32 winbindd[5410]: [2014/11/01 00:07:42.561536, 0] ../source3/winbindd/winbindd.c:1240(winbindd_register_handlers)
Nov 1 00:07:42 filer32 winbindd[5410]: unable to initialize domain list
Nov 1 00:07:42 filer32 smbd[5406]: [2014/11/01 00:07:42.590932, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Nov 1 00:07:42 filer32 ActiveDirectory: /usr/sbin/service ix-activedirectory quietstart
Nov 1 00:07:46 filer32 ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py stop cifs
Nov 1 00:07:48 filer32 notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Nov 1 00:07:48 filer32 notifier: Stopping smbd.
Nov 1 00:07:49 filer32 notifier: Waiting for PIDS: 5406, 5406.
Nov 1 00:07:49 filer32 notifier: Stopping nmbd.
Nov 1 00:07:49 filer32 nmbd[5402]: STATUS=daemon 'nmbd' finished starting up and ready to serve connectionsGot SIGTERM: going down...
Nov 1 00:07:49 filer32 notifier: Waiting for PIDS: 5402.
Nov 1 00:07:49 filer32 ActiveDirectory: /usr/sbin/service ix-kerberos quietstop
Nov 1 00:07:49 filer32 ActiveDirectory: /usr/sbin/service ix-nsswitch quietstop
Nov 1 00:07:52 filer32 ActiveDirectory: /usr/sbin/service ix-pam quietstop
Nov 1 00:07:52 filer32 ActiveDirectory: /usr/sbin/service ix-kinit forcestop
Nov 1 00:07:52 filer32 ActiveDirectory: /usr/sbin/service ix-activedirectory forcestop
Nov 1 00:07:58 filer32 ActiveDirectory: /usr/sbin/service ix-cache quietstop &
Nov 1 00:08:00 filer32 ActiveDirectory: /usr/sbin/service samba_server forcestop
Nov 1 00:08:00 filer32 ActiveDirectory: /usr/sbin/service ix-pre-samba start
Nov 1 00:08:03 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Nov 1 00:08:03 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpnt_8zL -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Nov 1 00:08:03 filer32 generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -L
Stop refresh

Is this in general working with the 9.3 Beta?
I'm using FreeNAS 9.3-M4 GMT.

Many thanks for help!
 
Last edited:
Status
Not open for further replies.
Top