[Samba] Samba errors Mac OS X server

2012-03-15 Thread Tony Baker
Hi !

I have some windows users connected to a Apple Xserve running Mac OS X server 
10.4.11

Some users have started complaining that it is taken a considerable time when 
saving data back to the shared SMB drive

In my /var/log/samba/log/smbd

it is full of the following errors

[2012/03/15 14:40:18, 0] darwin_acls.c:map_ntacl_to_darwinacl(1256)
  map_ntacl_to_darwinacl: [acl_create_entry] errno(12) - (Cannot allocate 
memory)


Is this contributing to my problem?
Even if it isn't what can I do to stop this filling up the log.

What could possibly be causing slow writes back to the shared drive
Apart from the above error message - the server doesn't appear to showing any 
other errors

Tony Baker
OneStep Solutions LLP
Suite 89 Hadleigh Business Centre
351 London Road
Hadleigh
Essex
SS7 2BT

T-01702 426400
F-01702 556855
t...@onestep.co.uk

This email, including any attachments, is confidential and intended solely for 
the person or organisation to whom it is addressed. If you are not the intended 
recipient you must not disseminate, distribute or copy any part of this email 
nor take any action in reliance on it.

If you have received this in error please notify the sender immediately by 
email or phone +44 (0)1702 426400 and delete this email and any attachments 
from your system.

Email transmission cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message which arise as a 
result of email transmission. If verification is required please request a 
hard-copy version.

OneStep Solutions LLP is registered in England and Wales under registration 
number OC337173 and has its registered office at 44 The Pantiles, Tunbridge 
Wells, Kent, TN2 5TN
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba errors Mac OS X server

2012-03-15 Thread Jeremy Allison
On Thu, Mar 15, 2012 at 04:42:43PM +, Tony Baker wrote:
 Hi !
 
 I have some windows users connected to a Apple Xserve running Mac OS X server 
 10.4.11
 
 Some users have started complaining that it is taken a considerable time when 
 saving data back to the shared SMB drive
 
 In my /var/log/samba/log/smbd
 
 it is full of the following errors
 
 [2012/03/15 14:40:18, 0] darwin_acls.c:map_ntacl_to_darwinacl(1256)
   map_ntacl_to_darwinacl: [acl_create_entry] errno(12) - (Cannot allocate 
 memory)

This isn't part of any code released by Samba, sorry.

Is this the Apple specific Samba code ?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba for Mac OS X

2011-09-20 Thread Hoover, Tony
Samba is not a protocol.  SMB is the protocol, and the protocol is owned
by Microsoft.  Samba is an open source package that implements a SMB server.

It doesn't matter what kernel, or OS you are using, you can build Samba from
the source code to run on your platform.  As for the front-end... have you
ever thought of learning about text config files?  (seriously, there are
some other front-ends such as SWAT and webmin.  They, however, don't
integrate with Aqua, but they should be usable)
Of course, those steps are only necessary if you want to share resources
from your Mac with the rest of your network.  I don't believe the existing
CIFS (SMB client in the kernel) client has gone away in OSX 10.7. 


--
Tony Hoover, Network Administrator
KSU - Salina, College of Technology and Aviation
(785) 826-2660

Don't Blend in...
--
 
-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Daniel Sutton
Sent: Monday, September 19, 2011 8:03 PM
To: samba@lists.samba.org
Subject: [Samba] Samba for Mac OS X

Dear Samba Community,

Because Apple has transitioned away from the open-source SAMBA protocol for
their new 10.7 release of Mac OS X, I was wondering if there is a
third-party solution to fill this void.  Because OS X is based on Darwin,
and Darwin is an open-source free version of UNIX, I thought there might
be a solution with an Aqua front-end that would make it easier for Mac
machines to connect to Windows networks.  If you are able to answer my
question, I would be very happy!

Thank you so much, and have a great week,

--Daniel

---
Daniel Sutton
danielsut...@gmail.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba for Mac OS X

2011-09-20 Thread Denis Witt

On 20.09.2011 15:39, Hoover, Tony wrote:


Of course, those steps are only necessary if you want to share resources
from your Mac with the rest of your network.  I don't believe the existing
CIFS (SMB client in the kernel) client has gone away in OSX 10.7.


OSX 10.7 still has an SMB/CIFS client, although the current beta 
(10.7.2) isn't able to connect to a Samba-Share due to authentication 
problems, but I don't know if this will affect the final version.


To have a SMB/CIFS-Share shown up in Finder you'll have to announce the 
Service via Bonjour using port 445.


Samba3 itself is available as MacPorts Portfile:
http://www.macports.org/ports.php?by=librarysubstr=samba3

Of course you will not have a posh GUI, and you don't need Samba to 
connect to an SMB/CIFS-Share.


Bye for now.


-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Daniel Sutton
Sent: Monday, September 19, 2011 8:03 PM
To: samba@lists.samba.org
Subject: [Samba] Samba for Mac OS X

Dear Samba Community,

Because Apple has transitioned away from the open-source SAMBA protocol for
their new 10.7 release of Mac OS X, I was wondering if there is a
third-party solution to fill this void.  Because OS X is based on Darwin,
and Darwin is an open-source free version of UNIX, I thought there might
be a solution with an Aqua front-end that would make it easier for Mac
machines to connect to Windows networks.  If you are able to answer my
question, I would be very happy!

Thank you so much, and have a great week,

--Daniel

---
Daniel Sutton
danielsut...@gmail.com

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba for Mac OS X

2011-09-19 Thread Daniel Sutton
Dear Samba Community,

Because Apple has transitioned away from the open-source SAMBA protocol for
their new 10.7 release of Mac OS X, I was wondering if there is a
third-party solution to fill this void.  Because OS X is based on Darwin,
and Darwin is an open-source free version of UNIX, I thought there might
be a solution with an Aqua front-end that would make it easier for Mac
machines to connect to Windows networks.  If you are able to answer my
question, I would be very happy!

Thank you so much, and have a great week,

--Daniel

---
Daniel Sutton
danielsut...@gmail.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba log - mac osx - console output - hacking evidence?

2011-09-18 Thread Michael H. Warfield
On Sun, 2011-09-18 at 16:52 -0400, Jennifer Buxton wrote: 
 Dear Samba Support,

1) This is not a support E-Mail address.  This E-Mail address is for
reporting security vulnerabilities in the Samba software.  It is not for
support.

2) For support issues, you may wish to take your question to the
sa...@samba.org list, where I have redirected this reply.

3) At first glace, looking at the logs you provided, I see no evidence
at all that you have been hacked or have even been connected to at
all.

The logs do show that the same server is running and those logs show the
normal startup and shutdown of the nmbd name server and the smbd session
servers to provide sharing service.

Your configuration file does show you offering a share in a Public
folder in your home directory and a Public share under mdsp.  The both
indicate that guest is allowed to connect, which is probably not the
most secure configuration.  But I'm guessing that's Apples default setup
for users that are added to a system plus a system wide public share.  I
don't know.  I don't use Macs.  But nothing looks malicious in there at
all.

 I have a simple question regarding your product. My macbook pro
 console log for samba while running mac osx snow leopard shows data
 that appears to indicate that my computer has been connected via this
 software to share files. I have never used any file sharing software
 nor did I know what samba was prior to discovering these logs though I
 have other reasons to believe that I may have been hacked. I have
 contacted Apple support and they did not have any information for me
 not knowing about samba at all.

 Can you please take a quick look at the data pasted below and confirm
 if this indicates without a doubt that my computer had been connected
 via the samba file sharing software? Does the presence of this data in
 my console log indicate that samba is the only reason for it to appear
 or could this data have been created by software other than samba? If
 I had never heard of samba much less ever used it or any other file
 sharing then how did this data get in my log files? Is there any data
 within the logs or in any other related folder or file which would
 provide information about the identity of the computer which was
 connected such as a username, a password or an IP address? I have a
 copy of the entire hard drive in case there are other files that I may
 need to examine in order to get to the bottom of this.

The fact that IP addresses and user names are NOT showing up in that log
is telling you nobody has connected.

 I have pasted data below taken from logs and also from a file called
 smb.shares also found on my hard drive.
 
 Thank you in advance for your time in responding to these very
 important questions.
 
 Jennifer Dever Buxton
 
 443-988-3248
 
 ---
 1. The data below is the output from a terminal command
 ---
 
 Jennifer-Devers-MacBook-Pro:~ MACBOOKPRO$ net lookup users
 [2011/06/21 01:13:18, 0, pid=213] 
 /SourceCache/samba/samba-235.5/samba/source/utils/net_lookup.c:net_lookup_host(57)
   Didn't find users#20
 
 
 ---
 2. the data below all came from console logs
 ---
 
 log.nmbd:
 
   Description:Windows file sharing nmbd log
   Size:   13 KB
   Last Modified:  6/8/11 5:50 PM
   Location:   /var/log/samba/log.nmbd
   Recent Contents:...
 [2011/06/04 06:58:08, 0] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd.c:main(709)
   Netbios nameserver version 3.0.28a-apple started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2011/06/04 06:58:08, 0, pid=93] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_subnetdb.c:create_subnets(190)
   create_subnets: No local interfaces !
 [2011/06/04 06:58:08, 0, pid=93] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_subnetdb.c:create_subnets(191)
   create_subnets: Waiting for an interface to appear ...
 [2011/06/04 07:04:07, 0, pid=93] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
   *

Normal startup messages from nmbd.

 Samba name server MACBOOKPRO-00E5 is now a local master browser for workgroup 
 WORKGROUP on subnet 192.168.1.9

Same. 
  
 *
 [2011/06/04 07:06:37, 0, pid=93] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd.c:reload_interfaces(233)
   reload_interfaces: No subnets to listen to. Waiting..
 [2011/06/06 10:11:33, 0] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd.c:main(709)
   Netbios nameserver version 3.0.28a-apple started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2011/06/06 10:11:33, 0, pid=189] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_subnetdb.c:create_subnets(190)
   create_subnets: No local interfaces !
 [2011/06/06 10:11:33, 0, pid=189] 
 /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbd_subnetdb.c:create_subnets(191)
   create_subnets: Waiting for an interface to appear

[Samba] SAMBA ON MAC

2010-11-15 Thread Larry
HI

 

Does anyone have any guide for the samba on mac os x?

 

 

I found a lot of things missed on mac

 

Thanks

 

Larry

 

 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] SAMBA ON MAC

2010-11-15 Thread Grant


On Nov 15, 2010, at 12:28 PM, Larry lar...@artonagroup.com wrote:

 HI
 
 Does anyone have any guide for the samba on mac os x?
 
 I found a lot of things missed on mac
 
 Thanks
 
 Larry

On my Mac it just works as installed with the OS, no guide needed. Point and 
click.
 What is missing on yours?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba 3.0.28a mac osx 10.5.4

2008-08-19 Thread Brian Gregorcy

Hi all,

We are having an issue when a user writes to there home directory the 
permissions change to 0600, instead of 0751 that
we have been setting in smb.conf

Here is a description of the problem:


reinstalled mac osx we have:

1) OS 10.5.0 

I mounted SAMBA SERVER with Prof Sutherlands account 

created the folder in 1703 -- test_reinstall 


then copied a file to the new folder: About_Stacks.pdf

The permissions on the server for the folder are:

1703 # pwd
/home/DOMAIN/00033394/public_html/1703
humboldt 1703 # ls -la
total 116
drwxr-s--x 10 00033394 apache  4096 Aug 15 15:18 .
drwxr-s--x 18 00033394 apache  4096 Aug 14 15:04 ..
-rwxr-s--x  1 00033394 apache  6148 Aug 14 14:55 .DS_Store
-rwxr-s--x  1 00033394 apache 11152 Aug 14 13:49 CHEN_1703.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 CHEN_1703_files
-rwxr-s--x  1 00033394 apache  8868 Aug 14 13:49 Homework.html
drwxr-s--x  2 00033394 apache   155 Aug 14 13:49 Homework_files
-rwxr-s--x  1 00033394 apache 10300 Aug 14 13:49 Lectures.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Lectures_files
drwxr-s--x  2 00033394 apache28 Aug 14 13:49 Media
-rwxr-s--x  1 00033394 apache  6326 Aug 14 13:49 Schedule.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Schedule_files
drwxr-s--x  3 00033394 apache57 Aug 14 13:49 Scripts
-rwxr-s--x  1 00033394 apache 28894 Aug 14 13:49 Syllabus.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Syllabus_files
-rwxr-s--x  1 00033394 apache  1963 Aug 14 13:49 feed.xml
-rwxr-s--x  1 00033394 apache   311 Aug 14 13:49 index.html
drwxr-s--x  2 00033394 apache29 Aug 15 15:18 test_reinstall


test_reinstall # ls -la
total 304
drwxr-s--x  2 00033394 apache 29 Aug 15 15:19 .
drwxr-s--x 10 00033394 apache   4096 Aug 15 15:18 ..
-rwxr-  1 00033394 apache 303444 Aug 15 15:01 About_Stacks.pdf

This works I can view the page:
http://www.che.utah.edu/~sutherland/1703/test_reinstall/

I am going to update the mac and see what happens




updated to 10.5.4

created the folder: 
test_reinstall_10.5.4 and the copied the file About_Stacks.pdf to it.


perms look like this:
1703 # ls -la
total 116
drwxr-s--x 11 00033394 apache  4096 Aug 15 15:33 .
drwxr-s--x 18 00033394 apache  4096 Aug 14 15:04 ..
-rwxr-x--x  1 00033394 apache  6148 Aug 15 15:22 .DS_Store
-rwxr-s--x  1 00033394 apache 11152 Aug 14 13:49 CHEN_1703.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 CHEN_1703_files
-rwxr-s--x  1 00033394 apache  8868 Aug 14 13:49 Homework.html
drwxr-s--x  2 00033394 apache   155 Aug 14 13:49 Homework_files
-rwxr-s--x  1 00033394 apache 10300 Aug 14 13:49 Lectures.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Lectures_files
drwxr-s--x  2 00033394 apache28 Aug 14 13:49 Media
-rwxr-s--x  1 00033394 apache  6326 Aug 14 13:49 Schedule.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Schedule_files
drwxr-s--x  3 00033394 apache57 Aug 14 13:49 Scripts
-rwxr-s--x  1 00033394 apache 28894 Aug 14 13:49 Syllabus.html
drwxr-s--x  2 00033394 apache  4096 Aug 14 13:49 Syllabus_files
-rwxr-s--x  1 00033394 apache  1963 Aug 14 13:49 feed.xml
-rwxr-s--x  1 00033394 apache   311 Aug 14 13:49 index.html
drwxr-s--x  2 00033394 apache29 Aug 15 15:19 test_reinstall
drwxr-xr-x  2 00033394 apache29 Aug 15 15:33 test_reinstall_10.5.4


*Note that the sticky bit is gone and has been replaced the execute bit 
The perms on the file:

test_reinstall_10.5.4 # pwd
/home/DOMAIN/00033394/public_html/1703/test_reinstall_10.5.4
humboldt test_reinstall_10.5.4 # ls -la
total 304
drwxr-xr-x  2 00033394 apache   29 Aug 15 15:33 .
drwxr-s--x 11 00033394 apache 4096 Aug 15 15:33 ..
-rw---  1 00033394 domain users 303444 Aug 15 15:01 About_Stacks.pdf

apache is not the group and the perms are 0700, this page will not work.  The
issue is that the mac is dropping the sticky bit and since the sticky bit is
gone the files are being created with the wrong perms.  



Here is my smb.conf


[global]
workgroup   = DOMAIN
netbios name= SERVER
realm   = REALM
server string   = CHE  file server
security= ADS
preferred master= no
client use spnego   = yes
server signing  = auto
encrypt passwords   = yes
nt acl support  = yes
acl map full control= yes
socket options  = TCP_NODELAY SO_RCVBUF=8192 
SO_SNDBUF=8192
template shell  = /bin/false
password server = DNS1 DNS2 *
log level   = 3
log file= /var/log/samba/%m
max log size= 100
preferred master= No
dns proxy   = No
wins server = WINS1 WINS2


[Samba] samba and mac

2008-04-11 Thread Matteo Filippetto

Hi everybody,

I testing a samba 3.0.24 server on debian 4.0r1 in a network
with mac, linux and windows client that have to access the samba share.

Now all is working good but a client with mac os x 10.3.9 still has some 
problems:

I can connect to the samba shares and I can create, modify and delete files.
Also I can copy files between mac and samba using the terminal and the 
CP command.

The only thing I can't do is drag and drop file in the samba share.

Has anyone some ideas about this matter?

Thanks a lot,

Matteo


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Offerta SKY a 15 € al mese: vedi tutto quello che vuoi tra Mondo, Cinema, Sport 
e Calcio.
* Solo con SKY puoi avere così tanto per così poco!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7778d=11-4
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.23d + Mac OS X

2007-01-02 Thread Marek Dabrowski

Hi

I have problem with Mac OS X - when users trying save data from Mac's 
desktop or application (e.g. Quark) to share from Samba appear error 
The Finder cannot complete the operation because some data in 
file_name could not be read or write (Error code -36). When I copy 
data on Mac to Samba share from terminal everythink is OK. I found that 
resolution of this problem is disable locking os samba share. And after 
I set:

oplocks = no
locking = no
error disapper. This setting may damage data. Mabey You have other solution?

Regards
Marek
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] samba and mac clients

2006-03-17 Thread andrew . x . smith
Hi John,

  I know from experience that OS X and Samba work just fine together, I 
even had Kerberos auth to AD working (works pretty much by default 
actually). Two suggestions, have u tried connecting from the GUI rather 
than command line (maybe something in the command syntax u are trying isnt 
right)? And also have u tried using the full command line syntax including 
//[workgroup;[EMAIL PROTECTED] server[/share] path ??

cheers Andy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba and mac clients

2006-03-16 Thread John Stile
On my network, when a mac client tries to access a windows share, they
are presented with a dialog box, prompting them for the share to connect
and then the authentication credentials.
 
However, when a mac client tires to connect to a samba share, it
immediately receive a dialog box with the error: Could not connect to
the sever because the name or password is not correct..  

Does anyone know which smb.conf settings effect this behavior?

On the samba logs, I don't see any messages, so the mac is not even
trying to authenticate. From server: Mac_client=192.168.60.208; tcpdump
-i eth0 -n host $Mac_client
  13:35:25.844578 IP 192.168.60.208.49803  192.168.60.48.137: NBT UDP 
PACKET(137): QUERY; REQUEST; UNICAST
  13:35:25.844761 IP 192.168.60.48.137  192.168.60.208.49803: NBT UDP 
PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST
  13:35:25.845579 IP 192.168.60.208.49677  192.168.60.48.139: S 
4284939447:4284939447(0) win 65535 mss 1460,nop,wscale 0,nop,nop,timestamp 
2653034266 0
  13:35:25.846105 IP 192.168.60.208.49678  192.168.60.48.139: S 
3344627758:3344627758(0) win 65535 mss 1460,nop,wscale 0,nop,nop,timestamp 
2653034266 0

Command issued from the mac: mount_smbfs -Ujohns //smbdev1/htdocs tmp

Samba Server: samba version:3.0.14a-3, Distribution debian 3.1, Linux 
kernel:2.6.8-2-386

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba and mac clients

2006-03-16 Thread John Stile
Thank you Stewart,

Going back to basics, I checked what ports smbd listens:
netstat -lnp |grep smb
tcp   0   0 0.0.0.0:445  0.0.0.0:*  LISTEN  8330/smbd

My smb.conf had an 'smb ports' option with a note:
#Added ports option to clear the error: 'getpeername failed. Error was 
Transport endpoint is not connected'
smb ports = 445

I commenting out the line, restarting samba, and now smbd is listening
on tcp 139 and 445 and mac clients can connect just fine.  
netstat -lnp |grep smb
tcp   0   0 0.0.0.0:139  0.0.0.0:*  LISTEN  8330/smbd
tcp   0   0 0.0.0.0:445  0.0.0.0:*  LISTEN  8330/smbd

Thank you for your help.
Looks like a mac client requires tcp139.

On Fri, 2006-03-17 at 14:08 +1100, Stewart wrote:
 Hi John..
 
 have you checked that the Windows Workgroup or Domain is correctly  
 configured in /Applications/Utilities/Directory Access.app? I had  
 this problem once ages ago and /think/ that was the fix though my  
 memory is fuzzy. :)
 
 (The name of the Directory Services app might have changed too - i'm  
 on 10.4 now and can't remember if it was different under 10.3)
 
 ..S.
 
 On 17/03/2006, at 2:24 PM, John Stile wrote:
 
  On my network, when a mac client tries to access a windows share, they
  are presented with a dialog box, prompting them for the share to  
  connect
  and then the authentication credentials.
 
  However, when a mac client tires to connect to a samba share, it
  immediately receive a dialog box with the error: Could not connect to
  the sever because the name or password is not correct..
 
  Does anyone know which smb.conf settings effect this behavior?
 
  On the samba logs, I don't see any messages, so the mac is not even
  trying to authenticate. From server: Mac_client=192.168.60.208;  
  tcpdump
  -i eth0 -n host $Mac_client
13:35:25.844578 IP 192.168.60.208.49803  192.168.60.48.137: NBT  
  UDP PACKET(137): QUERY; REQUEST; UNICAST
13:35:25.844761 IP 192.168.60.48.137  192.168.60.208.49803: NBT  
  UDP PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST
13:35:25.845579 IP 192.168.60.208.49677  192.168.60.48.139: S  
  4284939447:4284939447(0) win 65535 mss 1460,nop,wscale  
  0,nop,nop,timestamp 2653034266 0
13:35:25.846105 IP 192.168.60.208.49678  192.168.60.48.139: S  
  3344627758:3344627758(0) win 65535 mss 1460,nop,wscale  
  0,nop,nop,timestamp 2653034266 0
 
  Command issued from the mac: mount_smbfs -Ujohns //smbdev1/htdocs tmp
 
  Samba Server: samba version:3.0.14a-3, Distribution debian 3.1,  
  Linux kernel:2.6.8-2-386
 
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba on Mac OS X Server and opendirectorypdbconfig

2005-12-14 Thread Anthony Palermo
Hi there,

I am struggling to find more info on the opendirectorypdbconfig tool for
Open Directory and Samba integration in Mac OS X Server 10.4. Thought here
I may get pointed to the right direction.

Thanks

-- 
Anthony Palermo
IT Consultant @
www.aderium.com

305.303.3204

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba with Mac files?

2004-08-18 Thread Michael Gasch
hi
we've had nearly the same setup and also run into problems
what we did is, we copied the files with a MAC in between (between nt 
server and samba)
we made a netatalk share, copied the files via afp (or smb from mac, if 
you're not workgin with afp on MAC) and then shared this share also in samba

give it a try
greez
Ashley M. Kirchner schrieb:
   I have a Win2K Server that acts as a file server to a bunch of 
Macintosh machines on the network.  Today I installed samba-3.0.5 on a 
Fedora1 machine, and mounted one of the server shares and tried to read 
it.  Much to my surprise, I found files that are being listed like this:

-rwxr-xr-x  1 root root  0 May 13 16:30 Icon?*
-rwxr-xr-x  1 root root  25649 Aug 23  2000 webslide151.gif*
-rwxr-xr-x  1 root root  57619 Mar 26 08:22 ???webslide1581.JPG*
-rwxr-xr-x  1 root root  26132 Mar 26 08:22 webslide1631.JPG*
-rwxr-xr-x  1 root root  67711 Aug 18  1999 webslide176.gif*
-rwxr-xr-x  1 root root  70559 Mar 26 08:22 webslide1771.JPG*
-rwxr-xr-x  1 root root  80792 Mar 26 08:23 ???webslide1851.JPG*
   When looking at the files on the Win2K serer, they're fine - they can 
be opened with no problems or anything.  There are no extra characters 
on those file names, and yet samba displays them with ??? in the front.  
The Icon? is the folder icon resource that any Mac machine creates in 
any folder they dive in to.

   If I try to run a 'du' on the mount, I get errors like this:
$ du -h --max-depth=1
31G ./ INKJET
132M./Font Library
du: cannot access `./ICON?': No such file or directory
680M./Jon S Folder
8.0K./Network Trash Folder
8.0K./RECYCLER
   If I run rsync on the mount (which is ultimately what's going to 
happen,) the first run gives me errors on the three weird files 
(Icon?, and the two that start with ???) and a second run will copy them 
over, as if nothing happened.

   Anyone have any idea what's going on here?  Is it the Mac resource 
forks that are screwing with me here?  Anything I can do to fix this?

--
 Matrix - more than a vision
**
 Michael Gasch
   - Central IT Department -
Max Planck Institute for Evolutionary Anthropology
Deutscher Platz 6
04103 Leipzig
Germany
**
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba with Mac files (continued)

2004-08-04 Thread Ashley M. Kirchner
   Here are some more messages that pop in the server logs when I try 
to read folders on a Win2K file server - the folders/files were saved 
from a Macintosh on the network:

smb_proc_readdir_long: name=\Font Library\B\Bernhard BoldCond. et al?\*, 
result=-2, rcls=1, err=123
smb_proc_readdir_long: name=\Font Library\K\Kino, et al?\*, result=-2, 
rcls=1, err=123
smb_proc_readdir_long: name=\Font Library\K\Kunstler Schreibschrift?\*, 
result=-2, rcls=1, err=123
smb_proc_readdir_long: name=\Font Library\N\Nashville Lt?ExBd\*, 
result=-2, rcls=1, err=123
smb_proc_readdir_long: name=\Font Library\R\Rotis Semi?Serif\*, 
result=-2, rcls=1, err=123
smb_proc_readdir_long: name=\Font Library\R\Ruling Script et al?\*, 
result=-2, rcls=1, err=123

   Is this something I should forward onto to the dev-list, see if they 
can hash it out?

--
W | I haven't lost my mind; it's backed up on tape somewhere.
 +
 Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith . 800.441.3873 x130
 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
 http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba with Mac files?

2004-08-03 Thread Ashley M. Kirchner
   I have a Win2K Server that acts as a file server to a bunch of 
Macintosh machines on the network.  Today I installed samba-3.0.5 on a 
Fedora1 machine, and mounted one of the server shares and tried to read 
it.  Much to my surprise, I found files that are being listed like this:

-rwxr-xr-x  1 root root  0 May 13 16:30 Icon?*
-rwxr-xr-x  1 root root  25649 Aug 23  2000 webslide151.gif*
-rwxr-xr-x  1 root root  57619 Mar 26 08:22 ???webslide1581.JPG*
-rwxr-xr-x  1 root root  26132 Mar 26 08:22 webslide1631.JPG*
-rwxr-xr-x  1 root root  67711 Aug 18  1999 webslide176.gif*
-rwxr-xr-x  1 root root  70559 Mar 26 08:22 webslide1771.JPG*
-rwxr-xr-x  1 root root  80792 Mar 26 08:23 ???webslide1851.JPG*
   When looking at the files on the Win2K serer, they're fine - they 
can be opened with no problems or anything.  There are no extra 
characters on those file names, and yet samba displays them with ??? in 
the front.  The Icon? is the folder icon resource that any Mac machine 
creates in any folder they dive in to.

   If I try to run a 'du' on the mount, I get errors like this:
$ du -h --max-depth=1
31G ./ INKJET
132M./Font Library
du: cannot access `./ICON?': No such file or directory
680M./Jon S Folder
8.0K./Network Trash Folder
8.0K./RECYCLER
   If I run rsync on the mount (which is ultimately what's going to 
happen,) the first run gives me errors on the three weird files 
(Icon?, and the two that start with ???) and a second run will copy them 
over, as if nothing happened.

   Anyone have any idea what's going on here?  Is it the Mac resource 
forks that are screwing with me here?  Anything I can do to fix this?

--
M | I haven't lost my mind; it's backed up on tape somewhere.
 +
 Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith . 800.441.3873 x130
 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
 http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba amiga-mac

2004-07-07 Thread Keith Bowler
Hi
I have an ethernet link between these two machines.
I can share an internet connection with the mac as the host.
I can ping the amiga from Mac with 100% packets returned.
I can see a link to Amiga in the network window in the launcher on the 
Mac.

However when I try to 'connect to server' from the Mac, Genesis on the 
Amiga
refuses all connections on port 139. Same thing happens when I try and 
launch
the swat interface via the browser on  the Amiga:  access to port 901 
denied.

I have tried editing the samba.config file by hand to set up shares on 
the amiga.
I have endlessly changed settings both for samba and genesis with no 
obvious effect.

If any one has any suggestions it would be greatly appreciated.

Keith Bowler
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba on Mac doesn't see include shares

2004-06-13 Thread AndyLiebman
I'm having an annoying problem. 

On my Linux Server (with Samba 3.0.3) I am using the samba option of   
'include = /etc/samba/smb.%U.conf'
so that users mostly only see shares that specifically belong to them. 

This approach works perfectly on Windows XP workstations. After a user logs 
onto the Linux server -- by simply clicking on a share that's accessible to all 
users -- the user then can see the shares that are only supposed to be 
visible to him or her. 

But under Mac OS X 10.3.3, I'm not having any success with this strategy. 
Users can see the shares that are accessible to everyone. However, even after 
logging into the server and viewing one of those shares, the Mac users can never 
see the shares that specifically belong to THEM. 

Does the include option not work in Macs? 

In my samba logs, I can see that the Mac users are logging in. But they can 
never see their own shares listed in the dropdown box of available shares. And 
even if the Mac users try to log in manually to those shares after connecting 
to a generally-available share (e.g., by going to the Connect dialog box and 
typing smb://username:[EMAIL PROTECTED]/samba_share_name
the private shares can't be accessed. 

Is there a way around this problem? 

I have no issues on the Mac when I try to access shares that are accessible 
to all users in a particular group, for instance. Only when I try to access 
individual shares that use this include option. 

Hope somebody knows the answer. It's very important to me that private 
shares not be visible by users other than those to whom they belong. 

Andy Liebman
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Mac OSX 10.3

2004-01-14 Thread Anthony Hess
If you mean login as in authenticate the whole machine off of a Samba
server, the key variable there is whether you are using LDAP or not as the
backend of said server.  If thats the case, then yes - you can feel free
to email me off list and Ill tell you what I know (not much, but Im sure I
can point you to the proper resources).  Its not a Samba thing at that
point, but rather an LDAP thing.

If you just mean mount the drive, then read on...

If you don't mind some Applescript (I don't really know it - but if my
instructions aren't clear just email me off list) I have a solution for
you.

Fire up the applescript editor and put this into it:

tell application Finder
activate
mount volume smb://username:[EMAIL PROTECTED]/share/
end tell

Where you put the appropriate information into the volume info.  Then save
it as an executable, then put it into the login items.  Not pretty, but it
works.  You can take out the username/password information if you want it
to ask for it every time the machine fires up the script.

There are probably other ways to do this, but this is something that has
worked since early versions of OS X so I haven't bothered to look around.
Under Panther I do believe you can put an smb mount share in using the
Netinfo manager, but I haven't ever done this (since said ugly workaround
gets the job done and I haven't bothered to fix it).

--
Anthony Hess
Support Systems Analyst, Sr.
CoEM Computer Services

On Wed, 14 Jan 2004, Wayne Dozier(Samba) wrote:

 Is there a way to set up a mac running panther to ask or a
 login to the samba server every time it boots?  I have
 looked everywhere and cannot find something that would
 work.  any help would be appreciated.

 Wayne
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba and MAC OSX upgrade from 2.2.3 to 2.2.8a

2003-07-01 Thread Scott Swaim
I have successfully install samba on multiple boxes running Linux.  I now have a MAC 
G$ with OSX and it came installed with Samba 2.2.3.  I was wondering what I need to do 
to get 2.2.8a installed on this machine.  I am not familiar enough with developemnt on 
Mac.  I would like some pointers/details on how to upgrade this machine 


Scott Swaim
Quality Corps, Inc.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba