顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - fandy

頁: [1] 2 3
1
Linux 討論版 / 回覆: Hylafax server 問題
« 於: 2008-08-09 11:40 »
该config.ttyS*文件里的"TagLineFormat"一项就行.
文件默认是在/var/spool/hylafax/etc下

有时间可以睇一下我所写的文章:

http://fandy.linuxpk.com

2
請問各位大大,有誰安裝過avantfax?

我現在是安裝avantfax,但是打開http://192.168.1.254/avantfax/admin/沒有什麼的顯示,網頁內容是空白!

我是按照avantfax安裝教程來安裝的!

3
多謝,sakana高人的指導!

4
請問sakana達人,那里可以下載到"傳真伺服器建構與應用"這個課程的資料!請指教小弟,多謝!

在ellicchang大哥提供的資料中,以下的兩個連接不能下載,不知道是什麼原因!

下載SERVER安裝過程 http://HTTP://WWW.SEE.COM.TW/UPDATE/faxserver.sxw
下載CLIENT端安裝說明 http://HTTP://WWW.SEE.COM.TW/UPDATE/FAXSERVER_CLIENT.sxw

5
活動/聚會區 / 一月份的SA@Taipei
« 於: 2007-01-18 09:02 »
快快參考啦!真是一個叫人興奮的信息啊,可惜我在大陸,不然小弟也想參考一份!可惜!

希望到時可以有相關的資料下載一就好啦!

6
請問各位大大,我已經把openldap主/從伺服器都配置好了,請問如何確定他們是否同步,和如何查看openlda同步的日志!希望各位大大可以指導小弟,多謝!

7
關注中!

8
Jihad大大,能不能講解一下您的安裝過程!

9
LDAP 討論區 / [整合方案]SambaPDC+LDAP
« 於: 2006-01-23 09:09 »
好東西一定要支持和學習!

10
請各位大大幫助可以嗎?

11
LDAP 討論區 / [整合方案]SambaPDC+LDAP
« 於: 2006-01-20 13:59 »
fjufirefox大大,好像以下的連接地址不正常!

修正版
v5(新增bind view的概念)
http://www.ccit.edu.tw/~g961213/add_v2.pdf

不知道是不連接地址有錯誤啦!

12
對不起,剛才沒有輸入完整就發表,對不起,請日京三子大大原諒!

不知道日京三子大大能不能指導一下小弟,感謝!

13
請大家再幫助一下小弟,現在的問題是客戶機可以正常的加入OpenLDAP + Samba所設定的域,但當用戶登陸時出現以下的錯誤資訊不知道是什麼原因,請大家幫助一下可以嗎?

我的smb.conf檔內容如下:

# Global parameters
[global]
        workgroup = easy-pdc
        netbios name = PDC
        username map = /etc/samba/smbusers
        server string = Samba Server %v
        security = user
        encrypt passwords = Yes
        min passwd length = 3
        obey pam restrictions = No
        ldap passwd sync = Yes
        log level = 3
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 100000
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        mangling method = hash2
        Dos charset = UTF-8
        Unix charset = UTF-8

        logon script = %U.bat
        logon drive = H:
        logon home =
        logon path =

        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        wins support = yes
        passdb backend = ldapsam:ldap://127.0.0.1/
        ldap admin dn = cn=Manager,dc=easy,dc=com
        ldap suffix = dc=easy,dc=com
        ldap group suffix = ou=Groups
        ldap user suffix = ou=Users
        ldap machine suffix = ou=Computers
        ldap ssl = off
        ldap delete dn = Yes
        add user script = /sbin/smbldap-useradd -m "%u"
        add machine script = /sbin/smbldap-useradd -t 0 -w "%u"
        add group script = /sbin/smbldap-groupadd -p "%g"
        add user to group script = /sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /sbin/smbldap-groupmod -x "%u" "%g"
        set primary group script = /sbin/smbldap-usermod -g '%g' '%u'

        # printers configuration
        printer admin = @"Print Operators"
        load printers = Yes
        create mask = 0640
        directory mask = 0750
        nt acl support = No
        printing = cups
        printcap name = cups
        deadtime = 10
        guest account = nobody
        map to guest = Bad User
        dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
        show add printer wizard = yes
        ; to maintain capital letters in shortcuts in any of the profile folders:
        preserve case = yes
        short preserve case = yes
        case sensitive = no

[homes]
        comment = repertoire de %U, %u
        read only = yes

[netlogon]
        path = /home/netlogon/
        browseable = No
        read only = yes

[profiles]
        path = /home/profiles/
        read only = no
        create mask = 0600
        directory mask = 0700
        browseable = No
        guest ok = Yes
        profile acls = yes
        csc policy = disable


也在home目錄新建了netlogon和profiles目錄,同時也更改為了profiles目錄的屬性!

# mkdir /home/netlogon /home/profiles

#chmod 0777 /home/profiles




14
好的,多謝日京三子大大和各位大大的幫助,現在問題已經解決!

問題可能是出現在:

workgroup = easy-pdc
netbios name = easy-pdc

更改為:

workgroup = easy-pdc
netbios name = easy

客戶機(windows xp)就可以正常的登陸!

15
請問日京三子大大是使用tail /var/log/ldap.log命令來查看ldap的詳細日志嗎!

16
對不起,我輸入錯誤了,所以有問題,但是我試過修改成不一樣時,也會出現"就揭示網絡有重名的錯誤'的問題!

我已經重新啟動過samba和openldap服務!

17
請不起,現在附上/etc/samba/smb.conf內容如下:

# Global parameters
[global]
workgroup = easy-pdc
netbios name = easy
username map = /etc/samba/smbusers
server string = Samba Server %v
security = user
encrypt passwords = Yes
min passwd length = 3
obey pam restrictions = No
ldap passwd sync = Yes
log level = 3
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangling method = hash2
dos charset = CP936
unix charset = cp936
unix charset = GB2312
logon script = logon.bat
logon drive = H:
logon home =
logon path =

domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=Manager,dc=easy,dc=com
ldap suffix = dc=easy,dc=com
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
dap ssl = off
ldap delete dn = Yes
add user script = /sbin/smbldap-useradd -m "%u"
add machine script = /sbin/smbldap-useradd -t 0 -w "%u"
add group script = /sbin/smbldap-groupadd -p "%g"
add user to group script = /sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /sbin/smbldap-usermod -g '%g' '%u'
printer admin = @"Print Operators"
load printers = Yes
create mask = 0640
directory mask = 0750
nt acl support = No
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile folders:
preserve case = yes
short preserve case = yes
case sensitive = no

[homes]
comment = repertoire de %U, %u
read only = no

[netlogon]
path = /home/netlogon/
browseable = No
read only = yes

[profiles]
path = /home/profiles
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
# next line is a great way to secure the profiles
force user = %U
# next line allows administrator to access all profiles
valid users = %U "Domain Admins"

18
日京三子大大可否幫助一下小弟,多謝!

19
OpenLDAP + Samba的問題!

我使用VMware 5.5虛擬兩臺主機”linux”、”winxp”:

linux:安裝RHEL 4.2 + OpenLDAP + Samba已安裝和配置完成;
winxp:安裝windows xp sp2已修改過註冊表!

現在的問題是客戶機可以正常的加入OpenLDAP + Samba所設定的域,但出現問題的是重新啟動windows xp主機后,就揭示網絡有重名的錯誤!不知道那一位大大有遇到過這樣的情況,可否指導一下小弟,多謝!

20
LDAP 討論區 / OpenLDAP + Postfix配置問題
« 於: 2006-01-07 16:52 »
多謝兩位大大的幫助,真的好多謝您們!

21
Linux 討論版 / 關於mysql+sasl+openwebmail的問題
« 於: 2006-01-07 16:46 »
請問那一位大大可以幫助一下小弟!

22
Linux 討論版 / 關於mysql+sasl+openwebmail的問題
« 於: 2006-01-04 09:12 »
小弟在閱讀” postfix+mysql+sasl+openwebmail”(連接地址: http://www.myunix.idv.tw/mx/forum/viewtopic.php?t=521&highlight=Openwebmail)文章時, vincent大大有提到以下的內容:

Openwebmail + Mysql

直接修改 cgi-bin/openwebmail/etc/openwebmail.conf呼叫auth_mysql.pl來connect MysqlDB(注意需與Postfix + Mysql裡設定的DB一致)

請問各位大大,有誰知道更加詳細的操作嗎,可以指導一下小弟嗎?希望大家可以幫助一下!

23
LDAP 討論區 / OpenLDAP + Postfix配置問題
« 於: 2005-12-30 09:52 »
知道,我以后會多用搜索功能的,多謝提醒!

24
LDAP 討論區 / OpenLDAP + Postfix配置問題
« 於: 2005-12-29 16:24 »
大家好,小弟現在有一個想法不知道可不可行(使用OpenLDAP + Samba + Postfix + Dovecot來作為一個公司的電子郵件系統!),希望各位大大可以指導一下和提出一些意見,我現在的情況如下:

操作系統為REL 4.2

主機A:                                                      

安裝OpenLdap + Samba          

主機B:

安裝Postfix + Dovecot + Sasl2



小弟現在遇到的問題是:小弟的ldap Server已可能正常的運行,但是我不知道如何讓Postfix讀取Ldap Server的用戶作為電子郵箱的用戶,真誠希望各位大大可以指導一下小弟,多謝!

25
我在建立資料庫時出現錯誤,請大家支援一下:

我的postfix.sql檔內容以下:

CREATE TABLE "admin" (
"username" character varying(255) NOT NULL default '',
"password" character varying(255) NOT NULL default '',
"created" timestamp with time zone default now(),
"modified" timestamp with time zone default now(),
"active" boolean NOT NULL default true,
Constraint "admin_key" Primary Key ("username")
);
COMMENT ON TABLE admin IS 'Postfix Admin - Virtual Admins';

CREATE TABLE alias (
address character varying(255) NOT NULL default '',
goto text NOT NULL,
domain character varying(255) NOT NULL default '',
created timestamp with time zone default now(),
modified timestamp with time zone default now(),
active boolean NOT NULL default true,
-- PRIMARY KEY ("address"),
-- KEY address ("address"),
Constraint "alias_key" Primary Key ("address")
);
COMMENT ON TABLE alias IS 'Postfix Admin - Virtual Aliases';

CREATE TABLE domain (
domain character varying(255) NOT NULL default '',
description character varying(255) NOT NULL default '',
aliases integer NOT NULL default 0,
mailboxes integer NOT NULL default 0,
maxquota integer NOT NULL default 0,
transport character varying(255) default NULL,
backupmx boolean NOT NULL default false,
created timestamp with time zone default now(),
modified timestamp with time zone default now(),
active boolean NOT NULL default true,
-- PRIMARY KEY ("domain"),
-- KEY domain ("domain"),
Constraint "domain_key" Primary Key ("domain")
);
COMMENT ON TABLE domain IS 'Postfix Admin - Virtual Domains';

CREATE TABLE domain_admins (
username character varying(255) NOT NULL default '',
domain character varying(255) NOT NULL default '',
created timestamp with time zone default now(),
active boolean NOT NULL default true
-- KEY username ("username")
);
COMMENT ON TABLE domain_admins IS 'Postfix Admin - Domain Admins';

CREATE TABLE log (
timestamp timestamp with time zone default now(),
username character varying(255) NOT NULL default '',
domain character varying(255) NOT NULL default '',
action character varying(255) NOT NULL default '',
data character varying(255) NOT NULL default ''
-- KEY timestamp ("timestamp")
);
COMMENT ON TABLE log IS 'Postfix Admin - Log';

CREATE TABLE mailbox (
username character varying(255) NOT NULL default '',
password character varying(255) NOT NULL default '',
name character varying(255) NOT NULL default '',
maildir character varying(255) NOT NULL default '',
quota integer NOT NULL default 0,
domain character varying(255) NOT NULL default '',
created timestamp with time zone default now(),
modified timestamp with time zone default now(),
active boolean NOT NULL default true,
-- PRIMARY KEY ("username"),
-- KEY username ("username"),
Constraint "mailbox_key" Primary Key ("username")
);
COMMENT ON TABLE mailbox IS 'Postfix Admin - Virtual Mailboxes';

CREATE TABLE vacation (
email character varying(255) NOT NULL default '',
subject character varying(255) NOT NULL default '',
body text NOT NULL,
cache text NOT NULL,
domain character varying(255) NOT NULL default '',
created timestamp with time zone default now(),
active boolean NOT NULL default true,
-- PRIMARY KEY ("email"),
-- KEY email ("email")
Constraint "vacation_key" Primary Key ("email")
);
COMMENT ON TABLE vacation IS 'Postfix Admin - Virtual Vacation';

GRANT SELECT,INSERT,UPDATE,DELETE ON admin,alias,domain,domain_admins,log,mailbox,vacation TO postfixadmin_user;

以下為我的建立過程:

$ createuser –P postfix
$ createuser –P postfixadmin
$ createdb postfix
$ psql -U postfix -f \postfix.sql postfix
psql:postfix.sql:8: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit ind ex "admin_key" for table "admin"
CREATE TABLE
COMMENT
psql:postfix.sql:21: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit in dex "alias_key" for table "alias"
CREATE TABLE
COMMENT
psql:postfix.sql:38: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit in dex "domain_key" for table "domain"
CREATE TABLE
COMMENT
CREATE TABLE
COMMENT
CREATE TABLE
COMMENT
psql:postfix.sql:73: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit in dex "mailbox_key" for table "mailbox"
CREATE TABLE
COMMENT
psql:postfix.sql:87: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit in dex "vacation_key" for table "vacation"
CREATE TABLE
COMMENT
psql:postfix.sql:90: ERROR: role "postfixadmin_user" does not exist
[postgres@mail /]$

不知道是什麼原因啦!希望各位大俠可以幫助一下小弟,多謝先!

26
難度沒有要注意的地方嗎?

如何您要字字比較的話,我想xxxxxxxxxxxx!

netman 注:
上面某些文字被我打馬賽客了.

27
上述問題我自己解決了,好多謝日京三子\Darkhero\twu2,多位大大的幫助!

不過我還想問一個別的問題就是:

比例:

A主機(安裝openldap) + B主機(安裝samba)

請問,要如何配置?????

28
是的,我以后會多注意自己語言用詞的方面,請大家多原諒啦!

同時也好多謝Darkhero大大的正確指導和教育!

同時請問各位,大大關於我揭出來的以下問題,不知道大家有遇到過嗎?

還有我現在已經將openldap和samba都配置好啦!,已建立用戶和主機名,但客戶機加入域時,出現錯誤,請問題大家有遇到過這種情况嗎!

29
引述: "日京三子"
機器名稱,請加上machine$。至於其他的部份,請參照samba相關文件。


我在建立winxp主機時以加上了$,但是也不行啊!

30
收到了,多謝!

還有我現在已經將openldap和samba都配置好啦!,已建立用戶和主機名,但客戶機加入域時,出現錯誤,請問題大家有沒有遇到過這種情况啦!

我試用以下的兩種方式加入到域時,都出現以下的錯誤信息:






頁: [1] 2 3