Samba 解説

第6章 Windows NT4.0サーバからの移行

【リスト6-3】 ユーザ管理スクリプトの設定

[global]
... 略 ...
        add group script = /usr/local/sbin/smbldap-groupadd.pl '%g'
        add user script = /usr/local/sbin/smbldap-useradd.pl -m '%u'
        add machine script = /usr/local/sbin/smbldap-useradd.pl '%u'
        delete group script = /usr/local/sbin/smbldap-groupdel.pl '%g'
        delete user script = /usr/local/sbin/smbldap-groupdel.pl -r '%u'
        add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m '%u' '%g'
        delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x '%u' '%g'

	      

閉じる