ユーザ用ツール

サイト用ツール


サイドバー

Index

はじめてのおつかい






DokuWiki整形記法


PlayGround



serverapps:samba:ldap

SambaでのLdapの利用

■ マシン登録

Domain参加にはマシンの登録が先に必要

# smbldap-useradd -w マシン名
-w    is a Windows Workstation (otherwise, Posix stuff only
#pdbedit -a -m -u マシン名

■ ユーザ登録

# smbldap-useradd -a -P ユーザ名
-a    is a Windows User (otherwise, Posix stuff only)
-P    ends by invoking smbldap-passwd

sambaAcctFlags, U (ユーザー)、W (ワークステーション)、 X (パスワード有効期限なし)、I (ドメイン信頼アカウント)、H (ホーム・ディレクトリが必要)、 S (サーバー信頼アカウント)、D (無効化) などのアカウントに関するフラッグを表す

■ グループ登録

smbldap-groupadd -g 108 -a ftpadmin
-g GID
-a Sambaグループにマッピング
serverapps/samba/ldap.txt · 最終更新: 2017/04/14 14:21 (外部編集)