Results 1 to 4 of 4
Microsoft Networking Protocols on Linux? Is it possible to network my Kubuntu 6.10 box with the rest of my network?...
- 04-05-2007 #1
Microsoft Networking Protocols on Linux?
Microsoft Networking Protocols on Linux? Is it possible to network my Kubuntu 6.10 box with the rest of my network?
- 04-05-2007 #2
What MS network protocols are you interested in? I suspect you want to exchange files between Linux and MS.
Linux -> MS file access: Use smbclient or the smb protocol in konqueror
MS -> Linux file access: Install and configure samba on the Linux box, then use the standard MS way to access the files"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds
- 04-12-2007 #3
Samba!
Mandriva Linux puts the samba suite in several separate packages, the main ones being samba-common, samba-client and samba-server. Ubuntu probably does something similar.
Samba allows you to mount a Windows share as a network disk and offer any directory as a share for Windows machines to connect to in the normal way, network neighborhood or network places or whatever MS calls it.
You can even setup a Linux machine as a domain server for Windows machines to connect to.
You can see more at the Samba website.
- 04-17-2007 #4
Hi guys: heres the meat
SAMBA FILE SERVER FOR FINE GRAIN USER ACCESS
Files shared with CIFS gives top-to-bottom security restrictions typical of windows security paradigm. Xnix provide bottom-to-top security model. In order to get best of both worlds, we decided to go for samba as windows CIFS interface while implementing unix permissions.
Samba implementation:
1- install samba rpm using, rpm -ivh samba-x.rpm
2- Share the directories with
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = operations-2
server string = Samba Server
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
password server = None
username map = /etc/samba/smbusers
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
[SambaShare]
Path = {/Path/to/folder}
writable = {yes/no} #readonly or read/write access
create mask = 0xxx # assing umask for samba users
3- create group used to provide group level access:
groupadd operations
4- Create Linux users to be mapped to virtual windows users
useradd -g operations xxx -M -s /sbin/nologin
5- Samba virtual users mapped to linux users
root = administrator admin
azfar = azfar.hussain
6- Turn the stick bit on the shared folder:
chmod u+s /folder/to/be/shared
7- now you are read to roll:
service smb start


Reply With Quote