[Samba] SaMBa 4 - dbcheck

2013-04-17 Thread Celso Viana
Hi all,

I migrated a base Samba3 to Samba4 with classicupgrade and then ran the 
DBCHECK. Is returning the error bellow.

This occurs when we have accented characters in basis. How do I fix this?

root@samba: # samba-tool dbcheck
Checking 8987 objects
Conversion error: Illegal multibyte sequence(�mella x,y)
ERROR(runtime): uncaught exception - (31, 'WERR_GENERAL_FAILURE')
  File /usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py,
line 175, in _run
return self.run(*args, **kwargs)
  File /usr/local/lib/python2.7/site-packages/samba/netcmd/dbcheck.py,
line 117, in run
controls=controls, attrs=attrs)
  File /usr/local/lib/python2.7/site-packages/samba/dbchecker.py, line
87, in check_database
error_count += self.check_object(object.dn, attrs=attrs)
  File /usr/local/lib/python2.7/site-packages/samba/dbchecker.py, line
834, in check_object
normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema,
attrname, [val])
  File /usr/local/lib/python2.7/site-packages/samba/samdb.py, line 623,
in dsdb_normalise_attributes
return dsdb._dsdb_normalise_attributes(ldb, ldap_display_name,
ldif_elements)

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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

[Samba] SaMBa 4 - Problem with replication

2013-04-07 Thread Celso Viana
Hi all,

I installed the Samba 4 on a FreeBSD users and migrated Samba 3 with the
command classicupgrade. Then I added the Windows 2003 Server as the DC Samba
domain. The problem is that replication is not working Windows machine to
machine Samba.

 KCC CONNECTION OBJECTS 

Connection --
Connection name: 0bfbaa1d-cd6c-40f9-a9b3-7addce94320d
Enabled: TRUE
Server DNS name : swin.fdax.org
Server DN name  : CN=NTDS
Settings,CN=SWIN,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fdax,DC=org
TransportType: RPC
options: 0x0001
Warning: No NC replicated for Connection!


How do you solve this?

Thanks!


-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - migrate users

2013-04-03 Thread Celso Viana
Hi all,

Is it possible to create users and passwords from a domain samba3 a Samba4
domain? I do not want to migrate the domain using classicupgrade. I want to
create users and passwords old in the new domain.

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - password complexity

2013-04-03 Thread Celso Viana
Hi all,

I have installed the Samba 4, i execute the domain provision command, and
also have disabled the password complexity and decreases the minimum
password length to 3, then I joined a Windows Server 2008 as a DC for the
domain samba. After a few minutes the password complexity and minimum
values are reset to default. Anyone know why?

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - DC to new domain

2013-04-02 Thread Celso Viana
Hi all,

I can put the samba as DC for a child domain in an existing domain tree?

I tried:

samba-tool domain join test.local SUBDOMAIN -Uadministrator
--realm=test.local --parent-domain=smb.test.local

Thanks


-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - Join domain DC

2013-03-29 Thread Celso Viana
I can join the samba 4 (4.0.4) in a domain with active directory windows
server 2012?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - Dialing guide

2013-03-11 Thread Celso Viana
Hi all,

The user properties does not appear to guide dialing. This feature is
available in Samba4?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - authenticate ftp server

2013-03-08 Thread Celso Viana
Hello guys,

Does anyone know if it is possible to authenticate an ftp server
(proftpd or vsftpd) based LDAP Samba 4?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4.0.3 - permissions in mapping

2013-03-02 Thread Celso Viana
Hello guys,

I'm testing samba 4 (4.0.3) with FreeBSD 9.1 amd64. After
done domain provision [1] with the tool samba-tool, was
generated the smb.conf [2]:

The manual smb.conf, reports that the default value of the options
create mask and directory mask are respectively 0744 and 0755.
The command testparm [3] reports that the two values are valued
0777.

The files/folders created in the home directory
users are created with permission 777.

I'm forcing these values, 0744 and 0755. in smb.conf and
continue with 777.


[1]
samba-tool domain provision --realm=dom.patax.org --domain=DOM
--server-role=dc --adminpass='@Test123'

[2]
http://www.pastebin.ca/2327093

[3]
http://www.pastebin.ca/2327096

Anyone know how to fix this?

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4.0.x homedir mapping - is possible without user account in system?

2013-02-23 Thread Celso Viana
Hi all,

I'm testing the Samba4 and can only map the users home if I create the
account in the system and samba. Does anyone know if you can do this
only with the account in samba?

Thanks!

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4.0.2 - Homes sharing does not work

2013-02-05 Thread Celso Viana
I'm testing samba 4 in FreeBSD 9.1 amd64 and I have seen homes that
sharing does not work. I can not map the users home directory. Anyone
else here have also seen this problem?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4 - homedir mapping

2013-02-02 Thread Celso Viana
Hi guys,

I'm testing the SaMBa 4 with FreeBSD 9.1 and am having difficulty.

I did so:
mkdir test
cd test
wget http://ftp.samba.org/pub/samba/stable/samba-4.0.2.tar.gz
tar zxvf samba-4.0.2.tar.gz
cd samba-4.0.2
./configure  make  make install
cd /usr/local/samba
bin/samba-tool domain provision --realm=box.blurr --domain=BOX
--server-role=dc --adminpass='@Tullip500' --use-xattrs=yes
--use-rfc2307
sbin/samba
bin/samba-tool user add fox '@Pipe120' --home-directory='\\samba\fox'
--home-drive=M --given-name=User Test

wbinfo -i fox
BOX\fox:*:317:20::/home/BOX/fox:/bin/false

smbclient //localhost/fox -Ufox
Enter fox's password:
Domain=[BOX] OS=[Unix] Server=[Samba 4.0.2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

If I do this procedure with samba 4.0.0 mapping works.

Could someone help me understand what is happening?

Thanks!

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] SaMBa 4.0 - homedir mapping

2013-01-06 Thread Celso Viana
Hi all,

In Samba 4.0 is possible to map the user's home directory
automatically without user intervention?

Thanks

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
Palmas/TO
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Return date last logon in PDC

2008-11-16 Thread Celso Viana
Dear All,
how can i view the last user logon in a pdc samba ?

Thanks!
-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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


[Samba] Don't change password in PDC

2008-10-12 Thread Celso Viana
Someone know that you can block an account of one (PDC) samba domain
so users do not change the password?

Thanks
-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

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