Re: [Samba] Restore tdbbackup files?

2012-06-12 Thread Andrew Bartlett
On Wed, 2012-06-06 at 00:06 -0700, Alberto Moreno wrote:
> Hi
> 
>  Samba 3.5.10 centos 5.x.
> 
>  I can backup with tdbbackup, read samba doc but haven't found how to
> restore them?

Files created by tdbbackup are full, normal TDB files.  tdbbackup just
does the extraction safely.  (you must never just cp a running
database).

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org

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


Re: [Samba] Windows 7 + office 2010 locked files

2012-06-12 Thread Jonathan Buzzard

Igor Cervo wrote:

Possibly not, try

# store DOS attributes in extended attributes
   ea support = yes
   store dos attributes = yes
   map readonly = no
   map archive = no
   map system = no


Tks Jonathan,

Where I put this attributes? In Global attributes?



Take your pick. I would put them in the global section, but they can be 
set on a per share basis.


JAB.

--
Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Is Printing Supported in samba4 yet?

2012-06-12 Thread Charles Tryon
Not yet.  It should eventually be implemented through s3fs (if I understand
correctly).



On Sun, Jun 10, 2012 at 2:49 PM, timothy mcdaniel wrote:

> Is Printing Supported in samba4 yet?
> if there is support for printing in samba4, how do I set it up in samba4?
> Is there anything different about printing in samba4 than in samba3 if
> printing is supported in samba4?
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Charles Tryon
_
  “Risks are not to be evaluated in terms of the probability of success,
but in terms of the value of the goal.”
- Ralph D. Winter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4 Multi-Master replication

2012-06-12 Thread Gémes Géza
On 2012-06-12 12:16, Morten Kramer wrote:
> Hi guys,
>
>
> I'm trying to get the Samba4 multi-master replication to work.
>
>
>
> I set up the primary domain controller using this howto (under CentOS
> 6.2 x64):
>
>
> http://wiki.samba.org/index.php/Samba4/HOWTO
>
>
>
> I installed bind 9.8.3 and enabled encrypted dns updates.
>
>
>
>
> I set up another VM with the same CentOS version and oriented myself
> on this howto:
>
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
>
> to join the second DC into the domain. I edited /etc/resolv.conf and
> set the nameserver to the IP of the primary DC (bind dns server).
>
>
> Basic replication seems to work (not doing the rsync for sysvol yet).
> However, when i take the primary DC offline (bind keeps running), I
> can't use any of the .msc domain admin tools anymore.
>
> I always get an error message, telling me that there is no RPC server
> available.
> When i run gpmc.msc i can choose the DC i want to work on and I can
> see the secondary one, but it will come back with the RPC error.
>
> I had Wireshark running on one of the Windows7 clients. It seems like
> it tries to talk to the 2nd DC (DCERPC packets). But i'm not an expert
> in packet analysis, could somebody give me a hint what to look for here?
>
>
>
> User authentication does still work and Kerberos tickets are generated
> by the 2nd DC.
>
>
>
> I can find this in the log:
>
>
> ../source4/dsdb/kcc/kcc_topology.c:1402: failed to find nCName
> attribute of object
> CN=ac7bf69c-9458-4205-acba-6fe172412d1b,CN=Partitions,CN=Configuration,DC=aeriatest2,DC=dc,DC=loc
> ../source4/dsdb/kcc/kcc_topology.c:3158: failed to color vertices:
> NT_STATUS_INTERNAL_DB_CORRUPTION
> ../source4/dsdb/kcc/kcc_topology.c:3415: failed to create connections:
> NT_STATUS_INTERNAL_DB_CORRUPTION
> ...
> Warning: 60 extra bytes in incoming RPC request
> ../source4/rpc_server/drsuapi/dcesrv_drsuapi.c:74: doing DsBind with
> system_session
>
>
>
> Do i need to configure something extra, so the secondary DC will be
> able to act as an RPC server?
>
>
>
>
>
> Thanks,
> freezer
Hi,

With your setup DNS is the single point of failure, because with the
(default) DLZ setup bind9 is able to serve DNS records only when samba4
is running on that box.
My recommendation would be to try to set up DNS on the second DC too.

Regards.

Geza

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


Re: [Samba] Windows 7 + office 2010 locked files

2012-06-12 Thread Igor Cervo
Possibly not, try

# store DOS attributes in extended attributes
   ea support = yes
   store dos attributes = yes
   map readonly = no
   map archive = no
   map system = no


Tks Jonathan,

Where I put this attributes? In Global attributes?



2012/6/11 Daniel Müller 

> You need to set the sticky bit for the group on this office files and it
> will run
> On Tue, 5 Jun 2012 10:01:54 -0300, Igor Cervo 
> wrote:
> > Hello,
> >
> >
> > Many times when a user open, modifies and then close a Office 2010
> >  document (Word, Excel, Power Point), the file keeps locked.
> > A different user tries to open the file and gets a error message related
> > to locking, read only permissions or something similar.
> >
> > Samba version: 3.0.33
> >
> > Updating samba will fix the problem?
> >
> > I tried to put:  "kernel oplocks = yes", but with no results.
> >
> >
> > Sds
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] SOLVED

2012-06-12 Thread sandy . napoles
Hello list, after some week to problem with my samba-master, I find the
solution, firts a big thanks to Steve, who always find a way to answer my
personal email, others peoples too helpme in this list, I very happy.
Listen

1- I run again git clone in my debian 6.0 and downloads sucefful
samba-master, but when I run git pull the same problem.
2- I test the run the  git clone in ubuntu 11.10 and downloads samba
master very well, when I run git pull for update.sucefful. jeejej
uff
EveryThing is ok


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


[Samba] Samba4 Multi-Master replication

2012-06-12 Thread Morten Kramer

Hi guys,


I'm trying to get the Samba4 multi-master replication to work.



I set up the primary domain controller using this howto (under CentOS 
6.2 x64):



http://wiki.samba.org/index.php/Samba4/HOWTO



I installed bind 9.8.3 and enabled encrypted dns updates.




I set up another VM with the same CentOS version and oriented myself on 
this howto:


http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC

to join the second DC into the domain. I edited /etc/resolv.conf and set 
the nameserver to the IP of the primary DC (bind dns server).



Basic replication seems to work (not doing the rsync for sysvol yet). 
However, when i take the primary DC offline (bind keeps running), I 
can't use any of the .msc domain admin tools anymore.


I always get an error message, telling me that there is no RPC server 
available.
When i run gpmc.msc i can choose the DC i want to work on and I can see 
the secondary one, but it will come back with the RPC error.


I had Wireshark running on one of the Windows7 clients. It seems like it 
tries to talk to the 2nd DC (DCERPC packets). But i'm not an expert in 
packet analysis, could somebody give me a hint what to look for here?




User authentication does still work and Kerberos tickets are generated 
by the 2nd DC.




I can find this in the log:


../source4/dsdb/kcc/kcc_topology.c:1402: failed to find nCName attribute 
of object 
CN=ac7bf69c-9458-4205-acba-6fe172412d1b,CN=Partitions,CN=Configuration,DC=aeriatest2,DC=dc,DC=loc
../source4/dsdb/kcc/kcc_topology.c:3158: failed to color vertices: 
NT_STATUS_INTERNAL_DB_CORRUPTION
../source4/dsdb/kcc/kcc_topology.c:3415: failed to create connections: 
NT_STATUS_INTERNAL_DB_CORRUPTION

...
Warning: 60 extra bytes in incoming RPC request
../source4/rpc_server/drsuapi/dcesrv_drsuapi.c:74: doing DsBind with 
system_session




Do i need to configure something extra, so the secondary DC will be able 
to act as an RPC server?






Thanks,
freezer








--
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 provisioning error on Ubuntu 12.04

2012-06-12 Thread Rowland Penny

On 11/06/12 21:08, todd kman wrote:


My fstab
"..
proc  /proc  proc  nodev,noexec,nosuid 0 0
/dev/mapper/server-root /  ext4  errors=remount-ro 0 1
UUID=b2d11319-d831-49c6-b3d7-3b566956411a /boot  ext2  acl,user_xattr defaults 
0 2
/dev/mapper/server-swap_1 none  swap  sw 0 0
/dev/fd0  /media/floppy0 auto  rw,user,noauto,exec,utf8 0 0
"

Hi, I replied to this post, but my stupid email client did not reply to 
list it replied to the OP and I stupidly never noticed.


Here is my reply to him:

It would seem that you are using LVM, move what you entered up a line, 
you have entered it on the /boot partition, it needs to be on the / or 
root partition. It should look like:


/dev/mapper/server-root /  ext4  errors=remount-ro,acl,user_xattr 0 1

You may have to install the acl package.
I have compiled samba4beta1 on ubuntu 12.04 server but I did not use LVM 
and it provisioned without any fstab alteration.


and here is his reply to me:

Thanks

I'll give that a try tomorrow.
I thought I had installed with mostly defaults.
If I am using acl I did not actively select this.
I did a list of apps installed and I did not see an acl in the list.




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

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