[Logo] LDAPSoft LDAP And Active Directory Tools Community Forums
  [Search] Search   [Register] Register /  [Login] Login 
 
SQL Update - Unwiling to Perform  XML
Forum Index » General Discussion
Author Message
garyd



Joined: 15/04/2009 02:12:35
Messages: 1
Offline

Hi I am trying to perform a bulk update based on the users Home Directory.

The users home direcroty is currently \\server01\shardirectory\username
I only want to change the server name, how can I achieve this?

I have tried SQL without success following the example of the web site tutorial, I think the problem is just updating that particular string.

Update CN=Users set homeDirectory = sever02 where homeDirectory like %server01%
subtreescope

This will return the reslults but the update is to vague to work, any suggestions? Will it be easier through ldif?

Thanks

Gary
support



Joined: 27/06/2008 19:01:18
Messages: 123
Offline

You can't apply the substring changes using update statement.

For substring changes ldif is the best option.

Thanks
 
Forum Index » General Discussion
Go to:   
[Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
Powered by JForum 2.1.9 © JForum Team