Re: [Samba] Re: ADS/Kerberos/LDAP/Win2K
thanks a lot for pointing that out. There might be multiple domains I have to take care of so I probably need a ldap backend. Is there any chance I can use an existing Active Directory domain controller with SFU or 2003 R2 (with ADAM)? Theoretically it should work fine with ADAM as this is a plain ldap database.. but I need people not having any knowledge of ldap to take control of users - so I would really appreciate a solution based on the R2/SFU schema extensions. But since I couldn't find any schemas for this solution I doubt it's possible, is it? regards, Roman 2006/1/20, Gerald (Jerry) Carter <[EMAIL PROTECTED]>: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Roman Sommer wrote: > > > what was this thread called originally? It seems to be interesting. > > This is the original thread. > > > It looks like it covers pretty much what I am about to do. > > I never came across any information about > > 'idmap backend = ad' (uses the uid and gid information > > from active directory) or 'winbind nss info' (uses > > the home directory and shell information from AD). > > > > I want winbind to automatically assign both uid and gid to a user that > > logs onto a unix machine for the first time. > > The ad backend for winbindd does not allocate ids. It simply reads them > from an AD extended with the SFU schema. To have winbindd allocate & > store, use either tdb or ldap. If you only have one domain, look at the > rid backend which performs a direct mapping from the user/group- RID to > a uid/gid. > > > > > cheers, jerry > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFD0Q3oIR7qMdg1EfYRAhxGAJ9UKJ2pz/rwY0EuUfOJL2xp3bl6QgCff3qn > tBkjgTSOSXE1rYci5P61hFE= > =/hu8 > -END PGP SIGNATURE- > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] uid/gid in smb.conf
Hi! All: I have a question about writing smb.conf: Can I use uid/gid in smb.conf instead of username/group name?? If I was in a domain, can I write "+1/20001" in smb.conf? (Note: 1 is gid and 20001 is uid in domain) Does anyone ever try it?? Thanks for you reply. Latrell. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't Connect to Shares
> wbinfo -u ==> error looking up domain users > wbinfo -g ==> error looking up domain groups You do have winbindd running, don't you? If so, it looks like you haven't joined the domain correctly which I suspect is the cause of all the problems. 'net testjoin' should return OK if you've successfully joined. > returns "Num domain groups: 5" and "Num local groups: 0." I only > have 1 domain, so I guess I'm not understanding these responses > completely. This means there are five groups in your domain, and none created on the local Samba machine. > The offending share setup from smb.conf (I've only enclosed one; This looks fine, I suspect you need to look elsewhere to fix the problem (like the join to the domain.) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Must you "net join" for the Samba machine to become a domain member?
> The thing is that we already manually added the server to the domain > (i.e. created a "computer account" for the Samba machine in the domain > manually using the standard Windows GUI tools). The reason, in my > case, I believe I have to do a "net join" is to populate the > "private/secrets.tdb" with some ID of the domain I'm interested in. When you manually add the server to the domain, the problem is that Samba doesn't know what the password is. You can set one with the 'net' command I think, however it's much easier to delete the manually added computer and run 'net join', that way Samba does the adding and you're guaranteed that it will know the machine account credentials. > I noticed that when I start the Samba daemons (without first doing a > "net join") and then try to map a drive that it automatically finds > info on some of our domains ("WINPROD" & "VTIDEV.CA") but not the one > I'm interested in ("CORP"). It's possible that these names are obtainable by broadcasting, in the same way that I believe workgroups are. > And what can I do to make it discover the domain I'm interested in > ("CORP") without having to do a "net join"? It'd strongly recommend doing a 'net join', as the Samba configuration will be metaphorically held together with sticky tape if you don't, and I wouldn't be at all surprised if it failed at a later date for seemingly no reason. Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Directory Listing Order / Windows XP
All, I have searched in vain for the answer to this so I hope someone can help me. I am running Samba 3.0.21a on an NSLU2 host. The host disk has an ext3 filesystem exporting to Windows XP as a network share. When I view the contents of a directory, I see files and directories listed in alphabetical order (i.e. files mixed with directories) when I use the network share. I would really like to have the share list all directories (in alpha order) followed by all files (in order) as per standard Windows XP folder listings. I have tried to adjust this using the Windows XP folder settings but it has had no effect so I must conclude it could be controlled from the smbd program. Does anyone how I could make listings appear as I wish? My smb.conf is below... Kind regards Arun [global] log level = 1 # CHANGE these settings to match your network/workgroup setup # -- workgroup = ARUNHORNE server string = NSLU Network Drive # the networks you want to allow connections from hosts allow = 127.0.0.1 192.168. hosts deny = 0.0.0.0/0 # -- config file=/opt/etc/samba/smb.conf os level = 8 load printers = no max log size = 10 security = user encrypt passwords = yes smb passwd file = /opt/etc/samba/smbpasswd socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535 #socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384 preferred master = no local master = yes dns proxy = no preserve case = yes short preserve case = yes default case = upper case sensitive = no mangled names = yes null passwords = yes username map = dos filetimes = yes veto files = /.ShareConfFile/quota.user/quota.user~/lost+found/desktop.ini/ force directory mode=771 force create mode=660 create mask=771 map system=yes map to guest=Bad User guest account=guest guest ok = yes bind interfaces only = yes interfaces = ixp0 lo winbind use default domain = no [ADMIN 1] valid users=@"administrators" comment= path=/share/hdd/data/ read only=yes write list=@"administrators" [DISK 1] valid users=@"administrators",@"everyone" comment=For everyone path=/share/hdd/data/public/ browseable = yes read only=yes write list=@"administrators",@"everyone" -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba DC / Win XP password expiry issue
Hello there, I run Samba 2.2.12 on RH7.3 acting as a domain controller. Until recently this has just had W2K clients connecting to it with no problems. I have now started adding WinXP clients, which have produced an issue regarding password expiry. Every now and again these XP clients - just after logging into the domain - state to the user that their password will expire in 14 days. They can change it if they wish, and although I'm aware it's probably good policy, I don't actually want to implement this. It's becoming a bind for them and I'm getting complaints. I've had a thorough look into this issue, but still cannot find a resolution. I have edited all local and account policy security settings on the clients, but to no avail. I'm fairly certain it's a Samba issue. Can anyone explain to me what the cause of this is and how I can stop it occurring? I would be most grateful for any help received. Thanks very much, Andrew Hall. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] psexec unix equivalent
Hello! I don`t know if there is a port of psexec for unix yet (haven`t followed the list for some time) - but since it has been discussed on this list several times and i didn`t find any news about the current state of the "psexec unix port"- i`d like to tell that i found a psexec equivalent by chance - WITH SOURCECODE INCLUDED ! :) take a look at http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/article.php/c5433/ i think this will help very much! regards roland __ Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach! Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba drop-box (on a sub-directory)
Hi Samba experts, I have a SAMBA 3 (compiled using --with-acl-support) Debian 2.6.12 kernel (compiled with POSIX ACLS) box. I need to create a folder structure like this: sharename folder 1 folder 1-1 folder 1-2 (dropbox -- users can write but not delete) folder 2 folder 2-1 folder 2-2 How do I do that? I need to allow read-only access to files after writing them. == Here's what I have (but it's not working) == [global] nt acl support = true netbios name = acl kernel change notify = yes inherit permissions = yes inherit acls = yes inherit owner = yes acl group control = yes [sharename] path = /home/user1 browseable = Yes writeable = Yes hide unreadable = yes Thanks! Sean -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.21a Debian Sarge Files get listed twice with smbstatus -u .......
Hi list, recently upgraded from 3.0.10 to 3.0.21a on debian sarge. Congratulations guy 's many problems gone but .. a) a couple of users reported the following: If they open outlook for the first time they are not able to send/receive emails. If they close/open oulook the second time everything is fine. I 'd set a high debug level and observed the log but nothing that will point to a problem here. Maybe corrupted pst ? b) if i do a smbstatus -u i get the following output for example: 17244 DENY_WRITE 0x2019f RDWR NONE Mail/Outlook.pst Fri Jan 20 10:34:53 2006 17244 DENY_NONE 0x20089 RDONLY NONE Mail/Outlook.pst Fri Jan 20 12:31:10 2006 28885 DENY_WRITE 0x2019f RDWR NONE Mail/2005.pst Fri Jan 20 13:23:22 2006 28885 DENY_NONE 0x20089 RDONLY NONE Mail/2005.pst Fri Jan 20 13:23:36 2006 18249 DENY_WRITE 0x2019f RDWR NONE Mail/bis2002.pst Thu Jan 19 08:44:59 2006 18249 DENY_NONE 0x20089 RDONLY NONE Mail/bis2002.pst Thu Jan 19 08:46:36 2006 Every file gets opened twice. Once RW and RO ! Is this because of the rewrite that belongs to oplocks ? Also the output of smbstatus doesn 't show the full path anymore. For example: Mail/bis2002.pst should give /mnt/home/xMail/bis2002.pst ! Would be great if someone can give me a bit advice what 's going on here Regards Tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba authentication
Hello all I need some help about Nas Blade authentication mode with CIFS Active Directory. My question is, if the PDC (DC Server Name) fail: - Active Directory authentication will be able to connect BDC (Slave DC Server Name)? Thanks in advance Best regards... Renato Shimizu. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba domain support on an embedded platform
Hi, We're using an MPC8241. We've got an 8 MB flash partition, and a small portion of hard drive space that we can use as well. At the moment, smbd, smbpasswd, and nmbd all fit inside our 8 MB flash partition with a little bit left over. Thanks, Anthony On Fri, 2006-01-20 at 09:24 +0100, Tomasz Chmielewski wrote: > Anthony Russello schrieb: > > Hi All, > > > > I've been reading through the archives, and am still reading through > > now, but I figured I would ask this anyways. > > > > My task is to support domain users and groups on an embedded network > > device using Samba 3.0.14a (upgrading would be difficult, due to the > > qualification testing our QA department would require). > > > > I'm trying to determine the minimum set of required libraries and > > applications in order to support both mixed mode and native windows 2000 > > domains. > > > > We need to: > > - join the domain > > - be able to import users and groups from the domain > > - be able to assign users and groups to shares on the device > > > > All within a small footprint. > > Hi, > > I'm just trying to do the same. > What embedded platform do you want to use; i.e. how much space do you have? > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba printing to Hylafax
I'm sure it's been solved before and probably more gracefully but here's the print string I used to accomplish printing from MS Word. gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile=/tmp/%s.pdf /var/spool/samba/%s;lpr -Pfaxit `strings %s|grep %%Title:|gawk '{print " -o phone="substr($5,1,11)}'` /tmp/%s.pdf;rm -f /tmp/%s.pdf -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] problem with chararcter sets in files
Hello, I recently upgraded to samba 3.0.20a (from samba-2.2.8a) and one of our users has the following problem. We have a file with the contents latin1 encoded. When the 2.2.8a was running this was also so. (The file gets dumped from a database) The user then copies the file between two samba servers. And then he sends it by mail. For one or the other reason the file he then sends by mail was in cp850 encoding. But with the upgrade this isn't so. I honestly think that samba doesn't mangle with the contents of files. And it must be a client issue. It could be a our side but also at the side that receives the mail. (our smb.conf doesn't not have any codepages entries) Can anybody confirm this? Thanks in advance, Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert e-mail: [EMAIL PROTECTED] Directie ICT, Afdeling Infrastructuur Groep Systemen tel: +32 9 264 4734 Universiteit Gent fax: +32 9 264 4994 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Directory Listing / Windows XP
All, I have searched in vain for the answer to this so I hope someone can help me. I am running Samba 3.0.21a on an NSLU2 host. The host disk has an ext3 filesystem exporting to Windows XP as a network share. When I view the contents of a directory, I see files and directories listed in alphabetical order (i.e. files mixed with directories) when I use the network share. I would really like to have the share list all directories (in alpha order) followed by all files (in order) as per standard Windows XP folder listings. I have tried to adjust this using the Windows XP folder settings but it has had no effect so I must conclude it could be controlled from the smbd program. Does anyone how I could make listings appear as I wish? My smb.conf is below... Kind regards Arun [global] log level = 1 # CHANGE these settings to match your network/workgroup setup # -- workgroup = ARUNHORNE server string = NSLU Network Drive # the networks you want to allow connections from hosts allow = 127.0.0.1 192.168. hosts deny = 0.0.0.0/0 # -- config file=/opt/etc/samba/smb.conf os level = 8 load printers = no max log size = 10 security = user encrypt passwords = yes smb passwd file = /opt/etc/samba/smbpasswd socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535 #socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384 preferred master = no local master = yes dns proxy = no preserve case = yes short preserve case = yes default case = upper case sensitive = no mangled names = yes null passwords = yes username map = dos filetimes = yes veto files = /.ShareConfFile/quota.user/quota.user~/lost+found/desktop.ini/ force directory mode=771 force create mode=660 create mask=771 map system=yes map to guest=Bad User guest account=guest guest ok = yes bind interfaces only = yes interfaces = ixp0 lo winbind use default domain = no [ADMIN 1] valid users=@"administrators" comment= path=/share/hdd/data/ read only=yes write list=@"administrators" [DISK 1] valid users=@"administrators",@"everyone" comment=For everyone path=/share/hdd/data/public/ browseable = yes read only=yes write list=@"administrators",@"everyone" -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] How to synchronize passwords?
I am testing a new installation of samba as a PDC. I manually created the users and groups since the old PDC is an ADS Win2k server and the vampire process does not work in that situation. When I log into the Samba PDC domain via a test client running a Winxp pro, I have to use the old password instead of the one I created using smbpasswd. How can I synchronize the passwords? I would rather keep the old passwords if possible. Also, how do I get samba to use smbpasswd settings to validate the passwords? Thanks, Guru -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Can't Connect to Shares
I'm running SUSE 9.3 with Samba 3.0.21a, but I can't connect to some shares, even though I can connect to others just fine. I get into my home share, netlogon share, printer shares, etc, but three shares all get me the same answer in response to : I get back an NT_STATUS_BAD_NETWORK_NAME error. All users are correctly in passdb, passwd, etc. I have winbind running, WINS Support=Yes, Samba is set as a PDC (I think--Preferred Master=Yes). Googling the error message and searching the HOWTO didn't turn up any solutions, only the statement that this error generally meant that the share was badly formed. Following are additional tests I've run that have failed, and their results: from the server side: smbclient //lserver0/ -U ehines ==> the BAD_NETWORK_NAME error message Note: When I run this against the working shares, I get the correct response. from the Windows device side: net use \\lserver0\ ==> "System 67 error...network name cannot be found." Note: When I run this against the working shares, I get the correct response. nmblookup -B lserver0 __SAMBA__ ==> "querying SAMBA on 192.168.2.2...name-query failed to find __SAMBA__" even though SAMBA clearly is running, and I can connect to it from the Windows devices. nmblookup -d 2 '*' works to the extent that it finds the PC on one subnet, but it does not find the laptop on another subnet (even though the laptop is identical to the PC in terms of successful--and failed--access to the shares, and SWAT's STATUS function shows the laptop as well as the PC to be active). wbinfo -u ==> error looking up domain users wbinfo -g ==> error looking up domain groups wbinfo -a ehines%passwd ==> NT_STATUS_CANT_ACCESS_DOMAIN_INFO wbinfo --get-auth-user ==> no authorized user configured However, wbinfo -D returns the SID and the correct domain name, and net rpc info returns the correct domain name and SID. It also returns "5 users," which is all I've set up for now, but it returns "Num domain groups: 5" and "Num local groups: 0." I only have 1 domain, so I guess I'm not understanding these responses completely. The offending share setup from smb.conf (I've only enclosed one; the three are essentially identical) is below, together with an excerpt from my [global] stanza. If I've over-snipped the [global], I'll send the whole thing, but it's a bit long. [accounts] comment = Accounting Files path = /data/accounts read only = No [global] workgroup = ASTRA_ENT netbios name = LSERVER0 interfaces = 192.168.2.2/24, 192.168.3.1/24, lo bind interfaces only = Yes passdb backend = tdbsam pam password change = Yes unix password sync = Yes smb ports = 139 name resolve order = wins bcast hosts shutdown script = /var/lib/samba/scripts/shutdown.sh abort shutdown script = /sbin/shutdown -c domain logons = Yes preferred master = Yes wins support = Yes Thanks a lot for your help. Eric Hines There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. --Bertrand Russell -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba drop-box (on a sub-directory)
you´re right, seems to be impossible (should have read everything before posting, sorry) if you can´t use "force create mode" (which makes sense to me in) how would you do it in win? greez sean wingert schrieb: Hi Michael, I've already searched the mailing list and I am using the inherit owner. The mailing list only explains how to create a SHARE as the drop-box--I need a drop-box as a child directory of a parent share. I could easily do this on a Windows machine, but what about SAMBA? Sean -Original Message- From: Michael Gasch [mailto:[EMAIL PROTECTED] Sent: Saturday, January 21, 2006 2:05 PM To: sean wingert Cc: samba@lists.samba.org Subject: Re: [Samba] Samba drop-box (on a sub-directory) use the "inherit owner" option and search the ML greez sean wingert wrote: Hi Samba experts, I have a SAMBA 3 (compiled using --with-acl-support) Debian 2.6.12 kernel (compiled with POSIX ACLS) box. I need to create a folder structure like this: sharename folder 1 folder 1-1 folder 1-2 (dropbox -- users can write but not delete) folder 2 folder 2-1 folder 2-2 How do I do that? I need to allow read-only access to files after writing them. == Here's what I have (but it's not working) == [global] nt acl support = true netbios name = acl kernel change notify = yes inherit permissions = yes inherit acls = yes inherit owner = yes acl group control = yes [sharename] path = /home/user1 browseable = Yes writeable = Yes hide unreadable = yes Thanks! Sean -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] RESOLVED:Network and Reboot Problem
Simple, too, it turns out: I just added os level = 35 to the [globals] stanza, and now the Samba server wins all the elections when the PC/laptop reboot and claim to be the domain server. Eric Hines There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. --Bertrand Russell -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] separate netbios names or WINS resolution for separate vlans/subnets
Udv / Greetings! I have latest samba installed. I'm courious that the following can be done or not. Given a gateway. The gateway has several addresses. 10.2.0.1/16 10.3.0.1/16 10.4.0.1/16 and up to 10.10.0.1/16 Each 10.x.0.1 ip is the gateway of a VLAN. The VLANs should not view each other in any way. That's no prob, I did it by iptables. but. If I do a ping machinename on vlan2 (10.2.0.1 subnet) and the machinename pc is located on vlan3 (10.3.0.1 subnet) samba returns it's IP address. and I would like not to do it. So I want to separate netbios and wins to each subnet, so they are not able to see if there is machinename PC on the network. Thank you in advance! -- Thomas Elias Title: *NIX Sysadmin, PHP/Delphi/C++ programmer, Certified IBM UDB DB2 Database Administrator mailto: [EMAIL PROTECTED], [EMAIL PROTECTED] Tel.: +3630/3484202 ICQ UIN: 206-714-459 Quote: "Too many people making too many problems (InFlames)" pgpTje19lonBc.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba client windows port?
Hi, Is there any port of samba client for microsoft windows 2k/xp and is it possible to this? I need to add huge amount of memory cache ( more than 1 gigabyte ) to windows smb client to overcome occassional network or server shortcomings because I need to capture video over network to a samba server ( not local harddisk). Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
AW: [Samba] Machine account with object class sambaSAMAccount required? SOLVED
Hello! The problem could be solved by activating samba privileges in smb.conf and giving Administrator the required privileges. After deleting the machine account and adding it again, it was of object class sambaSAMAccount and the machine could be added to the domain. Detailed information how to achieve this can be found here: http://groups.google.de/group/linux.samba/browse_frm/thread/4279131849c6bd40 /a696d9cebf34c28a?lnk=st&q=ldap+samba3+schema+sarge&rnum=9&hl=de#a696d9cebf3 4c28a Thanks for your help, Alexander > -Ursprüngliche Nachricht- > Von: > [EMAIL PROTECTED] > .org > [mailto:[EMAIL PROTECTED] > ts.samba.org] Im Auftrag von Alexander von Hedenstroem > Gesendet: Samstag, 21. Januar 2006 09:53 > An: samba@lists.samba.org > Betreff: [Samba] Machine account with object class > sambaSAMAccount required? > > Hi! > > I have a problem connecting WinXP clients to my samba3/ldap > domain (see my > earlier post). I'm using the idealx scripts and they do > create a machine > account, even if i try to add the machine from WinXP itself. > > Now I noticed the machine account created by this script has > object classes > top, inetOrgPerson and posixAccount, but NOT sambaSAMAccount. Is this > correct? I thought they should be sambaSAMAccounts too, like the users > are... > > Thanks, Alexander. > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] cant add files + variables ? (Newbe:)
First time samberer :) I have a home network, samba server running on kubuntu, wifes system running kubuntu and company laptop running XP. To start with I want to just share files. I can read files in shares from my wifes system but no matter what I do I cannot add files to the mounted share. I get 'cannot create regular file no such file or directory', even though the mounted directory exists and I can read files from it. I am stuck. Any idea what I am doing wrong ? Also is there a way to restrict my laptop XP to just the windows share. It seems that having a user and password for the samba server enables access to all shares on the server. The two possibilities I can see are either using a lot of variables in smb.conf or generating multiple instances of samba ? Many thanks in advance Dave Samba server ... smb.conf [global] #comments = Samba Server workgroup = OFFICE wins support = yes #oplocks = no [linux] path = /usr/local/share/samba/linux read only = no #guest ok = yes [windows] path = /usr/local/share/samba/windows read only = no #gest ok = yes [archive] path = /usr/local/share/samba/archive read only = no #gest ok = yes wifes system . fstab # /etc/fstab: static file system information. # # proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda5 noneswapsw 0 0 /dev/hdd/media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hdc/media/cdrom1 udf,iso9660 user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 /dev/hdb1 /mnt/fat32 vfatrw 0 0 /dev/hdb2 /mnt/archiveext3rw,nosuid,noexec0 0 //dave-comp/linux /mnt/samba/linux smbfs credentials=/root/.smbpw,uid=vanda,gid=vanda,fmask=777,dmask=777,rw 0 0 //dave-comp/windows /mnt/samba/windows smbfs credentials=/root/.smbpw,uid=vanda,gid=vanda,fmask=777,dmask=777,rw 0 0 //dave-comp/archive /mnt/samba/archive smbfs credentials=/root/.smbpw,uid=vanda,gid=vanda,fmask=700,dmask=700,rw 0 0 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba