LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2013, 06:28 PM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Samba4 New Issue after upgrade to 4.1.x


I have updated samba 4 from version 4.06 to 4.1.0 rc3 but I am having problems:

When trying to connect a win7 box to the domain I get password expired for the domain admin.

I have tried to reset the password to no avail:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 12 18:36:10 2013 from xxxx.local
root@PDC:~# kpasswd
kpasswd: Cannot contact any KDC for requested realm getting initial ticket
root@PDC:~# klist -e
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_0)
root@PDC:~# man klist
root@PDC:~# klist -l
Principal name Cache name
-------------- ----------
root@PDC:~# man klist
root@PDC:~# klist -k
Keytab name: FILE:/etc/krb5.keytab
klist: No such file or directory while starting keytab scan
root@PDC:~# man klist
root@PDC:~# klist -V
Kerberos 5 version 1.10.1
root@PDC:~# host -t SRV _ldap._tcp.mylan.local.
_ldap._tcp.mylan.local has SRV record 0 100 389 PDC.mylan.local.
root@PDC:~# host -t A PDC.mylan.local.
PDC.mylan.local has address 10.0.0.30
root@PDC:~# apt-get install krb5-user
Reading package lists... Done
Building dependency tree
Reading state information... Done
krb5-user is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@PDC:~# kinit administrator
kinit: Cannot contact any KDC for realm 'mylan.LOCAL' while getting initial credentials
root@PDC:~#


It seems there are some issues here with Kerberos; anyone have any ideas?
 
Old 10-01-2013, 05:41 AM   #2
warnerk
LQ Newbie
 
Registered: Jul 2013
Location: Nijmegen, The Netherlands
Posts: 6

Rep: Reputation: Disabled
I get almost the same errors with version 4.0.8.
root@obgdc10:~# kpasswd
kpasswd: Client not found in Kerberos database getting initial ticket
root@obgdc10:~# klist -e
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_0)
root@obgdc10:~# klist -l
Principal name Cache name
-------------- ----------
root@obgdc10:~# klist -k
Keytab name: FILE:/etc/krb5.keytab
klist: No such file or directory while starting keytab scan
root@obgdc10:~# klist -V
Kerberos 5 version 1.10.1
root@obgdc10:~# host -t SRV _ldap._tcp.OBG.local.
_ldap._tcp.OBG.local has SRV record 0 100 389 obgdc10.obg.local.
root@obgdc10:~# host -t A obgdc10.obg.local.
obgdc10.obg.local has address 192.168.10.38
root@obgdc10:~# kinit administrator@OBG.LOCAL
kinit: Cannot contact any KDC for realm 'OBG.LOCAL' while getting initial credentials
root@obgdc10:~#
Did you get your 4.0.6 running?
 
Old 10-01-2013, 06:38 AM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
Hi Warnerk,

No; though there is a much more up to date version at Samba 4.1.0 RC4 so over the next few nights when I get an opportunity I am going to wipe the server and start again on Debian Wheezy 7.1 using this newer version of Samba and will then see what the outcome is again.

It's quite an interesting piece of software and I'm keen to get it working properly in a stable and predictable manner as then I don't have to bother with Windows servers at home at all.

Though we will always be using Windows Desktop clients hence the need for Samba4 (as I need active directory and group policies).


I'll report back my findings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba4 upgrade r0b0 Linux - Server 1 06-15-2013 08:54 AM
[SOLVED] SAMBA4 scripts tombelcher7 Linux - Server 2 01-09-2013 11:02 AM
Samba4 as BDC jomy Linux - Server 1 04-18-2011 10:52 AM
Samba4, python. takayama Linux - Security 1 01-20-2010 11:08 AM
Python and samba4. takayama Linux - Server 0 01-20-2010 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration