[Samba] script on user add

2013-06-30 Thread Vladimir A Fomkin
Hi all! How to set up execution of my script on user adding in AD Samba 4? -- С уважением, Фомкин Владимир Андреевич ICQ:220967838 Skype:vladimir.fomkin http://vaf.net.ru -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-27 Thread Vladimir A Fomkin
How add one parameter by ldbedit without interactive editor? (for scripting) 2013/6/27 steve > On 27/06/13 13:58, Vladimir A Fomkin wrote: > >> Hi! >> samba-tool don't work with --uid-number option! >> > Hi > It only works with the development version. > &

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-27 Thread Vladimir A Fomkin
Use Kerberos --ipaddress=IPADDRESS IP address of server Version Options: -V, --version Display version number 2013/6/26 steve > On Wed, 2013-06-26 at 15:06 +0400, Vladimir A Fomkin wrote: > > Hi again! > > I configured my AD sa

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-26 Thread Vladimir A Fomkin
Hi again! I configured my AD samba PDC and BDC for applying uid from uidNumber line in AD LDAP. But I have a problem - "uidNumber" is not a creating automaticaly. I must create this for each user by hands. How to solve this problem? Thx! root@pdc:/usr/local/samba/etc# cat smb.conf # Global para

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-19 Thread Vladimir A Fomkin
_DC passdb backend = samba_dsdb idmap backend = tdb share backend = idmap config TEST:backend = rid idmap config * : backend = rid root@bdc-samba:~# 2013/6/17 Vladimir A Fomkin > Hi! > > root@debian-samba4:/usr/local/samba/private# > /usr/local/samba/bin/ldbsearch

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-17 Thread Vladimir A Fomkin
: ID_TYPE_BOTH xidNumber: 320 distinguishedName: CN=S-1-5-21-3451120384-2816699473-3647757164-1110 SID is the same, but the UID is different! 2013/6/17 steve > On Mon, 2013-06-17 at 14:50 +0400, Vladimir A Fomkin wrote: > > HI! > > root@bdc-samba:~# /usr/local/samba/bin/samb

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-17 Thread Vladimir A Fomkin
Hi! All users created from windows exist here! root@bdc-samba:~# /usr/local/samba/bin/samba-tool user list tester4 vaf tester tester2 tester3 Administrator krbtgt Guest root@bdc-samba:~# 2013/6/17 Vladimir A Fomkin > HI! > root@bdc-samba:~# /usr/local/samba/bin/samba-tool user add t

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-17 Thread Vladimir A Fomkin
HI! root@bdc-samba:~# /usr/local/samba/bin/samba-tool user add tester4 New Password: Retype Password: ERROR(ldb): Failed to add user 'tester4': - samldb: Account name (sAMAccountName) 'tester4' already in use! root@bdc-samba:~# 2013/6/17 steve > Hi > Just try adding the user anyway and let's

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-16 Thread Vladimir A Fomkin
eve > On Fri, 2013-06-14 at 18:05 +0400, Vladimir A Fomkin wrote: > > Hello Marc! > > Thank you for response! > > I added this string in smb.conf on PDC and BDC, but after sync BDC again > do > > not give access. I see UID for files created for one user via PDC - &g

Re: [Samba] The problem with setting up AD domain to Samba 4

2013-06-14 Thread Vladimir A Fomkin
Vladimir A Fomkin: > > On PDC server has >> created a network folder for portable user profiles and synchronized it to >> the BDC through csync2 . My problem that the PDC and the BDC on the same >> user names has different UID and users can not access their network >&g

[Samba] The problem with setting up AD domain to Samba 4

2013-06-14 Thread Vladimir A Fomkin
Good day! I set up a domain controller AD (PDC and BDC) by Samba 4 on Debian Wheezy. I took a configuration from examples. After setting the PDC I configured a second controller(BDC) and connected it to the domain. On PDC server has created a network folder for portable user profiles and synchroniz

[Samba] The problem with setting up AD domain to Samba 4

2013-06-14 Thread Vladimir A Fomkin
Good day! I set up a domain controller AD (PDC and BDC) by Samba 4 on Debian Wheezy. I took a configuration from examples. After setting the PDC I configured a second controller(BDC) and connected it to the domain. On PDC server has created a network folder for portable user profiles and synchroniz