Groups
Groups
Sign in
Groups
Groups
NYCU NASA 課程討論區
Conversations
About
Send feedback
Help
[NA HW4] 14-create-stu OJ失敗但本地成功
40 views
Skip to first unread message
宋承諺
unread,
May 26, 2025, 8:31:52 AM
May 26
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教好,
我在14-create-stu遇到了以下的log:
Creating user stu17291098 with password Qr8D%qXI3sQi
adding new entry "uid=stu17291098,ou=People,dc=30,dc=nasa"
ldap_add: Constraint violation (19)
additional info: Password fails quality checking policy
我在workstation本地可以用generalta的身分去用ldif裡面存密碼明文的方式加入新使用者,但是OJ這裡使用的密碼在本地會通過quality check,經過刪減的密碼也會如預期地被拒絕。其他需要創建使用者的項目也有一樣的問題。
我想詢問OJ是用什麼方式去新增使用者的?或是這個現象可能是因為什麼原因?
謝謝助教
wkhsia...@nycu.edu.tw
unread,
May 26, 2025, 9:00:11 AM
May 26
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
同學好,
judge會使用ldapadd bind generalta並且輸入ldif來新增user
password hash部分有經過slappasswd處理,
請在本地測試judge給出的測試密碼,
並確認能以以上的流程新增user
助教
nycu11155...@nycu.edu.tw
在 2025年5月26日 星期一晚上8:31:52 [UTC+8] 的信中寫道:
宋承諺
unread,
May 27, 2025, 12:45:23 AM
May 27
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
解決了,謝謝助教。
wkhsia...@nycu.edu.tw
在 2025年5月26日 星期一晚上9:00:11 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages