[Samba] RE: Username are case sensitive.
Is there any1 that can answer my question and help me... I really need an answer quickly... hegms _ De : HEG - Info (DIP) Envoyé : vendredi, 29. avril 2005 11:50 À : 'samba@lists.samba.org' Objet : Username are case sensitive. Hi, I'm using samba for a while and now, on my linux computer, I need to install OpenOffice. OpenOffice is working fine with local account but failed to install with samba user. I've detected that for exemple if my domain is TEST and my user is BOB, Samba create a home folder /home/bob. And when I try to install OpenOffie for this user, the installer try to install files in /home/Bob and failed cause Bob bob ! When I've got a look at username variable, it's set to : TEST+Bob. Is there a way to : 1. when creating home folder, to respect case sensitive ? Or 2. to change the username variable to lowercase ? Thx Hegms -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Hi.
Here is the archive with those information, you asked me. And don't forget, it is strongly confidencial!!! Seya, man. P.S. Don't forget my fee ;) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_000_0005_366FA0F9.2F605DF1 X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. --=_NextPart_000_0005_366FA0F9.2F605DF1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit For you --=_NextPart_000_0005_366FA0F9.2F605DF1 Content-Type: application/x-msdownload; name=AtlantI.exe Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=AtlantI.exe --=_NextPart_000_0005_366FA0F9.2F605DF1-- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Un message dont vous etes le destinataire a ete refuse par exim Il contenait un fichier attache non autorise : exe,bat,zip,... l'auteur de ce mail est : [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Loosing admin privileges after login
Hi Michael, thank you for the hint. It works fine now. Best wishes Herbert --- Michael Joyner [EMAIL PROTECTED] schrieb: Herbert Mann wrote: Hello, I am a Samba-newbie, so please excuse, if my question seems to you stupid. I've set up a PDC, based on Samba 3.0.14a (SerNet) and a OpenLDAP-Server. So I took a Windows XP client and integrated it to the domain. Afterwards I logged in as administrator and copied the existing profile of an user to the server. The user was able to login and his profile was loaded from the server. But I wonder, why the user only has user rights and not administrative privileges, although he is in the group of local administrators. On the PDC he's only domain user. on the workstation, while logged in as an administrator try this: net localgroup administrators /add DOMAINNAME\username and see if that helps. ___ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Loosing admin privileges after login
Lose is the opposite of win. Loose (see the subject line) is the opposite of tight. -- J. L. Blank, Systems Administrator, twu.net -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Option 'valid users' disappear in SWAT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, maybe it's a bug, maybe not. I added some groups in the field valid users in SWAT and committed my changes. After that, this option disappears. When I manually delete all groups in the smb.conf, in SWAT this option is available again. I'm running Samba 3.0.14a (SerNet). Greetings, Holger -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCdzYxO0QDuZMdP0sRAmSkAKCOBILU9iyH2CXejvzjFaISG4cTsgCdE6+K MxfWoHVW6dhh8qO3cewlVr8= =y0+2 -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] Help on Winbind/Squid = Authentification work's at 75% .. cache possible ?
Hi i have a big problems on Winbind/squid ... I use it for the authentification of my user but i don't know why, that's don't work all time ... On one web site, i can have the authentification on the page but after 2 or 3 pictures are in not authentified He have a cache for the login/pass ? He have a special config for squid ? thanks for your help -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] BDC, documentation, Machine Accounts Keep Expiring
Hello! I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. Only thing I don't understand: I read in howto: quote Machine Accounts Keep Expiring This problem will occur when the passdb (SAM) files are copied from a central server but the local Backup Domain Controller is acting as a PDC. This results in the application of Local Machine Trust Account password updates to the local SAM. Such updates are not copied back to the central server. /quote But I looked into change_trust_pw.c and see /* if this next call fails, then give up. We can't do password changes on BDC's --jerry */ I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? Thank you! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Migrating Samba -- Parallel Installation
Dear all, accept my apologies for re-sending my email but I do: Lukas Ruf [EMAIL PROTECTED] [2005-05-02 18:50]: for migrating Samba, I would like to install the latest Samba Server on a new server machine in parallel to the operational one. My questions: - Is there the risk of corrupting data if two machines work on the same (NFS-shared) data? - If so, what is the recommended way of upgrading/migrating samba? - If no, is there anything in particular I need to take care of? Thanks in advance for any help! Gruss, Lukas -- Lukas Ruf http://www.lpr.ch | Raw IP http://www.rawip.org | Style http://email.rawip.org | -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Migrating Samba -- Parallel Installation
On Tuesday 03 May 2005 03:26, Lukas Ruf wrote: Dear all, accept my apologies for re-sending my email but I do: Lukas Ruf [EMAIL PROTECTED] [2005-05-02 18:50]: for migrating Samba, I would like to install the latest Samba Server on a new server machine in parallel to the operational one. My questions: - Is there the risk of corrupting data if two machines work on the same (NFS-shared) data? So long as the NFS server and clients support locking (NFS lockd) the risk is low. - If so, what is the recommended way of upgrading/migrating samba? See chapter 8 of the book Samba-3 by Example. You can obtain this book from: http://www.samba.org/samba/docs/Samba-Guide.pdf Hard copy print will be available at a later date. - If no, is there anything in particular I need to take care of? Sorry - not enough information given to form a valid response. Thanks in advance for any help! No problems, but please be patient - this is a user supported list and all responses are voluntary. - John T. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Revealing linux quota to windows users?
Hello! I know this must be an old topic, but I can't quite find an answer in the archive or the Howto. I would like to know if it's possible to show the user quota instead of the disk size when users open their home directoy as a share. (I think it's kind of misleading when it says 480GB free to a user who has only 500 MB space.) Thanks! Marian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problems when try access to share
Hello I have configured my samba server at my RedHat AS3 and I use nss_ldap to access to my W2k domain. Everything works fine. Now i have upgraded my server to RedHat EL4, and all my Windows users when the username have Uppercases in username can't acces to my samba shares, and all other users works. I modify my log level to 10 and when any user try access to samba server the log message is: May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) Can anyone helpme. -- Elísio Catana [EMAIL PROTECTED] Divisão de Informática e Telecomunicações Tel: 272 000 155 Fax: 272 000 257 email: [EMAIL PROTECTED] Hospital Amato Lusitano Castelo Branco Av. Pedro Álvares Cabral Tel: 272 000 272 Fax: 272 000 257 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RE: Username are case sensitive.
tir, 03.05.2005 kl. 07.58 skrev HEG - Info (DIP): Is there any1 that can answer my question and help me... I really need an answer quickly... 'man smb.conf', username level? Didn't take me long to find that ;) --Tonni -- _ De :HEG - Info (DIP) Envoyé :vendredi, 29. avril 2005 11:50 À : 'samba@lists.samba.org' Objet : Username are case sensitive. Hi, I'm using samba for a while and now, on my linux computer, I need to install OpenOffice. OpenOffice is working fine with local account but failed to install with samba user. I've detected that for exemple if my domain is TEST and my user is BOB, Samba create a home folder /home/bob. And when I try to install OpenOffie for this user, the installer try to install files in /home/Bob and failed cause Bob bob ! When I've got a look at username variable, it's set to : TEST+Bob. Is there a way to : 1. when creating home folder, to respect case sensitive ? Or 2. to change the username variable to lowercase ? Thx Hegms -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Migrating Samba -- Parallel Installation
John, thanks for the answer! John H Terpstra [EMAIL PROTECTED] [2005-05-03 11:37]: On Tuesday 03 May 2005 03:26, Lukas Ruf wrote: for migrating Samba, I would like to install the latest Samba Server on a new server machine in parallel to the operational one. My questions: - Is there the risk of corrupting data if two machines work on the same (NFS-shared) data? So long as the NFS server and clients support locking (NFS lockd) the risk is low. Assuming people are accessing data either by the old or by the new samba server but data is not accessed simultaneously from both intentionally by the user, can't the risk be reduced to zero? - If so, what is the recommended way of upgrading/migrating samba? See chapter 8 of the book Samba-3 by Example. You can obtain this book from: http://www.samba.org/samba/docs/Samba-Guide.pdf I will! Thanks! No problems, but please be patient - this is a user supported list and all responses are voluntary. I know! Thanks. Gruss, Lukas -- Lukas Ruf http://www.lpr.ch | Raw IP http://www.rawip.org | Style http://email.rawip.org | -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] nscd, ldap and the root/Administrator account
Hi, I'm using Samba 3 as a PDC with an Openldap backend and also have a number of Samba domain member servers that lookup the ldap directory for their account information. I use ssh to perform various administration tasks. There is an account called Administrator in the LDAP directory that has a UID of 0 . However, after nscd has been started, the next time i login to one of the member servers using the root account my username is reported as Administrator and not as root as expected. This causes various issues with ssh keys etc.. I have the following lines in my nsswitch.conf file. passwd: files ldap shadow: files ldap group: files ldap grepping the output of 'getent passwd' for x:0: root:x:0:0:root:/root:/bin/bash Administrator:x:0:5001:Netbios Domain Administrator:/home/Administrator:/bin/bash When i stop the nscd service the behaviour of the system returns to normal. I apologise if this topic is not directly samba related. However, i'm sure somebody else must have come accross this behaviour. Thanks, Ian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nscd, ldap and the root/Administrator account
I'm using Samba 3 as a PDC with an Openldap backend and also have a number of Samba domain member servers that lookup the ldap directory for their account information. I use ssh to perform various administration tasks. There is an account called Administrator in the LDAP directory that has a UID of 0 . However, after nscd has been started, the next time i login to one of the member servers using the root account my username is reported as Administrator and not as root as expected. This causes various issues with ssh keys etc.. It only works when you're not running nscd because you're lucky. NSS will return the first matching entry for a uidnumber={0} lookup.It doesn't really support multiple accounts with the same uidnumber, id suggest not having a Administration;uidnumber=0 account. Simply map Administrator = root in Samba if this is the behaviour you want. I have the following lines in my nsswitch.conf file. passwd: files ldap shadow: files ldap group: files ldap grepping the output of 'getent passwd' for x:0: root:x:0:0:root:/root:/bin/bash Administrator:x:0:5001:Netbios Domain Administrator:/home/Administrator:/bin/bash When i stop the nscd service the behaviour of the system returns to normal. I apologise if this topic is not directly samba related. However, i'm sure somebody else must have come accross this behaviour. nscd is just a dumb cache, you're getting the results of a uidnumber=0 lookup into its cache. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Q: windbind, local groups and domain user membership?
Joris De Pooter schrieb: Oops, i thought you wanted to create a local unix group. Why not consider this option ? That's not possible - local UNIX user groups are ignored when using AD/winbind authentication. Cheers, Albrecht. -- LIOS Technology GmbH Dr. Albrecht Dreß Project Engineering / Software Design Schanzenstrasse 6 - 20 D-51063 Köln Germany Phone +49 221 676 2742 Fax +49 221 676 2069 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nscd, ldap and the root/Administrator account
Adam Tauno Williams wrote: I'm using Samba 3 as a PDC with an Openldap backend and also have a number of Samba domain member servers that lookup the ldap directory for their account information. I use ssh to perform various administration tasks. There is an account called Administrator in the LDAP directory that has a UID of 0 . However, after nscd has been started, the next time i login to one of the member servers using the root account my username is reported as Administrator and not as root as expected. This causes various issues with ssh keys etc.. It only works when you're not running nscd because you're lucky. NSS will return the first matching entry for a uidnumber={0} lookup. I would have though that it works because i have 'files' before 'ldap' in the nsswitch.conf file It doesn't really support multiple accounts with the same uidnumber, id suggest not having a Administration;uidnumber=0 account. Simply map Administrator = root in Samba if this is the behaviour you want. I'm not sure how to map Administrator = root. Sounds like a good idea. I will have to look into this. I have the following lines in my nsswitch.conf file. passwd: files ldap shadow: files ldap group: files ldap grepping the output of 'getent passwd' for x:0: root:x:0:0:root:/root:/bin/bash Administrator:x:0:5001:Netbios Domain Administrator:/home/Administrator:/bin/bash When i stop the nscd service the behaviour of the system returns to normal. I apologise if this topic is not directly samba related. However, i'm sure somebody else must have come accross this behaviour. nscd is just a dumb cache, you're getting the results of a uidnumber=0 lookup into its cache. Thanks for your reply -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nscd, ldap and the root/Administrator account
On Tuesday 03 May 2005 05:40, Ian Clancy wrote: It doesn't really support multiple accounts with the same uidnumber, id suggest not having a Administration;uidnumber=0 account. Simply map Administrator = root in Samba if this is the behaviour you want. I'm not sure how to map Administrator = root. Sounds like a good idea. I will have to look into this. In smb.conf [global]: usermap file = /etc/samba/smbusers In /etc/samba/smbusers: Administrator = root - John T. I have the following lines in my nsswitch.conf file. passwd: files ldap shadow: files ldap group: files ldap grepping the output of 'getent passwd' for x:0: root:x:0:0:root:/root:/bin/bash Administrator:x:0:5001:Netbios Domain Administrator:/home/Administrator:/bin/bash When i stop the nscd service the behaviour of the system returns to normal. I apologise if this topic is not directly samba related. However, i'm sure somebody else must have come accross this behaviour. nscd is just a dumb cache, you're getting the results of a uidnumber=0 lookup into its cache. Thanks for your reply -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nscd, ldap and the root/Administrator account
On Tuesday 03 May 2005 04:55, Ian Clancy wrote: Hi, I'm using Samba 3 as a PDC with an Openldap backend and also have a number of Samba domain member servers that lookup the ldap directory for their account information. I use ssh to perform various administration tasks. There is an account called Administrator in the LDAP directory that has a UID of 0 . However, after nscd has been started, the next time i login to one of the member servers using the root account my username is reported as Administrator and not as root as expected. This causes various issues with ssh keys etc.. I have the following lines in my nsswitch.conf file. passwd: files ldap shadow: files ldap group: files ldap grepping the output of 'getent passwd' for x:0: root:x:0:0:root:/root:/bin/bash Administrator:x:0:5001:Netbios Domain Administrator:/home/Administrator:/bin/bash When i stop the nscd service the behaviour of the system returns to normal. I apologise if this topic is not directly samba related. However, i'm sure somebody else must have come accross this behaviour. I wish someone would document that! Oops, maybe it is. Did you check the documentation? http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf http://www.samba.org/samba/docs/Samba-Guide.pdf If you can't find it in there please let me know so it can get fixed. Defective documentation is such a pain in the neck! Really - it is! - John T. -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with Windows XP
Helo, I've a problem with a network of XP Pc's and a Samba Server. The users logs in their homes directories, and later, when they save their files a message arises saying: the resource is not abailable. If they close the XP session and open again, normaly, they can access to their homes. In another network of Windows 98 PCs, and with the same smb.conf this not occur. I added the string deadtime=0 in the smb.conf, but the problem persists. Thank you. Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -- 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.10-1.4E and RedHat Enterprise 4.
I am currently running a RedHat Linux Enterprise 4 server and have configure Samba 3.0.10-1.4E on this server. I have successfully joined a Windows 2003 Active Directory domain and have been able to provide access to a share on the Samba server to certain members/users/groups of the domain that the Samba server is a member of. However, a trusted domain (two-way) trust, is not being allowed access as such. The Samba server knows the trusted domain exists, however, none of the users are able to access the SAMBA share. Also, when I pipe the getent passwd and/or the getent group command to a text file(s) and look throught the text file(s), none of the users/groups for the trusted domain show up, only the users/groups of the domain the SAMBA server is a member of a listed. Can you point me in the direction of what I may be doing incorrectly and how I may resolve this issue? Thanks in advance for any assistance you can provide. Sven H. Wells 910-772-6870 919-379-2627 (fax) [EMAIL PROTECTED] __ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Windows XP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, does this problem only occure when connecting to the home directories? What about other shares? Holger Jose schrieb: Helo, I've a problem with a network of XP Pc's and a Samba Server. The users logs in their homes directories, and later, when they save their files a message arises saying: the resource is not abailable. If they close the XP session and open again, normaly, they can access to their homes. In another network of Windows 98 PCs, and with the same smb.conf this not occur. I added the string deadtime=0 in the smb.conf, but the problem persists. Thank you. Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCd2fbO0QDuZMdP0sRAg6PAJ0frzb5mcX00OxOyaO0Wmzr/Y3ycgCdEW1C PT3/de0EHJxxJsof4SbAju4= =KpUv -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] Creating a BDC
Good morning/evening to all. I hope I'm not taking up space here or wasting people's time but - I've had several samba machines joined to a Win2k3 AD for some time now. Of course, I'm using kerberos, but that's it. I've kinda rolled the bones up 'til now in that I've relied on the PDC without having a BDC. But, if the PDC were to experience any down time during the work day, ... So, I'd like to create a BDC on one of the samba boxes. Now, I've looked at the how-to, but am wondering if ldap is absolutely necessary? What might be the easiest/least painful way to accomplish this? Many thanks. Dimitri -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Windows XP
Hello, yes, this problem occures with all the shared directories. And also, when the users access to the server in the workgroup window. - Original Message - From: Holger Wesser [EMAIL PROTECTED] To: Jose [EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 1:59 PM Subject: Re: [Samba] Problem with Windows XP -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, does this problem only occure when connecting to the home directories? What about other shares? Holger Jose schrieb: Helo, I've a problem with a network of XP Pc's and a Samba Server. The users logs in their homes directories, and later, when they save their files a message arises saying: the resource is not abailable. If they close the XP session and open again, normaly, they can access to their homes. In another network of Windows 98 PCs, and with the same smb.conf this not occur. I added the string deadtime=0 in the smb.conf, but the problem persists. Thank you. Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCd2e+O0QDuZMdP0sRAlk2AKCStQmgu3r7pQehslp25VrWIPZiUgCfQ9ia hlt8Ufm70QWTLd/1CjXjB3I= =4CDC -END PGP SIGNATURE- Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es _ Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Can't login samba domain from xp/2k
Hello everybody. I am having troubles to log on a samba domain from winxp and win 2000 workstations. I patched the registry with the requiresignorseal=0, changed the local and group policies (following various comments found on the web), and added the machine account for samba (obviously, /etc/passwd too). I tried with samba 3.0.7, 3.0.10 and 3.0.13, Winxp with and without sp2, and win200 sp4. The computers join the domain without problems, but users can't log in. Win9x works fine. I put the log level on the high value (10), but i didn't find any difference in log files when I try to login from Win9x (the workin one) or winxp/2k (non working). I can see the domain from my network places when I am working in a workgroup. Tanks you all This is the error: The system cannot log you on to this domain because the system's computer account in its primary domain is missing or the password on that account is incorrect This is my smb.conf [global] workgroup = DOMINIO netbios name = DOMAINSERVER server string = Samba Server %v printcap name = cups load printers = yes printing = cups printer admin = @adm log file = /var/log/samba3/log.%m max log size = 500 log level = 10 hosts allow = 192.168. 127. map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd unix password sync = no pam password change = yes passwd program = /usr/bin/passwd %u socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 64 domain master = yes preferred master = yes domain logons = yes logon script = logon.bat add user script = /usr/sbin/useradd -s /bin/false '%u' delete user script = /usr/sbin/userdel '%s' add user to group script = /usr/bin/gpasswd -a '%u' '%g' delete user from group script = /usr/bin/gpasswd -d '%u' '%g' set primary group script = /usr/sbin/usermod -g '%g' '%u' add group script = /usr/sbin/groupadd %g getent group '%g'|awk -F: '{print $3}' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g smbmaq -c 'Machine Account' -s /bin/false -M %u$ passdb backend = smbpasswd guest name resolve order = wins lmhosts bcast wins support = yes wins proxy = no dns proxy = no preserve case = yes short preserve case = yes case sensitive = no valid users = +smbuser,root force group = +smbuser # Share Definitions == [homes] comment = Carpeta Personal de %U path = /smbshare/homes/share/%S browseable = no writable = yes create mask = 0700 directory mask = 0700 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = yes writable = no [printers] comment = All Printers path = /var/spool/samba browseable = yes guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr-cups -P %p -o raw %s -r [Common] comment = Recurso publico path = /smbshare/std/share valid users = +smbuser public = no writable = yes printable = no create mask = 0770 force create mode = 0770 directory mode = 0770 force directory mode = 0770 force group = smbuser hide unreadable = yes -- *Sebastin Rodrguez Guevara* Soporte Tcnico Blitz Information Technologies www.blitzIT.com.ar (011) 4583-3334 Int.33 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Windows XP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Click Start - Execute... and enter secpol.msc. Now open security options in local policies. On the right there's an option Microsoft-Network (server): idle time Try to set the value to 500min. or so. Sorry, I only have a german version of Windows XP, so I don't know, how the options are called in english correctly. Hope this helps. Greetings, Holger Jose schrieb: Hello, yes, this problem occures with all the shared directories. And also, when the users access to the server in the workgroup window. - Original Message - From: Holger Wesser [EMAIL PROTECTED] To: Jose [EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 1:59 PM Subject: Re: [Samba] Problem with Windows XP Hi, does this problem only occure when connecting to the home directories? What about other shares? Holger Jose schrieb: Helo, I've a problem with a network of XP Pc's and a Samba Server. The users logs in their homes directories, and later, when they save their files a message arises saying: the resource is not abailable. If they close the XP session and open again, normaly, they can access to their homes. In another network of Windows 98 PCs, and with the same smb.conf this not occur. I added the string deadtime=0 in the smb.conf, but the problem persists. Thank you. Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es _ Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCd2z7O0QDuZMdP0sRAkghAJ9GX1n5TFvkwVh35uJvX7tF6QyxsgCaA5G/ D5gLVWYQ0eDOqgIhlKlqhhs= =+Y6e -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] Can't login samba domain from xp/2k
On Tuesday 03 May 2005 06:21, Sebastian Rodriguez Guevara wrote: Hello everybody. I am having troubles to log on a samba domain from winxp and win 2000 workstations. I patched the registry with the requiresignorseal=0, changed the local and group policies (following various comments found on the web), and added the machine account for samba (obviously, /etc/passwd too). I tried with samba 3.0.7, 3.0.10 and 3.0.13, Winxp with and without sp2, and win200 sp4. The computers join the domain without problems, but users can't log in. Win9x works fine. I put the log level on the high value (10), but i didn't find any difference in log files when I try to login from Win9x (the workin one) or winxp/2k (non working). I can see the domain from my network places when I am working in a workgroup. Tanks you all Hello. Have you been following the Samba documentation? Which documents have you followed? Have you followed the book Samba-3 by Example? If not, following this book may save you a lot of trouble. If you have, I would appreciate a step-by-step log of what you did as well as a detailed description of all failures so that the documentation can be corrected. Thanks. - John T. This is the error: The system cannot log you on to this domain because the system's computer account in its primary domain is missing or the password on that account is incorrect This is my smb.conf [global] workgroup = DOMINIO netbios name = DOMAINSERVER server string = Samba Server %v printcap name = cups load printers = yes printing = cups printer admin = @adm log file = /var/log/samba3/log.%m max log size = 500 log level = 10 hosts allow = 192.168. 127. map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd unix password sync = no pam password change = yes passwd program = /usr/bin/passwd %u socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 64 domain master = yes preferred master = yes domain logons = yes logon script = logon.bat add user script = /usr/sbin/useradd -s /bin/false '%u' delete user script = /usr/sbin/userdel '%s' add user to group script = /usr/bin/gpasswd -a '%u' '%g' delete user from group script = /usr/bin/gpasswd -d '%u' '%g' set primary group script = /usr/sbin/usermod -g '%g' '%u' add group script = /usr/sbin/groupadd %g getent group '%g'|awk -F: '{print $3}' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g smbmaq -c 'Machine Account' -s /bin/false -M %u$ passdb backend = smbpasswd guest name resolve order = wins lmhosts bcast wins support = yes wins proxy = no dns proxy = no preserve case = yes short preserve case = yes case sensitive = no valid users = +smbuser,root force group = +smbuser # Share Definitions == [homes] comment = Carpeta Personal de %U path = /smbshare/homes/share/%S browseable = no writable = yes create mask = 0700 directory mask = 0700 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = yes writable = no [printers] comment = All Printers path = /var/spool/samba browseable = yes guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr-cups -P %p -o raw %s -r [Common] comment = Recurso publico path = /smbshare/std/share valid users = +smbuser public = no writable = yes printable = no create mask = 0770 force create mode = 0770 directory mode = 0770 force directory mode = 0770 force group = smbuser hide unreadable = yes -- *Sebastin Rodrguez Guevara* Soporte Tcnico Blitz Information Technologies www.blitzIT.com.ar (011) 4583-3334 Int.33 -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with multi-user accessing Access DB
I am having a problem with accessing my Access DB and having multiple user log in on the DB. We just upgraded our Linux file server to Slackware 10. Previous to the Slackware version we were operating on a different version of Linux and were having no problems. With the upgrade to Slackware we also put in a 200GB harddrive that is RAIDed. Since the upgrade we can access our Access DB but only one user at a time. We have SWAT's Samba web interface handling the conversion between Linux and our Microsoft desktops. I don't know if this has any bearing but looking at the Access DB through Windows Explorer, the permission of the DB are Read Only and I can't seem to change this setting. Can you offer any solutions as to how we can establish our Access DB for multi-users. Thanks, Matt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Revealing linux quota to windows users?
a) make sure your samba is compiled with quota support b) look in 'man smb.conf' for the parameter for quota Marian Steinbach wrote: Hello! I know this must be an old topic, but I can't quite find an answer in the archive or the Howto. I would like to know if it's possible to show the user quota instead of the disk size when users open their home directoy as a share. (I think it's kind of misleading when it says 480GB free to a user who has only 500 MB space.) Thanks! Marian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
You could always use gpedit.msc and set the machine password change to NO Dmitry Melekhov wrote: Hello! I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. Only thing I don't understand: I read in howto: quote Machine Accounts Keep Expiring This problem will occur when the passdb (SAM) files are copied from a central server but the local Backup Domain Controller is acting as a PDC. This results in the application of Local Machine Trust Account password updates to the local SAM. Such updates are not copied back to the central server. /quote But I looked into change_trust_pw.c and see /* if this next call fails, then give up. We can't do password changes on BDC's --jerry */ I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? Thank you! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
Michael Joyner wrote: You could always use gpedit.msc and set the machine password change to NO On 500 computers ? :-) Anyway, I'd like to know will samba BDC allow machines to change passwords or not... Dmitry Melekhov wrote: Hello! I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. Only thing I don't understand: I read in howto: quote Machine Accounts Keep Expiring This problem will occur when the passdb (SAM) files are copied from a central server but the local Backup Domain Controller is acting as a PDC. This results in the application of Local Machine Trust Account password updates to the local SAM. Such updates are not copied back to the central server. /quote But I looked into change_trust_pw.c and see /* if this next call fails, then give up. We can't do password changes on BDC's --jerry */ I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? Thank you! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. snip I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? That would appear to be the case. I guess you've found one good reason (of the many) to use an LDAP backend where multiple servers are involved. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with multi-user accessing Access DB
Can you offer any solutions as to how we can establish our Access DB for multi-users. Have you perused around the oplock related parameters in the smb.conf man page? -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems when try access to share
tir, 03.05.2005 kl. 12.11 skrev Elisio Catana: I have configured my samba server at my RedHat AS3 and I use nss_ldap to access to my W2k domain. Everything works fine. Now i have upgraded my server to RedHat EL4, and all my Windows users when the username have Uppercases in username can't acces to my samba shares, and all other users works. Did you try username level? 'man smb.conf'. --Tonni -- I modify my log level to 10 and when any user try access to samba server the log message is: May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) May 3 11:08:48 wichita smbd[6001]: make_server_info_info3: pdb_init_sam failed! May 3 11:08:48 wichita smbd[6001]: [2005/05/03 11:08:48, 0] auth/auth_util.c:make_server_info_info3(1134) -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with multi-user accessing Access DB
Paul Gienger wrote: Can you offer any solutions as to how we can establish our Access DB for multi-users. Have you perused around the oplock related parameters in the smb.conf man page? The easiest way to deal with access problems is to have an access share and use the force user = in the smb.conf. If not practicable, then ACL's are the best way. A chmod -R 777 on the access db directory should clear up the problem, but often the culprit is the .ldb file. I suppose a cron job every so often would suffice. TMS III -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Migrating Fileservers to LDAP
Hey All, I have been put incharge of migrating all of our fileservers to use LDAP authentication in order to sync passwords and accounts with our LDAP server. I have a few questions in order to make this a smooth process. 1) Some users have accounts on 1 or more of our fileservers, as well as an account with our LDAP server, same username but passwords aren't synched. If I have the server join the domain, what consequences or problems will I have with the user accounts. Obviously the gid/uid's wont be the same on the servers. Will the 'Local' users be enforced instead of the domain user accounts when it comes to the files? Thanks Much!! Adam -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
You could always use gpedit.msc and set the machine password change to NO On 500 computers ? :-) Anyway, I'd like to know will samba BDC allow machines to change passwords or not... I believe what you are trying to do will only work with an LDAP SAM. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
On Tuesday 03 May 2005 06:53, Paul Gienger wrote: I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. snip I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? That would appear to be the case. I guess you've found one good reason (of the many) to use an LDAP backend where multiple servers are involved. Samba-3 Domain Control has limitations that NT4 Domain Control does not have. With NT4 DC, the BDC will record SAM changes into a local delta file. When the PDC comes up again, at the first PDC trigger to the BDCs to send SAM updates to the PDC the PDC will collect the changes, apply them and then propogate them to all BDCs. Samba-3 does not at this time have this infrastructure. Samba-3 BDCs try to contact the LDAP server directly. So long as the master LDAP server can be contacted by the BDC the machine password change can be written, but if it is down, or can not be contacted the change will fail. In other words, in the absence of the PDC, the BDC can deal with machine account password changes so long as it can contact the master LDAP server. (Jerry, Any comments or corrections?) - John T. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] the profiles keeps mapping!
I just cant stop this! The remote profiles of the users keeps mapping everytime they login so they have this new remote unit with the contents of the profile of the user logged in. How can i stop this? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] wbinfo -u
Hi All, I added Linux machines to my AD domain, my problem is that sometimes user from the AD fail to login (I get the following on /var/log/messages: pam_winbind[10904]: request failed: No such user, PAM error was 10, NT error was NT_STATUS_NO_SUCH_USER) I run the command wbinfo -u and got only partial users list (around 20% from my AD users) To solve this I need to restart the winbind service I'm using samba-3.0.13-1 and my AD DC's are Windows 2000 Any idea how to solve this without restarting the service? Thanks In Advanced! Nir B -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] net getlocalsid problem ???
Hi List, I'm currently migrating from win2000 to linux ( samba 3.0.10-1.4E ). Domain = TESTDOMAIN Windows Box Name = TESTPDC Linux Box = LINUXPDC I have joined the windows pdc from the linux box. Next I use: net getsid -S TESTPDC -W TESTDOMAIN which puts my SID in secrets.tdb. All is fine here. Next I use net getlocalsid which gives me an error so I use net getlocalsid TESTDOMAIN which gives me the correct SID. I then use net setlocalsid SID INSERTED HERE which sets the SID as expected. I then use net getlocalsid which gives me: SID for domain LINUXPDC is: S- . etc Does anyone know why this is showing LINUXPDC as my domain and not TESTDOMAIN ??? In my smb.conf I have workgroup = TESTDOMAIN netbios name = LINUXPDC Any help would be appreciated, Phil -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Granting Root privileges to Domain Member Server
I have the following setup: 2000 Active Directory Forest/Domain (no 2003 DC's yet) Fedora Core3 Samba 3.0.10 I have successfully joined the AD domain as a Domain Member Server and can Logon to Fedora with an AD userid and password. I have been trying for sometime to determine how I can grant an AD group and/or AD user root privileges on the samba member server. Can someone please enlighten me as to how this could be done. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Windows XP
Thank's Holger, this seems the solution. Jose. - Original Message - From: Holger Wesser [EMAIL PROTECTED] To: samba@lists.samba.org Sent: Tuesday, May 03, 2005 2:22 PM Subject: Re: [Samba] Problem with Windows XP -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Click Start - Execute... and enter secpol.msc. Now open security options in local policies. On the right there's an option Microsoft-Network (server): idle time Try to set the value to 500min. or so. Sorry, I only have a german version of Windows XP, so I don't know, how the options are called in english correctly. Hope this helps. Greetings, Holger Jose schrieb: Hello, yes, this problem occures with all the shared directories. And also, when the users access to the server in the workgroup window. - Original Message - From: Holger Wesser [EMAIL PROTECTED] To: Jose [EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 1:59 PM Subject: Re: [Samba] Problem with Windows XP Hi, does this problem only occure when connecting to the home directories? What about other shares? Holger Jose schrieb: Helo, I've a problem with a network of XP Pc's and a Samba Server. The users logs in their homes directories, and later, when they save their files a message arises saying: the resource is not abailable. If they close the XP session and open again, normaly, they can access to their homes. In another network of Windows 98 PCs, and with the same smb.conf this not occur. I added the string deadtime=0 in the smb.conf, but the problem persists. Thank you. Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es _ Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCd2z7O0QDuZMdP0sRAkghAJ9GX1n5TFvkwVh35uJvX7tF6QyxsgCaA5G/ D5gLVWYQ0eDOqgIhlKlqhhs= =+Y6e -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba _ Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es _ Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] A problems wiuth https ?
Hi into my logs, i see : 1115139337.500 5264 192.168.37.140 TCP_MISS/200 12633 CONNECT www.creditmutuel.fr:443 MIRAN DIRECT/193.57.116.139 - 1115139337.852 5634 192.168.37.140 TCP_MISS/200 495 CONNECT www.creditmutuel.fr:443 MIRAN DIRECT/193.57.116.139 - 1115139338.059 5 192.168.37.140 TCP_DENIED/407 1751 CONNECT www.creditmutuel.fr:443 - NONE/- text/html 1115139338.427 5 192.168.37.140 TCP_DENIED/407 1751 CONNECT www.creditmutuel.fr:443 - NONE/- text/html 1115139338.464 5 192.168.37.140 TCP_DENIED/407 1751 CONNECT www.creditmutuel.fr:443 - NONE/- text/html 1115139338.471 5 192.168.37.140 TCP_DENIED/407 1751 CONNECT www.creditmutuel.fr:443 - NONE/- text/html I use winbind ntlm auth and i have two questions for know : 1- Why this TCP_DENIED ? 2- Why i lose the username MIRAN ? Thanks bye -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the profiles keeps mapping!
tir, 03.05.2005 kl. 15.52 skrev Guido Lorenzutti: I just cant stop this! Sorry, but what would the below be in Windows/Samba terminology/English? The remote profiles of the users keeps mapping everytime they login What is mapping? so they have this new remote unit What is a remote unit? In what way is it new? with the contents of the profile of the user logged in. The user is logged on (not in), so presumably he'd get the contents of his profile. Or is he getting someone else's profile? How can i stop this? As you describe it, it's what's supposed to happen. Why would you want to stop it? --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Conversion smbpasswd 2.2.8 to 3.0.13
Dear All I'm about migrating Samba 2.2.8 to 3.0.13 on Sparc, Solaris 8. Compilation and Installation without any problem. Runs fine with exception of 2.2.8-user validation in the domain (no problems with validation of WXP- and W2K-Client Machines, newly set users (./smbpasswd -a username) works perfectly ). I simply have copied smbpasswd 2.2.8 to the diferent directory of Samba 3.0.13. About 10 percent (of about 100 per one samba instance) users work fine, the big rest come back with the error-message like Password or Username wrong, check the CapsLock After the first attempt the hashed password in smbpasswd is set to XXX... The question is: must some conversion of smbpasswd 2.2.8 to 3.0.13 be done? If yes how (something like the old convert_smbpasswd)? I can not find some advice in the samba-docs or google - except I have overseen something. Please could somebody give me an advice how to solve the problem? Thank you very much in advance. Karel. ** The currently running critical (and little experimental) part of smb.conf - (works perfect with 2.2.8): [global] netbios name = server1 server string = SMB Server1 %v B038 hosts allow = 192.168.1. 127. ; - workgroup = SPITAL domain logons = yes security = user ; generates error with 3.0.13: ; domain admin group = @winadm wins support = yes load printers = no debug level = 0 max log size = 100 deadtime = 10 public = no ; - domain master = yes local master = yes preferred master = yes os level = 65 dns proxy = no guest account = nobody ; - ; password server = %L encrypt passwords = yes unix password sync = no passdb backend = smbpasswd:/usr/local/samba3/private/smbpasswd ; - ; socket options = IPTOS_LOWDELAY TCP_NODELAY ; maybe better for samba3: ; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; read raw = yes ; write raw = yes ; oplocks = yes ; max xmit = 65535 ; getwd cache = yes ; - log file = /usr/local/samba3/var/%m.log logon path = \\%L\profiles\%U\.%aprofile\profile.pds logon script = %m.bat logon drive = P: ; - case sensitive = no default case = lower ; generates error with 3.0.13: ; mangle case = no preserve case = yes short preserve case = yes ; - # = Share Definitions [netlogon] comment = Logon Scripts (read only) path = /home2/admin/wnt/netlogon ; read only = yes ; public = no ; browsable = no read only = no public = yes browsable = yes [myprofile] comment = User Profile Directory on logonserver path = /home2/%u/.%aprofile browseable = no public = no read only = no create mask = 0700 directory mask = 0700 nt acl support = no [profiles] comment = User Profile Directory loaded to client path = /home2 browseable = no public = no read only = no create mask = 0700 directory mask = 0700 nt acl support = no [homes] comment = %U's Daten auf %L (Gruppe: %G) path = /home2/%u browseable = no read only = no create mask = 0700 directory mask = 0700 follow symlinks = yes etc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] slow access while crossmounting samba
Hi, I've got two linux machines with the same distribution and samba 3 that cross-mounts a share (i.e., machine a mounts a share of machine b and vice versa). I'm experiencing slow access from the machines to the opposite mounted share and I don't know what this slow performance can be due to. I'm not running with oplocks cause the share is accessed only by the other linux machine (no windows clients) and oplocks produced a few problems with my database indexes (dataflex) in the past. Thus oplocks and level2oplocks are disabled. The following is a part of my configuration file: [DATA] comment = database path = /vol1/sys/ writable = yes browsable = no available = yes public= yes printable = no guest ok = yes copy = lock_template guest account = smb_guest read raw = yes where the lock_template is the following: [lock_template] locking = no posix locking = yes oplocks = no level2 oplocks= no As you can see I've tried also read raw, but I didn't see any difference. Any idea? Thanks, Luca -- Luca Ferrari, [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Conversion smbpasswd 2.2.8 to 3.0.13
On Tuesday 03 May 2005 09:08, Karel Zeman wrote: Dear All I'm about migrating Samba 2.2.8 to 3.0.13 on Sparc, Solaris 8. Compilation and Installation without any problem. Runs fine with exception of 2.2.8-user validation in the domain (no problems with validation of WXP- and W2K-Client Machines, newly set users (./smbpasswd -a username) works perfectly ). I simply have copied smbpasswd 2.2.8 to the diferent directory of Samba 3.0.13. About 10 percent (of about 100 per one samba instance) users work fine, the big rest come back with the error-message like Password or Username wrong, check the CapsLock After the first attempt the hashed password in smbpasswd is set to XXX... The question is: must some conversion of smbpasswd 2.2.8 to 3.0.13 be done? If yes how (something like the old convert_smbpasswd)? I can not find some advice in the samba-docs or google - except I have overseen something. Please could somebody give me an advice how to solve the problem? Thank you very much in advance. Did you follow the information provided in the book Samba-3 by Example chapter 8? You can obtain your copy from: http://www.samba.org/samba/docs/Samba-Guide.pdf Cheers, John T. Karel. ** The currently running critical (and little experimental) part of smb.conf - (works perfect with 2.2.8): [global] netbios name = server1 server string = SMB Server1 %v B038 hosts allow = 192.168.1. 127. ; - workgroup = SPITAL domain logons = yes security = user ; generates error with 3.0.13: ; domain admin group = @winadm wins support = yes load printers = no debug level = 0 max log size = 100 deadtime = 10 public = no ; - domain master = yes local master = yes preferred master = yes os level = 65 dns proxy = no guest account = nobody ; - ; password server = %L encrypt passwords = yes unix password sync = no passdb backend = smbpasswd:/usr/local/samba3/private/smbpasswd ; - ; socket options = IPTOS_LOWDELAY TCP_NODELAY ; maybe better for samba3: ; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ; read raw = yes ; write raw = yes ; oplocks = yes ; max xmit = 65535 ; getwd cache = yes ; - log file = /usr/local/samba3/var/%m.log logon path = \\%L\profiles\%U\.%aprofile\profile.pds logon script = %m.bat logon drive = P: ; - case sensitive = no default case = lower ; generates error with 3.0.13: ; mangle case = no preserve case = yes short preserve case = yes ; - # = Share Definitions [netlogon] comment = Logon Scripts (read only) path = /home2/admin/wnt/netlogon ; read only = yes ; public = no ; browsable = no read only = no public = yes browsable = yes [myprofile] comment = User Profile Directory on logonserver path = /home2/%u/.%aprofile browseable = no public = no read only = no create mask = 0700 directory mask = 0700 nt acl support = no [profiles] comment = User Profile Directory loaded to client path = /home2 browseable = no public = no read only = no create mask = 0700 directory mask = 0700 nt acl support = no [homes] comment = %U's Daten auf %L (Gruppe: %G) path = /home2/%u browseable = no read only = no create mask = 0700 directory mask = 0700 follow symlinks = yes ...etc. -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the profiles keeps mapping!
Tony Earnshaw wrote: tir, 03.05.2005 kl. 15.52 skrev Guido Lorenzutti: I just cant stop this! Sorry, but what would the below be in Windows/Samba terminology/English? The remote profiles of the users keeps mapping everytime they login What is mapping? Well... what is mapping: http://forums.devshed.com/archive/t-204581/Mapping-Windows-Drives http://lists.samba.org/archive/linux/2003-March/006551.html http://www.google.com.ar/search?hl=esq=mapping+windowsmeta= so they have this new remote unit What is a remote unit? In what way is it new? When i say remote unit i mean a network share. The problem is that i don't know why when a user logs in it gets mapped a network share of his remote profile. I wan't to stop this. Tnxs in advance. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Directories and group permissions
Hi all. I'm having troubles with directory permissions. We migrated from PC-Netlink last weekend and today is Samba's second day in production. It's a Samba 3.0.13 installed from an rpm package, running over a standard Suse SLES 9. I set the permissions over a directory using my XP workstation (right click over the directory, properties, security). I add the group and give it the permissions I want (Full control or no access... pretty standard). The problem is that after a while, I go to the security tab again and the permissions I gave it are gone. However, the changes seems to take efect (in some cases...). Is it that I need something else (file system side) to work with Windows ACL's (NT ACL's... again, the standard)? I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? Thanks, Sebastian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? You need to add ACLs to your unix filesystem to get that behavior. If not, the rest of your post pretty much screams ACL to me, but I could be odd and hearing voices. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] weird permission problem
Hi all, I setup a DC for a company who until now have been using standalone WindowsXP Pro desktops in a workgroup. Initially I just added the users, standard setup. They all belong to the group users. Then they asked for a limited group to have access to the financial folders. So I added a group financial and limited access to users in the financial group. Now, for some reason, only the people in financial can print. In my log.smbd file I see the user connect and it says authentication succeeds, but the user gets an access denied. Has anyone seen this behaviour before? The setup is the standards SUSE 9.2 samba, with users in smbpasswd file. I've used SUSE 9.2 for many domain controllers before, all with printing, most with multiple groups, and I've never seen this before. Thanks -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
... I feared that. Any document you recommend? Do I have to rebuild the kernel or can I just patch it? Thanks I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? You need to add ACLs to your unix filesystem to get that behavior. If not, the rest of your post pretty much screams ACL to me, but I could be odd and hearing voices. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
What is your setup can you post your BDC configurations mark - Original Message - From: Dmitry Melekhov [EMAIL PROTECTED] Date: Tuesday, May 3, 2005 1:57 am Subject: [Samba] BDC, documentation, Machine Accounts Keep Expiring Hello! I want to create BDC with smbpasswd backend, just because I run ldap master on the same machine as PDC and I don't think that using ldap backend will be far better for me. Only thing I don't understand: I read in howto: quote Machine Accounts Keep Expiring This problem will occur when the passdb (SAM) files are copied from a central server but the local Backup Domain Controller is acting as a PDC. This results in the application of Local Machine Trust Account password updates to the local SAM. Such updates are not copied back to the central server. /quote But I looked into change_trust_pw.c and see /* if this next call fails, then give up. We can't do password changes on BDC's --jerry */ I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? Thank you! -- 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] the profiles keeps mapping!
tir, 03.05.2005 kl. 17.44 skrev Guido Lorenzutti: [...] What is a remote unit? In what way is it new? When i say remote unit i mean a network share. Well, for goodness so say so, then. A remote unit might mean part of a firm/business that is located at a separate site ... or anything else. Certainly not a network share. The problem is that i don't know why when a user logs in it gets mapped a network share of his remote profile. I wan't to stop this. You mean you want to stop roaming profiles for users? --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
I'm sorry... looking at the /etc/fstab file I found this: /dev/hda6/softwareext3 acl,user_xattr 1 2 I guess this means I already have ACL support, right? (Please! Tell me I do!!) Now, the question is: where can I find documentation about this and what I'm trying to do? Thanks a lot, Sebastian I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? You need to add ACLs to your unix filesystem to get that behavior. If not, the rest of your post pretty much screams ACL to me, but I could be odd and hearing voices. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Arch itect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problems with Tiger SMB connections
I came across this message on another mailing list, I was hoping people here may have some ideas? Thanks, Trevor --- Is anybody else having problems connecting to SMB shares with Tiger? I appear to authenticate ok, but then I get this error. The Finder cannot complete the operation because some data in smb:// theserver/theshare could not be read or written. (Error code -36). I check the logs and found these two entries every time I've tried to connect. May 3 12:43:49 Nugget kernel[0]: smb_maperr32: no direct map for 32 bit server error (0xc0bd) May 3 12:43:49 Nugget kernel[0]: smb_maperror: Unmapped DOS error 1:52 I also did a tcpdump while trying to connect and can see that successful connections are occurring between me and the server on 137/ UDP, 139/TCP, and 500/UDP. If anybody has any ideas on this one, I'd love to hear them. thanks, -Mike -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] weird permission problem
Please supply smb.conf Hans du Plooy wrote: Hi all, I setup a DC for a company who until now have been using standalone WindowsXP Pro desktops in a workgroup. Initially I just added the users, standard setup. They all belong to the group users. Then they asked for a limited group to have access to the financial folders. So I added a group financial and limited access to users in the financial group. Now, for some reason, only the people in financial can print. In my log.smbd file I see the user connect and it says authentication succeeds, but the user gets an access denied. Has anyone seen this behaviour before? The setup is the standards SUSE 9.2 samba, with users in smbpasswd file. I've used SUSE 9.2 for many domain controllers before, all with printing, most with multiple groups, and I've never seen this before. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
I'm sorry... looking at the /etc/fstab file I found this: /dev/hda6/softwareext3 acl,user_xattr 1 2 I guess this means I already have ACL support, right? (Please! Tell me I do!!) Now, the question is: where can I find documentation about this and what I'm trying to do? Excellent. The only missing piece I would guess, is to make sure that your samba install contains ACL support. I'd be really surprised if SuSE didn't compile it in, distros seem to enable every option in case you may need it some day. My output looks as follows: [EMAIL PROTECTED] ~]# smbd -b |grep ACL HAVE_SYS_ACL_H HAVE_POSIX_ACLS I believe that's all you need. Beyond that, make sure you don't have any explicit denys in your smb.conf with regard to ACLs. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the profiles keeps mapping!
Hi, could it be the user has made offline folder out of the shares.or the delete of the mapping wasnt updated at logout to the users profile (permissions problem profiles...)so mapping would stay notice if you have redirected folders to a share offline sync is default to win xp Regards Guido Lorenzutti schrieb: Tony Earnshaw wrote: tir, 03.05.2005 kl. 15.52 skrev Guido Lorenzutti: I just cant stop this! Sorry, but what would the below be in Windows/Samba terminology/English? The remote profiles of the users keeps mapping everytime they login What is mapping? Well... what is mapping: http://forums.devshed.com/archive/t-204581/Mapping-Windows-Drives http://lists.samba.org/archive/linux/2003-March/006551.html http://www.google.com.ar/search?hl=esq=mapping+windowsmeta= so they have this new remote unit What is a remote unit? In what way is it new? When i say remote unit i mean a network share. The problem is that i don't know why when a user logs in it gets mapped a network share of his remote profile. I wan't to stop this. Tnxs in advance. -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer.org Munich / Bavaria / Germany https://www.schetterer.org \** \* gnupgp \* public key: \* https://www.schetterer.org/public.key \** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
tir, 03.05.2005 kl. 19.52 skrev [EMAIL PROTECTED]: ... I feared that. Any document you recommend? Do I have to rebuild the kernel or can I just patch it? RHAS3, here. You don't have to touch the kernel. POSIX ACLs have been supported for the last couple of hundred years. You have to make sure Samba is compiled for them. I have to add --with-acl-support \ to the srpm spec file that I extract from the Samba Red Hat srpm and use for 'rpmbuild -bb'. Since I have to build my own Samba. Then I have to modify any Samba partition I want to support ACL by adding ,acl,user_xattr to column 4 of /etc/fstab for that partition, and rebooting. The RH sysadmin docs are clear enough about POSIX ACLs, they could go deeper, though. --Tonni -- Nothing sucksseeds like a pigeon without a beak ... mail: [EMAIL PROTECTED] http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they? ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Problems with Tiger SMB connections
There are apparently API changes in Tiger (a.k.a. Mac OS X 10.4, released last Friday, April 29, 2005) that broke other things -- for example, Cisco's VPN client (and most others). Does anyone from samba.org know whether or not Samba is affected? -- Will Enestvedt UNIX System Administrator Johnson Wales University -- Providence, RI Sent: Tuesday, May 03, 2005 2:04 PM To: samba@lists.samba.org Subject: [Samba] Problems with Tiger SMB connections I came across this message on another mailing list, I was hoping people here may have some ideas? Thanks, Trevor --- Is anybody else having problems connecting to SMB shares with Tiger? I appear to authenticate ok, but then I get this error. The Finder cannot complete the operation because some data in smb:// theserver/theshare could not be read or written. (Error code -36). I check the logs and found these two entries every time I've tried to connect. May 3 12:43:49 Nugget kernel[0]: smb_maperr32: no direct map for 32 bit server error (0xc0bd) May 3 12:43:49 Nugget kernel[0]: smb_maperror: Unmapped DOS error 1:52 I also did a tcpdump while trying to connect and can see that successful connections are occurring between me and the server on 137/ UDP, 139/TCP, and 500/UDP. If anybody has any ideas on this one, I'd love to hear them. thanks, -Mike -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
I have to add 'nt acl support' to smb.conf, right? Thanks to all! I'm sorry... looking at the /etc/fstab file I found this: /dev/hda6/softwareext3 acl,user_xattr 1 2 I guess this means I already have ACL support, right? (Please! Tell me I do!!) Now, the question is: where can I find documentation about this and what I'm trying to do? Excellent. The only missing piece I would guess, is to make sure that your samba install contains ACL support. I'd be really surprised if SuSE didn't compile it in, distros seem to enable every option in case you may need it some day. My output looks as follows: [EMAIL PROTECTED] ~]# smbd -b |grep ACL HAVE_SYS_ACL_H HAVE_POSIX_ACLS I believe that's all you need. Beyond that, make sure you don't have any explicit denys in your smb.conf with regard to ACLs. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] weird permission problem
On Tue, 2005-05-03 at 14:07 -0400, Michael Joyner wrote: Please supply smb.conf [snip from global section] # Printing printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator load printers = yes [snip] [printers] browseable = no printable = yes path = /var/tmp create mask = 0660 comment = All Printers valid users = jake,mike,pete,ross,@users,@print public = yes zeus:~ # ls -lh /var/tmp total 0 drwxrwxrwt 2 root root 48 May 3 20:27 . drwxr-xr-x 15 root root 384 Apr 29 11:19 .. zeus:~ # group print contains all the users, same as group users I've found a suggestion on google in the meantime to add client driver = yes to my smb.conf file - will try that tomorrow Thanks -- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Migrating roaming profiles to samba
Hi! I have an Windows 2003 with Active Directory providing authentication to the network, and a SUSE box providing file services (currently hosting the users' homes). Now I want to migrate the roaming profiles from the Windows 2003 box to the SUSE box, but it is proving difficult. I copied a profile folder for a test user to the SUSE box and changed its permissions to give ownership back to the user, but after changing the users' profile path in AD, Windows clients say they can't use the profile (the share is accessible to the user though). My samba configuration isn't using winbind, its using kerberos + local ldap authentication. Can this be a permissions problem? Do I need to run winbind to be able to do this? I thought roaming profiles were little more that normal shares... Carlos Rodrigues -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the profiles keeps mapping!
Tony Earnshaw wrote: tir, 03.05.2005 kl. 17.44 skrev Guido Lorenzutti: [...] What is a remote unit? In what way is it new? When i say remote unit i mean a network share. Well, for goodness so say so, then. A remote unit might mean part of a firm/business that is located at a separate site ... or anything else. Certainly not a network share. The problem is that i don't know why when a user logs in it gets mapped a network share of his remote profile. I wan't to stop this. You mean you want to stop roaming profiles for users? --Tonni Nop, i just want to NOT see the logon drive on my pc on windows. If a define logon drive = G On windows i have the G: drive with my profile. And... logon drive = (nothing) On windows, i have the Z: drive with my profile. I just don't wan't the ANY_LETTER: drive mapped on windows. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Adobe Software from 70USD(MacPC).Microsoft Software from 80USD(PC).
Hi Samba it's here www.;odsk9v8uszon79o;.;lackcidfh.com Just text Simple End Me. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] the profiles keeps mapping!
Guido Lorenzutti schrieb: Tony Earnshaw wrote: tir, 03.05.2005 kl. 17.44 skrev Guido Lorenzutti: [...] What is a remote unit? In what way is it new? When i say remote unit i mean a network share. Well, for goodness so say so, then. A remote unit might mean part of a firm/business that is located at a separate site ... or anything else. Certainly not a network share. The problem is that i don't know why when a user logs in it gets mapped a network share of his remote profile. I wan't to stop this. You mean you want to stop roaming profiles for users? --Tonni Nop, i just want to NOT see the logon drive on my pc on windows. If a define logon drive = G On windows i have the G: drive with my profile. And... logon drive = (nothing) On windows, i have the Z: drive with my profile. I just don't wan't the ANY_LETTER: drive mapped on windows. perhaps you should try to set it not browsable but the home drive is a special feature so this may not work, but if you just dont declare home shares they will not exist and not mapped, homes drive are not needed in a file/print share only setup ( no pdc etc.. ) Regards -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer.org Munich / Bavaria / Germany https://www.schetterer.org \** \* gnupgp \* public key: \* https://www.schetterer.org/public.key \** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Migrating roaming profiles to samba
Carlos Rodrigues schrieb: Hi! I have an Windows 2003 with Active Directory providing authentication to the network, and a SUSE box providing file services (currently hosting the users' homes). Now I want to migrate the roaming profiles from the Windows 2003 box to the SUSE box, but it is proving difficult. I copied a profile folder for a test user to the SUSE box and changed its permissions to give ownership back to the user, but after changing the users' profile path in AD, Windows clients say they can't use the profile (the share is accessible to the user though). My samba configuration isn't using winbind, its using kerberos + local ldap authentication. Can this be a permissions problem? Do I need to run winbind to be able to do this? I thought roaming profiles were little more that normal shares... Carlos Rodrigues i think you have to use robocopy cause only this will let the acl stay, as far i remember there is something written about it in the samba profiles faqs -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer.org Munich / Bavaria / Germany https://www.schetterer.org \** \* gnupgp \* public key: \* https://www.schetterer.org/public.key \** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
On Tuesday 03 May 2005 11:52, [EMAIL PROTECTED] wrote: ... I feared that. Any document you recommend? Do I have to rebuild the kernel or can I just patch it? http://www.samba.org/samba/docs/Samba-Guide.pdf Search in the subject index for ACLs - also look at the chapter on File, Directory and Share Access Controls in the Samba-HOWTO-Collection http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf If what you need is not covered in these documents please let me know. - John T. Thanks I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? You need to add ACLs to your unix filesystem to get that behavior. If not, the rest of your post pretty much screams ACL to me, but I could be odd and hearing voices. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Directories and group permissions
I think the problem is under control now. I misunderstood the section of Samba-Guide that talked about WHERE to look at the efective file and directory permissions. I mean, in XP, to reach the dialog where you have the Permissions, Auditing and Ownership tabs, you have to click on the Advanced button in the Security tab. I was trying to set permissions directly from the Security tab of the directory properties and apparently, that doesn't work. In the Advanced dialog, you have a far more detailed permission definitions. Those are the ones that finally apply to the objects. Thanks to all who answered... you helped me clarify what was happening. Greetings, Sebastian On Tuesday 03 May 2005 11:52, [EMAIL PROTECTED] wrote: ... I feared that. Any document you recommend? Do I have to rebuild the kernel or can I just patch it? http://www.samba.org/samba/docs/Samba-Guide.pdf Search in the subject index for ACLs - also look at the chapter on File, Directory and Share Access Controls in the Samba-HOWTO-Collection http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf If what you need is not covered in these documents please let me know. - John T. Thanks I decided to manage file and directory permissions at the file system level, but with standard unix permissions I can't give just two (and only two) independant groups write access to the same directory, right? Is there something I can change in the smb.conf file to support this behavior? You need to add ACLs to your unix filesystem to get that behavior. If not, the rest of your post pretty much screams ACL to me, but I could be odd and hearing voices. -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- 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] Directory Contents Not Viewable
We have a Debian server running Samba 3.0.14a. 2 days ago this problem started in that we cannot view the contents of a Samba share. I can map a drive to a samba share and authenticate with no errors. After authentication it just shows an empty directory on a Windows client? I have tried numerous troubleshooting measures, such as increasing file perms to world readable but have been unsuccessful. On the server I have also used the smbclient command line utility and it yields the same empty directory listing except it allows me to do one extra thing. I can change directory to a folder even through i can't see it!. For example I have samba share (/home/will ) with a test folder in it. Although I can't see it I can change directory into it but it's contents are blank as well (this is the same for all samba shares). I have bumped up the logging to level 5 and have combed through the exhaustive debugging information and there are no errors. Does anyone have any ideas as to what would cause these weird problems? See me smb.conf file below: thanks --Will [global] workgroup = OAK server string = Oak Server obey pam restrictions = Yes passdb backend = tdbsam, guest passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n username map = /etc/samba/smbusers log level = 2 log file = /var/log/samba/log.%m max log size = 1000 debug pid = Yes debug uid = Yes smb ports = 139 445 time server = Yes add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null '%u' logon script = scripts\logon.bat logon drive = h: domain logons = Yes domain master = Yes dns proxy = No wins proxy = Yes wins support = Yes ldap ssl = no panic action = /usr/share/samba/panic-action %d guest ok = Yes map acl inherit = Yes short preserve case = No hide special files = Yes veto files = /*.eml/*.nws/*.{*}/ veto oplock files = /*.doc/*.xls/*.mdb/ [printers] comment = All Printers path = /tmp create mask = 0700 guest ok = No printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers guest ok = No [homes] comment = Home Directories valid users = @users force group = users read only = No create mask = 0700 directory mask = 0700 browseable = No delete readonly = Yes [apps] comment = Network Applications path = /home/Samba/apps valid users = @users force group = users read only = No create mask = 02750 force create mode = 02750 directory mask = 02750 force directory mode = 02750 delete readonly = Yes [public] comment = Common Files path = /home/Samba/public username = %U valid users = @users force group = users read only = No create mask = 02770 force create mode = 02770 directory mask = 02770 force directory mode = 02770 delete readonly = Yes [netlogon] comment = Network Logon Service path = /home/Samba/netlogon read only = No locking = No share modes = No -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] OS/2 EA extended attributes issue / volunteer testing
I am actively using OS/2 Version 4.5 (mcp 2) as a client to a Samba server (currently 3.0.14a) running on SuSE 9.1 pro. I understand work has been done on the OS/2 extended attributes handling issue in Samba as of 3.xx, but (I have experienced) that it still doesn't work correctly, especially with the GUI. Does anyone know what the status of this issue is? I would like to offer my services, sadly not as a programmer, but rather as a tester and logger in order to expedite the fix of this bug. R. Brett -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Option 'valid users' disappear in SWAT
It's not a bug, it's a feature. SWAT assumes that once you've made your list of valid users (or invalid users, or etc) that you'll not want to change it, so Swat stops presenting those lists under the BASIC set of options. Select ADVANCED (the radio buttons are near (just above or below, I don't remember which) the choice of shares on the SHARES main menu button (and similarly placed on each of the other main menu buttons), and the much longer list of things you can manipulate that appears will include, e.g., your valid users option. Eric Hines At 05/03/05 03:28, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, maybe it's a bug, maybe not. I added some groups in the field valid users in SWAT and committed my changes. After that, this option disappears. When I manually delete all groups in the smb.conf, in SWAT this option is available again. I'm running Samba 3.0.14a (SerNet). Greetings, Holger -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCdzYxO0QDuZMdP0sRAmSkAKCOBILU9iyH2CXejvzjFaISG4cTsgCdE6+K MxfWoHVW6dhh8qO3cewlVr8= =y0+2 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Out of the argument with ourselves comes poetry, out of the argument with others comes politics. --Yeats -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbind cache time?
Hello, according to 'man smb.conf': Default: winbind cache time = 300 I have not changed it in smb.conf, but when I remove some user from some group, command groups DOMAIN+user still shows that user belongs to the group even after a few hours after removing the user from that group. Any ideas why? samba 3.0.15pre2. Regards, Nerijus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
- Original Message - From: Paul Gienger [EMAIL PROTECTED] To: Dmitry Melekhov [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: Tuesday, May 03, 2005 4:53 PM Subject: Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring I.e., looks like machines will not change their password when working with BDC (i.e. when PDC is down). Do I understand this right? That would appear to be the case. I guess you've found one good reason (of the many) to use an LDAP backend where multiple servers are involved. This is not a solution of this problem, imho. Just because I have and will have master ldap on PDC. Anyway, what will be if master ldap is down? :-) Anyway, I asked different question- will samba change machine's password on BDC? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring
- Original Message - From: [EMAIL PROTECTED] To: Dmitry Melekhov [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: Tuesday, May 03, 2005 9:55 PM Subject: Re: [Samba] BDC, documentation, Machine Accounts Keep Expiring What is your setup can you post your BDC configurations I have no BDC, yet. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba3.schema ??
Can I assume that the file 'samba3.schema' mentioned in .../Samba-Guide/happy.html#ch6-slapdconf is the same as the file 'samba.schema' that is distributed with the samba tarball? (I decided to check out the latest version of Chap 6 after muddling my way through the book version - I am glad I did. I recommend that anyone else who is working from the book also take a look at the current electronic version.) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] exop vs md5
WHat is the significance to Samba of pam_password exop vs pam_password md5 in ldap.conf? The reason I ask is that, wherever possible, I prefer to use the vendor supplied tools for manipulating config files. With Fedora 3 it's system-config-authentication and it doesn't give you the option of exop. You either enable MD5, which puts pam_password md5 in ldap.conf, or disable it, which puts pam_password crypt in there instead. The PDC howto from the IDEALX guys goes with pam_password md5, but jht's guide uses exop. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
sound-pool.net - das portal für musiker
willkommen bei sound-pool.net ... musicbusiness 4 all! hier haben bands und künstler die möglichkeit sich und ihre musik einem breiten publikum von musikinteressierten zu präsentieren. hallo musikfreund, unter www.sound-pool.net findest du deutschlands einzigartige plattform für musiker. was ist sound-pool? sound-pool.net versteht sich als kostenlose plattform für musiker bzw. künstler die ihre musik einem breitem publikum präsentieren möchten. jeder bekommt von uns die möglichkeit sich bei uns zu präsentieren C wir grenzen niemanden aus. eine klare und übersichtliche struktur der seiten sorgt dafür, dass ihr schnell und einfach findet wonach ihr sucht. alle musikstücke (mp3's) können von jedem besucher kostenlos heruntergeladen werden. warum machen wir das? die idee eine künstler-plattform zu schaffen entstand aus dem gedanken, den kräften der kommerziellen musikindustrie ein gegengewicht zu bieten. da alle beteiligten dieser seite selbst musiker und künstler sind liegt es uns besonders am herzen eine gemeinschaft zu bilden in der es um die kunst der musik und die individualität jedes einzelnen geht. also, schaut's euch einfach an. www.sound-pool.net euer sound-pool.net - team PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
samba adds blocks to file without even saving
Greetings, I have encountered a problem with the samba I am running on VMS (v.2.2.8, latest jyc). After opening a stream CRLF text file(with no EOF) in excel(or any other app im guessing) the file is enlarged by 15 blocks. This is _without_ even saving out the file after its opened. When looking at a dump of the resulting file I can see that the additional 15 block is all blank space. Below I have included a dir/full of the file before being opened through samba and afterwards, notice the size change. Is this a bug or can a tweak samba settings to stop this from happening? Thanks. BEFORE LPMV03 dir/full d2-james.dav Directory SAMBA_ROOT:[00.test] D2-JAMES.DAV;1File ID: (10319,4,0) Size: 2369/2376 Owner:[DECNET,QGDEFAULT] Created:29-DEC-2004 15:04:54.78 Revised: 3-MAY-2005 15:02:14.47 (4) Expires:None specified Backup: No backup recorded Effective: None specified Recording: None specified Accessed: None specified Attributes: None specified Modified: None specified Linkcount: 1 File organization: Sequential Shelved state: Online Caching attribute: Writethrough File attributes:Allocation: 2376, Extend: 0, Global buffer count: 0 No version limit Record format: Stream, maximum 0 bytes, longest 0 bytes Record attributes: Carriage return carriage control RMS attributes: None Journaling enabled: None File protection:System:RWED, Owner:RWED, Group:RE, World: Access Cntrl List: None Client attributes: None Total of 1 file, 2369/2376 blocks. AFTER LPMV03 dir/full d2-james.dav Directory SAMBA_ROOT:[00.test] D2-JAMES.DAV;1File ID: (10319,4,0) Size: 2384/2394 Owner:[DECNET,QGDEFAULT] Created:29-DEC-2004 15:04:54.00 Revised: 3-MAY-2005 15:03:53.00 (8) Expires:None specified Backup: No backup recorded Effective: None specified Recording: None specified Accessed: None specified Attributes: None specified Modified: None specified Linkcount: 1 File organization: Sequential Shelved state: Online Caching attribute: Writethrough File attributes:Allocation: 2394, Extend: 0, Global buffer count: 0 No version limit Record format: Stream, maximum 0 bytes, longest 32767 bytes Record attributes: Carriage return carriage control RMS attributes: None Journaling enabled: None File protection:System:RWED, Owner:RWED, Group:RE, World: Access Cntrl List: None Client attributes: None Total of 1 file, 2384/2394 blocks. James Ziller Systems Administrator Quad/Graphics - Q/DS West Allis, Wisconsin [EMAIL PROTECTED] PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
svn commit: samba r6591 - in branches/SAMBA_4_0/source/scripting/swig: .
Author: tpot Date: 2005-05-03 06:11:12 + (Tue, 03 May 2005) New Revision: 6591 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6591 Log: Add some comments. Use SWIG %rename to get rid of prefix on every tdb function. Treat mode_t as an int so we can actually pass a mode argument to tdb_open(). Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i Changeset: Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i === --- branches/SAMBA_4_0/source/scripting/swig/tdb.i 2005-05-03 01:48:50 UTC (rev 6590) +++ branches/SAMBA_4_0/source/scripting/swig/tdb.i 2005-05-03 06:11:12 UTC (rev 6591) @@ -3,7 +3,7 @@ Swig interface to tdb. - Copyright (C) 2004 Tim Potter [EMAIL PROTECTED] + Copyright (C) 2004,2005 Tim Potter [EMAIL PROTECTED] ** NOTE! The following LGPL license applies to the tdb ** library. This does NOT imply that all of Samba is released @@ -51,7 +51,6 @@ %} - /* The tdb functions will crash if a NULL tdb is passed */ %include exception.i @@ -63,7 +62,8 @@ } /* In and out typemaps for the TDB_DATA structure. This is converted to - and from the Python string type. */ + and from the Python string type which can contain arbitrary binary + data.. */ %typemap(in) TDB_DATA { if (!PyString_Check($input)) { @@ -85,7 +85,7 @@ /* Treat a mode_t as an unsigned integer */ -typedef uint_t mode_t; +typedef int mode_t; /* flags to tdb_store() */ @@ -103,36 +103,76 @@ #define TDB_CONVERT 16 /* convert endian (internal use) */ #define TDB_BIGENDIAN 32 /* header is big-endian (internal use) */ +%rename tdb_open open; TDB_CONTEXT *tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode); +%rename tdb_open_ex open_ex; TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, tdb_log_func log_fn, tdb_hash_func hash_fn); +%rename tdb_reopen reopen; int tdb_reopen(TDB_CONTEXT *tdb); + +%rename tdb_reopen_all reopen_all; int tdb_reopen_all(void); +%rename tdb_logging_function logging_function; void tdb_logging_function(TDB_CONTEXT *tdb, tdb_log_func); + +%rename tdb_error error; enum TDB_ERROR tdb_error(TDB_CONTEXT *tdb); + +%rename tdb_errorstr errorstr; const char *tdb_errorstr(TDB_CONTEXT *tdb); + +%rename tdb_fetch fetch; TDB_DATA tdb_fetch(TDB_CONTEXT *tdb, TDB_DATA key); + +%rename tdb_delete delete; int tdb_delete(TDB_CONTEXT *tdb, TDB_DATA key); + +%rename tdb_store store; int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag = TDB_REPLACE); + +%rename tdb_append append; int tdb_append(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA new_dbuf); + +%rename tdb_close close; int tdb_close(TDB_CONTEXT *tdb); + +%rename tdb_firstkey firstkey; TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb); + +%rename tdb_nextkey nextkey; TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key); + +%rename tdb_traverse traverse; int tdb_traverse(TDB_CONTEXT *tdb, tdb_traverse_func fn, void *state); + +%rename tdb_exists exists; int tdb_exists(TDB_CONTEXT *tdb, TDB_DATA key); + +%rename tdb_lockall lockall; int tdb_lockall(TDB_CONTEXT *tdb); + +%rename tdb_unlockall unlockall; void tdb_unlockall(TDB_CONTEXT *tdb); /* Low level locking functions: use with care */ + +%rename tdb_chainlock chainlock; int tdb_chainlock(TDB_CONTEXT *tdb, TDB_DATA key); + +%rename tdb_chainunlock chainunlock; int tdb_chainunlock(TDB_CONTEXT *tdb, TDB_DATA key); /* Debug functions. Not used in production. */ + +%rename tdb_dump_all dump_all; void tdb_dump_all(TDB_CONTEXT *tdb); + +%rename tdb_printfreelist printfreelist; int tdb_printfreelist(TDB_CONTEXT *tdb);
svn commit: samba r6592 - in branches/SAMBA_4_0/source/scripting/swig: .
Author: tpot Date: 2005-05-03 07:10:46 + (Tue, 03 May 2005) New Revision: 6592 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6592 Log: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL. Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i Changeset: Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i === --- branches/SAMBA_4_0/source/scripting/swig/tdb.i 2005-05-03 06:11:12 UTC (rev 6591) +++ branches/SAMBA_4_0/source/scripting/swig/tdb.i 2005-05-03 07:10:46 UTC (rev 6592) @@ -103,6 +103,16 @@ #define TDB_CONVERT 16 /* convert endian (internal use) */ #define TDB_BIGENDIAN 32 /* header is big-endian (internal use) */ +/* Throw an IOError exception if tdb_open() or tdb_open_ex() returns NULL */ + +%exception { + $action + if (result == NULL) { + PyErr_SetFromErrno(PyExc_IOError); + SWIG_fail; + } +} + %rename tdb_open open; TDB_CONTEXT *tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode); @@ -113,6 +123,8 @@ tdb_log_func log_fn, tdb_hash_func hash_fn); +%exception; + %rename tdb_reopen reopen; int tdb_reopen(TDB_CONTEXT *tdb);
svn commit: samba r6594 - in branches/SAMBA_3_0/source/locking: .
Author: jra Date: 2005-05-03 07:27:44 + (Tue, 03 May 2005) New Revision: 6594 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6594 Log: Fix silly typo causing tdb to be freed twice. Jeremy. Modified: branches/SAMBA_3_0/source/locking/locking.c Changeset: Modified: branches/SAMBA_3_0/source/locking/locking.c === --- branches/SAMBA_3_0/source/locking/locking.c 2005-05-03 07:27:38 UTC (rev 6593) +++ branches/SAMBA_3_0/source/locking/locking.c 2005-05-03 07:27:44 UTC (rev 6594) @@ -357,7 +357,7 @@ } if (deferred_open_tdb) { - if (tdb_close(tdb) != 0) + if (tdb_close(deferred_open_tdb) != 0) ret = False; }
svn commit: samba r6593 - in trunk/source/locking: .
Author: jra Date: 2005-05-03 07:27:38 + (Tue, 03 May 2005) New Revision: 6593 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6593 Log: Fix silly typo causing tdb to be freed twice. Jeremy. Modified: trunk/source/locking/locking.c Changeset: Modified: trunk/source/locking/locking.c === --- trunk/source/locking/locking.c 2005-05-03 07:10:46 UTC (rev 6592) +++ trunk/source/locking/locking.c 2005-05-03 07:27:38 UTC (rev 6593) @@ -357,7 +357,7 @@ } if (deferred_open_tdb) { - if (tdb_close(tdb) != 0) + if (tdb_close(deferred_open_tdb) != 0) ret = False; }
svn commit: samba r6595 - in branches/SAMBA_3_0/source: include lib libads libsmb param passdb printing rpc_parse rpc_server smbd torture
Author: jra Date: 2005-05-03 07:33:49 + (Tue, 03 May 2005) New Revision: 6595 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6595 Log: This is Volkers new-talloc patch. Just got the go-ahead from Volker to commit. Woo Hoo ! Jeremy. Modified: branches/SAMBA_3_0/source/include/smb_macros.h branches/SAMBA_3_0/source/include/talloc.h branches/SAMBA_3_0/source/lib/talloc.c branches/SAMBA_3_0/source/lib/tallocmsg.c branches/SAMBA_3_0/source/lib/talloctort.c branches/SAMBA_3_0/source/libads/ldap.c branches/SAMBA_3_0/source/libsmb/libsmbclient.c branches/SAMBA_3_0/source/param/loadparm.c branches/SAMBA_3_0/source/passdb/secrets.c branches/SAMBA_3_0/source/printing/notify.c branches/SAMBA_3_0/source/rpc_parse/parse_prs.c branches/SAMBA_3_0/source/rpc_server/srv_pipe_hnd.c branches/SAMBA_3_0/source/smbd/server.c branches/SAMBA_3_0/source/torture/cmd_vfs.c Changeset: Sorry, the patch is too large (2717 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6595
svn commit: samba r6596 - in trunk/source: include lib libads libsmb param passdb printing rpc_parse rpc_server smbd torture
Author: jra Date: 2005-05-03 07:34:00 + (Tue, 03 May 2005) New Revision: 6596 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6596 Log: This is Volkers new-talloc patch. Just got the go-ahead from Volker to commit. Woo Hoo ! Jeremy. Modified: trunk/source/include/smb_macros.h trunk/source/include/talloc.h trunk/source/lib/talloc.c trunk/source/lib/tallocmsg.c trunk/source/lib/talloctort.c trunk/source/libads/ldap.c trunk/source/libsmb/libsmbclient.c trunk/source/param/loadparm.c trunk/source/passdb/secrets.c trunk/source/printing/notify.c trunk/source/rpc_parse/parse_prs.c trunk/source/rpc_server/srv_pipe_hnd.c trunk/source/smbd/server.c trunk/source/torture/cmd_vfs.c Changeset: Sorry, the patch is too large (2717 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6596
svn commit: samba r6597 - in branches/SAMBA_4_0/source: client ntvfs/posix
Author: ab Date: 2005-05-03 09:57:34 + (Tue, 03 May 2005) New Revision: 6597 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6597 Log: Make use of libblkid (part of e2fsprogs) for reporting volume GUID, if possible. Implement smbclient's 'fsinfo' comand family which allows you to query file system information in all known levels. Modified: branches/SAMBA_4_0/source/client/client.c branches/SAMBA_4_0/source/ntvfs/posix/config.m4 branches/SAMBA_4_0/source/ntvfs/posix/pvfs_fsinfo.c Changeset: Modified: branches/SAMBA_4_0/source/client/client.c === --- branches/SAMBA_4_0/source/client/client.c 2005-05-03 07:34:00 UTC (rev 6596) +++ branches/SAMBA_4_0/source/client/client.c 2005-05-03 09:57:34 UTC (rev 6597) @@ -1673,7 +1673,169 @@ return 0; } +typedef struct { + const char *level_name; + enum smb_fsinfo_level level; +} fsinfo_level_t; +fsinfo_level_t fsinfo_levels[] = { + {generic, RAW_QFS_GENERIC}, + {dskattr, RAW_QFS_DSKATTR}, + {allocation, RAW_QFS_ALLOCATION}, + {volume, RAW_QFS_VOLUME}, + {volumeinfo, RAW_QFS_VOLUME_INFO}, + {sizeinfo, RAW_QFS_SIZE_INFO}, + {deviceinfo, RAW_QFS_DEVICE_INFO}, + {attributeinfo, RAW_QFS_ATTRIBUTE_INFO}, + {unixinfo, RAW_QFS_UNIX_INFO}, + {volume-information, RAW_QFS_VOLUME_INFORMATION}, + {size-information, RAW_QFS_SIZE_INFORMATION}, + {device-information, RAW_QFS_DEVICE_INFORMATION}, + {attribute-information, RAW_QFS_ATTRIBUTE_INFORMATION}, + {quota-information, RAW_QFS_QUOTA_INFORMATION}, + {fullsize-information, RAW_QFS_FULL_SIZE_INFORMATION}, + {objectid, RAW_QFS_OBJECTID_INFORMATION}, + {NULL, RAW_QFS_GENERIC} +}; + + +static int cmd_fsinfo(const char **cmd_ptr) +{ + pstring level_name; + fstring buf; + int ret = 0; + union smb_fsinfo fsinfo; + NTSTATUS status; + TALLOC_CTX *mem_ctx; + fsinfo_level_t *fsinfo_level; + + if (!next_token(cmd_ptr,buf,NULL,sizeof(buf))) { +d_printf(fsinfo level, where level is one of following:\n); +fsinfo_level = fsinfo_levels; +while(fsinfo_level-level_name) { + d_printf(%s\n, fsinfo_level-level_name); + fsinfo_level++; +} +return 1; + } + + fsinfo_level = fsinfo_levels; + while(fsinfo_level-level_name !strequal(buf,fsinfo_level-level_name)) { +fsinfo_level++; + } + + if (!fsinfo_level-level_name) { +d_printf(wrong level name!\n); +return 1; + } + + mem_ctx = talloc_init(fsinfo-level-%s, fsinfo_level-level_name); + fsinfo.generic.level = fsinfo_level-level; + status = smb_raw_fsinfo(cli-tree, mem_ctx, fsinfo); + if (!NT_STATUS_IS_OK(status)) { +d_printf(fsinfo-level-%s - %s\n, fsinfo_level-level_name, nt_errstr(status)); +ret = 1; +goto done; + } + + d_printf(fsinfo-level-%s:\n, fsinfo_level-level_name); + switch(fsinfo.generic.level) { + case RAW_QFS_GENERIC: +d_printf(\tblock_size: %lu\n, fsinfo.generic.out.block_size); +d_printf(\tblocks_total: %llu\n, fsinfo.generic.out.blocks_total); +d_printf(\tblocks_free:%llu\n, fsinfo.generic.out.blocks_free); +d_printf(\tfs_id: %lu\n, fsinfo.generic.out.fs_id); +d_printf(\tcreate_time:%s\n, nt_time_string(mem_ctx,fsinfo.generic.out.create_time)); +d_printf(\tserial_number: %lu\n, fsinfo.generic.out.serial_number); +d_printf(\tfs_attr:%lx\n, fsinfo.generic.out.fs_attr); +d_printf(\tmax_file_component_length: %lu\n, fsinfo.generic.out.max_file_component_length); +d_printf(\tdevice_type:%lu\n, fsinfo.generic.out.device_type); +d_printf(\tdevice_characteristics: %lx\n, fsinfo.generic.out.device_characteristics); +d_printf(\tquota_soft: %llu\n, fsinfo.generic.out.quota_soft); +d_printf(\tquota_hard: %llu\n, fsinfo.generic.out.quota_hard); +d_printf(\tquota_flags:%llx\n, fsinfo.generic.out.quota_flags); +d_printf(\tGUID: %s\n, GUID_string(mem_ctx,fsinfo.generic.out.guid)); +d_printf(\tvolume_name:%s\n, fsinfo.generic.out.volume_name); +d_printf(\tfs_type:%s\n, fsinfo.generic.out.fs_type); +break; + case RAW_QFS_DSKATTR: +d_printf(\tunits_total:%hu\n, fsinfo.dskattr.out.units_total); +d_printf(\tblocks_per_unit:%hu\n, fsinfo.dskattr.out.blocks_per_unit); +d_printf(\tblocks_size:%hu\n, fsinfo.dskattr.out.block_size); +d_printf(\tunits_free: %hu\n, fsinfo.dskattr.out.units_free); +break; + case RAW_QFS_ALLOCATION: +d_printf(\tfs_id: %lu\n, fsinfo.allocation.out.fs_id); +d_printf(\tsectors_per_unit: %lu\n, fsinfo.allocation.out.sectors_per_unit); +d_printf(\ttotal_alloc_units: %lu\n,
svn commit: samba-docs r531 - in trunk/Samba-HOWTO-Collection: .
Author: jht Date: 2005-05-03 10:22:56 + (Tue, 03 May 2005) New Revision: 531 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=531 Log: adding feedback. Modified: trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml Changeset: Modified: trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml === --- trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml 2005-05-02 15:47:25 UTC (rev 530) +++ trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml 2005-05-03 10:22:56 UTC (rev 531) @@ -347,6 +347,55 @@ /para /sect2 +sect2 + titleLimiting Logon Connections/title + + para + Sometimes it is necessary to limit the number of concurrent connections to a + Samba shared resource. For example, a site may wish to permit only one network + logon per user. + /para + + para + The Samba parameterpreexec script/parameter parameter can be used to permit only one + connection per user. Though this method is not fool-proof, and may have side-effects + the following contributed method may inspire someone to provide a better solution. + /para + + para + This is not a perfect solution because Windows clients can drop idle connections + with an auto-reconnect capability that could result in the appearance that a share + is no longer in use, while actually it is. Even so, it demonstrates the principle + of use of the parameterpreexec script/parameter parameter. + /para + + para + The following share configuration demonstrates use of the script shown in link linkend=Tpees/: + programlisting +[myshare] + ... + preexec script = /sbin/PermitSingleLogon.sh + preexec close = Yes + ... + /programlisting + /para + +example id=Tpees + titleScript to Enforce Single Resource Logon/title +screen +#!/bin/bash + +IFS=- +RESULT=$(smbstatus -S -u $1 2 /dev/null | awk 'NF 6 {print $1}' | sort | uniq -d) + +if [ X${RESULT} == X ]; then + exit 0 +else + exit 1 +fi +/screen +/example + /sect1 /chapter Modified: trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml === --- trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml 2005-05-02 15:47:25 UTC (rev 530) +++ trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml 2005-05-03 10:22:56 UTC (rev 531) @@ -235,6 +235,28 @@ where it occurred. /para +para +Sometimes it is necessary to build a Samba binary files that have debugging +symbols so as to make it possible to capture enough information from a crashed +operation to permit the Samba Team to fix the problem. +/para + +para +Compile with constant-g/constant to ensure you have symbols in place. +Add the following line to the smb.conf; file global section: +/screen +panic action = /bin/sleep 9 +/screen +to catch any panics. If commandsmbd/command seems to be frozen look for any sleep +processes. If it is not, and appears to be spinning, find the process id +of the spinning process and type: +screen +gdb /usr/local/samba/sbin/smbd +/screen +then quoteattach 'pid'/quote (of the spinning process), then type quotebt/quote to +get a backtrace to see where the smbd is in the call path. +/para + /sect1 sect1
svn commit: samba-docs r532 - in trunk/Samba-HOWTO-Collection: .
Author: jht Date: 2005-05-03 10:26:13 + (Tue, 03 May 2005) New Revision: 532 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=532 Log: Fix typos. Modified: trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml Changeset: Modified: trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml === --- trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml 2005-05-03 10:22:56 UTC (rev 531) +++ trunk/Samba-HOWTO-Collection/TOSHARG-AdvancedNetworkAdmin.xml 2005-05-03 10:26:13 UTC (rev 532) @@ -396,6 +396,8 @@ /screen /example +/sect2 + /sect1 /chapter Modified: trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml === --- trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml 2005-05-03 10:22:56 UTC (rev 531) +++ trunk/Samba-HOWTO-Collection/TOSHARG-Bugs.xml 2005-05-03 10:26:13 UTC (rev 532) @@ -244,7 +244,7 @@ para Compile with constant-g/constant to ensure you have symbols in place. Add the following line to the smb.conf; file global section: -/screen +screen panic action = /bin/sleep 9 /screen to catch any panics. If commandsmbd/command seems to be frozen look for any sleep
svn commit: samba r6598 - in branches/SAMBA_4_0/source/script/tests: .
Author: abartlet Date: 2005-05-03 12:34:59 + (Tue, 03 May 2005) New Revision: 6598 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6598 Log: Make it easy to point the test_echo.sh at remote servers, without trying to find it on ncaclrpc at well. Andrew Bartlett Modified: branches/SAMBA_4_0/source/script/tests/test_echo.sh Changeset: Modified: branches/SAMBA_4_0/source/script/tests/test_echo.sh === --- branches/SAMBA_4_0/source/script/tests/test_echo.sh 2005-05-03 09:57:34 UTC (rev 6597) +++ branches/SAMBA_4_0/source/script/tests/test_echo.sh 2005-05-03 12:34:59 UTC (rev 6598) @@ -25,7 +25,12 @@ rm -f test.$$; } -for transport in ncalrpc ncacn_np ncacn_ip_tcp; do +transports=ncacn_np ncacn_ip_tcp +if [ $server = localhost ]; then +transports=ncalrpc $transports +fi + +for transport in $transports; do for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do for ntlmoptions in \ --option=socket:testnonblock=True \
svn commit: samba r6599 - in branches/SAMBA_4_0/source: client ntvfs/posix
Author: ab Date: 2005-05-03 13:02:14 + (Tue, 03 May 2005) New Revision: 6599 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6599 Log: Fix formating using 'linux' C style Fix memory handling for blkid caches which need to be cleared when session is done. Modified: branches/SAMBA_4_0/source/client/client.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_fsinfo.c branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h Changeset: Sorry, the patch is too large (468 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6599
svn commit: samba r6600 - in branches/SAMBA_4_0/source/gtk: common tools
Author: jelmer Date: 2005-05-03 13:46:49 + (Tue, 03 May 2005) New Revision: 6600 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6600 Log: Rework of the GTK credentials system; the credentials information is now in a seperate (optional) dialog rather then in the binding dialog; also supports specifying anonymous connections (which we didn't before). Modified: branches/SAMBA_4_0/source/gtk/common/credentials.c branches/SAMBA_4_0/source/gtk/common/gtk-smb.c branches/SAMBA_4_0/source/gtk/common/gtk-smb.h branches/SAMBA_4_0/source/gtk/common/select.c branches/SAMBA_4_0/source/gtk/common/select.h branches/SAMBA_4_0/source/gtk/tools/gepdump.c branches/SAMBA_4_0/source/gtk/tools/gregedit.c branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c branches/SAMBA_4_0/source/gtk/tools/gwsam.c Changeset: Sorry, the patch is too large (462 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6600
svn commit: samba r6602 - in trunk/source: include rpc_client rpc_parse rpc_server utils
Author: jerry Date: 2005-05-03 14:32:24 + (Tue, 03 May 2005) New Revision: 6602 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6602 Log: merge set and query alias info fixes from 3.0 branch Modified: trunk/source/include/rpc_samr.h trunk/source/rpc_client/cli_samr.c trunk/source/rpc_parse/parse_samr.c trunk/source/rpc_server/srv_samr_nt.c trunk/source/utils/net_rpc.c Changeset: Sorry, the patch is too large (410 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6602
svn commit: samba r6603 - in branches/SAMBA_4_0/source: libnet torture/rpc
Author: abartlet Date: 2005-05-03 14:38:14 + (Tue, 03 May 2005) New Revision: 6603 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6603 Log: More work on the samdump puzzle. This implements a function pointer callback interface, so we can start dumping into more than just stdout soon. Also use the enums instead of uint32 where possible and valid. Andrew Bartlett Modified: branches/SAMBA_4_0/source/libnet/libnet_vampire.c branches/SAMBA_4_0/source/libnet/libnet_vampire.h branches/SAMBA_4_0/source/torture/rpc/samsync.c Changeset: Sorry, the patch is too large (268 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6603
svn commit: samba r6604 - in branches/SAMBA_4_0/source/rpc_server: .
Author: tridge Date: 2005-05-03 15:15:34 + (Tue, 03 May 2005) New Revision: 6604 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6604 Log: solved a memory hierarchy ordering problem that led to crashes on ncacn_ip_tcp and ncalrpc for the standard process model. Thanks to Jelmer for noticing this bug! Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c Changeset: Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c === --- branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c 2005-05-03 14:38:14 UTC (rev 6603) +++ branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c 2005-05-03 15:15:34 UTC (rev 6604) @@ -151,7 +151,7 @@ uint16_t port = 1; NTSTATUS status; - dcesrv_sock = talloc(dce_ctx, struct dcesrv_socket_context); + dcesrv_sock = talloc(event_ctx, struct dcesrv_socket_context); NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock); /* remember the endpoint of this socket */ @@ -186,12 +186,12 @@ full_path = talloc_asprintf(dce_ctx, %s/%s, lp_ncalrpc_dir(), e-ep_description-endpoint); - dcesrv_sock = talloc(dce_ctx, struct dcesrv_socket_context); + dcesrv_sock = talloc(event_ctx, struct dcesrv_socket_context); NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock); /* remember the endpoint of this socket */ dcesrv_sock-endpoint = e; - dcesrv_sock-dcesrv_ctx = dce_ctx; + dcesrv_sock-dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx); status = stream_setup_socket(event_ctx, model_ops, dcesrv_stream_ops, unix, full_path, port, dcesrv_sock); @@ -217,12 +217,12 @@ port = atoi(e-ep_description-endpoint); } - dcesrv_sock = talloc(dce_ctx, struct dcesrv_socket_context); + dcesrv_sock = talloc(event_ctx, struct dcesrv_socket_context); NT_STATUS_HAVE_NO_MEMORY(dcesrv_sock); /* remember the endpoint of this socket */ dcesrv_sock-endpoint = e; - dcesrv_sock-dcesrv_ctx = dce_ctx; + dcesrv_sock-dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx); status = stream_setup_socket(event_ctx, model_ops, dcesrv_stream_ops, ipv4, address, port, dcesrv_sock);
svn commit: samba r6605 - in trunk/source: client include nsswitch param registry
Author: jerry Date: 2005-05-03 15:17:50 + (Tue, 03 May 2005) New Revision: 6605 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6605 Log: * fix the build after the talloc abd PARANOID_MALLOC_CHECKER changes * add a comment about the free size data value in registry files Modified: trunk/source/client/smbmnt.c trunk/source/client/smbumount.c trunk/source/include/smb_macros.h trunk/source/nsswitch/winbindd.c trunk/source/nsswitch/winbindd_ldap.c trunk/source/param/config_ldap.c trunk/source/registry/regfio.c Changeset: Modified: trunk/source/client/smbmnt.c === --- trunk/source/client/smbmnt.c2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/client/smbmnt.c2005-05-03 15:17:50 UTC (rev 6605) @@ -6,6 +6,8 @@ * */ +#define SMBMOUNT_MALLOC 1 + #include includes.h #include mntent.h Modified: trunk/source/client/smbumount.c === --- trunk/source/client/smbumount.c 2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/client/smbumount.c 2005-05-03 15:17:50 UTC (rev 6605) @@ -5,6 +5,8 @@ * */ +#define SMBMOUNT_MALLOC 1 + #include includes.h #include mntent.h Modified: trunk/source/include/smb_macros.h === --- trunk/source/include/smb_macros.h 2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/include/smb_macros.h 2005-05-03 15:17:50 UTC (rev 6605) @@ -285,8 +285,13 @@ #define TALLOC_REALLOC_ARRAY(ctx, ptr, type, count) (type *)_talloc_realloc_array(ctx, ptr, sizeof(type), count, #type) #define talloc_destroy(ctx) talloc_free(ctx) -#define PARANOID_MALLOC_CHECKER 1 +/* only define PARANOID_MALLOC_CHECKER with --enable-developer and not compiling + the smbmount utils */ +#if defined(DEVELOPER) !defined(SMBMOUNT_MALLOC) +# define PARANOID_MALLOC_CHECKER 1 +#endif + #if defined(PARANOID_MALLOC_CHECKER) #define PRS_ALLOC_MEM(ps, type, count) (type *)prs_alloc_mem_((ps),sizeof(type),(count)) Modified: trunk/source/nsswitch/winbindd.c === --- trunk/source/nsswitch/winbindd.c2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/nsswitch/winbindd.c2005-05-03 15:17:50 UTC (rev 6605) @@ -165,6 +165,7 @@ WINBINDD_SOCKET_DIR, WINBINDD_SOCKET_NAME); unlink(path); +#if 0 if (interactive) { TALLOC_CTX *mem_ctx = talloc_init(end_description); char *description = talloc_describe_all(mem_ctx); @@ -172,6 +173,7 @@ DEBUG(3, (tallocs left:\n%s\n, description)); talloc_destroy(mem_ctx); } +#endif exit(0); } Modified: trunk/source/nsswitch/winbindd_ldap.c === --- trunk/source/nsswitch/winbindd_ldap.c 2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/nsswitch/winbindd_ldap.c 2005-05-03 15:17:50 UTC (rev 6605) @@ -449,9 +449,11 @@ main_loop_talloc_free(); if (do_sigterm) { +#if 0 TALLOC_CTX *mem_ctx = talloc_init(describe); DEBUG(0, (%s\n, talloc_describe_all(mem_ctx))); talloc_destroy(mem_ctx); +#endif exit(0); } Modified: trunk/source/param/config_ldap.c === --- trunk/source/param/config_ldap.c2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/param/config_ldap.c2005-05-03 15:17:50 UTC (rev 6605) @@ -225,8 +225,8 @@ if (count) { int i; - share_dn = talloc(mem_ctx, (count + 1) * sizeof(char *)); - share_name = talloc(mem_ctx, (count) * sizeof(char *)); + share_dn = TALLOC_ARRAY(mem_ctx, char*, count + 1); + share_name = TALLOC_ARRAY(mem_ctx, char*, count ); if (!share_dn || !share_name) { DEBUG(0,(config_ldap: Out of memory!\n)); goto done; Modified: trunk/source/registry/regfio.c === --- trunk/source/registry/regfio.c 2005-05-03 15:15:34 UTC (rev 6604) +++ trunk/source/registry/regfio.c 2005-05-03 15:17:50 UTC (rev 6605) @@ -377,7 +377,9 @@ /* Find the available free space offset. Always at the end, so walk the record list and stop when you get to the end. - The end is defined by a record header of 0x */ + The end is defined by a record header of 0x. The + previous 4 bytes contains the amount of free space remaining + in the hbin block. */ /* remember that the record_size is in the 4 bytes preceeding the record itself */
svn commit: samba r6606 - in branches/SAMBA_4_0/source/rpc_server/common: .
Author: metze Date: 2005-05-03 15:38:19 + (Tue, 03 May 2005) New Revision: 6606 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6606 Log: add a DCESRV_FAULT_VOID() marco to use in void functions metze Modified: branches/SAMBA_4_0/source/rpc_server/common/common.h Changeset: Modified: branches/SAMBA_4_0/source/rpc_server/common/common.h === --- branches/SAMBA_4_0/source/rpc_server/common/common.h2005-05-03 15:17:50 UTC (rev 6605) +++ branches/SAMBA_4_0/source/rpc_server/common/common.h2005-05-03 15:38:19 UTC (rev 6606) @@ -35,6 +35,12 @@ return r-out.result; \ } while(0) +/* a useful macro for generating a RPC fault in the backend code */ +#define DCESRV_FAULT_VOID(code) do { \ + dce_call-fault_code = code; \ + return; \ +} while(0) + /* a useful macro for checking the validity of a dcerpc policy handle and giving the right fault code if invalid */ #define DCESRV_CHECK_HANDLE(h) do {if (!(h)) DCESRV_FAULT(DCERPC_FAULT_CONTEXT_MISMATCH); } while (0)
svn commit: samba r6607 - in branches/SAMBA_4_0/source/build/smb_build: .
Author: metze Date: 2005-05-03 15:54:47 + (Tue, 03 May 2005) New Revision: 6607 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=6607 Log: fix the build metze Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm === --- branches/SAMBA_4_0/source/build/smb_build/input.pm 2005-05-03 15:38:19 UTC (rev 6606) +++ branches/SAMBA_4_0/source/build/smb_build/input.pm 2005-05-03 15:54:47 UTC (rev 6607) @@ -116,13 +116,13 @@ $lib-{OUTPUT_TYPE} = SHARED_LIBRARY; if (defined($lib-{MAJOR_VERSION})) { - $lib-{MAJOR_VERSION} = join('', $lib-{MAJOR_VERSION}); + $lib-{MAJOR_VERSION} = join('', @{$lib-{MAJOR_VERSION}}); } if (defined($lib-{MINOR_VERSION})) { - $lib-{MINOR_VERSION} = join('', $lib-{MINOR_VERSION}); + $lib-{MINOR_VERSION} = join('', @{$lib-{MINOR_VERSION}}); } if (defined($lib-{RELEASE_VERSION})) { - $lib-{RELEASE_VERSION} = join('', $lib-{RELEASE_VERSION}); + $lib-{RELEASE_VERSION} = join('', @{$lib-{RELEASE_VERSION}}); } }