AFP548

dscl search in AD broken in 10.5.6?

Hi, we have a few scripts running to create home directories for our AD users on our OS X servers. Up until 10.5.6 they've worked great but now they don't. In the beginning we used: dscl localhost list /Search/Users SMBHome | grep servername That almost worked. But some of the newly created users didn't show up. So we changed it to: dscl localhost search /Search/Users SMBHome *servername* Which both did a better adn faster search. This has worked fine using all iterations of MOSXS from 10.4.11 to 10.5.5 (excluding 10.5.0 ;)) But now, using 10.5.6, the search doesn't find anything. Using "list" doesn't work better than it did before, leaving all new users behind. Of course a: dscl localhost read /Search/Users/username SMBHome prints the home directory for any given user. Likewise using "Active Directory/All Domains/", search/list doesn't work but read does. Is there anyone that can shed some light on this? thanks /P-M
Exit mobile version