Eric on 6 Apr 2009 16:11:29 -0700 |
Art: I run Intrepid and connect to a SME (CentOS) file server. Instead of fstab entries I have a separate script that runs when I log in to my workstation (I hook it in via Gnome and it's MY workstation so multiple users are not an issue for me.) I don't know how different the syntax is but here's what I execute in the shell script: sudo /sbin/mount.cifs //server/dir /home/eric/SERVER/dir/ --verbose -o rw,cred=/home/eric/cred.txt,dom=WINDOMAIN,uid=nnnn,gid=mmmm The cred.txt file contains two lines and nothing more: username=YourUserNameHere password=YourPasswordHere I hope and pray that there is not a syntax change to deal with in mount.cifs in Jaunty (vs Intrepid). I had a horrible time dealing with Samba about 18 months ago when I upgraded my Samba server and blithely went about my business believing it was all so sweeeeeet... until I went to use it (insert: sound of skull bouncing off hard desk surface - face first.) Good luck. Eric Art Alexion wrote: > Since upgrading Intrepid->Jaunty I can't mount the windows shares. The fstab > syntax didn't change on my end and the lines are the same I am using on two > other computers. > > Did they change the mount.cifs syntax in the change from the previous version > of samba? > > Installing samba returns > > tdbsam_open: Converting version 0 database to version 4. > account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to > change password), returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password > age),returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password > age),returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), > returning 0 > account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine > password change), returning 0 > Importing account for nobody...ok > Importing account for art...ok > * Starting Samba daemons [ OK > ] > > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Initializing package states... Done > Writing extended state information... Done > > > Trying to mount the shares returns: > > art@splendid:~$ sudo mount -a > [sudo] password for art: > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > art@splendid:~$ > > Did they implement AD domain by default? Would changing my jaunty box > password to my AD password help? Do I need to change the fstab syntax? > > Here are a couple of examples of my current syntax: > > //sloth/user/Art /mnt/H cifs > file_mode=0775,dir_mode=0775,user=art@RHD.ORG,password=<my_ad_password>,uid=1000,gid=1000,auto,rw,user,guest > 0 0 > > The one above mounts a share that is owned by me, i.e. my AD account. > > //sloth/user /mnt/U cifs > file_mode=0775,dir_mode=0775,user=administrator@RHD.ORG,password=<domain_admin_pwd>,uid=1000,gid=1000,auto,rw,user,guest > 0 0 > > This one is supposed to mount with the domain administrator permissions. > > Both work on an Intrepid and a Hardy box. I confirmed that I am user 1000 on > this machine. > > > > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug > > -- # Eric Lucas # # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|