Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Hubert Choma
Gaiseric Vandal  gmail.com> writes:

Hello
Thanks for help Gaiseric

Probably you misunderstood me Gaiseric.

I put 3 ware controller with new disks to test machine (gigabyte mobo). 
I have
installed Cenots with samba on raid 5 on this controller and I want to 
move this
discs with controller to server machine (Intel Server Board SE7320SP2)
Will linux (centos ) boot ???

I know that is 2 different motherboards so Anaconda will have to detect 
new
hardware and install appropriate drivers.

Another questions are:
- what filesystem will be most efficient ext2,ext3,ext4 or xfs ?
- what partition scheme use:
- sda - 3xWDC RE3 1GB -RAID5 / /boot /var/ /home (on home partition will 
be data
of samba users store)
- sdb - 3xWDC RE3 1GB /mnt/scans (on this partition will be stored scans 
(.tif)
the data for a large increase in)

So I do not understand your sentences:
"Don't use RAID5 for your /boot or OS slices.  If your raid
> configuration gets messed up the system can't boot."
Can you explain it ?? How to install boot when I have 6 disc (3 disc per 
raid5
unit?)

I dont' want to compile samba. I would like to use .rpm from centos or 
epel
repos and update samba via yum. Is there any version compatibile with 
Win 7 in
this repos ???

- Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this 
from
centos 5.5 repo ?

- How to set test machine to BDC (to copy user tdbsam and policies from 
PDC and
migrate to PDC ???)
I understand that the domain SID will remain the same and do not have to 
re-add
clients to domain ?

There is my config form fedora 7

# Global parameters
[global]
workgroup = geodezja
server string = Samba Server %v
interfaces = 10.10.10.0/255.255.255.0 127.0.0.1
bind interfaces only = Yes
;   encrypt passwords = yes
update encrypted = Yes
client ntlmv2 auth = yes
log level = 2 vfs:3 auth:2 passdb:3
log file = /var/log/samba/%U.%m.log
;   max log size = 5000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
# DRUKOWANIE
;   load printers = yes
;   printing = cups
printcap name = cups
#   cups options = raw

logon script = %G.CMD

logon path =
logon home =
domain logons = yes
os level = 128
preferred master = yes
domain master = yes
local master = yes

remote browse sync = none
remote announce = none
dns proxy = No
wins support = yes
name resolve order = wins bcast host
hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1
hosts deny = ALL
;   unix password sync = no
security = user
;   password level = 0
;   null passwords = no
deadtime = 0
map to guest = never
create mask = 0777
nt acl support = no
time server = yes
enable privileges = yes
passdb backend = tdbsam
username map = /etc/samba/smbusers
hide dot files = yes
guest ok = no
name cache timeout = 60
[homes]
comment = Home Directories
public = yes
;   available = yes
browseable = no
writable = yes
force create mode = 0775

[printers]
comment = drukarki
path = /var/spool/samba
browseable = no
;   guest ok = no
;   writable = Yes
printable = yes

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
;   browseable = yes
;   guest ok = no
writable = yes
write list = @domadm, root, hubert,
admin users = hubert

[tmp$]
comment = Smietnik
;   browseable = yes
writeable = yes
invalid users = geo1$,geo21$,@geodeta,@ewidencja,@zud
path = /home/samba/tmp
force create mode = 0777
valid users = 
@geo,@rastry,@praktykanci,@inspektor,@praktykanci_bez_zapisu,@skanery
vfs object = full_audit
full_audit:prefix = %u|%m|%I|%S
full_audit:success = open pwrite write rename unlink rmdir mkdir
full_audit:failure = read
#   nt acl support = yes
#   acl map full control = yes
#   admin users = @"GEODEZJA\Domain Admins"


[geo$]
comment = Mapa Numeryczna
#   level2oplocks = no
;   locking = yes
invalid users = @geodeta,@ewidencja,
write list = @geo
path = /home/samba/geo
force group = geo
force create mode = 0777
vfs object = recycle full_audit
recycle:repository = .recycle/%U
recycle:touch = true
recycle:keeptree = true
recycle:versions = false
recycle:exclude = *.TMP *.STP
recycle:directory_mode = 773
full_audit:prefix = %u|%m|%I|%S
full_audit:success = read pwrite write rename unlink rmdir mkdir lock 
pread
full_audit:failure = read write




[rastry$]
comment = Rastry
public = yes !!!
invalid users = @geodeta,@ewidencja,
path = /

Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Hubert Choma
John Drescher  gmail.com> writes:

> 
> > -  Don't use RAID5 for your /boot or OS slices.      If your raid
> > configuration gets messed up the system can't boot.   A messed up mirror is
> > easier to recover from.  RAID5 for your data is OK-  since at that point the
> > OS is up and running.     Some of my colleagues argue you shouldn't even use
> > a mirror for your /boot partition, but instead should just back it up to
> > another disk.
> >
> 
> At work I usually RAID 1 my 256 MB /boot with all the hard drives that
> are also in the raid5/6 arrays. This is usually 6 to 10 drives. On top
> of that I keep the OS on its own smaller raid 5/6. So my partitions on
> every disk are usually
> 
> boot raid 1 (over all disks)
> swap (seperate swap on all disks)
> root raid (raid 5/6 over all disks)
> data raid (raid 5/6 over all disks)
> 
> on top of the data raid I usually use lvm for simpler partitioning and
> spanning across a second raid if I choose to do that in the future.
> 
> John

Gaiseric Vandal  gmail.com> writes:

Hello 
Thanks for help Gaiseric

Probably you misunderstood me Gaiseric.

I put 3 ware controller with new disks to test machine (gigabyte mobo). I have
installed Cenots with samba on raid 5 on this controller and I want to move this
discs with controller to server machine (Intel Server Board SE7320SP2) 
Will linux (centos ) boot ??? 

I know that is 2 different motherboards so Anaconda will have to detect new
hardware and install appropriate drivers.

Another questions are:
- what filesystem will be most efficient ext2,ext3,ext4 or xfs ?
- what partition scheme use:
- sda - 3xWDC RE3 1GB -RAID5 / /boot /var/ /home (on home partition will be data
of samba users store)
- sdb - 3xWDC RE3 1GB /mnt/scans (on this partition will be stored scans (.tif)
the data for a large increase in)

So I do not understand your sentences:
"Don't use RAID5 for your /boot or OS slices.  If your raid 
> configuration gets messed up the system can't boot."
Can you explain it ?? How to install boot when I have 6 disc (3 disc per raid5
unit?)

I dont' want to compile samba. I would like to use .rpm from centos or epel
repos and update samba via yum. Is there any version compatibile with Win 7 in
this repos ???

- Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this from
centos 5.5 repo ?

- How to set test machine to BDC (to copy user tdbsam and policies from PDC and
migrate to PDC ???) 
I understand that the domain SID will remain the same and do not have to re-add
clients to domain ?

There is my config form fedora 7 

# Global parameters
[global]
workgroup = geodezja
server string = Samba Server %v
interfaces = 10.10.10.0/255.255.255.0 127.0.0.1
bind interfaces only = Yes
;   encrypt passwords = yes
update encrypted = Yes
client ntlmv2 auth = yes
log level = 2 vfs:3 auth:2 passdb:3
log file = /var/log/samba/%U.%m.log
;   max log size = 5000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
# DRUKOWANIE
;   load printers = yes
;   printing = cups
printcap name = cups
#   cups options = raw

logon script = %G.CMD

logon path = 
logon home = 
domain logons = yes
os level = 128
preferred master = yes
domain master = yes
local master = yes

remote browse sync = none
remote announce = none
dns proxy = No
wins support = yes
name resolve order = wins bcast host
hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1
hosts deny = ALL
;   unix password sync = no
security = user
;   password level = 0
;   null passwords = no
deadtime = 0
map to guest = never
create mask = 0777
nt acl support = no
time server = yes
enable privileges = yes
passdb backend = tdbsam
username map = /etc/samba/smbusers
hide dot files = yes
guest ok = no
name cache timeout = 60
[homes]
comment = Home Directories
public = yes
;   available = yes
browseable = no
writable = yes
force create mode = 0775

[printers]
comment = drukarki
path = /var/spool/samba
browseable = no
;   guest ok = no
;   writable = Yes
printable = yes

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
;   browseable = yes
;   guest ok = no
writable = yes
write list = @domadm, root, hubert,
admin users = hubert


[geo$]
comment = Mapa Numeryczna
#   level2oplocks = no
;   locking = yes
invalid users = @geodeta,@ewidencja,
write list = @geo
path = /home/samba/geo
force group = geo
force create mode = 0777
vfs object = recycle full_audit
recycle:repository = .recycle/%U
recycle:touch = true
recycle:keep

Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Götz Reinicke - IT-Koordinator
Hi,

Am 15.06.10 11:56, schrieb Hubert Choma:
> Hello
<...>
> - Whether the version of samba in Centos 5.5 is compatible with windows 
> 7 (standard centos 5.5 repos)

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Release_Notes/ar01s08.html

Topic Samba:

The Samba3x package set was originally introduced in the x86_64
Supplementary for the 5.4 release. In Red Hat Enterprise Linux 5.5,
Samba3x has been updated and is now supported  on all architectures.
Samba3x includes support for Microsoft® Windows™ 7 interoperability.

/Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Geschäftsführer:
Prof. Thomas Schadt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Götz Reinicke - IT-Koordinator
Am 16.06.10 10:33, schrieb Hubert Choma:
> Gaiseric Vandal  gmail.com> writes:
<...>
> - Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this 
> from centos 5.5 repo ?

e.g. Download the rpm and do a

rpm -qp --changelog PackageName.rpm |more

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Geschäftsführer:
Prof. Thomas Schadt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba 3.3.13 Security Release Available for Download

2010-06-16 Thread Karolin Seeger
Release Announcements
=

This is a security release in order to address CVE-2010-2063.


o  CVE-2010-2063:
   In Samba 3.3.x and below, a buffer overrun is possible in chain_reply code.


Changes since 3.3.12



o   Jeremy Allison 
* BUG 7494: Fix for CVE-2010-2063.


##
Reporting bugs & Development Discussion
###

Please discuss this release on the samba-technical mailing list or by
joining the #samba-technical IRC channel on irc.freenode.net.

If you do report problems then please try to send high quality
feedback. If you don't provide vital information to help us track down
the problem then you will probably be ignored.  All bug reports should
be filed under the Samba 3.3 product in the project's Bugzilla
database (https://bugzilla.samba.org/).


==
== Our Code, Our Bugs, Our Responsibility.
== The Samba Team
==



Download Details


The uncompressed tarballs and patch files have been signed
using GnuPG (ID 6568B7EA).  The source code can be downloaded
from:

http://download.samba.org/samba/ftp/

The release notes are available online at:

http://www.samba.org/samba/ftp/history/samba-3.3.13.html

Binary packages will be made available on a volunteer basis from

http://download.samba.org/samba/ftp/Binary_Packages/

Our Code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)

--Enjoy
The Samba Team




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

Re: [Samba] Microsoft OneNote 2007 painfully slow

2010-06-16 Thread Andrew Masterson

We have a user trying to share a OneNote 2007 notebook and it takes
minutes
to load a 20 KB notebook. I've opened a 500 KB Excel spreadsheet from
the
same share and it took seconds. Has anyone else run into this problem?
We
are running Samba 3.4.8 on Debian Squeeze.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University



---

When I have run into stuff like this it is because an application is
trying to modify security permissions on the files that it doesn't have
the right to (like with creater\owner, etc.).  Given that M$ is fond of
creating temporary lock files, etc. you may want to start looking there
first.

-=Andrew

 

I don't recall seeing any temp files like Word/Excel/etc 2007 (we ran
into that problem, in fact I still have a script running every 15
minutes to scan the file system and 'fix' the permissions). I'll watch
the directory as I open up the NoteBook and see if I can see any funny
business.

 

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University

 

 

-0-0-0-0-0-0-0-0-0-0-0-0-

 

Maybe also watch the perms on the file itself.  We ran into an issue
with Blackberry backups a while back where the Blackberry Desktop
Manager somehow managed to convince the windows server that was hosting
them to change the permissions on the backup file to the user _only_
having access.

 

What's really odd about this is that the users don't have permission to
change permissions, and System/Administrators should have full rights by
inheritance.  Yet somehow a remote workstation managed to convince
windoze to bypass inheritance and the non-ability to change security
permissions.

 

At least on a linux box root can still access/modify the files but I had
a hell of a time getting them off the windoze box.

 

-=Andrew

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


Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Gaiseric Vandal
If you are moving the RAID controller with the disks then it should be 
OK. And in that case using RAID5 should be OK for /boot.


You can also, with the 3ware, configure all the disks in a single RAID5 
(or maybe RAID5+1 or RAID6), and then use 3ware to create two separate 
LUN's (logical drives) so that the OS see's two separate scsi drives.  
This could let you allocate more disk space for your data "drive."



The latest samba rpm update  for RHEL5.x  is ver 3.0.33.It 
should be similar for CentOS.


Re changes between versions-  you will need to read through the release 
notes for the various versions.


I do not think ext4 is available on Centos.




On 06/16/2010 04:33 AM, Hubert Choma wrote:

Gaiseric Vandal  gmail.com>  writes:

Hello
Thanks for help Gaiseric

Probably you misunderstood me Gaiseric.

I put 3 ware controller with new disks to test machine (gigabyte mobo).
I have
installed Cenots with samba on raid 5 on this controller and I want to
move this
discs with controller to server machine (Intel Server Board SE7320SP2)
Will linux (centos ) boot ???

I know that is 2 different motherboards so Anaconda will have to detect
new
hardware and install appropriate drivers.

Another questions are:
- what filesystem will be most efficient ext2,ext3,ext4 or xfs ?
- what partition scheme use:
- sda - 3xWDC RE3 1GB -RAID5 / /boot /var/ /home (on home partition will
be data
of samba users store)
- sdb - 3xWDC RE3 1GB /mnt/scans (on this partition will be stored scans
(.tif)
the data for a large increase in)

So I do not understand your sentences:
"Don't use RAID5 for your /boot or OS slices.  If your raid
   

configuration gets messed up the system can't boot."
 

Can you explain it ?? How to install boot when I have 6 disc (3 disc per
raid5
unit?)

I dont' want to compile samba. I would like to use .rpm from centos or
epel
repos and update samba via yum. Is there any version compatibile with
Win 7 in
this repos ???

- Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this
from
centos 5.5 repo ?

- How to set test machine to BDC (to copy user tdbsam and policies from
PDC and
migrate to PDC ???)
I understand that the domain SID will remain the same and do not have to
re-add
clients to domain ?

There is my config form fedora 7

# Global parameters
[global]
workgroup = geodezja
server string = Samba Server %v
interfaces = 10.10.10.0/255.255.255.0 127.0.0.1
bind interfaces only = Yes
;   encrypt passwords = yes
update encrypted = Yes
client ntlmv2 auth = yes
log level = 2 vfs:3 auth:2 passdb:3
log file = /var/log/samba/%U.%m.log
;   max log size = 5000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
# DRUKOWANIE
;   load printers = yes
;   printing = cups
printcap name = cups
#   cups options = raw

logon script = %G.CMD

logon path =
logon home =
domain logons = yes
os level = 128
preferred master = yes
domain master = yes
local master = yes

remote browse sync = none
remote announce = none
dns proxy = No
wins support = yes
name resolve order = wins bcast host
hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1
hosts deny = ALL
;   unix password sync = no
security = user
;   password level = 0
;   null passwords = no
deadtime = 0
map to guest = never
create mask = 0777
nt acl support = no
time server = yes
enable privileges = yes
passdb backend = tdbsam
username map = /etc/samba/smbusers
hide dot files = yes
guest ok = no
name cache timeout = 60
[homes]
comment = Home Directories
public = yes
;   available = yes
browseable = no
writable = yes
force create mode = 0775

[printers]
comment = drukarki
path = /var/spool/samba
browseable = no
;   guest ok = no
;   writable = Yes
printable = yes

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
;   browseable = yes
;   guest ok = no
writable = yes
write list = @domadm, root, hubert,
admin users = hubert

[tmp$]
comment = Smietnik
;   browseable = yes
writeable = yes
invalid users = geo1$,geo21$,@geodeta,@ewidencja,@zud
path = /home/samba/tmp
force create mode = 0777
valid users =
@geo,@rastry,@praktykanci,@inspektor,@praktykanci_bez_zapisu,@skanery
vfs object = full_audit
full_audit:prefix = %u|%m|%I|%S
full_audit:success = open pwrite write rename unlink rmdir mkdir
full_audit:failure = read
#   nt acl support = yes
#   acl map full control = yes
#   admin users = @"GEODEZJA\Domain Admins"


[geo$]
comment = Mapa Numeryczna
#   level2oplocks = no
; 

Re: [Samba] samba migration to another llinux distro

2010-06-16 Thread Götz Reinicke - IT-Koordinator
Am 16.06.10 16:05, schrieb Gaiseric Vandal:
<...>


> I do not think ext4 is available on Centos.

The tools and kernelmodule are availabel, if it works I don't know ...

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Technical_Notes/chap-Technical_Notes-_Technology_Previews_.html

and

locate ext4dev.ko
/lib/modules/2.6.18-128.el5xen/kernel/fs/ext4/ext4dev.ko

and

rpm -qi e4fsprogs.x86_64
Name: e4fsprogs Relocations: (not relocatable)
Version : 1.41.9Vendor: CentOS
Release : 3.el5 Build Date: Mi 31 Mär 2010 07:36:12 CEST
Install Date: Mi 16 Jun 2010 16:16:58 CEST  Build Host: builder17.centos.org

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Geschäftsführer:
Prof. Thomas Schadt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba packages for debian squeeze

2010-06-16 Thread Robert LeBlanc
On Tue, Jun 15, 2010 at 10:40 PM, Christian PERRIER wrote:

> If they don't fail, actions made in postinst scripts are not
> logged. If they fail, the "apt-get install" or "aptitude install"
> command is expected to fail...
>
> You mention a machine that has 3.4.8 backproted package and no
> alternative.
>
> Can you try to manually run the command I mentioned in my previous
> post (as root, of course)?
>
> Can you also run "dpkg -L samba-common-bin" on that machine?
>
>
The update-alternative completed without any errors and the net command is
now successful. Here is the output from dpkg.

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/samba-common-bin
/usr/share/doc/samba-common-bin/NEWS.Debian.gz
/usr/share/doc/samba-common-bin/README.build.gz
/usr/share/doc/samba-common-bin/changelog.Debian.gz
/usr/share/doc/samba-common-bin/copyright
/usr/share/man
/usr/share/man/man7
/usr/share/man/man7/samba.7.gz
/usr/share/man/man8
/usr/share/man/man8/net.samba3.8.gz
/usr/share/man/man8/smbpasswd.8.gz
/usr/share/man/man5
/usr/share/man/man5/smb.conf.5.gz
/usr/share/man/man5/smbpasswd.5.gz
/usr/share/man/man5/lmhosts.5.gz
/usr/share/man/man1
/usr/share/man/man1/testparm.samba3.1.gz
/usr/share/man/man1/nmblookup.samba3.1.gz
/usr/bin
/usr/bin/smbpasswd
/usr/bin/net.samba3
/usr/bin/testparm.samba3
/usr/bin/nmblookup.samba3


Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Michael Wood
On 15 June 2010 23:00, Shirish Pargaonkar  wrote:
> On Tue, Jun 15, 2010 at 3:50 PM, Michael Wood  wrote:
>> On 15 June 2010 21:49, Shirish Pargaonkar  
>> wrote:
>>> I am building in source4.  Where are these symbols defined?  Is any
>>> library that is not getting linked?
>>
>> Those symbols are from zlib.  It seems that libz.a is found during
>> compilation and later libz.so.xxx is not found when trying to link
>> ldbadd.  libz.so.* would normally be found in /lib.  Is it not there?
>>
>>> samba/source4 # make
>>> WAF_MAKE=1 ../buildtools/bin/waf build
>>> Waf: Entering directory `/usr/src/bamba/samba/source4/bin'
>>> [1816/1961] Linking default/source4/lib/ldb/libldb-samba4.so
>>> [1908/1961] Linking default/source4/lib/ldb/ldbadd
>>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to `zError'
>>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to 
>>> `inflateReset'
>>> default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflate'
>> [...]
>>
>> --
>> Michael Wood 
>>
>
> Michael,
>
>  # ls /lib/libz*
> /lib/libz.so.1  /lib/libz.so.1.2.3

And what does this give you:

# ldd /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so

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


Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Shirish Pargaonkar
On Wed, Jun 16, 2010 at 10:26 AM, Michael Wood  wrote:
> On 15 June 2010 23:00, Shirish Pargaonkar  wrote:
>> On Tue, Jun 15, 2010 at 3:50 PM, Michael Wood  wrote:
>>> On 15 June 2010 21:49, Shirish Pargaonkar  
>>> wrote:
 I am building in source4.  Where are these symbols defined?  Is any
 library that is not getting linked?
>>>
>>> Those symbols are from zlib.  It seems that libz.a is found during
>>> compilation and later libz.so.xxx is not found when trying to link
>>> ldbadd.  libz.so.* would normally be found in /lib.  Is it not there?
>>>
 samba/source4 # make
 WAF_MAKE=1 ../buildtools/bin/waf build
 Waf: Entering directory `/usr/src/bamba/samba/source4/bin'
 [1816/1961] Linking default/source4/lib/ldb/libldb-samba4.so
 [1908/1961] Linking default/source4/lib/ldb/ldbadd
 default/source4/lib/ldb/libldb-samba4.so: undefined reference to `zError'
 default/source4/lib/ldb/libldb-samba4.so: undefined reference to 
 `inflateReset'
 default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflate'
>>> [...]
>>>
>>> --
>>> Michael Wood 
>>>
>>
>> Michael,
>>
>>  # ls /lib/libz*
>> /lib/libz.so.1  /lib/libz.so.1.2.3
>
> And what does this give you:
>
> # ldd 
> /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
>
> --
> Michael Wood 
>

/source4 # ldd 
/usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
linux-vdso.so.1 =>  (0x7fffcb9cf000)
libndr-standard.so.0 =>
/usr/local/samba/lib/libndr-standard.so.0 (0x7f8cf129f000)
libndr.so.0 => /usr/local/samba/lib/libndr.so.0 (0x7f8cf1008000)
libtdb-samba4.so.1 => /usr/local/samba/lib/libtdb-samba4.so.1
(0x7f8cf0df6000)
libtalloc-samba4.so.2 =>
/usr/local/samba/lib/libtalloc-samba4.so.2 (0x7f8cf0bee000)
libreplace.so => /usr/local/samba/lib/libreplace.so (0x7f8cf09e1000)
libsamba-hostconfig.so.0 =>
/usr/local/samba/lib/libsamba-hostconfig.so.0 (0x7f8cf07ca000)
libsamba-util.so.0 => /usr/local/samba/lib/libsamba-util.so.0
(0x7f8cf059b000)
libtevent-samba4.so.0 =>
/usr/local/samba/lib/libtevent-samba4.so.0 (0x7f8cf038d000)
libutil.so.1 => /lib64/libutil.so.1 (0x7f8cf0173000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x7f8ceff36000)
libdl.so.2 => /lib64/libdl.so.2 (0x7f8cefd31000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x7f8cefb19000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x7f8cef902000)
libc.so.6 => /lib64/libc.so.6 (0x7f8cef5a8000)
/lib64/ld-linux-x86-64.so.2 (0x7f8cf1eb4000)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Michael Wood
On 16 June 2010 17:37, Shirish Pargaonkar  wrote:
[...]
> /source4 # ldd 
> /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
>        linux-vdso.so.1 =>  (0x7fffcb9cf000)
>        libndr-standard.so.0 =>
> /usr/local/samba/lib/libndr-standard.so.0 (0x7f8cf129f000)
>        libndr.so.0 => /usr/local/samba/lib/libndr.so.0 (0x7f8cf1008000)
>        libtdb-samba4.so.1 => /usr/local/samba/lib/libtdb-samba4.so.1
> (0x7f8cf0df6000)
>        libtalloc-samba4.so.2 =>
> /usr/local/samba/lib/libtalloc-samba4.so.2 (0x7f8cf0bee000)
>        libreplace.so => /usr/local/samba/lib/libreplace.so 
> (0x7f8cf09e1000)
>        libsamba-hostconfig.so.0 =>
> /usr/local/samba/lib/libsamba-hostconfig.so.0 (0x7f8cf07ca000)
>        libsamba-util.so.0 => /usr/local/samba/lib/libsamba-util.so.0
> (0x7f8cf059b000)
>        libtevent-samba4.so.0 =>
> /usr/local/samba/lib/libtevent-samba4.so.0 (0x7f8cf038d000)
>        libutil.so.1 => /lib64/libutil.so.1 (0x7f8cf0173000)
>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x7f8ceff36000)
>        libdl.so.2 => /lib64/libdl.so.2 (0x7f8cefd31000)
>        libnsl.so.1 => /lib64/libnsl.so.1 (0x7f8cefb19000)
>        libresolv.so.2 => /lib64/libresolv.so.2 (0x7f8cef902000)
>        libc.so.6 => /lib64/libc.so.6 (0x7f8cef5a8000)
>        /lib64/ld-linux-x86-64.so.2 (0x7f8cf1eb4000)

OK, I don't know why that is.  On my test machine I have this:

$ ldd /usr/local/samba/lib/libldb-samba4.so.0 | grep libz
libz.so.1 => /usr/lib/libz.so.1 (0x2d565000)

That's with Version 4.0.0alpha12-GIT-a4a127e.

(On that system libz.so.* is in /usr/lib instead of /lib, but that
should not cause any difference.)

Maybe try updating your git repository and see if it compiles for you
now.  Otherwise maybe report this on the samba-technical list and see
if anyone there knows what the problem is.

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


Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 ????

2010-06-16 Thread Wikked one

I'm still hoping for hints,suggestions,this should work shouldn't it?

> From: wikk...@hotmail.com
> To: gaiseric.van...@gmail.com; samba@lists.samba.org
> Date: Tue, 15 Jun 2010 16:02:47 +
> Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> 
> 
> Log file from PDC Domain A attached.
> Any suggestions??
> 
> > From: wikk...@hotmail.com
> > To: gaiseric.van...@gmail.com; samba@lists.samba.org
> > Date: Mon, 14 Jun 2010 16:47:28 +
> > Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > 
> > 
> > I have set those parameters as you suggested without NT4 problems.
> > This has had no effect on the trust relationship, I still get the same 
> > message.
> > I can submit a log file from DomainA,if it would help?
> > 
> > > Date: Mon, 14 Jun 2010 11:45:29 -0400
> > > From: gaiseric.van...@gmail.com
> > > To: samba@lists.samba.org
> > > Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > > 
> > > lanman and plaintext auth should only be needed if you are support 
> > > Windows 95/98 machines. NT 4 with SP6 should not require this.   So 
> > > I would first disable lanman and plaintext on Domain A, and make sure it 
> > > has not broken authentication with your NT4 machine.
> > > 
> > > 
> > > 
> > > On 06/14/2010 11:39 AM, Wikked one wrote:
> > > > There are some differences when I run testparm -v.
> > > > PDC for Domain A
> > > > lanman auth=Yes
> > > > ntlm auth=Yes
> > > > client NTMLv2=No
> > > > client lanman auth=Yes
> > > > client plaintext auth=Yes
> > > >
> > > > PDC for Domain B
> > > > lanman auth=No
> > > > ntlm auth=Yes
> > > > client NTMLv2=No
> > > > client lanman auth=No
> > > > client plaintext auth=No
> > > >
> > > >
> > > >
> > > >
> > > > > From: gaiseric.van...@gmail.com
> > > > > To: samba@lists.samba.org
> > > > > Date: Sun, 13 Jun 2010 21:31:58 -0400
> > > > > Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > > > >
> > > > > If you run "testparm -v" on each, are the encryption parameters 
> > > > (NTLM etc)
> > > > > the same?
> > > > >
> > > > >
> > > > >
> > > > > From: Wikked one [mailto:wikk...@hotmail.com]
> > > > > Sent: Sunday, June 13, 2010 7:56 AM
> > > > > To: gaiseric.van...@gmail.com; samba@lists.samba.org
> > > > > Subject: RE: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > > > >
> > > > >
> > > > >
> > > > > LDAP backend.
> > > > > I am 100% sure about the passwords since I set them up just previous 
> > > > to the
> > > > > process.
> > > > > The short answer to upgrading domain A is no,and the log files do not
> > > > > indicate anything.
> > > > > I will increase the log level when I resume testing tomorrow.
> > > > > The long answer to upgrading is this: Since we are looking towards 
> > > > Windows 7
> > > > > workstation deployment,we
> > > > > realize we need to use Samba 3.3 ,our existing domain (Samba 3.0.33) 
> > > > has NT4
> > > > > workstations and legacy Netbios system names that we do not want to 
> > > > carry
> > > > > forward. So the solution I am hoping to implement is a new Samba 3.3 
> > > > domain
> > > > > with a new domain name and SID that supports windows 7 (got that 
> > > > working)
> > > > > but also has a two way domain trust established. This would allow
> > > > > incremental deployment rather than a hard cut over.
> > > > > Thanks!
> > > > >
> > > > > > From: gaiseric.van...@gmail.com
> > > > > > To: samba@lists.samba.org
> > > > > > Date: Sat, 12 Jun 2010 17:15:59 -0400
> > > > > > Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > > > > >
> > > > > > What is the backend?
> > > > > >
> > > > > > In domain A, you should have a user account for domain B (so that 
> > > > A can be
> > > > > > trusted by B.) And vice versa. The passwords created for those 
> > > > accounts
> > > > > > should be the passwords used when establishing trusts. So you 
> > > > should be
> > > > > > 100% certain about those passwords.
> > > > > >
> > > > > > Any chance you can upgrade DomainA to samba 3.3.12? Do the log 
> > > > files show
> > > > > > anything (maybe the wrong encryption levels for authenticating 
> > > > passwords?)
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Original Message-
> > > > > > From: samba-boun...@lists.samba.org 
> > > > [mailto:samba-boun...@lists.samba.org]
> > > > > > On Behalf Of Wikked one
> > > > > > Sent: Friday, June 11, 2010 5:05 AM
> > > > > > To: samba@lists.samba.org
> > > > > > Subject: Re: [Samba] Domain Trusts with Samba 3.0.33 and 3.3.12 
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > From: wikk...@hotmail.com
> > > > > > > To: samba@lists.samba.org
> > > > > > > Date: Wed, 9 Jun 2010 18:30:19 +
> > > > > > > Subject: [Samba] Domain Trusts
> > > > > > >
> > > > > > >
> > > > > > > Anybody?
> > > > > > >
> > > > > > > > Greetings List,
> > > > > > > >
> > > > > > > > I've
> > > > > > > > been attempting to establish a two way domain trust between 
> > > > > > > >

Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Shirish Pargaonkar
On Wed, Jun 16, 2010 at 10:58 AM, Michael Wood  wrote:
> On 16 June 2010 17:37, Shirish Pargaonkar  wrote:
> [...]
>> /source4 # ldd 
>> /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
>>        linux-vdso.so.1 =>  (0x7fffcb9cf000)
>>        libndr-standard.so.0 =>
>> /usr/local/samba/lib/libndr-standard.so.0 (0x7f8cf129f000)
>>        libndr.so.0 => /usr/local/samba/lib/libndr.so.0 (0x7f8cf1008000)
>>        libtdb-samba4.so.1 => /usr/local/samba/lib/libtdb-samba4.so.1
>> (0x7f8cf0df6000)
>>        libtalloc-samba4.so.2 =>
>> /usr/local/samba/lib/libtalloc-samba4.so.2 (0x7f8cf0bee000)
>>        libreplace.so => /usr/local/samba/lib/libreplace.so 
>> (0x7f8cf09e1000)
>>        libsamba-hostconfig.so.0 =>
>> /usr/local/samba/lib/libsamba-hostconfig.so.0 (0x7f8cf07ca000)
>>        libsamba-util.so.0 => /usr/local/samba/lib/libsamba-util.so.0
>> (0x7f8cf059b000)
>>        libtevent-samba4.so.0 =>
>> /usr/local/samba/lib/libtevent-samba4.so.0 (0x7f8cf038d000)
>>        libutil.so.1 => /lib64/libutil.so.1 (0x7f8cf0173000)
>>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x7f8ceff36000)
>>        libdl.so.2 => /lib64/libdl.so.2 (0x7f8cefd31000)
>>        libnsl.so.1 => /lib64/libnsl.so.1 (0x7f8cefb19000)
>>        libresolv.so.2 => /lib64/libresolv.so.2 (0x7f8cef902000)
>>        libc.so.6 => /lib64/libc.so.6 (0x7f8cef5a8000)
>>        /lib64/ld-linux-x86-64.so.2 (0x7f8cf1eb4000)
>
> OK, I don't know why that is.  On my test machine I have this:
>
> $ ldd /usr/local/samba/lib/libldb-samba4.so.0 | grep libz
>        libz.so.1 => /usr/lib/libz.so.1 (0x2d565000)
>
> That's with Version 4.0.0alpha12-GIT-a4a127e.
>
> (On that system libz.so.* is in /usr/lib instead of /lib, but that
> should not cause any difference.)
>
> Maybe try updating your git repository and see if it compiles for you
> now.  Otherwise maybe report this on the samba-technical list and see
> if anyone there knows what the problem is.
>
> --
> Michael Wood 
>

Michael,

Thanks.  So the problem is, libz.so* is not being linked?


/source4 # git pull
Already up-to-date.
cifstest6:/usr/src/bamba/samba/source4 # ldd
/usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
 | grep libz
cifstest6:/usr/src/bamba/samba/source4 # make
WAF_MAKE=1 ../buildtools/bin/waf build
Waf: Entering directory `/usr/src/bamba/samba/source4/bin'
[1909/1962] Linking default/source4/lib/ldb/ldbadd
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `zError'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `inflateReset'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflate'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `inflateInit2_'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `inflate'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflateReset'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to
`inflateSetDictionary'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflateInit2_'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to
`deflateSetDictionary'
collect2: ld returned 1 exit status
Waf: Leaving directory `/usr/src/bamba/samba/source4/bin'
Build failed:  -> task failed (err #1):
{task: cc_link
ldbutil_19.o,cmdline_19.o,ldbadd_20.o,popt_common_3.o,credentials_1.o,popt_credentials_5.o
-> ldbadd}
make: *** [all] Error 1
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] libldb-samba.so does not link in source4 samba

2010-06-16 Thread Michael Wood
On 16 June 2010 18:37, Shirish Pargaonkar  wrote:
> On Wed, Jun 16, 2010 at 10:58 AM, Michael Wood  wrote:
>> On 16 June 2010 17:37, Shirish Pargaonkar  
>> wrote:
>> [...]
>>> /source4 # ldd 
>>> /usr/src/bamba/samba/source4/bin/default/source4/lib/ldb/libldb-samba4.so
>>>        linux-vdso.so.1 =>  (0x7fffcb9cf000)
>>>        libndr-standard.so.0 =>
>>> /usr/local/samba/lib/libndr-standard.so.0 (0x7f8cf129f000)
>>>        libndr.so.0 => /usr/local/samba/lib/libndr.so.0 (0x7f8cf1008000)
>>>        libtdb-samba4.so.1 => /usr/local/samba/lib/libtdb-samba4.so.1
>>> (0x7f8cf0df6000)
>>>        libtalloc-samba4.so.2 =>
>>> /usr/local/samba/lib/libtalloc-samba4.so.2 (0x7f8cf0bee000)
>>>        libreplace.so => /usr/local/samba/lib/libreplace.so 
>>> (0x7f8cf09e1000)
>>>        libsamba-hostconfig.so.0 =>
>>> /usr/local/samba/lib/libsamba-hostconfig.so.0 (0x7f8cf07ca000)
>>>        libsamba-util.so.0 => /usr/local/samba/lib/libsamba-util.so.0
>>> (0x7f8cf059b000)
>>>        libtevent-samba4.so.0 =>
>>> /usr/local/samba/lib/libtevent-samba4.so.0 (0x7f8cf038d000)
>>>        libutil.so.1 => /lib64/libutil.so.1 (0x7f8cf0173000)
>>>        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x7f8ceff36000)
>>>        libdl.so.2 => /lib64/libdl.so.2 (0x7f8cefd31000)
>>>        libnsl.so.1 => /lib64/libnsl.so.1 (0x7f8cefb19000)
>>>        libresolv.so.2 => /lib64/libresolv.so.2 (0x7f8cef902000)
>>>        libc.so.6 => /lib64/libc.so.6 (0x7f8cef5a8000)
>>>        /lib64/ld-linux-x86-64.so.2 (0x7f8cf1eb4000)
>>
>> OK, I don't know why that is.  On my test machine I have this:
>>
>> $ ldd /usr/local/samba/lib/libldb-samba4.so.0 | grep libz
>>        libz.so.1 => /usr/lib/libz.so.1 (0x2d565000)
>>
>> That's with Version 4.0.0alpha12-GIT-a4a127e.
>>
>> (On that system libz.so.* is in /usr/lib instead of /lib, but that
>> should not cause any difference.)
>>
>> Maybe try updating your git repository and see if it compiles for you
>> now.  Otherwise maybe report this on the samba-technical list and see
>> if anyone there knows what the problem is.
>
> Michael,
>
> Thanks.  So the problem is, libz.so* is not being linked?

Looks like it.

I suggest you ask on samba-technical.

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


Re: [Samba] DC replication

2010-06-16 Thread Michael Wood
Hi Ibrahim

On 16 June 2010 18:57, Ibrahim Hamouda  wrote:
> Michael
>        Thanks for all your help
>        I think I found out the problem with replication.
>
>        when I run net vapire on the second DC (pdc2), let's say it's ip 
> address is 192.168.254.202
>
>        as soon as samba starts samba_dnsupdate runs
>        it reads the dns_update_list file and start updating the dns on 
> (pdc1), let's say its address 192.168.254.201
>
>        the first record in the dns_update_list adds a A record for the domain 
> name with 192.168.254.202.
>        This record succeeds, then nsupdate gets confused because now there 
> are two records for the domain and it works on the nearest one (local)
>        So the rest of the samba update fails, and subsequently the 
> replication fails.
>
>        commenting out this first line in dns_update_list befor starting samba 
> for the first time on pdc2 solves the problem

OK, that sounds like a workaround rather than a problem.  If PDC2 is
not the name server then nsupdate shouldn't send it the update
requests.  Not sure what the right solution is, though.

> On 2010-06-12, at 4:56 PM, Michael Wood wrote:
>
>> On 12 June 2010 23:37, Gaiseric Vandal  wrote:
>>> Just to clarify, you used "net vampire" to pull the info from PDC1 to PDC2?
>>
>> He's using Samba4, so he provisioned a DC and then vampired that to
>> create another DC.
>>
>>> Are you using LDAP or TDBSAM backend for samba accounts?  Are you using NIS
>>
>> I suspect he's using the default Samba4 LDB.
>>
>>> or LDAP or /etc/passwd for unix accounts?   I found that LDAP backend for
>>> both samba and unix accounts  was the best way to make sure all the samba
>>> DC's  had the identical unix and samba id's for accounts across all
>>> machines.
>>>
>>> When you run wbinfo on PDC2 it may actually be querying PDC1.     If I
>>> remember correctly, if you are using an TDBSAM backend with a BDC you need
>>> to create the samba account separately on the PDC and BDC.    I don't think
>>> there is any reliable TDB replication in either direction.
>>
>> Since he's using Samba4 they should definitely replicate.
>>
>> Ibrahim, perhaps you should specify that you are using Samba4 instead
>> of just implying it :)
>>
>>> Instead of configuring the 2nd samba server as a BDC you may want to
>>> configure it as a member server.
>>
>> I'm afraid I haven't tried replication between two Samba4 instances,
>> but are there any errors in the logs that might point you in the right
>> direction?  Maybe increase the debug level.

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


[Samba] Samba 4 Orphaned DC

2010-06-16 Thread tms3
Is there a list of commands for cleaning up orphaned DC's.  I used 
ntdsutil on the Windows boxes no problem.  Used an LDAP gui tool to 
remove the LDAP entries.  Sadly Samba4 is still trying to contact the 
orphan.  Any guidance or manual page would be appreciated.


Cheers,

TMS III



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


Re: [Samba] Samba 4 Orphaned DC

2010-06-16 Thread Michael Wood
On 16 June 2010 21:54,   wrote:
> Is there a list of commands for cleaning up orphaned DC's.  I used ntdsutil
> on the Windows boxes no problem.  Used an LDAP gui tool to remove the LDAP
> entries.  Sadly Samba4 is still trying to contact the orphan.  Any guidance
> or manual page would be appreciated.

I was just wondering the same thing earlier.  I used dsa.msc to delete
a Samba4 DC that is no longer running.  It no longer shows up in
dsa.msc, but another Samba4 DC is still trying to contact it.

I still see references to it in private/sam.ldb.d/*, but I'm not sure
what to remove.

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


Re: [Samba] UPDATE: group permissions broken after upgrade 3.2.5 -> 3.4.8: deleting of files denied

2010-06-16 Thread Marc Schiffbauer
* Alberto Moreno schrieb am 14.06.10 um 23:48 Uhr:
> 
> Hi.

Hi Alberto,

thanks for your answer.

> 
> Looks like u just want to have a share where any user could do what
> ever she/he wants, I was thinking in
> add
> 
> public =Yes
> guest ok = Yes

No, this is not what I want. My config worked like it should do for
years until the upgrade.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] group permissions broken after upgrade 3.2.5 -> 3.4.8: deleting of files denied

2010-06-16 Thread Marc Schiffbauer
* Jeremy Allison schrieb am 15.06.10 um 00:00 Uhr:
> On Mon, Jun 14, 2010 at 12:59:54AM +0200, Marc Schiffbauer wrote:
> > Hi,
> > 
> > I am having a problem with group permissions after Samba upgrade.
> > 
> > On one share there are several directorries owned by different
> > users.
> > 
> > No posix acl or user_xattr on the filesystem so far.
> > 
> > Samba is configured so that directory permission is always 0770 and
> > file permission is always 0660: any user in the domain can do
> > anything with the files and directories (all users have the same
> > primary group which is the same as the file and dir group).
> > 
> > That worked very well until the upgrade. Users could do anything
> > within the share: create, modify and delete files and directories.
> > 
> > Now after the upgrade delete operations on files do not work anymore 
> > until a user owns the parent directory or has world write access to
> > it (windows client (XP SP2) gets a permission denied error).
> > 
> > This is strange because a user can still create files within a dir
> > that he does not own, so this can only be permitted by group permission, 
> > but deleting the same file gives a permission denied.
> > 
> > What might cause this? Is this a known bug in samba 3.4.8?
> 
> Log a bug and post a debug level 10 log of the delete operation.
> Internally smbd now converts the POSIX ACL into a Windows ACL
> and tests for DELETE access availability for the logged in user
> and group list.

Hi Jeremy,

thanks.

-> I have filed bug 7521

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba 4 Orphaned DC

2010-06-16 Thread tms3





SNIP


Is there a list of commands for cleaning up orphaned DC's.  I used 
ntdsutil
on the Windows boxes no problem.  Used an LDAP gui tool to remove the 
LDAP
entries.  Sadly Samba4 is still trying to contact the orphan.  Any 
guidance

or manual page would be appreciated.


I was just wondering the same thing earlier.  I used dsa.msc to delete
a Samba4 DC that is no longer running.  It no longer shows up in
dsa.msc, but another Samba4 DC is still trying to contact it.


Yes, my PDC is Samba4 so it's making things a bit wonky, and as I'm 
having Kerberos issues (I'm fairly certain with the W2K8R2 server) I'd 
like to get rid of the orphaned DC so I can concentrate on the 
Kerberos problem, then move on to my XenApp Server.




I still see references to it in private/sam.ldb.d/*, but I'm not sure
what to remove.


I'm going to start parsing through that stuff in a bit.  If I find 
anything useful I'll let you know.


Cheers,




--
Michael Wood 


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


Re: [Samba] Help to buy a SAN server

2010-06-16 Thread Yannick Bergeron

I'm moderating the samba-technical mailing list. 
This post is more 
appropriate on samba@lists.samba.org
So I'll just answer on this one 
and discard the post on samba-technical

< Hi,
< I have to linux server and using samba beetwen all win xp and win7 clients.
< I need to have som SAN box that working az raid 5 and backup.
< What I find is just supporting windows OS not Linux.
< Do you have any sugastion?
< Thanks a lot,
< Best regards,
< Nasrin Khatami,
< nasr...@skarpnack.fhsk.se

Don't mix up SAN and NAS, both are 2 different things ;)
You are probably talking about a NAS than a SAN
What do you mean about "just supporting windows and not Linux"?
If they support SMB/CIFS or any protocol such as FTP, SSH, etc., you'll be able 
to use them from your Linux
  
_
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Quick question.

2010-06-16 Thread Yannick Bergeron

Hi,

I'm moderating the samba-technical mailing list. 
This post is more appropriate on samba@lists.samba.org
So I'll just answer on this one and reject the post on samba-technical

< I have a quick question regarding Samba, can i mount a Windows share on a
< Unix server?
< 
< -- 
< Thanks
< 
< Jorge

the quick answer is yes. Most linux distribution with the right packages 
installed (if they aren't installed by default) allow you to "mount -t cifs" a 
SMB/CIFS share (Windows or Samba)
  
_
Turn down-time into play-time with Messenger games
http://go.microsoft.com/?linkid=9734385
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Quick question.

2010-06-16 Thread jgb
I have a quick question regarding Samba, can i mount a Windows share on a
Unix server?

-- 
Thanks

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


Re: [Samba] Samba4 join existing domain

2010-06-16 Thread George Lazar

Hi Andrew,

I have sent you the output via mail but I'm not sure you have received.
Now is attached here also.

Thanks,
George



Andrew Bartlett wrote:
> 
> On Fri, 2010-06-11 at 06:10 -0700, George Lazar wrote:
>> Hi,
>> 
>> I've got a similar issue when I'm trying to add Samba 4 alpha12 (latest
>> git)
>> as BDC.
>> PDC is another Samba4alpha12 running well but when I'm trying to add a
>> BDC:
>> 
>> ###
>> ./bin/net vampire my.domain -Uadministrator --realm=my.domain -d10:
>> 
>> ...
>> tevent: Destroying timer event 0x24fa0c0 "ldap_request_timeout"
>> tevent: Added timed event "composite_trigger": 0x24f06f0
>> tevent: Destroying timer event 0x24f06f0 "composite_trigger"
>> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER_MIX
>> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER_MIX
>> 
>> 
>> krb5.conf:
>> [libdefaults]
>> default_realm = MY.DOMAIN
>> dns_lookup_realm = true
>> dns_lookup_kdc = true
>> 
>> I have followed excatly the tutorial:
>> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
>> 
>> kinit administrator is working and not time issues between the servers.
>> 
>> Please advise,
>> Thanks
> 
> G'day,
> 
> I'll need more than the last lines of the log before I can give any
> clues, sorry.
> 
> Either get it at a level that you are happy to mail to the list, or send
> the lot to me privately.
> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartletthttp://samba.org/~abartlet/
> Authentication Developer, Samba Team   http://samba.org
> Samba Developer, Cisco Inc.
> 
> 
>  
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
http://old.nabble.com/file/p28899741/output.log output.log 
-- 
View this message in context: 
http://old.nabble.com/Samba4-join-existing-domain-tp27930446p28899741.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] RECOVER FILE DAEMON SMBD SAMBA

2010-06-16 Thread Tiago Damasceno : : : TDA INFORMÁTICA
Hello!

Accidentally deletes the file daemon, / usr / lib / samba / classic / smbd.
Now I can not start Samba, Samba reinstalling again in the newer version I
would lose my settings? It will overwrite existing files or just bring back
the excluded?

I use a distribution derived from Suse, when I try to install the yast he
asks that some libraries are installed:
*libstdc + +
**libstdc + +-devel
**yast2-packagemanager
**yast2-devel-packagemanager │*

This server have a service of Oracle database running on it, to install
these library will occur some side effect to my server?

Thanks for your help, thank you in advance

-- 

Tiago Damasceno
E-mail: ti...@tdainformatica.com.br
Telefone: +55 86 3315 2819 / 9451 9892
skype: tiagodamasceno6
MSN: ti...@tdaconsultoriadigital.com.br
www.tdainformatica.com.br
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Quick question.

2010-06-16 Thread Yannick Bergeron

you don't need to repost the question as I've already put samba@lists.samba.org 
on the mail

A quick search on google on "HPUX mount cifs" return result with commands like 
"cifsclient" and "cifsmount" for HPUX

From: jgbit...@gmail.com
Date: Wed, 16 Jun 2010 19:44:12 -0400
Subject: Re: Quick question.
To: burgerg...@hotmail.com

Thanks i will post the question on the link that you gave me, but i am not 
talking about Linux but Unix especifically HPUX, is that the same?

On Wed, Jun 16, 2010 at 7:29 PM, Yannick Bergeron  
wrote:







Hi,

I'm moderating the samba-technical mailing list. 
This post is more appropriate on samba@lists.samba.org
So I'll just answer on this one and reject the post on samba-technical



< I have a quick question regarding Samba, can i mount a Windows share on a
< Unix server?
< 
< -- 
< Thanks


< 
< Jorge

the quick answer is yes. Most linux distribution with the right packages 
installed (if they aren't installed by default) allow you to "mount -t cifs" a 
SMB/CIFS share (Windows or Samba)


  
Your Photo on Bing.ca: You Could WIN on Canada Day! Submit a Photo Now! 


-- 
Thanks

Jorge

  
_
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Help to buy a SAN server

2010-06-16 Thread Gaiseric Vandal
NetGear and Buffalo make lower cost "workgroup" NAS server.   But this isn't
really a samba question.   You want to decide SAN vs NAS. There is a big
range of stuff out there -  you may want to talk to a reseller if your
company uses one.  NetApp is a higher end vendor. EMC and Sun are the big
$$$ products.


I bought a cheap 1 disk "user size" NAS appliance from netgear.  I had to
return it.  It was using linux with a version of samba that was not
compatible with the version of samba running on my PDC.  I was unable to
join it to the Samba domain which meant I could not apply user permissions
to the files on the NAS.  I could not rebuild samba myself and there were no
patches from the vendor.  

NAS can be nice if you want your end user PC's to be able to access files
directly from the appliance.And you can use it for backups if you want
to rsync data from your servers to it.

If you want to add more disk space to a server, SAN is they want to go.
The server will see the space on the SAN as a block-type "disk" device, not
a network share.  SAN is really most useful when you want to share a disk
storage appliance between multiple servers-  e.g. 70 % might be to add disk
space to one server and 30 % might be for another server.  SAN is also
useful if you are into fail over and virtualization.   Beyond the scope of
this discussion.   



-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Yannick Bergeron
Sent: Wednesday, June 16, 2010 7:36 PM
To: nasrin...@yahoo.com; samba@lists.samba.org
Subject: Re: [Samba] Help to buy a SAN server


I'm moderating the samba-technical mailing list. 
This post is more 
appropriate on samba@lists.samba.org
So I'll just answer on this one 
and discard the post on samba-technical

< Hi,
< I have to linux server and using samba beetwen all win xp and win7
clients.
< I need to have som SAN box that working az raid 5 and backup.
< What I find is just supporting windows OS not Linux.
< Do you have any sugastion?
< Thanks a lot,
< Best regards,
< Nasrin Khatami,
< nasr...@skarpnack.fhsk.se

Don't mix up SAN and NAS, both are 2 different things ;)
You are probably talking about a NAS than a SAN
What do you mean about "just supporting windows and not Linux"?
If they support SMB/CIFS or any protocol such as FTP, SSH, etc., you'll be
able to use them from your Linux
  
_
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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


Re: [Samba] Help to buy a SAN server

2010-06-16 Thread Gaiseric Vandal
NetGear and Buffalo make lower cost "workgroup" NAS server.   But this isn't
really a samba question.   You want to decide SAN vs NAS. There is a big
range of stuff out there -  you may want to talk to a reseller if your
company uses one.  NetApp is a higher end vendor. EMC and Sun are the big
$$$ products.


I bought a cheap 1 disk "user size" NAS appliance from netgear.  I had to
return it.  It was using linux with a version of samba that was not
compatible with the version of samba running on my PDC.  I was unable to
join it to the Samba domain which meant I could not apply user permissions
to the files on the NAS.  I could not rebuild samba myself and there were no
patches from the vendor.  

NAS can be nice if you want your end user PC's to be able to access files
directly from the appliance.And you can use it for backups if you want
to rsync data from your servers to it.

If you want to add more disk space to a server, SAN is they want to go.
The server will see the space on the SAN as a block-type "disk" device, not
a network share.  SAN is really most useful when you want to share a disk
storage appliance between multiple servers-  e.g. 70 % might be to add disk
space to one server and 30 % might be for another server.  SAN is also
useful if you are into fail over and virtualization.   Beyond the scope of
this discussion.   



-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Yannick Bergeron
Sent: Wednesday, June 16, 2010 7:36 PM
To: nasrin...@yahoo.com; samba@lists.samba.org
Subject: Re: [Samba] Help to buy a SAN server


I'm moderating the samba-technical mailing list. 
This post is more 
appropriate on samba@lists.samba.org
So I'll just answer on this one 
and discard the post on samba-technical

< Hi,
< I have to linux server and using samba beetwen all win xp and win7
clients.
< I need to have som SAN box that working az raid 5 and backup.
< What I find is just supporting windows OS not Linux.
< Do you have any sugastion?
< Thanks a lot,
< Best regards,
< Nasrin Khatami,
< nasr...@skarpnack.fhsk.se

Don't mix up SAN and NAS, both are 2 different things ;)
You are probably talking about a NAS than a SAN
What do you mean about "just supporting windows and not Linux"?
If they support SMB/CIFS or any protocol such as FTP, SSH, etc., you'll be
able to use them from your Linux
  
_
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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


[Samba] Samba 4 Cleanup Managing and Otherwise

2010-06-16 Thread tms3
OK, there has got to be a way to work with this thing other than 
wiping the Domain every time an error pops up.


Trying to resolve problems I did a git upgrade and:

setup# /usr/local/samba/sbin/upgradeprovision

Which provided the unhelpful:

Found 3 domain controllers, for the moment upgradeprovision is not 
able to handle upgrade on domain with more than one DC, please demote 
the other(s) DC(s) before upgrading


As I am actually trying to clean up an orphaned DC due to the fact 
that dcpromo fails to remove AD from a windows server I am in even 
worse shape than before the git upgrade.


As I don't have unlimited funds, and the M$ software is outrageously 
expensive, I can't keep blowing Windows servers out and reprovisioning 
them.


Any ideas would be greatly appreciated here.

Cheers,



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


[Samba] Debian packages fixing CVE-2010-2063 are available for lenny

2010-06-16 Thread Christian PERRIER
Quoting Karolin Seeger (ksee...@samba.org):
> Release Announcements
> =
> 
> This is a security release in order to address CVE-2010-2063.
> 
> 
> o  CVE-2010-2063:
>In Samba 3.3.x and below, a buffer overrun is possible in chain_reply code.


As this issue also affect the 3.2 series of samba (which is no longer
officially supported by the Samba Team), Debian maintainers
prepared fixed packages for Debian stable (codename "lenny") that are
now available through the Debian security repositories and will be
included in upcoming point releases of Debian lenny.

Packages in Debian squeeze, unstable and experimental are either 3.4
or 3.5 versions of samba and therefore not affected by this issue.

We (maintainers of Debian and Debian security team) would like to
thank the Samba Team for the care taken to allow us to prepare these
fixes and make them available as close as possible from the moment the
issue was published. Special thanks to Karolin for the notices and to
Jeremy Allison for the patch that fixes the issue.

Official Debian Security Announcement:

- ---
Debian Security Advisory DSA-2061-1 secur...@debian.org
http://www.debian.org/security/  Nico Golde
June 16th, 2010  http://www.debian.org/security/faq
- ---

Package: samba
Vulnerability  : memory corruption
Problem type   : remote
Debian-specific: no
Debian bug : none
CVE ID : CVE-2010-2063

Jun Mao discovered that Samba, an implementation of the SMB/CIFS protocol
for Unix systems, is not properly handling certain offset values when
processing chained SMB1 packets.  This enables an unauthenticated attacker
to write to an arbitrary memory location resulting in the possibility to
execute arbitrary code with root privileges or to perform denial of service
attacks by crashing the samba daemon.


For the stable distribution (lenny), this problem has been fixed in
version 3.2.5-4lenny12.

This problem does not affect the versions in the testing (squeeze) and
unstable (sid) distribution.


We recommend that you upgrade your samba packages.

Upgrade instructions
- 

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 5.0 alias lenny
- 

Debian (stable)
- ---

Stable updates are available for alpha, amd64, arm, armel, hppa, i386, ia64, 
mips, mipsel, powerpc, s390 and sparc.

Source archives:

  
http://security.debian.org/pool/updates/main/s/samba/samba_3.2.5-4lenny12.diff.gz
Size/MD5 checksum:   239453 262a0d71af5629b5b743a2dd7699346a
  http://security.debian.org/pool/updates/main/s/samba/samba_3.2.5-4lenny12.dsc
Size/MD5 checksum: 1834 752097289f87a23ffed0bd884a8c1093

Architecture independent packages:

  
http://security.debian.org/pool/updates/main/s/samba/samba-doc-pdf_3.2.5-4lenny12_all.deb
Size/MD5 checksum:  6252872 5bd2b9f3ce45c28733e4736af45cfa0b
  
http://security.debian.org/pool/updates/main/s/samba/samba-doc_3.2.5-4lenny12_all.deb
Size/MD5 checksum:  7949770 92c0aa87e34926cc8d05c844f96ccdf2

alpha architecture (DEC Alpha)

  
http://security.debian.org/pool/updates/main/s/samba/samba-tools_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  5734864 a3b2a0b1a098268d7f3fb408adca0663
  
http://security.debian.org/pool/updates/main/s/samba/samba_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  4832766 221ccfadf707e5c1e2ec35162ca5e105
  
http://security.debian.org/pool/updates/main/s/samba/libsmbclient_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  1333498 c85f1d0e2740701be6e48fa48d5eced4
  
http://security.debian.org/pool/updates/main/s/samba/smbclient_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  6954426 110e2b73b8c7ce273f810af64e0b131c
  
http://security.debian.org/pool/updates/main/s/samba/swat_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  1080334 8fc3c77432c4f9a5d1626ca7b0ced0a6
  
http://security.debian.org/pool/updates/main/s/samba/libwbclient0_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:81696 6e48d5b3f4876a7e23387c409c3d343d
  
http://security.debian.org/pool/updates/main/s/samba/libsmbclient-dev_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:  2573704 d370dd920eb28ff1d58f8ecf2a13d429
  
http://security.debian.org/pool/updates/main/s/samba/libpam-smbpass_3.2.5-4lenny12_alpha.deb
Size/MD5 checksum:   637646 b7fb85ef15e39bd1a9e663549d9b36a8
  
http://security.debian.org/pool/updates/main/s/samba/samba-dbg_3.2.5-4