[Samba] smbmount: reading changes ntfs journal
Hi @all! I'm new to this list and neither a samba nor a Windows specialist. That said: We have some linux servers mounting windows shares. The problem is that reading files on the share changes the journal / USN on the Windows side. Now our backup guys are backing up a lot of stuff that hasn't really changed because the journal tells them different. Even when I mount read- only a simple cat or less on a file causes this. Is there a way to fix this? Thanks in advance Mario -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Group issues - LDAP
On 9/5/08, JB Hewitt - Blade <[EMAIL PROTECTED]> wrote: > I'm trying to find a command with net to show what users belong into > groups. I don't use winbind so it's a bit tricky to find out. You can do this with net rpc group members even without winbind. I would carefully inspect the LDAP entries for user1, user2 and user3 and the relevant groups using ldapsearch. There must be some difference between user3 and the others. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing files and folders on Vista
this happens with windows 2003 servers too it's a problem with explorer. the best way it s to limit the folder list to 100 and use subfolders with a max of 100 etc the xp64 and vista 64 have a different limit of 1000 in my experience. Antoine Leblanc wrote: Antoine Leblanc a écrit : Antoine Leblanc a écrit : Hello everyone. I'm having a small problem while using samba 3.0.30 on FreeBSD that two months of googling haven't managed to fix: when a folder contains two many elements, Vista only lists a small amount of them. I made my tests with a folder containing around 1000 sub-folders (which have the same unix file mode). Vista was first only showing around 250 of them. After upgrading samba to 3.0.30, Vista "sees" around 400... When connecting from Mac OS X I can see the whole 1000 sub-folders. Has anyone already met this kind of problem? Thanks for reading (and sorry for my poor English). Some news from that: - the missing folders contain no accent or any specific character that may cause any problem, - if I move any of the missing folders into any other less "crowded" folder, I can see it and access it without any problem, - if I enter the name of the missing folder in the address bar, I can also access it without any problem. - XP sees exactly the same amount of folders that Vista does, - by just creating a new directory (`mkdir test`) in the folder, the number of folders seen jumped from 411 to 548. Thanks in advance for your help! I might even add (sorry for spamming) that the number of folders seen highly depends on actions such as creating a new sub-folder : - as mentioned, creating a "test" folder increases the number of folders seen to 548 ; deleting it brings back the counter to 411, - creating a new folder "test" with Vista brings down the counter to 135, - if I move all the folders in a new sub-folder, Vista now sees n - 1 of them. Moving them back brings the number of folders seen to what it was. That seems to be highly irrational... I tried to set a high debug level, but accessing and refreshing the folder does not seem to trigger any log. I also tried to deinstall and reinstall samba then reboot the server, but that didn't change anything. Thanks in advance for any help! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] How to add registry file via netlogon script ?
Hello I have netlogon script.cmd C: CD \ NET TIME \\SERWER /SET /YES NET USE * /D /YES REM NET USE H: /HOME NET USE W: \\SERWER\SKANY NET USE U: \\SERWER\TMP$ regedit /s \\serwer\netlogon\placesbarskanery.reg And file placesbarskanery.reg doesn't add to clients registry (Windows XP Pro sp3) after logon to samba PDC Power users have error "file can't be imported to registry ..." The file placesbarskanery looks like Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\Placesbar] "Place0"="D:\\skany" "Place1"="W:\\skany2" "Place2"=dword:0011 "Place3"=dword: "Place4"=dword:0012 PLEASE HELP !!! Sopot Bards Meeting 6 września.Opera Leśna w Sopocie. Antonina Krzysztoń, Jacek Kleyff, Andrzej Garczarek, Phoebe Killdeer.http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fbards.html&sid=474 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing files and folders on Vista
Damien Dye a écrit : this happens with windows 2003 servers too it's a problem with explorer. the best way it s to limit the folder list to 100 and use subfolders with a max of 100 etc the xp64 and vista 64 have a different limit of 1000 in my experience. Ok, thanks! That's pretty weird... I don't remember having this problem when I was running an older version of samba under Gentoo Linux and accessing it with a XP 32, though... Well, I'll try to find a way to work around that. -- Antoine Leblanc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] How to add registry file via netlogon script ?
ever heard of runas... open a dosbox and try runas /? its in there. Louis >-Oorspronkelijk bericht- >Van: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Namens >Hubert Choma >Verzonden: vrijdag 5 september 2008 10:34 >Aan: samba >Onderwerp: [Samba] How to add registry file via netlogon script ? > >Hello >I have netlogon script.cmd > >C: >CD \ >NET TIME \\SERWER /SET /YES >NET USE * /D /YES >REM NET USE H: /HOME >NET USE W: \\SERWER\SKANY >NET USE U: \\SERWER\TMP$ >regedit /s \\serwer\netlogon\placesbarskanery.reg > >And file placesbarskanery.reg doesn't add to clients registry (Windows >XP Pro sp3) after logon to samba PDC >Power users have error "file can't be imported to registry ..." > >The file placesbarskanery looks like >Windows Registry Editor Version 5.00 > >[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Po >licies\ComDlg32\Placesbar] >"Place0"="D:\\skany" >"Place1"="W:\\skany2" >"Place2"=dword:0011 >"Place3"=dword: >"Place4"=dword:0012 > >PLEASE HELP !!! > > >Sopot Bards Meeting 6 września.Opera Leśna w Sopocie. >Antonina Krzysztoń, Jacek Kleyff, Andrzej Garczarek, Phoebe >Killdeer.http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2F >as%2Fbards.html&sid=474 > > >-- >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
Re: [Samba] Missing files and folders on Vista
Actually, I doubt this is a Windows issue. As Antoine pointed out, the number of folders displayed changed after a Samba update, why would this effect Windows Explorer limits? Anyway, I just tested this on both Gentoo/Samba 3.0.32 and CentOS 5/Samba 3.2.3 with 1100 subfolders and WinXP 32bit / Vista 32bit clients, and both had no problem displaying all folders. On 9/5/08, Damien Dye <[EMAIL PROTECTED]> wrote: > > this happens with windows 2003 servers too it's a problem with explorer. > the best way it s to limit the folder list to 100 and use subfolders > with a max of 100 etc > > the xp64 and vista 64 have a different limit of 1000 in my experience. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing files and folders on Vista
Richard Foltyn a écrit : Actually, I doubt this is a Windows issue. As Antoine pointed out, the number of folders displayed changed after a Samba update, why would this effect Windows Explorer limits? Anyway, I just tested this on both Gentoo/Samba 3.0.32 and CentOS 5/Samba 3.2.3 with 1100 subfolders and WinXP 32bit / Vista 32bit clients, and both had no problem displaying all folders. On 9/5/08, Damien Dye <[EMAIL PROTECTED]> wrote: this happens with windows 2003 servers too it's a problem with explorer. the best way it s to limit the folder list to 100 and use subfolders with a max of 100 etc the xp64 and vista 64 have a different limit of 1000 in my experience. As I answered to Damien, I also never had that kind of problem when using an earlier version of Samba on Gentoo. I'm starting to think this might be a FreeBSD issue... -- Antoine Leblanc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Permission denied on mounted CIFS share
> From: Damien Dye > > could you also show whats logged when you do this you might > need to turn up the log level. I'd send Damian the whole log but he wrote "going though the log it doesn't appear that the smbd server is denying it." Any other ideas? Or suggestions how to debug the problem? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] On way trust issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ephi Dror wrote: > Hello, > > Pam based authentication is failing for trusted > domain users when the trust was set to one way. One way trust support for Winbind was introduced in Samba 3.2.0 What version are you running ? cheers, jerry - -- = Samba--- http://www.samba.org Likewise Software - http://www.likewisesoftware.com "What man is a man who does not make the world better?" --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwT0AIR7qMdg1EfYRAjWqAJ9liZfSJED+zUoJHWTdXbUxMucMmwCguDhu cxfcuxti41bqAozCYl1F46E= =qG04 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba server as part of AD domain keeps asking for username and password
Sorry, My german is not that good so I´ll stick to english. I had a similar problem which was cause by samba not being able to recognize machines (AWM013 is a machine account or a user?), we have a unix heavy samba enviroment with user in both AD and unix both computers only in AD. We had problems when the computer account tried to gain access to IPC$? but where denied because the account not being recognized by samba. If you to allow guest for bad users that would go away, security might be solvable by mapping guest to nobody? Not that I would run this in production but it´s a way to test. Also if wbinfo -u or -g doesn´t work to set a valid user account in winbind to use when connecting to the domain. /Henrik 2008/9/5 Andreas Ladanyi <[EMAIL PROTECTED]> > Hallo Hendrik, > > Dein Beitrag ist leider nur bei mir gelandet ! Weder bei Wolfgang, noch auf > der Mailingliste :-( > > Zum testen finde ich den parameter: > > map to guest = Bad User > > ok, aber nicht unbedingt fürs Produktivsystem. > > Was meinst Du ? > > Sollte ein "öffentliches" share "public=yes" oder "guest ok = yes" nicht > dazu führen, dass Du eben kein Passwort Popup bekommst ? Sonst macht das ja > irgendwo keinen Sinn oder ? > > Grüße, > Andy > > > > -Ursprüngliche Nachricht- > > Von: "Henrik Beckman" <[EMAIL PROTECTED]> > > Gesendet: 04.09.08 22:06:33 > > An: "Andreas Ladanyi" <[EMAIL PROTECTED]> > > Betreff: Re: [Samba] Re: Samba server as part of AD domain keeps asking > for username and password > > > > > > On Thu, Sep 4, 2008 at 8:45 PM, Andreas Ladanyi <[EMAIL PROTECTED]> > > wrote: > > > > [EMAIL PROTECTED] schrieb: > > Hi Andy, > > > > Thanks for the answer but I've tryed this already. > > With guest ok = yes And/or > > valid users = TESTDOM\awm013 awm013 testdom\awm013 AWM013 > > > > I haven't set the winbind seperator so it should be ok to use \ > > > > And also with guest ok = yes I still get the password promt. > > > > Thanks > > Wolfgang > > > > Hi Wolfgang, > > > > The error message is: > > > > Username TESTDOM\AWM013 is invalid on this system <-- > > -- > > There it is > > [2008/08/29 11:40:00, 3] smbd/error.c:error_packet_set(106) > > error packet at smbd/sesssetup.c(444) cmd=115 (SMBsesssetupX) > > NT_STATUS_LOGON_FAILURE > > > > The username is invalid !! Is AWM013 really a user with unix > > attributes in the Active Directory ? > > > > You are working with winbind. Which backend do you use to save you > > unix user information ? Windows Server 2003 R2 ? > > > > Iam wondering i cant read an "idmap backend = " parameter in your > > smb.conf ! > > > > What is the result of "wbinfo -u" and "wbinfo -g" and "wbinfo -t" ??? > > > > > > Bye, > > Andy > > > > > > Is awm013 a computer? > > If so try guest = Ok and map to guest = Bad User. > > Also as Andy asks does wbinfo -u and -g work, otherwise what user > > does winbindd use? > > > > Do you have 2008 server as password servers? > > > > /Henrik > > > > > > > > > > > > > _ > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > http://smartsurfer.web.de/?mc=100071&distributionid=0066 > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] On way trust issue
Hi Jerry, I used 3.0.25 and 3.0.31 I will look into this again as soon as we move on to 3.2. Cheers, Ephi -Original Message- From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 7:07 AM To: Ephi Dror Cc: samba@lists.samba.org Subject: Re: [Samba] On way trust issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ephi Dror wrote: > Hello, > > Pam based authentication is failing for trusted > domain users when the trust was set to one way. One way trust support for Winbind was introduced in Samba 3.2.0 What version are you running ? cheers, jerry - -- = Samba--- http://www.samba.org Likewise Software - http://www.likewisesoftware.com "What man is a man who does not make the world better?" --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwT0AIR7qMdg1EfYRAjWqAJ9liZfSJED+zUoJHWTdXbUxMucMmwCguDhu cxfcuxti41bqAozCYl1F46E= =qG04 -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] The specified network name is no longer available
I feel stupid even asking, and I have a feeling the solution is something that has been staring me right in the face for hours. I can't seem to access network shared on my samba PDC. I've done this before, and I am using a similar smb.conf file and I am just at the point where I can't get anything else to happen with this thing. My original problem was that I could not get WINXP machines to join the domain and I upgraded my version of Samba in hopes that it was just a fluke. It made things worse. Everytime I navigate to \\server I just receive the error "The specified network name is no longer available". Same thing when I try to join the domain. It does prompt me for a username and password, but beyond that, I have nothing. I need help!! Thank you!! current versions: CentOS 5.2 Samba 3.0.28-1.el5_2.1.x86_64 /etc/samba/smb.conf [global] log file = /var/log/samba/log.%m max log size = 50 workgroup = NMTWebDev netbios name = Server passdb backend = tdbsam security = user add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g machines %u # The following specifies the default logon script # Per user logon scripts can be specified in the user # account using pdbedit logon script = logon.bat # This sets the default profile path. # Set per user paths with pdbedit logon drive = U: domain logons = Yes os level = 65 preferred master = Yes domain master = Yes local master = Yes wins support = Yes name resolve order = wins lmhosts hosts bcast dns proxy = Yes socket options = IPTOS_LOWDELAY TCP_NODELAY load printers = Yes printing = cups printcap name = cups # bind interfaces only = yes logon path = \\%L\%U\windowsprofile server string = PDC encrypt passwords = yes null passwords = no # interfaces = lo eth0 map to guest = Never hide unreadable = yes [homes] comment = Home Directory for %u browseable = no valid users = %S read only = no guest ok = no create mask = 0600 directory mask = 0700 inherit permissions = yes [netlogon] path = /var/lib/samba/netlogon guest ok = no read only = yes browseable = no [Public] comment = Public File Share writeable = yes path = /home/public force directory mode = 777 force group = users force create mode = 777 force user = root valid users = @users create mode = 777 directory mode = 777 [www] comment = Website Share writeable = yes path = /www force directory mode = 777 force group = users force create mode = 777 force user = root valid users = @users create mode = 777 directory mode = 777 [printers] comment = All Printers path = /var/spool/samba/print printer = IBMInfoP browseable = No public = Yes guest ok = Yes writable = No printable = Yes [print$] comment = Printer Drivers Share path = /var/lib/samba/drivers write list = @users Greg Koch -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] OPLOCK1 and OPLOCK2 tests failing
Samba 3.2.3 on Solaris 9. Two (and only two) of the tests are failing when I 'make test': ---snip--- Testing OPLOCK1 (0) TEST OUTPUT: using seed 1220649638 host=127.0.0.2 share=tmp user=me myname=thehost Running OPLOCK1 starting oplock test 1 failed to open share connection: //127.0.0.2/tmp port:0 - NT_STATUS_IO_TIMEOUT TEST OPLOCK1 FAILED! OPLOCK1 took 10.054493 secs TEST FAILED: /pathto/samba-3.2.3/source/bin/smbtorture //127.0.0.2/tmp -Ume%test -e OPLOCK1 (status 1) Testing OPLOCK2 (1) TEST OUTPUT: using seed 1220649648 host=127.0.0.2 share=tmp user=me myname=thehost Running OPLOCK2 starting oplock test 2 failed to open share connection: //127.0.0.2/tmp port:0 - NT_STATUS_IO_TIMEOUT TEST OPLOCK2 FAILED! OPLOCK2 took 10.046123 secs TEST FAILED: /pathto/samba-3.2.3/source/bin/smbtorture //127.0.0.2/tmp -Ume%test -e OPLOCK2 (status 1) ---snip--- Has anybody else seen this? -David -- David Eisner http://cradle.brokenglass.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba