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 uid at /usr/sbin///smbldap_tools.pm line 880, <DATA> line 283. Could not create posix account info for 'DELL-3000-5$' Same for Computers/Groups... I have set up in smbldap_conf.pm sambaUnixIdPooldn="NextFreeUnixId,${suffix}" It should be rockin' - but this is really painful. What's the trick? I am not a fan of the smbldap-tools but it is a necessary evil for vampire and tools have changed a bunch since I last used them. Craig
On Thu, 2005-03-10 at 00:50 -0700, Craig White wrote:> 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 uid at /usr/sbin///smbldap_tools.pm line 880, > <DATA> line 283. > Could not create posix account info for 'DELL-3000-5$' > > Same for Computers/Groups... > > I have set up in smbldap_conf.pm > > sambaUnixIdPooldn="NextFreeUnixId,${suffix}" > > It should be rockin' - but this is really painful. What's the trick? > > I am not a fan of the smbldap-tools but it is a necessary evil for > vampire and tools have changed a bunch since I last used them.---- dumb me... # rpm -q smbldap-tools samba-common smbldap-tools-0.8.7-2.2.el4.rf samba-common-3.0.10-1.4E Craig
Craig, I have just completed addition of a NetWare migration chapter to the Samba-Guide. A complete make-over of chapter 8 is my next challenge. Recently I was involved in migration of an NT4 domain with 4300 accounts. The update to chapter 8 will cover smbldap-tools-0.8.7 and samba-3.0.12 on SUSE Linux Enterprise Server 9. I expect to have the whole thing completed by late tomorrow night. - John T. On Thursday 10 March 2005 00:50, Craig White wrote:> 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 uid at /usr/sbin///smbldap_tools.pm line 880, > <DATA> line 283. > Could not create posix account info for 'DELL-3000-5$' > > Same for Computers/Groups... > > I have set up in smbldap_conf.pm > > sambaUnixIdPooldn="NextFreeUnixId,${suffix}" > > It should be rockin' - but this is really painful. What's the trick? > > I am not a fan of the smbldap-tools but it is a necessary evil for > vampire and tools have changed a bunch since I last used them. > > Craig-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
On Thursday 10 March 2005 02:17, Michael Gasch wrote:> i have a question related to smbldap_tools and the docs in "Chapter 6. > Making Happy Users" item 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" > --------------------------------------------------------------------- > > why do i have to change from "cn=NextFree..." to "sambaDomainName=" ??? > the default setting ("cn=NextFree...") is working for me (except of some > trouble with umlauts in groupnames) > > why does the documentation mention this change? > could you please point me to the solution?What version of the smbldap-tools are you using? The updated documenation uses 0.8.7. With 0.8.5 I had no problem with the default setting. I did not mess with this, when the smbldap-populate.pl script gave instructions I followed them - it seemed like a smart move. :)> > [OT] > btw@john: i have document (thesis) about migrating from NT4 PDC to > Sambav3 PDC (in german). it was part of my training as an IT-admin > > could this be useful for you?Yes, please send them to me. Anything I can glean from it I will use - with your permission of course. Cheers, John T.> > -- > > > Michael Gasch > > - Central IT Department - > > Max Planck Institute for Evolutionary Anthropology > Deutscher Platz 6 > 04103 Leipzig > > Germany-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
Quoting Michael Gasch <gasch@eva.mpg.de>:> i have a question related to smbldap_tools and the docs in "Chapter 6. > Making Happy Users" item 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" > --------------------------------------------------------------------- > > why do i have to change from "cn=NextFree..." to "sambaDomainName=" ??? > the default setting ("cn=NextFree...") is working for me (except of some > trouble with umlauts in groupnames) > > why does the documentation mention this change? > could you please point me to the solution?It may be useful to combine these, but your sambaDomainName must also have the sambaUnixIdPool objectclass for this to work else the smbldap tools will not find it. tom
Seemingly Similar Threads
- sambaUnixIdPooldn
- smbldap-useradd error looking for next uid
- Adding machine to domain fails - check permissions? (ldap)
- smbldap-useradd says "Error: modifications require authentication at /usr/lib/perl5/5.8.8/smbldap_tools.pm line 1056."
- Question on approach to authenticate Linux against Samba4