[samba-jp:21257] Re: net rpc right listに失敗します。

tamu tamuxu @ gmail.com
2011年 1月 13日 (木) 14:20:02 JST


ありがとうございます。


ユーザも追加してみたのですが、それでもうまくいかないです。><
なんでなのかなあ、、。

[root @ localhost source]# pdbedit -a -u root
new password:
retype new password:
Unix username:        root
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-68718183-626235865-264189415-1000
Primary Group SID:    S-1-5-21-68718183-626235865-264189415-513
Full Name:            root
Home Directory:       \\localhost\root
HomeDir Drive:
Logon Script:
Profile Path:         \\localhost\root\profile
Domain:               LOCALHOST
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    水, 12  1月 2011 19:47:26 JST
Password can change:  水, 12  1月 2011 19:47:26 JST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
[root @ localhost source]# net rpc rights list
Enter root's password:
Could not connect to server 127.0.0.1
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
[root @ localhost source]# smbpasswd -a root
New SMB password:
Retype new SMB password:
[root @ localhost source]# net rpc rights list
Enter root's password:
Could not connect to server 127.0.0.1
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
[root @ localhost source]# net rpc rights list
Enter root's password:
Could not connect to server 127.0.0.1
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
[root @ localhost source]# pdbedit -a -u root
new password:
retype new password:
Unable to add user! (does it already exist?)

2011年1月13日13:19 gwmaster <ribbon @ ns.ribbon.or.jp>:
> On Thu, Jan 13, 2011 at 01:08:33PM +0900, tamu wrote:
>
>> パスワードを正しくうっているつもりなのですが、失敗します。
>>
>> [root @ localhost source]# passwd
>> Changing password for user root.
>> New UNIX password:
>> Retype new UNIX password:
>> passwd: all authentication tokens updated successfully.
>> [root @ localhost source]# net rpc rights list
>
> この辺かなあ。
>
> http://www.samba.gr.jp/project/translation/Samba3-HOWTO/classicalprinting.html#id2649983
>
> http://www.samba.gr.jp/project/translation/3.5/htmldocs/manpages-3/smbpasswd.8.html
>
> あと、
>
> http://gihyo.jp/book/2010/978-4-7741-4405-4
>
> なんかを買うといいと思いますよ。
>
> oota
>



-- 
田村 雅宏



samba-jp メーリングリストの案内