I have an LDAP server with usernames and UIDs that started at 9000.
On a shared server, if I use pw to add a new user, pw does a lookup against the LDAP server and sets the new user to id of 9018, or whatever.
Obviously, if I then use the next uid on the LDAP server and add a user with uid of 9018, there will be confusion on the server I ran 'pw' on.
Did not see anything about LDAP in the pw man page. Only way of blocking pw from looking up LDAP is to change /etc/nswitch.com while I run it, but I'd want a better solution. Anyone have an idea?
On a shared server, if I use pw to add a new user, pw does a lookup against the LDAP server and sets the new user to id of 9018, or whatever.
Obviously, if I then use the next uid on the LDAP server and add a user with uid of 9018, there will be confusion on the server I ran 'pw' on.
Did not see anything about LDAP in the pw man page. Only way of blocking pw from looking up LDAP is to change /etc/nswitch.com while I run it, but I'd want a better solution. Anyone have an idea?