Re: How to mount a windows folder programmatically?
Re: How to mount a windows folder programmatically?
- Subject: Re: How to mount a windows folder programmatically?
- From: Wen Xia <email@hidden>
- Date: Thu, 17 Jun 2004 15:35:28 -0700
Hi Art,
I compared the smb.conf on both servers, and they look so different, I
really have no clue what need to be changed. Hope you can advise me on
that.
Here is the global setting of smb.conf file on the xserve with Panther:
[global]
workgroup = DOF
display charset = UTF-8-MAC
print command = /usr/sbin/PrintServiceAccess printps %p %s
lprm command = /usr/sbin/PrintServiceAccess remove %p %j
security = user
guest account = unknown
encrypt passwords = yes
printing = BSD
allow trusted domains = no
preferred master = no
lppause command = /usr/sbin/PrintServiceAccess hold %p %j
netbios name = xserve2
wins support = yes
max smbd processes = 0
printcap =
server string = Mac OS X
lpresume command = /usr/sbin/PrintServiceAccess release %p %j
client ntlmv2 auth = no
domain logons = no
lpq command = /usr/sbin/PrintServiceAccess jobs %p
passdb backend = opendirectorysam guest
dos charset = CP437
unix charset = UTF-8-MAC
auth methods = guest opendirectory
local master = yes
use spnego = no
map to guest = Never
domain master = no
printer admin = @admin, @staff
log level = 0
Here is the global setting of smb.conf on xserve with Jaguar:
[global]
local master = NO
guest account = unknown
max smbd processes = 0
encrypt passwords = YES
print command = /usr/sbin/PrintServiceAccess printps %p %s
lpq command = /usr/sbin/PrintServiceAccess jobs %p
lprm command = /usr/sbin/PrintServiceAccess remove %p %j
lppause command = /usr/sbin/PrintServiceAccess hold %p %j
lpresume command = /usr/sbin/PrintServiceAccess release %p %j
printer admin = unknown, @staff
server string = Mac OS X Server
client code page = 437
coding system = utf8
log file = /Library/Logs/WindowsServices/WindowsFileService.log
netbios name = XServe1
workgroup = DOF
wins support = NO
wins server = 134.186.74.245
domain master = NO
Thank you for your help.
Wen
On Jun 17, 2004, at 11:05 AM, Art Isbell wrote:
On Jun 17, 2004, at 6:08 AM, Xia, Wen wrote:
After the admin finishes his job, there is a directory under /Volumes
on
xserve1 as follows:
drwxr-xr-x 1 kd6cji wheel 16384 Jun 7 08:22 123.456.789.000
And in the application, I use
"/Volumes/123.456.789.000/remoteDirName" to
access the remote folder.
But after we bought a new xserve with Panther, the application stopped
working. After mounting the remote folder the same way, somehow the
directory under /Volumes looks like:
drwx------ 1 kd6cji admin 16384 7 Jun 08:22 123.456.789.000
It's been a long time since I struggled with Samba, but a Samba
configuration change in Panther might explain this (possibly a more
secure default configuration?). Have you compared the Samba
configuration files on both systems? OS X Server likely has a GUI
that manages Samba configuration, so maybe one needn't actually look
at configuration files themselves.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.