Difference between revisions of "Samba4 Administration"
From Stadm
Jump to navigationJump to searchLine 8: | Line 8: | ||
*UID can be specified at creation using command line, use: | *UID can be specified at creation using command line, use: | ||
samba-tool user add USERNAME --uid-number=UIDNUMBER | 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 | ||
+ | |||
==MAC== | ==MAC== | ||
*https://lists.samba.org/archive/samba/2013-June/174090.html | *https://lists.samba.org/archive/samba/2013-June/174090.html |
Revision as of 15:46, 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