- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: other users are unable to open my samba share
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 07:57 AM
08-18-2006 07:57 AM
other users are unable to open my samba share
when i use ...
smbclient -L 10.0.3.22
i am getting the share details and my server details. but when i try to mount my self using...
mount -t smbfs //server/sharename /mountpt i am unable to mount and it is giving some error in share name ..etc..
here i am pasting my share definitions...
what modifications i have to do??
and one more question is can't i browse the LAN for available hosts to access their shares??
#=====Share Definitions=====
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
password server = None
security = SHARE
winbind use default domain = no
[homes]
comment = Home Directories
browseable = yes
writeable = yes
[Movies]
path = /root/Desktop/e/Movies
guest ok = yes
[Songs]
path = /root/Desktop/e/Songs
guest ok = yes
[ebooks]
path = /root/ebooks
guest ok = yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 08:14 AM
08-18-2006 08:14 AM
Re: other users are unable to open my samba share
mount -t cifs
Should be used instead.
2- You are sharing directories under the /root directory. The /root directory is very restricted talking about permissions. You should use another directory for data sharing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 08:39 AM
08-18-2006 08:39 AM
Re: other users are unable to open my samba share
thanx for ur reply.i will try to keep those share directories in other than root.thats Ok
but the problem is other windows and linux users r not able to access my shares.they r not even able to see my shares.
i have given the details i have enterd in smb.conf file above. pls
check them and tell me any modifications r required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 08:58 AM
08-18-2006 08:58 AM
Re: other users are unable to open my samba share
The full smb.conf file.
The results of the testparm command.
The results of the smbclient -L //servername -N
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 11:13 AM
08-18-2006 11:13 AM
Re: other users are unable to open my samba share
i am attaching my smb.conf file
here r my results u asked for...
my testparm results:
*********************************************
[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[share1]"
Processing section "[share2]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
security = SHARE
password server = None
log file = /var/log/samba/%m.log
max log size = 50
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw
[homes]
comment = Home Directories
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[share1]
path = /home/vnykr
guest ok = Yes
[share2]
path = /home/vnykr
guest ok = Yes
*********************************************
my smbclient -L 10.0.3.22 results
**********************************
[root@localhost ~]# smbclient -L 10.0.3.22
Password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.8pre1-0.pre1.3]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
share1 Disk
share2 Disk
IPC$ IPC IPC Service (Samba Server)
ADMIN$ IPC IPC Service (Samba Server)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.8pre1-0.pre1.3]
Server Comment
--------- -------
LOCALHOST Samba Server
Workgroup Master
--------- -------
MYGROUP
*******************************************
when i tried to mount my own share myself with
mount -t smbfs //10.0.3.22/share1 /home/vnykr/Desktop/c
i am able to mount..but nothing is shown in that dir ..i mean it is giving as follows...
******************************************
[root@localhost ~]# mount -t smbfs //10.0.3.22/share1 /home/vnykr/Desktop/c
Password:
[root@localhost ~]# cd /home/vnykr/Desktop/c
[root@localhost c]# ls
ls: .: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2006 06:03 AM
08-19-2006 06:03 AM
Re: other users are unable to open my samba share
try server = security
workgroup = mygroup
Is the group the actual workgroup or domain name in your organization?
This needs to be fixed for windows clients to work right.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2006 06:48 AM
08-19-2006 06:48 AM
Re: other users are unable to open my samba share
actually my system is in LAN...
so
i donno exacltly what we have to specify for "workgroup"
thats Y i kept it as "Mygroup".
i have attached the smb.conf file in the above reply....
pls kindly check that and tell me what modifications i need to do ??
and u told that to use server=security
if at all we use dis option we have to use the passwd file.then it would be problem for me to tell the passwd to every one.i want the share to be "ananymous"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2006 08:34 PM
08-20-2006 08:34 PM
Re: other users are unable to open my samba share
But to have access from windows the station must be in that group...
for more info there is very easy to read howto http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2006 11:41 PM
08-20-2006 11:41 PM
Re: other users are unable to open my samba share
If there is a windows domain controller, then find out from the admin what the default domain or workgroup is.
Make sure the setting in smb.conf matches.
If there is not a central domain controller then make sure the workgroup settings in smb.conf match all the clients.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com