nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Help, samba 3.0.23 join ads domain

This is a discussion on Help, samba 3.0.23 join ads domain within the Linux software forums, part of the Linux Getting Started category; Hi all, Starting from samba version 3.0.23, I am no longer able to join ads domain. Maybe somebody have made ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-09-2007, 01:48 PM
Member
User
 
Join Date: Jun 2005
Posts: 45
Rep Power: 0
warren
Default Help, samba 3.0.23 join ads domain

Hi all,

Starting from samba version 3.0.23, I am no longer able to join ads domain. Maybe somebody have made it please help me. I am attaching the smb.conf and krb.conf. I am able to join domain with samba version 3.0.22 using these configurations but with version 3.0.23 it always fails. They have rewritten the "net ads join" portion and i'm lost.
"net rpc join" is successful, the problem is only on "net ads join".
Any help is greatly welcome.

# net ads join -U administrator%111111
ads_connect: Operation error

# rpm -qa|grep samba
samba-client-3.0.23c-2
samba-3.0.23c-2
system-config-samba-1.2.35-1.1
samba-common-3.0.23c-2

# rpm -qa|grep krb
pam_krb5-2.2.11-1
krb5-devel-1.5-7
krbafs-devel-1.2.2-10.1
krb5-libs-1.5-7
krb5-workstation-1.5-7
krb5-auth-dialog-0.7-1
krbafs-1.2.2-10.1

# cat /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
ticket_lifetime = 24000
default_realm =VM2K-NATIVE.COM
dns_lookup_realm = false
dns_lookup_kdc = false

[realms]
VM2K-NATIVE.COM = {
kdc = 192.168.100.166:88
default_domain = VM2K-NATIVE.COM
}

[domain_realm]
.VM2K-NATIVE.COM = VM2K-NATIVE.COM
VM2K-NATIVE.COM = VM2K-NATIVE.COM

[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}

# cat /etc/samba/smb.conf
[global]
netbios name = NAS164
workgroup = VM2K-NATIVE
realm = VM2K-NATIVE.COM
client ntlmv2 auth = no
client schannel = auto
log level = 3
log file = /var/log/samba
max log size = 300
strict allocate = no
debug timestamp = no
socket options = IPTOS_LOWDELAY TCP_NODELAY
wins server =
os level = 8
security = ADS
encrypt passwords = YES
smb passwd file = /etc/sysconfig/sambad/smbpasswd
password server = *
idmap uid = 10000-30000
idmap gid = 10000-30000
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 15
template shell = /bin/bash
template homedir = /mnt/NAS/home/%D/%U

warren
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-09-2007, 03:41 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 902
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Yes it is badly broken and I am using old version. Try to run up2date to see if updated version is available or not. What is output of the following command?
Code:
net ads testjoin
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Setting Samba to Bind to an ADS Domain kevv.mai Getting started tutorials 0 04-20-2008 01:47 AM
awk - Removing domain name entires nvbhole Shell scripting 0 12-18-2007 11:14 AM
Masquerade domain sendmail how to chiku Mail Servers 2 07-10-2007 08:20 AM
samba for beginners raghuram Linux software 2 02-17-2007 04:43 PM
Samba Problem sonaikar Linux software 1 04-26-2005 12:18 PM


All times are GMT +5.5. The time now is 12:14 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36