LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-26-2012, 06:52 AM   #1
res5
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
Samba - Cannot read Users from Active Directory, help please?


Hi all... I'm desperate really... so I need your help guys

I have a Western Digital My Book World Edition II NAS storage whic is a linux box inside.
It was join in to active directory, I was able to read users from AD ,everything was fine till I had to reboot the NAS. then I wasn't able to access the shares.
As I previously known solution, I rejoined the WD NAS in to the AD.
I'm able to sucesfully join the NAS in to the AD, new computer is created, but I cannot read users from it.

When I do

~ # wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_INVALID_HANDLE (0xc0000008)
Could not check secret

~ # wbinfo -u
Error looking up domain users




[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
default_realm = MYDOMAIN.COM
ticket_lifetime = 24000
dns_lookup_realm = false
dns_lookup_kdc = false
default_tkt_enctypes = des-cbc-md5
default_tgs_enctypes = des-cbc-md5
default_etypes = des-cbc-md5
default_etypes_des = des-cbc-md5

[realms]
MYDOMAIN.COM = {
kdc = 192.168.1.1:88
admin_server = 192.168.1.1:749
default_domain = MYDOMAIN.COM
}

[domain_realm]
.kerberos.server = MYDOMAIN.COM

[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf (this file doesn't exist)

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


my smb.conf :

[global]

workgroup = MYDOMAIN
realm = MYDOMAIN.COM
netbios name = My-NAS
server string = My Book World Edition Network Storage
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/log.smbd
max log size = 50
max xmit = 65536
dead time = 15
security = ads
auth methods = guest, sam_ignoredomain, winbind:ntdomain
encrypt passwords = yes
create mask = 0664
directory mask = 0775
local master = no
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
use mmap = yes
use sendfile = yes
dns proxy = no
idmap uid = 10000-65000
idmap gid = 10000-65000
dont descend = /proc,/dev,/etc
admin users =
null passwords = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
template homedir = /dhome/%U
template shell = /bin/false
winbind use default domain = no
interfaces = eth0
map to guest = bad user
guest account = nobody
include = /usr/private/user_smb_conf/.overall_share
[Configuration]
path = /Configuration
comment = System Configuration
public = yes
browseable = yes
writable = no
guest ok = yes

What is wrong, please help ?

Thank you in advance

Last edited by res5; 04-26-2012 at 06:57 AM.
 
  


Reply



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
Basic Samba Server or Active Directory Central Login via LAM/LDAP/SAMBA metallica1973 Linux - Server 5 06-09-2010 11:27 AM
importing users from active directory into openldap and get working with samba kcorupe Linux - Server 2 11-18-2009 10:26 AM
samba using active directory for authentication- samba caching details wato83 Linux - Server 5 10-06-2009 05:37 PM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Active directory users to Samba users alexpacio Linux - Networking 0 05-19-2006 08:44 AM

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

All times are GMT -5. The time now is 08:23 PM.

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