smb and kerberos on Red Hat

After enabling the Winbind, samba and kerberos on Red hat server, do I need to do any on Linux server in case I add a new AD user on the Window server. Do I need to restart any service such that the new user will be put under /etc/passwd ?

Thanks
AXISHKAsked:
Who is Participating?
 
Monis MontherConnect With a Mentor System ArchitectCommented:
NO you need not. Basically the users will be added in Windows AD and winbind will look them up upon request. They will not be added to /etc/passwd

To view all your users

getent passwd

This will show you both Linux and Windows users.

To verify that you are seeing all windows users from winbind

wbinfo -a

This would give you all the windows users that winbind can see.

If there are any problems then you need to reload the winbind service
0
 
Pieter JordaanConnect With a Mentor Senior Systems Administrator - Web hosting and Network Security.Commented:
Hi

It will automatically replicate new users to the Linux box. You can force it by deleting the cache file, and then restarting winbind.

rm  /var/cache/samba/netsamlogon_cache.tdb
/etc/init.d/winbind restart
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.