Re: Finding the next uidNumber

2003-03-18 Thread Robert Canary
Oh, hey man, I forgot about that, thats cool.I can work with that :-) "Ryurick M. Hristev" wrote: > > On Tue, 18 Mar 2003, Robert Canary wrote: > > > Greping the passwd file will not work as this system gets its user info > > from both a passwd file and an nscd connection to an LDAP server.

Re: Finding the next uidNumber

2003-03-18 Thread Ryurick M. Hristev
On Tue, 18 Mar 2003, Robert Canary wrote: > Greping the passwd file will not work as this system gets its user info > from both a passwd file and an nscd connection to an LDAP server. You don't grep the /etc/passwd directly if you have LDAP but you can generate one on the fly with "getent passwd

Finding the next uidNumber

2003-03-18 Thread Robert Canary
How can I query a system to find the next availabel uid/gid number. Greping the passwd file will not work as this system gets its user info from both a passwd file and an nscd connection to an LDAP server. I was hoping I could find some utility that would do some sort of magic and find the number