ID not work for Samba in ADS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The samba version is 3.5.6, and the configure command is 

"./configure --wth-ctdb = /home/ctdb-1.0.1141 --with-cluster-support --enable-pie=no 
  --with-shared-modules=idmap_tdb2, idmap-ad,idmap-adex,idmap-hash,idmap-ldap,
 idmap-rid --with-ldap --with-ads --with-winbind"


obviously I use samba in clustering, but the problem is 
FIRST:
 "When Samba server joined ad successfully, ID command says 'no such user' to me",but wbinfo -u and
getent passwd all say yes. "

I don't know what the problem is , I copy libnss_winbind.so from the package of samba-3.5.6, make some symbol links, type ldconfig, and also restart winbind . but all these didn't work, 
but after REBOOT the device of samba server ,and then restart winbind, it worked.

Please tell me where the mistake is, and how can i use ID without reboot.

SECOND:
 After I type 'net ads leave -U administrator -S hw-ad.HUAWEI.com', the samba server leave AD, and then I
 stop winbind, 'getent passwd' didn't show the ad users, but ID command also show the AD user. 
How can ID command stop show these users? 



2012-09-05 



xhan2008 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Linux]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux