LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2006, 01:18 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Unhappy problems with samba after AD promotion


We have had linux proxy servers authenticating users against a ActiveDirectory server for a year now. Flawless.

Some days ago another server was installed and the AD service has been moved from the old server to the new one. I don't know the steps involved. All I know is that it was "promoted".

I changed the configuration of kerberos so that the new server is used instead and kinit works perfectly:

Code:
$ kinit -V ecarmona
Password for ecarmona@FHEP.ORG:
Authenticated to Kerberos v5
$
.... however, there are trust problems now (and so the proxy doesn't want to allow users to pass through.

I tried to rejoin the proxy server to the domain, but I haven't been able to.. and I think it's related to the LDAP service in the AD server (at least acording to samba).

How can this be solved (if anybody knows)?

Code:
$ sudo net ads join -U Administrator -d 5
[2006/10/03 14:12:53, 5] lib/debug.c:debug_dump_status(366)
  INFO: Current debug levels:
    all: True/5
    tdb: False/0
    printdrivers: False/0
    lanman: False/0
    smb: False/0
    rpc_parse: False/0
    rpc_srv: False/0
    rpc_cli: False/0
    passdb: False/0
    sam: False/0
    auth: False/0
    winbind: False/0
    vfs: False/0
    idmap: False/0
    quota: False/0
    acls: False/0
[2006/10/03 14:12:53, 3] param/loadparm.c:lp_load(3910)
  lp_load: refreshing parameters
[2006/10/03 14:12:53, 3] param/loadparm.c:init_globals(1320)
  Initialising global parameters
[2006/10/03 14:12:53, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2006/10/03 14:12:53, 3] param/loadparm.c:do_section(3403)
  Processing section "[global]"
  doing parameter workgroup = fhep
  doing parameter realm = FHEP.ORG
  doing parameter server string = %h servidor proxy auxiliar (Samba, Ubuntu)
  doing parameter netbios name = fhep_proxy
[2006/10/03 14:12:53, 4] param/loadparm.c:handle_netbios_name(2748)
  handle_netbios_name: set global_myname to: FHEP_PROXY
  doing parameter dns proxy = no
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 1000
  doing parameter syslog = 0
  doing parameter panic action = /usr/share/samba/panic-action %d
  doing parameter security = domain
  doing parameter encrypt passwords = true
  doing parameter password server = *
  doing parameter passdb backend = tdbsam guest
  doing parameter obey pam restrictions = yes
  doing parameter invalid users = root
  doing parameter passwd program = /usr/bin/passwd %u
  doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
  doing parameter socket options = TCP_NODELAY
[2006/10/03 14:12:53, 4] param/loadparm.c:lp_load(3941)
  pm_process() returned Yes
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2LE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2LE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16LE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16LE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2BE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2BE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16BE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16BE
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF8
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF8
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-8
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-8
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ASCII
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ASCII
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset 646
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset 646
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ISO-8859-1
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ISO-8859-1
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS2-HEX
[2006/10/03 14:12:53, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS2-HEX
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:53, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'UTF-8' for LOCALE
[2006/10/03 14:12:54, 5] lib/util.c:init_names(256)
  Netbios name list:-
  my_netbios_names[0]="FHEP_PROXY"
[2006/10/03 14:12:54, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
[2006/10/03 14:12:54, 2] lib/interface.c:add_interface(79)
  added interface ip=x.x.x.x bcast=y.y.y.y nmask=z.z.z.z
Administrator's password:
[2006/10/03 14:13:12, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /var/run/samba/gencache.tdb
[2006/10/03 14:13:12, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for FHEP.ORG#1C found.
[2006/10/03 14:13:12, 4] libsmb/namequery.c:get_dc_list(1332)
  get_dc_list: no servers found
[2006/10/03 14:13:12, 5] libsmb/namecache.c:namecache_fetch(201)
  name FHEP#1C found.
[2006/10/03 14:13:12, 4] libsmb/namequery.c:get_dc_list(1406)
  get_dc_list: returning 1 ip addresses in an unordered list
[2006/10/03 14:13:12, 4] libsmb/namequery.c:get_dc_list(1407)
  get_dc_list: 192.168.0.3:0
[2006/10/03 14:13:12, 5] libads/ldap.c:ads_try_connect(85)
  ads_try_connect: trying ldap server '192.168.0.3' port 389
[2006/10/03 14:13:12, 3] libads/ldap.c:ads_connect(247)
  Connected to LDAP server 192.168.0.3
[2006/10/03 14:13:12, 1] libads/ldap.c:ads_connect(251)
  Failed to get ldap server info
[2006/10/03 14:13:12, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: No results returned
[2006/10/03 14:13:12, 2] utils/net.c:main(859)
  return code = -1
$
 
  


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
I Got A Promotion carlosinfl General 14 01-18-2006 05:01 PM
web promotion programs barrythai Linux - Software 0 06-15-2005 02:55 AM
web promotion software barrys Linux - Software 0 07-29-2004 07:16 AM
Web site promotion programs. barrys Linux - Software 0 07-27-2004 12:41 PM
promotion for users huno Linux - General 1 03-30-2004 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 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