Marc
Members-
Posts
25 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by 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...
-
VMware, Xen, Hyper-V - Your Experiences?
Marc replied to Duke's topic in Thin Client and Virtual Machines
With Xen-server free you get the xenmotion free (works only with shared storage) but not the HA. The latter is part of the essentials pack. I'm dying to tryout xen-server properly with a view of replacing our linux host/ VMware server 1.0 setup I built last year but I have hit a significant snag in a lack of VT extension enabled core2 duos for testing! Until I can get something that will run windows guests it's prevented me from seriously looking at xen. -
Depends on the versions of the software you have. We were able to do it with our recently bought CD's for 7,8 & 9 but 11 proved to be an older version and it was not possible. You should find a readme on the disk that explains the pocess of exporting the files from the msi When creating the final zip to upload into moodle, the zip must have the manifest.xml in the root of the zip. Upload the zip as an IMS content package from the add resource dropdown.
-
Theres a xenconvert 2.0 preview version available at citrix that will convert vmware > xva/vhd and windows P2V (in the same way the mware P2V works).
-
We use Flex Profiles here even though we're a w2k3 & XP fat client site rather than the thin clients usually associated with flex. Gives us the best of both worlds, small mandatory profiles with the added ability to save user registry settings for the programs we specify like dreamweaver. Been using it since last summer and works like a charm.
-
I'm trying to set up the smb_web_share block for moodle and have run in to an active directory issue where I can authenticate a user against AD using php and return the attributes for the user (objectclass=*). The problem is that I'm not getting the homeDirectory attribute I want! A dump of the array will give me the following attributes: objectClass cn sn givenName distinguishedName instanceType whenCreated whenChanged displayName uSNCreated memberOf uSNChanged name objectGUID userAccountControl primaryGroupID objectSid sAMAccountName sAMAccountType userPrincipalName objectCategory dSCorePropagationData mail I know the users I'm testing with have a homeDirectory mapped and I can see the attribute in ADSIedit. Does anyone know if the domain functional level controls the attributes returned in LDAP search? Our DC's are currently at the windows 2000 native functional level. Regards Well and truly stumped for now!
-
Finally got around to giving this another look. Priority having gone up due to the school getting a load of netbooks and wanting to dish 'em out to Y9. Access to home drives is now quite important... I've managed to get a little further. I know that the moodle LDAP capture plugin is authenticating against AD but that AD is not returning all of the attributes, resulting in the undefined index: homeDirectory error. If I dump the the contents of the array that the smb_web_client uses to grab the homeDirectory attribute, the latter is not included. The users I'm testing with definitely have a homeDirectory set as it shows against the users object when I look in adsiedit. Inititally I thought it was a permissions problem for the bind user not being able to see all the attributes. I've given the bind user permissions to see everything that looked like it might help. I've also tried binding with a domain admin account as that should have access to everything. This one has got me well and truly stumped. Anyone got any ideas
-
There's a bug with that package that means the likewise daemon does not get started at boot up... sudo update-rc.d likewise-open defaults That one got me too
-
Ubuntu now has like-wise open in the repo's for 8.04 onwards. Takes all the hassle out of making ubuntu talk to windows: https://help.ubuntu.com/8.04/serverguide/C/likewise-open.html
-
I'm in the process of setting up a new moodle server (1.9 running on ubuntu server 8.04 LTS) and I'm running into trouble getting the SMB web client block to work. Users can login using LDAP against our AD (server 2003) domain no problem. The error I keep getting is : Error Message: No home directory specified in ldap for this user Turning debug messages on in the moodle admin panel gives more info: Warning: ldap_search() [function.ldap-search]: Search: Operations error in /usr/share/moodle/auth/ldap/auth.php on line 1653 Warning: ldap_first_entry(): supplied argument is not a valid ldap result resource in /usr/share/moodle/auth/ldap/auth.php on line 1661 Notice: Undefined index: homeDirectory in /usr/share/moodle/blocks/smb_web_client/class_smbwebclient_moodle.php on line 113 print_header() was sent a string as 3rd (Nework Home Directory) parameter. This is deprecated in favour of an array built by build_navigation(). Please upgrade your code. * line 2422 of lib/weblib.php: call to debugging() * line 33 of blocks/smb_web_client/smbwebclient_moodle.php: call to print_header() Our users have a homedrive mapped in their AD profile. Their H: drives map to a file server separate to the domain controller and are in the format: \\servername\curric\y7\username\My Documents where curric is the root share I've tried sharing the user's home drive directly i.e. creating a share of their My Documents folder e.g \\servername\username I can log into the file server and list directories using: smbclient -U 'DOMAIN\username' \\servername\username - or smbclient -U 'DOMAIN\username' '\\servername\curric\y7\username\My Documents' which wil only take me to the root of the curric share. I've tried to get this block working before on an older server and got the same error and was never able to resolve it. If anyone can shed any light as to what might be going on I'd be very grateful! Regards Marc
