LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-19-2009, 08:13 AM   #1
Radioactiveman
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Question samba to active directory domain


hi,

i have installed samba to active directory domain.
webmin-> servers-> samba-> bind to domain, is ok (complete) (can see samba in AD now)


# wbinfo -t
checking the trust secret via RPC calls succeeded

# wbinfo -m
OFFICE

# wbinfo -u
SAMBA+xfs
SAMBA+gdm
SAMBA+sabayon
SAMBA+admin
DOMOFFICE+adm
DOMOFFICE+_backup
DOMOFFICE+administrator
DOMOFFICE+sad
etc.

# wbinfo -g
BUILTIN+administrators
BUILTIN+users
DOMOFFICE+domain computers
DOMOFFICE+domain users
DOMOFFICE+domain guests
etc.

# getent passwd
gdm:x:42:42::/var/gdm:/sbin/nologin
sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin
admin:x:500:500:admin:/home/admin:/bin/bash
DOMOFFICE+adm:*:10000:10004:adm:/home/DOMOFFICE/adm:/bin/false
DOMOFFICE+_backup:*:10001:10004:_Backup:/home/DOMOFFICE/_backup:/bin/false
etc.

# getent group
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:

getent group
-> cant see domain groups, only the locale ones?

- with this command i can not join the domain?
# net ads join -U administrator
administrator's password:
[2009/03/19 11:03:44, 0] utils/net_ads.c:ads_startup_int(286)
ads_connect: No logon servers
Failed to join domain: No logon servers

- if i do it with the AD server:
net ads join athena.work.local -U administrator
Joined domain DOMOFFICE.
[2009/03/19 11:32:55, 2] utils/net.c:main(1075)
return code = 0



...if u want i can post nsswitch.conf, krb5.conf, smb.conf, pam.d/samba?


::::::INFO:::::::
OS: red hat enterprise server 5.3
samba vers: 3.033375
webmin vers: 1.460
apache vers: 2.2.3



thx 4 help
Radioactiveman
 
Old 03-20-2009, 01:04 AM   #2
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
I've read your post several times.. Still unsure what your question is mate.
 
Old 03-20-2009, 02:18 AM   #3
Radioactiveman
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
ok sry^^
...i forgot to tell u that i also installed ACl, managed by webmin.
ACL: i can give a domain and a local user permission for a samba-share. but i can not give a domain group permission for a samba-share because i can see only local groups...but why?

with the command "getent group" can only see the local groups...i must also see the domain groups?
with the command "getent passwd" can see local and domain groups.
dont know where the probl is..maybe winbind isnt working properly?
other command results are in the 1st post

THX
 
  


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
Join Samba to Active Directory Domain xudonw1 Debian 0 05-04-2007 08:17 AM
connecting samba to a windows 2003 active directory domain Jcrofton Linux - Networking 8 09-17-2006 06:07 PM
Linux in a Active Directory Domain kemplej Linux - Software 5 09-06-2005 10:12 AM
Samba 3 in MS Active Directory domain psychobyte Linux - Software 3 10-16-2004 04:14 PM
Samba 3 domain member or W2k Active Directory Navtive Mode treedstang Linux - Networking 2 07-30-2004 10:04 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration