Using DSADD or ADMOD to change/add a postofficebox.

G

Guest

Guest
Archived from groups: microsoft.public.win2000.active_directory (More info?)

Hello,
I have searched a lot, all over the place, on how to add a
postofficebox to a user.

I think the only option is to use admod, as dsadd doesn't seem to
support postofficebox.

ADModcmd.exe -dn "CN=John Doe,OU=Current Users,OU=This
Office,OU=City,DC=Domain,DC=com" -custom postofficebox "box here"

It gives me:

Issuing Query....

No items found matching the specified filter.

Operation Completed in 0,0625008 seconds.


There is a user matching the query. Maybe I am not writing the command
properly?

Please give me insights to make this command work properly.
Thanks.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.active_directory (More info?)

Personally, I prefer the joeware adfind and admod tools (www.joeware.com)

The dn you specified looks fine...Does that object exist in your domain?

--
Thanks,
Brian Desmond
Windows Server MVP

www.briandesmond.com


"PowerCat" <powercat1@gmail.com> wrote in message
news:ielrh11rsol21i22nkgdtlgonsiq9og4ir@4ax.com...
> Hello,
> I have searched a lot, all over the place, on how to add a
> postofficebox to a user.
>
> I think the only option is to use admod, as dsadd doesn't seem to
> support postofficebox.
>
> ADModcmd.exe -dn "CN=John Doe,OU=Current Users,OU=This
> Office,OU=City,DC=Domain,DC=com" -custom postofficebox "box here"
>
> It gives me:
>
> Issuing Query....
>
> No items found matching the specified filter.
>
> Operation Completed in 0,0625008 seconds.
>
>
> There is a user matching the query. Maybe I am not writing the command
> properly?
>
> Please give me insights to make this command work properly.
> Thanks.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.active_directory (More info?)

On Tue, 06 Sep 2005 13:46:09 -0400, PowerCat <powercat1@gmail.com> wrote:

>Hello,
>I have searched a lot, all over the place, on how to add a
>postofficebox to a user.
>
>I think the only option is to use admod, as dsadd doesn't seem to
>support postofficebox.
>
>ADModcmd.exe -dn "CN=John Doe,OU=Current Users,OU=This
>Office,OU=City,DC=Domain,DC=com" -custom postofficebox "box here"
>
>It gives me:
>
>Issuing Query....
>
>No items found matching the specified filter.
>
>Operation Completed in 0,0625008 seconds.
>
>
>There is a user matching the query. Maybe I am not writing the command
>properly?
>
>Please give me insights to make this command work properly.
>Thanks.


admod -b "CN=John Doe,OU=Current Users,OU=ThisOffice,OU=City,DC=Domain,DC=com" "postofficebox::1234"

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com