ðÙÔÁÀÓØ ÓÄÅÌÁÔØ PDC ÎÁ Samba 2.2.8a(ÓÔÁ×ÌÀ ÉÚ ÐÏÒÔÏ×,cvsup ÓÄÅÌÁÌ) + FreeBSD 5.2
îÁÓÔÒÁÉ×ÁÌ, ËÁË ÏÐÉÓÁÎÏ × ÍÁÎÕÁÌÁÈ
èÏÞÕ ÐÒÉÓÏÅÄÅÎÉÔØ Ë ÄÏÍÅÎÕ ËÏÍÐ Ó ÉÍÅÎÅÍ admin, ÄÅÌÁÀ ÔÁË:
#pw useradd admin$ -d /dev/null -g ntmachines -s /sbin/nologin
#smbpasswd -a -m admin
Unknown parameter encountered: "host allow"
Ignoring unknown parameter "host allow"
Added user admin$.
ðÒÉÓÏÅÄÅÎÑÀ ÍÁÛÉÎÕ Ë ÄÏÍÅÎÕ, ××ÏÖÕ ÐÁÒÏÌØ ÒÕÔÁ (ÉÌÉ ÎÅ ××ÏÖÕ)
äÁÌØÛÅ, ÅÓÌÉ ÐÁÒÏÌØ root ÚÁÄÁÎ ËÁË ÐÕÓÔÏÊ (smbpasswd -n root),
ÔÏ smbd ×Ù×ÁÌÉ×ÁÅÔÓÑ Ó ÔÁËÉÍ ÓÏÏÂÝÅÎÉÅÍ
(ÍÁÛÉÎÁ Ë ÄÏÍÅÎÕ îå ÐÏÄÓÏÅÄÅÎÑÅÔÓÑ):
**********************
...
api_rpcTNP: pipe 29915 rpc command: SAMR_SET_USERINFO
samr_io_userinfo_ctr: unknown switch level 0x1a
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
free_pipe_context: destroying talloc pool of size 8
Transaction 34 of length 645
switch message SMBtrans (pid 93407)
trans <\PIPE\> data=565 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 74db)free_pipe_context: destroying talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: pipe 29915 rpc command: SAMR_SET_USERINFO
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(100) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
===============================================================
INTERNAL ERROR: Signal 11 in pid 93407 (2.2.8a)
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error
Abort trap
**********************
á ÅÓÌÉ ÐÁÒÏÌØ ÒÕÔÁ ÎÅ ÐÕÓÔÏÊ (ÚÁÎ ËÁË smbpasswd root), ÔÏ smbd ÇÏ×ÏÒÉÔ :
***********************
smb_pam_auth: PAM: Athentication Error for user root
smb_pam_error_handler: PAM: Authentication Failure : authentication error
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root !
************************
ðÒÉÞÅÍ ÐÁÒÏÌØ ÍÏÖÅÔ ÓÏ×ÐÁÄÁÔØ, ÍÏÖÅÔ ÎÅ ÓÏ×ÐÁÄÁÔØ Ó ÐÁÒÏÌÅÍ BSD - ÐÏÆÉÇ
×ÓÅ ÒÁ×ÎÏ ÎÅ ÐÕÓËÁÅÔ...
ðÁÒÏÌÉ ÐÒÏ×ÅÒÑÌ ÒÁÚ 10ÔØ - ÔÏÞÎÏ ××ÏÖÕ ÐÒÁ×ÉÌØÎÏ.
domain admin group = root @ntusers - × smb.conf ÓÔÏÉÔ (ËÁË × ÍÁÎÕÁÌÅ ÎÁÐÉÓÁÎÏ)
ðÒÏÂÏ×ÁÌ ÉÇÒÁÔØÓÑ ÐÁÒÁÍÅÔÒÁÍÉ
unix password sync = yes/no
pam password change = yes/no
ÎÉÆÉÇÁ ÎÅ ÐÏÍÏÇÁÅÔ...
á ×ÅÄØ ÐÏ ÉÄÅÅ samba ÄÏÌÖÎÁ ÐÕÓËÁÔØ ÅÓÌÉ ÐÁÒÏÌØ ÐÏÄÈÏÄÉÔ...
÷ Ó×ÑÚÉ Ó ÞÅÍ ×ÏÐÒÏÓ:
1.íÅÎÑ ÎÁÐÒÉÇÑÇÁÅÔ ÞÔÏ smbpasswd ÒÕÇÁÅÔÓÑ ÎÁ host allow (ÐÏÄÄÅÒÖËÕ ACL ÐÒÉ ËÏÍÐÉÌÑÃÉÉ Ñ ÓÔÁ×ÉÌ, É ÎÅ ÓÔÁ×ÉÌ - ×ÓÅ ÐÏÆÉÇ). üÔÏ ÎÏÒÍÁÌØÎÏ?
ñ ÓÐÅÒ×Á ÇÒÅÛÉÌ ÎÁ CFLAGS= -O2, ÎÏ ÂÅÚ ÎÅÇÏ ÔÁÖÅ ÆÉÇÎÑ...
2. õ ËÏÇÏ ÎÉÂÕÄÂ ÅÓÔØ òáâïþéê PDC ÎÁ Samba 2.2.8+FreeBSD 5.x ???
ðÏÄÅÌÉÔÅÓØ ËÏÎÆÉÇÁÍÉ! íÏÖÅÔ Ñ ÞÔÏ ÎÉ ÔÁË ÄÅÌÁÀ :)
åÓÌÉ ÎÁÄÏ, ÍÏÇÕ ÓËÉÎÕÔØ ÐÏÌÎÙÊ smb.conf É ÌÏÇÉ...
ðÒÏÛÕ ÐÒÏÛÅÎÉÑ ÚÁ ÏÛÉÂËÉ É ÎÅÔÏÞÎÏÓÔÉ - ÕÖÅ 6 ÕÔÒÁ, Ñ 3 ÄÅÎØ(ÎÏÞØ) ÂØÀÓØ... óÁÍÏÅ ÐÏÚÄÎÅÅ Ë ×ÏÓËÒÅÓÅÎØÀ ÎÁÄÏ ÚÁËÏÎÞÉÔØ....