This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous 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 23:34] cbustillo@uclv [Starting the daemons] |
||
---|---|---|---|
Line 247: | Line 247: | ||
===== Starting the daemons ===== | ===== Starting the daemons ===== | ||
---- | ---- | ||
- | |||
- | Before start Samba | ||
Once you have finished the above steps, you must start the following services: | Once you have finished the above steps, you must start the following services: | ||
Line 311: | Line 309: | ||
+ | ===== 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 ===== | ||
---- | ---- |