LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Accessing shares in ubuntu using samba (https://www.linuxquestions.org/questions/ubuntu-63/accessing-shares-in-ubuntu-using-samba-628606/)

tanveer 03-17-2008 04:53 AM

Accessing shares in ubuntu using samba
 
Dear all,

I recently joined an ubuntu pc with our AD domain and its work fine. Now I need to have some shares from file servers which I can share from GUI using
Places->Connect to server... ; then select "Windows Share" as Service type and server IP/name and connect. The share then appears at my desktop. But where is the physical existence of that? Because I want to do some aliasing with the files in that share with local files.
FYI, I found the shares are mentioned the %gconf.xml file in the below location under directories named as 1,2,....

/home/domain-name/username/.gconf/desktop/gnome/connected_servers/1/%gconf.xml

Any help.

magnus_simius 03-17-2008 11:52 PM

I'm not sure if I exactly understand your question, but the /etc/samba/smb.conf file on Ubuntu systems should list all of the configuration settings for your samba share. I know on my own personal server I have something like this in my config file:

[jeffs_backups]
path = /home/jeff/storagedrive/winxpbackups
valid users = jeff
public = no
writeable = yes
printable = no

the path variable shows the location of the samba share. So when I log into the samba share from windows it takes me to the directory defined by path.

I hope this helps you out.

tanveer 03-18-2008 07:10 AM

Thanks for reply.

Say, I have a share in windows file server and want my users get access to those shares when they boot their PC which is ubuntu. Should I have to write down all the shares in smaba file of ubuntu pc? FYI, more than one user can login into that same PC. As the users are AD user so wont they be prompted for password for that?

magnus_simius 03-19-2008 11:36 AM

I was thinking you were using an Ubuntu box as the server and creating windows shares via samba on the ubuntu box. I don't know much about Windows servers. I know you can mount window shares in ubuntu using the "mount" command, but you'll have to do some configuring on the windows server side of things. I won't be able to help you much there. What OS are you running on your windows server? Windows Server 2000?

tanveer 03-23-2008 10:19 PM

The scenario is, user is using ubuntu box and using AD username and password for login and file server is windows 2003 server. Now any user whoever logins in that box will get his/her own home folder mounted.


All times are GMT -5. The time now is 04:21 PM.