Displaying 1 result from an estimated 1 matches for "ldapdriverbase".
2002 Jul 22
1
Printer Migration hackery
...= "myuser";
$PASSWD = hispassword";
$DRIVERTDBFILE = "/the/path/to/ntdrivers.tdb";
$PRINTDOLLARPATH = "/the/print$/path";
#Where in LDAP you keep your printers
$LDAPPRINTERBASE = "ou=hosts,dc=example,dc=com";
#Where in LDAP you keep your printer drivers
$LDAPDRIVERBASE = "applicationentity=printerdrivers,o=microsoft.com,ou=software,dc=example,dc=com";
$dummy = 0;
$myaddr = qx/nmblookup -A 127.0.0.1 | grep '<20>'/;
$myaddr =~ s/[\t ]+/ /g;
$myaddr =~ s/^ //;
( $myname, $dummy ) = split(/ /,$myaddr);
open RPCCLIENT, "rpcclient $myname...