[Samba] [Fwd: Re: ports]

2013-05-10 Thread sandy . napoles
I  have this for my domain
IPTABLES -A INPUT-m mac --mac-source 00:0C:29:83:52:D9  -d samba4 -p tcp
-m multiport --dports
53,636,389,88,443,465,445,139,464,123,135,137,138,1024:2024


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


[Samba] Internal DNS

2013-04-20 Thread sandy . napoles
Hello list, I want to provision samba4 as RODC, where the DC is other
samba4, I follow the step as say the how to, but in the RODC I do not know
whereis the default dns, when i run nslookup everything ok, but i want add
other record manually
somebody can help me

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


[Samba] Provision

2013-04-13 Thread sandy . napoles
Hello list, when I run ./samba-tool domain provision
Realm [ECCMG.CUPET.CU]:
 Domain [ECCMG]:
 Server Role (dc, member, standalone) [dc]:
 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
[SAMBA_INTERNAL]: NONE
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
set_nt_acl_no_snum: fset_nt_acl returned zero.
ERROR(class 'samba.provision.ProvisioningError'): Provision failed -
ProvisioningError: Your filesystem or build does not support posix ACLs,
which s3fs requires.  Try the mounting the filesystem with the 'acl'
option.
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 398, in run
use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py,
line 2042, in provision
raise ProvisioningError(Your filesystem or build does not support
posix ACLs, which s3fs requires.  Try the mounting the filesystem with
the 'acl' option.)


My fstab
UUID=562e4801-47c3-4594  /  ext3user_xattr,acl,barrier=1 1 1

Somebody can helpme


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


[Samba] decheck

2013-04-03 Thread sandy . napoles

Hello list, when I run ./samba-tool dbcheck --fixI have

-673721863-1998900342-1412008047-13555;CN=test\0ADEL:5606aaf6-3931-45c4-8f5e-f56ebf514564,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
unable to find object for DN
CN=test\0ADEL:5606aaf6-3931-45c4-8f5e-f56ebf514564,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu - (No such Base DN:
CN=test\0ADEL:5606aaf6-3931-45c4-8f5e-f56ebf514564,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu)
Not removing dangling forward link

I do'not know that mean CN=test\0ADEL:5606aaf6-3931 and the user test was
deleted some month ago..
Somebody can help me

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


[Samba] (no subject)

2013-03-28 Thread sandy . napoles
Hello list Iam add a server as BDC with samba4, my PDC samba 4 too, I read
the how to and everything ok, but but give me this error

Partition[DC=eccmg,DC=cupet,DC=cu] objects[11735/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[12137/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[12539/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[12941/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[13343/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[13745/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[14147/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[14549/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[14951/15277] linked_values[0/0]
Partition[DC=eccmg,DC=cupet,DC=cu] objects[15353/15277] linked_values[255/0]
Done with always replicated NC (base, config, schema)
Replicating DC=DomainDnsZones,DC=eccmg,DC=cupet,DC=cu
Partition[DC=DomainDnsZones,DC=eccmg,DC=cupet,DC=cu] objects[399/399]
linked_values[0/0]


Refusing to replicate
DC=4\0ADEL:169f9b66-aeb6-4753-bba7-e27a96f0c3f5,CN=Deleted
Objects,DC=DomainDnsZones,DC=eccmg,DC=cupet,DC=cu from a read-only repilca
into a read-write replica!
Failed to convert object
DC=4\0ADEL:169f9b66-aeb6-4753-bba7-e27a96f0c3f5,CN=Deleted
Objects,DC=DomainDnsZones,DC=eccmg,DC=cupet,DC=cu:
WERR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA
Failed to convert objects: WERR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA
Join failed - cleaning up
checking sAMAccountName
Deleted CN=OKA,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Deleted CN=NTDS
Settings,CN=OKA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Deleted
CN=OKA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(type 'exceptions.TypeError'): uncaught exception - Failed to
process chunk: NT code 0xc0002111
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 175, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 552, in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
1104, in join_DC
ctx.do_join()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
1009, in do_join
ctx.join_replicate()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
756, in join_replicate
replica_flags=ctx.replica_flags)
  File /usr/local/samba/lib/python2.6/site-packages/samba/drs_utils.py,
line 252, in replicate
schema=schema, req_level=req_level, req=req)


Somebody can helpme?

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


[Samba] Error

2012-10-23 Thread sandy . napoles
hello list when I run the step make for update my samba4 I have the follow
warning


warning: The current binary is a PIE (Position Independent Executable), which
GDB does NOT currently support.  Most debugger features will fail if used
in this session.

libndr.so: symbol ndr_transfer_syntax_ndr64 has changed - please update
major version
old_signature: uuid = {time_low = 1903232307, time_mid = 48826,
time_hi_and_version = 18743, clock_seq = \203\031, node =
\265\333\357\234\314\066}, if_version = 1
new_signature: uuid = {time_low = 1903232307, time_mid = 48826,
time_hi_and_version = 18743, clock_seq = \203\031, node =
#65533;#65533;#65533;\234#65533;6}, if_version = 1
libndr.so: symbol ndr_transfer_syntax_ndr has changed - please update
major version
old_signature: uuid = {time_low = 2324192516, time_mid = 7403,
time_hi_and_version = 4553, clock_seq = \237\350, node =
\b\000+\020H`}, if_version = 2
new_signature: uuid = {time_low = 2324192516, time_mid = 7403,
time_hi_and_version = 4553, clock_seq = \237#65533;, node =
\b\000+\020H`}, if_version = 2
Waf: Leaving directory `/media/samba-master/bin'
Build failed: ABI for libndr.so has changed - please fix library version
then build with --abi-update
See http://wiki.samba.org/index.php/Waf#ABI_Checking for more information
If you have not changed any ABI, and your platform always gives this
error, please configure with --abi-check-disable to skip this check
make: *** [all] Error 1
root@capital:/media/samba-master#


some idea?

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


[Samba] [Fwd: Re: Samba4 ADC cannot edit GPO with W2K3]

2012-09-28 Thread sandy . napoles
Try chmod -R  4775 /usr/local/samba/var/locks/sysvol




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


Re: [Samba] Samba4 ADC cannot edit GPO with W2K3

2012-09-28 Thread sandy . napoles
I have the same error, but I can create perfectly the GPO and it are
aplicate in my client perfect..then why I have it?

ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
ProvisioningError: DB ACL on sysvol directory
/usr/local/samba/var/locks/sysvol/eccmg.cupet.cu
O:S-1-5-21-1892862124-1292540316-1938423036-500G:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
does not match expected value
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
from provision
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 170, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/ntacl.py,
line 247, in run
lp)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py,
line 1574, in checksysvolacl
raise ProvisioningError('%s ACL on sysvol directory %s %s does not
match expected value %s from provision' % (acl_type(direct_db_access),
dir_path, fsacl_sddl, SYSVOL_ACL))



 On 28/09/12 13:27, fe...@epepm.cupet.cu wrote:


 Try:
 /usr/local/samba/bin/samba-tool ntacl sysvolcheck

 and if it yields some error then:
 /usr/local/samba/bin/samba-tool ntacl sysvolreset


 It worked for me.

 Hi
 Exactly the same GPO creation error here.

 Here are the outputs from the samba4 git build today:

 samba-tool ntacl sysvolcheck
 ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
 ProvisioningError: DB ACL on GPO directory
 /usr/local/samba/var/locks/sysvol/hh3.site/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}
 O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
 does not match expected value
 O:DAG:DUD:P(A;OICI;0x001f01ff;;;DA)(A;OICI;0x001f01ff;;;EA)(A;OICIIO;0x001f01ff;;;CO)(A;OICI;0x001f01ff;;;DA)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)(A;OICI;0x001200a9;;;ED)S:AI(OU;CIIDSA;WP;f30e3bbe-9ff0-11d1-b603-f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CIIDSA;WP;f30e3bbf-9ff0-11d1-b603-f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)
 from GPO object
File
 /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py,
 line 170, in _run
  return self.run(*args, **kwargs)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py,
 line 245, in run
  lp)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1578, in checksysvolacl
  direct_db_access)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1530, in check_gpos_acl
  domainsid, direct_db_access)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1480, in check_dir_acl
  raise ProvisioningError('%s ACL on GPO directory %s %s does not
 match expected value %s from GPO object' % (acl_type(direct_db_access),
 path, fsacl_sddl, acl))


 and:
 samba-tool ntacl sysvolreset
 set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_OWNER.
 ERROR(runtime): uncaught exception - (-1073741734,
 'NT_STATUS_INVALID_OWNER')
File
 /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py,
 line 170, in _run
  return self.run(*args, **kwargs)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py,
 line 214, in run
  lp, use_ntvfs=use_ntvfs)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1468, in setsysvolacl
  set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
 use_ntvfs)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1405, in set_gpos_acl
  str(domainsid), use_ntvfs)
File
 /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
 line 1369, in set_dir_acl
  setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs)
File /usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py,
 line 108, in setntacl
  smbd.set_nt_acl(file, security.SECINFO_OWNER |
 security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL,
 sd)

 Do we have to reprovision in this case?
 Cheers,
 Steve

 --
 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] GPO

2012-08-03 Thread sandy . napoles
Hello list, Iam using samba 4 beta6, I have problem with my GPO in my BDC,
I create a GPO in my PDC and I update with rsync this GPO to my BDC, when
the client windows xp under my BDC try to update the GPO, say me Denied
Access to .INI, I think the cause is my client windows xp try to search
the access to GPO in my PDC and not my BDC, somebody can  help me

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


[Samba] dbcheck

2012-07-31 Thread sandy . napoles
Helo list, I have samba 4 betta5 as BDC, when I run ./samba-tool dbcheck:

Failed to correct missing instanceType on
DC=81db8c7b-70f3-4bb0-941f-a9b3abb69b04._msdcs\0ADEL:6334f796-af60-4238-8e5a-1610056ca9b6,CN=LostAndFound,DC=eccmg,DC=cupet,DC=cu
by setting instanceType=4 : (65, objectclass_attrs: at least one
mandatory attribute ('objectCategory') on entry
'DC=81db8c7b-70f3-4bb0-941f-a9b3abb69b04._msdcs\\0ADEL:6334f796-af60-4238-8e5a-1610056ca9b6,CN=LostAndFound,DC=eccmg,DC=cupet,DC=cu'
wasn't specified!)

I can see in active directory users and computers the folder lost and
found, how I can delete all record in this place... I run too ./samba-tool
dbcheck --fix and nothing happened.


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


[Samba] Join BDC

2012-07-27 Thread sandy . napoles
Hello list, Iam using samba4 betta4 as PDC, I want to know if is posible
join a BDC server under samba4 of course without replicate firstly, and
after force the replication, the problem is when I try to join samba as as
BDC say me
Starting replication
Join failed - cleaning up
checking sAMAccountName
Deleted CN=DANTES,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Deleted CN=NTDS
Settings,CN=DANTES,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Deleted
CN=DANTES,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')

I test some tool, as ping, stop the firewal, etc, and nothing,I do not
know what is the problem. Can somebody helpme

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


[Samba] Solved Re: Error ACL

2012-07-17 Thread sandy . napoles
Hi All.

looking more carefully the error:

Your filesystem or build does not support posix ACLs, which s3fs requires.
 Try the mounting the filesystem with the 'acl' option.

I think, I do make a mount -a what's the problem then?...

And I remembered that a friend of mine has commented to me that the ACL is
a kernel module, not a simple software, so the problem maybe was in the
kernel not loading it...

Solution? REBOOT

As simply as that, at reboot the error has gone...

Thanks..



 other errors that  I have when I try to join BDC with samba 4 is the
 follow

  Try the mounting the filesystem with the 'acl' option.)
 Deleted
 CN=DANTES,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
 ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
 ProvisioningError: Your filesystem or build does not support posix ACLs,
 which s3fs requires.  Try the mounting the filesystem with the 'acl'
 option.
   File
 /usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
 line 160, in _run
 return self.run(*args, **kwargs)
   File
 /usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
 line 256, in run
 machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
 1053, in join_DC
 ctx.do_join()
   File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
 957, in do_join
 ctx.join_provision()
   File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
 646, in join_provision
 use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend)
   File
 /usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py,
 line 1773, in provision
 raise ProvisioningError(Your filesystem or build does not support
 posix ACLs, which s3fs requires.  Try the mounting the filesystem with
 the 'acl' option.)

 I add in /etc/fstab user_xattr,




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


[Samba] GPO

2012-07-16 Thread sandy . napoles
Hello list today I update my samba4 to  samba4 Version
4.0.0beta4-GIT-dff29e4, everythings is ok, but when I try to create a GPO
(Group Politic Object) say me Deny Access and this politic do not aplicate
to pc, I try with user administrator and I have the same problem.
somebody can help me?

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


[Samba] Error ACL

2012-07-16 Thread sandy . napoles
other errors that  I have when I try to join BDC with samba 4 is the follow

 Try the mounting the filesystem with the 'acl' option.)
Deleted
CN=DANTES,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
ProvisioningError: Your filesystem or build does not support posix ACLs,
which s3fs requires.  Try the mounting the filesystem with the 'acl'
option.
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 160, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 256, in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
1053, in join_DC
ctx.do_join()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
957, in do_join
ctx.join_provision()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
646, in join_provision
use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py,
line 1773, in provision
raise ProvisioningError(Your filesystem or build does not support
posix ACLs, which s3fs requires.  Try the mounting the filesystem with
the 'acl' option.)

I add in /etc/fstab user_xattr,


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


[Samba] upgrade

2012-07-09 Thread sandy . napoles
Hello list, I need update my samba, I run firtly ./configure.developer,
and when I run make I get this message

 123/3913] Compiling lib/replace/replace.c
In file included from ../lib/replace/replace.c:26:
../lib/replace/replace.h:112:24: error: bsd/string.h: No such file or
directory
../lib/replace/replace.h:116:24: error: bsd/unistd.h: No such file or
directory
Waf: Leaving directory `/media/samba-master/bin'
Build failed:  - task failed (err #1):


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


[Samba] Error Beta

2012-06-26 Thread sandy . napoles
Hello list, I have Samba4.0.0beta2-GIT-6440720, yesterday I run git pull
for update my samba-master, the task was succeful, I read the step for
update and everything work god, when i run smclient --version say me
samba4 betta3, but but I found a great problem, my client windows xp,
ubuntu, all do not loging to domain, I come back the version of beta 4 to
beta 2 and everything is ok. I ask there is some problem with beta3???

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


[Samba] Error Beta

2012-06-26 Thread sandy . napoles
Hello list, I have Samba4.0.0beta2-GIT-6440720, yesterday I run git pull
for update my samba-master, the task was succeful, I read the step for
update and everything work god, when i run smclient --version say me
samba4 betta3, but but I found a great problem, my client windows xp,
ubuntu, all do not loging to domain, I come back the version of beta 4 to
beta 2 and everything is ok. I ask there is some problem with beta3?

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


[Samba] Replication

2012-06-23 Thread sandy . napoles
Hello list, Iam testing two replication

1- Replicate samba4 beta2 as PDC with other samba4 beta2 as BDC and all
work good.

2- Replicate samba4 beta2 as PDC with Windows Server 2003 service pack 2
as BDC and the proccess of replica begin at 7:00 AM with this message
Received 6966 out op aproximately 7402 object in this moment are 10:00 PM
and do not finish, there is 13 hours replicate and nothing happened.

I ask in this second case, is normal?, in my windows server 2003 the DNS
is desabled, in my pdc my dns is working very well.

Thanks

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


[Samba] Error [solved]

2012-06-20 Thread sandy . napoles
Thank everybody, I can find my error, I only add in bind bind
configuration, this records SRV and everythin ok

_ldap._tcp.eccmg.cupet.cu.   INSRV  0 0   389
capital.eccmg.cupet.cu.
_kerberos._tcp.eccmg.cupet.cu.   INSRV  0 088
capital.eccmg.cupet.cu.
_ldap._tcp.dc._msdcs.eccmg.cupet.cu. INSRV  0 0   389
capital.eccmg.cupet.cu.
_kerberos._tcp.dc._msdcs.eccmg.cupet.cu. INSRV  0 088
capital.eccmg.cupet.cu.

_kpasswd._tcp.eccmg.cupet.cu INSRV  0 0464 
capital.eccmg.cupet.cu.
_kpasswd._udp.eccmg.cupet.cu INSRV  0 0464 
capital.eccmg.cupet.cu.
_ldap._tcp.gc._msdcs.eccmg.cupet.cu  INSRV  0 03268
capital.eccmg.cupet.cu.
_gc._tcp.eccmg.cupet.cu  INSRV  0 03268
capital.eccmg.cupet.cu.


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


[Samba] klist

2012-06-20 Thread sandy . napoles
Hello list, look at this in my logs

/usr/local/samba/sbin/samba_dnsupdate: Check your Kerberos ticket, it may
have expired.

I run kinit and generate the ticket suceful, but in 5 minute the same error.
thanks

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


[Samba] Error

2012-06-19 Thread sandy . napoles
Hello list, I have samba4 as PDC, I need join other samba4 as BDC, I
follow the step in the how to, but when I run this step kinit@DOMAIN i
have

kinit: Cannot resolve network address for KDC in realm ECCMG.CUPET.CU
while getting initial credentials

Somebody can help me

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


[Samba] error

2012-06-19 Thread sandy . napoles
and, when I run this other commands

./samba-tool domain join eccmg.cupet.cu DC -Usandy --realm=eccmg.cupet.cu
Finding a writeable DC for domain 'eccmg.cupet.cu'
ERROR(exception): uncaught exception - Failed to find a writeable DC for
domain 'eccmg.cupet.cu'
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 160, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 184, in run
machinepass=machinepass, use_ntvfs=use_ntvfs)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
943, in join_DC
machinepass, use_ntvfs)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
65, in __init__
ctx.server = ctx.find_dc(domain)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
203, in find_dc
raise Exception(Failed to find a writeable DC for domain '%s' % domain)
root@orion:/usr/local/samba/bin#


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


[Samba] error

2012-06-19 Thread sandy . napoles
First commands in BDC
host -t SRV _kerberos._udp.eccmg.cupet.cu.
Host _kerberos._udp.eccmg.cupet.cu. not found: 3(NXDOMAIN)

Second commands in BDC
host -t A server.eccmg.cupet.cu.
server.eccmg.cupet.cu has address 10.10.10.1

/etc/krb5.conf

[libdefaults]
   dns_lookup_realm = true
   dns_lookup_kdc = true
   default_realm = ECCMG.CUPET.CU


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


[Samba] error

2012-06-19 Thread sandy . napoles
First commands in BDC
host -t SRV _kerberos._udp.eccmg.cupet.cu.
Host _kerberos._udp.eccmg.cupet.cu. not found: 3(NXDOMAIN)

Second commands in BDC
host -t A server.eccmg.cupet.cu.
server.eccmg.cupet.cu has address 10.10.10.1

/etc/krb5.conf

[libdefaults]
   dns_lookup_realm = true
   dns_lookup_kdc = true
   default_realm = ECCMG.CUPET.CU


PD: My dns is not integrate to my samba4

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


[Samba] error

2012-06-19 Thread sandy . napoles
hu I make some change in my bind configuration, for example, I add in
my configuration
_ldap._tcp.eccmg.cupet.cu.   SRV 0 0 389 capital.eccmg.cupet.cu.
_kerberos._tcp.eccmg.cupet.cu.   SRV 0 0  88 capital.eccmg.cupet.cu.
_ldap._tcp.dc._msdcs.eccmg.cupet.cu. SRV 0 0 389 capital.eccmg.cupet.cu.
_kerberos._tcp.dc._msdcs.eccmg.cupet.cu. SRV 0 0  88 capital.eccmg.cupet.cu.

and when i run again the commands

./samba-tool domain join eccmg.cupet.cu DC -Uadministrator
Finding a writeable DC for domain 'eccmg.cupet.cu'
Found DC capital.eccmg.cupet.cu
Password for [ECCMG\administrator]:
workgroup is ECCMG
realm is eccmg.cupet.cu
checking sAMAccountName
Adding CN=ORION,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Adding
CN=ORION,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Adding CN=NTDS
Settings,CN=ORION,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Adding SPNs to CN=ORION,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Setting account password for ORION$
Enabling account
Calling bare provision
No IPv6 address will be assigned
get_nt_acl_no_snum: fset_nt_acl returned zero.
Join failed - cleaning up
checking sAMAccountName
Deleted CN=ORION,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Deleted CN=NTDS
Settings,CN=ORION,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Deleted
CN=ORION,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
ProvisioningError: Your filesystem or build does not support posix ACLs,
s3fs is unworkable in this mode
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 160, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 184, in run
machinepass=machinepass, use_ntvfs=use_ntvfs)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
965, in join_DC
ctx.do_join()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
871, in do_join
ctx.join_provision()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
599, in join_provision
use_ntvfs=ctx.use_ntvfs, dns_backend=NONE)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/provision/__init__.py,
line 1749, in provision
raise ProvisioningError(Your filesystem or build does not support
posix ACLs, s3fs is unworkable in this mode)
root@orion:/usr/local/samba/bin#


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


[Samba] windows and Samba

2012-06-14 Thread sandy . napoles
Hello list, I hava samba4 as PDC, I need join a windows server 2003 as BDC
to my samba, from windows server I run dcpromo, and I choose the option
join to domin exist, everything is ok, when i reboot the windows, I see in
the active directory user and computer of windows that users do not see.
somebody can helpme, somebody test this variant.
Excus me my english.


-- 
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


Re: [Samba] Error

2012-06-06 Thread sandy . napoles
Nothing list, I depend absolutly to folder samba master, I follow the step
that send jore...@fastmail.net and the problem continuos
He say me it Try git reset --hard; git clean -xfd; git pull --rebase;
Then I run andthe result was

error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git
Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
while processing commit 15c532e78b79cf3205053e4ddfe1c7348a0b7f26.
error: Fetch failed.

Help me please, I need really resolv my problem.
thanks

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


[Samba] [Fwd: Re: Error]

2012-06-05 Thread sandy . napoles
Hello list, Iam root, and remove the bin folder in my samba master, this
folder is in /media/samba-master/bin, when I remove this folder I run git
pull again and the same problem
The general step that I follow are
1- rm -r /media/samba-master/bin
2- I run make distclean, and
   WAF_MAKE=1 ./buildtools/bin/waf distclean
   'distclean' finished successfully (0.000s)
3- I run git pull
error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git
Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
while processing commit 1a596076697624545f415eb558c4647267cfe46c.
error: Fetch failed.



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


Re: [Samba] Error

2012-06-04 Thread sandy . napoles
I run git clean -x -f -d and nothing happened.
git pull
error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git
Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
while processing commit 1a596076697624545f415eb558c4647267cfe46c.
error: Fetch failed.

 Sometimes things appear to get a little confused if objects have been
 moved
 around.  It often helps to run:

 git clean -x -f -d

 I've had times when I have actually removed the entire samba-master
 directory and pulled from scratch.  Obviously, this assumes that you
 haven't actually made any source changes or applied scripts outside of
 git.



 On Sat, Jun 2, 2012 at 11:01 AM, sandy.napo...@eccmg.cupet.cu wrote:

 Hello list, after somes days I have this error when I run git pull in
 samba4
 error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
 http://gitweb.samba.org/samba.git
 Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
 while processing commit 1a596076697624545f415eb558c4647267cfe46c.
 error: Fetch failed.
 root@jupiter:/home/run# error: Unable to find
 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
 http://gitweb.samba.org/samba.git^C

 What mean it?, What can I do?

 --
 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


[Samba] Error

2012-06-02 Thread sandy . napoles
Hello list, after somes days I have this error when I run git pull in samba4
error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git
Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
while processing commit 1a596076697624545f415eb558c4647267cfe46c.
error: Fetch failed.
root@jupiter:/home/run# error: Unable to find
3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git^C

What mean it?, What can I do?

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


[Samba] Git pull

2012-05-31 Thread sandy . napoles
Hello list, when I run git pull:

error: Unable to find 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae under
http://gitweb.samba.org/samba.git
Cannot obtain needed blob 3b6a88a1a49fdc23cd956c6583e9ec56e541eeae
while processing commit f866755015352d925955d1de6c1b7b0c4212d874.
error: Fetch failed.

What can I do?


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


[Samba] Samba4+windows 7

2012-05-29 Thread sandy . napoles
Hello list, Iam using samba 4 alpha 21, I have a client with windows 7,
this pc join suceful to domain, but the problem consist when it search a
shared folder en smb.conf, for example a client with windows xp do not
have problem with shared folder in samba4, windows 7 have problem with
shared resource.
somebody can help me.

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


[Samba] git

2012-05-28 Thread sandy . napoles
Hello list, when I run git:

error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: File c8fe5cb6ae03da75c0387b38bd01c71dea1cd6e0
(http://gitweb.samba.org/samba.git/objects/49/5f12d932a2ec2848a17917e6f1aa39590dc97d)
corrupt
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: inflate: data stream error (incorrect header check)
error: Unable to find 495f12d932a2ec2848a17917e6f1aa39590dc97d under
http://gitweb.samba.org/samba.git
Cannot obtain needed commit 495f12d932a2ec2848a17917e6f1aa39590dc97d
while processing commit 6d5aae1d9680657c7021af2974db9b0dc2336f13.
error: Fetch failed.


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


[Samba] Backup

2012-05-16 Thread sandy . napoles
Thanks Aaron I can restore backup succeful, but when I check this command
say me it
./smbclient: error while loading shared libraries: libreadline.so.5:
cannot open shared object file: No such file or directory
What mean it?

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


[Samba] Backup

2012-05-16 Thread sandy . napoles
Thanks Aaron I can restore backup succeful, but when I check this command
say me it
./smbclient: error while loading shared libraries: libreadline.so.5:
cannot open shared object file: No such file or directory
What mean it?

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


[Samba] [SOLVED]

2012-05-16 Thread sandy . napoles
I did have a problem after backup/restore my domain with samba4 alpha 20
in debian 6, the problem was to run the command smbclient --version it did
say
./smbclient: error while loading shared libraries: libreadline.so.5:
Thanks to Steve a follow the answer
On debian6/maverick/natty, install libreadline5-dev (replacing any
libreadline6-dev already there):
sudo apt-get install libreadline5-dev

That is all
Thanks


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


[Samba] Backup

2012-05-15 Thread sandy . napoles
Hello list, I have to change the PC where run my samba4 as PDC, the cause
is that this PC will change all hardware, if i copy the /usr/local/samba
to new pc everything work succeful? or I must make other change?
thanks


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


[Samba] version

2012-05-02 Thread sandy . napoles
thanks, look

/usr/local/samba/bin# ./smbclient -V
Version 4.0.0alpha20-GIT-d38a171


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


[Samba] upgrade

2012-05-02 Thread sandy . napoles
Very intersting, Then I can only upgrade one times on month?


 Original Message 
Subject: Re: [Samba] upgrade
From:Michael Wood esiot...@gmail.com
Date:Tue, May 1, 2012 5:29 am
To:  sandy.napo...@eccmg.cupet.cu
Cc:  samba@lists.samba.org
--

Hi

On 1 May 2012 00:24,  sandy.napo...@eccmg.cupet.cu wrote:
 Hello list, Iam running every day git pull for update my samba-master,
 after I follow the step upgrading-samba4, and everything is ok, but I will
 want know how I can see if my samba4 is upgrade succeful. thereis some
 log. some aplication that say me it, in this moment how I can know if my
 samba4 is alpha 18 or alpha 19? after upgrade

It is not necessary to upgrade every day :)

/usr/local/samba/sbin/samba --version

(or smbclient --version, etc.)

will tell you the version.  For a version of samba later than alpha19,
it will say something like Version 4.0.0alpha20-GIT-xxx, where
xxx is the first few characters of the commit ID that was
current when you compiled Samba.

-- 
Michael Wood esiot...@gmail.com


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


[Samba] upgrade

2012-04-30 Thread sandy . napoles
Hello list, Iam running every day git pull for update my samba-master,
after I follow the step upgrading-samba4, and everything is ok, but I will
want know how I can see if my samba4 is upgrade succeful. thereis some
log. some aplication that say me it, in this moment how I can know if my
samba4 is alpha 18 or alpha 19? after upgrade

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


[Samba] Tools

2012-04-27 Thread sandy . napoles
Helo list, there is some tool to admin samba4 active directory users and
gpo under linux, for examplo in windows thereis a adminpack, in linux
thereis something as adminpack?
PD: I do not like phpldapadmin
salu2s

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


[Samba] GPO

2012-04-24 Thread sandy . napoles
Thanks, the GPO work succeful, but I have other problem, yesterday I'd
create a GPO belong to users, and other belong to computer, today I can
see that the GPO belong to computer is there, but the GPO belong users is
not there. is very stranger, the GPO belong to users do not stay...Any
Idea.
If I create the GPO belong to users for example tomorrow I can not see it.


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


[Samba] GPO

2012-04-23 Thread sandy . napoles
Hello list, how I can assign GPO to users in samba4 for change password
with frecuence example 90 day

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


[Samba] transfer roles

2012-04-17 Thread sandy . napoles
Hello list, I have samba 4 as BDC,I need to promove this server as PDC and
eliminate my windows server 2003, but I do not want to write all users
again, then I can make it as follow:

1- In the console of windows run  ntdsutil
2- After write roles and press enter
3- write connections and press enter
4- write connect to server \\PC with samba4
5- write quit and press enter
6- Write in this order
---transfer domain naming master
---transfer infrastructure master
---transfer PDC
---transfer RID master
---trasnfer schema master
7- shutdown to pc with windows y reboot samba4..

That is all. samba 4 as PDC after to transfer roles from windows server
2003 to samba4

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


[Samba] CHOWN

2012-04-05 Thread sandy . napoles
Hello list, here is the procedure to permit user create in active
directory login samba4 server, using pam_winbind

Installing and configuring

Ensure that you built Samba 4 with libpam0g-dev installed on your system.
If not, install the PAM development libraries and re-compile Samba 4 from
the ./configure.developer stage. Install pam_winbind.so in the usual
place:

1 ln -s /usr/local/samba/lib/pam_winbind.so /lib/security
Ckeck you have a similar entry in smb.conf:

[global]
template shell = /bin/bash

2. Restart your samba 4 server
Note: The following actions can cause you not to be able to connect to
your system if you do something wrong. You are invitated to make a backup
of your previous configuration and to have a spare connection to the
server as root to be able to restore them in case of problem.

3. Files to modify:
/etc/pam.d/common-auth
Add this line before pam_unix.so:
auth  sufficient  pam_winbind.so
Also add the option use_first_pass to the pam_unix.so line
/etc/pam.d/common-account
Add this line before pam_unix.so:
   account sufficient pam_winbind.so
/etc/pam.d/common-session

Add these lines before any other session line:
session required pam_mkhomedir.so
session required pam_winbind.so
Testing
Check that getent passwd return a correct entry:
getent passwd
...
ssh administrator@10.0.100.1
...

It's important that the shell must be a real shell (and not /bin/false).

Check that you can connect as a non domain user (ie. root or any other
account that used before






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


[Samba] Chown

2012-04-02 Thread sandy . napoles
Hello list, i did try to assign permission to folder for some users in
samba4 as BDC, for example
chown sandy Temp/
chown: invalid user: `sandy'

when sandy is a users create in active directory, why sayme that sandy is
invalid users


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


[Samba] Chown

2012-04-02 Thread sandy . napoles
Hello list, I solved my problem.



1- run as root in samba4 server
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib/libnss_winbind.so
ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2

2- Edit nsswitch.con y put only the follow line
passwd:  files winbind
group:   files winbind
shadow:  files

3- run this command /usr/local/samba/bin/wbinfo -p
you can watch
Ping to winbindd succeeded

when i run chown pepe Trabajo/ everything is ok, where pepe is a users in
the active directory

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


[Samba] Users

2012-03-30 Thread sandy . napoles
Hello list, Look at it

chown pepe Temp
chown: invalid user: `pepe'

Where pepe es a users tha was create in active directory, it problem is in
samba4 as BDC, i follow the step in how to samba4



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


[Samba] Two problem

2012-03-27 Thread sandy . napoles
Hello list, I have two problem.

1. How I can replicate the netlogon folder and sysvol folder on samba4 and
windows server 2003, if I create a security police in samba 4 do not
replicate to windows server, I have to copy it manual.

2. My PDC have Windows server 2003 an my BDC samba4, sometime i reboot the
PDC, then when i create a user in samba4 do not replicate to windows
server, I Shutdown windows server and samba4, firstly I power on windows
server after samba4, if a tests again to create user then repicate cool.
This order is important to samba4 or I have some problem.

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


[Samba] Two Problem

2012-03-27 Thread sandy . napoles
Here is the log

[2012/03/27 11:14:18,  0]
../source4/dsdb/repl/drepl_out_helpers.c:714(dreplsrv_op_pull_source_apply_changes_trigger)
  Failed to commit objects:
WERR_GENERAL_FAILURE/NT_STATUS_INVALID_NETWORK_RESPONSE


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


[Samba] dbcheck

2012-03-14 Thread sandy . napoles
Hello list, somebody can helpe, my problem is when I run this command
./samba-tool dbcheck

Checking 6205 objects
ERROR: missing backlink attribute 'memberOf' in CN=Sandy,OU=Administrador
de Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link
member in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
ERROR: missing backlink attribute 'memberOf' in
CN=openfire,OU=Administrador de
Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link member
in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
Please use --fix to fix these errors
Checked 6205 objects (2 errors)

PD: when I run --fix nothing happened.
What mean it, what can I do?
thanks


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


[Samba] Problem to Replicate

2012-03-01 Thread sandy . napoles

Hello list, Iam using Samba4 alpha18 with Debian Squeeze. Mi primary
domain have Windows Server 2003 and my Secundary Domain have Samba4. When
i create a user in active directory user and computer in Windows Server, i
can see the user in active directory user and computer in samba4, and when
i create a user in samba4 i can see this user en active directory windows
server. the principal problem is in Active Directory Sites and Services.
When a replicate from Windows to Samba 4 sometime is succefull, and
sometime give some error. but when i replicate from samba4 to windows
server, the replicate take very much time,  so so 6 hours.
somebody have some procedure to make replication between windows and samba4.
Thanks.

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


[Samba] Replication

2012-02-22 Thread sandy . napoles
yes steve, thanks to answer my question, yes i have en /etc/krb5.conf ONLY
the follow line

[libdefaults]
 dns_lookup_realm = true
 dns_lookup_kdc = true
 default_realm = ECCMG.CUPET.CU

today I test again the replication and happend tha the replicaction from
windows server 2003 to samba 4 was succeful, but from tha samba 4 server
to windows 2003 say me nothing don not show any error and don not show
succefful replication only stay thinking...

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


[Samba] Join to domain

2012-02-21 Thread sandy . napoles
Hello list, iam again with the same problem, i need help.Iam follow
the step in the URL
https://wiki.samba.org/index.php/Samba4_joining_a_domain, when i run
bin/samba-tool domain join samba.example.com DC -Uadministrator
--realm=samba.example.com i have the follow error.

root@backup:/usr/local/samba/bin# ./samba-tool domain join eccmg.cupet.cu
DC -Usandy --realm=eccmg.cupet.cu
Finding a writeable DC for domain 'eccmg.cupet.cu'
Found DC siscont.eccmg.cupet.cu
Password for [WORKGROUP\sandy]:
workgroup is ECCMG
realm is eccmg.cupet.cu
checking sAMAccountName
Adding CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Adding
CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Adding CN=NTDS
Settings,CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Join failed - cleaning up
checking sAMAccountName
Deleted CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Deleted
CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(runtime): uncaught exception - (-1073741790, 'Access denied')
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 162, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 180, in run
machinepass=machinepass)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
967, in join_DC
ctx.do_join()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
872, in do_join
ctx.join_add_objects()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
467, in join_add_objects
ctx.join_add_ntdsdsa()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
416, in join_add_ntdsdsa
ctx.DsAddEntry([rec])
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
326, in DsAddEntry
ctx.drsuapi_connect()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
305, in drsuapi_connect
(ctx.drsuapi_handle, ctx.bind_supported_extensions) =
drs_utils.drs_DsBind(ctx.drsuapi)
  File /usr/local/samba/lib/python2.6/site-packages/samba/drs_utils.py,
line 144, in drs_DsBind
(info, handle) = drs.DsBind(misc.GUID(drsuapi.DRSUAPI_DS_BIND_GUID),
bind_info)


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


[Samba] Error

2012-02-20 Thread sandy . napoles
Hello list, today i update the folder samba-master, when a run this step i
have a the follow errorsomebody can helpme?

root@backup:/usr/local/samba/bin# ./samba-tool domain join eccmg.cupet.cu
DC -Usandy --realm=eccmg.cupet.cu
Finding a writeable DC for domain 'eccmg.cupet.cu'
Found DC siscont.eccmg.cupet.cu
Password for [WORKGROUP\sandy]:
workgroup is ECCMG
realm is eccmg.cupet.cu
checking sAMAccountName
Adding CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Adding
CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Adding CN=NTDS
Settings,CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
Join failed - cleaning up
checking sAMAccountName
Deleted CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu
Deleted
CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu
ERROR(runtime): uncaught exception - (-1073741790, 'Access denied')
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 162, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 180, in run
machinepass=machinepass)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
967, in join_DC
ctx.do_join()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
872, in do_join
ctx.join_add_objects()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
467, in join_add_objects
ctx.join_add_ntdsdsa()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
416, in join_add_ntdsdsa
ctx.DsAddEntry([rec])
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
326, in DsAddEntry
ctx.drsuapi_connect()
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
305, in drsuapi_connect
(ctx.drsuapi_handle, ctx.bind_supported_extensions) =
drs_utils.drs_DsBind(ctx.drsuapi)
  File /usr/local/samba/lib/python2.6/site-packages/samba/drs_utils.py,
line 144, in drs_DsBind
(info, handle) = drs.DsBind(misc.GUID(drsuapi.DRSUAPI_DS_BIND_GUID),
bind_info)


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


[Samba] Join to domain

2012-01-31 Thread sandy . napoles
Helo list, i follow the step in the URL
https://wiki.samba.org/index.php/Samba4_joining_a_domain, when i going to
run this tool bin/samba-tool domain join samba.example.com DC
-Uadministrator --realm=samba.example.com i have the follow error


root@bdc:/usr/local/samba/bin# ./samba-tool domain join eccmg.cupet.cu DC
-Usand
y --realm=eccmg.cupet.cu
Finding a writeable DC for domain 'eccmg.cupet.cu'
Found DC siscont.eccmg.cupet.cu
Password for [WORKGROUP\sandy]:
Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldap://siscont.eccmg.cupet.cu' with backend 'ldap':
(null)
ERROR(ldb): uncaught exception - None
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py,
line 167, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py,
line 162, in run
machinepass=machinepass)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
927, in join_DC
machinepass)
  File /usr/local/samba/lib/python2.6/site-packages/samba/join.py, line
71, in __init__
credentials=ctx.creds, lp=ctx.lp)
  File /usr/local/samba/lib/python2.6/site-packages/samba/samdb.py, line
58, in __init__
options=options)
  File /usr/local/samba/lib/python2.6/site-packages/samba/__init__.py,
line 113, in __init__
self.connect(url, flags, options)
  File /usr/local/samba/lib/python2.6/site-packages/samba/samdb.py, line
73, in connect
options=options)



somebody can helpme

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


Re: [Samba] Join to domain

2012-01-31 Thread sandy . napoles
Hello list i did found my error, the problem was in the time
sincronization, both server must have the same time. thanks..


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


[Samba] Samba4

2012-01-31 Thread sandy . napoles
Hello list, in the follow url thereis a how to join a domain as DC
https://wiki.samba.org/index.php/Samba4_joining_a_domain
In this url thereis a step  (samba-tool drs showrepl)  when i run this
tool i have the follow error

ERROR(class 'samba.drs_utils.drsException'): DRS connection to bdc.
failed - drsException: DRS connection to bdc. failed: (-1073741772,
'NT_STATUS_OBJECT_NAME_NOT_FOUND')
  File /usr/local/samba/lib/python2.6/site-packages/samba/netcmd/drs.py,
line 42, in drsuapi_connect
(ctx.drsuapi, ctx.drsuapi_handle, ctx.bind_supported_extensions) =
drs_utils.drsuapi_connect(ctx.server, ctx.lp, ctx.creds)
  File /usr/local/samba/lib/python2.6/site-packages/samba/drs_utils.py,
line 56, in drsuapi_connect
raise drsException(DRS connection to %s failed: %s % (server, e))


somebody can helpme


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


[Samba] Bind9

2012-01-25 Thread sandy . napoles
Helo team, a I have samba4 alfa 18 as Domain Controller in Debian Squeeze,
when i configure the bind9, i can see the follow problem for me. Iam
monitoring my dns's configuration from windows xp with admin pack tool,
when I into in the configuration i can not change any thing, example i can
not change the ROOT HINTS, I can not change the Zone of Transfers...I need
change this option. Somebody can helpme
Bye.

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


[Samba] Error

2012-01-21 Thread sandy . napoles
Iam using samba 4 alfa 18 with debian 6, all working very well, i take a
pc with windows xp and join to the domain very well, but, but when I check
in my samba server the command tail -f /var/log/syslog | ccze refered to
the log I can see the follow error

named [1294] samba_dls starting transaction on zone MYDOMAIN
named [1294] client IP update MYDOMAIN Denied

When i see in the zone configuration to the DNS, do not add the pc
automatic. then i have to add the pc in the dns manual


Can you understan my ask?, can you help me please...
thank

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


[Samba] Hello

2012-01-18 Thread sandy . napoles
Iam working with samba4 alfa 18 + debian 6, iam follow the step to the URL
https://wiki.samba.org/index.php/Samba4/HOWTO, but today update to samba
master with the command git pull and everything is ok. the problem was
when i realiced the step 4 to the how to, rerefed to
 ./source4/setup/provision --realm=samdom.example.com --domain=SAMDOM
--adminpass=SOMEPASSWORD --server-role='domain controller'

the errors was  ldb: unable to stat module $[prefix}/modlue/ldb bo such
file or directory, and the bind9 do not create the named.conf in
/usr/local/samba/private


somebody can help me




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