[Samba] Setup_a_Samba_AD_Member_Server can get the id of user.

江志 jz at hejiangmould.com
Mon Nov 24 20:47:08 MST 2014


samba,您好:
     I follow the wiki(https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server) to setup a member server,then I have some problems:
net ads join -U adminsitrator is OK except the DNS update.
run the command:
wbinfo -u
show the user list as follow:
SWAP10\jz
SWAP10\root
TEST\administrator
TEST\krbtgt
TEST\guest
TEST\root
TEST\jz

When run the command:
id administrator
show
id: administrator: no such user
When run the command:
id 'TEST\administrator'
show
id: TEST\administrator: no such user

Run chown and chgrp also get error.

Here is my smb.conf

[global]
	netbios name = swap10
	workgroup = TEST
	security = ADS
	realm = TEST.TESTDOMAIN.COM
	encrypt passwords = yes

	kerberos method = secrets only

	idmap config *:backend = tdb
	idmap config *:range = 70001-80000
	idmap config TEST:backend = ad
	idmap config TEST:schema_mode = rfc2307
	idmap config TEST:range = 500-40000

	winbind nss info = rfc2307
	winbind trusted domains only = no
	winbind use default domain = false
	winbind enum users = yes
	winbind enum groups = yes
	winbind offline logon = false
	template shell = /sbin/nologin

	vfs objects = acl_xattr
	map acl inherit = yes
	store dos attributes = yes
	auth methods = winbind
	log level = 3
[demo]
	path = /home/samba/demo
	read only = no
[install$]
	path = /home/samba/install
	read only = no
	guest ok = no

Any suggestions
Sorry for my poor english.

Regards
Jiangzhi
--------------
2014-11-25


More information about the samba mailing list