This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
samba4_as_domain_member [2017/05/26 17:06] cbustillo@uclv [Make domain users/groups available locally through winbind] |
samba4_as_domain_member [2017/05/26 21:49] cbustillo@uclv [Testing the winbind user/group mapping] |
||
---|---|---|---|
Line 311: | Line 311: | ||
+ | ===== Verifying the File Server ===== | ||
+ | ---- | ||
+ | |||
+ | To list all shares provided by the Samba File Server: | ||
+ | |||
+ | <code> | ||
+ | # smbclient -L localhost -U% | ||
+ | </code> | ||
+ | |||
+ | To verify authentication, connect to the "Demo" share using the domain administrator account: | ||
+ | |||
+ | <code> | ||
+ | # smbclient //localhost/Demo -UAdministrator -c 'ls' | ||
+ | </code> | ||
+ | ===== Try out some net commands to see if Samba can communicate with AD: ===== | ||
+ | ---- | ||
+ | |||
+ | <code> | ||
+ | # net ads info | ||
+ | # net ads lookup | ||
+ | # net ads status -U administrator | less | ||
+ | </code> | ||
===== Leaving domain ===== | ===== Leaving domain ===== | ||
---- | ---- |