Displaying 20 results from an estimated 34 matches for "nextfreeunixid".
2005 Mar 10
4
struggling with smbldap_tools
Trying to net rpc vampire an NT4 server
Think I am good to go but I keep getting errors - obviously problem with
NextFreeUnixId attribute - which is created...
dn: cn=NextFreeUnixId,dc=myhomelenders,dc=net
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
uidNumber: 1000
gidNumber: 1000
cn: NextFreeUnixId
sn: NextFreeUnixId
structuralObjectClass: inetOrgPerson
Every item gets this error...
Error looking for next ui...
2013 Jul 25
3
Question on approach to authenticate Linux against Samba4
...? I currently use the IDEALX smbldap tools. Being able to script account creation is very important to me .. adding 200+ user accounts manually each year is not very appealing. ;)
3) Will the scripting tools be able to automatically assign a unique uid for each unix account. Current approach uses NextFreeUnixID but this does not exist in the Samba4 database (the ldap entry is shown below )
dn: cn=NextFreeUnixId,dc=ncs,dc=k12,dc=de,dc=us
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
cn: NextFreeUnixId
sn: NextFreeUnixId
structuralObjectClass: inetOrgPerson
entryUUID: 4a73a856-83a5-1029-82...
2005 Jan 11
1
smbldap-useradd error looking for next uid
...o work, I have
the feeling it is related to this
# Where are stored Idmap entries (used if samba is a
domain member server)
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
idmapdn="ou=Idmap,${suffix}"
# Where to store next uidNumber and gidNumber
available
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
I don't think either that ou or cn exist in my ldap
database, how do i get them in there?
If I comment out the sambaunixidpooldn, i get
/usr/local/sbin/smbldap-useradd -w foo
Could not find base dn, to get next uidNumber at
/usr/local/sbin///smbldap_tools.pm line 881, <D...
2006 May 26
1
sambaUnixIdPooldn
Quick question:
In the Samba-by-example, (Chapter 5, Page 188 of PDF)
---quote---
4. Edit the /etc/smbldap-tools/smbldap.conf file so that the following information is changed from:
# Where to store next uidNumber and gidNumber available
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
to read, after modification:
# Where to store next uidNumber and gidNumber available
#sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=MEGANET2,dc=abmas,dc=biz"
---quote---
I don't understand what the purpose is, or more p...
2004 Aug 26
0
LDAP backend not mapping permissions properly and other problems
...d
be running winbindd. I am wondering if this has anything to do with the fact
that the new smbldap-tools scripts require a entry with an
objectClass=sambaUnixIdPool as does the Idmap entry. I had to change the
scripts from searching "(objectclass=sambaUnixIdPool)" to search for
"(cn=NextFreeUnixId)" in order to get the scripts to work, because they kept
giving me a "can't find next available uidNumber" error. An ldapsearch for
"(objectclass=sambaUnixIdPool)"
gives this:
> ldapsearch -x "(objectclass=sambaunixidpool)"
# extended LDIF
#
# LDAPv3
# bas...
2005 Sep 28
0
smbldap-populate problem
...I am writing the docs and I have, for the first time, tried to run
smbldap-useradd for a user who is both a posix user and windows user.
I got an error that the next uid couldn't be found. I looked into the
smbldap-tools/smbldap.conf and found the entry for sambaUnixIdPooldn which
points to NextFreeUnixID.
Well, the next samba uid is in sambaDominName, so I changed it to refer to
that. However, then populate cannot find the next uidNumber.
Reading the samba-ldap docs
(http://www.idealx.org/prj/samba/smbldap-howto.fr.html), section 4.4.2,
indicates that that should be set to refer to sambaDomainNa...
2005 Jul 14
1
NT4 migration errors
...t
ou:People
dn: ou=Groups,dc=kblan,dc=com
objectClass: top
objectClass: organizationalUnit
ou:Groups
dn: ou=Idmap,dc=kblan,dc=com
objectClass: top
objectClass: organizationalUnit
ou:Idmap
dn: ou=Domains,dc=kblan,dc=com
objectClass: top
objectClass: organizationalUnit
ou:Domains
Then ldapadd the NextFreeUnixID ldif:
-------------------------------------
dn: cn=NextFreeUnixId,dc=kblan,dc=com
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
uidNumber: 1000
gidNumber: 1000
cn: NextFreeUnixId
sn: NextFreeUnixId
Next add the smbpasswd to secrets.tdb.
Then grab the NT4 SID:
net rpc getsid -S nt4 -W D...
2005 Feb 03
6
smbldap-populate failure
...,dc=unu,dc=edu
adding new entry: ou=Groups,dc=intech,dc=unu,dc=edu
adding new entry: ou=Computers,dc=intech,dc=unu,dc=edu
adding new entry: ldapidmapsuffix,dc=intech,dc=unu,dc=edu
failed to add entry: invalid DN at /usr/local/sbin/smbldap-populate line
389, <GEN1> line 6.
adding new entry: cn=NextFreeUnixId,dc=intech,dc=unu,dc=edu
adding new entry: uid=Administrator,ou=Users,dc=intech,dc=unu,dc=edu
adding new entry: uid=nobody,ou=Users,dc=intech,dc=unu,dc=edu
adding new entry: cn=Domain Admins,ou=Groups,dc=intech,dc=unu,dc=edu
adding new entry: cn=Domain Users,ou=Groups,dc=intech,dc=unu,dc=edu
adding...
2007 Mar 06
1
smbldap-useradd says "Error: modifications require authentication at /usr/lib/perl5/5.8.8/smbldap_tools.pm line 1056."
...ot;dc=<MY
DOMAIN>,dc=com" scope=2 deref=2
filter="(&(objectClass=posixAccount)(uid=<A NEW USER>))"
Mar 6 13:59:38 macallan slapd[4731]: conn=50 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Mar 6 13:59:38 macallan slapd[4731]: conn=50 op=2 SRCH
base="cn=NextFreeUnixId,dc=<MY DOMAIN>,dc=com" scope=0 deref=2
filter="(objectClass=sambaUnixIdPool)"
Mar 6 13:59:38 macallan slapd[4731]: conn=50 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Mar 6 13:59:38 macallan slapd[4731]: conn=50 op=3 MOD
dn="cn=NextFreeUnixId,dc=<MY DOMAIN>...
2004 Jul 23
3
smbldap-populate issues?
...;).
Using builtin directory structure
adding new entry: dc=itouchaudev,dc=com
adding new entry: ou=Users,dc=itouchaudev,dc=com
adding new entry: ou=Groups,dc=itouchaudev,dc=com
adding new entry: ou=Computers,dc=itouchaudev,dc=com
adding new entry: ou=Idmap,dc=itouchaudev,dc=com
adding new entry: cn=NextFreeUnixId,dc=itouchaudev,dc=com
failed to add entry: unrecognized objectClass 'sambaUnixIdPool' at
/usr/local/sbin/smbldap-populate line 388, <GEN1> line 7.
adding new entry: uid=Administrator,ou=Users,dc=itouchaudev,dc=com
failed to add entry: sambapwdlastset: attribute type undefined at
/usr/...
2005 Sep 02
1
Samba PDC + Openldap (no database connection established after reboot)
...uot;
clientkey="/etc/smbldap-tools/smbldap-tools.key"
suffix="dc=sample,dc=com"
usersdn="ou=Users,${suffix}"
computersdn="ou=Computers,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
scope="sub"
hash_encrypt="SSHA"
crypt_salt_format="%s"
userLoginShell="/bin/bash"
userHome="/home/%U"
userHomeDirectoryMode="700"
userGecos="System User"
defaultUserGid="513"
defaultComputerGid=...
2005 Mar 11
1
smbldap-populate probleman
...y: modifications require authentication at
/usr/sbin/smbldap-populate line 389, <GEN1> line 5.
adding new entry: ou=Idmap,dc=auroraalimentos,dc=com,dc=br
failed to add entry: modifications require authentication at
/usr/sbin/smbldap-populate line 389, <GEN1> line 6.
adding new entry: cn=NextFreeUnixId,dc=auroraalimentos,dc=com,dc=br
failed to add entry: modifications require authentication at
/usr/sbin/smbldap-populate line 389, <GEN1> line 7.
adding new entry: uid=Administrator,ou=Users,dc=auroraalimentos,dc=com,dc=br
failed to add entry: modifications require authentication at
/usr/sbin/...
2005 Jun 07
0
Could not find base dn, to get next uidNumber
...-0.9.1-1.1.fc2.rf
Today I've updated smbldap-tools from version 0.8.1 to 0.9.1.
looking at the new configuration files (smbldap.conf in particular) I've
noticed the default value of sambaUnixIdPooldn has changed from the
version I've used until now
- 0.8.1
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
- 0.9.1
sambaUnixIdPooldn="sambaDomainName=MYDOMAIN,${suffix}"
as a result, when i try to create a new user account, i get the followin
error:
[root@pdc root]# smbldap-useradd -amP mrossi
Could not find base dn, to get next uidNumber at
/usr/sbin///smbldap_tools.pm li...
2005 Mar 22
3
SAMBA3 + LDAP = Round 5 :(((
Okay, if anyone can help me, I put all my config and log on
http://www.arzurproduction.com/temp/
I cannot join the domain on my Windows XP (Access Deny)
So I try :
1- An Administrator user create by smbldap-populate, I have root =
Administrator on my /etc/samba/smbusers
Error :
[2005/03/21 10:09:03, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user
2004 Jul 19
3
Samba/LDAP/PDC Questions
...P="127.0.0.1"
masterPort="389"
ldapTLS="0"
suffix="dc=ab,dc=com"
usersdn="ou=Users,${suffix}"
computersdn="ou=Computers,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
scope="sub"
hash_encrypt="SSHA"
crypt_salt_format="%s"
userLoginShell="/bin/tcsh"
userHome="/u/%U"
userGecos="System User"
defaultUserGid="513"
defaultComputerGid="515"
skeletonDir="/etc/skel"...
2004 Nov 23
2
Users being deleted from Domain Users group on Samba BDC during vampire process of migration
...G"
groupsdn="ou=Groups,${suffix}"
# Where are stored Idmap entries (used if samba is a domain member server)
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
idmapdn="ou=Idmap,${suffix}"
# Where to store next uidNumber and gidNumber available
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
# Default scope Used
scope="sub"
# Unix password encryption (CRYPT, MD5, SMD5, SSHA, SHA)
hash_encrypt="SSHA"
# if hash_encrypt is set to CRYPT, you may set a salt format.
# default is "%s", but many systems will generate MD5 hashed
# passwords if yo...
2004 Nov 23
1
Fw: Users being deleted from Domain Users group on Samba BDC during vampire process of migration
...G"
groupsdn="ou=Groups,${suffix}"
# Where are stored Idmap entries (used if samba is a domain member server)
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
idmapdn="ou=Idmap,${suffix}"
# Where to store next uidNumber and gidNumber available
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
# Default scope Used
scope="sub"
# Unix password encryption (CRYPT, MD5, SMD5, SSHA, SHA)
hash_encrypt="SSHA"
# if hash_encrypt is set to CRYPT, you may set a salt format.
# default is "%s", but many systems will generate MD5 hashed
# passwords if yo...
2004 Nov 09
1
Migrating NT4 Domain with Idealx tools
...vePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
ldapTLS="0"
suffix="dc=ub,dc=unibas,dc=ch"
usersdn="ou=Users,${suffix}"
computersdn="ou=Computers,${suffix}"
groupsdn="ou=Groups,${suffix}"
sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
scope="sub"
hash_encrypt="MD5"
crypt_salt_format="%s"
userLoginShell="/bin/bash"
userHome="/home/%U"
userGecos="UB Domain User"
defaultUserGid="513"
defaultComputerGid="515"
skeletonDir="/etc/skel&q...
2005 Nov 30
0
samba /openldap error message
..."
groupsdn="ou=Groups,${suffix}"
# Where are stored Idmap entries (used if samba is a domain member server)
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
idmapdn="ou=Idmap,${suffix}"
# Where to store next uidNumber and gidNumber available
#sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=STARSHIPPING,${suffix}"
# Default scope Used
scope="sub"
# Unix password encryption (CRYPT, MD5, SMD5, SSHA, SHA, CLEARTEXT)
hash_encrypt="SSHA"
# if hash_encrypt is set to CRYPT, you may set a salt format.
# default...
2005 Aug 12
4
Adding machine to domain fails - check permissions? (ldap)
Dear list,
Whe i trying to add a machine to the domain(ldap/pdc) i get the
following error:
> Error: modifications require authentication at
> /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283.
> [2005/08/11 16:46:54, 0]
> rpc_server/srv_samr_nt.c:_samr_create_user(2324)
> _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
>