零二年的夏天 回复于:2004-10-31 11:27:22 |
不错!
楼主自己的笔记? |
bb8848 回复于:2004-10-31 19:33:20 |
及时雨阿 |
eagerlinuxer 回复于:2004-10-31 20:56:19 |
呵呵,当然是自己写的了,不过准确的说是对smaba-HOWTO-collection.pdf文档的部分翻译加上自己的实践。 |
flighttop 回复于:2004-11-01 05:07:46 |
Thank you for your wonderful note about winbind. More and more PDC will be set up on samba 3 on Free BSD/Linux in mid-size companies, like universities. Each student has an account on Linux/Unix servers. Studnents need to be authorized to access domains on Windows system. So, enabling PDC on samba on Linux/Unix to trust PDC on Windows is a very interesting subject. Do you have some experience on it? Thanks! |
eagerlinuxer 回复于:2004-11-01 05:53:47 |
I haven't any experience on enabling PDC on samba on Linux/Unix to trust PDC on Windows ,But I very interesting the subject :). Do you have some document about it ?Could you share it to us? |
platinum 回复于:2004-11-01 07:55:22 |
very nice . . . |
wmeng 回复于:2004-11-01 13:13:55 |
真的是非常值得称赞的文档
其实要是能多一些xUnix和Windows的混合平台应用就好了 因为大部分公司都是在一种混杂模式下工作的,怎么样的优化和利用就是非常好了 |
platinum 回复于:2004-11-02 21:48:02 |
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#anon-rw |
shayulei 回复于:2004-11-04 10:40:14 |
虽然看不懂怎么操作,但至少我知道LINUX或UNIX也能加入WINODWS域,谢谢 |
stevenyj 回复于:2004-11-04 20:58:31 |
楼主,能不能在其他平台下运行,solaris\bsd\aix\hp-ux |
eagerlinuxer 回复于:2004-11-09 14:47:10 |
其它平台我没有试过,但只要能安上samba3,而且这个平台用pam来做认证,支持NSS,那应该就可以了。 |
flighttop 回复于:2004-11-10 01:50:09 |
At least to say it is ok on Free BSd, Solaris 8 and Linux. |
eagerlinuxer 回复于:2004-11-10 17:35:00 |
楼上的真强啊,在FreeBSD和Solaris8上都做成功了。我对Solaris不熟,FreeBSD还可以,能不能分享一下经验啊? |
percen 回复于:2004-11-17 11:21:02 |
如题,请楼主帮忙,谢谢! |
jiadingjun 回复于:2004-12-15 09:11:13 |
我在suse linux 9.0上 make nsswitch/pam_winbind.so 是遇到错误过不去。使用版本是3.08,不知道接下来怎么办?
nsswitch/pam_winbind.c:64: error: parse error before '*' token nsswitch/pam_winbind.c: In function `converse': nsswitch/pam_winbind.c:71: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:71: error: (Each undeclared identifier is reported only once nsswitch/pam_winbind.c:71: error: for each function it appears in.) nsswitch/pam_winbind.c:71: error: `PAM_CONV' undeclared (first use in this function) nsswitch/pam_winbind.c:72: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:73: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:73: error: `nargs' undeclared (first use in this function) nsswitch/pam_winbind.c:73: error: `message' undeclared (first use in this function) nsswitch/pam_winbind.c:74: error: `response' undeclared (first use in this function) nsswitch/pam_winbind.c:74: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:81: error: parse error before '*' token nsswitch/pam_winbind.c: In function `_make_remark': nsswitch/pam_winbind.c:83: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:85: error: storage size of `msg' isn't known nsswitch/pam_winbind.c:89: error: `text' undeclared (first use in this function) nsswitch/pam_winbind.c:90: error: `type' undeclared (first use in this function) nsswitch/pam_winbind.c:93: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:96: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:96: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:96: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:96: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:96: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:96: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c: In function `pam_winbind_request': nsswitch/pam_winbind.c:112: error: `PAM_SERVICE_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:127: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c: In function `pam_winbind_request_log': nsswitch/pam_winbind.c:153: error: `PAM_AUTH_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:157: error: `PAM_ACCT_EXPIRED' undeclared (first use in this function) nsswitch/pam_winbind.c:161: error: `PAM_AUTHTOK_EXPIRED' undeclared (first use in this function) nsswitch/pam_winbind.c:165: error: `PAM_NEW_AUTHTOK_REQD' undeclared (first use in this function) nsswitch/pam_winbind.c:169: error: `PAM_USER_UNKNOWN' undeclared (first use in this function) nsswitch/pam_winbind.c:175: error: `PAM_IGNORE' undeclared (first use in this function) nsswitch/pam_winbind.c:178: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c: In function `winbind_auth_request': nsswitch/pam_winbind.c:232: error: `PAM_AUTH_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:300: error: parse error before '*' token nsswitch/pam_winbind.c: In function `_winbind_read_password': nsswitch/pam_winbind.c:316: error: `pass' undeclared (first use in this function) nsswitch/pam_winbind.c:322: error: `ctrl' undeclared (first use in this function) nsswitch/pam_winbind.c:322: error: `PAM_OLDAUTHTOK' undeclared (first use in this function) nsswitch/pam_winbind.c:322: error: `PAM_AUTHTOK' undeclared (first use in this function) nsswitch/pam_winbind.c:329: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:330: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:353: error: storage size of `msg' isn't known nsswitch/pam_winbind.c:359: error: `comment' undeclared (first use in this function) nsswitch/pam_winbind.c:361: error: `PAM_TEXT_INFO' undeclared (first use in this function) nsswitch/pam_winbind.c:369: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) nsswitch/pam_winbind.c:370: error: `prompt1' undeclared (first use in this function) nsswitch/pam_winbind.c:373: error: `prompt2' undeclared (first use in this function) nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:389: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:389: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:394: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:394: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:394: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:395: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:398: error: `PAM_ERROR_MSG' undeclared (first use in this function) nsswitch/pam_winbind.c:412: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:412: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:412: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:412: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c:412: error: invalid use of undefined type `struct pam_response' nsswitch/pam_winbind.c:412: error: dereferencing pointer to incomplete type nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:449: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:449: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_authenticate': nsswitch/pam_winbind.c:455: error: `PAM_AUTH_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:459: error: `argc' undeclared (first use in this function) nsswitch/pam_winbind.c:459: error: `argv' undeclared (first use in this function) nsswitch/pam_winbind.c:462: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:463: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:466: error: `PAM_SERVICE_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:475: error: `PAM_AUTHTOK_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:513: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:513: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_setcred': nsswitch/pam_winbind.c:516: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:524: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:524: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt': nsswitch/pam_winbind.c:528: error: `PAM_USER_UNKNOWN' undeclared (first use in this function) nsswitch/pam_winbind.c:531: error: `argc' undeclared (first use in this function) nsswitch/pam_winbind.c:531: error: `argv' undeclared (first use in this function) nsswitch/pam_winbind.c:534: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:535: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:538: error: `PAM_SERVICE_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:553: error: `PAM_IGNORE' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:570: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:570: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_open_session': nsswitch/pam_winbind.c:574: error: `argc' undeclared (first use in this function) nsswitch/pam_winbind.c:574: error: `argv' undeclared (first use in this function) nsswitch/pam_winbind.c:577: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:580: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:580: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_close_session': nsswitch/pam_winbind.c:584: error: `argc' undeclared (first use in this function) nsswitch/pam_winbind.c:584: error: `argv' undeclared (first use in this function) nsswitch/pam_winbind.c:587: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c: At top level: nsswitch/pam_winbind.c:592: error: Syntaxfehler before "int" nsswitch/pam_winbind.c:592: error: parse error before '*' token nsswitch/pam_winbind.c: In function `pam_sm_chauthtok': nsswitch/pam_winbind.c:597: error: `argc' undeclared (first use in this function) nsswitch/pam_winbind.c:597: error: `argv' undeclared (first use in this function) nsswitch/pam_winbind.c:612: error: `pamh' undeclared (first use in this function) nsswitch/pam_winbind.c:613: error: `PAM_SUCCESS' undeclared (first use in this function) nsswitch/pam_winbind.c:616: error: `PAM_USER_UNKNOWN' undeclared (first use in this function) nsswitch/pam_winbind.c:633: error: `flags' undeclared (first use in this function) nsswitch/pam_winbind.c:633: error: `PAM_PRELIM_CHECK' undeclared (first use in this function) nsswitch/pam_winbind.c:641: error: `PAM_BUF_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:665: error: `PAM_ACCT_EXPIRED' undeclared (first use in this function) nsswitch/pam_winbind.c:666: error: `PAM_AUTHTOK_EXPIRED' undeclared (first use in this function) nsswitch/pam_winbind.c:667: error: `PAM_NEW_AUTHTOK_REQD' undeclared (first use in this function) nsswitch/pam_winbind.c:672: error: `PAM_OLDAUTHTOK' undeclared (first use in this function) nsswitch/pam_winbind.c:678: error: `PAM_UPDATE_AUTHTOK' undeclared (first use in this function) nsswitch/pam_winbind.c:702: error: `PAM_AUTHTOK_ERR' undeclared (first use in this function) nsswitch/pam_winbind.c:745: error: `PAM_SERVICE_ERR' undeclared (first use in this function) make: *** [nsswitch/pam_winbind.po] Fehler 1 |
percen 回复于:2004-12-15 09:21:25 |
我在RH9上配置成功.楼主发的资料有点错误,就是在配置SMB的时候设定分隔符为"/",即:winbind separator = / ,在设置分享资料夹的存取权限时就应该为"domain/users",而不是“domain+users”。只要定义的前后一致就可以了。如果winbind separator = + ,则分享资料夹的存取权限时就应该为"domain+users" |
eagerlinuxer 回复于:2004-12-15 09:33:42 |
[quote:09c76c5268="percen"]如题,请楼主帮忙,谢谢![/quote:09c76c5268]
你看一下smb的安装路径是不是在$PATH变量中。 |
jiadingjun 回复于:2004-12-15 16:52:09 |
我是用rpm包安装的,分别安装了samba 和winbind两个包,做到第八步的时候,是下载了源代码来做的。后来试了一下3.09得到下面的错误:
nu01:/tmp/samba-3.0.9/source # make nsswitch/pam_winbind.so Compiling nsswitch/pam_winbind.c with -fPIC Compiling nsswitch/wb_common.c with -fPIC Compiling lib/replace1.c with -fPIC In file included from lib/replace1.c:21: include/includes.h:926:19: proto.h: Datei oder Verzeichnis nicht gefunden make: *** [lib/replace1.po] Fehler 1 |
孤独的鹰 回复于:2005-04-29 16:57:56 |
哈哈支持一下 |
baif 回复于:2005-07-27 11:27:49 |
我现在遇到一个问题,就是按照这样的配置。只有一个错误那就是:
$wbinfo -u error looking up domian users. 请问这是怎么一回事阿? WINDOWS2003+CentOS-4.1 |