RE: [Samba] ips and netbios name on the logs

2005-04-28 Thread Geoff Scott
Guido Lorenzutti wrote:
 Hi people, does someone know how to only log the name of the machine
 and not the name of the machine AND the ip? Let me explain this: 


This from an old memory is behaviour by design.  Last time I saw Jerry
comment on this I don't think the answer was that you could turn it off.  



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


[Samba] ips and netbios name on the logs

2005-04-28 Thread Geoff Scott
Geoff Scott wrote:
 Guido Lorenzutti wrote:
 Hi people, does someone know how to only log the name of the machine
 and not the name of the machine AND the ip? Let me explain this:
 
 
 This from an old memory is behaviour by design.  Last time I saw
 Jerry comment on this I don't think the answer was that you could
 turn it off.  
 

Well that not very clear is it?

You can't turn this behaviour off.


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


Re: [Samba] ips and netbios name on the logs

2005-04-28 Thread tom burkart
Today, Geoff Scott wrote:
Jerry comment on this I don't think the answer was that you could
turn it off.
You can't turn this behaviour off.
What happens, IIRC, is that things get logged to the IP address as the 
machine comes up and before samba is aware of the netbios name.  As soon 
as samba becomes aware of the netbios name, it does the logging there.

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


[Samba] Re: Hello

2005-04-28 Thread smith
I apologize for this automatic reply to your email.

To control spam, I now allow incoming messages only from senders I
have approved beforehand.

If you would like to be added to my list of approved senders, please
fill out the short request form (see link below). Once I approve you,
I will receive your original message in my inbox. You do not need to
resend your message. I apologize for this one-time inconvenience.

Click the link below to fill out the request:

https://webmail.pas.earthlink.net/wam/[EMAIL PROTECTED]id=1dr3WZ4vE3NZFpN1
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbldap-tools Perl error (FreeBSD)

2005-04-28 Thread Per olof Ljungmark
tom burkart wrote:
On Apr 27, Per olof Ljungmark wrote:
How is it installed?
Exactly. I had used the ports system (usually works well) but grabbed 
the .tgz off idealx instead and that worked.
It sounds like a very old smbldap_tools.pm is in use on your system and 
the new (current) one gets ignored.
For it to work, my rpms (linux) install it in 
/usr/lib/perl5/site_perl/smbldap_tools.pm
This means that you may have to find any occurrence of the 
smbldap_tools.pm module and replace it with the latest one.

Sorry, was'nt that either. There must be something fishy with the 
FreeBSD smbldap-tools 0.8.7 port, I've e-mailed the maintainer, maybe he 
has an idea. Meanwhile, it did work with the tgz from idealx so I'm fine.

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


[Samba] [MailServer Notification]To recipient: eManager settings were mat ched and action was taken.

2005-04-28 Thread CORREO-SA
 eManager Notification *

The following message was blocked because it contains sensitive content.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): samba@lists.samba.org
Rule/Policy: Bagle
Action: Delete

Content filter has detected a sensitive e-mail. BAGLE.

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


[Samba] Files =2GB

2005-04-28 Thread Schreiber Martin
Hello to the list,


We have installed samba 3.0.12 on a solaris sparc server , mainly acting as
a backup-server.
Now the problem:

Some user want to save whole disk-images on their shares which exceed the 2
GB limit.

Now my question:

Do i need to compile with option -m64 , or is the underlaying FS
responseable for a successful
action

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


[Samba] Roaming Profiles Support: Is it working correctly?

2005-04-28 Thread Dirk.Laurenz
Hello everyone,

i have the following Problem with a Samba Server 3.0.9

If an Windows XP SP2 client saves it profile back to the server and
the profile directory does not exist, windows will create it.
It users the following permissions:

- user: rwx
- primary group: wx

And that's the problem, logging off and on prevents windows from reading the
saved profile, although the user has full access rights, his primary group has 
none
and windows stops reading the profile. If you manually change it to rwx for the
primary group, windows is able to read it's profile perfectly.

The question is now, how to get windows creating it's profile correctly!
   

Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer

Fujitsu Siemens Computers
S CE DE SE PS N/O
Sales Central Europe Deutschland 
Professional Service Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com
http://www.fujitsu-siemens.de/services/index.html
***
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] File Rights

2005-04-28 Thread weetat
Hi all ,
  I am using Fedora core 2 and Samba 3.0 .
  I have an question regarding user right in the samba .
   For example :
 -rwxrw  1 marvinkoh mgmt  83456 Apr 23 11:21 WX-Q-0504-8601-NLB.doc
 When a user called nicklee login to samba ,who is in the same group 
with marvinkoh , modified the doc file  , i would like the userid of 
file to be change to nick lee , as show below :

-rwxrw  1 nicklee mgmt  83456 Apr 23 19:14 WX-Q-0504-8602-NLB.doc
Any ideas how to do this ? man smb.conf no luck.
thanks
- weetat
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] RE: Welcome to the samba mailing list

2005-04-28 Thread HEG - Info (DIP)
Hi,

I'm using samba to sso with Windows.
All is working fine with Telnet and FTP, but I can't use it with Xserver.
I'm using gdm to start X.

Can anyone help me ?

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


RE: [Samba] File Rights

2005-04-28 Thread Gerald Cenir
Hello Weetat!

Try this one:

[Documents]
comment=Documents Folder
path = /home/documents
force user = nicklee
read only = no
valid users = mgmt administrator

regards,
Gerald

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
weetat
Sent: Thursday, April 28, 2005 5:14 PM
To: samba@lists.samba.org
Subject: [Samba] File Rights

Hi all ,

   I am using Fedora core 2 and Samba 3.0 .
   I have an question regarding user right in the samba .

For example :

  -rwxrw  1 marvinkoh mgmt  83456 Apr 23 11:21 WX-Q-0504-8601-NLB.doc

  When a user called nicklee login to samba ,who is in the same group
with marvinkoh , modified the doc file  , i would like the userid of
file to be change to nick lee , as show below :

-rwxrw  1 nicklee mgmt  83456 Apr 23 19:14 WX-Q-0504-8602-NLB.doc

Any ideas how to do this ? man smb.conf no luck.

thanks
- weetat

--
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] Roaming Profiles Support: Is it working correctly?

2005-04-28 Thread Dirk.Laurenz
Hello everyone,

i have the following Problem with a Samba Server 3.0.9

If an Windows XP SP2 client saves it profile back to the server and
the profile directory does not exist, windows will create it.
It users the following permissions:

- user: rwx
- primary group: wx

And that's the problem, logging off and on prevents windows from reading the
saved profile, although the user has full access rights, his primary group has 
none
and windows stops reading the profile. If you manually change it to rwx for the
primary group, windows is able to read it's profile perfectly.

The question is now, how to get windows creating it's profile correctly!
   

Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer

Fujitsu Siemens Computers
S CE DE SE PS N/O
Sales Central Europe Deutschland 
Professional Service Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com
http://www.fujitsu-siemens.de/services/index.html
***
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: File Rights

2005-04-28 Thread weetat
Hello Gerald !
  Thanks for your response.
  Your answer , force user parameter is not what i looking for.
  The force user parameter will change user id however not dynamically 
or not depend to user who login .
  I need to change the user id for file name depending to whoever user 
id who modified the file in the samba shares.
Any clue ?

Thanks.
- weetat

Gerald Cenir wrote:
Hello Weetat!
Try this one:
[Documents]
comment=Documents Folder
path = /home/documents
force user = nicklee
read only = no
valid users = mgmt administrator
regards,
Gerald
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
weetat
Sent: Thursday, April 28, 2005 5:14 PM
To: samba@lists.samba.org
Subject: [Samba] File Rights
Hi all ,
   I am using Fedora core 2 and Samba 3.0 .
   I have an question regarding user right in the samba .
For example :
  -rwxrw  1 marvinkoh mgmt  83456 Apr 23 11:21 WX-Q-0504-8601-NLB.doc
  When a user called nicklee login to samba ,who is in the same group
with marvinkoh , modified the doc file  , i would like the userid of
file to be change to nick lee , as show below :
-rwxrw  1 nicklee mgmt  83456 Apr 23 19:14 WX-Q-0504-8602-NLB.doc
Any ideas how to do this ? man smb.conf no luck.
thanks
- weetat
--
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] Re: File Rights

2005-04-28 Thread Adi Nugraha
Mine behaves just like that already, but I dob't know how,  because it was
like that from the beginning, here's my share configuration

[Department]
comment = Department Only Sharing Folder
path = /var/share/Dept
read only = No
create mask = 0770
force create mode = 0770
force security mode = 0660
directory mask = 0770
force directory mode = 0770
force directory security mode = 01770
inherit permissions = Yes
inherit acls = Yes
veto files = /*.mp3/*.MP3/


- Original Message -
From: weetat [EMAIL PROTECTED]
To: samba@lists.samba.org
Sent: Thursday, April 28, 2005 4:55 PM
Subject: [Samba] Re: File Rights


 Hello Gerald !

Thanks for your response.
Your answer , force user parameter is not what i looking for.
The force user parameter will change user id however not dynamically
 or not depend to user who login .
I need to change the user id for file name depending to whoever user
 id who modified the file in the samba shares.
 Any clue ?

 Thanks.
 - weetat



 Gerald Cenir wrote:
  Hello Weetat!
 
  Try this one:
 
  [Documents]
  comment=Documents Folder
  path = /home/documents
  force user = nicklee
  read only = no
  valid users = mgmt administrator
 
  regards,
  Gerald
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf
Of
  weetat
  Sent: Thursday, April 28, 2005 5:14 PM
  To: samba@lists.samba.org
  Subject: [Samba] File Rights
 
  Hi all ,
 
 I am using Fedora core 2 and Samba 3.0 .
 I have an question regarding user right in the samba .
 
  For example :
 
-rwxrw  1 marvinkoh mgmt  83456 Apr 23 11:21
WX-Q-0504-8601-NLB.doc
 
When a user called nicklee login to samba ,who is in the same group
  with marvinkoh , modified the doc file  , i would like the userid of
  file to be change to nick lee , as show below :
 
  -rwxrw  1 nicklee mgmt  83456 Apr 23 19:14 WX-Q-0504-8602-NLB.doc
 
  Any ideas how to do this ? man smb.conf no luck.
 
  thanks
  - weetat
 
  --
  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


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


RE: [Samba] Files =2GB

2005-04-28 Thread =?iso-8859-1?Q?Jos=E9_Luis_Ledesma?=
Hi,

If I don't remember wrongly, both binary and FS layer must have support for
filesizes2GB.


   HTH,



José Luis Ledesma
___
Competitiveness
Telephone: +34 93 582 02 90
Email: [EMAIL PROTECTED]
Website: http://www.competitiveness.com


-Original Message-
From: Schreiber Martin [mailto:[EMAIL PROTECTED]
Sent: jueves, 28 de abril de 2005 10:49
To: 'samba@lists.samba.org'
Subject: [Samba] Files =2GB


Hello to the list,


We have installed samba 3.0.12 on a solaris sparc server , mainly acting as
a backup-server.
Now the problem:

Some user want to save whole disk-images on their shares which exceed the 2
GB limit.

Now my question:

Do i need to compile with option -m64 , or is the underlaying FS
responseable for a successful
action

Kind regardsmartin  schreiber
-- 
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] force group performance penalty ?

2005-04-28 Thread clancyian
Hi,
Just a quick question. I remember reading somewhere that there is a
performance penalty associated with using the force group parameter. Can
anybody explain what this penalty is and how it works.
regards,

-- 
Ian Clancy
IT Systems Engineer
Connaught Electronics Ltd.
Dunmore Rd,
Tuam,
Co. Galway,
Ireland.

E : mailto:[EMAIL PROTECTED]
W : http://www.cel-europe.com




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


[Samba] winbind and computer accounts

2005-04-28 Thread Simon Hartl
Hello!

Ultra-Short Description: winbind fails to authenticate computer account

I'm planning to implement 802.1x for my network and have some troubles with the
windows integration.

environment:
- Users in Windows 2003 Active Directory
- Authentication Server: Debian GNU/Linux acting as AD Member Server (debian
testing, samba-3.0.10 release, freeradius 1.0.1 release)

The clients (mostly windows) should log-on transparently with the integrated
802.1x client using PEAP with EAP-MSCHAPv2. This works perfectly with the
ntlm_auth command provided with the samba distribution.

The problem is, that network authentication should performed before the users
logs on - windows calls this authenticate as computer. The EAP Messages are
passed correctly to the freeradius server but ntlm_auth fails.

I tried to simulate this behaviour manually:
- extracted a samba machine password for a AD member (tdbdump secrets.tbd)
- try to login with the computer account and the password from step 1 produces
the following output (stripped out plaintext attemt):

debian:~# wbinfo -a debian$%yuNPtkinMrbU1w
..
challenge/response password authentication failed
error code was NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT (0xc1199)
error message was: No logon workstation trust account
..


If I try to authenticate as the same user/pwd with kerberos there is not problem
and the TGT is supplied.


Is it possible (now or in the future) to authenticate computer accounts with
winbind/ntlm_auth or is there another solution for my problem?

Regards,

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


[Samba] how to max out performance with only one client

2005-04-28 Thread Ralf Herrmann
Dear all,
i setup a file server with latest debian distro and samba 3.0.10.
Kernel is 2.6.11 self-compiled.
It's for a small home LAN with max. 2 clients.
When i connect with only 1 client, i get a
throughput of about 6MByte/s reading a large file.
(Writing is even slower, but this is due to software-raid5).
Both disk systems as well as CPU are not at max rates.
There is 30-40% CPU idle and the raid 5 can write and read about
20MByte/s for large files.
I have testet with one 3com and one intel 100MBit NIC, no big difference.
All cards are correctly working at 100MBit FD, connected through
a switch to my PC.
When i make 2 simultanous client connections from my PC, it seems,
samba saturates the 100MBit line because i'm getting 2x about
5MB/s read performance (again for large files).
I also tested with ftp and get about 11 MB/s with a single client
wich is the max one could expect.
Does anyone know how to make samba max out with only
one client? Background is that i want to directly burn DVD
from the shares as fast as possible. I need about 8.5MB/s read speed.
Any help is appriciated. I searched the net for quite some time
but didn't find any useful hint.
Some people had a similar problem, but no suitable answer so far.
Thanks,
Ralf
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] HELLO

2005-04-28 Thread obrien
The message cannot be represented in 7-bit ASCII encoding and has been sent as 
a binary attachment.

  Virus Warning Message 
The virus W32/[EMAIL PROTECTED] was detected in the attachment document.pif. 
The attached File document.pif has
been removed. For questions please contact the Helpdesk.

Er is een virus W32/[EMAIL PROTECTED] gevonden in de attachement/bijlage 
document.pif. De document.pif is verwijderd.
Voor meer informatie raadpleeg de speciale FAQ onder Customer Services - 
Helpdesk op www.upc.nl.

Un virus W32/[EMAIL PROTECTED] a été détecté dans le fichier inclus 
document.pif.  Le fichier document.pif est
enlevé. Pour toutes questions cliquez sur le lien ci-dessous.

Er is een virus W32/[EMAIL PROTECTED] gevonden in de bijlage document.pif. De 
bijlage document.pif is verwijderd.
Voor vragen kunt u klikken op de link hieronder.

Et virus W32/[EMAIL PROTECTED] har blitt oppdaget i et vedlegg. Vedlegget 
document.pif har blitt fjernet. Har du
spørsmål ber vi deg klikke på linken under. 

Ett virus W32/[EMAIL PROTECTED] hittades i den bifogade filen document.pif. 
Filen document.pif har förstörts. För
mer information klicka på nedanstående länk.

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

Re: [Samba] Roaming Profiles Support: Is it working correctly?

2005-04-28 Thread Tony Earnshaw
tor, 28.04.2005 kl. 11.45 skrev [EMAIL PROTECTED]:

 i have the following Problem with a Samba Server 3.0.9
 
 If an Windows XP SP2 client saves it profile back to the server and
 the profile directory does not exist, windows will create it.
 It users the following permissions:
 
   - user: rwx
   - primary group: wx
 
 And that's the problem, logging off and on prevents windows from reading the
 saved profile, although the user has full access rights, his primary group 
 has none
 and windows stops reading the profile. If you manually change it to rwx for 
 the
 primary group, windows is able to read it's profile perfectly.
 
 The question is now, how to get windows creating it's profile correctly!

Don't; have a root prexec script create the profile dir and chmod it at
the user's first logon. Same with his home directory, etc.

--Tonni

-- 
Nothing sucksseeds like a pigeon without a beak ...

mail: [EMAIL PROTECTED]
http://www.billy.demon.nl
 
They'll love us, won't they? They feed us, don't they? ...

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


[Samba] Mirrored samba servers.

2005-04-28 Thread Richmond Dyes
I have a customer that is using 250 gig drives for his business data.  I 
have been using rsync to keep mirror copies of his data on a second 
machine.  In the last 3 months I have lost 2 of four drives, the last 
one being the system drive.  I have been doing a manual switchover. Each 
time rsync runs, I copy my samba conf files, passwd, shadow and group 
files from etc.  Has anyone setup a HA configuration for samba servers 
on separate machines. If so, where can I get information for this kind 
of setup?

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


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread William Jojo


On Thu, 28 Apr 2005, Richmond Dyes wrote:

 I have a customer that is using 250 gig drives for his business data.  I
 have been using rsync to keep mirror copies of his data on a second
 machine.  In the last 3 months I have lost 2 of four drives, the last
 one being the system drive.  I have been doing a manual switchover. Each
 time rsync runs, I copy my samba conf files, passwd, shadow and group
 files from etc.  Has anyone setup a HA configuration for samba servers
 on separate machines. If so, where can I get information for this kind
 of setup?


http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SambaHA.html

http://www.redhat.com/docs/manuals/enterprise/RHEL-AS-2.1-Manual/cluster-manager/s1-service-samba.html

http://www.openminds.co.uk/high_availability_solutions/file_servers/samba.htm

http://www-306.ibm.com/software/tivoli/products/sys-auto-linux/downloads.html

(the ibm link is for AIX *and* Linux for Power).


Googled - high availbility samba and high availability samba aix


Bill


 --
 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] Mirrored samba servers.

2005-04-28 Thread Paul Gienger

I have a customer that is using 250 gig drives for his business data.  
I have been using rsync to keep mirror copies of his data on a second 
machine.  In the last 3 months I have lost 2 of four drives, the last 
one being the system drive.  I have been doing a manual switchover. 
Each time rsync runs, I copy my samba conf files, passwd, shadow and 
group files from etc.  Has anyone setup a HA configuration for samba 
servers on separate machines. If so, where can I get information for 
this kind of setup?
This isn't going to answer your question, but...
I'm curious... has your client heard of RAID?  It sounds like you would 
be well served with a simple set of mirrored drives.

--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

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


[Samba] caching problem

2005-04-28 Thread remco
i have just installed samba on my gentoo server. but im having a 
problem: some applications wich run find from a winXP 'fileserver' fails 
 when working from samba. everything seems to be fine but (its a 
compiler for a microcontroller) the produces file is not updated. its 
just re-recrated when i delete it.

i think its a caching problem somewhere.
can someone help me with this?
thanks,
remco
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread Richmond Dyes
Paul Gienger wrote:

I have a customer that is using 250 gig drives for his business 
data.  I have been using rsync to keep mirror copies of his data on a 
second machine.  In the last 3 months I have lost 2 of four drives, 
the last one being the system drive.  I have been doing a manual 
switchover. Each time rsync runs, I copy my samba conf files, passwd, 
shadow and group files from etc.  Has anyone setup a HA configuration 
for samba servers on separate machines. If so, where can I get 
information for this kind of setup?

This isn't going to answer your question, but...
I'm curious... has your client heard of RAID?  It sounds like you 
would be well served with a simple set of mirrored drives.

The problem is he has an ata system.  If we went with a raid, we would 
want a 0,1 raid. striped with mirroring and I can't find a raid ata card 
to do that.

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


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread Paul Gienger

I have a customer that is using 250 gig drives for his business 
data.  I have been using rsync to keep mirror copies of his data on 
a second machine.  In the last 3 months I have lost 2 of four 
drives, the last one being the system drive.  I have been doing a 
manual switchover. Each time rsync runs, I copy my samba conf files, 
passwd, shadow and group files from etc.  Has anyone setup a HA 
configuration for samba servers on separate machines. If so, where 
can I get information for this kind of setup?
This isn't going to answer your question, but...
I'm curious... has your client heard of RAID?  It sounds like you 
would be well served with a simple set of mirrored drives.
The problem is he has an ata system.  If we went with a raid, we would 
want a 0,1 raid. striped with mirroring and I can't find a raid ata 
card to do that.
http://www.3ware.com/products/parallel_ata.asp
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

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


[Samba] Using Windows authentification under Xserver

2005-04-28 Thread HEG - Info (DIP)
Hello,

I'm using samba to authenticat my user.
I've configured it for telnet and ftp connexion.

Now I need to allow authentification to Xserver (gdm in my case).

I've change in /etc/pam.d/gdm to add pam_winbind.so support but it doesn't
work.

Does anyone have already done such installation ?

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


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread David Schlenk
On Thu, 2005-04-28 at 08:17 -0400, Richmond Dyes wrote:
 I have a customer that is using 250 gig drives for his business data.  I 
 have been using rsync to keep mirror copies of his data on a second 
 machine.  In the last 3 months I have lost 2 of four drives, the last 
 one being the system drive.  I have been doing a manual switchover. Each 
 time rsync runs, I copy my samba conf files, passwd, shadow and group 
 files from etc.  Has anyone setup a HA configuration for samba servers 
 on separate machines. If so, where can I get information for this kind 
 of setup?
 
http://thorin.xp.bethel.edu:7080/blojsom/blog/schdav/

Keep in mind that my requirements probably don't match yours. I don't do
any file sharing (other than printer drivers), so you'll probably want
to look into a SCSI RAID (probably RAID5) system that's shared between
the machines, and get yourself some stonith devices so you don't corrupt
your filesystems. Also some linked files might be unavailable to the
general internet - email me off list if you want them and I'll make them
available somewhere public. I haven't put this setup into production yet
but it seems to work pretty well in the tests I've done. 

-- 
David Schlenk
Operating Systems Analyst
Bethel University
Saint Paul, Minnesota
[EMAIL PROTECTED]

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


[Samba] Re: Roaming Profiles Support: Is it working correctly?

2005-04-28 Thread John H Terpstra
On Thursday 28 April 2005 03:03, [EMAIL PROTECTED] wrote:
 Hello everyone,

 i have the following Problem with a Samba Server 3.0.9

 If an Windows XP SP2 client saves it profile back to the server and
 the profile directory does not exist, windows will create it.
 It users the following permissions:

   - user: rwx
   - primary group: wx

 And that's the problem, logging off and on prevents windows from reading
 the saved profile, although the user has full access rights, his primary
 group has none and windows stops reading the profile. If you manually
 change it to rwx for the primary group, windows is able to read it's
 profile perfectly.

 The question is now, how to get windows creating it's profile correctly!

Please follow the examples in the book Samba-3 by Example. You can download 
this from:

http://www.samba.org/samba/docs/Samba-Guide.pdf

In particular, check chapters 4,5 and 6. All support roaming profiles. If any 
step does not work please let me know so I can fix it.

- John T.



 Mit freundlichem Gruß,



 Dirk Laurenz
 Systems Engineer

 Fujitsu Siemens Computers
 S CE DE SE PS N/O
 Sales Central Europe Deutschland
 Professional Service Nord / Ost

 Hildesheimer Strasse 25
 30880 Laatzen
 Germany

 Telephone:+49 (511) 84 89 - 18 08
 Telefax:  +49 (511) 84 89 - 25 18 08
 Mobile:   +49 (170) 22 10 781
 Email:mailto:[EMAIL PROTECTED]
 Internet: http://www.fujitsu-siemens.com
 http://www.fujitsu-siemens.de/services/index.html
 ***


-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] RE: Welcome to the samba mailing list

2005-04-28 Thread John H Terpstra
On Thursday 28 April 2005 03:20, HEG - Info  (DIP) wrote:
 Hi,

 I'm using samba to sso with Windows.
 All is working fine with Telnet and FTP, but I can't use it with Xserver.
 I'm using gdm to start X.

 Can anyone help me ?

Did you refer to chapter 7 of the book Samba-3 by Example? You can download 
this from:

http://www.samba.org/samba/docs/Samba-Guide.pdf

The information you need is towards the end of the chapter. If this does not 
cover your needs, or fails for any reason, please let me know so I can fix 
the documentation.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread Oliver Schulze L.
Maybe you can use RAID1 and on top of that, LVM.
So you can just add 2 more disk for adding a new RAID1 and
then just resize your LVM partition.
HTH
Oliver
Richmond Dyes wrote:
Paul Gienger wrote:

I have a customer that is using 250 gig drives for his business 
data.  I have been using rsync to keep mirror copies of his data on 
a second machine.  In the last 3 months I have lost 2 of four 
drives, the last one being the system drive.  I have been doing a 
manual switchover. Each time rsync runs, I copy my samba conf files, 
passwd, shadow and group files from etc.  Has anyone setup a HA 
configuration for samba servers on separate machines. If so, where 
can I get information for this kind of setup?

This isn't going to answer your question, but...
I'm curious... has your client heard of RAID?  It sounds like you 
would be well served with a simple set of mirrored drives.

The problem is he has an ata system.  If we went with a raid, we would 
want a 0,1 raid. striped with mirroring and I can't find a raid ata 
card to do that.

--
Oliver Schulze L.
[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] Mirrored samba servers.

2005-04-28 Thread Bruno Guerreiro

Hi,
And what about Software RAID?

I've been using it for 5+ years.
Not a single problem yet...

Best regards,
Bruno Guerreiro

-Original Message-
From: Richmond Dyes [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 28 de Abril de 2005 14:44
To: Paul Gienger
Cc: samba@lists.samba.org; [EMAIL PROTECTED]
Subject: Re: [Samba] Mirrored samba servers.


Paul Gienger wrote:


 I have a customer that is using 250 gig drives for his business 
 data.  I have been using rsync to keep mirror copies of his data on a 
 second machine.  In the last 3 months I have lost 2 of four drives, 
 the last one being the system drive.  I have been doing a manual 
 switchover. Each time rsync runs, I copy my samba conf files, passwd, 
 shadow and group files from etc.  Has anyone setup a HA configuration 
 for samba servers on separate machines. If so, where can I get 
 information for this kind of setup?


 This isn't going to answer your question, but...

 I'm curious... has your client heard of RAID?  It sounds like you 
 would be well served with a simple set of mirrored drives.

The problem is he has an ata system.  If we went with a raid, we would 
want a 0,1 raid. striped with mirroring and I can't find a raid ata card 
to do that.

-- 
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] Winbind showstopper!

2005-04-28 Thread SRuth
Hello all,
 
First off, let me say I've been using Samba successfully since '98.  Except
for a few minor issues here and there it's worked quite well.  So, thank you
for an excellent product.
 
Last weekend I migrated an existing Samba file/print server to a brand new
server.  This included upgrading Samba from 3.0.7 to 3.0.14a.
I've successfully been using winbind to authenticate to Windows 2000 and
then Windows 2003 AD domains (DOMAIN security mode, not ADS) for 2-3 years
now.  So, in order to maintain the existing domain account to UID mappings I
moved the winbindd_*.tdb files from the old to the new server.  (In case it
matters, I actually moved all of the .tdb files from the old to the new.)
 
This seemed to work just fine until I started modifying users' group
memberships in AD.  It seems winbind is not registering group membership
modifications.  It either doesn't register the updates at all, or not in a
timely fashion(as in it finally changed overnight for one account, but not
the other).  In case it matters, winbindd cache is set to 30 seconds.  I
used to have it set to 600 seconds, but changed it when I started
experiencing this issue.
 
The new server is running RedHat Enterprise Linux 4 ES.  Samba was built
from the redhat source RPM from the samba site.
 
I have also seen the same behavior on Samba version 3.0.15pre2.
 
Obviously this is a showstopper as I cannot appropriately change users'
access to resources.
 
Is this a known problem?  Is there a workaround?
 
Let me know if more information is required.
 
Thanks.
 
 
Sven M. Ruth
Sr. Analyst - Technology Resources
LandAmerica - Chicago Area
Ph:  312-558-1600 ext. 3023
 
We are all born originals -- why is it so many of us die copies? -- Edward
Young
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mirrored samba servers.

2005-04-28 Thread Richmond Dyes
Seems like the 3ware adapter is the best solution along with using the 
LVM.  I will look closely at this solution.
Thanks alot

Paul Gienger wrote:

I have a customer that is using 250 gig drives for his business 
data.  I have been using rsync to keep mirror copies of his data on 
a second machine.  In the last 3 months I have lost 2 of four 
drives, the last one being the system drive.  I have been doing a 
manual switchover. Each time rsync runs, I copy my samba conf 
files, passwd, shadow and group files from etc.  Has anyone setup a 
HA configuration for samba servers on separate machines. If so, 
where can I get information for this kind of setup?

This isn't going to answer your question, but...
I'm curious... has your client heard of RAID?  It sounds like you 
would be well served with a simple set of mirrored drives.

The problem is he has an ata system.  If we went with a raid, we 
would want a 0,1 raid. striped with mirroring and I can't find a raid 
ata card to do that.

http://www.3ware.com/products/parallel_ata.asp

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


[Samba] domain master list - cross subnet?

2005-04-28 Thread Alexander Lazarevich
samba-3.0.10-1.4E on RHEL4-AS. I've got a test domain setup and working 
just fine. Windows XP clients are authenticating just fine. The only 
problem I have so far is my domain browser list is not correct. I can see 
everything in my subnet fine, but can't see anything outside my subnet. 
This is different than my NT4 domain, who's browse list shows me every 
domain within the larger campus domain (WAN), which are a lot of domains 
outside of my subnet. So my question is, how do I get my samba domain 
browse list to behave like my NT4 domain browse list does and get the 
list from the WAN?

Is a samba domain master browser supposed to be able to get browse lists 
from accross subnets? If not, is there any way to force a samba domain to 
collect browse lists from outside it's subnet? We have many users who need 
to access domains outside our subnets, and they need to be able to browse 
to it.

My samba is the master browser and there is no other domain master in the 
X-TEST domain. Anyway, os level=65 should take care of that even if there 
were.

I've also read chapter 9 of the samba how to, and I'm doing everything in 
there according to plan, I think. The thing that scares me is: Failing a 
complete restart, the only other thing you can do is wait until the entry 
times out and is then flushed from the list. This may take a long time on 
some networks (perhaps moths). Ouch. I hope I don't have to wait a month 
for nmbd to collect the browse list from all the WINS hosts on campus???

Additional info: we don't have a WINS server on our subnet, we point all 
our clients to a two WINS servers, both outside of our subnet, and that 
works fine with NT4 and samba domains.

Here is my smb.conf global:
[global]
   workgroup = X-TEST
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon drive = z:
   logon path =
   logon script = x-test-logon.bat
   security = user
   encrypt passwords = yes
   server string = X-TEST Samba Domain
   netbios name = xxx-x
   add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody 
-s /bin/false %m
   domain master = yes
   domain logons = yes
   local master = yes
   preferred master = yes
   wins server = XXX.XXX.XXX.XXX (a wins server on a different subnet)
   hosts allow = XXX.XXX XXX.XXX (allowing IP's from campus wide subnets)
   os level = 65
   log level = 3
   max log size = 0
   log file = /var/log/samba/XXX-X-samba.log

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


Re: [Samba] Files =2GB

2005-04-28 Thread Hans du Plooy
On Thu, 2005-04-28 at 10:49 +0200, Schreiber Martin wrote:
 Do i need to compile with option -m64 , or is the underlaying FS
 responseable for a successful
 action
I may be wrong, but as far as I know if the underlying filesystem can
handle large files, samba server will too.

Client is a different matter, you have to mount the shares with -o lfs,
but I'm not sure.  I've only had to do that once, when mounting a share
on an Win2k box.

Either ways, I copied a 2.5gb ISO image to a samba server using
konqueror's smb:// plugin, without any hassles.  It does report the
filesize incorrectly, though.

-- 
Kind regards
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com

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


[Samba] (no subject)

2005-04-28 Thread David_Dean
We are experiencing this same issue at BlueCross; same versions as well.
David


We have a Samba server connecting to a Windows 2000 Domain controller for
 authentication purposes using windbind. We have had a couple of network
 outages recently and the other servers, which are Windows 2000 member
 servers seem to resume normal authenication when the network returns, but
 the Samba server does not recover until samba is restarted. We have had 
this
 problem when the domain server was down for maintainence, so it is not
 specifically related it the network interface going down.

 Is this behaviour limitation of samba, or is there an option I can set to
 continue retrying, or is it a bug? Is there a workaround? Any information
 would be useful. We are using Samba 3.0.11 suse 9.0 packages from 
samba.org.
 Please find at the bottom of the email the last few log entries in case it
 is of some use.

 Thanks in advance,

 Olly



Please see the following link for the BlueCross BlueShield of Tennessee E-mail 
disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

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


[Samba] Disable winbindd authentication while keep winbindd running

2005-04-28 Thread Buozis, Martynas
Hello

I have samba 3.0.13 running in ADS mode. For some specific reason I want
to disable winbindd authentication while I want winbindd keep running.
If I understood right - option auth methods would help to do that. But
I am not sure if this will not break existing services :

auth methods = guest sam

All users that authenticate are created locally in /etc/passwd file.

Can anybody give me advice how to keep winbindd running but for disable
it usage ? (don't ask why - just give information  )

Thank you in advance !


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


[Samba] Samba client join domain subnet issues

2005-04-28 Thread dijuremo
I have 3 subnets in my building.
Subnet 1. Most of my samba clients and server are in this subnet
Subnet 2. Few win xp sp2 clients.
Subnet 3. Few win xp sp2 clients.

If I put a client in subnet 1 and try to join the domain, then everything
works fine (client firewall enabled). However, if I move the client to
subnets 2 or 3, then I cannot join the domain unless I disable the windows
xp firewall on the client.

All my clients use the samba server on subnet 1 as the WINS server and
netbios over tcp/ip is enabled.  Any ideas why this does not work on a
different subnet where the server lives without disabling the firewall?

I even tried enabling the windows xp sp2 firewall section called File
sharing on the windows client to all 3 subnets (opening 137 and 138 udp
plus 139 and 445 tcp)  but joining the domain still does not work.  It will
only work with the firewall disabled.

My server firewall has 137 and 138 UDP plus 139 and 445 TCP openened to all
three subnets.

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


[Samba] $B%a%C%;!%8$rG[?.$G$-$^$;$s(B

2005-04-28 Thread Yahoo!=?ISO-2022-JP?B?GyRCJTAlayE8JVcbKEI=?=

(B[$B$3$N%a!<%k$O!"7HBSEEOC$J$I\$7$/$O4IM}JN,$5$l$F$$$^$9(B]-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] [help!] bad file number / dlopen failure

2005-04-28 Thread Ben Kim
Dear list,

I'd appreciate some input from experts. I'm on Solaris 8, openssh 3.9p1,
openssl 0.9.7e, samba 2.2.9.

I'm using winbind so Windows users can use UNIX services. Pop, telnet, ftp
work with both windows and unix passwords OK, but I have a problem with
ssh.

Ssh accepts unix password, but not windows password. 

I'm trying to do password authentication, but it fails with this.
(with no UsePAM line)

Apr 28 12:49:58 bkim sshd[25576]: [ID 800047 local3.info] Failed password
for bkim from 127.0.0.1 port 35721 ssh2

If I add UsePAM yes,

Apr 28 08:43:58 bkim sshd[7609]: [ID 305314 local3.debug] load_modules:
/usr/lib/security/pam_winbind.so_042605
Apr 28 08:43:58 bkim sshd[7609]: [ID 401707 local3.debug] open_module:
/usr/lib/security/pam_winbind.so_042605 failed: Bad file number
Apr 28 08:43:58 bkim sshd[7609]: [ID 487707 local3.error] load_modules:
can not open module /usr/lib/security/pam_winbind.so_042605
Apr 28 08:43:58 bkim sshd[7609]: [ID 585537 local3.debug]
pam_authenticate: load_modules failed
Apr 28 08:43:58 bkim sshd[7609]: [ID 800047 local3.debug] debug1: PAM:
password authentication failed for bkim: Dlopen failure

I'm guessing the load_modules and open_module messages come from ld.so.1.
This seems a problem with library. Since other services have no problem, I
think this might be a problem with compiling ssh, so I recompiled openssl
(0.9.7e), openssh and samba 2.2.9, with no joy.

I wanted to know if someone can point to me where to look at.

Here is my configurations.

pam.conf

sshdauthsufficient /samba/source/nsswitch/pam_winbind.so debug
sshdauth requisite  pam_authtok_get.so.1
sshdauth required   pam_dhkeys.so.1
sshdauth required/usr/lib/security/$ISA/pam_unix.so.1 use_first_pass
sshdaccount sufficient  /samba/source/nsswitch/pam_winbind.so
sshdaccount requisite   pam_roles.so.1
sshdaccount required/usr/lib/security/$ISA/pam_unix.so.1
sshdsession sufficient  /samba/source/nsswitch/pam_winbind.so
sshdsession required/usr/lib/security/$ISA/pam_unix.so.1

# cat ~bkim/openssh-3.9p1-configure-options.txt
./configure \
  --with-pam  \
  --with-ssl-dir=/usr/local/ssl \
  --with-privsep-user=sshd \
  --with-xauth=/usr/X/bin/xauth \
  --with-mantype=man \
  --with-md5-passwords

# cat ~bkim/samba-2.2.9-configure-options.txt
./configure \
--with-winbind \
--with-winbind-auth-challenge \
--with-pam   \
--with-pam_smbpass \
--with-smbwrapper \
--enable-debug \
--with-libsmbclient\
--with-ssl 



I'd appreciate any clue.

Thanks.


Ben Kim
Developer
College of Education 
Texas AM University





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


[Samba] get_domain_user_groups

2005-04-28 Thread Orlando de Sousa
Hello list, 
I'm using the samba 3.0.11... but when I access the log I have the
following message. 
Somebody know what's happening? 

Apr 26 10:23:32 dsnd3576 smbd[4245]: [2005/04/26 10:23:32, 0]
rpc_server/srv_util.c:get_domain_user_groups(376) 
Apr 26 10:23:32 dsnd3576 smbd[4245]: get_domain_user_groups: primary gid
of user [ze] is not a Domain group ! 
Apr 26 10:23:32 dsnd3576 smbd[4245]: get_domain_user_groups: You should
fix it, NT doesn't like that 
Apr 26 10:23:35 dsnd3576 smbd[4245]: [2005/04/26 10:23:35, 0]
smbd/service.c:make_connection_snum(620) 

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


[Samba] Automatic creation of home directories

2005-04-28 Thread James Watkins
Hi all, after searching the archives of this list and extensive general 
googling, I still haven't worked this problem out so I thought it was 
time to join the list.
I'm trying to make my samba server create home directories on-the-fly 
when new users login.  As I understand it, the way to do this is to use 
the mkhomedir module and enable obey pam restrictions in smb.conf. 
The trouble is that I'm using domain security to allow existing domain 
users to login which means I have to use encrypt passwords = yes. 
Now, as I understand from the official samba howto:

http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html
pam is automatically ignored when encrypted passwords are used.
So how do I resolve this conflict?
And on a related matter, if I use pam_winbind to authenticate users of a 
unix system against a windows domain controller does this mean that the 
passwords are send unencrypted?

Any suggestions would help to preserve my sanity.
Thanks in advance,
James.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Problems with Win XP clients connecting to shares

2005-04-28 Thread Aria Bamdad
Hi,

I have a Samba server running with security=user.  I do NOT use
a domain login on this server.

I have over 100 W2K clients with mapped network drives to shares on this
server.  My client login password differs from the password set on the
Samba server.  So, when the client logs in to the desktop, after the
W2K login prompt, they immediately get a password prompt to login to
the Samba server so that their mapped network drives are connected.
This is excellent because the user cannot continue until they either
enter the correct password or hit cancel.

The problem I am having is with Windows XP clients.  Apparently, in
XP, there is a 'fast login' that skips prompting for the network
password immediately after login.  As a result, the user is not prompted
for the Samba password and after a few seconds, they get a little box
at the bottom informing them that some network drives were not maped.

Question:  Is there a way I can force XP to prompt for the password
BEFORE continuing with user login and desktop setup as it is currently
done in W2K?  Currently my only solution is to make the client windows
login password the same as the samba password.

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


Re: [Samba] get_domain_user_groups

2005-04-28 Thread Paul Gienger

Apr 26 10:23:32 dsnd3576 smbd[4245]: [2005/04/26 10:23:32, 0]
rpc_server/srv_util.c:get_domain_user_groups(376) 
Apr 26 10:23:32 dsnd3576 smbd[4245]: get_domain_user_groups: primary gid
of user [ze] is not a Domain group ! 
Apr 26 10:23:32 dsnd3576 smbd[4245]: get_domain_user_groups: You should
fix it, NT doesn't like that 
 

This makes it sound like you haven't configured any group mappings, is 
that correct?   Try creating a groupmapping for 'ze' (what I'm assuming 
to be this user's primary group) and see if things don't improve

net groupmap add unixgroup=ze ntgroup=what ever you want to refer to ze 
as in windows

--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

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


[Samba] Benchmarking Samba

2005-04-28 Thread AragonX
Hello all,

I've been trying to get a feel for where my server performs in comparison
to other servers in it's category.

I was wondering if anyone has setup a site dedicated to listing various
benchmarking results using Samba?  If not, would anyone be interested in
such a site?

I would be willing to setup and maintain the site but I would need a lot
of help getting benchmarks.  I don't have access to a very wide range of
machines (only 10 or so).

Anyway, if there is already a site, great.  If not, and I get enough
response, I'll set one up.  Please let me know if you are interested.

---
Willis Yonker


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


[Samba] PANIC: internal error

2005-04-28 Thread Cheatham, Mike Mr KRS
HP UX11i

 

My SA is off island and I am in unfamiliar territory.  We are getting an
error when trying to start winbindd.

 

  ===

[Thu Apr 28 12:04:49 2005

, 0] lib/util.c:smb_panic2(1398)

  PANIC: internal error

[Thu Apr 28 13:07:20 2005

, 1] nsswitch/winbindd.c:main(843)

  winbindd version 3.0.5 based HP CIFS Server T.30.PV.02 started.

  Copyright The Samba Team 2000-2004

[Thu Apr 28 13:07:20 2005

, 1] lib/util_unistr.c:load_case_tables(63)

  creating lame upcase table

[Thu Apr 28 13:07:20 2005

, 1] lib/util_unistr.c:load_case_tables(78)

  creating lame lowcase table

[Thu Apr 28 13:07:20 2005

, 1] nsswitch/winbindd_util.c:add_trusted_domain(178)

  Added domain SMDCK  S-0-0

/usr/lib/dld.sl: Unresolved symbol: sasl_client_init (code)  from
/usr/lib/libld

ap.sl

[Thu Apr 28 13:07:20 2005

, 0] lib/fault.c:fault_report(36)

  ===

[Thu Apr 28 13:07:20 2005

, 0] lib/fault.c:fault_report(37)

  INTERNAL ERROR: Signal 6 in pid 26250 (3.0.5 based HP CIFS Server
T.30.PV.02)

  Please read the appendix Bugs of the Samba HOWTO collection

[Thu Apr 28 13:07:20 2005

, 0] lib/fault.c:fault_report(39)

  ===

[Thu Apr 28 13:07:20 2005

, 0] lib/util.c:smb_panic2(1398)

  PANIC: internal error

 

 

I am unable to find the appendix Bugs of the Samba HOWTO collection

 

Mike Cheatham

Information Systems and Technology

Systems Support Manager

Kwajalein Range Services, LLC

Kwajalein Marshall Islands (GMT+12)

805-355-2446 Pager 712

 

 

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


Re: [Samba] Installing network printers for roaming users

2005-04-28 Thread Oliver Schulze L.
Solved here:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2578503
Nework printers are configured per user, so I need to add the printer at
every logon, it only takes seconds.
HTH
Oliver
Oliver Schulze L. wrote:
Hi,
I'm configuring a network with RH9(samba 2.2.7) and Windows XP SP2 
clients.
All my users are roaming users and they login/logou without problems.

I have 2 printers in one Windows XP workstation thar are shared.
I login as a local (administrator) user in another workstation, 
install the
network printers.

Then, I logout from the local user and when I login with the roaming 
users,
the network printers does not appears.
If I login again with the local user, the printers are installed.

So, my question is, how do I configure network printers for roaming 
users?

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


[Samba] New list user, couple of questions and looking for existing examples

2005-04-28 Thread Chuck Campbell
I'm a new list subscriber with a couple of questions:

I have a few objectives with samba that I think can be accomplished.  If I
am wrong, someone please indicate my errors before I go a long way down a
dead end path.

I need to put all of my PC users home directories onto a samba share so
centralized backups can be done to capture email, docs, etc.  These are all
WinXP Pro boxes.  We use a work-group, and not a windows domain.

I need to ensure that those users files are accessible by only those users.
It appears that this means I need each user to have a Linux user account on the
samba server.  Is this correct?

I need some groups of users to have a shared pool of r/w files, that other 
group(s) cannot access.  I assume this requires using Linux group, correct?
 
Do my above re1uirements mean I need to learn about and implement LDAP, or is 
there a simpler solution?

None of the printers and plotters is on a Linux box, they are all attached
to WinXP machines.  I believe I can still use Linux/samba as a print server
in some fashion??

Is there a general examples of ... available, besides the samba FAQ?

Is there a search-able list archive (if so, where)?

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


[Samba] getent group doesn't show users in domain users from Windows 2003 server

2005-04-28 Thread Tom Dickson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've winbindd running on Samba 3.0.11, and everything seems basically correct,
however, when I run getent group, the group DOMAIN+domain users has no members 
listed.
But if I do id CORP+nastest I get this:
uid=10112(CORP+nastest) gid=10011(CORP+domain users) groups=10011(CORP+domain 
users)
even though getent is showing:
CORP+domain users:x:10011:
Is this a known issue with Windows 2003 AS? It doesn't seem to happen with 
win2k.
Thank you,
- -tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCcUSs2dxAfYNwANIRAjzNAKCsURibTBqcyy6l0PG/biO/UHOw7wCglqhO
IzkgmHNjddjai1kfcJNV4aw=
=GFYc
-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] Poor Samba Preformance

2005-04-28 Thread AragonX
quote who=Steve Jr Ramage
 I recently upgraded a part of my network to Gigabit ethernet, basically
 between my Linux machine and my main windows machine, is now gigabit.
 The problem is that, and the whole reason I went with it, is to get
 faster speeds with samba. I've only been able to get 13.4 MB/s as a
 maximum transfer speed. I don't expect to be able to get 125 MB/s. If I
 use HTTP I can get around 18 MB/s, and that would be fine I suppose for
 now. Now what samba can do is, that I can get two connections to two
 different machines going at about 13 MB/s one and 12 MB/s (100 Mbps) the
 other, and they don't really affect eachother, so the bandwidth is
 there, but getting samba to send as much as possible down one connection
 seems to be a problem. iperf between the machines, managed to get 528
 Mbps.

I have had similar problems with transfers.  A good test would be to make
a large file (greater than 2gb) and FTP it from your Samba server to your
Windows client.  If the FTP goes substantially faster than the Samba
transfer of the same file, your Samba configuration needs some help.  This
has not usually been the case for me.

Some information on your hardware would help.  If you have IDE drives,
what does hdparm -i say on the share drive?  Also what does hdparm
/dev/(hd?) for the drive say?  Are you using UDMA, 32bit, multi-IO etc?

Also, take a look at top when doing the large transfer.  If you get hi hi
and wa values (40% or higher) the problem is probably hardware related. 
Currently my wa and hi values combined when doing a large transfer are
about 80%.

I was only getting 1.5MB/sec when I first upgraded to FC3.  Then I
modified hdparm and now I get about 18MB/sec.  This still isn't the best
that the hard drives can do, but it's the best my mobo/CPU can.  Next I'm
going to upgrade those and see what I can get.

If any of this info is in error, please someone let me know.

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


[Samba] Tom Gable ettain group

2005-04-28 Thread Thomas Gable


Hello there-
 
I hope you do not mind this email, as I am trying to reach a talented ClearCase 
professional. I am a business development manager for a technical consulting 
form called ettain group, and hope you will peruse the description below.
 
In the event that Jacksonville is not a market of interest to you, please feel 
free to make any suggestions of how I can locate talented ClearCase 
professionals ...
 
Thanks for your time,
tom gable
 
 
 


business development manager
[EMAIL PROTECTED]

 

ettain group
9432 Baymeadows Rd
Suite 210
Jacksonville, FL 32256

 

904 | 739 | 7331   phone
800 | 687 | 1720   toll free

www.ettaingroup.com

 

technology | people | solutions



 


Job Title:

ClearCase Mentor (Senior Level)

 



This will be a 3-4 month assignment, with the opportunity for a permanent 
position.

 

Required Skills:

* 10 years technical experience

* Strong ClearCase experience

* Proven experience deploying Clearcase in large development environments

* Rational Unified Process

* Extensive software development experience

* Experience with Windows 2000 and Unix platforms

* Must have strong communication skills, written and verbal.

 

Job Description:

The Rational tools are already installed. Client will have ClearQuest fully 
deployed in May. Client has successfully deployed ClearCase to a few smaller 
applications. Client is looking for someone with strong ClearCase skills to 
help them with deploying it in a large application environment. The person 
needs to have implemented ClearCase before in a couple of large environments 
and be well versed in the product and problems associated with a large 
deployment. Client will be looking for this person to help train and mentor 
their staff, and to validate and assist in the deployment.

 

 

 

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

RE: [Samba] Mirrored samba servers.

2005-04-28 Thread Nathan Vidican
We're running a similar setup here actually, so a few notes that may be of
assistance to you are as follows:

#1 - RAID 0 + RAID 1 is poor for performance, if you want striping and
mirroring together you should probably be looking to some sort of parity
striping mode like RAID 5. We're using 3Ware Escalade 9000 series
controllers to do just that now with WDC 250GB Raid-Edition Serial ATA
drives now, and have been for quite some time. Performance is beyond our
expectations and reliability has been key.

#2 - Quit copying /etc/passwd, group, etc! Yuck... Try looking into
pam_ldap, nss_ldap, and samba/ldap configuration. OpenLDAP (free, open
sourced LDAP server), has replication services built right in, and can store
your users, passwords, mappings, and much more with full failover
capability. We're running FreeBSD/64bit, (on AMD Opteron machines), using a
primary/slave LDAP configuration wherein data changes are replicated
automagically using 'slurpd' - it was quite easy to setup and all the
necessary documentation exists on http://www.openldap.org/ - all of this
stuff comes 'standard' out of the box in the FreeBSD ports collection too :)

#3 - Along with your new LDAP-based database of users, passwords, groups,
mappings, etc, you might want to take a look at using some nice graphical
user management system - just simplify life for yourself if you're not
overly familiar with modifying entries in an LDAP tree - try LAM
(http://lam.sf.net/) - it's been great and I'm usuing it at several
installations now.

#4 - pam_ldap  nss_ldap (mentioned above) - will allow you to use the same
account information stored in the ldap database for BOTH unix and Windows
worlds - signle sign on is key :)

#5 - Setup samba for primary domain control, and setup the second machine
for secondary (BDC) services. We maintain the same shares on both machines,
and two dirs for login scripts; should the primary server fail for some
reason, the login scripts are over-written by the second set which maps all
the same drive letters over to the second server - not entirely transparent
mind you, but worst-case scenario if the main server goes out, is that users
logoff and back on and continue where they left off from half hour ago (data
replicated using rsync as well).

#6 - last advantage to this setup, involves a bit more complexity, but you
can device the load/shares out amongst the two servers and replicate
data/login scripts in both directions (as we're doing) - so your 'backup'
server is actually primary for some shares and vice-versa to the main
server, effectively distributing the load.

#7 - split your smb.conf files; keep one for PDC, one for BDC, and one for
all the shares that they replicate/share for each other - that way you can
rsync shares configuration file without changing the whole smb.conf file
(just use an 'include' line to include the shares from the main smb.conf's).

#8 - use CUPS; CUPS will replicate the printers across both servers and
allow for fail-over design as well... Still working on how 'transparent' we
can make this - so I won't feed you any details or bull about cause' I
really havn't tested it well yet.

All-in-all, not a pure 'High Availability' solution; but given a complete
catastrophic failure of our main/primary server, we can be back up and
running to within a half hour's data in less than a minute if need be -
fairly impressive, and definetly noteworthy.

Lot of food for thought, know this stuff can be overwhelming... Might send
an email back to the list with further details after you do some reading;
ie: what O/S you're using, LDAP/etc questions etc... Trust me, after having
done three of these setups now myself it's worth the effort. Good place to
start is the Samba Domain Control How-To, (which DOES explain
LDAP+samba+nss_ldap integration and provide example configuration files).

--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Richmond Dyes
Sent: Thursday, April 28, 2005 8:17 AM
To: samba@lists.samba.org
Subject: [Samba] Mirrored samba servers.


I have a customer that is using 250 gig drives for his business data.  I
have been using rsync to keep mirror copies of his data on a second
machine.  In the last 3 months I have lost 2 of four drives, the last
one being the system drive.  I have been doing a manual switchover. Each
time rsync runs, I copy my samba conf files, passwd, shadow and group
files from etc.  Has anyone setup a HA configuration for samba servers
on separate machines. If so, where can I get information for this kind
of setup?

--
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] SOS (seting up SWAP)

2005-04-28 Thread John H Terpstra
On Thursday 28 April 2005 11:56, you wrote:
 Hi John:
 Why not put agree betwen you, someone of samba.org answered me:
 The smbstatus command will help you do this. It's better to ask questions
 like this on the main [EMAIL PROTECTED] mailing list.
 And now you ask me that I have to pay??? what are the discusion lists??? I
 alway think (betwen another things) that they are to help people. May be
 Am'I in the wrong list??
 Thank you for your unhelpfulnes

Marta,

I apologise if in any way my email was offensive to you. That was not my 
intent. My intent was to point you to a source of rapid help in case your 
need is urgent enough that at all costs you need a solution.

I can see that I have upset you. It seems that what was offered in the best of 
interests has upset you.

If I understand correctly, you first asked for help on the samba-technical 
mailing list. That list is purely for the samba developers to discuss design 
aspects of Samba development. The [EMAIL PROTECTED] mailing list is the general 
public list.

As with all user supported software mailing lists, there is no guarantee that 
anyone will answer your request. No-one gets paid for assistance given on the 
mailing list - all help given is free and voluntary. No-one is responsible to 
answer your requests.

There are a number of companies that provide paid-for support. I pointed you 
at that source in case you have an urgent need. I cared enough to not cause 
your request to go unanswered - particularly since you started to push for an 
answer.

Your request to the [EMAIL PROTECTED] list is to the correct list.

- John T.

 Marta

 John H Terpstra wrote:
  Hi,
 
  We saw your question from the first posting. This is a user-supported
  list. We are all rather busy with our normal work. If your need is urgent
  you may want to consider paid support. Details of paid for support
  providers are available from the Samba web site.
 
  On Wednesday 27 April 2005 14:23, Marta R. Lozano wrote:
   Hi:
   My english is very bad but I will try to explain that it We need. We
   work at Library of
   Ministry of Economy.
   We use one Linux Server with Samba 3.07 (mainly it has data files,
   CDS/ISIS
   databases and It application (from Unesco)).
   Right now, the administrator are Information System's people from
   Ministry.We need in
   some case not only to track what user are connected and what files they
   are using, we
   need in special case to unconneted (o cut off the connection) because
   we need to up
   date some databases and If it is in use we couldn't to do this.
   So, The Information System's people set up SWAT for us, but this tool
   don't allow to
   unconnected users. It only allow to see the Home, Status, View
   ans Password.
   My question is: Is it possible, by configuration, to allow us to
   unconnected user from
 
  Yes, if you log into SWAT as the 'root' account. You will need to kill
  connections, not users.
 
   some files at option Status. If it is yes, please, tell us how they
   can do that.
 
  See above.
 
   And talking about Status: is possible to change the Refresh
   Interval´s seconds
   amonut??. And when one make Refresh why the date and time doesn't
   change.
 
  That will require some diagnostics work to find the answer. Your
  information is not sufficient to provide a meaningful answer at this
  time.
 
  - John T.
  --
  John H Terpstra
  Samba-Team Member
  Phone: +1 (650) 580-8668
 
  Author:
  The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
  Samba-3 by Example, ISBN: 0131472216
  Hardening Linux, ISBN: 0072254971
  Other books in production.
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] [revised] bad file number / dlopen failure (fwd)

2005-04-28 Thread Ben Kim

I found errors in my previous post. The
/usr/lib/security/pam_winbind.so_042605
should all read  /samba/source/nsswitch/pam_winbind.so. 

I also found that if I run an old binary (sshd 3.6.1p1), this problem goes
away. 

So a temporary fix for me is to use the old version, but it's not what I
can live with.

If there's anyone who runs sshd for windows users and is willing,
I'd like to hear about his/her experience.

==
READ AS:
Apr 28 08:43:58 bkim sshd[7609]: [ID 305314 local3.debug] load_modules:
/samba/source/nsswitch/pam_winbind.so
...





Thanks.


Ben Kim
Developer
College of Education 
Texas AM University






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


[Samba] Roaming profiles in domain level

2005-04-28 Thread Li, Ying (ESG)
Hi Everyone,

Does anybody use roaming profiles in domain level?

I'm looking for helps for setting up Samba as a NT4 domain member to
support roaming profiles for sharing during domain logon of Windows
clients. I ran into the problems. log files couldn't show specified
messages, except for BUFFER_TOO_SMALL. 

If a profile share directory is mounted on a Windows NT DC or a Windows
domain member, all Windows clients can successfully use roaming profiles
in that share during domain logon. If the profile share is mounted on a
Samba server that is a NT4 domain member, and successfully joined to the
domain, then all Windows client can save profiles to the share. But only
Windows NT clients can load roaming profiles from Samba. WinXP(SP1/SP2
and Win2K(SP4) couldn't download roaming profiles from Samba profiles
share.

I captured network traffics of domain logon for profiles stored on both
Windows and Samba domain members. By comparing behaviors, it looks Samba
couldn't handle the case well. I've tried both Samba2.2.12 and
samba3.0.7. All have the same problem. So 
I'm looking for others' experiences, and see if Samba has capability to
provide roaming profiles in domain level.

I have all log files or ethereal log files. If needed, I can send to you
as reference. Any hints or helps, it would be greatly appreciated. 

Thanks in advance.
-Ying Li

smb.conf
[global]
server string = Samba Serves as Roaming profiles
security = DOMAIN
workgroup = NT4_DOMAIN_NAME
password server = *
encrypt passwords = yes
log level = 10
log file = /var/opt/samba/log.%m
# followings for Samba3.0 only
idmap uid = 1-2
idmap gid = 1-2
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind separator = ;
[profiles]
path = /profiles
browseable = no
guest ok = yes

The directory /profiles is owned by root with 777 permission, and
includes all directories for a profile saved by Windows. On Windows DC,
setup profile path to \\sambaserver\profiles\username for all domain
users. 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] New list user, couple of questions and looking for existi ng examples

2005-04-28 Thread Geoff Scott
Chuck Campbell wrote:
 I'm a new list subscriber with a couple of questions:
 
 I have a few objectives with samba that I think can be accomplished. 
 If I am wrong, someone please indicate my errors before I go a long 
 way down a dead end path.
 
 I need to put all of my PC users home directories onto a samba share 
 so centralized backups can be done to capture email, docs, etc.
 These are all WinXP Pro boxes.  We use a work-group, and not a
 windows domain.   

Read the first few chapters of this:
http://www.samba.org/samba/docs/man/Samba-Guide/

Download the book in pdf ( there are links if you look on the main samba
site under a heading called LEARN SAMBA)

Or preferably work you way through the first few chapters, note down exactly
what you can't figure out, email [EMAIL PROTECTED] so that he can make the docs
better, then when the most recent version of the book is released onto the
bookshelves BUY IT, (fyi for 1 years full work, john has only made $11K US
on this book, which is just depressing.)  Like a lot of people on this list
I wouldn't be attempting to use Samba without documentaion as good as this.
John needs more support, not just whinging about the docs

 I need to ensure that those users files are accessible by only those 
 users.
 It appears that this means I need each user to have a Linux user 
 account on the samba server.  Is this correct?
 
 I need some groups of users to have a shared pool of r/w files, that 
 other
 group(s) cannot access.  I assume this requires using Linux group, 
 correct?
 
 Do my above re1uirements mean I need to learn about and implement 
 LDAP, or is there a simpler solution?

Unless you have distributed offices/ large numbers of users, you can get by
quite nicely with a tdbsam

 None of the printers and plotters is on a Linux box, they are all 
 attached to WinXP machines.  I believe I can still use Linux/samba as 
 a print server in some fashion??

Read the guide, read the guide, read the guide.

 Is there a general examples of ... available, besides the samba FAQ?

http://www.samba.org/samba/docs/man/Samba-Guide/

 Is there a search-able list archive (if so, where)?

I think there were instructions included with your welcome to the list email
message about how to use google to search the archives.

Also under the heading TALK SAMBA you should have seen the sub heading
ARCHIVES if you had clicked on that link you would have found this on that
page:  Search the Lists

Inportant: Currently the Samba mailing list archives hosted here on
samba.org do not support searching.

However, you can access a searchable copy of the archives at
http://marc.theaimsgroup.com/, groups.google.com, and mail-archive.com.

 thanks in advance,
 -chuck

We all start with baby steps.

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


[Samba] cannot write xls file after saving

2005-04-28 Thread Nerijus Baliunas
Hello,

I am using 3.0.15pre2. Share definitions:
[Grupes]
path = /home/Grupes
writeable = yes
admin users = DOMAIN+administrator
valid users = @DOMAIN+domain users
store dos attributes = yes
map hidden = no
map system = no
map archive = no
dos filemode = yes

File ACLs before opening:
# file: Pazymejimai-forma2.xls
# owner: root
# group: DOMAIN+domain\040users
user::rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---

I am user test2, which belongs to group DOMAIN+personalas.
When I open file and save it, I get the following message in Excel:

The document was saved successfully, but Excel cannot re-open it because
of a sharing violation. Please close the document and try to open it again.

ACLs now:
# file: Pazymejimai-forma2.xls
# owner: DOMAIN+test2
# group: DOMAIN+domain\040users
user::r--
user:root:rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---

I tried to add to share definition
create mask = 660
force create mode = 660
but it didn't help.

ACLs of a parent dir:
# file: Administravimas
# owner: root
# group: DOMAIN+domain\040users
user::rwx
user:DOMAIN+sigitak:rwx
group::---
group:DOMAIN+personalas:rwx
mask::rwx
other::---
default:user::rwx
default:user:DOMAIN+sigitak:rwx
default:group::---
default:group:DOMAIN+personalas:rwx
default:mask::rwx
default:other::---

Any ideas? Because now after each save of a first time opened file
I have to change user permissions to rw.

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


Re: [Samba] cannot write xls file after saving

2005-04-28 Thread Nerijus Baliunas
On Fri, 29 Apr 2005 04:48:09 +0300 (EEST) Nerijus Baliunas [EMAIL PROTECTED] 
wrote:

 I am using 3.0.15pre2.

Patch from MORIYAMA Masayuki in bug 2346 helped. Why isn't it
applied and bug is closed? If it was fixed in some other way it
seems the fix was incomplete.

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


Re: [Samba] Automatic creation of home directories

2005-04-28 Thread Tony Earnshaw
tor, 28.04.2005 kl. 20.09 skrev James Watkins:

 Hi all, after searching the archives of this list and extensive general 
 googling, I still haven't worked this problem out so I thought it was 
 time to join the list.
 I'm trying to make my samba server create home directories on-the-fly 
 when new users login.  As I understand it, the way to do this is to use 
 the mkhomedir module and enable obey pam restrictions in smb.conf. 
 The trouble is that I'm using domain security to allow existing domain 
 users to login which means I have to use encrypt passwords = yes. 
 Now, as I understand from the official samba howto:
 
 http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html
 
 pam is automatically ignored when encrypted passwords are used.
 So how do I resolve this conflict?
 And on a related matter, if I use pam_winbind to authenticate users of a 
 unix system against a windows domain controller does this mean that the 
 passwords are send unencrypted?
 
 Any suggestions would help to preserve my sanity.

With my Samba 3.0.13 (and previous back to 3.0.7 when i started) theres
a share possibility 'root prexec'. There you can enter scripts to run on
connecting to the share. You can write a tiny script to make home and
profile dirs on the fly, if they don't exist, based on users and groups,
and even chmod.

--Tonni

-- 
Nothing sucksseeds like a pigeon without a beak ...

mail: [EMAIL PROTECTED]
http://www.billy.demon.nl
 
They'll love us, won't they? They feed us, don't they? ...

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


[Samba] how to apply user must change password at next logon and expire password

2005-04-28 Thread Guido Lorenzutti
Hi people, i was experimenting with the pdbedit and i found the user 
must change password at next logon. The thing i wan't able to make it 
work. I just can login and im not asked to change my password! How's that?

The other thing.. i want to make my password expire after 30 days. I did 
this too, but it dosen't apply until i change my password one more time. 
I can make this if i want to apply this on my current samba with 300 
users if i can't force them to change the password or just expire the 
password after 30 days.

Any ideas?
Tnxs in advance.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Roaming profiles in domain level

2005-04-28 Thread Dirk.Laurenz
Hi,

Windows checks the security acl of a profile.
The user must be owner!

Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer

Fujitsu Siemens Computers
S CE DE SE PS N/O
Sales Central Europe Deutschland 
Professional Service Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:  +49 (511) 84 89 - 18 08
Telefax:+49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email:  mailto:[EMAIL PROTECTED]
Internet:   http://www.fujitsu-siemens.com
http://www.fujitsu-siemens.de/services/index.html
***
  

-|  -Original Message-
-|  From: 
-|  [EMAIL PROTECTED]
-|  rg 
-|  [mailto:[EMAIL PROTECTED]
-|  .samba.org] On Behalf Of Li, Ying (ESG)
-|  Sent: Friday, April 29, 2005 12:27 AM
-|  To: samba@lists.samba.org
-|  Subject: [Samba] Roaming profiles in domain level
-|  
-|  Hi Everyone,
-|  
-|  Does anybody use roaming profiles in domain level?
-|  
-|  I'm looking for helps for setting up Samba as a NT4 domain member to
-|  support roaming profiles for sharing during domain logon of Windows
-|  clients. I ran into the problems. log files couldn't show specified
-|  messages, except for BUFFER_TOO_SMALL. 
-|  
-|  If a profile share directory is mounted on a Windows NT DC 
-|  or a Windows
-|  domain member, all Windows clients can successfully use 
-|  roaming profiles
-|  in that share during domain logon. If the profile share is 
-|  mounted on a
-|  Samba server that is a NT4 domain member, and successfully 
-|  joined to the
-|  domain, then all Windows client can save profiles to the 
-|  share. But only
-|  Windows NT clients can load roaming profiles from Samba. 
-|  WinXP(SP1/SP2
-|  and Win2K(SP4) couldn't download roaming profiles from 
-|  Samba profiles
-|  share.
-|  
-|  I captured network traffics of domain logon for profiles 
-|  stored on both
-|  Windows and Samba domain members. By comparing behaviors, 
-|  it looks Samba
-|  couldn't handle the case well. I've tried both Samba2.2.12 and
-|  samba3.0.7. All have the same problem. So 
-|  I'm looking for others' experiences, and see if Samba has 
-|  capability to
-|  provide roaming profiles in domain level.
-|  
-|  I have all log files or ethereal log files. If needed, I 
-|  can send to you
-|  as reference. Any hints or helps, it would be greatly appreciated. 
-|  
-|  Thanks in advance.
-|  -Ying Li
-|  
-|  smb.conf
-|  [global]
-|  server string = Samba Serves as Roaming profiles
-|  security = DOMAIN
-|  workgroup = NT4_DOMAIN_NAME
-|  password server = *
-|  encrypt passwords = yes
-|  log level = 10
-|  log file = /var/opt/samba/log.%m
-|  # followings for Samba3.0 only
-|  idmap uid = 1-2
-|  idmap gid = 1-2
-|  winbind use default domain = yes
-|  winbind enum users = yes
-|  winbind enum groups = yes
-|  winbind separator = ;
-|  [profiles]
-|  path = /profiles
-|  browseable = no
-|  guest ok = yes
-|  
-|  The directory /profiles is owned by root with 777 permission, and
-|  includes all directories for a profile saved by Windows. On 
-|  Windows DC,
-|  setup profile path to \\sambaserver\profiles\username for all domain
-|  users. 
-|  -- 
-|  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


svn commit: samba r6506 - in branches/SAMBA_4_0/source/scripting/swig: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 06:36:00 + (Thu, 28 Apr 2005)
New Revision: 6506

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6506

Log:
Rename parameter to GetDomPwInfo.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samr.py


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samr.py
===
--- branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 05:09:30 UTC 
(rev 6505)
+++ branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 06:36:00 UTC 
(rev 6506)
@@ -195,11 +195,11 @@
 
 call_fn(dcerpc.dcerpc_samr_Shutdown, self.pipe, r)
 
-def GetDomPwInfo(self, system_name):
+def GetDomPwInfo(self, domain_name):
 
 r = dcerpc.samr_GetDomPwInfo()
 r.data_in.domain_name = dcerpc.samr_String()
-r.data_in.domain_name.string = system_name
+r.data_in.domain_name.string = domain_name
 
 call_fn(dcerpc.dcerpc_samr_GetDomPwInfo, self.pipe, r)
 



svn commit: samba r6507 - in branches/SAMBA_4_0/source/scripting/swig: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 07:05:48 + (Thu, 28 Apr 2005)
New Revision: 6507

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6507

Log:
Fix syntax error in GetAliasMembership().

Implement SetDomainInfo() which got lost somehow.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samr.py


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samr.py
===
--- branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 06:36:00 UTC 
(rev 6506)
+++ branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:05:48 UTC 
(rev 6507)
@@ -228,6 +228,16 @@
 
 return getattr(r.data_out.info, 'info%d' % level)   
 
+def SetDomainInfo(self, level, info):
+
+r = dcerpc.samr_SetDomainInfo()
+r.data_in.domain_handle = self.handle
+r.data_in.level = level
+r.data_in.info = dcerpc.samr_DomainInfo()
+setattr(r.data_in.info, 'info%d' % level, info)
+
+call_fn(dcerpc.dcerpc_samr_SetDomainInfo, self.pipe, r)
+
 def EnumDomainGroups(self):
 
 r = dcerpc.samr_EnumDomainGroups()
@@ -419,7 +429,7 @@
 
 call_fn(dcerpc.dcerpc_samr_GetAliasMembership, self.pipe, r)
 
-return [r.ids[x] x in range(r.count)]
+return [r.ids[x] for x in range(r.count)]
 
 class UserHandle(SamrHandle):
 



svn commit: samba r6508 - in branches/SAMBA_4_0/source/scripting/swig: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 07:22:21 + (Thu, 28 Apr 2005)
New Revision: 6508

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6508

Log:
Fix typo - yay testsuite.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samr.py


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samr.py
===
--- branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:05:48 UTC 
(rev 6507)
+++ branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:22:21 UTC 
(rev 6508)
@@ -344,7 +344,7 @@
 
 call_fn(dcerpc.dcerpc_samr_OpenGroup, self.pipe, r)
 
-return GroupHandle(pipe, r.data_out.group_handle)
+return GroupHandle(self.pipe, r.data_out.group_handle)
 
 def OpenAlias(self, rid, access_mask = 0x0200):
 



svn commit: samba r6509 - in branches/SAMBA_4_0/source/torture/rap: .

2005-04-28 Thread tridge
Author: tridge
Date: 2005-04-28 07:30:36 + (Thu, 28 Apr 2005)
New Revision: 6509

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6509

Log:
fixed a crash bug found by [EMAIL PROTECTED] in RPC-RAP test
(the call freed the memory it used to fill in the result structure)

Modified:
   branches/SAMBA_4_0/source/torture/rap/rap.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rap/rap.c
===
--- branches/SAMBA_4_0/source/torture/rap/rap.c 2005-04-28 07:22:21 UTC (rev 
6508)
+++ branches/SAMBA_4_0/source/torture/rap/rap.c 2005-04-28 07:30:36 UTC (rev 
6509)
@@ -207,6 +207,7 @@
 } while (0)
 
 static NTSTATUS smbcli_rap_netshareenum(struct smbcli_state *cli,
+   TALLOC_CTX *mem_ctx,
struct rap_NetShareEnum *r)
 {
struct rap_call *call;
@@ -241,8 +242,7 @@
NDR_OK(ndr_pull_uint16(call-ndr_pull_param, NDR_SCALARS, 
r-out.count));
NDR_OK(ndr_pull_uint16(call-ndr_pull_param, NDR_SCALARS, 
r-out.available));
 
-   r-out.info = talloc_array(call, union rap_shareenum_info,
-r-out.count);
+   r-out.info = talloc_array(mem_ctx, union rap_shareenum_info, 
r-out.count);
 
if (r-out.info == NULL) {
result = NT_STATUS_NO_MEMORY;
@@ -262,7 +262,7 @@
  (uint8_t 
*)r-out.info[i].info1.pad, 1));
NDR_OK(ndr_pull_uint16(call-ndr_pull_data,
   NDR_SCALARS, 
r-out.info[i].info1.type));
-   NDR_OK(rap_pull_string(call, call-ndr_pull_data,
+   NDR_OK(rap_pull_string(mem_ctx, call-ndr_pull_data,
   r-out.convert,
   r-out.info[i].info1.comment));
break;
@@ -280,11 +280,12 @@
 {
struct rap_NetShareEnum r;
int i;
+   TALLOC_CTX *tmp_ctx = talloc_new(cli);
 
r.in.level = 1;
r.in.bufsize = 8192;
 
-   if (!NT_STATUS_IS_OK(smbcli_rap_netshareenum(cli, r)))
+   if (!NT_STATUS_IS_OK(smbcli_rap_netshareenum(cli, tmp_ctx, r)))
return False;
 
for (i=0; ir.out.count; i++) {
@@ -293,10 +294,13 @@
   r.out.info[i].info1.comment);
}
 
+   talloc_free(tmp_ctx);
+
return True;
 }
 
 static NTSTATUS smbcli_rap_netserverenum2(struct smbcli_state *cli,
+ TALLOC_CTX *mem_ctx,
  struct rap_NetServerEnum2 *r)
 {
struct rap_call *call;
@@ -335,8 +339,7 @@
NDR_OK(ndr_pull_uint16(call-ndr_pull_param, NDR_SCALARS, 
r-out.count));
NDR_OK(ndr_pull_uint16(call-ndr_pull_param, NDR_SCALARS, 
r-out.available));
 
-   r-out.info = talloc_array(call, union rap_server_info,
-r-out.count);
+   r-out.info = talloc_array(mem_ctx, union rap_server_info, 
r-out.count);
 
if (r-out.info == NULL) {
result = NT_STATUS_NO_MEMORY;
@@ -358,7 +361,7 @@
  
r-out.info[i].info1.version_minor, 1));
NDR_OK(ndr_pull_uint32(call-ndr_pull_data,
   NDR_SCALARS, 
r-out.info[i].info1.servertype));
-   NDR_OK(rap_pull_string(call, call-ndr_pull_data,
+   NDR_OK(rap_pull_string(mem_ctx, call-ndr_pull_data,
   r-out.convert,
   r-out.info[i].info1.comment));
}
@@ -375,6 +378,7 @@
 {
struct rap_NetServerEnum2 r;
int i;
+   TALLOC_CTX *tmp_ctx = talloc_new(cli);
 
r.in.level = 0;
r.in.bufsize = 8192;
@@ -382,7 +386,7 @@
r.in.servertype = 0x8000;
r.in.domain = NULL;
 
-   if (!NT_STATUS_IS_OK(smbcli_rap_netserverenum2(cli, r)))
+   if (!NT_STATUS_IS_OK(smbcli_rap_netserverenum2(cli, tmp_ctx, r)))
return False;
 
for (i=0; ir.out.count; i++) {
@@ -398,6 +402,8 @@
}
}
 
+   talloc_free(tmp_ctx);
+
return True;
 }
 



svn commit: samba r6510 - in branches/SAMBA_4_0/source/scripting/swig: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 07:44:49 + (Thu, 28 Apr 2005)
New Revision: 6510

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6510

Log:
Initialise rid parameter in samr_RidToSid().  This is faulting for me
on win2k - not sure why.

Add dodgy implementations of QueryDisplayInfo{,2,3}()

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samr.py


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samr.py
===
--- branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:30:36 UTC 
(rev 6509)
+++ branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:44:49 UTC 
(rev 6510)
@@ -374,6 +374,7 @@
 
 r = dcerpc.samr_RidToSid()
 r.data_in.domain_handle = self.handle
+r.data_in.rid = rid
 
 call_fn(dcerpc.dcerpc_samr_RidToSid, self.pipe, r)
 
@@ -431,6 +432,61 @@
 
 return [r.ids[x] for x in range(r.count)]
 
+def QueryDisplayInfo(self, level):
+
+# TODO: Handle more data returns
+
+r = dcerpc.samr_QueryDisplayInfo()
+r.data_in.domain_handle = self.handle
+r.data_in.level = level
+r.data_in.start_idx = 0
+r.data_in.max_entries = 1000
+r.data_in.buf_size = -1
+
+call_fn(dcerpc.dcerpc_samr_QueryDisplayInfo, self.pipe, r)
+
+# TODO: Return a mapping of the various samr_DispInfo
+# structures here.
+
+return getattr(r.data_out.info, 'info%d' % level)
+
+def QueryDisplayInfo2(self, level):
+
+# TODO: Handle more data returns
+
+r = dcerpc.samr_QueryDisplayInfo2()
+r.data_in.domain_handle = self.handle
+r.data_in.level = level
+r.data_in.start_idx = 0
+r.data_in.max_entries = 1000
+r.data_in.buf_size = -1
+
+call_fn(dcerpc.dcerpc_samr_QueryDisplayInfo2, self.pipe, r)
+
+# TODO: Return a mapping of the various samr_DispInfo
+# structures here.
+
+return getattr(r.data_out.info, 'info%d' % level)
+
+def QueryDisplayInfo3(self, level):
+
+# TODO: Handle more data returns
+
+r = dcerpc.samr_QueryDisplayInfo3()
+r.data_in.domain_handle = self.handle
+r.data_in.level = level
+r.data_in.start_idx = 0
+r.data_in.max_entries = 1000
+r.data_in.buf_size = -1
+
+call_fn(dcerpc.dcerpc_samr_QueryDisplayInfo3, self.pipe, r)
+
+# TODO: Return a mapping of the various samr_DispInfo
+# structures here.
+
+return getattr(r.data_out.info, 'info%d' % level)
+
+
 class UserHandle(SamrHandle):
 
 def DeleteUser(self):
@@ -576,17 +632,13 @@
 # SetUserInfo
 # ChangePasswordUser
 # GetGroupsForUser
-# QueryDisplayInfo
 # GetDisplayEnumerationIndex
 # TestPrivateFunctionsDomain
 # TestPrivateFunctionsUser
 # GetUserPwInfo
 # RemoveMemberFromForeignDomain
-# QueryDomainInfo2
 # QueryUserInfo2
-# QueryDisplayInfo2
 # GetDisplayEnumerationIndex2
-# QueryDisplayInfo3
 # RemoveMultipleMembersFromAlias
 # OemChangePasswordUser2
 # ChangePasswordUser2



svn commit: samba r6511 - in branches/SAMBA_4_0/source/scripting/swig: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 07:51:41 + (Thu, 28 Apr 2005)
New Revision: 6511

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6511

Log:
Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().

Modified:
   branches/SAMBA_4_0/source/scripting/swig/samr.py


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/samr.py
===
--- branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:44:49 UTC 
(rev 6510)
+++ branches/SAMBA_4_0/source/scripting/swig/samr.py2005-04-28 07:51:41 UTC 
(rev 6511)
@@ -497,8 +497,36 @@
 call_fn(dcerpc.dcerpc_samr_DeleteUser, self.pipe, r)
 
 self.handle = None
-
 
+def GetUserPwInfo(self):
+
+r = dcerpc.samr_GetUserPwInfo()
+r.data_in.user_handle = self.handle
+
+call_fn(dcerpc.dcerpc_samr_GetUserPwInfo, self.pipe, r)
+
+return r.data_out.info
+
+def QueryUserInfo(self, level):
+
+r = dcerpc.samr_QueryUserInfo()
+r.data_in.user_handle = self.handle
+r.data_in.level = level
+
+call_fn(dcerpc.dcerpc_samr_QueryUserInfo, self.pipe, r)
+
+return r.data_out.info
+
+def QueryUserInfo2(self, level):
+
+r = dcerpc.samr_QueryUserInfo2()
+r.data_in.user_handle = self.handle
+r.data_in.level = level
+
+call_fn(dcerpc.dcerpc_samr_QueryUserInfo2, self.pipe, r)
+
+return r.data_out.info
+
 class GroupHandle(SamrHandle):
 pass
 
@@ -603,7 +631,6 @@
 
 return ConnectHandle(pipe, r.data_out.connect_handle)
 
-
 def Connect5(pipe, system_name = '', access_mask = 0x0200):
 
 r = dcerpc.samr_Connect5()
@@ -628,16 +655,13 @@
 # AddAliasMember
 # DeleteAliasMember
 # GetMembersinAlias
-# QueryUserInfo
 # SetUserInfo
 # ChangePasswordUser
 # GetGroupsForUser
 # GetDisplayEnumerationIndex
 # TestPrivateFunctionsDomain
 # TestPrivateFunctionsUser
-# GetUserPwInfo
 # RemoveMemberFromForeignDomain
-# QueryUserInfo2
 # GetDisplayEnumerationIndex2
 # RemoveMultipleMembersFromAlias
 # OemChangePasswordUser2



svn commit: samba r6512 - in branches/SAMBA_4_0/source/scripting/swig/torture: .

2005-04-28 Thread tpot
Author: tpot
Date: 2005-04-28 07:52:32 + (Thu, 28 Apr 2005)
New Revision: 6512

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6512

Log:
Refactor samr torture test to use the nicer OO interface instead of the
previous dictionary based SWIG interface (which was broken anyway).

Modified:
   branches/SAMBA_4_0/source/scripting/swig/torture/torture_samr.py


Changeset:
Sorry, the patch is too large (733 lines) to include; please use WebSVN to see 
it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6512


svn commit: samba-docs r517 - in trunk/manpages: .

2005-04-28 Thread jht
Author: jht
Date: 2005-04-28 14:53:39 + (Thu, 28 Apr 2005)
New Revision: 517

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=517

Log:
Fixing typo.
Modified:
   trunk/manpages/pdbedit.8.xml


Changeset:
Modified: trunk/manpages/pdbedit.8.xml
===
--- trunk/manpages/pdbedit.8.xml2005-04-28 04:38:39 UTC (rev 516)
+++ trunk/manpages/pdbedit.8.xml2005-04-28 14:53:39 UTC (rev 517)
@@ -178,7 +178,7 @@
modifing a user account. It will specify the user's logon
script path./para
 
-   paraExample: command-s 
BERSERKER\\netlogon\\sorce.bat/command
+   paraExample: command-S 
BERSERKER\\netlogon\\sorce.bat/command
/para
/listitem
/varlistentry



svn commit: samba r6513 - in branches/SAMBA_4_0/source/lib/talloc: .

2005-04-28 Thread vlendec
Author: vlendec
Date: 2005-04-28 14:54:17 + (Thu, 28 Apr 2005)
New Revision: 6513

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6513

Log:
Commit talloc_free_children.

Volker

Modified:
   branches/SAMBA_4_0/source/lib/talloc/talloc.c
   branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.c
===
--- branches/SAMBA_4_0/source/lib/talloc/talloc.c   2005-04-28 07:52:32 UTC 
(rev 6512)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.c   2005-04-28 14:54:17 UTC 
(rev 6513)
@@ -461,7 +461,43 @@
return ptr;
 }
 
+/*
+  this is a replacement for the Samba3 talloc_destroy_pool functionality. It
+  should probably not be used in new code. It's in here to keep the talloc
+  code consistent across Samba 3 and 4.
+*/
+void talloc_free_children(void *ptr)
+{
+   struct talloc_chunk *tc;
 
+   if (ptr == NULL) {
+   return;
+   }
+
+   tc = talloc_chunk_from_ptr(ptr);
+
+   while (tc-child) {
+   /* we need to work out who will own an abandoned child
+  if it cannot be freed. In priority order, the first
+  choice is owner of any remaining reference to this
+  pointer, the second choice is our parent, and the
+  final choice is the null context. */
+   void *child = tc-child+1;
+   const void *new_parent = null_context;
+   if (tc-child-refs) {
+   struct talloc_chunk *p = 
talloc_parent_chunk(tc-child-refs);
+   if (p) new_parent = p+1;
+   }
+   if (talloc_free(child) == -1) {
+   if (new_parent == null_context) {
+   struct talloc_chunk *p = 
talloc_parent_chunk(ptr);
+   if (p) new_parent = p+1;
+   }
+   talloc_steal(new_parent, child);
+   }
+   }
+}
+
 /* 
free a talloc pointer. This also frees all child pointers of this 
pointer recursively
@@ -498,26 +534,7 @@
tc-destructor = NULL;
}
 
-   while (tc-child) {
-   /* we need to work out who will own an abandoned child
-  if it cannot be freed. In priority order, the first
-  choice is owner of any remaining reference to this
-  pointer, the second choice is our parent, and the
-  final choice is the null context. */
-   void *child = tc-child+1;
-   const void *new_parent = null_context;
-   if (tc-child-refs) {
-   struct talloc_chunk *p = 
talloc_parent_chunk(tc-child-refs);
-   if (p) new_parent = p+1;
-   }
-   if (talloc_free(child) == -1) {
-   if (new_parent == null_context) {
-   struct talloc_chunk *p = 
talloc_parent_chunk(ptr);
-   if (p) new_parent = p+1;
-   }
-   talloc_steal(new_parent, child);
-   }
-   }
+   talloc_free_children(ptr);
 
if (tc-parent) {
_TLIST_REMOVE(tc-parent-child, tc);

Modified: branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt
===
--- branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt   2005-04-28 
07:52:32 UTC (rev 6512)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt   2005-04-28 
14:54:17 UTC (rev 6513)
@@ -106,6 +106,14 @@
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+int talloc_free_children(void *ptr);
+
+The talloc_free_children() walks along the list of all children of a
+talloc context and talloc_free()s only the children, not the context
+itself.
+
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 void *talloc_reference(const void *context, const void *ptr);
 
 The talloc_reference() function makes context an additional parent



svn commit: samba-web r651 - in trunk/news/announcements: .

2005-04-28 Thread deryck
Author: deryck
Date: 2005-04-28 15:21:49 + (Thu, 28 Apr 2005)
New Revision: 651

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=651

Log:
Adding news item announcing Linux CIFS client 1.34.

deryck

Added:
   trunk/news/announcements/cifs_client_1.34.html


Changeset:
Added: trunk/news/announcements/cifs_client_1.34.html
===
--- trunk/news/announcements/cifs_client_1.34.html  2005-04-28 02:17:26 UTC 
(rev 650)
+++ trunk/news/announcements/cifs_client_1.34.html  2005-04-28 15:21:49 UTC 
(rev 651)
@@ -0,0 +1,30 @@
+h3a name=linux_cifs_client_1.34Improved Linux CIFS Client 1.34 
Released/a/h3 
+
+div class=article
+  pThe 1.34 version of the CIFS client has been released. This version i
+ includes many improvements:/p
+
+  ul
+liNT 4 servers are now better supported./li
+liA umount.cifs user mount helper has been added./li
+liThe cifs client can now optionally handle some of the reserved 
+characters (such as colon) in filenames./li
+liA key client file caching bug was fixed./li
+liStability under stress is much improved./li
+liMemory allocations by the client have been significantly reduced in
+the receive path, greatly improving (in some cases ten fold) 
+performance under stress scenarios such as dbench./li
+  /ul
+
+  pSee the changelog fs/cifs/CHANGES and fs/cifs/README for additional 
+  details./p
+
+  pDownload instructions, including replacement cifs files for a few 
+  common kernels, can be found at the 
+  a href=http://linux-cifs.samba.org/;project page/a./p
+
+  pThis version has been submitted for inclusion in future Linux 
+  mainline kernels. /p
+/div
+
+   



svn commit: samba-web r652 - in trunk/news/team: .

2005-04-28 Thread deryck
Author: deryck
Date: 2005-04-28 16:06:26 + (Thu, 28 Apr 2005)
New Revision: 652

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=652

Log:
Adding news item on Volker's interview with golem.de.

deryck

Added:
   trunk/news/team/vl_golem_interview.html


Changeset:
Added: trunk/news/team/vl_golem_interview.html
===
--- trunk/news/team/vl_golem_interview.html 2005-04-28 15:21:49 UTC (rev 
651)
+++ trunk/news/team/vl_golem_interview.html 2005-04-28 16:06:26 UTC (rev 
652)
@@ -0,0 +1,17 @@
+h3a name=vl_golem_interviewVolker Lendecke Interviewed/a/h3 
+
+div class=article
+  pGerman IT news site a href=http://www.golem.de/;golem.de/a is
+  running an interview with our very own Volker Lendecke.  In the
+  interview Volker discusses Samba4 development.  Volker speaks about the
+  timeline for Samba4 development, its LDAP backend, and Samba's usefulness
+  in Unix to Unix file sharing./p
+
+  pThe interview is in German and is available 
+  a href=http://www.golem.de/0504/37762.html;here/a.
+  (Or a 
href=http://google.com/translate?u=http%3A%2F%2Fwww.golem.de%2F0504%2F37762.htmllangpair=de%7Cenhl=enie=UTF8;here/a,
+  in English via 
+  a href=http://www.google.com/translate;Google translate/a.)/p 
+/div
+
+   



svn commit: samba-web r654 - in trunk/news/team: .

2005-04-28 Thread deryck
Author: deryck
Date: 2005-04-28 19:38:29 + (Thu, 28 Apr 2005)
New Revision: 654

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=654

Log:
What a news day! :-)  Adding piece on jra's move to Novell.

deryck

Added:
   trunk/news/team/jra_to_novell.html


Changeset:
Added: trunk/news/team/jra_to_novell.html
===
--- trunk/news/team/jra_to_novell.html  2005-04-28 18:40:05 UTC (rev 653)
+++ trunk/news/team/jra_to_novell.html  2005-04-28 19:38:29 UTC (rev 654)
@@ -0,0 +1,18 @@
+h3a name=jra_to_novellJeremy Allison to Novell/a/h3 
+
+div class=article
+  pa href=http://news.com.com/;CNET news/a is reporting on Jeremy
+  Allison's move to Novell.  The piece begins:/p
+
+  blockquoteAllison previously worked for Hewlett-Packard. He said he 
+  made the switch because he believes that he can benefit from the 
+  experience Novell programmers have in the area of file servers. These 
+  guys know a lot about file sharing, said Allison, who starts the new 
+  job on Thursday./blockquote
+
+  pBest wishes to Jeremy during the transition!  And for the complete
+  article, see a 
href=http://news.com.com/Novell+hires+top+Samba+programmer+from+HP/2100-7344-5687627.html?part=dtxtag=ntoptag=nl.e703;Novell
 hires 
+  top Samba programmer from HP/a./p
+/div
+
+   



svn commit: samba-web r655 - in trunk/support: .

2005-04-28 Thread deryck
Author: deryck
Date: 2005-04-28 20:01:16 + (Thu, 28 Apr 2005)
New Revision: 655

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=655

Log:
Updating support info per Mandrake/Mandrive's request.

deryck

Modified:
   trunk/support/france.html


Changeset:
Modified: trunk/support/france.html
===
--- trunk/support/france.html   2005-04-28 19:38:29 UTC (rev 654)
+++ trunk/support/france.html   2005-04-28 20:01:16 UTC (rev 655)
@@ -107,30 +107,30 @@
 /small/pre
 
 
-!-- Added: 22 January 2005 --
+!-- Updated: 28 April 2005 --
 hr /
 presmall
-MANDRAKESOFT
+Mandriva (formerly Mandrakesoft)
 43 rue d'Aboukir
 75002 Paris
 France
-Email: a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a
+Email: a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a
 Tel: 33 1 40 41 00 41
 Fax: 33 1 40 41 92 00
 
-Mandrakesoft has become a significant player in the professional Samba world. 
+Mandriva (formerly Mandrakesoft) has become a significant player in the 
professional Samba world. 
 It has recently designed a unique tool for migrating Windows NT 4.0 servers 
 to Linux servers running Samba.
 Developed for the French Ministry of Agriculture and Ministry of Culture, the 
 migration kit is now being used in a number of very large server deployments 
-(over thousands). Mandrakesoft's professional services team are experienced 
+(over thousands).  Mandriva's professional services team are experienced 
 in handling mid to large-scale projects.
 /small/pre
 
 
 hr /
 presmall
-EDGE-IT  (Mandrakesoft Group):
+EDGE-IT  (Mandriva (formerly Mandrakesoft) Group):
 43 rue d'Aboukir
 75002 Paris
 France
@@ -138,8 +138,8 @@
 Tel: 33 1 40 41 17 65
 Fax: 33 1 40 41 17 80
 
-Edge-IT, a Mandrakesoft subsidiary, specializes in providing
-professional support to business and public sector customers.
+Edge-IT, a Mandriva (formerly Mandrakesoft) subsidiary, specializes in 
+providing professional support to business and public sector customers.
 Edge-IT offer several support formulas (annual contract including
 unlimited calls, incident based contract, seat contract ...)to fit specific 
 environments as well as possible. These formulas are made even more flexible 



svn commit: samba r6514 - in branches/SAMBA_3_0/source/client: .

2005-04-28 Thread sfrench
Author: sfrench
Date: 2005-04-28 22:28:11 + (Thu, 28 Apr 2005)
New Revision: 6514

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6514

Log:
Allow domain= to be specified in credentials file. Fix umount.cifs help, allow 
root to unmount someone
else's mount

Modified:
   branches/SAMBA_3_0/source/client/mount.cifs.c
   branches/SAMBA_3_0/source/client/umount.cifs.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/mount.cifs.c
===
--- branches/SAMBA_3_0/source/client/mount.cifs.c   2005-04-28 14:54:17 UTC 
(rev 6513)
+++ branches/SAMBA_3_0/source/client/mount.cifs.c   2005-04-28 22:28:11 UTC 
(rev 6514)
@@ -39,7 +39,7 @@
 #include fcntl.h
 
 #define MOUNT_CIFS_VERSION_MAJOR 1
-#define MOUNT_CIFS_VERSION_MINOR 7
+#define MOUNT_CIFS_VERSION_MINOR 8
 
 #ifndef MOUNT_CIFS_VENDOR_SUFFIX
 #define MOUNT_CIFS_VENDOR_SUFFIX 
@@ -185,13 +185,41 @@
} else
memset(mountpassword,0,64);
if(mountpassword) {
-   /* BB add handling for commas 
in password here */

strncpy(mountpassword,temp_val,length);
got_password = 1;
}
}
}
-   }
+} else if (strncasecmp(domain,line_buf+i,6) == 0) {
+temp_val = strchr(line_buf+i,'=');
+if(temp_val) {
+/* go past equals sign */
+temp_val++;
+   if(verboseflag)
+   printf(\nDomain %s\n,temp_val);
+for(length = 0;length65;length++) {
+if(temp_val[length] == '\n')
+break;
+}
+if(length  64) {
+printf(mount.cifs failed: domain in 
credentials file too long\n);
+if(mountpassword) {
+memset(mountpassword,0,64);
+}
+exit(1);
+} else {
+if(domain_name == NULL) {
+domain_name = calloc(65,1);
+} else
+memset(domain_name,0,64);
+if(domain_name) {
+
strncpy(domain_name,temp_val,length);
+got_domain = 1;
+}
+}
+}
+}
+
}
fclose(fs);
if(line_buf) {
@@ -888,6 +916,7 @@
break;
case 'd':
domain_name = optarg; /* BB fix this - currently 
ignored */
+   got_domain = 1;
break;
case 'p':
if(mountpassword == NULL)
@@ -1017,7 +1046,8 @@
 
if(user_name) {
/* check for syntax like user=domain\user */
-   domain_name = check_for_domain(user_name);
+   if(got_domain == 0)
+   domain_name = check_for_domain(user_name);
strncat(options,,user=,6);
strcat(options,user_name);
}

Modified: branches/SAMBA_3_0/source/client/umount.cifs.c
===
--- branches/SAMBA_3_0/source/client/umount.cifs.c  2005-04-28 14:54:17 UTC 
(rev 6513)
+++ branches/SAMBA_3_0/source/client/umount.cifs.c  2005-04-28 22:28:11 UTC 
(rev 6514)
@@ -37,7 +37,7 @@
 #include fstab.h
 
 #define UNMOUNT_CIFS_VERSION_MAJOR 0
-#define UNMOUNT_CIFS_VERSION_MINOR 3
+#define UNMOUNT_CIFS_VERSION_MINOR 4
 
 #ifndef UNMOUNT_CIFS_VENDOR_SUFFIX
 #define UNMOUNT_CIFS_VENDOR_SUFFIX 
@@ -93,6 +93,7 @@
printf(\n\tman 8 umount.cifs\n);
printf(\nTo display the version number of the cifs umount utility:);
printf(\n\t%s -V\n,thisprogram);
+   printf(\nNote that invoking the umount utility on cifs mounts, can 
execute /sbin/umount.cifs (if it is present and -i is not specified to 
umount).\n);
 }
 
 static int umount_check_perm(char * dir)
@@ -100,8 +101,11 @@
int fileid;
int rc;
 
+   /* allow root to unmount, no matter what */
+   if(getuid() == 0)
+   return 0;
+

svn commit: samba-docs r518 - in trunk/manpages: .

2005-04-28 Thread sfrench
Author: sfrench
Date: 2005-04-28 22:44:34 + (Thu, 28 Apr 2005)
New Revision: 518

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=518

Log:
Fix description of umount -i (it was backwards).

Modified:
   trunk/manpages/umount.cifs.8.xml


Changeset:
Modified: trunk/manpages/umount.cifs.8.xml
===
--- trunk/manpages/umount.cifs.8.xml2005-04-28 14:53:39 UTC (rev 517)
+++ trunk/manpages/umount.cifs.8.xml2005-04-28 22:44:34 UTC (rev 518)
@@ -31,7 +31,7 @@
paraumount.cifs unmounts a Linux CIFS filesystem. It can be invoked
 indirectly by the
 
citerefentryrefentrytitleumount/refentrytitlemanvolnum8/manvolnum/citerefentry
 command 
-when using the -i option. The umount.cifs command only works in Linux, and 
the kernel must
+when umount.cifs is in /sbin directory, unless you specify the -i option to 
umount.  Specifying -i to umount avoids execution of umount helpers such as 
umount.cifs. The umount.cifs command only works in Linux, and the kernel must
 support the cifs filesystem. The CIFS protocol is the successor to the 
 SMB protocol and is supported by most Windows servers and many other
 commercial servers and Network Attached Storage appliances as well as 



Build status as of Fri Apr 29 00:00:02 2005

2005-04-28 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2005-04-28 
00:00:29.0 +
+++ /home/build/master/cache/broken_results.txt 2005-04-29 00:00:19.0 
+
@@ -1,19 +1,18 @@
-Build status as of Thu Apr 28 00:00:02 2005
+Build status as of Fri Apr 29 00:00:02 2005
 
 Build counts:
 Tree Total  Broken Panic 
 ccache   37 3  0 
 distcc   37 2  0 
 ppp  21 1  0 
-rsync37 2  0 
+rsync37 1  0 
 samba1  1  1 
 samba-docs   0  0  0 
-samba4   39 20 0 
-samba_3_039 8  0 
+samba4   39 19 0 
+samba_3_039 5  0 
 
 Currently broken builds:
 Host   Tree Compiler   Status
-cyberone   rsyncgccok/ok/ok/ 2
 fusberta   samba4   gccok/ 2/?/? 
 samba-s390 samba4   gccok/ 2/?/? 
 rhonwynsamba4   gcc-4.0ok/ 2/?/? 
@@ -21,7 +20,6 @@
 rhonwynsamba4   tccok/ 2/?/? 
 shelob ccache   iccok/ok/ok/ 2
 aretnapccache   iccok/ok/ok/ 1
-aretnapsamba_3_0iccok/ok/ok/ 1
 gc4samba4   gccok/ 1/?/? 
 manhattan  samba4   cc ok/ 1/?/? 
 sbfsamba4   gccok/ 1/?/? 
@@ -34,10 +32,7 @@
 gwen   distcc   cc ok/ 1/?/? 
 gwen   samba4   cc ok/ 1/?/? 
 gwen   samba_3_0cc ok/ 1/?/? 
-us4samba4   cc  77/?/?/? 
-us4samba_3_0cc  77/?/?/? 
-us4samba4   gcc 77/?/?/? 
-us4samba_3_0gcc 77/?/?/? 
+us4samba4   cc ok/ 1/?/? 
 flock  samba4   gccok/ 1/?/? 
 shubnigurath   samba4   cc ok/ 1/?/? 
 gc20   samba4   gccok/ 2/?/?