Does Samba allow me to mount NT (disks) file systems on my Unix (SGI) box? Randy -- Randy Fox Coryphaeus Software, Inc. Sr. Software Engineer 985 University Ave. Suite 31 rfox@coryphaeus.com Los Gatos CA, 95030 www.coryphaeus.com Tel: 408/395-4537 Fax: 408/395-6351
We're having problems using IBM's OS/390 NFS client to a Sun Solaris platform. We have current, open ETRs with IBM and they've acknowledged that they have NFS problems. They are reviewing traces as I type. Someone suggested(me!) that maybe we should try using SAMBA to mount Solaris filesystems to OS/390. Simple Newbie Question: Can the OS/390 Samba client mount to a Samba Server on a Solaris platform? Any gotchas? I noticed that the README file states that the OS/390 Samba comes with an "FTP-LIKE" Samba client? I guess I'm looking for an "NFS-LIKE" Samba client?? TIA Dave
Hello all, I'm a begginer with Samba, so I ask you to bear with me. I realize that by now this must have been covered in some documentation or other, but I'm just not able to find it, so I'm just asking to be pointed in the right direction. First, I have HP-UX 10.20, all latest patches with the 1.9.18p10 samba release I've avoided working with NT as much as possible, alas, I've run out of luck. I received 12 machines with NT 4. After performing the reg edit and configuring TCP/IP and creating the smbpasswd (haven't converted to encrypted though), I can see the unix host just fine. The problem comes when the NT 4 workstations (I have no NT servers) try to access the shares. The server ALLWAYS asks me for account and password. If I mount the shares, at startup the server will still ask for the password. It may be pertinent to mention that the Win95 PCs don't have any problems. Again, I don't want to make everybody mad out here (I'm still expecting my share of RTFMs) =) but I can't seem to find the solution. BTW, there are loads of data in the archives, but it's not easy finding something as general as this when you're a newbie. I searched for NT 4 workstation and, as you can guess, got a TON of links but no answer. Again, all I'm really asking is to be pointed to where to find the info. Thanks for your patience =) Ariel Orellana
Ariel_Orellana@penoles.com.mx says:> After performing the reg edit > and configuring TCP/IP and creating the smbpasswd (haven't convertedto> encrypted though), I can see the unix host just fine. The problem > comes when the NT 4 workstations (I have no NT servers) try to access > the shares. The server ALLWAYS asks me for account and password.As far as I know, NT will always asks for passwords, unless you have set up encrypted ones, which is pretty easy to do. Hence its not supprising you have this problem. BUT (and its a big but), my NT workstation still asks for the passwords even though I have set up encrypted passwords. So if anyone else can throw any light on this, I too would be interested. Dave Kirkby
Hello list, Sorry if this is covered in the FAQs. I couldn't find a solution anywere. I have Red Hat 6.0 running with Samba on our network. I can ping other computers on the network and can ping the Linux box from other machines. I've read through the SMB HOWTO document and set up a simple /etc/smb.conf to allow users (with accounts on the Linux box) to access their home directories (on the Linux box) from NT workstations. My /etc/smb.conf is attached.>From an NT workstation, I open Network Neighborhood. I can see my Linux server listed (GRASS). When I try to connect to it, it prompts me for a user name and password. I've tried every combination of username/password that I can think of, but every time, I get an error message:\\Grass is not accessible. The account is not authorized to login from this station. I know that my problem is that I'm new to Linux and have never used Samba, but its a problem none-the-less. Any help will be appreciated. Thanks, Robert Aldridge raldridg@gulf-states.com -------------- next part -------------- # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not many any basic syntactic errors. # #======================= Global Settings ====================================[global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = LIS # server string is the equivalent of the NT Description field server string = Samba Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 10.10.50. # if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = /etc/printcap load printers = yes # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx ; printing = bsd # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. security = user # Use password server option only with security = server ; password server = <NT-Server-Name> # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 ; username level = 8 # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents ; encrypt passwords = yes ; smb passwd file = /etc/smbpasswd # The following are needed to allow password changing from Windows to # update the Linux sytsem password also. # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above. # NOTE2: You do NOT need these to allow workstations to change only # the encrypted SMB passwords. They allow the Unix password # to be kept in sync with the SMB password. ; unix password sync = Yes ; passwd program = /usr/bin/passwd %u ; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passw d:*all*authentication*tokens*updated*successfully* # Unix users can map to different SMB User names ; username map = /etc/smbusers # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /etc/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Configure remote browse list synchronisation here # request announcement to, or browse list sync from: # a specific host or from / to a whole subnet (see below) ; remote browse sync = 192.168.3.25 192.168.5.255 # Cause this host to announce itself to local subnets here ; remote announce = 192.168.1.255 192.168.2.44 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Use only if you have an NT server on your network that has been # configured at install time to be a primary domain controller. ; domain controller = <NT-Domain-Controller-SMBName> # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for this servers netbios name, %U is username # You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # All NetBIOS names must be resolved to IP Addresses # 'Name Resolve Order' allows the named resolution mechanism to be specified # the default order is "host lmhosts wins bcast". "host" means use the unix # system gethostbyname() function call that will use either /etc/hosts OR # DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf # and the /etc/resolv.conf file. "host" therefore is system configuration # dependant. This parameter is most often of use to prevent DNS lookups # in order to resolve NetBIOS names to IP Addresses. Use with care! # The example below excludes use of name resolution for machines that are NOT # on the local network segment # - OR - are not deliberately to be known via lmhosts or via WINS. name resolve order = wins lmhosts bcast # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server ; wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = yes guest account = pcguest encrypt passwords = no password level = 0 preferred master = no os level = 0 null passwords = yes dead time = 0 debug level = 0 domain master = no # Case Preservation can be handy - system default is _no_ # NOTE: These can be set on a per share basis ; preserve case = no ; short preserve case = no # Default case is normally upper case for all DOS files ; default case = lower # Be very careful with case sensitivity - it can break things! ; case sensitive = no #============================ Share Definitions =============================[homes] comment = Home Directories browseable = no read only = no writable = yes create mode = 0750 # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] comment = Network Logon Service browseable = no read only = no create mode = 0750 ; path = /home/netlogon ; guest ok = yes ; writable = no ; share modes = no # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] ; path = /home/profiles ; browseable = no ; guest ok = yes # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes [public] comment = Public Stuff path = /home/public public = yes writable = yes printable = yes
I want to setup a Samba share visible in the Network Neighborhood. When it is opened, I would like to launch a browser with the URL, pointing back to the Linux server, like http://linuxserver/. I think it should be simple, but not sure how to proceed. Thanks. Bao
G'day, Attempting an experimental setup of samba (so I can understand samba) using Slackware 7.1 Samba 2.0.7 Used the diagnostics form the samba site (thanks) Test 1 and 4 passed. test 2 ping local host 127.0.0.1 script for test 3 below smb.conf attatched. looking at other postings I hope this is the correct protocol. any suggestions appreciated. thanks Ashley Script started on Wed Feb 21 10:13:38 2001 root@Server2001:/home/ashley# smbclient -L Server2001 added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0 session request to SERVER2001 failed (Not listening for calling name) session request to *SMBSERVER failed (Not listening for calling name) root@Server2001:/home/ashley# netstat -a | grep netbios tcp 0 0 Server2001.dummy.e:1034 Server2001.:netbios-ssn TIME_WAIT tcp 0 0 Server2001.dummy.e:1033 Server2001.:netbios-ssn TIME_WAIT tcp 0 0 *:netbios-ssn *:* LISTEN udp 0 0 Server2001.:netbios-dgm *:* udp 0 0 Server2001.d:netbios-ns *:* udp 0 0 *:netbios-dgm *:* udp 0 0 *:netbios-ns *:* root@Server2001:/home/ashley# exit exit Script done on Wed Feb 21 10:14:49 2001 -------------- next part -------------- # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not many any basic syntactic errors. # #======================= Global Settings ====================================[global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2 workgroup = MYGROUP # server string is the equivalent of the NT Description field server string = Samba Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts deny = ALL hosts allow = 192.168.1. 127. # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = bsd # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. NOTE: To get the behaviour of # Samba-1.9.18, you'll need to use "security = share". security = user # Use password server option only with security = server ; password server = <NT-Server-Name> # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents encrypt passwords = yes # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /usr/local/samba/lib/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply local master = yes # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election preferred master = yes # Use only if you have an NT server on your network that has been # configured at install time to be a primary domain controller. ; domain controller = <NT-Domain-Controller-SMBName> # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for this servers netbios name, %U is username # You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = yes #============================ Share Definitions =============================[homes] comment = Home Directories browseable = no read only = no writable = yes create mode = 0750 # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes # This one is useful for people to share files [tmp] comment = Temporary file space path = /tmp read only = yes public = yes
I've just been handed a site using Samba to have a unix computer send files into a directory on a NT computer. Now they want to have two unix computers share the same directory (for file creation only) on the NT machine. Is it possible to do this? If so, how? Thanks for your help. Joseph M. Cohen National ICS Technical Support 50 Cedar Road Bethany, CT 06524-3313 Voice 203.393.3906 Fax 203.393.3906 Voice mail 800.872.7281 x 7756 Cell 203.623.1066 email joe.cohen@philips.com
I have just been handed a site with a unix computer, using samba, sending files to an NT computer. They now want to add another unix machine sending files to the same directory on the NT machine. I can spell Samba, but not much more yet. Is it possible to have two unix computers send files to the same shared directory on an NT computer? If it can be done, how do I configure it? Where would I find this information in the docs? Thanks for your help. Joseph M. Cohen National ICS Technical Support 50 Cedar Road Bethany, CT 06524-3313 Voice 203.393.3906 Fax 203.393.3906 Voice mail 800.872.7281 x 7756 Cell 203.623.1066 email joe.cohen@philips.com
> I have just been handed a site with a unix computer, using samba, > sending files to an NT computer. > > They now want to add another unix machine sending files to the > same directory on the NT machine.Ok, so on NT you want to have one Network-Drive which leads to files on 2 unix machines. You can do that. Use one unix machine and install samba, share a directory. Within that directory place the mount point for the second unix machine and do a NFS mount. Better for the network load would be to install samba on both unix machines (NIS for acconts and plaintext passwords and securtiy = server for encrypted passwords) and use 2 network drives on NT Christian> > I can spell Samba, but not much more yet. > > Is it possible to have two unix computers send files to the same > shared directory on an NT computer? If it can be done, how do I > configure it? Where would I find this information in the docs?> > Thanks for your help. > > Joseph M. Cohen > National ICS Technical Support > 50 Cedar Road > Bethany, CT 06524-3313 > Voice 203.393.3906 > Fax 203.393.3906 > Voice mail 800.872.7281 x 7756 > Cell 203.623.1066 > email joe.cohen@philips.com > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >_(_)_ wWWWw _ @@@@ (_)@(_) vVVVv _ @@@@ (___) _(_)_ @@()@@ wWWWw (_)\ (___) _(_)_ @@()@@ Y (_)@(_) @@@@ (___) `|/ Y (_)@(_) @@@@ \|/ (_)\ / Y \| \|/ /(_) \| |/ | \ | \ |/ | / \ | / \|/ |/ \| \|/ jgs|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have just installed samba 2.2.1a on Solaris 8 . Created share called users /usr/local/samba/private# smbclient //drsunfs1/users added interface ip=XXX.XXX.XXX.XXX bcast=XXX.XXX.XXX.XXX nmask=XXX.XXX.XXX.XXX Password: Domain=[DRSHOKEN] OS=[Unix] Server=[Samba 2.2.1a] this works fine from the server itself . Since I am using NIS I did like this . ypcat passwd | mksmbpasswd.sh > /tmp/smbpass.tmp moved this file as smbpasswd and restarted smbc and nmbd . Now when I try to connect from PC C:\>net use s: \\drsunfs1\users The password is invalid for \\drsunfs1\users. Type the password for \\drsunfs1\users: System error 1240 has occurred. The account is not authorized to login from this station. I did change the passwd by smbpasswd rahul New SMB password: Retype new SMB password: Password changed for user rahul. I have not specified anything in deny network still it says , Account is not authorized from this station . If I try to do this from another Unix Workstastion ./smbclient //drsunfs1/users/ Server time is Mon Oct 1 19:55:24 2001 Timezone is UTC+9.0 Password: Domain=[DRSHOKEN] OS=[Unix] Server=[Samba 2.2.1a] security=user first SMBtconX failed, trying again. ERRDOS - ERRnosuchshare (You specified an invalid share name) SMBtconX failed. ERRDOS - ERRnosuchshare (You specified an invalid share name) Perhaps you are using the wrong sharename, username or password? Some servers insist that these be in uppercase Ofcourse here I specified root password although ./smbclient -L drsunfs1 gives correct output please help and forgive me for asking the question which has asked many times . best regards - Rahul -------------- next part -------------- Ce message contient des informations confidentielles ou appartenant au Cr?dit Lyonnais et est ?tabli ? l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, doit ?tre pr?alablement autoris?e. Tout message ?lectronique est susceptible d'alt?ration et son int?grit? ne peut ?tre assur?e. Le Cr?dit Lyonnais d?cline toute responsabilit? au titre de ce message s'il a ?t? modifi? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur de l'erreur de distribution et de la destruction du message. This e-mail contains confidential information or information belonging to Cr?dit Lyonnais and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. Cr?dit Lyonnais shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion.
Thanks a lot John Nelson , I just did encrypted password = yes and it worked , I can see the share and I can attach to it . In the log file , log.nmbd I see following messages , [2001/10/01 20:14:28, 0] smbd/connection.c:(62) yield_connection: tdb_delete failed with error Record does not exist. [2001/10/01 20:14:28, 0] smbd/connection.c:(62) Can someone tell me about this error . is this normal ? Regards - Rahul "Nelson, John P." <NelsonJP@genrad.com> on 10/02/2001 06:12:15 AM To: Rahul Parasnis/JPN/International/CLY@CLY cc: Subject: Re: Newbie question>Since I am using NIS I did like this . > >ypcat passwd | mksmbpasswd.sh > /tmp/smbpass.tmp > >moved this file as smbpasswd and restarted smbc and nmbd .You do realize that mksmbpasswd.sh does not enter the actual passwords, right? Unix passwords and SMB passwords use incompatible encryption schemes, both one-way encryption techniques. There is no way to read the passwd file (or yp equivalent) and generate SMB encrypted passwords from it. Hell, if this were possible, then the separate smbpasswd file would not be necessary. You need to add individual passwords for each user, using "smbpasswd". Or use unencrypted passwords for a time, using the "update encrypted" option of Samba (in effect, letting users populate the smbpasswd passwords by using the system). -------------- next part -------------- Ce message contient des informations confidentielles ou appartenant au Cr?dit Lyonnais et est ?tabli ? l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, doit ?tre pr?alablement autoris?e. Tout message ?lectronique est susceptible d'alt?ration et son int?grit? ne peut ?tre assur?e. Le Cr?dit Lyonnais d?cline toute responsabilit? au titre de ce message s'il a ?t? modifi? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur de l'erreur de distribution et de la destruction du message. This e-mail contains confidential information or information belonging to Cr?dit Lyonnais and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited. E-mails are susceptible to alteration and their integrity cannot be guaranteed. Cr?dit Lyonnais shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion.
Hello all, I've recently installed SAMBA ver2.2.1a and have setup a couple of shares. All seems fine. However one share is of an SAP Interface Filesystem (ie SAP outputs certain files to it) and is shared to a W2K server. This in itself works fine, and testing was going well until, someone spotted that the application on the W2K server occasionally reads and then removes (as it should) the output file before output from SAP is complete. This causes the application guys no end of problems. Is there a way of "locking" file access so only 1 user can access a file at a time? TIA Dave Shepherd Infrastructure Support Specialist Compass Group UK & Ireland ASA/ASP AIX v4.3 Certified Professional * Tel : +44 121 457 5037 * Mob : +44 7767 274 087 7 Fax : +44 121 457 5128 * EMail: dave.shepherd@compass-group.co.uk
Hello All, I am new to using Samba and have just installed the RPM's on my Linux Redhat 7.2 server. My test Windows machine is a Windows ME machine. I have been reading the documentation and looking over the smb.conf to try and fidure out how do set up the basic configurations. What I need to configure is to allow the users, which have an account on the Linux machine to enter their login/password on the WIndows machine when they want to connect to their home directory. They will generally not browse any directories on the server and just connect to their home direcotry while they are using the Windows machine. Could someone please tell me how this might be done andwhat changes I nned to make to my smb.conf? Thanks, Lonnie -- Lonnie Cumberland EMAIL: Lonnie@OutStep.com : Lonnie_Cumberland@yahoo.com
Hi, This may be well documented , but hey I can only ask. I have just installed Samba 2.0.7.0 onto AIX 4.3.3, from the Bull freeware site. However, although I can connect to an exported share from NT4 useing use * \\servername\sharename, which works just fine. I cannot get to connect to the share and get results from the following dir \\servername\sharename. This is giving me grief, I installed Samba cos the FastConnect product from IBM has been falling over. and the app that we use uses similar searches to the above command (which works fine in NT and using FastConnect AND ASU for Tru64 Unix) Is there some server configuration I have missed that will get this working?? Any help will be greatly appreciated. Regards Mark The information in this e-mail is confidential and may also be legally privileged. The contents are intended for recipient only and are subject to the legal notice available at http://www.keldagroup.com/email.htm Yorkshire Water Services Limited Registered Office Western House Halifax Road Bradford BD6 2SZ Registered in England and Wales No 2366682
Hi group, I just installed Linux RedHat 7.2 with samba. I use the following conf file: [global] smb passwd file = /etc/samba/smbpasswd printing = lprng dns proxy = no security = share encrypt passwords = yes workgroup = K&S server string = Samba Server socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 log file = /var/log/samba/%m.log netbios name = Linux load printers = yes username map = /etc/samba/user.map printcap name = /etc/printcap max log size = 0 [algemeen] path = /home/data writable = yes comment = K&S Algemeen valid users = root,rob printable = no On my Windows machine I can see linux and I can see the share (algemeen), but when I try to browse to it, Windows asks me for the password. What am I missing? Rob.
Rob, The reason you can see the shares is because security=share doesn't do any authentication until you try to access a share. I can see you're using encrypted passwords, so you need to make sure that the username exists as a Linux user and has an entry in the smbpasswd file. I personally had alot of problems getting security=share to work. I think the hardest thing to figure out is what username it's going to use. If you check out the smb.conf.5.htm you will see what steps samba uses to determine what username to use. HTH Josh Konkol, CNE MCSE Senior Network Analyst GuideOne Insurance Mail Stop AB-1 515-267-2427 jkonkol@guidemail.com .~. /V\ /( )\ ^^-^^ -----Original Message----- From: Rob Westland [mailto:rwestland@kands.nl] Sent: Thursday, May 16, 2002 7:18 AM To: Samba Subject: [Samba] Newbie question Hi group, I just installed Linux RedHat 7.2 with samba. I use the following conf file: [global] smb passwd file = /etc/samba/smbpasswd printing = lprng dns proxy = no security = share encrypt passwords = yes workgroup = K&S server string = Samba Server socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 log file = /var/log/samba/%m.log netbios name = Linux load printers = yes username map = /etc/samba/user.map printcap name = /etc/printcap max log size = 0 [algemeen] path = /home/data writable = yes comment = K&S Algemeen valid users = root,rob printable = no On my Windows machine I can see linux and I can see the share (algemeen), but when I try to browse to it, Windows asks me for the password. What am I missing? Rob. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
At 02:17 PM 5/16/02 +0200, Rob Westland wrote:>Hi group,Hi.>I just installed Linux RedHat 7.2 with samba. >I use the following conf file: >[global] > smb passwd file = /etc/samba/smbpasswd > printing = lprng > dns proxy = no > security = share > encrypt passwords = yes > workgroup = K&S > server string = Samba Server > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > log file = /var/log/samba/%m.log > netbios name = Linux > load printers = yes > username map = /etc/samba/user.map > printcap name = /etc/printcap > max log size = 0 > >[algemeen] > path = /home/data > writable = yes > comment = K&S Algemeen > valid users = root,rob > printable = no > > >On my Windows machine I can see linux and I can see the share (algemeen), >but when I try to browse to it, Windows asks me for the password. >What am I missing?A couple of things - if you go for share level security you should have a password = blah entry in the share. If you just want to use a username and password that is on the linux box, use security = user and run the following on the server : smbpasswd -a username>Rob.Martyn -------------- Martyn Ranyard I am not a member of the samba team, and anything that I say may not be as accurate as a response from one of the team. I reply to save those more qualified time, which can more usefully be spent developing SAMBA further.
Hello, all, I am sure you have read this question a million times, but I have not been able to resolve this problem. I am setting up a Samba server as an NT Domain Controller. So far, I have set the paramaters in smb.conf precisely as recommended in the Feb. 2002 edition of Linux Magazine, and the samba.org HOWTO document. The symptoms are these : Windows 98 machines report "The domain password you supplied is incorrect", and the XP machine I am testing reports "The network path cannot be found" when trying to join it onto the Samba PDC domain. Troubleshooting: Following as much documentation as I could, I found a reference to the encryption or lack thereof of passwords. I double-checked the .conf file, and the "encrypt passwords = yes" line is in the config. Moreover, I wanted to verify the issue further and deactivated encrypted passwords on the Win98 client to see if it would go through. Even after modifying the 98 machine to use plaintext passwords, it still gives me the same error. I have the password synch option turned on, and I have reset the password several times with smbpasswd to make sure it matched what I was typing. Any ideas? Thanks in advance... Damon Carpenter Office of Technology Resources University of Southern Mississippi (601)266-5274 damon.carpenter@usm.edu -------------- next part -------------- HTML attachment scrubbed and removed
Is your Samba server set up as a WINS server as well? WINS is very important when using the TCP/IP stack on M$ OS's... To test without setting up WINS, you can enter in the server information manually using the LMHOSTS file on the XP PC. Here's a link on M$'s website for the LMHOSTS file: http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q102044 Just a thought... Brett Cates Network Administrator Campbell Health System (817) 599-1483 -----Original Message----- From: Damon Carpenter [mailto:damon.carpenter@usm.edu] Sent: Tuesday, May 21, 2002 2:51 PM To: samba@lists.samba.org Subject: [Samba] Newbie question Hello, all, I am sure you have read this question a million times, but I have not been able to resolve this problem. I am setting up a Samba server as an NT Domain Controller. So far, I have set the paramaters in smb.conf precisely as recommended in the Feb. 2002 edition of Linux Magazine, and the samba.org HOWTO document. The symptoms are these : Windows 98 machines report "The domain password you supplied is incorrect", and the XP machine I am testing reports "The network path cannot be found" when trying to join it onto the Samba PDC domain. Troubleshooting: Following as much documentation as I could, I found a reference to the encryption or lack thereof of passwords. I double-checked the .conf file, and the "encrypt passwords = yes" line is in the config. Moreover, I wanted to verify the issue further and deactivated encrypted passwords on the Win98 client to see if it would go through. Even after modifying the 98 machine to use plaintext passwords, it still gives me the same error. I have the password synch option turned on, and I have reset the password several times with smbpasswd to make sure it matched what I was typing. Any ideas? Thanks in advance... Damon Carpenter Office of Technology Resources University of Southern Mississippi (601)266-5274 damon.carpenter@usm.edu
Hello, I've been looking over the doc, and have Samba installed and running. We are trying to do the following: We have a number of nt clients(nt 4 & w2k workstations) that we want to provide storage space too on our Unix box. What we would like is for them to all map one share, then based on secuirty(unix?) only allow them to certain subdirectories within that share. Example: \ \Accounting \Finance \Programming Someone could have access to accounting but not finance, or they could have access to finance and programming but not accounting. If someone could tell me wether this is possible or not I would appeciate it. If you could point to a place in the doc to set this up would also be very helpful.. thanks! - Alex -------------- next part -------------- HTML attachment scrubbed and removed
When I try to connect to the samba server I get the following error: \\server <file:///\\server> is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to see if you have access permissions. No service is operating at the destination network endpoint on the remote system. I have set this machine up just like another machine that I know works. But I am still not able to connect to this server. Can someone tell me what to look for? Jalene -------------- next part -------------- HTML attachment scrubbed and removed
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 494 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20030116/ea086000/attachment.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 494 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20030116/ea086000/attachment-0001.gif
I'm trying to create a binary package of the latest version of Samba for LRP (Linux Router Project) and was wondering where I can find information on what binaries and files have to be included. I'm only interested in using Samba as a server and only need the essentials. Any info/help would be greatly appreciated. Thanks. --
Using SAMBA 2.2.8a on RedHat 9.0, built from source, not binary. smb/unix sync is active. PAM authentication is active. As root, I can use smbpasswd to change a user's samba password, but the user cannot change it him or herself. When the attempt is made, the system rejects the password change with a RAP86 error. I've looked for this error on the web, but there are only two responses which detail this action - one implying that as of 2.2.7a a user cannot change his own password (which seems peculiar, but does hold some water), and the other mentioning a password length limitation (which does not hold water in this case). It is my hope I can find an answer here. Essentially, I want to use a single utility to change both the linux and samba passwords for a user. I seem to recall this working in earlier releases. Thanks, Urchin
I am new to Samba and not on the mailing list just yet. Please respond to this account if you can. Is there a port of samba for AIX 4.3.3 5.1 and 5.2 ? If so what is the current release and where can I get it from. Thank you CJ ====There are two major products to come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. Blessed are the pessimists, for they make backups! Tell me and I forget. Show me and I remember. Involve me and I learn." 10101010011100101001001000011010000001000100101010101010 0011001010100010110010101000010001010000 __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Hello, I have not installed Samba yet but before I do I was wondering if it is possible with Samba to share an internet connection with a Windows XP computer. I want to use my computer running Redhat Linux 9.0 (with Samba) as the dialup for the internet and the Windows XP to connect to my computer and then out to the internet. I am new to Linux and all. I was just wondering. Thank you John ______________________________________________ Visit My Christian Online Ministry at: HYPERLINK "http://christianonline.delri.net/index.html"http://christianonline.delr i.net/index.html for daily devotionals, weekly sermons, message board, chat, and other links A.S.A.P.(Always Say A Prayer) --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003