Samba account synchronization-Linux Enterprise Application-Linux server application information. For more information, see. Hello everyone! The following prompt is displayed when samba3.6.10 is compiled and installed on centos5.5 and added to the win2008 domain by using net ads join-U administrator:
Using short domain name -- TEST
Joined 'centos 5' to dns domain 'test. cn'
No DNS domain configured for centos5. Unable to perform DNS Update.
DNS update failed!
Use net rpc join-U administrator
Enter administrator's password:
Joined domain TEST. If there are no errors, add them to the domain.
Net ads info-U administrator
Enter administrator's password:
Domain Name: TEST
Domain SID: S-1-5-21-3395026221-1639031799
Sequence number: 1
Num users: 184
Num domain groups: 0
Num local groups: 39
/Usr/local/samba/bin/net rpc join-U administrator
Enter administrator's password:
Joined domain TEST.
/Usr/local/samba/bin/net rpc testjoin-U administrator
Join to 'test' is OK
/Usr/local/samba/bin/net ads testjoin-U administrator
Join is OK
/Usr/local/samba/bin/net ads info-U administrator
Enter administrator's password:
LDAP server: 192.168.100.2
LDAP server name: AD1.TESTcn
Realm: TEST. CN
Bind Path: dc = TEST, dc = CN
LDAP port: 389
Server time: 5, 28 December 20 11:46:30 CST
KDC server: 192.168.100.2
Server time offset: 8
/Usr/local/samba/bin/wbinfo-t
Checking the trust secret for domain TEST via RPC callsucceeded
/Usr/local/samba/bin/wbinfo-u
CENTOS5/test
Administrator
Guest
Krbtgt
/Usr/local/samba/bin/wbinfo-g
Domain computers
Domain controllers
Schema admins
Enterprise admins
Cert publishers
Domain admins
Domain users
Domain guests
The above check is normal, and I want to give you a directory Change Group
Chgrp-R test File
An invalid group is prompted, so it is difficult to set permissions for shared files.
How can I synchronize domain users to samba and log on to samba.
Getent passwd
Configuration File
[Global]
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service