Re: [Samba] time sensitive error "the specified network name is no longer available."

2008-10-29 Thread Jeremy Allison
On Wed, Oct 29, 2008 at 04:51:34PM -0500, Tom Peters wrote:
> At 04:09 PM 10/29/2008 -0500, William Marshall wrote:
>> I have a user w/ puzzling error. We have not been able to get a tcpdump or
>> significant samba log, but I'm posting to see if anyone else has seen
>> this. I did find some older posts that point to possible
>> client issues.
>>
>> We're running samba 3.0.25b on RHEL4.
>>
>> The user reports:
>> I am getting an error whenever I want to make a copy of a MS Excel file on
>> my shared network drive:
>>
>> (From windows explorer) I was trying to create a copy, and when I do the
>> paste I get the error.
>> Cannot copy _filename_: The specified network name is no longer
>> available."
>>
>> And then the file that is created is corrupt. The original file is about
>> 240K.
>>
>> Now for the timing part. If she executes the copy command, and waits
>> (count 1,2,3,4 seconds) then it seems like it works.
>
> Seems to be a common problem that no one has been able to address yet. 

No, it's a problem on a release dated June 26, 2007. We've done quite
a few fixes since them, maybe you'd like to try some of them :-).
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Web Front-end

2008-10-29 Thread Bill Baird
I'm looking for a web based application that I can run to allow end-users to 
browse the samba server, and only see the files to which they have permission. 
Upload capabilities would be nice, but I can live with read-only downloads. 

So far, the only decent solution I have found is Davenport 
(http://davenport.sourceforge.net/). But there have to be other 
optionsright?

Is there a samba equivalent to FileDrawers (http://www.filedrawers.org/) for 
AFS? 

Any advice would be greatly appreciated, thanks!

--Bill

Bill Baird
Director of Technology
845-943-4222
www.phoenixmi.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] time sensitive error "the specified network name is no longer available."

2008-10-29 Thread Tom Peters

At 04:09 PM 10/29/2008 -0500, William Marshall wrote:

I have a user w/ puzzling error. We have not been able to get a tcpdump or
significant samba log, but I'm posting to see if anyone else has seen
this. I did find some older posts that point to possible
client issues.

We're running samba 3.0.25b on RHEL4.

The user reports:
I am getting an error whenever I want to make a copy of a MS Excel file on
my shared network drive:

(From windows explorer) I was trying to create a copy, and when I do the
paste I get the error.
Cannot copy _filename_: The specified network name is no longer
available."

And then the file that is created is corrupt. The original file is about
240K.

Now for the timing part. If she executes the copy command, and waits
(count 1,2,3,4 seconds) then it seems like it works.


Seems to be a common problem that no one has been able to address yet. When 
it does it to me, it creates a zero-length file. Repeating the operation at 
any time up to about 2-3 minutes delay causes winders to ask if I want to 
overwrite the file. If I say Yes, I get a good copy.


I see it mostly when copying video files to a Samba share.

One possible explanation is that WinXP tries both the low port (139 ?) and 
the high port (445 ?) at about the same time, and continues the transaction 
with which ever port answers first, leaving the other one to die. Some sort 
of collision results. I added a line to smb.conf:


smb ports = 139

This is supposed to help if you see this in the logs:
get peername failed; endpoint not connected

Using port 445 or 443 (I forget which) is supposed to be better but 
Win95/98/ME clients don't support that, and I don't know if Win2k does, but 
I suspect it does.


The bad news: I still get the "Network name not available" error from time 
to time. But it's better.


I just make very sure not to do any file moves, I copy and delete. 
Sometimes I have to perform a copy or save a second time and overwrite the 
zero-length file. But that gets me where I'm going.





-
535. [Love] What woman says to fond lover should be written on air or the 
swift

water. --Catullus (B.C. 84?-54?) Carmina. LXX 3.
--... ...--  -.. .  -. . --.- --.- -...
[EMAIL PROTECTED]   (remove "nospam") N9QQB (amateur radio)
"HEY YOU" (loud shouting)WEB: http://www.mixweb.com/tpeters
43° 7' 17.2" N by 88° 6' 28.9" W,  Elevation 815',  Grid Square EN53wc
WAN/LAN/Telcom Analyst, Tech Writer, MCP, CCNA, Registered Linux User 385531

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


[Samba] PDC Shows two workgroup names

2008-10-29 Thread Robert Steinmetz
My PDC (Ubuntu 8.04, samba 3.0.28a) shows up in the browse list as two 
workgroups


THELMA (the netbios name for the machine)
Workgroup THELMA is empty

and

ATLANTA (the domain name)
THELMA is listed inside workgroup ATLANTA

running

nmblookup -A 127.0.0.1

yields

   THELMA  <00> - H 
   THELMA  <03> - H 
   THELMA  <20> - H 
   ..__MSBROWSE__. <01> -  H 
   ATLANTA <1d> - H 
   ATLANTA <1b> - H 
   ATLANTA <1c> -  H 
   ATLANTA <1e> -  H 
   ATLANTA <00> -  H 

   MAC Address = 00-00-00-00-00-00

How do I make it stop?

--
Robert Steinmetz, AIA
Principal
Steinmetz & Associates
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] time sensitive error "the specified network name is no longer available."

2008-10-29 Thread William Marshall
I have a user w/ puzzling error. We have not been able to get a tcpdump or 
significant samba log, but I'm posting to see if anyone else has seen 
this. I did find some older posts that point to possible
client issues.

We're running samba 3.0.25b on RHEL4.

The user reports:
I am getting an error whenever I want to make a copy of a MS Excel file on 
my shared network drive: 

(From windows explorer) I was trying to create a copy, and when I do the 
paste I get the error.
Cannot copy _filename_: The specified network name is no longer 
available."

And then the file that is created is corrupt. The original file is about 
240K.

Now for the timing part. If she executes the copy command, and waits 
(count 1,2,3,4 seconds) then it seems like it works.

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


[Samba] mounting a win 2003 share

2008-10-29 Thread Dexter Filmore
Got a w2003 machine sharing a dir.
Created an account called "root" on it.
smbclient -L lists the shares on the box, but attempting to mount (from 
Kubuntu 8.04) I get
"error 20: not a directory"

Anything I can do about it?

Dex

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--

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


Re: [Samba] Basic server role question

2008-10-29 Thread Chris Smith
On Tue, Oct 28, 2008 at 7:44 PM, Tom Peters <[EMAIL PROTECTED]> wrote:
> It's defined as a BDC

It can only be a BDC to a Samba PDC. If you don't have PDC then make
it a PDC instead. If you have a Windows PDC/AD then make it a member
server.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] ntlm_auth fails to find PDC on same computer

2008-10-29 Thread Loren M. Lang
On Wed, 2008-10-29 at 11:09 -0700, Loren M. Lang wrote:
> I am trying to get ntlm_auth working for Authentication against the
> local Samba PDC which is running on the same computer.  I am using samba
> 3.0.28a on Ubuntu 8.04.1.  smbd, nmbd, and winbindd are running and
> Windows clients have no trouble logging into the domain.  Running
> ntlm_auth --username=myusername reports No logon servers.  I ran the
> command as root and according to strace, it looks like it connected to
> the socket for winbind and the error was returned through that
> connection.  I also tried specifying a domain with the same error. The
> only thing in the log files for winbindd is "Could not receive
> trustdoms"  I am suspicious that AppArmor might be misconfigured, but I
> can't find any audit events related to samba.

I now have it working, I had to do a "net join" it appears.  I thought
that because this computer is the PDC that it is naturally a part of the
domain, but perhaps I am mistaken.

> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
Loren M. Lang
[EMAIL PROTECTED]
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B


smime.p7s
Description: S/MIME cryptographic signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] ntlm_auth fails to find PDC on same computer

2008-10-29 Thread Loren M. Lang
I am trying to get ntlm_auth working for Authentication against the
local Samba PDC which is running on the same computer.  I am using samba
3.0.28a on Ubuntu 8.04.1.  smbd, nmbd, and winbindd are running and
Windows clients have no trouble logging into the domain.  Running
ntlm_auth --username=myusername reports No logon servers.  I ran the
command as root and according to strace, it looks like it connected to
the socket for winbind and the error was returned through that
connection.  I also tried specifying a domain with the same error. The
only thing in the log files for winbindd is "Could not receive
trustdoms"  I am suspicious that AppArmor might be misconfigured, but I
can't find any audit events related to samba.
-- 
Loren M. Lang
[EMAIL PROTECTED]
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B


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

Re: [Samba] Problems upgrading SAMBA

2008-10-29 Thread Jeremy Allison
On Wed, Oct 29, 2008 at 11:32:38AM -0600, Avron Gray wrote:
> I have a series of hosts (Solaris 8,9 & 10) that are successfully
> providing samba shares.
> They are all using Samba 3.0.2a, and authentication is via a Windows
> 2000 password server.

3.0.2a is extremely old I'm afraid. I'd suggest testing an upgrade
to at least 3.0.32 and see if this fixes your problem.

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


[Samba] Problems upgrading SAMBA

2008-10-29 Thread Avron Gray
I have a series of hosts (Solaris 8,9 & 10) that are successfully
providing samba shares.
They are all using Samba 3.0.2a, and authentication is via a Windows
2000 password server.

Everything breaks when the password server is patched beyond the first
Windows Service pack.

Here are the contents of smb.conf
# Global parameters
[global]
workgroup = WINTEL
security = DOMAIN
password server = windowspdc.domain.com
log level = 3
syslog = 4
log file = /var/log/samba.%m
name resolve order = host bcast
hostname lookups = Yes
ldap ssl = start tls
# use uids from 1 to 2 for domain users
idmap uid = 1-2
# use gids from 1 to 2 for domain groups
idmap gid = 1-2
# Get specific share information from external files:
include = /usr/local/etc/smb.conf.%h

We need to be able to continue to provide samba shares (for oracle logs,
etc.), even after the domain controllers are patched. Any ideas?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Iarly Selbir
you should to install nss_ldap, this is needed for integration between ldap
and unix accounts

After install and configure you can check it with "getent passwd" command.

-- 

Reggards,

--
Iarly Selbir ( Ski0s )


On Wed, Oct 29, 2008 at 4:48 PM, Michael JOLY <[EMAIL PROTECTED]> wrote:

> The user is create in the ldap but when i try to connect to smb, i have the
> error.
>
> nss_ldap isn't install
>
> Sincerely yours
>
> Mick
>
> 2008/10/29 Adam Williams <[EMAIL PROTECTED]>
>
> > do you have nss_ldap installed and working?
> >
> >
> > Michael JOLY wrote:
> >
> >> Hello,
> >>
> >> I've just installed samba with ldap on a debian etch.
> >> I have a problem when i attempt to create a user with the command
> >> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with
> it
> >> after.
> >> I obtain this error :
> >>
> >> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
> >>  pdb_get_group_sid: Failed to find Unix account for toto
> >> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
> >>  User toto in passdb, but getpwnam() fails!
> >> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
> >>  check_sam_security: make_server_info_sam() failed with
> >> 'NT_STATUS_NO_SUCH_USER'
> >>
> >> The user is created in the ldap but not in /etc/passwd.
> >>
> >> Could someone help me ?
> >>
> >> Thanks
> >>
> >> Mick
> >>
> >>
> >
> --
> 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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
I have solved my problem installing nss_ldap

Thans for your help Adam.

Best regards

Mick

2008/10/29 Michael JOLY <[EMAIL PROTECTED]>

> The user is create in the ldap but when i try to connect to smb, i have the
> error.
>
> nss_ldap isn't install
>
> Sincerely yours
>
> Mick
>
> 2008/10/29 Adam Williams <[EMAIL PROTECTED]>
>
> do you have nss_ldap installed and working?
>>
>>
>> Michael JOLY wrote:
>>
>>> Hello,
>>>
>>> I've just installed samba with ldap on a debian etch.
>>> I have a problem when i attempt to create a user with the command
>>> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with
>>> it
>>> after.
>>> I obtain this error :
>>>
>>> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
>>>  pdb_get_group_sid: Failed to find Unix account for toto
>>> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
>>>  User toto in passdb, but getpwnam() fails!
>>> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
>>>  check_sam_security: make_server_info_sam() failed with
>>> 'NT_STATUS_NO_SUCH_USER'
>>>
>>> The user is created in the ldap but not in /etc/passwd.
>>>
>>> Could someone help me ?
>>>
>>> Thanks
>>>
>>> Mick
>>>
>>>
>>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
The user is create in the ldap but when i try to connect to smb, i have the
error.

nss_ldap isn't install

Sincerely yours

Mick

2008/10/29 Adam Williams <[EMAIL PROTECTED]>

> do you have nss_ldap installed and working?
>
>
> Michael JOLY wrote:
>
>> Hello,
>>
>> I've just installed samba with ldap on a debian etch.
>> I have a problem when i attempt to create a user with the command
>> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
>> after.
>> I obtain this error :
>>
>> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
>>  pdb_get_group_sid: Failed to find Unix account for toto
>> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
>>  User toto in passdb, but getpwnam() fails!
>> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
>>  check_sam_security: make_server_info_sam() failed with
>> 'NT_STATUS_NO_SUCH_USER'
>>
>> The user is created in the ldap but not in /etc/passwd.
>>
>> Could someone help me ?
>>
>> Thanks
>>
>> Mick
>>
>>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Iarly Selbir
Try add this user without the "-P" attribute and check if this has created.

After try
#smbldap-usershow toto

if this command return the user config, try:

# smbldap-passwd toto



-- 

Reggards,

--
Iarly Selbir ( Ski0s )


On Wed, Oct 29, 2008 at 4:03 PM, Michael JOLY <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I've just installed samba with ldap on a debian etch.
> I have a problem when i attempt to create a user with the command
> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
> after.
> I obtain this error :
>
> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
>  pdb_get_group_sid: Failed to find Unix account for toto
> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
>  User toto in passdb, but getpwnam() fails!
> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
>  check_sam_security: make_server_info_sam() failed with
> 'NT_STATUS_NO_SUCH_USER'
>
> The user is created in the ldap but not in /etc/passwd.
>
> Could someone help me ?
>
> Thanks
>
> Mick
> --
> 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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Adam Williams

do you have nss_ldap installed and working?

Michael JOLY wrote:

Hello,

I've just installed samba with ldap on a debian etch.
I have a problem when i attempt to create a user with the command
smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
after.
I obtain this error :

[2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
[2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
[2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'

The user is created in the ldap but not in /etc/passwd.

Could someone help me ?

Thanks

Mick
  

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


[Samba] OT?: Binaries from sernet

2008-10-29 Thread Dimitri Yioulos
All,

Apologies if this is an impertinent question.  I've been installing source 
RPMs from the "Experimental" branch at sernet.  That has yet to change to 
samba-3.2.4.  I understand it's a volunteer effort, but I was wondering if 
any work is being done to create the 3.2.4 source rpm?

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
Hello,

I've just installed samba with ldap on a debian etch.
I have a problem when i attempt to create a user with the command
smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
after.
I obtain this error :

[2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
[2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
[2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'

The user is created in the ldap but not in /etc/passwd.

Could someone help me ?

Thanks

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


Re: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-29 Thread James Peach
2008/10/29 Marc Fromm <[EMAIL PROTECTED]>:
>>(unix extensions = no)
> My smb.conf does not contain unix extensions option.

"unix extensions = yes" is the default that will be used if smb.conf
does not specify otherwise

> Is this a setting on the mac that I need to change?

you need to change it on the server

>> If you want the server to follow the symlink instead, you have to turn off 
>> unix extension support
> I'm not sure about the above comment. On the server I can follow the symbolic 
> link to the
> www directory, it only does not work when a Mac makes a samba connection and 
> on the
> Mac I try to go to the www directory.

Because the target of the symlink is a location on the server. When
the Mac client tries to resolve the symlink, it will try to access the
corresponding location on the client.

If you turn the unix extensions support off, then the server will
follow the symlink and the Mac will behave just like the Windows
clients


>
> -Original Message-
> From: James Peach [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 28, 2008 3:40 PM
> To: Marc Fromm
> Cc: samba@lists.samba.org
> Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www
>
> 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>:
>> We have a new server running Red Hat 5.2EL.
>> Windows machines can samba to the linux server with no problems, including 
>> symbolic links to the www directory.
>> Our Mac OS 10.5.5 machines have a problem with symbolic links to the www 
>> directory.
>> On the Mac computers, the symbolic links show up as an alias that cannot be 
>> followed.
>> These same MAC computers can samba to the www directory via a symbolic link 
>> on our Fedora Core 5 server.
>
> The Mac is almost certainly using the unix extensions to follow the
> symlink on the client side. If you want the server to follow the
> symlink instead, you have to turn off unix extension support (unix
> extensions = no).
>
>>
>> Since the www symbolic link works on a PC that sambas to the Red Hat server, 
>> is this strictly a problem on the macs or is there a setting I need to 
>> change in a conf file on the Red Hat server, since the same Macs can use the 
>> symbolic link to the www directory on the Fedora server?
>>
>> Thanks
>>
>> Marc
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>
>
>
> --
> James Peach | [EMAIL PROTECTED]
>



-- 
James Peach | [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-29 Thread Mike Gallamore
Leopard tries to be nice and follow the symlink on the client side.  
The problem we ran into was that the client wasn't mounting the target  
of the symlink, the server was. The unix extensions and follow symlink  
options as below forces the server to do the symlink following not the  
client (which might not have the target mapped). Alternatively, but a  
messy solution, you could map all the target locations of the symlinks  
to the client, in exactly the same path so that the client side can do  
the work, not pretty because it makes the clients dependent on the  
servers layout.

On Oct 29, 2008, at 4:08 PM, Marc Fromm wrote:


(unix extensions = no)

My smb.conf does not contain unix extensions option.
Is this a setting on the mac that I need to change?

If you want the server to follow the symlink instead, you have to  
turn off unix extension support
I'm not sure about the above comment. On the server I can follow the  
symbolic link to the www directory, it only does not work when a Mac  
makes a samba connection and on the Mac I try to go to the www  
directory.


-Original Message-
From: James Peach [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 3:40 PM
To: Marc Fromm
Cc: samba@lists.samba.org
Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www

2008/10/28 Marc Fromm <[EMAIL PROTECTED]>:

We have a new server running Red Hat 5.2EL.
Windows machines can samba to the linux server with no problems,  
including symbolic links to the www directory.
Our Mac OS 10.5.5 machines have a problem with symbolic links to  
the www directory.
On the Mac computers, the symbolic links show up as an alias that  
cannot be followed.
These same MAC computers can samba to the www directory via a  
symbolic link on our Fedora Core 5 server.


The Mac is almost certainly using the unix extensions to follow the
symlink on the client side. If you want the server to follow the
symlink instead, you have to turn off unix extension support (unix
extensions = no).



Since the www symbolic link works on a PC that sambas to the Red  
Hat server, is this strictly a problem on the macs or is there a  
setting I need to change in a conf file on the Red Hat server,  
since the same Macs can use the symbolic link to the www directory  
on the Fedora server?


Thanks

Marc

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





--
James Peach | [EMAIL PROTECTED]
--
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


RE: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-29 Thread Marc Fromm
>(unix extensions = no)
My smb.conf does not contain unix extensions option.
Is this a setting on the mac that I need to change?

> If you want the server to follow the symlink instead, you have to turn off 
> unix extension support
I'm not sure about the above comment. On the server I can follow the symbolic 
link to the www directory, it only does not work when a Mac makes a samba 
connection and on the Mac I try to go to the www directory.

-Original Message-
From: James Peach [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 3:40 PM
To: Marc Fromm
Cc: samba@lists.samba.org
Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www

2008/10/28 Marc Fromm <[EMAIL PROTECTED]>:
> We have a new server running Red Hat 5.2EL.
> Windows machines can samba to the linux server with no problems, including 
> symbolic links to the www directory.
> Our Mac OS 10.5.5 machines have a problem with symbolic links to the www 
> directory.
> On the Mac computers, the symbolic links show up as an alias that cannot be 
> followed.
> These same MAC computers can samba to the www directory via a symbolic link 
> on our Fedora Core 5 server.

The Mac is almost certainly using the unix extensions to follow the
symlink on the client side. If you want the server to follow the
symlink instead, you have to turn off unix extension support (unix
extensions = no).

>
> Since the www symbolic link works on a PC that sambas to the Red Hat server, 
> is this strictly a problem on the macs or is there a setting I need to change 
> in a conf file on the Red Hat server, since the same Macs can use the 
> symbolic link to the www directory on the Fedora server?
>
> Thanks
>
> Marc
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Strange problems with Samba 3.0.32 as ADS member of W2k3 domain

2008-10-29 Thread Masopust, Christian
> Masopust, Christian wrote:
> > hello,
> > 
> > i've some strange problems with my samba-servers acting as 
> domain-member
> > (ADS) in a W2k3 active directory.
> > 
> > we have 3 DCs here and running samba without specifying a 
> dedicated "password server"
> > doesn't work!  the 3 DCs have the following roles:
> > 
> > - DC1: PDC-emulator, has global catalog
> > - DC2: RID-master, infrastructure-master, no global catalog
> > - DC3: no special role, has global catalog
> 
> Have DC1 and DC2 been upgraded to Windows Server 2008 by any chance? I
> had similar problems. Machines that had already been joined 
> worked fine
> but new machines had to be joined to the domain by specifying 
> a DC that
> was still running W2k3.
> Upgrading to Samba 3.2 fixed those problems.

hello jelmer,

no, all of our DCs are running W2k3.  Thanks for the hint to upgrade
to 3.2, but I'm currently a little afraid of doing as I heard some 
rumors of 3.2 being a bit buggy...  do you have problems with 3.2 ?

christian

> Regards,
> 
> Jelmer Jaarsma
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkkIanYACgkQ3bV1+S5veEjCBACeNDiFDMmcG+iIFplgMuSWh4ur
> pO0An0ULYJn66eZ3JBCduuuhWj/pDtvZ
> =NcM1
> -END PGP SIGNATURE-
> 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Strange problems with Samba 3.0.32 as ADS member of W2k3 domain

2008-10-29 Thread Jelmer Jaarsma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Masopust, Christian wrote:
> hello,
> 
> i've some strange problems with my samba-servers acting as domain-member
> (ADS) in a W2k3 active directory.
> 
> we have 3 DCs here and running samba without specifying a dedicated "password 
> server"
> doesn't work!  the 3 DCs have the following roles:
> 
> - DC1: PDC-emulator, has global catalog
> - DC2: RID-master, infrastructure-master, no global catalog
> - DC3: no special role, has global catalog

Have DC1 and DC2 been upgraded to Windows Server 2008 by any chance? I
had similar problems. Machines that had already been joined worked fine
but new machines had to be joined to the domain by specifying a DC that
was still running W2k3.
Upgrading to Samba 3.2 fixed those problems.
Regards,

Jelmer Jaarsma
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkIanYACgkQ3bV1+S5veEjCBACeNDiFDMmcG+iIFplgMuSWh4ur
pO0An0ULYJn66eZ3JBCduuuhWj/pDtvZ
=NcM1
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Strange problems with Samba 3.0.32 as ADS member of W2k3 domain

2008-10-29 Thread Masopust, Christian
 
hello,
 
i've some strange problems with my samba-servers acting as domain-member
(ADS) in a W2k3 active directory.
 
we have 3 DCs here and running samba without specifying a dedicated "password 
server"
doesn't work!  the 3 DCs have the following roles:
 
- DC1: PDC-emulator, has global catalog
- DC2: RID-master, infrastructure-master, no global catalog
- DC3: no special role, has global catalog
 
what works:
 
- kerberos setup is fine, can kinit without problems.
- net ads join works fine (no matter to which server i do)
- net ads testjoin gives "join ok" (either specifying a server to check or not)
- samba-shares working only when "password server = DC3" !!!
 
what doesn't work:
 
- samba-shares without specifying a password server
- samba-shares with "password server" either DC1 or DC2
 
 
after doing a lot of test, rejoins, and so on, i figured out that also the 
following setup
works:
 
- password server = * AND   also running winbindd !!!
 
the strange thing is that i've some other setups (same samba, same domain on 
another
location and therefore other DCs) that work fine without winbindd running...
 
so i'm now totally confused and looking forward to any help!
 
thanks a lot,
christian
 
--
"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside."

- Unknown Unix Jedi 

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


Re: [Samba] mac os 10.5.5 and symbolic link to www

2008-10-29 Thread Mike Gallamore
We had a similar problem. To fix it we added to our global section of  
smb.conf:

follow symlinks = yes

Mac 10.5.X is supposed to have the unix extensions but we found when  
we enabled them we broke clients running older versions. So we also  
have:


unix extensions = no

set. Hope this helps.
On Oct 29, 2008, at 5:19 AM, James Peach wrote:


2008/10/28 Kyle <[EMAIL PROTECTED]>:


Can some one clarify that statement a little more for the hard at  
learning
please? Do you mean the MAC is using the SAMBA symlink and  
attempting to

follow it to a location on its local disk?


Yes. Because Windows clients do not understand the SMB protocol
extension the Mac uses in this case, the server follows the symlink on
their behalf (to a location on the server's disk).



"The Mac is almost certainly using the unix extensions to follow  
the symlink
on the client side. If you want the server to follow the symlink  
instead,

you have to turn off unix extension support (unix extensions = no)."


Kind Regards

Kyle



James Peach wrote:


2008/10/28 Marc Fromm <[EMAIL PROTECTED]>:



We have a new server running Red Hat 5.2EL.
Windows machines can samba to the linux server with no problems,
including symbolic links to the www directory.
Our Mac OS 10.5.5 machines have a problem with symbolic links to  
the www

directory.
On the Mac computers, the symbolic links show up as an alias that  
cannot

be followed.
These same MAC computers can samba to the www directory via a  
symbolic

link on our Fedora Core 5 server.



The Mac is almost certainly using the unix extensions to follow the
symlink on the client side. If you want the server to follow the
symlink instead, you have to turn off unix extension support (unix
extensions = no).





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





--
James Peach | [EMAIL PROTECTED]
--
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


Re: [Samba] Join AD: no logon server

2008-10-29 Thread Tam McLaughlin
Thanks.
I have sorted out my problem.
It was a case of RTFM.
The windows server was running in mixed mode which meant that I had to
remove the realm paramater and use security = domain and finally join the
domain with: net rpc join.

Tam.

On Thu, Oct 23, 2008 at 2:26 PM, Ray Van Dolson <[EMAIL PROTECTED]> wrote:

> On Thu, Oct 23, 2008 at 01:03:56AM -0700, Tam McLaughlin wrote:
> > Hello,
> >
> > I am trying to join my server to a Win2k AD domain.
> > I have configured kerberos and can get a ticket but when I try to join
> the
> > AD I get the error "Failed to join domain: No logon servers" as detailed
> > below.
> >
> > I have searched the archives and google and followed some suggestions to
> get
> > my files into the correct format but still have a problem.
> >
> > I am using Samba version 3.0.32-0.fc8 on Fedora 8, kernel
> 2.6.25.11-60.fc8
> >
> > I have detailed my krb5.conf, smb.conf, kinit cmd and debug output from
> my
> > net ads join cmd below.
> >
> > Can anyone offer me any pointers?
> > Is there anything I can get the windows admin to check?
> >
> > Thanks
> >
> > Tam
>
> >From looking at the debug info, it doesn't seem that 10.191.2.29 is
> answering properly.
>
> Ray
> --
> 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