04/07/12 17:10.net
FreeBSD 5.2.1R、Samba 3.0.4、Apache 1.3.31、FrontPage Server Ext 5.0.2.2623 を使って、
NT4ドメインに登録されたユーザがFrontPageでホームページを作れるようにしようと考えました。
「id administrator」を実行するとwinbindが効いていて、
uid=10002(administrator) gid=10002(Domain Users) groups=10002(Domain Users)のようになっています。
URLリンク(hostname) や \\hostname\administrator (ホームディレクトリ) は見れるようにしましたが、
owsadm.exe -o install -p 80 -web '/~administrator' -u administrator -pw password -xu administrator -xg www -servconf /usr/local/etc/apache/httpd.conf を実行しても
Error: '/~administrator' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a
badly formed URL.
と出てしまいます。
/etc/passwdに書かれたユーザだとうまく行くのですが、winbindされたユーザでも使えるようにするにはどうしたらいいでしょうか?
/etc/nsswitch.conf:
passwd: files winbind
group: files winbind