Re: [Samba] no log on servers on ubuntu clients (Samba4)

2013-07-15 Thread alxgrb
here is my smb.conf

[global]
  security = ads
  realm = HOME.NET
# password server = 192.168.9.227
  workgroup = HOME
  idmap uid = 1-2
  idmap gid = 1-2
  winbind refresh tickets = yes
  winbind enum users = yes
  winbind enum groups = yes
  winbind cache time = 15
  winbind use default domain = yes
  template homedir = /home/%U
  template shell = /bin/bash
  client use spnego = yes
  client ntlmv2 auth = yes
  encrypt passwords = true
  restrict anonymous = 2

# Logging information
log level = 2
max log size = 100
log file = /var/log/samba/samba.log%m



--
View this message in context: 
http://samba.2283325.n4.nabble.com/no-log-on-servers-on-ubuntu-clients-Samba4-tp4651010p4651102.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] no log on servers on ubuntu clients (Samba4)

2013-07-12 Thread alxgrb
Hi All,

I need some help about these errors:

1).
 samba version 4.0.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/07/12 10:57:36,  0] ../source4/smbd/server.c:475(binary_smbd_main)
  samba: using 'standard' process model
[2013/07/12 10:57:37,  1]
../source4/auth/gensec/gensec_gssapi.c:339(gensec_gssapi_client_start)
  Could not determine hostname for target computer, cannot use kerberos
[2013/07/12 10:57:37,  1]
../source4/auth/gensec/gensec_gssapi.c:339(gensec_gssapi_client_start)
  Could not determine hostname for target computer, cannot use kerberos
[2013/07/12 12:00:55,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2013/07/12 12:00:55,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 11 in pid 2264 (4.0.7)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2013/07/12 12:00:55,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2013/07/12 12:00:55,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error
[2013/07/12 13:27:55,  1]
../source4/dsdb/kcc/kcc_deleted.c:105(kccsrv_check_deleted)
  Doing a full scan on DC=ForestDnsZones,DC=home,DC=net and looking for
deleted object
[2013/07/12 13:27:55,  1]
../source4/dsdb/kcc/kcc_deleted.c:105(kccsrv_check_deleted)
  Doing a full scan on DC=DomainDnsZones,DC=home,DC=net and looking for
deleted object
[2013/07/12 13:27:55,  1]
../source4/dsdb/kcc/kcc_deleted.c:105(kccsrv_check_deleted)
  Doing a full scan on CN=Configuration,DC=home,DC=net and looking for
deleted object
[2013/07/12 13:27:55,  1]
../source4/dsdb/kcc/kcc_deleted.c:105(kccsrv_check_deleted)
  Doing a full scan on DC=home,DC=net and looking for deleted object
[2013/07/12 13:37:18,  1] ../source4/dns_server/dns_query.c:521(handle_tkey)
  Tkey handshake completed
[2013/07/12 13:37:18,  1]
../source4/dns_server/dns_update.c:672(handle_updates)
  update count is 2

After restart of the server it goes again...

2.)
I cannot login with lightdm (ubuntu 12.04) to my samba4 server. [no log on
servers]???
I'm waiting about 5 or 7 min, then I can log without problems
It's every day!
wbinfo -u(-g)  getent passwd (groups) lists all groups and users.


Thanks,
Alexander



--
View this message in context: 
http://samba.2283325.n4.nabble.com/no-log-on-servers-on-ubuntu-clients-Samba4-tp4651010.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


Re: [Samba] LDAP_Migration_to_Samba

2013-05-02 Thread alxgrb
Hi Marc,
Thanks for your support!
Pleae see these threads 

http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-td4646168.html#a4646568

and

http://samba.2283325.n4.nabble.com/Samba-4-amp-automount-td4647019.html

Regards,
Alexander



--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Migration-to-Samba-tp4647429p4647567.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] Samba4 migration

2013-04-29 Thread alxgrb
I have a question ...

How can I migrate existing LDAP users ( or schemas) on Ubuntu 10.04.2 to the
new Samba4 (Ubuntu 12.04.2) server?

Does anyone have an idea?
Thanks for support

Alex



--
View this message in context: 
http://samba.2283325.n4.nabble.com/Samba4-migration-tp4646168.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-15 Thread alxgrb
Thanks for your help Andrew!
It works perfectly.

see messages:

 cat simpleuser2samba.ldif 
dn: cn=firstuser,cn=Users,dc=demo,dc=lan
objectclass: user
sAMAccountName: firstuser

 /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
 simpleuser2samba.ldif
Added 1 records successfully

 /usr/local/samba/bin/samba-tool user list
Administrator
dns-ubsrv
firstuser
demouser
testuser
alxgrb
krbtgt
Guest
alex


Many thanks again,
Alexander




--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646806.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread alxgrb
Hi,

please look at this:=

alxgrb@ubsrv:~ sudo /usr/local/samba/bin/smbclient -L localhost -U%
Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5]

Sharename   Type  Comment
-     ---
netlogonDisk  
sysvol  Disk  
homeDisk  Home drive
dataDisk  Data disk
IPC$IPC   IPC Service (Samba 4.0.5)
Domain=[DEMO] OS=[Unix] Server=[Samba 4.0.5]

Server   Comment
----

WorkgroupMaster
----

The testuser.ldif file:=
cat testuser.ldif
dn: uid=bmontag,ou=Users,dc=demo,dc=lan
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: top
cn: Brigitte Montag
gidNumber: 10001
homeDirectory: /home/bmontag
sambaSID: -59220
sn: Montag
uid: bmontag
uidNumber: 29110
displayName: Brigitte Montag
givenName: Brigitte
loginShell: /bin/bash
mail: brigitte.mon...@mailserver.com

I have tried add the testuser.ldif file to sam.ldb:=
sudo /usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
testuser.ldif 
ERR: No such object : objectclass: Cannot add
uid=bmontag,ou=Users,dc=demo,dc=lan, parent does not exist! on DN
uid=bmontag,ou=Users,dc=demo,dc=lan at block before line 18
Add failed after processing 0 records

What do I have to do to make my ldbadd work??

Thanks,
Alexander




--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646559.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-11 Thread alxgrb
I have changed... 
alxgrb@ubsrv:~ sudo /usr/local/samba/bin/ldbadd -H
/usr/local/samba/private/sam.ldb testuser.ldif 
[sudo] password for alxgrb: 
ERR: No such attribute : objectclass_attrs: attribute 'sambaSID' on entry
'UID=bmontag,CN=Users,DC=demo,DC=lan' was not found in the schema! on DN
uid=bmontag,cn=Users,dc=demo,dc=lan at block before line 18
Add failed after processing 0 records

Must I create a schema?



--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646568.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-09 Thread alxgrb
Thank you for support.

OK. If one has 10 users, it goes by hand, but we have ca. 110 users.
Maybe there for it an automatic solution?



--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646470.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-08 Thread alxgrb
Ok is clear, but samba-tool domain classicupgrade works only if samba
instance is installed. Is it right?
 
Our old server has only LDAP/Automount services without any samba's
instances.
 
I would like to migrate only the LDAP users in the new samba4 server.

Greetings,
Alexander



--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646419.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


Re: [Samba] Samba4 migration

2013-04-04 Thread alxgrb
I've tried with Apache Directory Studio to export LDAP (Schema) into LDIF
file. Its works.
But convert to (AD ldif) with oLschema2ldif don't work. S. message:

sudo /usr/local/samba/bin/oLschema2ldif -b DN=domainname -I
/home/alxgrb/ldapschemas/old_ldap_schema_250313.ldif -O converted.ldif
malformed entry on line 1265
Converted 0 records with 1 failures

Any Idea? (The line 1265 is empty)
Can I use ldbadd?

Thanks,
Alex




--
View this message in context: 
http://samba.2283325.n4.nabble.com/Samba4-migration-tp4646168p4646272.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


Re: [Samba] LDAP (Schemas,Users) to Samba4 migration

2013-04-04 Thread alxgrb
I've tried with Apache Directory Studio to export LDAP (Schema) into LDIF
file. Its works. 
But convert to (AD ldif) with oLschema2ldif don't work. S. message: 

sudo /usr/local/samba/bin/oLschema2ldif -b DN=domainname -I
/home/alxgrb/ldapschemas/old_ldap_schema_250313.ldif -O converted.ldif 
malformed entry on line 1265 
Converted 0 records with 1 failures 

Any Idea? (The line 1265 is empty) 
Can I use ldbadd? 

Thanks, 
Alex



--
View this message in context: 
http://samba.2283325.n4.nabble.com/LDAP-Schemas-Users-to-Samba4-migration-tp4646168p4646274.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