Difference between revisions of "Samba4 Administration"
From Stadm
Jump to navigationJump to searchLine 3: | Line 3: | ||
[[Category:Samba]] | [[Category:Samba]] | ||
[[Category:Samba4AD]] | [[Category:Samba4AD]] | ||
− | |||
==Creating Users== | ==Creating Users== | ||
*users can be created in two ways: | *users can be created in two ways: |
Revision as of 16:35, 21 February 2014
Creating Users
- users can be created in two ways:
- they can be done through the gui provided by RSAT(Remote Service Administration Tools) to add users into Active Directory (AD)
- simply click new user in the appropriate OU (organizational unit) and enter in name,username and password
- User UID can be changed or specified using modXid script on AD server
- to create user into AD using terminal use samba-tool
samba-tool user add USERNAME
- UID can be specified at creation using command line, use:
samba-tool user add USERNAME --uid-number=UIDNUMBER
Changing XID
- uid and gid for users in samab are translated from the users windows SID using idmap
- idmap stores its database locally which contains the mappings
- a script