i am mounting a win2k filesystem from *linux*. In /etc/fstab there is a line like this

\\mywindowsserver\NAS /NAS smbfs fmask=666,password=thepasswordhere,uid=501,dmask=777,gid=501,username=theusernamehere 0 0

smb.conf has in the global section
[global]
        log file = /var/log/samba/%m.log
        guest account = aguestaccount
        smb passwd file = /etc/samba/smbpasswd
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        wins server = your.wins.server.here
        username map = /etc/samba/smbusers
        encrypt passwords = no
        public = yes
        allow hosts = 192.168. 127.
        dns proxy = no
        writeable = yes
        server string = hostnameofyourserverhere
        password server = windowsdomaincontrollerhere
        default = share
        workgroup = nameofworkgroupyouconnectto
        os level = 20
        preferred master = no
        max log size = 0
        pam password change = yes

Works like a charm, never failed in about 6 months uptime and heavy usage. I remember this being really unstable a year or two ago but i guess samba has matured quite a bit since. I can't imagine this not being possible on SunOS.

HTH
Jorg


[EMAIL PROTECTED] wrote:
The IT'ers in our organisation supposed that samba only works in the winnt
-> unix direction.

Is there a good document available of what exactly needs to be done to get
this thing working?

-----Original Message-----
From: Ivo Limmen [mailto:[EMAIL PROTECTED]
Sent: 24mm2004 9:18
To: [EMAIL PROTECTED]
Subject: Re: Access to files on NT-server with Cocoon running on
Unix-server


Samba?


jCIFS samba in Java. http://jcifs.samba.org/


[EMAIL PROTECTED] wrote:



Hi all,

we are searching for a way that lets our portal (working with cocoon

2.1.4)


running on a unixserver (Sun OS 5.8) have access (we only need read

access)


to files on a winnt-server.

Anyone who has some ideas on this matter??

Thanks in advance !!

Robby

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to