home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] Couple of samba questions.



I've tried logging on to winxp using both guest and administrator from samba.
 I don't think it's a problem with the winxp boxes because I am able to
access shares on the winxp box from another winxp box.  I just can't access
the share on the winxp box from samba or win9x.

The text editing is to edit some ini type files on all the win boxes to
reflect a server move that is coming up in a few weeks.  I need to change all
occurences of one IP address to another in all occurences of a config file on
every win box.  I can either script it if possible or walk around to each
machine, locate the files, and hand edit with notepad.

Thanks for the help.

Tim



--- Joseph Green <josephg1974@yahoo.com> wrote:
> Thanks for the clarification. It seems like there is a
> permissions problem some where. What account are you
> using to when you log in to your Linux Box. Does that
> account exist on your winxp box? If so what
> permissions does it have on the shares and printer on
> you winxp system. Please let me know how it goes. If I
> may ask why do you need to do the text editing in the
> second part of your dilemma?
> 
> 
> --- Tim Emerick <timothyemerick@yahoo.com> wrote:
> > sorry, Joe.  I think you've got my dilemma
> > backwards.  I am not able to
> > access a winxp share from linux/samba.  Winxp can
> > access samba shares just
> > fine.
> > 
> > for the record though,
> > 
> > server=share
> > no active directory
> > all shares work on linux/samba box and can be
> > accessed by all other os's.
> > 
> > --- Joseph Green <josephg1974@yahoo.com> wrote:
> > > Just a few thoughts.
> > > 
> > > Are you using Active Directory? 
> > > What share level are you using on your Linux box.
> > > Did the shares work before you upgraded the
> > machines
> > > to winxp.
> > > Which account is accessing the share.
> > > Does it have the correct permissions?
> > > Have you created the samba accounts?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- Tim Emerick <timothyemerick@yahoo.com> wrote:
> > > > I have a couple of questions if anybody can help
> > me
> > > > with them.\
> > > > 
> > > > 1. I've been upgrading some 70 pc's at work from
> > > > win9x to winxp pro.  My
> > > > print/file server is redhat/samba.  For some
> > reason
> > > > I am not able to access
> > > > print and file shares that are on WinXP Pro
> > machines
> > > > from either Samba,
> > > > Win9x, or DOS.  All OS's other than WinXP can't
> > seem
> > > > to get past the password
> > > > prompt.  WinXP can see and use my Samba shares
> > > > though.  Anybody know if there
> > > > is a WinXP setup that I am missing that will
> > allow
> > > > Samba (and other non xp
> > > > os's) to access a WinXP share?
> > > > 
> > > > 2. After converting all these machines I will
> > need
> > > > to write a short script to
> > > > change some info in a text file on each machine.
> > 
> > > > I'm not exactly sure how to
> > > > write this as a bash script or as a DOS batch
> > file
> > > > so hopefully I'll get some
> > > > good ideas here.  Here are the step.
> > > > 
> > > > a. Read a list of Win XP Pro machine names from
> > a
> > > > text file.
> > > > b. Search the admin share (c$) for all
> > occurences of
> > > > a particular file
> > > > (session1.wic).
> > > > c. replace the text in each found file with
> > another
> > > > text.  In this case I'll
> > > > be looking for an IP address and substituting
> > > > another IP address.
> > > > d. log everything that was done, good or bad, to
> > a
> > > > log file.
> > > > 
> > > > I was thinking of using sed to do the text
> > > > replacement.  I have a win32 port
> > > > of sed that works on WinXP and I know that it
> > exists
> > > > on my linux box.  Using
> > > > linux over dos hinges on getting problem #1
> > fixed. 
> > > > Here is a conceptualized
> > > > dos batch file that will do what I want.  I've
> > not
> > > > read up enough on sed to
> > > > know if that is the tool I need or how to use
> > it. 
> > > > That is my next step.
> > > > 
> > > > net use x: \\machine1\c$ (supply
> > userid/password. 
> > > > similar to mounting a smb
> > > > share)
> > > > 
> > > > dir x:\session1.wic /a /s /b > foundfiles.txt
> > > > (equivalent of "find / -name
> > > > session1.wic" but searching through hidden
> > > > directories)
> > > > 
> > > > use sed to read in foundfiles.txt and replace
> > text
> > > > in each file with
> > > > something else.
> > > > 
> > > > TIA for any help or pointers anybody can give
> > me.
> > > > 
> > > > Tim Emerick
> > > > 
> > > > 
> > > > 	
> > > > 		
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Friends.  Fun.  Try the all-new Yahoo!
> > Messenger.
> > > > http://messenger.yahoo.com/ 
> > > > _______________________________________________
> > > > NMLUG mailing list
> > > > NMLUG@nmlug.org
> > > > http://www.nmlug.org/mailman/listinfo/nmlug
> > > 
> > > 
> > > =====
> > > 
> > > Joseph Green
> > > 
> > >  "Network God"
> > > 
> > > "Code Warrior"
> > > 
> > > "Windows Smasher"
> > > 
> > > 
> > > 
> > > 
> > > 	
> > > 		
> > > __________________________________
> > > Do you Yahoo!?
> > > Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > > http://messenger.yahoo.com/ 
> > > _______________________________________________
> > > NMLUG mailing list
> > > NMLUG@nmlug.org
> > > http://www.nmlug.org/mailman/listinfo/nmlug
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > http://messenger.yahoo.com/ 
> > _______________________________________________
> > NMLUG mailing list
> > NMLUG@nmlug.org
> > http://www.nmlug.org/mailman/listinfo/nmlug
> 
> 
> =====
> 
> Joseph Green
> 
>  "Network God"
> 
> "Code Warrior"
> 
> "Windows Smasher"
> 
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache