Marc
Members-
Posts
25 -
Joined
-
Last visited
Reputation
20 ExcellentAbout Marc

-
Likewise works well, much easier than having to configure samba/winbind manually - only thing to note is that it expects the user name in the DOMAIN\user format
-
Which *nix server for home, without time consuming setup?
Marc replied to brookesandrew's topic in *nix
Karoshi? -
When ever I've had to P2V a linux machine I found this useful: Personal Backup (VMware) Appliance Get the pba vm and host it, boot source machine using the pba client, image source machine and restore to new vm
-
The italc faq has a section on sharing settings as a global config. We have it so that the xml files are on a central share and each iTalc Tutor program globalconfig registry setting points to the share. Works like a charm.
-
Exceeding the max php file size?
-
Can you check using the MS AD mmc snap-in? The SMB web client specifically looks for that attribute in AD, if for some reason known only to RM, teachers have it mapped but pupils don't on your RM network, that will be the cause of the problem. Seems a bit odd that you are getting so few attributes returned using that script when quering against a pupil user. Something's going on!
-
The users home drive is mapped in their AD user profile?
-
Note you may not need that adldap class - my memory is a bit hazy on whether i installed it or not. Try the php with out it. Also are you using the ldap capture moodle plugin? I'm using that and the web share zip linked to on the first page of this thread.
-
using the adldap php class I linked in my previous post, I used the following php file to test that AD was returning the homeDirectory attribute correctly: $dn = "CN=user,OU=x,OU=Users,OU=yourdomain,DC=yourdomain,DC=yourdomain,DC=yourdomain,DC=yourdomain"; //user to search for $attributes = array(); $filter = "(objectClass=*)"; $ad = ldap_connect("ldap://SERVERIP") //port 3268 was the one I had trouble with! or die("Couldn't connect to AD!"); ldap_set_option($ad, LDAP_OPT_PROTOCOL_VERSION, 2); //use the same settings as moodle connects with $bd = ldap_bind($ad,"CN=binduser,CN=OU,DC=YOURDOMAIN,DC=YOURDOMAIN,dc=SCH,DC=UK","password") or die("Couldn't bind to AD!"); $result = ldap_search($ad, $dn, $filter, $attributes); $entries = ldap_get_entries($ad, $result); /*for ($i=0; $i<$entries["count"]; $i++) { echo $entries[$i]["displayname"] [0]."(".$entries[$i]["l"][0].") "; }*/ //var_dump($entries); // $ds is the link identifier for the directory // $sr is a valid search result from a prior call to // one of the ldap directory search calls $ds=$ad; $sr=$result; $entry = ldap_first_entry($ds, $sr); $attrs = array(); $attribute = ldap_first_attribute($ds,$entry,$identifier); while ($attribute) { $attrs[] = $attribute; $attribute=ldap_next_attribute($ds,$entry,$identifier); } echo count($attrs) . " attributes held for this entry: "; for ($i=0; $i echo $attrs[$i] . " "; } echo " "; // $ds is a valid link identifier for a directory server // $sr is a valid search result from a prior call to // one of the ldap directory search calls // $entry is a valid entry identifier from a prior call to // one of the calls that returns a directory entry $values = ldap_get_values($ds, $entry, "memberOf"); echo $values["count"] . " values for this entry. "; for ($i=0; $i < $values["count"]; $i++) { echo $values[$i] . " "; } ldap_unbind($ad); ?>
-
I eventually figured out the problem for our installation - the problem had absolutely nothing to do with the SMB web block and absolutely everything to do with the way the moodle ldap capture plugin was authenticating with AD. Specifically I had been using a server URL that included a port. Just specifying the ip without a port allowed the SMB block to retrieve the users home Diriectory. M$ have made AD so that on the port I was using AD will not return the home directory attribute. I used adldap/ to help determine what was being returned by AD. When you finally get it working, the SMB block is well worth it!
-
We had the same problem with broadcom and dells - problem is missing textmode drivers during the installation. We use autoimage/DPbase to automate RIS image creation. DPBase has a collection of textmode drivers to get around this issue. Takes a bit of figuring out but the links/notes below should help LINKS: DP_BASE Tutorial - DriverPacks.net Forum / DriverPacks BASE tutorial (English) Create 3rd party driver packs - DriverPacks.net Forum / [Tutorial] Making your own DriverPacks for n00bs Autoimage link - RogueSpear's Forums • View forum - AutoImage STEP1: Run dpbase before autoimage, tell it to use the downloaded driverpacks. DP_BASE Tutorial: DriverPacks.net Forum / DriverPacks BASE tutorial (English) export dpbase settings for use in autoimage STEP2: overview Autoimage & RIS: When you initially create a new RIS image you must copy the folder containg the flat image that is created when setting up RIS/WDS - rename this folder to your new image name and point autoimage to it as the source. Once your initial image has been created, AutoImage will work with that by copying it down to the RIS temp folder on the workstation that you are running AutoImage from, note i run autoimage on our wds server so its all local even though its recommended not to run autoimage on the same server as RIS/WDS but it works for us! 1. In AutoImage go the Options menu. Select "Set RIS Temp Folder" and select the directory that you would like to use. 2. Source tab Browse to the renamed copy of the default flat image you copied earlier. This will be the final image once autoimage does its thing. Tick 'Integrate NIC drivers' - get these from the roguespear autoimage forum Tick 'Decompress files afterprocessing' - driverpacks are in 7zip format so the need to be deompressed before windows can use them in installation. Tick 'Integrate User template file' - this will be a .sif file containing all the custom settings you want to automate when windows installs, e.g. regional settings etc. We simply modified one we created using sysprep. Do not tick keep ristndrd.sif - used only by the defualt windows image. 2. nLite/DP tab tick 'use Driverpacks BASE' Driverpacks configuraion file - browse to the .ini created in step 1 Click 'start'!
- 1 reply
-
- broadcom netxtreme
- drivers
-
(and 1 more)
Tagged with:
-
[ris] Problem HP Mini 2140 Laptop and HP Ultra small PC 7900
Marc replied to GAS's topic in O/S Deployment
Have you tried autoimage? Simplifies setting up (almost in our case) 'universal' RISsetup images. If you use DPBase available from driverpacks.net you will find driverpacks that cover the vast majority of drivers. It will also integrate the text-mode setup NIC drivers. We've been doing it this way for a year now - one image does all machines (over 10 types of laptop/desktop). -
Just about to shut down my computer for the hols!!!
Marc replied to laserblazer's topic in General Chat
I second that! Roll on August 15th when its my turn to escape... -
Birmingham school email?!
Marc replied to Little-Miss's topic in Internet Related/Filtering/Firewall
When don't we have troubles with Birmingham email? No-ones moaned today but most of the kids are at Drayton Manor. Was (not) amused when I had a chap from BGFL ring me to say an email problem had been solved - netmedia thought a particular site was spam. It also turned out that anything from BGFL itself netmedia considered spam... -
Whatever you do, don't prefix the name of the exchange server with the initials of the school if they end in an 's' like my predecessor did... xxxxsexchange does not look good...
