1
New Samba3 Account
ldap-user.png
0
cn
Samba: Account
1
First name
ldap-uid.png
=autoFill(cn;%givenName% %sn%)
1
1
Last name
=autoFill(cn;%givenName% %sn%)
2
1
Common Name
3
1
1
GID Number
=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)
=autoFill(uid;%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%)
4
1
User ID
=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)
5
1
1
UID Number
6
1
1
=php.GetNextNumber(/;uidNumber)
Samba SID
sidsuffix
=php.GetNextNumber(/;uidNumber;false;;*2,+1000)
7
1
=php.Join(-;%sambaSID%,%sidsuffix%)
1
Password
lock.png
=autoFill(sambaLMPassword;%userPassword%)
=autoFill(sambaNTPassword;%userPassword%)
8
=php.PasswordEncrypt(%enc%;%userPassword%)
1
1
LM Password
9
1
=php.PasswordEncrypt(LM;%sambaLMPassword%)
password
NT Password
10
1
=php.PasswordEncrypt(NT;%sambaNTPassword%)
1
password
Login shell
terminal.png
11
1
select
/bin/sh
/bin/csh
/bin/tsh
Primary Group ID
sidpgsuffix
13
1
=php.Join(-;%sambaPrimaryGroupSID%,%sidpgsuffix%)
1
Home directory
14
1
1
[U]